summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-09-28 12:28:36 +0000
committerCédric Krier <cedk@gentoo.org>2008-09-28 12:28:36 +0000
commit23402d4c7ce6361109ba92715b2a6d7b49dbfea2 (patch)
treef03336ede8d7eb78a9be8e82fc403d0d027caafb
parentStable on amd64/x86 (bug #238731) (diff)
downloadhistorical-23402d4c7ce6361109ba92715b2a6d7b49dbfea2.tar.gz
historical-23402d4c7ce6361109ba92715b2a6d7b49dbfea2.tar.bz2
historical-23402d4c7ce6361109ba92715b2a6d7b49dbfea2.zip
Version bump
Package-Manager: portage-2.1.4.4
-rw-r--r--app-laptop/pommed/ChangeLog8
-rw-r--r--app-laptop/pommed/Manifest5
-rw-r--r--app-laptop/pommed/files/pommed-1.21.patch20
-rw-r--r--app-laptop/pommed/pommed-1.21.ebuild101
4 files changed, 132 insertions, 2 deletions
diff --git a/app-laptop/pommed/ChangeLog b/app-laptop/pommed/ChangeLog
index 8e4ce848b262..8daf40b43e26 100644
--- a/app-laptop/pommed/ChangeLog
+++ b/app-laptop/pommed/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-laptop/pommed
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.31 2008/08/03 15:21:53 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.32 2008/09/28 12:28:36 cedk Exp $
+
+*pommed-1.21 (28 Sep 2008)
+
+ 28 Sep 2008; Cédric Krier <cedk@gentoo.org> +files/pommed-1.21.patch,
+ +pommed-1.21.ebuild:
+ Version bump
03 Aug 2008; Cédric Krier <cedk@gentoo.org> pommed-1.20.ebuild:
Fix depend on dbus-1.1 for bug #233074
diff --git a/app-laptop/pommed/Manifest b/app-laptop/pommed/Manifest
index a177aa25e787..7ef2ac3fd5fe 100644
--- a/app-laptop/pommed/Manifest
+++ b/app-laptop/pommed/Manifest
@@ -2,14 +2,17 @@ AUX pommed-1.14.patch 1079 RMD160 e452c44f696ef182a12bf4a6f19867f03278251c SHA1
AUX pommed-1.16.patch 1016 RMD160 f102c458f1e884f5db43bcd392bb2e2b8a2f8e77 SHA1 0df128c840fa91279dedc347aa3f33ec113ec136 SHA256 8ae893173d08e7f1eb3bdab85f180d93dacde6d698ea9e4ba3153194ee59e907
AUX pommed-1.17.patch 1016 RMD160 f102c458f1e884f5db43bcd392bb2e2b8a2f8e77 SHA1 0df128c840fa91279dedc347aa3f33ec113ec136 SHA256 8ae893173d08e7f1eb3bdab85f180d93dacde6d698ea9e4ba3153194ee59e907
AUX pommed-1.20.patch 770 RMD160 bca004edb674d1b672ab3fd3d25ce65e322970e0 SHA1 172ddaf67edf6bc9f48751604d61650ae2d16da4 SHA256 ff36a97c66e1502a3b80d414e57079aaa28ce6936d2631f85569baffd201c11d
+AUX pommed-1.21.patch 770 RMD160 c15e80013f27a8d704e0a2b3a774d6bbbb9007a2 SHA1 73c9cd8e409f4edf1bcfda426682a03f860864f0 SHA256 93cb24ca13b1281b9e3e80d858fae17b0c19ce58a8deb21189bf67aab25b4da1
AUX pommed.rc 382 RMD160 9bc2e6c515f72eff59045ab20ac0b743b7c2030a SHA1 6bd5ec4bc79ae09919f5e66a6e13fff76f347e38 SHA256 91911d2f65eb26b1e449ae45e587ccd03d756bdb549142fe169bc1161e9fb6d5
DIST pommed-1.14.tar.gz 997497 RMD160 6a0dcd074d0412aaecc71f706ce0170663e8c1f4 SHA1 f50587ae94e90af215d2ffc0657617b03b19ffa1 SHA256 408a66b629516a655ce862152552e7a97137a42b42304217f6f46e87a2b559ee
DIST pommed-1.16.tar.gz 998769 RMD160 16723de0af0d8ab4590ec141fbf3e62bcec84742 SHA1 bd935560d12f70eaf1e5e7d7db5deeee301391f4 SHA256 6f281bb389f81ca16438a7b529f7a8db8eeb90d76cb0d9c2af145c4d73f5697f
DIST pommed-1.17.tar.gz 1000294 RMD160 58d6546cda7470455ef974c1b845faf0be583800 SHA1 8a8ed490ce46cc407ab987a7a225c830fd662151 SHA256 035e18263f5d978aeace6f63e3875816eace0199574a84dc870f72288a49e347
DIST pommed-1.20.tar.gz 1004219 RMD160 62c239c8070ce5b6e175097be576ff454a8dcead SHA1 2fbac0b3608953a7da1a07f2333714857b16a233 SHA256 dc6f43fd320580535c0b61664fcee01cb8f0c0cb3f42cb9bb2e93e147dd2afcc
+DIST pommed-1.21.tar.gz 1005380 RMD160 4e5155b9fda18f0bd08265b992e0f66be21575d0 SHA1 ac60bb3797096d777fbde39f6dce97c4e85e7d13 SHA256 56cf4e2d85d832b0231542f52f3c6928de675b8dc75175f9ea214ca9206a30bf
EBUILD pommed-1.14.ebuild 2396 RMD160 8aa538cad7f1f666a2af06008e80d2499b6b4bb5 SHA1 1fbedec18251c2e2568805001b672c4f3f5d9eb3 SHA256 435971f3ee0f7ec9194c4d3c8f8a26db19edad5966516ab666e08eadfac25ebb
EBUILD pommed-1.16.ebuild 2399 RMD160 e7d374014c4630fa6ea18d89cafece025348a2e7 SHA1 d907f744603204fb40dca64984aaf2871cc83900 SHA256 2d0da82f56d5958a08e1d326ff6a71c3bbc58379b143ec12f5392526ea5f4e0b
EBUILD pommed-1.17.ebuild 2399 RMD160 f28b90c95a32f1c8a07eb4562a6acf4635362287 SHA1 9183c732cba3bf06dde16c6bfa0e61d77ccf22c1 SHA256 7625aeab4b2832c5eb7471934d01466f8cbfcd8629e54c4e77d9c545306979c4
EBUILD pommed-1.20.ebuild 2345 RMD160 7fd8a2fc2413c54039a374b68b918c27c118b77c SHA1 defefa9df62666b52f00fbd73ea659d53cff8f41 SHA256 c565ce64c79fede57607284b1f26edf9f9534e0235ace38971ee286e053e4280
-MISC ChangeLog 4511 RMD160 bfde95a42a644bf5784fdde8021bc3f58599df20 SHA1 ccd1436a5498476d385f66f1c8ca3cc2bf385af9 SHA256 85912c9b372d8e32bfc54cca1dd7a836ad81f4cb1f5af30fa1f522de67b7b4d6
+EBUILD pommed-1.21.ebuild 2345 RMD160 b5929f735859ac8a2e3802bcf704174b86f07abe SHA1 6efad595c8f312f4567ed87da7c9df0ec90c8dfb SHA256 4ea2c26e16a01fc5e34f703c45ab5d82c8741eafbe1d3bb79bcba481459a4fab
+MISC ChangeLog 4651 RMD160 18388dd42ba71a7bef46191ada11ff1ccac63336 SHA1 047ac1b17a4cd3d83fa80ed8f6a93f0dc23d1b87 SHA256 284b2d4d78b540b878c02c6bc32e20a53715bc93cb3b00a7be73c90795849746
MISC metadata.xml 650 RMD160 f7daee13a933d338a74f6d96ab6cf50ca14c41fe SHA1 55e4fd4f2955d2874a1a6b01897d3ee979a9b886 SHA256 98d730e05d016004e5fe2e7de97c0b2d08ec7f6c5a3521bda0d6ab3d16c0e327
diff --git a/app-laptop/pommed/files/pommed-1.21.patch b/app-laptop/pommed/files/pommed-1.21.patch
new file mode 100644
index 000000000000..b984f02288e7
--- /dev/null
+++ b/app-laptop/pommed/files/pommed-1.21.patch
@@ -0,0 +1,20 @@
+diff -ru pommed-1.21~/pommed/Makefile pommed-1.21/pommed/Makefile
+--- pommed-1.21~/pommed/Makefile 2008-09-28 14:25:56.000000000 +0200
++++ pommed-1.21/pommed/Makefile 2008-09-28 14:26:17.000000000 +0200
+@@ -16,7 +16,7 @@
+
+ INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
+
+-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
++CFLAGS += -g -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
+
+ LDFLAGS = -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
+
+@@ -50,6 +50,7 @@
+
+ CFLAGS += $(LIBPCI_CFLAGS)
+ LDFLAGS += $(LIBPCI_LIBS)
++ LIBS = $(LIBPCI_LIBS)
+ else
+ LIBS = /usr/lib/libpci.a
+ LDFLAGS += -lz
diff --git a/app-laptop/pommed/pommed-1.21.ebuild b/app-laptop/pommed/pommed-1.21.ebuild
new file mode 100644
index 000000000000..35564d49eb4d
--- /dev/null
+++ b/app-laptop/pommed/pommed-1.21.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/pommed-1.21.ebuild,v 1.1 2008/09/28 12:28:36 cedk Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Manage special features such as screen and keyboard backlight on Apple MacBook Pro/PowerBook"
+HOMEPAGE="http://technologeek.org/projects/pommed/index.html"
+ALIOTH_NUMBER="2499"
+SRC_URI="http://alioth.debian.org/frs/download.php/${ALIOTH_NUMBER}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk X"
+
+COMMON_DEPEND="media-libs/alsa-lib
+ x86? ( sys-apps/pciutils )
+ amd64? ( sys-apps/pciutils )
+ dev-libs/confuse
+ >=sys-apps/dbus-1.1
+ sys-libs/zlib
+ media-libs/audiofile
+ gtk? ( >=x11-libs/gtk+-2
+ >=gnome-base/libglade-2 )
+ X? ( x11-libs/libX11
+ x11-libs/libXpm )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+ media-sound/alsa-utils
+ virtual/eject"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}.patch"
+}
+
+src_compile() {
+ cd "${S}"/pommed
+ emake CC="$(tc-getCC)" OFLIB=1 || die "emake pommed failed"
+
+ if use gtk; then
+ cd "${S}"/gpomme
+ local POFILES=""
+ for LANG in ${LINGUAS}; do
+ if [ -f po/${LANG}.po ]; then
+ POFILES="${POFILES} po/${LANG}.po"
+ fi
+ done
+ emake CC="$(tc-getCC)" POFILES="${POFILES}" || die "emake gpomme failed"
+ fi
+ if use X; then
+ cd "${S}"/wmpomme
+ emake CC="$(tc-getCC)" || die "emake wmpomme failed"
+ fi
+}
+
+src_install() {
+ insinto /etc
+ if use x86 || use amd64; then
+ newins pommed.conf.mactel pommed.conf
+ elif use ppc; then
+ newins pommed.conf.pmac pommed.conf
+ fi
+
+ insinto /etc/dbus-1/system.d
+ newins dbus-policy.conf pommed.conf
+
+ insinto /usr/share/pommed
+ doins pommed/data/*.wav
+
+ dobin pommed/pommed
+
+ newinitd "${FILESDIR}"/pommed.rc pommed
+
+ dodoc AUTHORS ChangeLog README TODO
+
+ if use gtk ; then
+ dobin gpomme/gpomme
+ for LANG in ${LINGUAS}; do
+ if [ -f gpomme/po/${LANG}.mo ]; then
+ einfo "Installing lang ${LANG}"
+ insinto /usr/share/locale/${LANG}/LC_MESSAGES/
+ doins gpomme/po/${LANG}.mo
+ fi
+ done
+
+ insinto /usr/share/applications
+ doins gpomme/gpomme.desktop
+ doins gpomme/gpomme-c.desktop
+ insinto /usr/share/gpomme/
+ doins -r gpomme/themes
+ doins gpomme/gpomme.glade
+ fi
+
+ if use X ; then
+ dobin wmpomme/wmpomme
+ fi
+}