diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-30 14:56:09 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-30 14:56:09 +0000 |
commit | 5acfcf4d675ad7cffbaf86506a6d9bea8b1d332a (patch) | |
tree | c4aa78d74194ae12b8e2cdc860cf29cb13159606 /media-plugins | |
parent | Version bump. (diff) | |
download | gentoo-2-5acfcf4d675ad7cffbaf86506a6d9bea8b1d332a.tar.gz gentoo-2-5acfcf4d675ad7cffbaf86506a6d9bea8b1d332a.tar.bz2 gentoo-2-5acfcf4d675ad7cffbaf86506a6d9bea8b1d332a.zip |
Vanishing into night. It doesn't do anything but install a dummy file for our current Quod Libet.
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/quodlibet-ipod/ChangeLog | 34 | ||||
-rw-r--r-- | media-plugins/quodlibet-ipod/Manifest | 16 | ||||
-rw-r--r-- | media-plugins/quodlibet-ipod/files/0.4-ipod-detect.patch | 133 | ||||
-rw-r--r-- | media-plugins/quodlibet-ipod/metadata.xml | 5 | ||||
-rw-r--r-- | media-plugins/quodlibet-ipod/quodlibet-ipod-0.4-r1.ebuild | 45 | ||||
-rw-r--r-- | media-plugins/quodlibet-ipod/quodlibet-ipod-0.4.ebuild | 51 |
6 files changed, 0 insertions, 284 deletions
diff --git a/media-plugins/quodlibet-ipod/ChangeLog b/media-plugins/quodlibet-ipod/ChangeLog deleted file mode 100644 index 2ad4fd088cca..000000000000 --- a/media-plugins/quodlibet-ipod/ChangeLog +++ /dev/null @@ -1,34 +0,0 @@ -# ChangeLog for media-plugins/quodlibet-ipod -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/quodlibet-ipod/ChangeLog,v 1.7 2008/10/14 16:21:11 flameeyes Exp $ - -*quodlibet-ipod-0.4-r1 (14 Oct 2008) - - 14 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> - +quodlibet-ipod-0.4-r1.ebuild: - Add a revision using EAPI 2 to depend on libgpod with python bindings. - - 28 Apr 2007; Sven Wegener <swegener@gentoo.org> quodlibet-ipod-0.4.ebuild: - Drop dodir from dodir/*into combination. - - 29 Mar 2007; Markus Rothe <corsair@gentoo.org> quodlibet-ipod-0.4.ebuild: - Added ~ppc64 - - 19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml: - Remove tcort from metadata.xml due to retirement. - - 08 Oct 2006; <malc@gentoo.org> quodlibet-ipod-0.4.ebuild: - Add ~amd64, bug #150473 - - 09 Sep 2006; Thomas Cort <tcort@gentoo.org> +files/0.4-ipod-detect.patch, - quodlibet-ipod-0.4.ebuild: - Added ipod detection patch from Frittella Laurento <mrfree@infinito.it>. - -*quodlibet-ipod-0.4 (09 Sep 2006) - - 09 Sep 2006; Thomas Cort <tcort@gentoo.org> +metadata.xml, - +quodlibet-ipod-0.4.ebuild: - Initial Commit. Ebuild from Bug #143269. Submitted by Frittella Laurento - <mrfree@infinito.it> with changes by Kai Huuhko <kai.huuhko@gmail.com> and - Thomas Cort <tcort@gentoo.org>. - diff --git a/media-plugins/quodlibet-ipod/Manifest b/media-plugins/quodlibet-ipod/Manifest deleted file mode 100644 index 6aeb0e85e5c6..000000000000 --- a/media-plugins/quodlibet-ipod/Manifest +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 0.4-ipod-detect.patch 4279 RMD160 1d398ff411611002158eeb36f2658c075de7a2ec SHA1 34561ef8ccfe621f3830c7c1be1f1511be03ef7a SHA256 434103922acb47d4e64777d7db93feabc4488f6ccf8e4edc685fb46cbe73c1e4 -DIST quodlibet-ipod-0.4.tar.gz 8317 RMD160 cac3fedeac863d6ae44c7793f6c61a862861913a SHA1 82032fd8a09cec7f6ddf2ef1b95ef5c9a2efa6a2 SHA256 2ef0a7e622ac865a7029952efc44596f27484140b51a3d4f97f3e41251312f76 -EBUILD quodlibet-ipod-0.4-r1.ebuild 1058 RMD160 bea06a6d8e1697ef1a96fd38891d446abf27df34 SHA1 f7ed2177524989924f6bc3c423faa8104007a03f SHA256 71a41d707a4e8e7f1d184c4bc14569574bfcb6998620acde905bb44e60a311bb -EBUILD quodlibet-ipod-0.4.ebuild 1268 RMD160 32b55d346ed5458d5f4079a12470cee74ee827eb SHA1 6d14a7f4996b7511af5cc5ee550c2e68969ef772 SHA256 883288062a0669c8ff1a2fa155f75cb89ab20184c49591e4da1766aa8494eee2 -MISC ChangeLog 1344 RMD160 cef45ce13e18f3e659ac412d9ed1ec59eb44eca6 SHA1 ef1b77a8a0882ef696537972303a6e17f343b36d SHA256 92430fb5619804dc73e6d3b16eb1a4093ab7b568eab7f52908d40bf86cc7efc9 -MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkj0xvwACgkQAiZjviIA2XibJACgj37LDf59uzNJJ607gtkA9OFX -2wQAnRpV9zKOICMhcpBkfOdLR9ccPeey -=vY06 ------END PGP SIGNATURE----- diff --git a/media-plugins/quodlibet-ipod/files/0.4-ipod-detect.patch b/media-plugins/quodlibet-ipod/files/0.4-ipod-detect.patch deleted file mode 100644 index df003e565305..000000000000 --- a/media-plugins/quodlibet-ipod/files/0.4-ipod-detect.patch +++ /dev/null @@ -1,133 +0,0 @@ ---- ipod/main.old 2006-08-05 12:14:07.245399000 +0200 -+++ ipod/main.py 2006-08-05 12:33:46.595399000 +0200 -@@ -23,6 +23,7 @@ - from qltk import ErrorMessage - - import gpod -+import dbus - - class iPodMain(SongsMenuPlugin): - PLUGIN_VERSION = '0.4' -@@ -34,18 +35,58 @@ - win = None - complete = True - -+ def detect_ipod(self): -+ bus = dbus.SystemBus() -+ try: -+ hal_manager_obj = bus.get_object('org.freedesktop.Hal', -+ '/org/freedesktop/Hal/Manager') -+ hal_manager = dbus.Interface(hal_manager_obj, -+ 'org.freedesktop.Hal.Manager') -+ dev_udi_list = hal_manager.FindDeviceStringMatch ('portable_audio_player.type', 'ipod') -+ for udi in dev_udi_list: -+ vol_udi_list = hal_manager.FindDeviceStringMatch ('info.parent', udi) -+ -+ for vol_udi in vol_udi_list: -+ vol_obj = bus.get_object ('org.freedesktop.Hal', vol_udi) -+ vol = dbus.Interface (vol_obj, 'org.freedesktop.Hal.Device') -+ -+ if not vol.GetProperty('volume.is_mounted'): -+ continue; -+ -+ return (vol.GetProperty('block.device').encode('ascii'), -+ vol.GetProperty('volume.mount_point').encode('ascii')) -+ except None: -+ print 'HAL is down.' -+ -+ return ('-', '-') -+ -+ def get_ipod_path(self): -+ path = '-' -+ try: -+ path = config.get('plugins', 'ipod_path') -+ except: pass -+ -+ if '-' == path: -+ (dev, path) = self.detect_ipod() -+ -+ return path -+ -+ def get_ipod_dev(self): -+ path = '-' -+ try: -+ path = config.get('plugins', 'ipod_device') -+ except: pass -+ -+ if '-' == path: -+ (dev, path) = self.detect_ipod() -+ -+ return dev -+ - def plugin_songs(self, songs): - if self.win: - self.win.window.focus() - return - -- try: config.get('plugins', 'ipod_path') -- except: -- ErrorMessage( -- widgets.main, 'Error', 'You have to set the mountpoint first!' -- ).run() -- return -- - self.complete = True - self.win = self.create_window() - self.load_db() -@@ -118,9 +159,9 @@ - label = gtk.Label() - label.set_alignment(1, 0) - label.set_justify(gtk.JUSTIFY_RIGHT) -- try: path = config.get('plugins', 'ipod_path') -+ try: path = self.get_ipod_path() - except: path = '-' -- try: device = config.get('plugins', 'ipod_device') -+ try: device = self.get_ipod_dev() - except: device = '-' - label.set_markup('<span size="smaller">Mount point: <b>%s</b>\nDevice: <b>%s</b></span>' - % (path, device)) -@@ -223,7 +264,7 @@ - buttons[0].set_sensitive(three) - - def update_model(self): -- path = config.get('plugins', 'ipod_path') -+ path = self.get_ipod_path() - if os.path.isdir(path): - try: - file = open(os.path.join(path, 'iPod_Control/Device/SysInfo')) -@@ -242,7 +283,7 @@ - self.refresh() - - def update_space(self): -- path = config.get('plugins', 'ipod_path') -+ path = self.get_ipod_path() - if os.path.isdir(path): - if self.db: songs = len(gpod.sw_get_tracks(self.db)) - else: songs = '?' -@@ -264,7 +305,7 @@ - self.refresh() - - def load_db(self): -- path = config.get('plugins', 'ipod_path') -+ path = self.get_ipod_path() - self.db = gpod.itdb_parse(path, None) - if self.db: - return True -@@ -291,7 +332,7 @@ - - def create_db(self): - db = gpod.itdb_new(); -- gpod.itdb_set_mountpoint(db, config.get('plugins', 'ipod_path')) -+ gpod.itdb_set_mountpoint(db, self.get_ipod_path()) - - master = gpod.itdb_playlist_new('iPod', False) - gpod.itdb_playlist_set_mpl(master) -@@ -301,7 +342,7 @@ - - def eject(self): - try: -- device = config.get('plugins', 'ipod_device') -+ device = self.get_ipod_dev() - except: - ErrorMessage( - widgets.main, 'Error', 'You have to set the device first!' diff --git a/media-plugins/quodlibet-ipod/metadata.xml b/media-plugins/quodlibet-ipod/metadata.xml deleted file mode 100644 index e1774e3d9ad7..000000000000 --- a/media-plugins/quodlibet-ipod/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>sound</herd> -</pkgmetadata> diff --git a/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4-r1.ebuild b/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4-r1.ebuild deleted file mode 100644 index 1d4c4b1ad7d2..000000000000 --- a/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4-r1.ebuild,v 1.1 2008/10/14 16:21:11 flameeyes Exp $ - -EAPI=2 - -inherit python eutils - -DESCRIPTION="This is a plugin to copy songs to your iPod and browse/delete existing songs using libgpod." -HOMEPAGE="http://www.sacredchao.net/quodlibet/wiki/Plugins/iPod" -SRC_URI="mirror://gentoo/quodlibet-ipod-0.4.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=">=media-libs/libgpod-0.3.2-r1[python] - >=media-sound/quodlibet-0.19.1" - -PLUGIN_DEST="/usr/share/quodlibet/plugins/songsmenu" - -src_prepare() { - epatch "${FILESDIR}"/${PV}-ipod-detect.patch -} - -src_install() { - cd "${WORKDIR}" - - insinto ${PLUGIN_DEST} - doins ipod_base.py - - insinto ${PLUGIN_DEST}/ipod - doins ipod/* -} - -pkg_postinst() { - python_mod_compile ${PLUGIN_DEST}/ipod_base.py - python_mod_optimize ${PLUGIN_DEST}/ipod -} - -pkg_postrm() { - python_mod_cleanup ${PLUGIN_DEST} -} diff --git a/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4.ebuild b/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4.ebuild deleted file mode 100644 index c8fc770ffc57..000000000000 --- a/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4.ebuild,v 1.5 2007/04/28 16:33:00 swegener Exp $ - -inherit python eutils - -DESCRIPTION="This is a plugin to copy songs to your iPod and browse/delete existing songs using libgpod." -HOMEPAGE="http://www.sacredchao.net/quodlibet/wiki/Plugins/iPod" -SRC_URI="mirror://gentoo/quodlibet-ipod-0.4.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=">=media-libs/libgpod-0.3.2-r1 - >=media-sound/quodlibet-0.19.1" - -PLUGIN_DEST="/usr/share/quodlibet/plugins/songsmenu" - -pkg_setup() { - if !(built_with_use media-libs/libgpod python); then - eerror "media-libs/libgpod must be built with 'python' support." - die "Recompile media-libs/libgpod after enabling the 'python' USE flag" - fi -} - -src_unpack() { - unpack "${A}" - epatch "${FILESDIR}"/${PV}-ipod-detect.patch -} - -src_install() { - cd "${WORKDIR}" - - insinto ${PLUGIN_DEST} - doins ipod_base.py - - insinto ${PLUGIN_DEST}/ipod - doins ipod/* -} - -pkg_postinst() { - python_mod_compile ${PLUGIN_DEST}/ipod_base.py - python_mod_optimize ${PLUGIN_DEST}/ipod -} - -pkg_postrm() { - python_mod_cleanup ${PLUGIN_DEST} -} |