diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2008-02-21 17:14:14 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2008-02-21 17:14:14 +0000 |
commit | ad75b80d19ca4cb5b3c1ca4e45d5c92423e18b13 (patch) | |
tree | 72c1bcfef5a12fd99e9726ec7c3749a74c30b3a7 /app-misc/g15composer | |
parent | Add eutils inherit (diff) | |
download | historical-ad75b80d19ca4cb5b3c1ca4e45d5c92423e18b13.tar.gz historical-ad75b80d19ca4cb5b3c1ca4e45d5c92423e18b13.tar.bz2 historical-ad75b80d19ca4cb5b3c1ca4e45d5c92423e18b13.zip |
Version bump as requested by Efimov Vadim <evadim@evadim.ru>, closes bug #208775.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc/g15composer')
-rw-r--r-- | app-misc/g15composer/ChangeLog | 12 | ||||
-rw-r--r-- | app-misc/g15composer/Manifest | 18 | ||||
-rw-r--r-- | app-misc/g15composer/files/g15composer-3.2.confd | 17 | ||||
-rw-r--r-- | app-misc/g15composer/files/g15composer-3.2.initd | 49 | ||||
-rw-r--r-- | app-misc/g15composer/g15composer-3.2.ebuild | 75 | ||||
-rw-r--r-- | app-misc/g15composer/metadata.xml | 4 |
6 files changed, 169 insertions, 6 deletions
diff --git a/app-misc/g15composer/ChangeLog b/app-misc/g15composer/ChangeLog index 5971b951e646..01ed073b3b82 100644 --- a/app-misc/g15composer/ChangeLog +++ b/app-misc/g15composer/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-misc/g15composer -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/g15composer/ChangeLog,v 1.16 2007/05/01 10:14:03 corsair Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/g15composer/ChangeLog,v 1.17 2008/02/21 17:14:13 chainsaw Exp $ + +*g15composer-3.2 (21 Feb 2008) + + 21 Feb 2008; Tony Vroon <chainsaw@gentoo.org> + +files/g15composer-3.2.confd, +files/g15composer-3.2.initd, metadata.xml, + +g15composer-3.2.ebuild: + Version bump as requested by Efimov Vadim <evadim@evadim.ru>, closes bug + #208775. 01 May 2007; Markus Rothe <corsair@gentoo.org> g15composer-3.1.ebuild: Added ~ppc64; bug #175120 diff --git a/app-misc/g15composer/Manifest b/app-misc/g15composer/Manifest index 184da3812d8b..efe753e60f17 100644 --- a/app-misc/g15composer/Manifest +++ b/app-misc/g15composer/Manifest @@ -1,9 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX g15composer-1.1.initd 737 RMD160 57b7f6135ab48dd587e793e74ce36de4d147be95 SHA1 01637e58637e0879a1b5e9cac926efa318dbee30 SHA256 fe12bcbe0d2a5a8cf7cab7e01bf50f73d37a03571b6b89b955106e5ff5591c69 AUX g15composer-3.1.confd 695 RMD160 179650946e535b994d35c3913a7087d7f2154e68 SHA1 4f2ebfcae2649786876e0744ec3e6ecc0dd57281 SHA256 1f070d07b3a4956b7dfe584bdb25043d340314e8916cb2e00afa9060cf5488e6 AUX g15composer-3.1.initd 1368 RMD160 3d478ac01259bec0f4c3d6ddb6ee97a22fd9518f SHA1 0b902ca423485d54888735fa0f7928cd32be0d9d SHA256 ac3ff78050b36ae62d67b27f760f712676a8394aaeb556510eaa8ebc29a46f19 +AUX g15composer-3.2.confd 695 RMD160 179650946e535b994d35c3913a7087d7f2154e68 SHA1 4f2ebfcae2649786876e0744ec3e6ecc0dd57281 SHA256 1f070d07b3a4956b7dfe584bdb25043d340314e8916cb2e00afa9060cf5488e6 +AUX g15composer-3.2.initd 1373 RMD160 70d1ec4d4780345f9e67a1833d12b4b81948ad75 SHA1 83c47cc19025ce125a8d232b64187fc29e3f3cc0 SHA256 2cc04630b66e4c335f5c791bf213edd543af4d3424c5fbc2e72b3ccdc243d01e DIST g15composer-1.1.tar.bz2 70140 RMD160 51d431adfc4469f8195c077d49e82b98bea04b57 SHA1 6b30f1c521fb1c45f7ce628fc812a09feb6e827a SHA256 52220b0e3e1219ecf5504f8b70d7be23a4e12d640b9367e34a3db6bbfe2dc2ef DIST g15composer-3.1.tar.bz2 104109 RMD160 ab31de24416452a8a363e0a0ae8856c21706b6fc SHA1 648117dde17d356878dd834de763004d6b6d8f0a SHA256 d8f34c1711e95f8ca3ddd9fd5f557a51bb23b79099fbf2fddb96bdcd03067988 +DIST g15composer-3.2.tar.bz2 105805 RMD160 0fb6a6b18dfda490847a226bdb4175d1102a35ae SHA1 db0085555a36720f6c0d57d32f4fe9549ec1e57a SHA256 0ae3fdac1dd5858bb7185ae5a50a6ff1c657a29d02b44c8a73f1c38cec17b035 EBUILD g15composer-1.1.ebuild 1200 RMD160 3d8934a597ec8322728dbadbcf24182d768c78aa SHA1 c1cfd80b7da0894d8aacac64753aa4e03fa39ae8 SHA256 875846b60e0d3b8545a496ce6a328f0f2d7cf6bf935f1fb4bc559e337096214f EBUILD g15composer-3.1.ebuild 2017 RMD160 5c7bafa7228b282697f3fcca4d09c9fc075afc5c SHA1 3e2b770f6c4874c83cd7fbbd5458736a04c8ba53 SHA256 838c8638d2794d9bb6d2f5ac6eba8035f33ffb8b6910c55418af3a55a5c09018 -MISC ChangeLog 2963 RMD160 19e28d2efcbc4c6f8949ea9f4f60dbd38b530096 SHA1 13fcddf9c77c39d81b9d53bcff7d3cd06bc2c80d SHA256 40dadc0d93c00c059838d50a11d4c8de52d11c4c3c44d3cdd03f4e908315845f -MISC metadata.xml 249 RMD160 f108edee61c95c42d98726b435b75d03cbbd4aac SHA1 48461481dfc5a9d1f5b4726a5e9882a2fb966ede SHA256 1dc990d64e5b42c9b17d7358c9f0af7d26702f575957482d93c8fd12a556cc11 +EBUILD g15composer-3.2.ebuild 2020 RMD160 2eea209dc4250cc844c39080168335e4d9259342 SHA1 8316d980ed69f88a72ffa56651b599ef02b97204 SHA256 e828d90f880eb87e66739cb2480bc23289a268bacbf066df5cbd6e992bd0f6e8 +MISC ChangeLog 3234 RMD160 6c216294f7dcaaceedc122a1142078309b54c029 SHA1 0beb12decf91061aa5d0b162693d5e56a92ebb89 SHA256 1aae0b6ff3516f3f747f1a73e64e53ed1bbd573f4d2801e922882942e93fce2d +MISC metadata.xml 249 RMD160 3a959d6b2d70ee342ccdf4abcaa3107d6f2897ed SHA1 942405176c914e1682a8a0daa6c5b9d7b6a2a94d SHA256 5a7fbdf3050c5c4c8f1dc154e8c715162b71ef329ec3e59facb4965dea2c9a81 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHvbE4p5vW4rUFj5oRAu22AJ9Hskxmq1phCDuojRi70Mjr5846rwCcCLnD +zZ6/Cau6/SPEihMHfz6oBd0= +=eBws +-----END PGP SIGNATURE----- diff --git a/app-misc/g15composer/files/g15composer-3.2.confd b/app-misc/g15composer/files/g15composer-3.2.confd new file mode 100644 index 000000000000..f42ab956e242 --- /dev/null +++ b/app-misc/g15composer/files/g15composer-3.2.confd @@ -0,0 +1,17 @@ +# /etc/conf.d/g15composer: Configuration for the g15composer + +# The CONTROL_FIFO is the name of the FIFO that g15composer listens to. +# It does not create a screen on the display, but allows programs to +# create their own non-virtual screens. +# Please make sure the file specified does not exist. +CONTROL_FIFO="/var/run/g15composer" + +# Set the user who owns the CONTROL_FIFO. +# As this is also the user as whom g15composer is run, +# it has to be someone who can create further message channels +# This should be the user who runs the LCD clients +FIFO_USER= + +# Set the grop which owns the CONTROL_FIFO. +# The users who want to display screens on the LCD need to be in this group. +FIFO_GROUP=users diff --git a/app-misc/g15composer/files/g15composer-3.2.initd b/app-misc/g15composer/files/g15composer-3.2.initd new file mode 100644 index 000000000000..15dd6c6765fc --- /dev/null +++ b/app-misc/g15composer/files/g15composer-3.2.initd @@ -0,0 +1,49 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/g15composer/files/g15composer-3.2.initd,v 1.1 2008/02/21 17:14:14 chainsaw Exp $ + +PIDFILE=/var/run/${SVCNAME}.pid + +depend() { + need g15daemon +} + +start() { + ebegin "Starting ${SVCNAME}" + + if [ -z "${FIFO_USER}" -o -z "${FIFO_GROUP}" ] ; then + eerror "Please set the FIFO_USER and FIFO_GROUP variables in /etc/conf.d/${SVCNAME}" + eend 1 + return 1 + fi + if [ -e "${CONTROL_FIFO}" -a ! -p "${CONTROL_FIFO}" ] ; then + eerror "${CONTROL_FIFO} exists and is not a FIFO. Please remove." + eend 1 + return 1 + fi + if [ ! -p "${CONTROL_FIFO}" ] ; then + einfo "Creating FIFO at ${CONTROL_FIFO}" + mkfifo -m660 "${CONTROL_FIFO}" + else + einfo "Reusing FIFO at ${CONTROL_FIFO}" + fi + + chown ${FIFO_USER} "${CONTROL_FIFO}" + chgrp ${FIFO_GROUP} "${CONTROL_FIFO}" + start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec \ + /usr/bin/g15composer -- -b -u "${FIFO_USER}" -g "${FIFO_GROUP}" "${CONTROL_FIFO}" + eend $? +} + +stop() { + ebegin "Stoping ${SVCNAME}" + start-stop-daemon --stop --pidfile ${PIDFILE} --name g15composer + if [ -p "${CONTROL_FIFO}" ] ; then + einfo "Removing FIFO at ${CONTROL_FIFO}" + rm -f "${CONTROL_FIFO}" + else + ewarn "FIFO at ${CONTROL_FIFO} was lost" + fi + eend $? +} diff --git a/app-misc/g15composer/g15composer-3.2.ebuild b/app-misc/g15composer/g15composer-3.2.ebuild new file mode 100644 index 000000000000..366d69b660c8 --- /dev/null +++ b/app-misc/g15composer/g15composer-3.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/g15composer/g15composer-3.2.ebuild,v 1.1 2008/02/21 17:14:13 chainsaw Exp $ + +inherit eutils + +DESCRIPTION="A library to render text and shapes into a buffer usable by the Logitech G15 keyboard" +HOMEPAGE="http://g15tools.sourceforge.net/" +SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="amarok truetype examples" + +DEPEND="app-misc/g15daemon + >=dev-libs/libg15render-1.2 + truetype? ( media-libs/freetype ) + amarok? ( kde-base/kdelibs )" + +RDEPEND="${DEPEND} + amarok? ( dev-perl/DCOP-Amarok-Player )" + +pkg_setup() { + local failure=false + echo + if use amarok && ! built_with_use dev-lang/perl ithreads ; then + eerror "dev-lang/perl must be built with USE=\"ithreads\" for the Amarok display to work." + failure=true + fi + if use truetype && ! built_with_use dev-libs/libg15render truetype ; then + eerror "dev-libs/libg15render must be built with USE=\"truetype\" for truetype to work." + failure=true + fi + if ${failure}; then + die "Please rebuild the packages with corrected USE flags." + fi +} + +src_compile() { + econf \ + $(use_enable truetype ttf ) \ + || die "configure failed" + + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + newinitd "${FILESDIR}/${P}.initd" ${PN} + newconfd "${FILESDIR}/${P}.confd" ${PN} + + dodoc AUTHORS README ChangeLog + + if use examples ; then + exeinto "/usr/share/${PN}" + doexe examples/* + fi + + if use amarok ; then + exeinto "/usr/share/apps/amarok/scripts" + newexe examples/amarok-g15-perl.pl g15-display.pl + fi +} + +pkg_postinst() { + elog "Set the user to run g15composer in /etc/conf.d/g15composer before starting the service." + + if use amarok; then + echo + elog "g15-display.pl was installed into your Amarok script directory." + elog "To start it, have a look at Tools -> Script Manager in the Amarok menu." + fi +} diff --git a/app-misc/g15composer/metadata.xml b/app-misc/g15composer/metadata.xml index ad12036a061b..3ae74f316232 100644 --- a/app-misc/g15composer/metadata.xml +++ b/app-misc/g15composer/metadata.xml @@ -3,7 +3,7 @@ <pkgmetadata> <herd>lcd</herd> <maintainer> - <email>rbu@gentoo.org</email> - <name>Robert Buchholz</name> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> </maintainer> </pkgmetadata> |