Renamed ebuild for 0.2 release. Also added additional useflags requested on bug #281018. Updated ebuild attached. Reproducible: Always
Created attachment 204380 [details] gpodder-0.2.ebuild
Created attachment 204381 [details] New useflags Added two more useflags, ogg? ( media-sound/vorbis-tools ) add's support for ipod sync ogg conversion rockbox? ( dev-python/imaging) Copy album art to filesystem based mp3 players using the rockbox.org firmware This covers some more missing functionality.
Created attachment 204382 [details] use flag descriptions Updated the metadata file to list useflag description, cleaned up formatting.
Created attachment 204383 [details] use flag descriptions Bah, my own formatting got messed up. :P
Not going to bother updating the files again, but after reading the docs more last night, the gpodder dev team highly recommends dbus-python as a optional dependency as well. Just a thought.
The summary is wrong, actually it's calling itself 2.0. In the meantime 2.1 is out. FF, Daniel
Created attachment 218573 [details] gpodder-2.2
Created attachment 218575 [details] mygpoclient-1.0 New dependency for gpodder-2.2
Created attachment 218591 [details] mygpoclient with DEPEND<>REDEPEND Greg, I think you mixed up RDEPEND and DEPEND. RDEPEND is for runtime, DEPEND for merge time. Also, you don't need distutils_src_compile, it's run automatically
Created attachment 218593 [details] gpodder-2.2 with DEPEND<>RDEPEND same thing here. I also removed the unconditional dependency on gtkhtml. FF, Daniel
You're right thanks for the fix.
Tried the latest ebuilds in my local overlay yesterday. Got this error. sedrik@lappySlappy ~ $ gpodder Traceback (most recent call last): File "/usr/bin/gpodder", line 159, in <module> from gpodder import gui File "/usr/lib64/python2.6/site-packages/gpodder/gui.py", line 71, in <module> from gpodder import my File "/usr/lib64/python2.6/site-packages/gpodder/my.py", line 39, in <module> from gpodder import minidb File "/usr/lib64/python2.6/site-packages/gpodder/minidb.py", line 31, in <module> import sqlite3.dbapi2 as sqlite ImportError: No module named sqlite3.dbapi2
Here gpodder fails to run: -------------------------------------------------------------------------------- pier@localhost ~ $ gpodder (process:22273): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. /usr/lib64/python2.6/site-packages/gpodder/libconverter.py:29: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 /usr/lib64/python2.6/site-packages/gpodder/libpodcasts.py:57: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Warning gpodder unsupported locale setting Traceback (most recent call last): File "/usr/bin/gpodder", line 166, in <module> sys.exit( main()) File "/usr/bin/gpodder", line 160, in main bindtextdomain( domain, locale_dir) File "/usr/lib64/python2.6/site-packages/gpodder/SimpleGladeApp.py", line 61, in bindtextdomain __builtins__.__dict__["_"] = lambda x : x AttributeError: 'dict' object has no attribute '__dict__' --------------------------------------------------------------------------- emerge --info Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.29-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.13 Timestamp of tree: Wed, 10 Feb 2010 08:30:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.4 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.1.2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ ftp://gg3.net/pub/linux/gentoo/ " LANG="it_IT.utf8" LDFLAGS="-Wl,-O1" LINGUAS="it en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/science" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl aiglx alsa amd64 amr apm arts avi berkdb bzip2 cairo caps ccache cddb cdparanoia cdr cdrom cli cracklib crypt css cups curl cxx dbus dga directfb dri dvd dvdr dvdread encode expat fbcon fbdev ffmpeg fortran gdbm gif gimpprint glitz glut glx gpm gs gtk hal hddtemp httpd iconv ipv6 java jpeg kde kpathsea libwww lm_sensors logitech-mouse mad mmx modules mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin objc objc++ objc-gc ogg oggvorbis openal opengl openmp oss pam pcre perl png postscript ppds pppd preview-latex python qt3support quicktime readline reflection reiserfs samba scanner sensord session slang sound sox spl sql sse sse2 ssl stream svg sysfs tcltk tcpd tetex theora tiff tk truetype unicode usb v4l v4l2 vcd vesa vorbis wavpack webkit wma wma123 wmf wxwindows x264 xorg xplanet xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #12) > Tried the latest ebuilds in my local overlay yesterday. Got this error. > import sqlite3.dbapi2 as sqlite > ImportError: No module named sqlite3.dbapi2 Looks like mygpoclient should require Python to be built with the sqlite Use-flag enabled. FF, Daniel
Created attachment 223071 [details] gpodder 2.3 Version bump and fixed dependencies. In addition I've added temporary workaround to support nls. This ebuild can also become live, by changing it's version to 9999
Created attachment 223073 [details] mygpoclient 1.1 Version bump
gPodder was updated to 2.4 last month: http://gpodder.org/news.html
Installing pysqlite didn’t work for me. I had to activate the sqlite useflag for python. If we need pysqlite, it could be: - || ( dev-lang/python[sqlite] dev-python/pysqlite ) + && ( dev-lang/python[sqlite] dev-python/pysqlite )
(In reply to comment #18) > Installing pysqlite didn’t work for me. I had to activate the sqlite useflag > for python. Is there problem with app, or with pulling dependencies?
Created attachment 228495 [details] gPodder 2.4
Created attachment 228497 [details] mygpoclient 1.2
The problem is with the automatic pulling of the dependency. gpodder should not get installed when my python doesn’t have the sqlite USE flag and instead state that I have to add it (via normal portage dependency resolution). To reproduce the following should work: USE=-sqlite emerge -1 python emerge gpodder (untested, though)
Created attachment 229515 [details] gpodder-2.5 (In reply to comment #22) > The problem is with the automatic pulling of the dependency. gpodder should not > get installed when my python doesn’t have the sqlite USE flag and instead > state that I have to add it (via normal portage dependency resolution). > > To reproduce the following should work: > USE=-sqlite emerge -1 python > emerge gpodder > (untested, though) Sorry for missunderstanding. I've discovered the problem. 1. ebuild should strictly pull python-2[sqlite] gPodder fails to work with Py3k, but installed python-3 with sqlite flag would match the dependence. 2. pysqlite support is broken. While gPodder's README references pyslite, minidb.py don't use this module. Version bump with fixed deps.
Created attachment 229517 [details] mygpoclient-1.4
Created attachment 229971 [details] gpodder-2.5 Minor fix for python version
In the meantime, 2.7 is out. It still works with the 2.5 ebuild. FF, Daniel
Now it's 2.8. I'm going to attach an updated ebuild (see #313949 why). FF, Daniel
Created attachment 245395 [details] gpodder-2.8
Created attachment 245425 [details] gpodder-2.8-r2 (In reply to comment #27) > Now it's 2.8. I'm going to attach an updated ebuild (see #313949 why). > > FF, > > Daniel > Revised version attached. Linguas-stuff is no longer needed since gpodder install script handles them. I've also added new deps on mplayer and gst-python.
Sorry for not caring for such a long time. I'll revisit the ebuild and commit something soon to the tree. Just some notes about the attached ebuild, so you can improve further ebuilds in the future: - we usually don't use the LINGUAS-variable if the package only installs po-files. this is only used for big language packages like the ones from kde. So it's perfectly fine to install just all po-files for a package. - you should try to avoid inventing new use flags unless it's really neccessary. In this case, everything depending on e.g. the mtp/rockbox and other use-flags are just runtime deps - it's not crucial to have them in depend, as they can be easily installed by the user. I'll add an einfo for it. - Please ALWAYS use repoman to check your ebuilds and fix the issues it reports - it tells you a lot of useful things about common mistakes done in ebuilds.
2.9 in tree, open new bug if I missed something