diff options
author | Jim Ramsay <lack@gentoo.org> | 2007-11-26 14:36:59 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2007-11-26 14:36:59 +0000 |
commit | c288e2c1592429a64e69c12c3ffeab8a663ef4da (patch) | |
tree | b728f3c5cf0b08e8f09bf6f0b2f467259ef8b1d3 /rox-base/devtray | |
parent | Mask USE=gtk for emacs-22 (bug #193703). (diff) | |
download | gentoo-2-c288e2c1592429a64e69c12c3ffeab8a663ef4da.tar.gz gentoo-2-c288e2c1592429a64e69c12c3ffeab8a663ef4da.tar.bz2 gentoo-2-c288e2c1592429a64e69c12c3ffeab8a663ef4da.zip |
New package: DevTray is a rox panel applet which shows HAL devices.
(Portage version: 2.1.3.18)
Diffstat (limited to 'rox-base/devtray')
-rw-r--r-- | rox-base/devtray/ChangeLog | 11 | ||||
-rw-r--r-- | rox-base/devtray/Manifest | 20 | ||||
-rw-r--r-- | rox-base/devtray/devtray-0.3.2.ebuild | 31 | ||||
-rw-r--r-- | rox-base/devtray/files/DevTray-0.3.2-no_pycups.patch | 34 | ||||
-rw-r--r-- | rox-base/devtray/files/digest-devtray-0.3.2 | 3 | ||||
-rw-r--r-- | rox-base/devtray/metadata.xml | 5 |
6 files changed, 104 insertions, 0 deletions
diff --git a/rox-base/devtray/ChangeLog b/rox-base/devtray/ChangeLog new file mode 100644 index 000000000000..c4cbe5e113e6 --- /dev/null +++ b/rox-base/devtray/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for rox-base/devtray +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/rox-base/devtray/ChangeLog,v 1.1 2007/11/26 14:36:58 lack Exp $ + +*devtray-0.3.2 (26 Nov 2007) + + 26 Nov 2007; Jim Ramsay <lack@gentoo.org> + +files/DevTray-0.3.2-no_pycups.patch, +metadata.xml, + +devtray-0.3.2.ebuild: + New package: DevTray is a rox panel applet which shows HAL devices. + diff --git a/rox-base/devtray/Manifest b/rox-base/devtray/Manifest new file mode 100644 index 000000000000..6157d080e6b7 --- /dev/null +++ b/rox-base/devtray/Manifest @@ -0,0 +1,20 @@ +AUX DevTray-0.3.2-no_pycups.patch 1093 RMD160 b5ad53756ffe36f25b4a751a3707257e927e0171 SHA1 a4392b0d9ace8fb99b3aec9c8e039c54c38f3927 SHA256 0adef9964915aaca03b47aadc8e0bcf6e7bd7e2185c6ac59c1bc84a35cccb2c2 +MD5 b20860ece510db56d53c749de2386ea0 files/DevTray-0.3.2-no_pycups.patch 1093 +RMD160 b5ad53756ffe36f25b4a751a3707257e927e0171 files/DevTray-0.3.2-no_pycups.patch 1093 +SHA256 0adef9964915aaca03b47aadc8e0bcf6e7bd7e2185c6ac59c1bc84a35cccb2c2 files/DevTray-0.3.2-no_pycups.patch 1093 +DIST DevTray-0.3.2.tgz 109166 RMD160 475a0b9a2abf3ada3803879b7a7424dd3f676aed SHA1 1d10806b81aabcf8cdded322b257d04359512a03 SHA256 7409e1fc52c98ce6f46723851229c95b557bda16b76bf27d7026c33a224c5d52 +EBUILD devtray-0.3.2.ebuild 821 RMD160 a27ce3da3617ca78a15112123292e74d9056cf82 SHA1 581e812d5a248c9d15d75ae9730aeb5a8d910fc2 SHA256 ffbedc5c8796fa1f9c196f70adbc38c519eaaf6e6b6fec63909f500424e3d8d4 +MD5 42bd4d204e35bcaccf080c57e866e74f devtray-0.3.2.ebuild 821 +RMD160 a27ce3da3617ca78a15112123292e74d9056cf82 devtray-0.3.2.ebuild 821 +SHA256 ffbedc5c8796fa1f9c196f70adbc38c519eaaf6e6b6fec63909f500424e3d8d4 devtray-0.3.2.ebuild 821 +MISC ChangeLog 342 RMD160 bae8c06e146963fa57f11158a99073dc207023d1 SHA1 3b106386f03ea5fc6378677108aa83a584701159 SHA256 0810fa3955c63c33d7e61793d268babad1c2ce1b1cbf4dbe3a55c8182a32d950 +MD5 9b8c0c363bd794ea701c9b7dd41a907e ChangeLog 342 +RMD160 bae8c06e146963fa57f11158a99073dc207023d1 ChangeLog 342 +SHA256 0810fa3955c63c33d7e61793d268babad1c2ce1b1cbf4dbe3a55c8182a32d950 ChangeLog 342 +MISC metadata.xml 157 RMD160 fd6d83b802caa82822e8bb4d1752063fcda9b47f SHA1 54ccd31d923f052c9111f04c1a7d8b8f04f0a7b2 SHA256 941fe96a972d5a4f49555c01cbfab71d51e81ade3a53322fee549061aa17012c +MD5 94ae74afbf5ec6b3f8cdcb4ea7c917bb metadata.xml 157 +RMD160 fd6d83b802caa82822e8bb4d1752063fcda9b47f metadata.xml 157 +SHA256 941fe96a972d5a4f49555c01cbfab71d51e81ade3a53322fee549061aa17012c metadata.xml 157 +MD5 ff493978137d07e03d8b299d894ee450 files/digest-devtray-0.3.2 232 +RMD160 51b6e218729faec88aa859437db924ffecc682f9 files/digest-devtray-0.3.2 232 +SHA256 49e902b5a3058956fb4b105475d4d8346cfb076d2e3c42bc0c1bb08eb963f65d files/digest-devtray-0.3.2 232 diff --git a/rox-base/devtray/devtray-0.3.2.ebuild b/rox-base/devtray/devtray-0.3.2.ebuild new file mode 100644 index 000000000000..3cea22d239c1 --- /dev/null +++ b/rox-base/devtray/devtray-0.3.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/rox-base/devtray/devtray-0.3.2.ebuild,v 1.1 2007/11/26 14:36:58 lack Exp $ + +ROX_LIB_VER=1.9.6 +inherit rox + +MY_PN="DevTray" +DESCRIPTION="DevTray is a rox panel applet which shows HAL devices." +HOMEPAGE="http://rox4debian.berlios.de" +SRC_URI="ftp://ftp.berlios.de/pub/rox4debian/apps/${MY_PN}-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome" + +# TODO: When pycups is available, depend on it too (probably conditionally) + +RDEPEND="rox-base/traylib + dev-python/dbus-python + sys-apps/hal + gnome? ( >=dev-python/gnome-python-desktop-2.12 )" + +APPNAME="${MY_PN}" +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${MY_PN}-${PV}-no_pycups.patch" +} diff --git a/rox-base/devtray/files/DevTray-0.3.2-no_pycups.patch b/rox-base/devtray/files/DevTray-0.3.2-no_pycups.patch new file mode 100644 index 000000000000..9dabac708991 --- /dev/null +++ b/rox-base/devtray/files/DevTray-0.3.2-no_pycups.patch @@ -0,0 +1,34 @@ +--- DevTray-orig/Handlers/Printer/__init__.py 2007-09-22 02:23:04.000000000 -0400 ++++ DevTray/Handlers/Printer/__init__.py 2007-11-26 09:00:57.000000000 -0500 +@@ -78,14 +78,15 @@ + def get_printer_name(self): + if self.__cups_name != None: + return self.__cups_name +- for uri in conn.getDevices(): +- if self.__serial in uri: +- printers = conn.getPrinters() +- for name in printers: +- printer = printers[name] +- if printer['device-uri'] == uri: +- self.__cups_name = name +- return self.__cups_name ++ if have_cups: ++ for uri in conn.getDevices(): ++ if self.__serial in uri: ++ printers = conn.getPrinters() ++ for name in printers: ++ printer = printers[name] ++ if printer['device-uri'] == uri: ++ self.__cups_name = name ++ return self.__cups_name + self.__cups_name = '' + return '' + +@@ -178,7 +179,6 @@ + menu_item.connect("activate", self.__add) + menu.prepend(menu_item) + +- menu.prepend(menu_item) + menu_item = g.ImageMenuItem(_("Enable")) + if info: + if info.get('printer-state', 0) == cups.IPP_PRINTER_STOPPED: diff --git a/rox-base/devtray/files/digest-devtray-0.3.2 b/rox-base/devtray/files/digest-devtray-0.3.2 new file mode 100644 index 000000000000..c37bf4844491 --- /dev/null +++ b/rox-base/devtray/files/digest-devtray-0.3.2 @@ -0,0 +1,3 @@ +MD5 900d509e0fa67cef531bc8a5918e49b9 DevTray-0.3.2.tgz 109166 +RMD160 475a0b9a2abf3ada3803879b7a7424dd3f676aed DevTray-0.3.2.tgz 109166 +SHA256 7409e1fc52c98ce6f46723851229c95b557bda16b76bf27d7026c33a224c5d52 DevTray-0.3.2.tgz 109166 diff --git a/rox-base/devtray/metadata.xml b/rox-base/devtray/metadata.xml new file mode 100644 index 000000000000..36402044950c --- /dev/null +++ b/rox-base/devtray/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>rox</herd> +</pkgmetadata> |