Comment 11 for bug 1074028

Revision history for this message
Damon Lynch (dlynch3) wrote : Re: [Bug 1074028] Re: Port all pyexiv2 apps to GExiv2

Not having to also move to python 3 does make it easier. I understand that
I would need to completely redo the glade files to move to GTK3 - is that
correct? Based on other projects, the time the transition would take in
hours would be how much? Am I looking at one week of full time work, or
more like 2 weeks, or 4 weeks or more?

I've checked the gphoto2 page, and as yet there are no introspection
bindings for it. The gvfs/libgphoto2 code has been broken since it was
first developed - it works with some cameras, and not at all with others.
It seems the Gnome developers simply do not have access to a sufficient
range of cameras, so any bugs reported are apparently not fixed. Users of
Rapid Photo Downloader blame my program, of course! There is no python
binding to libgphoto2. I guess the Shotwell developers wrote their own
wrapper code for vala.

On Tue, Jan 1, 2013 at 4:46 PM, Robert Bruce Park <<email address hidden>
> wrote:

> No, the introspection code has been carefully constructed to work
> excellently with both python 2 and python 3. The static bindings only
> support python 2, so sticking with the static bindings is holding you
> back. Porting to introspection doesn't force you to also port to python
> 3 immediately, what it does is *allows* you to port to Python 3 at your
> leisure.
>
> The benefit to your users is that your application will continue to
> exist. Python 2 and GTK 2 are going away. Sure, it might be years before
> they're truly gone, but it will happen eventually. Imagine for a moment
> if your application only ran with Python 1 and GTK 1. Nobody would even
> be able to run it because nobody packages those old versions anymore.
> They're unsupported, unmaintained, and if you found a bug in the APIs,
> it would simply never get fixed. Python 2 and GTK 2 are slowly moving in
> that direction and if you don't port away from them, users will
> eventually lose the ability to run your program as distros stop shipping
> those versions.
>
> I am not familiar with gphoto2 specifically, but yes, the introspection
> bindings are well maintained and if you find bugs in them, you can
> reasonably expect to report those and get them fixed. So yes, you'll be
> able to get away from the 'nightmare' of unmaintained, buggy bindings.
>
> --
> You received this bug notification because you are subscribed to Rapid
> Photo Downloader.
> https://bugs.launchpad.net/bugs/1074028
>
> Title:
> Port all pyexiv2 apps to GExiv2
>
> Status in Nautilus Image Manipulator:
> Fix Committed
> Status in pyexiv2, a python binding to exiv2:
> Triaged
> Status in Rapid Photo Downloader:
> Confirmed
> Status in SmartShine - automation for the photographers:
> Fix Committed
> Status in “creepy” package in Ubuntu:
> Fix Committed
> Status in “flickrbackup” package in Ubuntu:
> Fix Committed
> Status in “gexiv2” package in Ubuntu:
> Triaged
> Status in “gramps” package in Ubuntu:
> Triaged
> Status in “lazygal” package in Ubuntu:
> Fix Committed
> Status in “phatch” package in Ubuntu:
> Triaged
> Status in “pyexiv2” package in Ubuntu:
> Triaged
> Status in “videoporama” package in Ubuntu:
> Triaged
>
> Bug description:
> I have spoken directly with the maintainer of pyexiv2 and we have
> agreed that pyexiv2 is an abandoned project that will never support
> Python3. Therefore, anything that depends on pyexiv2 is going to be
> stuck on Python 2 until they port to GExiv2. GExiv2 is a clear winner
> in terms of simplicity, and maintainability.
>
> Packages marked as affected by this bug were designated so because
> they have a dependency on the pyexiv2 package. They will need to be
> ported to GExiv2 before they can be ported to Python 3. Here is the
> popcon data for these packages, which may hopefully allow us to
> prioritize this work by installation popularity:
>
> #rank name inst vote old recent no-files
> 6692 gramps 41836 534 41095 198 9
> 8296 phatch-cli 26266 734 25209 309 14
> 13025 videoporama 8766 120 8602 39 5
> 16897 rapid-photo-downloader 4683 174 4403 97 9
> 19941 nautilus-image-manipulator 3054 164 2816 73 1
> 35392 creepy 591 11 563 17 0
> 36572 lazygal 534 11 522 1 0
> 65688 smartshine 60 5 22 6 27
> 78375 flickrbackup 26 1 25 0 0
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/nautilus-image-manipulator/+bug/1074028/+subscriptions
>

--
http://www.damonlynch.net