diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-11-27 23:51:43 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-11-27 23:51:43 +0000 |
commit | fd6e54f18a190efd2b13eb4f41996ac2452f1933 (patch) | |
tree | ab29eb8715ed47cc2543b48769987484f4ea63a1 /x11-misc/devilspie2 | |
parent | app-admin/profiler: Add bindist restriction (bug #444666) (diff) | |
download | gentoo-2-fd6e54f18a190efd2b13eb4f41996ac2452f1933.tar.gz gentoo-2-fd6e54f18a190efd2b13eb4f41996ac2452f1933.tar.bz2 gentoo-2-fd6e54f18a190efd2b13eb4f41996ac2452f1933.zip |
initial import wrt #445006
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'x11-misc/devilspie2')
-rw-r--r-- | x11-misc/devilspie2/ChangeLog | 11 | ||||
-rw-r--r-- | x11-misc/devilspie2/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/devilspie2/devilspie2-0.26.ebuild | 47 | ||||
-rw-r--r-- | x11-misc/devilspie2/files/devilspie2-0.26-anti-debian.patch | 31 | ||||
-rw-r--r-- | x11-misc/devilspie2/files/devilspie2-0.26-cflags.patch | 37 | ||||
-rw-r--r-- | x11-misc/devilspie2/metadata.xml | 10 |
6 files changed, 142 insertions, 0 deletions
diff --git a/x11-misc/devilspie2/ChangeLog b/x11-misc/devilspie2/ChangeLog new file mode 100644 index 000000000000..bf6963a44ad5 --- /dev/null +++ b/x11-misc/devilspie2/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for x11-misc/devilspie2 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/devilspie2/ChangeLog,v 1.1 2012/11/27 23:51:43 hasufell Exp $ + +*devilspie2-0.26 (27 Nov 2012) + + 27 Nov 2012; Julian Ospald <hasufell@gentoo.org> +devilspie2-0.26.ebuild, + +files/devilspie2-0.26-anti-debian.patch, + +files/devilspie2-0.26-cflags.patch, +metadata.xml: + initial import wrt #445006 + diff --git a/x11-misc/devilspie2/Manifest b/x11-misc/devilspie2/Manifest new file mode 100644 index 000000000000..d1a1c742c22b --- /dev/null +++ b/x11-misc/devilspie2/Manifest @@ -0,0 +1,6 @@ +AUX devilspie2-0.26-anti-debian.patch 1094 SHA256 d88c3ddaa0aea5a3e9740f94c8d881991bf78db77b0bc62b0f555497bf6b72ba SHA512 23e89cfc0083a8c40382998026fa205cc6aea7c8ef966c1e824c1a43d0e728428f59bb70dcaa70eac9abe0a9dd7a89c2d1ebb2e9bd49e94f72c423449df76cf5 WHIRLPOOL 046846d4eba07f0220e82b627d7301c03c4772de64b59eee11c44fde14762e449b81b4a75de99efb8d0e096761472b51bd247fbea540007b72ea9b87c5e0583e +AUX devilspie2-0.26-cflags.patch 1085 SHA256 1611b648c1f0943a55fd32d5dc2c628b7813cc3c78254b031e74b798f156e7ef SHA512 e404a5f8b68615460067c866525bac174c14c0fb9d57d80787a7be1432a720afe0b227c88b6a0eabd5b1979ded2c22b2be62503fca4a466b2f3a9a8b0d8fd45e WHIRLPOOL 36331e0904cdc1bba0db1ebae457e5cb6a873756d6be5205b577433a791c4ef2a74a8c286fb570e15160d2e124d6752dc27311b7d5fa6329c90565e3661574aa +DIST devilspie2_0.26-src.tar.gz 37290 SHA256 5f31a13b94608cf8f58b8b395f5027a04d7b80d8bfbb85943200a4b2ff12e8e9 SHA512 804e888721607aef14a945087015420fe6bc1eb287a05b2593fd529b81a810db7bd060cfcdf11833e848139cdf383fc370b35c534eed1637b0aeb5e80cecc647 WHIRLPOOL 0bd21dd54fc9fe649c9dba48229a56921178b3a970156e80163fcdac89c31db3eaf61d494f364f52a7843b59d58979f74334ed204853d45b2d110e615c362575 +EBUILD devilspie2-0.26.ebuild 1021 SHA256 b94a0fab384e7e956ef7453cb92513652f93253e598736c2b72d25da8772e927 SHA512 b7957805d2682cba2d437fdd86437a10ed1b99913184685d484003cd08822eee1b860a395be04ab9138bb253e61294aea5cbdac652f138ab94e03a886fc75957 WHIRLPOOL bfe4a5d8df3d526709a27c50c9d24c39a8cfebab37bc63db2f1a3714beb367fae8edf91c03b9aef8d60829e661ed5174ab264d6a6b3a51d6bb60c6c9c1250422 +MISC ChangeLog 356 SHA256 81ae329a03b9094ba4b44588c61fbbf38ec993701e958898739f4d0408b29070 SHA512 7105a772adc7013c2183983d34062cf1d1cc3d530cc11bfd1cc2b03c76c588382677db5e6995f3dfefee6401bf28606992b60743c2b112ab6ba678c3d798f0f2 WHIRLPOOL 91a4aae4882ef3602fb440a41b1d5ee0ee1b017348b405140cc30e022f8980cf80389e83d34ce2bf37d7ae33e8e9312c32cd4a57f13b07d74183710de5aeef60 +MISC metadata.xml 262 SHA256 56be8376790c0f5f241ddafd3ed1b3068ce13f4751f8bf8e318ba4623f1150bc SHA512 f327aca9b62ca6a6ba5cb7dc7c003ebda21be3cc88d71d9cfa8c3960a87b5184e39da663367dfa8fbed598258a51924c025802036c345beb2ba2df30f137b238 WHIRLPOOL 0284fde5542adcffd34289c7db618c48d3494d7da25794259542669a3084c1e602b3f2b9b72ff28a1326087223f3276f21bdf42cb4ea9451faccc9dba9819d13 diff --git a/x11-misc/devilspie2/devilspie2-0.26.ebuild b/x11-misc/devilspie2/devilspie2-0.26.ebuild new file mode 100644 index 000000000000..009403e5dee6 --- /dev/null +++ b/x11-misc/devilspie2/devilspie2-0.26.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/devilspie2/devilspie2-0.26.ebuild,v 1.1 2012/11/27 23:51:43 hasufell Exp $ + +EAPI=5 + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Devilspie like window matching utility, using LUA for scripting" +HOMEPAGE="http://devilspie2.gusnan.se" +SRC_URI="http://devilspie2.gusnan.se/download/${PN}_${PV}-src.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=">=dev-libs/glib-2.32.4:2 + >=dev-lang/lua-5.1.5 + >=x11-libs/gtk+-3.4.4:3 + >=x11-libs/libwnck-3.4.4:3 + x11-libs/libX11" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + x11-proto/xproto" + +src_prepare() { + epatch "${FILESDIR}"/${P}-{anti-debian,cflags}.patch + + use debug && append-cflags -D_DEBUG +} + +src_compile() { + emake CC=$(tc-getCC) PREFIX="/usr" +} + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" install + + dodoc AUTHORS ChangeLog README README.translators TODO VERSION + doman devilspie2.1 +} + +pkg_postinst() { + elog "Default folder for scripts is ~/.config/devilspie2/" +} diff --git a/x11-misc/devilspie2/files/devilspie2-0.26-anti-debian.patch b/x11-misc/devilspie2/files/devilspie2-0.26-anti-debian.patch new file mode 100644 index 000000000000..4d58792a3605 --- /dev/null +++ b/x11-misc/devilspie2/files/devilspie2-0.26-anti-debian.patch @@ -0,0 +1,31 @@ +From 8bbc2f64bc2115178d5e1de170c1c1882eaf2799 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20R=C3=B6nnquist?= <gusnan@gusnan.se> +Date: Tue, 27 Nov 2012 23:30:47 +0100 +Subject: [PATCH] Fix building on systems with pc-config using name lua + instead of lua5.1 + + +from hasufell: THANKS FOR MESSING UP PKGCONFIG FILES @ DEBIAN MAINTAINERS + +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 1d03165..ae38a46 100644 +--- a/Makefile ++++ b/Makefile +@@ -37,9 +37,9 @@ else + PKG_WNCK=libwnck-3.0 + endif + +-LIB_CFLAGS=`pkg-config --cflags $(PKG_GTK) $(PKG_WNCK) lua5.1` ++LIB_CFLAGS=$(shell pkg-config --cflags --silence-errors $(PKG_GTK) $(PKG_WNCK) lua5.1 || pkg-config --cflags $(PKG_GTK) $(PKG_WNCK) lua) + STD_LDFLAGS= +-LIBS=-lX11 `pkg-config --libs $(PKG_GTK) $(PKG_WNCK) lua5.1` ++LIBS=-lX11 $(shell pkg-config --libs --silence-errors $(PKG_GTK) $(PKG_WNCK) lua5.1 || pkg-config --libs $(PKG_GTK) $(PKG_WNCK) lua) + + LOCAL_CFLAGS=$(STD_CFLAGS) $(DEPRECATED) $(CFLAGS) $(LIB_CFLAGS) + LOCAL_LDFLAGS=$(LDFLAGS) $(STD_LDFLAGS) +-- +1.7.10 diff --git a/x11-misc/devilspie2/files/devilspie2-0.26-cflags.patch b/x11-misc/devilspie2/files/devilspie2-0.26-cflags.patch new file mode 100644 index 000000000000..e7bf84215aaa --- /dev/null +++ b/x11-misc/devilspie2/files/devilspie2-0.26-cflags.patch @@ -0,0 +1,37 @@ +From c7e44ff0bed2c670f6b01c9ab5bc103c5ebdae1d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20R=C3=B6nnquist?= <gusnan@gusnan.se> +Date: Wed, 28 Nov 2012 00:25:25 +0100 +Subject: [PATCH] Use CFLAGS in both compilation and linking invocations of + the compiler + +--- + Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index ae38a46..28c3baf 100644 +--- a/Makefile ++++ b/Makefile +@@ -4,9 +4,9 @@ OBJ=obj + BIN=bin + + ifdef DEBUG +- STD_CFLAGS=-c -Wall -g3 -ggdb -D_DEBUG ++ STD_CFLAGS=-Wall -g3 -ggdb -D_DEBUG + else +- STD_CFLAGS=-c -Wall -Wformat -Wno-format-extra-args -Wformat-security -Wformat-nonliteral -Wformat=2 ++ STD_CFLAGS=-Wall -Wformat -Wno-format-extra-args -Wformat-security -Wformat-nonliteral -Wformat=2 + endif + + DEPEND=Makefile.dep +@@ -67,7 +67,7 @@ $(OBJ)/%.o: $(SRC)/%.c + $(CC) $(LOCAL_CFLAGS) $(LOCAL_CPPFLAGS) -c $< -o $@ + + $(BIN)/$(NAME): $(OBJECTS) +- $(CC) $(LOCAL_LDFLAGS) $(OBJECTS) -o $(PROG) $(LIBS) ++ $(CC) $(LOCAL_CFLAGS) $(LOCAL_LDFLAGS) $(OBJECTS) -o $(PROG) $(LIBS) + + .PHONY: clean + clean: +-- +1.7.10 diff --git a/x11-misc/devilspie2/metadata.xml b/x11-misc/devilspie2/metadata.xml new file mode 100644 index 000000000000..f537d26071ad --- /dev/null +++ b/x11-misc/devilspie2/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> + |