diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-05-05 08:00:17 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-05-05 08:00:17 +0000 |
commit | ded88eff9e5d8fa94b5de28a084e6edab617c3ab (patch) | |
tree | 4965746b7692d05d7b2ea47ce81fcd4518a2173e /app-laptop | |
parent | forced DEPEND=<svn-1.5 as it complains endlessly during work (#219505) (diff) | |
download | historical-ded88eff9e5d8fa94b5de28a084e6edab617c3ab.tar.gz historical-ded88eff9e5d8fa94b5de28a084e6edab617c3ab.tar.bz2 historical-ded88eff9e5d8fa94b5de28a084e6edab617c3ab.zip |
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/pommed/ChangeLog | 8 | ||||
-rw-r--r-- | app-laptop/pommed/Manifest | 5 | ||||
-rw-r--r-- | app-laptop/pommed/files/pommed-1.17.patch | 30 | ||||
-rw-r--r-- | app-laptop/pommed/pommed-1.17.ebuild | 102 |
4 files changed, 143 insertions, 2 deletions
diff --git a/app-laptop/pommed/ChangeLog b/app-laptop/pommed/ChangeLog index 48c0e9050b61..12a6c380f913 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.27 2008/04/27 11:19:20 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.28 2008/05/05 08:00:16 cedk Exp $ + +*pommed-1.17 (05 May 2008) + + 05 May 2008; Cédric Krier <cedk@gentoo.org> +files/pommed-1.17.patch, + +pommed-1.17.ebuild: + Version bump 27 Apr 2008; Cédric Krier <cedk@gentoo.org> pommed-1.14.ebuild, pommed-1.16.ebuild: diff --git a/app-laptop/pommed/Manifest b/app-laptop/pommed/Manifest index f8548a0f17a9..e05cadb073b8 100644 --- a/app-laptop/pommed/Manifest +++ b/app-laptop/pommed/Manifest @@ -1,9 +1,12 @@ AUX pommed-1.14.patch 1079 RMD160 e452c44f696ef182a12bf4a6f19867f03278251c SHA1 8694b0913375be02bc943f694254fb052a978f47 SHA256 af57bb5fe204114729b786544e77ab3a47b5d46fa1426de58c8be91e729eca15 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.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 EBUILD pommed-1.14.ebuild 2356 RMD160 972e1cab774c9323498762d731235c6f3ed3cc2e SHA1 c1114e9f240dbfde2655bf0e889a0e854b3feaf6 SHA256 ca75fbc76fbd6042bf5bca1e784728bed3b794bff7d3c9ba6cd97dc36d9fedf0 EBUILD pommed-1.16.ebuild 2359 RMD160 edba62d8cdb913f1fe004d5fafbb0e3e92ca23e8 SHA1 f819eb2b65d2f8acb5b91301311a4b9d0fbbb3ca SHA256 a36b9b55d5bbbbadaf429ccf739216e62fc461a248cc8b79ffc106e40ceac791 -MISC ChangeLog 3960 RMD160 6bcad0436df063bbaeb4b5e68369f0d329d03e9e SHA1 3c20400eaee180040c970e46cf40e0f89be34f2c SHA256 1ceaf6a7e9454ce8102d2a6e2f2b209e9147587bd76bb979a182c4d90b67324d +EBUILD pommed-1.17.ebuild 2359 RMD160 ee9e751bdb99e042b1309a6db3df45cf89929873 SHA1 9abd9ec10dfae87baf4b57b030653548ffc48be1 SHA256 90fbf194ce21cd5ca665d16902692ffedf4be62937ebfbb826909bc593239660 +MISC ChangeLog 4100 RMD160 17e151781f2df6d06299c5d83a0956312b9b15b8 SHA1 8b55f5901b064c714045714f3dd88945117e5ca9 SHA256 4c36718c7468cdb6e6c2b802cb0fc02d8e2edfdab9d746a36d0f3b9cde8901dc MISC metadata.xml 650 RMD160 f7daee13a933d338a74f6d96ab6cf50ca14c41fe SHA1 55e4fd4f2955d2874a1a6b01897d3ee979a9b886 SHA256 98d730e05d016004e5fe2e7de97c0b2d08ec7f6c5a3521bda0d6ab3d16c0e327 diff --git a/app-laptop/pommed/files/pommed-1.17.patch b/app-laptop/pommed/files/pommed-1.17.patch new file mode 100644 index 000000000000..d9c948dab9df --- /dev/null +++ b/app-laptop/pommed/files/pommed-1.17.patch @@ -0,0 +1,30 @@ +diff -ru pommed-1.16~/pommed/Makefile pommed-1.16/pommed/Makefile +--- pommed-1.16~/pommed/Makefile 2008-04-27 12:28:57.000000000 +0200 ++++ pommed-1.16/pommed/Makefile 2008-04-27 12:31:10.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 -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) + + LDFLAGS = -pthread $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS) + +@@ -42,7 +42,7 @@ + + else + +-LDFLAGS += -lz -lsmbios ++LDFLAGS += -lz -lsmbios -lstdc++ + + SOURCES = pommed.c cd_eject.c evdev.c conffile.c audio.c \ + dbus.c power.c beep.c video.c \ +@@ -50,7 +50,7 @@ + mactel/nv8600mgt_backlight.c \ + mactel/kbd_backlight.c mactel/ambient.c mactel/acpi.c + +-LIBS = /usr/lib/libpci.a ++LIBS = $(shell pkg-config libpci --libs) + endif + + OBJS = $(SOURCES:%.c=%.o) diff --git a/app-laptop/pommed/pommed-1.17.ebuild b/app-laptop/pommed/pommed-1.17.ebuild new file mode 100644 index 000000000000..009581d58ab8 --- /dev/null +++ b/app-laptop/pommed/pommed-1.17.ebuild @@ -0,0 +1,102 @@ +# 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.17.ebuild,v 1.1 2008/05/05 08:00:16 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="2394" +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" + +DEPEND="media-libs/alsa-lib + x86? ( sys-apps/pciutils + >=sys-libs/libsmbios-0.13.6 ) + amd64? ( sys-apps/pciutils + >=sys-libs/libsmbios-0.13.6 ) + dev-libs/confuse + sys-apps/dbus + sys-libs/zlib + media-libs/audiofile + gtk? ( >=x11-libs/gtk+-2 + >=gnome-base/libglade-2 ) + X? ( x11-libs/libX11 + x11-libs/libXpm ) + dev-util/pkgconfig" +RDEPEND="${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 +} |