diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-laptop/pommed/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-laptop/pommed/files')
-rw-r--r-- | app-laptop/pommed/files/pommed-1.21-r1.patch | 75 | ||||
-rw-r--r-- | app-laptop/pommed/files/pommed-1.30.patch | 75 | ||||
-rw-r--r-- | app-laptop/pommed/files/pommed-1.31.patch | 75 | ||||
-rw-r--r-- | app-laptop/pommed/files/pommed-1.39.patch | 89 | ||||
-rwxr-xr-x | app-laptop/pommed/files/pommed.rc | 19 | ||||
-rw-r--r-- | app-laptop/pommed/files/pommed.service | 10 |
6 files changed, 343 insertions, 0 deletions
diff --git a/app-laptop/pommed/files/pommed-1.21-r1.patch b/app-laptop/pommed/files/pommed-1.21-r1.patch new file mode 100644 index 000000000000..5b899a369f1b --- /dev/null +++ b/app-laptop/pommed/files/pommed-1.21-r1.patch @@ -0,0 +1,75 @@ +diff -ru pommed-1.21~/gpomme/Makefile pommed-1.21/gpomme/Makefile +--- pommed-1.21~/gpomme/Makefile 2008-12-21 13:38:27.000000000 +0100 ++++ pommed-1.21/gpomme/Makefile 2008-12-21 14:06:46.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.21~/pommed/Makefile pommed-1.21/pommed/Makefile +--- pommed-1.21~/pommed/Makefile 2008-12-21 13:38:27.000000000 +0100 ++++ pommed-1.21/pommed/Makefile 2008-12-21 14:04:52.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 +@@ -66,6 +67,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.21~/wmpomme/Makefile pommed-1.21/wmpomme/Makefile +--- pommed-1.21~/wmpomme/Makefile 2008-12-21 13:38:27.000000000 +0100 ++++ pommed-1.21/wmpomme/Makefile 2008-12-21 14:07:09.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 = -lXpm -lXext -lX11 $(DBUS_LIBS) ++CFLAGS += -g -Wall $(DBUS_CFLAGS) ++LDFLAGS += -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.30.patch b/app-laptop/pommed/files/pommed-1.30.patch new file mode 100644 index 000000000000..48c0fd02bdcf --- /dev/null +++ b/app-laptop/pommed/files/pommed-1.30.patch @@ -0,0 +1,75 @@ +diff -ru pommed-1.30~/gpomme/Makefile pommed-1.30/gpomme/Makefile +--- pommed-1.30~/gpomme/Makefile 2009-10-22 21:25:30.000000000 +0200 ++++ pommed-1.30/gpomme/Makefile 2009-11-21 19:41:08.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.30~/pommed/Makefile pommed-1.30/pommed/Makefile +--- pommed-1.30~/pommed/Makefile 2009-10-22 21:25:30.000000000 +0200 ++++ pommed-1.30/pommed/Makefile 2009-11-21 19:41:08.000000000 +0100 +@@ -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 + +diff -ru pommed-1.30~/wmpomme/Makefile pommed-1.30/wmpomme/Makefile +--- pommed-1.30~/wmpomme/Makefile 2009-10-22 21:25:30.000000000 +0200 ++++ pommed-1.30/wmpomme/Makefile 2009-11-21 19:41:08.000000000 +0100 +@@ -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 + diff --git a/app-laptop/pommed/files/pommed-1.31.patch b/app-laptop/pommed/files/pommed-1.31.patch new file mode 100644 index 000000000000..94061909a53c --- /dev/null +++ b/app-laptop/pommed/files/pommed-1.31.patch @@ -0,0 +1,75 @@ +diff -ru pommed-1.31~/gpomme/Makefile pommed-1.31/gpomme/Makefile +--- pommed-1.31~/gpomme/Makefile 2010-02-28 17:24:31.000000000 +0100 ++++ pommed-1.31/gpomme/Makefile 2010-02-28 17:25:31.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 -lX11 $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS) ++CFLAGS += -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS) ++LDFLAGS += -lpthread -lX11 $(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.31~/pommed/Makefile pommed-1.31/pommed/Makefile +--- pommed-1.31~/pommed/Makefile 2010-02-28 17:24:31.000000000 +0100 ++++ pommed-1.31/pommed/Makefile 2010-02-28 17:26:20.000000000 +0100 +@@ -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 += -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 + +diff -ru pommed-1.31~/wmpomme/Makefile pommed-1.31/wmpomme/Makefile +--- pommed-1.31~/wmpomme/Makefile 2010-02-28 17:24:31.000000000 +0100 ++++ pommed-1.31/wmpomme/Makefile 2010-02-28 17:26:42.000000000 +0100 +@@ -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 += -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 + diff --git a/app-laptop/pommed/files/pommed-1.39.patch b/app-laptop/pommed/files/pommed-1.39.patch new file mode 100644 index 000000000000..1215606c35cb --- /dev/null +++ b/app-laptop/pommed/files/pommed-1.39.patch @@ -0,0 +1,89 @@ +diff --git a/gpomme/Makefile b/gpomme/Makefile +index 0874b48..a3ab64a 100644 +--- a/gpomme/Makefile ++++ b/gpomme/Makefile +@@ -1,5 +1,3 @@ +-CC = gcc +- + GTK_CFLAGS = $(shell pkg-config --cflags gtk+-2.0) + GTK_LIBS = $(shell pkg-config --libs gtk+-2.0) + +@@ -14,7 +12,7 @@ CONFUSE_LIBS = $(shell pkg-config libconfuse --libs) + + 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) $(INOTIFY_CFLAGS) ++CFLAGS += -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) + LDLIBS = -lpthread -lX11 $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) + + SOURCES = gpomme.c theme.c conffile.c \ +@@ -30,6 +28,7 @@ all: gpomme mo + mo: $(MOFILES) + + gpomme: $(OBJS) ++ ${CC} -o $@ ${OBJS} ${LDLIBS} ${LDFLAGS} + + gpomme.o: gpomme.c gpomme.h theme.h ../client-common/dbus-client.h ../client-common/video-client.h + +diff --git a/pommed/Makefile b/pommed/Makefile +index 5f3cbf9..3425a2a 100644 +--- a/pommed/Makefile ++++ b/pommed/Makefile +@@ -1,7 +1,5 @@ + ARCH ?= $(shell uname -m) + +-CC = gcc +- + DBUS_CFLAGS = $(shell pkg-config dbus-1 --cflags) -DDBUS_API_SUBJECT_TO_CHANGE + DBUS_LIBS = $(shell pkg-config dbus-1 --libs) + +@@ -18,7 +16,7 @@ INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INO + + 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 += -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) $(TIMERFD_CFLAGS) + + LDLIBS = -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS) + +@@ -54,6 +52,7 @@ ifeq ($(LIBPCI_SHARED), true) + + CFLAGS += $(LIBPCI_CFLAGS) + LDLIBS += $(LIBPCI_LIBS) ++ LIBS = $(LIBPCI_LIBS) + else + LIB_OBJS += /usr/lib/libpci.a + LDLIBS += -lz +@@ -73,6 +72,7 @@ OBJS = $(SOURCES:%.c=%.o) + + + pommed: $(OBJS) $(LIB_OBJS) ++ ${CC} -o $@ ${OBJS} ${LDLIBS} ${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 --git a/wmpomme/Makefile b/wmpomme/Makefile +index cc7a438..6c4bee1 100644 +--- a/wmpomme/Makefile ++++ b/wmpomme/Makefile +@@ -1,11 +1,9 @@ +-CC = gcc +- + DBUS_CFLAGS = $(shell pkg-config dbus-1 --cflags) -DDBUS_API_SUBJECT_TO_CHANGE + DBUS_LIBS = $(shell pkg-config dbus-1 --libs) + + TIMERFD_CFLAGS = $(shell test -e /usr/include/sys/timerfd.h || echo -DNO_SYS_TIMERFD_H) + +-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(TIMERFD_CFLAGS) ++CFLAGS += -Wall $(DBUS_CFLAGS) $(TIMERFD_CFLAGS) + LDLIBS = -lrt -lXpm -lXext -lX11 $(DBUS_LIBS) + + SOURCES = wmgeneral.c wmpomme.c \ +@@ -15,6 +13,7 @@ SOURCES = wmgeneral.c wmpomme.c \ + OBJS = $(SOURCES:%.c=%.o) + + wmpomme: $(OBJS) ++ ${CC} -o $@ ${OBJS} ${LDLIBS} ${LDFLAGS} + + wmpomme.o: wmpomme.c wmgeneral.h wmpomme-master.xpm ../client-common/dbus-client.h + diff --git a/app-laptop/pommed/files/pommed.rc b/app-laptop/pommed/files/pommed.rc new file mode 100755 index 000000000000..062d1a9c3994 --- /dev/null +++ b/app-laptop/pommed/files/pommed.rc @@ -0,0 +1,19 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need dbus alsasound +} + +start() { + ebegin "Running pommed daemon" + start-stop-daemon --start --quiet --exec /usr/bin/pommed + eend $? +} + +stop() { + ebegin "Stopping pommed daemon" + start-stop-daemon --stop --pidfile /var/run/pommed.pid + eend $? +} diff --git a/app-laptop/pommed/files/pommed.service b/app-laptop/pommed/files/pommed.service new file mode 100644 index 000000000000..8407c1db9550 --- /dev/null +++ b/app-laptop/pommed/files/pommed.service @@ -0,0 +1,10 @@ +[Unit] +Description=MacBook Hotkey Event Handler + +[Service] +Type=dbus +BusName=org.pommed +ExecStart=/usr/bin/pommed -f + +[Install] +WantedBy=multi-user.target |