Merge lp:~robru/nautilus-image-manipulator/gexiv2 into lp:nautilus-image-manipulator
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 194 | ||||
Proposed branch: | lp:~robru/nautilus-image-manipulator/gexiv2 | ||||
Merge into: | lp:nautilus-image-manipulator | ||||
Diff against target: |
84 lines (+20/-28) 1 file modified
nautilus_image_manipulator/ImageManipulations.py (+20/-28) |
||||
To merge this branch: | bzr merge lp:~robru/nautilus-image-manipulator/gexiv2 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Emilien Klein | Needs Information | ||
Review via email: mp+141539@code.launchpad.net |
Description of the change
This branch ports your application off of pyexiv2 and onto GExiv2. This offers you a number of advantages:
* GExiv2 has support for Unicode characters in the filenames, so this port allowed me to fix that bug where you couldn't copy EXIF data from/to files with Unicode characters in the name.
* GExiv2 has complete, effortless support for Python 3, which will make it easier to port your application to Python 3 should you choose to do so (pyexiv2 does not support Python 3 and is an obstacle to any Python 3 porting effort you might undertake). I highly recommend porting to Python 3 soon, because Python 2 is obsolete.
* GExiv2 and pyexiv2 are both wrappers around the exact same libexiv2 library, except that the pyexiv2 project is 5,000 lines of code, while GExiv2's python support is around 100 lines of code. This makes GExiv2 *much* simpler and easier to maintain.
Thanks Robert for the merge proposal, I do agree that this is the right move.
However, while testing it, I'm having issues importing GExiv2 from gi.repository. I've installed libexiv2-dev as indicated on [0], but that package does not provide GObject Introspection.
There is Gexiv2 packages with GObject Introspection support at [1] but that isn't part [yet?] of the official Debian repo (or Ubuntu).
Question: how can I get this working properly? My development box is running Ubuntu 12.04.
[0] http:// redmine. yorba.org/ projects/ gexiv2/ wiki debian. dev-zero. nl/blog/ archives/ 280
[1] http://