summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-laptop/pommed/ChangeLog6
-rw-r--r--app-laptop/pommed/files/pommed-1.25.patch75
-rw-r--r--app-laptop/pommed/files/pommed-1.26.patch77
-rw-r--r--app-laptop/pommed/pommed-1.25.ebuild102
-rw-r--r--app-laptop/pommed/pommed-1.26.ebuild102
5 files changed, 5 insertions, 357 deletions
diff --git a/app-laptop/pommed/ChangeLog b/app-laptop/pommed/ChangeLog
index 36f69e1e2fda..66387048b3ce 100644
--- a/app-laptop/pommed/ChangeLog
+++ b/app-laptop/pommed/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-laptop/pommed
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.45 2009/11/21 18:49:05 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.46 2009/11/21 18:51:33 cedk Exp $
+
+ 21 Nov 2009; Cédric Krier <cedk@gentoo.org> -pommed-1.25.ebuild,
+ -files/pommed-1.25.patch, -pommed-1.26.ebuild, -files/pommed-1.26.patch:
+ Remove old
*pommed-1.30 (21 Nov 2009)
diff --git a/app-laptop/pommed/files/pommed-1.25.patch b/app-laptop/pommed/files/pommed-1.25.patch
deleted file mode 100644
index fd8cdd9a1ff2..000000000000
--- a/app-laptop/pommed/files/pommed-1.25.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-diff -ru pommed-1.25~/gpomme/Makefile pommed-1.25/gpomme/Makefile
---- pommed-1.25~/gpomme/Makefile 2009-01-29 00:27:58.000000000 +0100
-+++ pommed-1.25/gpomme/Makefile 2009-01-29 00:28:40.000000000 +0100
-@@ -17,8 +17,8 @@
-
- INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
-
--CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS)
--LDFLAGS = -lpthread $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS)
-+CFLAGS += -g -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS)
-+LDFLAGS += -lpthread $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS)
-
- SOURCES = gpomme.c theme.c conffile.c \
- ../client-common/dbus-client.c \
-@@ -33,6 +33,7 @@
- mo: $(MOFILES)
-
- gpomme: $(OBJS) $(LIBS)
-+ ${CC} -o $@ ${OBJS} ${LIBS} ${LDFLAGS}
-
- gpomme.o: gpomme.c gpomme.h theme.h ../client-common/dbus-client.h ../client-common/video-client.h
-
-diff -ru pommed-1.25~/pommed/Makefile pommed-1.25/pommed/Makefile
---- pommed-1.25~/pommed/Makefile 2009-01-29 00:27:58.000000000 +0100
-+++ pommed-1.25/pommed/Makefile 2009-01-29 00:29:44.000000000 +0100
-@@ -16,9 +16,9 @@
-
- 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)
-+LDFLAGS += -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
-
- ifneq (, $(findstring ppc, $(ARCH)))
- OFLIB ?=
-@@ -50,6 +50,7 @@
-
- CFLAGS += $(LIBPCI_CFLAGS)
- LDFLAGS += $(LIBPCI_LIBS)
-+ LIBS = $(LIBPCI_LIBS)
- else
- LIBS = /usr/lib/libpci.a
- LDFLAGS += -lz
-@@ -67,6 +68,7 @@
-
-
- pommed: $(OBJS) $(LIBS)
-+ ${CC} -o $@ ${OBJS} ${LIBS} ${LDFLAGS}
-
- pommed.o: pommed.c pommed.h evloop.h kbd_backlight.h lcd_backlight.h cd_eject.h evdev.h conffile.h audio.h dbus.h beep.h
-
-diff -ru pommed-1.25~/wmpomme/Makefile pommed-1.25/wmpomme/Makefile
---- pommed-1.25~/wmpomme/Makefile 2009-01-29 00:27:58.000000000 +0100
-+++ pommed-1.25/wmpomme/Makefile 2009-01-29 00:30:30.000000000 +0100
-@@ -3,8 +3,8 @@
- DBUS_CFLAGS = $(shell pkg-config dbus-1 --cflags) -DDBUS_API_SUBJECT_TO_CHANGE
- DBUS_LIBS = $(shell pkg-config dbus-1 --libs)
-
--CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS)
--LDFLAGS = -lrt -lXpm -lXext -lX11 $(DBUS_LIBS)
-+CFLAGS += -g -Wall $(DBUS_CFLAGS)
-+LDFLAGS += -lrt -lXpm -lXext -lX11 $(DBUS_LIBS)
-
- SOURCES = wmgeneral.c wmpomme.c \
- ../client-common/dbus-client.c \
-@@ -13,6 +13,7 @@
- OBJS = $(SOURCES:%.c=%.o)
-
- wmpomme: $(OBJS)
-+ ${CC} -o $@ ${OBJS} ${LDFLAGS}
-
- wmpomme.o: wmpomme.c wmgeneral.h wmpomme-master.xpm ../client-common/dbus-client.h
-
diff --git a/app-laptop/pommed/files/pommed-1.26.patch b/app-laptop/pommed/files/pommed-1.26.patch
deleted file mode 100644
index 9c2492ee83d5..000000000000
--- a/app-laptop/pommed/files/pommed-1.26.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff -ru pommed-1.26~/gpomme/Makefile pommed-1.26/gpomme/Makefile
---- pommed-1.26~/gpomme/Makefile 2009-05-28 19:37:00.000000000 +0200
-+++ pommed-1.26/gpomme/Makefile 2009-05-28 19:37:29.000000000 +0200
-@@ -17,8 +17,8 @@
-
- INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
-
--CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS)
--LDFLAGS = -lpthread $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS)
-+CFLAGS += -g -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS)
-+LDFLAGS += -lpthread $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS)
-
- SOURCES = gpomme.c theme.c conffile.c \
- ../client-common/dbus-client.c \
-@@ -33,6 +33,7 @@
- mo: $(MOFILES)
-
- gpomme: $(OBJS) $(LIBS)
-+ ${CC} -o $@ ${OBJS} ${LIBS} ${LDFLAGS}
-
- gpomme.o: gpomme.c gpomme.h theme.h ../client-common/dbus-client.h ../client-common/video-client.h
-
-diff -ru pommed-1.26~/pommed/Makefile pommed-1.26/pommed/Makefile
---- pommed-1.26~/pommed/Makefile 2009-05-28 19:37:00.000000000 +0200
-+++ pommed-1.26/pommed/Makefile 2009-05-28 19:38:17.000000000 +0200
-@@ -18,9 +18,9 @@
-
- TIMERFD_CFLAGS = $(shell test -e /usr/include/sys/timerfd.h || echo -DNO_SYS_TIMERFD_H)
-
--CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) $(TIMERFD_CFLAGS)
-+CFLAGS += -g -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) $(TIMERFD_CFLAGS)
-
--LDFLAGS = -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
-+LDFLAGS += -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
-
- ifneq (, $(findstring ppc, $(ARCH)))
- OFLIB ?=
-@@ -52,6 +52,7 @@
-
- CFLAGS += $(LIBPCI_CFLAGS)
- LDFLAGS += $(LIBPCI_LIBS)
-+ LIBS = $(LIBPCI_LIBS)
- else
- LIBS = /usr/lib/libpci.a
- LDFLAGS += -lz
-@@ -69,6 +70,7 @@
-
-
- pommed: $(OBJS) $(LIBS)
-+ ${CC} -o $@ ${OBJS} ${LIBS} ${LDFLAGS}
-
- pommed.o: pommed.c pommed.h evloop.h kbd_backlight.h lcd_backlight.h cd_eject.h evdev.h conffile.h audio.h dbus.h beep.h
-
-Only in pommed-1.26/pommed: Makefile.orig
-diff -ru pommed-1.26~/wmpomme/Makefile pommed-1.26/wmpomme/Makefile
---- pommed-1.26~/wmpomme/Makefile 2009-05-28 19:37:00.000000000 +0200
-+++ pommed-1.26/wmpomme/Makefile 2009-05-28 19:38:45.000000000 +0200
-@@ -5,8 +5,8 @@
-
- TIMERFD_CFLAGS = $(shell test -e /usr/include/sys/timerfd.h || echo -DNO_SYS_TIMERFD_H)
-
--CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(TIMERFD_CFLAGS)
--LDFLAGS = -lrt -lXpm -lXext -lX11 $(DBUS_LIBS)
-+CFLAGS += -g -Wall $(DBUS_CFLAGS) $(TIMERFD_CFLAGS)
-+LDFLAGS += -lrt -lXpm -lXext -lX11 $(DBUS_LIBS)
-
- SOURCES = wmgeneral.c wmpomme.c \
- ../client-common/dbus-client.c \
-@@ -15,6 +15,7 @@
- OBJS = $(SOURCES:%.c=%.o)
-
- wmpomme: $(OBJS)
-+ ${CC} -o $@ ${OBJS} ${LDFLAGS}
-
- wmpomme.o: wmpomme.c wmgeneral.h wmpomme-master.xpm ../client-common/dbus-client.h
-
-Only in pommed-1.26/wmpomme: Makefile.orig
diff --git a/app-laptop/pommed/pommed-1.25.ebuild b/app-laptop/pommed/pommed-1.25.ebuild
deleted file mode 100644
index 8a74967a9e27..000000000000
--- a/app-laptop/pommed/pommed-1.25.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/pommed-1.25.ebuild,v 1.2 2009/04/15 22:07:24 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="2707"
-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
- dev-libs/dbus-glib
- 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
-}
diff --git a/app-laptop/pommed/pommed-1.26.ebuild b/app-laptop/pommed/pommed-1.26.ebuild
deleted file mode 100644
index 181b61bd99ac..000000000000
--- a/app-laptop/pommed/pommed-1.26.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/pommed-1.26.ebuild,v 1.1 2009/05/28 17:45:18 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="2975"
-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
- dev-libs/dbus-glib
- 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
-}