Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285263 - media-sound/gpodder-2.2 version bump
Summary: media-sound/gpodder-2.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Hanno Böck
URL: http://www.gpodder.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-17 02:06 UTC by Greg Fitzgerald
Modified: 2010-10-31 18:05 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gpodder-0.2.ebuild (gpodder-2.0.ebuild,945 bytes, text/plain)
2009-09-17 02:07 UTC, Greg Fitzgerald
Details
New useflags (gpodder-2.0.ebuild,1.00 KB, text/plain)
2009-09-17 02:21 UTC, Greg Fitzgerald
Details
use flag descriptions (metadata.xml,702 bytes, text/plain)
2009-09-17 02:34 UTC, Greg Fitzgerald
Details
use flag descriptions (metadata.xml,705 bytes, text/plain)
2009-09-17 02:36 UTC, Greg Fitzgerald
Details
gpodder-2.2 (gpodder-2.2.ebuild,1.06 KB, text/plain)
2010-02-05 20:48 UTC, Greg Fitzgerald
Details
mygpoclient-1.0 (mygpoclient-1.0.ebuild,736 bytes, text/plain)
2010-02-05 20:49 UTC, Greg Fitzgerald
Details
mygpoclient with DEPEND<>REDEPEND (mygpoclient-1.0.ebuild,690 bytes, text/plain)
2010-02-05 22:12 UTC, Daniel Peters
Details
gpodder-2.2 with DEPEND<>RDEPEND (gpodder-2.2.ebuild,1.04 KB, text/plain)
2010-02-05 22:14 UTC, Daniel Peters
Details
gpodder 2.3 (gpodder-2.3.ebuild,2.07 KB, text/plain)
2010-03-10 21:38 UTC, Maxim Prokhorov
Details
mygpoclient 1.1 (mygpoclient-1.1.ebuild,696 bytes, text/plain)
2010-03-10 21:40 UTC, Maxim Prokhorov
Details
gPodder 2.4 (gpodder-2.4.ebuild,1.73 KB, text/plain)
2010-04-20 10:57 UTC, Maxim Prokhorov
Details
mygpoclient 1.2 (mygpoclient-1.2.ebuild,743 bytes, text/plain)
2010-04-20 10:58 UTC, Maxim Prokhorov
Details
gpodder-2.5 (gpodder-2.5.ebuild,1.69 KB, text/plain)
2010-04-28 14:25 UTC, Maxim Prokhorov
Details
mygpoclient-1.4 (mygpoclient-1.4.ebuild,743 bytes, text/plain)
2010-04-28 14:28 UTC, Maxim Prokhorov
Details
gpodder-2.5 (gpodder-2.5.ebuild,1.70 KB, text/plain)
2010-05-02 03:10 UTC, Maxim Prokhorov
Details
gpodder-2.8 (gpodder-2.8-r1.ebuild,2.41 KB, text/plain)
2010-08-30 18:36 UTC, Daniel Peters
Details
gpodder-2.8-r2 (gpodder-2.8-r2.ebuild,1.84 KB, text/plain)
2010-08-31 03:50 UTC, Maxim Prokhorov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Fitzgerald 2009-09-17 02:06:34 UTC
Renamed ebuild for 0.2 release. Also added additional useflags requested on bug #281018. Updated ebuild attached.

Reproducible: Always
Comment 1 Greg Fitzgerald 2009-09-17 02:07:12 UTC
Created attachment 204380 [details]
gpodder-0.2.ebuild
Comment 2 Greg Fitzgerald 2009-09-17 02:21:29 UTC
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.
Comment 3 Greg Fitzgerald 2009-09-17 02:34:11 UTC
Created attachment 204382 [details]
use flag descriptions

Updated the metadata file to list useflag description, cleaned up formatting.
Comment 4 Greg Fitzgerald 2009-09-17 02:36:58 UTC
Created attachment 204383 [details]
use flag descriptions

Bah, my own formatting got messed up. :P
Comment 5 Greg Fitzgerald 2009-09-17 18:34:05 UTC
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.
Comment 6 Daniel Peters 2009-12-19 15:06:14 UTC
The summary is wrong, actually it's calling itself 2.0. In the meantime 2.1 is out.

FF,

Daniel
Comment 7 Greg Fitzgerald 2010-02-05 20:48:01 UTC
Created attachment 218573 [details]
gpodder-2.2
Comment 8 Greg Fitzgerald 2010-02-05 20:49:44 UTC
Created attachment 218575 [details]
mygpoclient-1.0

New dependency for gpodder-2.2
Comment 9 Daniel Peters 2010-02-05 22:12:43 UTC
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
Comment 10 Daniel Peters 2010-02-05 22:14:08 UTC
Created attachment 218593 [details]
gpodder-2.2 with DEPEND<>RDEPEND

same thing here. I also removed the unconditional dependency on gtkhtml.

FF,

Daniel
Comment 11 Greg Fitzgerald 2010-02-05 23:16:45 UTC
You're right thanks for the fix.
Comment 12 Fredrik 2010-02-09 07:27:45 UTC
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
Comment 13 pier 2010-02-10 10:19:49 UTC
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

Comment 14 Daniel Peters 2010-02-12 13:47:31 UTC
(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
Comment 15 Maxim Prokhorov 2010-03-10 21:38:49 UTC
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
Comment 16 Maxim Prokhorov 2010-03-10 21:40:06 UTC
Created attachment 223073 [details]
mygpoclient 1.1

Version bump
Comment 17 Arne Babenhauserheide 2010-04-19 16:33:28 UTC
gPodder was updated to 2.4 last month: http://gpodder.org/news.html
Comment 18 Arne Babenhauserheide 2010-04-19 18:56:08 UTC
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 )
Comment 19 Maxim Prokhorov 2010-04-19 23:11:22 UTC
(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?

Comment 20 Maxim Prokhorov 2010-04-20 10:57:39 UTC
Created attachment 228495 [details]
gPodder  2.4
Comment 21 Maxim Prokhorov 2010-04-20 10:58:19 UTC
Created attachment 228497 [details]
mygpoclient 1.2
Comment 22 Arne Babenhauserheide 2010-04-28 07:55:34 UTC
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)
Comment 23 Maxim Prokhorov 2010-04-28 14:25:50 UTC
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.
Comment 24 Maxim Prokhorov 2010-04-28 14:28:18 UTC
Created attachment 229517 [details]
mygpoclient-1.4
Comment 25 Maxim Prokhorov 2010-05-02 03:10:56 UTC
Created attachment 229971 [details]
gpodder-2.5

Minor fix for python version
Comment 26 Daniel Peters 2010-08-04 15:18:22 UTC
In the meantime, 2.7 is out. It still works with the 2.5 ebuild.

FF,

Daniel
Comment 27 Daniel Peters 2010-08-30 18:35:23 UTC
Now it's 2.8. I'm going to attach an updated ebuild (see #313949 why).

FF,

Daniel
Comment 28 Daniel Peters 2010-08-30 18:36:52 UTC
Created attachment 245395 [details]
gpodder-2.8
Comment 29 Maxim Prokhorov 2010-08-31 03:50:00 UTC
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.
Comment 30 Hanno Böck gentoo-dev 2010-09-27 13:01:24 UTC
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.
Comment 31 Samuli Suominen (RETIRED) gentoo-dev 2010-10-31 18:05:47 UTC
2.9 in tree, open new bug if I missed something