Package Details: photini-git v2016.10.0.r1.g00ccc63-1

Git Clone URL: https://aur.archlinux.org/photini-git.git (read-only)
Package Base: photini-git
Description: An easy to use digital photograph metadata (EXIF, IPTC, XMP) editing application
Upstream URL: https://github.com/jim-easterbrook/Photini
Licenses: GPL
Submitter: dracorp
Maintainer: dracorp
Last Packager: dracorp
Votes: 3
Popularity: 0.026335
First Submitted: 2014-07-26 19:15
Last Updated: 2016-10-27 20:30

Dependencies (10)

Required by (0)

Sources (1)

Latest Comments

dracorp commented on 2016-10-10 17:51

@GI_Jack: thx, but I've just added python2-sip and removed pyqt.

GI_Jack commented on 2016-07-11 04:31

bad deps:

change
pyqt - > python2-pyqt4

add
python2-sip

MightyPork commented on 2015-04-18 08:37

this pkgbuild doesn't work.
adding this in PKGBUILD partially fixes it:

sed '140 s/#/ /' -i setup.py
sed '142 s/^ /#/' -i setup.py

but the app is still broken it seems (also missing python2-six as a dependency)

dracorp commented on 2014-09-22 17:32

Thx Thah

dracorp commented on 2014-09-22 17:16

@Thah: thx but this isn't end of problems.

dracorp commented on 2014-09-22 17:10

Thah thx

Thah commented on 2014-09-22 11:02

Two problems:

1. version mismatch:

$ makepkg
==> Making package: photini-git Windows.14.09.r4.gad637d1-1

while PKGBUILD and .AURINFO announce version 14.07.0.r2.gf5f5327-1

2. (probably upstream) installing bug but potentially fixable in PKGBUILD

[DIR]/photini-git/pkg/photini-git/usr/lib/python2.7/site-packages/photini/photini.desktop": Failed to create file '/usr/share/applications/photini.desktop.JAPGMX': Permission denied
error: command 'desktop-file-install' failed with exit status 1
==> ERROR: A failure occurred in package().
Aborting...

Workaround:
Remove/comment out line 140 ("self.spawn(['desktop-file-install', '--delete-original', temp_file])" in src/Photini/setup.py and repackage with makepkg -R.

A PKGBUILD fix could use sed or a patch on setup.py and install photini.desktop through the package() function.

Thah commented on 2014-09-22 10:53

Two problems:

1. packaging related:

$ makepkg -R
==> Making package: photini-git Windows.14.09.r4.gad637d1-1

whereas PKGBUILD and .AURINFO claim package version 14.07.0.r2.gf5f5327-1, pretending there is a newer version (according to cower -u).

2. upstream bug but fixable in packaging:

Error on file
"[DIR]/photini-git/pkg/photini-git/usr/lib/python2.7/site-packages/photini/photini.desktop": Failed to create file '/usr/share/applications/photini.desktop.JAPGMX': Permission denied
error: command 'desktop-file-install' failed with exit status 1
==> ERROR: A failure occurred in package().
Aborting...

Commenting out "self.spawn(['desktop-file-install', '--delete-original', temp_file])" (line 140) in src/Photini/setup.py and repackaging it by
$ makepkg -R
works, but leaves the .desktop out of the package (obviously).

A fix would be to remove/comment out the line with sed or patching, and adding the .desktop file through the package() function.