From 8a8e79a26175476cad34bd6181d1d99b901fdd49 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 16 Nov 2012 00:20:25 +0000 Subject: initial import wrt #432460 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) --- x11-misc/pnmixer/ChangeLog | 11 ++++ x11-misc/pnmixer/Manifest | 6 +++ .../files/pnmixer-0.6_pre20111213-build.patch | 61 ++++++++++++++++++++++ .../pnmixer-0.6_pre20111213-desktopfile.patch | 15 ++++++ x11-misc/pnmixer/metadata.xml | 10 ++++ x11-misc/pnmixer/pnmixer-0.6_pre20111213.ebuild | 50 ++++++++++++++++++ 6 files changed, 153 insertions(+) create mode 100644 x11-misc/pnmixer/ChangeLog create mode 100644 x11-misc/pnmixer/Manifest create mode 100644 x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-build.patch create mode 100644 x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch create mode 100644 x11-misc/pnmixer/metadata.xml create mode 100644 x11-misc/pnmixer/pnmixer-0.6_pre20111213.ebuild (limited to 'x11-misc') diff --git a/x11-misc/pnmixer/ChangeLog b/x11-misc/pnmixer/ChangeLog new file mode 100644 index 000000000000..0eb5b23a349d --- /dev/null +++ b/x11-misc/pnmixer/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for x11-misc/pnmixer +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/pnmixer/ChangeLog,v 1.1 2012/11/16 00:20:24 hasufell Exp $ + +*pnmixer-0.6_pre20111213 (16 Nov 2012) + + 16 Nov 2012; Julian Ospald + +pnmixer-0.6_pre20111213.ebuild, +files/pnmixer-0.6_pre20111213-build.patch, + +files/pnmixer-0.6_pre20111213-desktopfile.patch: + initial import wrt #432460 + diff --git a/x11-misc/pnmixer/Manifest b/x11-misc/pnmixer/Manifest new file mode 100644 index 000000000000..c047a74801df --- /dev/null +++ b/x11-misc/pnmixer/Manifest @@ -0,0 +1,6 @@ +AUX pnmixer-0.6_pre20111213-build.patch 1532 SHA256 69cf8c7c6de9d231c24df3a58ca51fbd0adece3cf42b83976cc3a0c2073a3fb8 SHA512 4fd9cd3954448ef106c96fe945fa6c292689d4f88f7bfd08b9e7618fee38d24710b2bc33dbc676f1bb6a990461ff717a0bd7f6d1b78e7acd157a9e4535e4c629 WHIRLPOOL a1e8cc843805a55724344a3f5768fed9c49106087792a380bcf660d4e6e406dc2a12c48b753dfca01fde728cb34278fa7434ccc2e436f2eb154c5ac503efa1ba +AUX pnmixer-0.6_pre20111213-desktopfile.patch 328 SHA256 1dd714d9fd7c57b6b319eaeb9e24226b6978952dea8f3eed35805a30dd0c9fcb SHA512 ee9eee6503291e9bfeddbb5e5758aea496785e50722246fc9119bc69fd285e9145d63d9e61c4f01a52769f3142a12211d01c32a7c6a9edd31bc3a7e1fa044657 WHIRLPOOL f24f8ae0bc7688ea2b0e03d82573a8e3f3d519b41243c7a917bdf792d69ba140c7472760d148b9bbced4756fedec2500591bd3064ff037ecae169b5649d40850 +DIST pnmixer-0.6_pre20111213.tar.xz 131328 SHA256 aa42180145aa56639440168935a8b16c576e6e49db0bbe2955b79a890437f013 SHA512 967a685593256f9f2e8ab2ef955a91a03c3710d96956087ac55301d5232e6f01897efbb064bd6dc1804836af1b66c038cb3d04203043462de5246e4f14dd37c4 WHIRLPOOL 1fe36a5ea212447212bbd9b6b4efee22e1f75fbb0f2c0548447c0987664d94524e306e2942f6e96c6f10cf6bf15abc35df6b7953d63ef8ec2241eef3d627c16d +EBUILD pnmixer-0.6_pre20111213.ebuild 909 SHA256 e9b054f8c3d7aa754578b59420ea98de621c23dccc66aab2d252c3d2138cf4c0 SHA512 603e0fb08d65808cc6ed906c767b9463b2427bde660c8051ac3f3969ba210169a75c0e199e07437973ca376adbdc070e33f505cac48dba2106d910749b28b733 WHIRLPOOL ae48e0f61a2d4e49096adbdd1af17bb404ff3f9206e40790b5d31d5af02e40a79185ffe56ef64ba95c04d5fd7a9f6d936e050db20e7b61b6b56d131f39e368a4 +MISC ChangeLog 369 SHA256 fc1a535ba119360ff1bade66c5914ead6289505560ef5f96332ba01af9505a3b SHA512 ed76d006adf1d6f9af7ce20651254fdf85e85082882a78ca4abfee7844ba6af665f6c6c6b1cdf65c5b44e8375dae04502e784d5586ccbf764993341054a0755a WHIRLPOOL 658784729c486997cce756fa09a01ef054a4e466d19ab07c3ecf1cc6eabbc79755b0a500378e3e20d53c52389ca7f842b537866f1f04ab1d8138310de9cf3445 +MISC metadata.xml 262 SHA256 56be8376790c0f5f241ddafd3ed1b3068ce13f4751f8bf8e318ba4623f1150bc SHA512 f327aca9b62ca6a6ba5cb7dc7c003ebda21be3cc88d71d9cfa8c3960a87b5184e39da663367dfa8fbed598258a51924c025802036c345beb2ba2df30f137b238 WHIRLPOOL 0284fde5542adcffd34289c7db618c48d3494d7da25794259542669a3084c1e602b3f2b9b72ff28a1326087223f3276f21bdf42cb4ea9451faccc9dba9819d13 diff --git a/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-build.patch b/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-build.patch new file mode 100644 index 000000000000..4f7cd226ef42 --- /dev/null +++ b/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-build.patch @@ -0,0 +1,61 @@ +From: Julian Ospald +Date: Thu Nov 15 23:59:49 UTC 2012 +Subject: build system + +respect CFLAGS, use rdynamic +don't use AM_CFLAGS in configure.in + +--- configure.in ++++ configure.in +@@ -1,16 +1,14 @@ + dnl Process this file with autoconf to produce a configure script. + +-AC_INIT(configure.in) +-AM_INIT_AUTOMAKE(pnmixer, 0.6-dev) ++AC_INIT([pnmixer], [0.6-dev]) ++AM_INIT_AUTOMAKE + AM_CONFIG_HEADER(config.h) + AM_MAINTAINER_MODE + +-OLD_CFLAGS=$CFLAGS + AC_ISC_POSIX + AC_PROG_CC + AM_PROG_CC_STDC + AC_HEADER_STDC +-CFLAGS=$OLD_CXXFLAGS + + pkg_modules="gtk+-2.0 >= 2.16.0" + +@@ -37,12 +35,13 @@ + + if test x"$debugit" = x"yes"; then + AC_DEFINE([DEBUG],[],[Debug Mode]) +- AM_CFLAGS="$AM_CFLAGS -g -Wall -Werror -Wno-uninitialized -Wformat -Wformat-security -O0 -export-dynamic" ++ CFLAGS="$CFLAGS -g -Wall -Werror -Wno-uninitialized -Wformat -Wformat-security -O0" + else + AC_DEFINE([NDEBUG],[],[No-debug Mode]) +- AM_CFLAGS="$AM_CFLAGS -O2 -export-dynamic" + fi + ++LDFLAGS="-rdynamic $LDFLAGS" ++ + ########################################################################## + + # Make sure we have X11, and also have it added to LIBS +@@ -74,7 +73,6 @@ + AC_DEFINE([HAVE_LIBN],1,[Defined if you have libnotify]) + fi + +-AC_SUBST([AM_CFLAGS]) + + PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) + AC_SUBST(PACKAGE_CFLAGS) +--- src/Makefile.am ++++ src/Makefile.am +@@ -1,6 +1,5 @@ + ## Process this file with automake to produce Makefile.in + +-AM_CFLAGS = @AM_CFLAGS@ + + INCLUDES = \ + -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ diff --git a/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch b/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch new file mode 100644 index 000000000000..992e02936477 --- /dev/null +++ b/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch @@ -0,0 +1,15 @@ +From: Julian Ospald +Date: Fri Nov 16 00:03:56 UTC 2012 +Subject: desktop file + + comply with fd.o spec + +--- data/pnmixer.desktop ++++ data/pnmixer.desktop +@@ -12,4 +12,4 @@ + Icon=pnmixer + Terminal=false + Type=Application +-Categories=Application;AudioVideo; +\ No newline at end of file ++Categories=AudioVideo; diff --git a/x11-misc/pnmixer/metadata.xml b/x11-misc/pnmixer/metadata.xml new file mode 100644 index 000000000000..f537d26071ad --- /dev/null +++ b/x11-misc/pnmixer/metadata.xml @@ -0,0 +1,10 @@ + + + + desktop-misc + + hasufell@gentoo.org + Julian Ospald + + + diff --git a/x11-misc/pnmixer/pnmixer-0.6_pre20111213.ebuild b/x11-misc/pnmixer/pnmixer-0.6_pre20111213.ebuild new file mode 100644 index 000000000000..837ff15c9dfb --- /dev/null +++ b/x11-misc/pnmixer/pnmixer-0.6_pre20111213.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/pnmixer/pnmixer-0.6_pre20111213.ebuild,v 1.1 2012/11/16 00:20:24 hasufell Exp $ + +EAPI=5 + +inherit autotools eutils gnome2-utils + +DESCRIPTION="Volume mixer for the system tray" +HOMEPAGE="https://github.com/nicklan/pnmixer" +SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libnotify" + +RDEPEND="media-libs/alsa-lib + x11-libs/gtk+ + x11-libs/libX11 + libnotify? ( x11-libs/libnotify )" +DEPEND="sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-{build,desktopfile}.patch + mv configure.in configure.ac + eautoreconf +} + +src_configure() { + econf $(use_with libnotify) +} + +src_install() { + default + newicon -s 128 pixmaps/${PN}-about.png ${PN}.png +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad