Oh, yes. I didn't get that error because I hadn't installed "python-pip" on my system (the error originates from a conflict between virtualenv's pip and system pip).
Fixed now.
Search Criteria
Package Details: dupeguru-me 6.8.1-1
Package Actions
| Package Base: | dupeguru-me |
|---|---|
| Description: | Find duplicate songs on your system |
| Upstream URL: | http://www.hardcoded.net/dupeguru_me/ |
| Category: | multimedia |
| Licenses: | |
| Submitter: | hsoft |
| Maintainer: | hsoft |
| Last Packager: | hsoft |
| Votes: | 24 |
| First Submitted: | 2013-04-14 22:00 |
| Last Updated: | 2014-10-26 16:25 |
Dependencies (5)
- libxkbcommon-x11
- python
- python-pyqt5
- gcc (make)
- python-sphinx (make)
Required by (0)
Sources
Latest Comments
Comment by hsoft
Comment by Harey
Still not working with user permissions:
error: could not create '/usr/lib/python3.4/site-packages/jobprogress': Permission denied
As root it works, but this is not a good idea for makepkg...
Comment by hsoft
It turns out that the qt5-related problem was a missing dependency on libxkbcommon-x11. Oops, sorry. It's fixed now.
Comment by hsoft
I've filed a bug at http://bugs.python.org/issue21643 and I can work around the problem in the PKGBUILD, but in the end it's not of much use because PyQt5 ( https://www.archlinux.org/packages/extra/x86_64/python-pyqt5/ ) is out of date compared to Qt5 which has been recently update to v5.3.
There's not much else to do than to wait that PyQt5 is updated to v5.3.
Comment by hsoft
Interesting. I seems to be a regression introduced in Python 3.4.1 by http://bugs.python.org/issue21197 .
I file a bug and then find a workaround for the PKGBUILD.
Comment by omlet05
hi,
I've got this:
Error: [Errno 17] File exists: '/tmp/yaourt-tmp-root/aur-dupeguru-me/src/env/lib' -> '/tmp/yaourt-tmp-root/aur-dupeguru-me/src/env/lib64'
Installing pip requirements
PyQt 5.1+ required. Install it and try again. Aborting
Comment by hsoft
Yeah, that is caused by the combination of two things:
1. polib's author didn't publish its releases on PyPI
2. pip 1.5 stopped allowing downloads external to PyPI by default
polib's author has just commented that he's going to upload polib to PyPI as soon as he can (I expect it to happen before the end of the week-end). See https://bitbucket.org/izi/polib/issue/42
So the problem should fix itself shortly. As for the dependencies on other AUR packages, I prefer to avoid it (and polib is a really small package) because it makes package building harder than it should.
Comment by kozaki
Harey's right :)
Simply added python-polib to the PKGBUILD. The next minute, dupeguru-me was built and already scanning these folders. By the time I wrote this it found 298 dupes, even when I supposedly cleaned them all already :}
Comment by Harey
Got it! It needs an additional makedepend: python-polib from AUR
https://aur.archlinux.org/packages/python-polib/
Then all is fine ;)
Comment by kozaki
Hi, same than Harey in this location.
~/.pip/pip.log:
<snip>
Skipping http://polib.googlecode.com/files/polib-0.5.0.tar.gz (from https://pypi.python.org/simple/polib/) because it is externally hosted.
Skipping http://polib.googlecode.com/files/polib-0.5.1.tar.gz (from https://pypi.python.org/simple/polib/) because it is externally hosted.
Skipping link http://polib.readthedocs.org (from https://pypi.python.org/simple/polib/); not a file
Skipping link http://polib.readthedocs.org/ (from https://pypi.python.org/simple/polib/); not a file
Skipping link http://polib.readthedocs.org/en/latest/projects.html (from https://pypi.python.org/simple/polib/); unknown archive format: .html
Skipping link http://polib.readthedocs.org/en/latest/quickstart.html (from https://pypi.python.org/simple/polib/); unknown archive format: .html
<snip>
Comment by Harey
Does not build:
Downloading/unpacking polib>=0.7.0 (from -r requirements.txt (line 4))
Could not find a version that satisfies the requirement polib>=0.7.0 (from -r requirements.txt (line 4)) (from versions: 0.1.0, 0.3.0, 0.3.1)
Some externally hosted files were ignored (use --allow-external to allow).
Cleaning up...
No distributions matching the version for polib>=0.7.0 (from -r requirements.txt (line 4))
Storing debug log for failure in /home/harvey/.pip/pip.log
Bootstrapping complete! You can now configure, build and run dupeGuru with:
. env/bin/activate && python configure.py && python build.py && python run.py
==> Starting build...
Configuring dupeGuru ME for UI qt (Release)
Traceback (most recent call last):
File "build.py", line 25, in <module>
from hscommon import loc
File "/home/harvey/abs/local/dupeguru-me/src/hscommon/loc.py", line 7, in <module>
import polib
ImportError: No module named 'polib'
Comment by hsoft
@slot: What do you mean? The current build script works correctly and builds straight from the source instead of going through Ubuntu's DEB. Why would one want to do that?
Comment by slot
Now there are three versions to chose from, here is one working package-build:
# Maintainer: Virgil Dupras <hsoft@hardcoded.net>
pkgname=dupeguru-me
pkgver=6.6.0
pkgrel=1
pkgdesc="Find duplicate songs in your music collection"
arch=(any)
url=http://www.hardcoded.net/dupeguru_me/
license=(custom:Fairware)
depends=(python pyqt sip)
source=(https://launchpad.net/~hsoft/+archive/ppa/+files/dupeguru-me_${pkgver}%7Eraring_all.deb)
md5sums=('4bf31e4c7266e952ebf45c1320dce33e')
build() {
return 0
}
package() {
cd "${srcdir}"
bsdtar -xf dupeguru-me_${pkgver}%7Eraring_all.deb data.tar.gz
bsdtar -xf data.tar.gz
mkdir -p "${pkgdir}"/usr/bin
mv usr/bin/dupeguru_me "${pkgdir}"/usr/bin
mv usr/share "${pkgdir}"/usr/
}
Comment by rtfreedman
It's nice to see a native ARCH build of dupeguru-me :)
I'll request a merge/deletion of https://aur.archlinux.org/packages/dupeguru-me-bin/
Comment by hsoft
6.5.1-2: I replaced pyqt's dependency with python-pyqt4
Comment by rtfreedman
With the newly released 6.5.0 the license has been changed to: bsd
Unfortunately, the download location has been changed (again) :(
source=(https://launchpadlibrarian.net/112416309/dupeguru-me_${pkgver}_all.deb)
Comment by rtfreedman
Maybe I'm going to maintenance it... until than, here is a ( revised & streamlined ) PKGBUILD
--x--x--x--x--
pkgname=dupeguru-me-bin
pkgver=6.4.2
pkgrel=1
pkgdesc="Find duplicate songs in your music collection"
arch=(any)
url=http://www.hardcoded.net/dupeguru_me/
license=(custom:Fairware)
depends=(python pyqt sip)
source=(http://download.hardcoded.net/dupeguru-me_${pkgver}_all.deb)
md5sums=('d1e9cba2993b31769cbfb03c9290ba47')
build() {
return 0
}
package() {
cd "${srcdir}"
bsdtar -xf dupeguru-me_${pkgver}_all.deb data.tar.gz
bsdtar -xf data.tar.gz
mkdir -p "${pkgdir}"/usr/bin
mv usr/bin/dupeguru_me "${pkgdir}"/usr/bin
mv usr/share "${pkgdir}"/usr/
}
--x--x--x--x--
Comment by Harey
Maintainer: None ... Maybe you would do it yourself?
Comment by gtmanfred
please fix this pkgbuild to conform to packageing standards
Comment by rtfreedman
I don't like 'latest' PKGBUILDs - when was it last time updated? - how do I know of an updated build? and what version do I have installed currently? A lot of questions best solved with a 'proper' PKGBUILD - so here it is one - maybe not perfect... but it works.
It has now 'any' as arch - maybe we can ditch 'bin' in the package name?
# Maintainer: Dan Serban
# Contributor: SiD, rtfreedman
pkgname=dupeguru-me-bin
pkgver=6.4.2
pkgrel=1
pkgdesc="Find duplicate songs in your music collection"
arch=(any)
url=http://www.hardcoded.net/dupeguru_me/
license=(custom:Fairware)
depends=(python pyqt sip)
source=(http://download.hardcoded.net/dupeguru-me_${pkgver}_all.deb)
md5sums=('d1e9cba2993b31769cbfb03c9290ba47')
build() {
return 0
}
package() {
cd "${srcdir}"
bsdtar -xf dupeguru-me_${pkgver}_all.deb data.tar.gz
bsdtar -xf data.tar.gz
# use our libs
# rm usr/share/dupeguru_me/sip.so
rm -rf usr/share/dupeguru_me/PyQt4
# move in place
mkdir -p "${pkgdir}"/usr/bin
mv usr/share "${pkgdir}"/usr/
# fixup
sed -i 's|#!/usr/bin/env python3.1|#!/usr/bin/python|' "${pkgdir}"/usr/share/dupeguru_me/run.py
# use wrapper
USRBINFILE="${pkgdir}"/usr/bin/dupeguru_me
echo "#!/bin/bash" > "$USRBINFILE"
echo "cd /usr/share/dupeguru_me" >> "$USRBINFILE"
echo "python run.py" >> "$USRBINFILE"
chmod 755 "$USRBINFILE"
}
Comment by rtfreedman
Hm, it did returned more than 10 results (au contraire to the docs)....
And don't trust it blindly!
Comment by rtfreedman
Just a comment to the license: Fairware
This version only finds 10 duplicates - you have to send some money to the author first to get this package work as advertised.
[quote]Applications created by Hardcoded Software are open source. However, it needs to be clear that these applications have been professionally built and that the time invested in building those applications is expected to be compensated by contributions from users. All hours invested in HS apps are logged, and all contributions are used to pay those hours back. [/quote]
Comment by rtfreedman
The current version 6.2.1 doesn't reference /local/ anymore (resp. dir's local/share and local/bin are empty) - please update PKGBUILD
Comment by rtfreedman
This doesn't work
_url=$(lynx -dump http://www.hardcoded.net/dupeguru_me/ | grep -o http.*${_filearch}.deb | tail -1)
This line select the previous version.
it should read
_url=$(lynx -dump http://www.hardcoded.net/dupeguru_me/ | grep -o http.*${_filearch}.deb | head -1)