summaryrefslogtreecommitdiff
path: root/app-laptop/pommed
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-laptop/pommed
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-laptop/pommed')
-rw-r--r--app-laptop/pommed/Manifest6
-rw-r--r--app-laptop/pommed/files/pommed-1.39.patch89
-rw-r--r--app-laptop/pommed/files/pommed.rc19
-rw-r--r--app-laptop/pommed/files/pommed.service10
-rw-r--r--app-laptop/pommed/metadata.xml13
-rw-r--r--app-laptop/pommed/pommed-1.39-r1.ebuild107
6 files changed, 0 insertions, 244 deletions
diff --git a/app-laptop/pommed/Manifest b/app-laptop/pommed/Manifest
deleted file mode 100644
index 5ce54a7f3d2d..000000000000
--- a/app-laptop/pommed/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX pommed-1.39.patch 3024 BLAKE2B 44ba221b8ba8e328ca322ecb9cf53dd8c10d9cfc82575d74d95cff929570086af0d4cb5d81532bf182f750615b59b05369ced1205cf8a7f0d6ca86a7606dcc21 SHA512 c048643afe0de01a161515963fc11fa330b39cd6304f139ab831032f51e2722d30c7e9b93e1de7d1150283bef570e44772e226f8c13e512d66b1ebe08a7892be
-AUX pommed.rc 383 BLAKE2B 96e43ba7a0d6e78ced0546f2d947cd2e150629ce9a9260029e97267ecf2c0012b6427b92dd8a3edee57f790ace13dc0688131544a50f9e3d315d1b2918693fca SHA512 54c3ee9242ab68f7a162e5892f4b5ee1064328f4b23c9da05f75acdb5c8c93245533af1320b6fa20f026f62060b5a0558eab1215c9c8491086545b7733c6c87b
-AUX pommed.service 155 BLAKE2B 5c99ee7f519f01c43a9cc4513b6a474aa5179482f48f687a796f5f8d49e71b3b67275de270decadfe1566a4b31f7f52ab59579e2d79e51de919064e6ec8c251d SHA512 00cfd3417ec09cef62e478ac7b5483b1857de2061106c8ae368dbaf0ff5c7b06e974ea85bba411601e76e5bbef53e4ab5b743aa7366c9d717d865a7fd3cd604d
-DIST pommed-1.39.tar.gz 995020 BLAKE2B b96169b3fa3f3f8cd8ce122af07ba6e13f2bd0969cd6f3aff8b2755dd1295ec581746ac3a5f692710bf8ad25ec1ca76819dcaa2d26681f5299548eb9693334f3 SHA512 26568e359d8ef853710b1d86f397981e87245a84b2ff006964035ea8643e97df44fe52b01841d085eb8dd1aee586e1c8b60c44089f463e2a64b2b95c010a9d10
-EBUILD pommed-1.39-r1.ebuild 2306 BLAKE2B 20c999e57edd6a9886c823bacd766d791bbd46c36b2dfddd77a5a130c447650cf70861e9ead702df9bccb4fa31197c41208e8c08ab12b801b52e1644ae1fd7fd SHA512 451d30a5c7b18c5f035cd1d3009d55ff5575616c9195e6977b15ba5762786af10c6dd0081fd36ae887f7320a60ee578d54832da7b8deaea877914aa7a8912a15
-MISC metadata.xml 644 BLAKE2B e8639125013d5f7024f9e49cbfef306ead9a8c7c3486fe2538a79de4394d01e122c5b6af241b98405491299d00a48fd683fb94fd4795294ea5f96ba56b434784 SHA512 3e31c0588847153aa548d8b09eb5a896f372f6c2c70deb5ac5efbd0f6401877fcf38fb8d04d5cfc718ec228157da86229eefb8101be5bdca0c6e5e540e48aa01
diff --git a/app-laptop/pommed/files/pommed-1.39.patch b/app-laptop/pommed/files/pommed-1.39.patch
deleted file mode 100644
index 1215606c35cb..000000000000
--- a/app-laptop/pommed/files/pommed-1.39.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-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
deleted file mode 100644
index 23904fc7d3a0..000000000000
--- a/app-laptop/pommed/files/pommed.rc
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# 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
deleted file mode 100644
index 8407c1db9550..000000000000
--- a/app-laptop/pommed/files/pommed.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=MacBook Hotkey Event Handler
-
-[Service]
-Type=dbus
-BusName=org.pommed
-ExecStart=/usr/bin/pommed -f
-
-[Install]
-WantedBy=multi-user.target
diff --git a/app-laptop/pommed/metadata.xml b/app-laptop/pommed/metadata.xml
deleted file mode 100644
index 03eedeaa5399..000000000000
--- a/app-laptop/pommed/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>naota@gentoo.org</email>
-</maintainer>
-<longdescription> pommed handles the hotkeys found on the Apple MacBook Pro,
-MacBook and PowerBook laptops and adjusts the LCD backlight, sound volume,
-keyboard backlight or ejects the CD-ROM drive accordingly.
-pommed also monitors the ambient light sensors to automatically light up the
-keyboard backlight on the MacBook Pro and the latest PowerBook.
-Optional support for the Apple Remote control is available.</longdescription>
-</pkgmetadata>
diff --git a/app-laptop/pommed/pommed-1.39-r1.ebuild b/app-laptop/pommed/pommed-1.39-r1.ebuild
deleted file mode 100644
index e915f399b70d..000000000000
--- a/app-laptop/pommed/pommed-1.39-r1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils toolchain-funcs linux-info systemd
-
-DESCRIPTION="Manage screen and keyboard backlight on Apple MacBook Pro/PowerBook"
-HOMEPAGE="http://technologeek.org/projects/pommed/index.html"
-ALIOTH_NUMBER="3583"
-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 )
- X? ( x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXpm )"
-DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig"
-RDEPEND="${COMMON_DEPEND}
- media-sound/alsa-utils
- virtual/eject"
-
-pkg_setup() {
- if ! use ppc; then
- linux-info_pkg_setup
-
- CONFIG_CHECK="~DMIID"
- check_extra_config
- fi
-}
-
-src_prepare() {
- 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
- systemd_dounit "${FILESDIR}"/${PN}.service
-
- 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
-
- domenu gpomme/gpomme.desktop gpomme/gpomme-c.desktop
- insinto /usr/share/gpomme/
- doins -r gpomme/themes
- fi
-
- if use X ; then
- dobin wmpomme/wmpomme
- fi
-}