diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/selectwm |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/selectwm')
-rw-r--r-- | x11-wm/selectwm/Manifest | 8 | ||||
-rw-r--r-- | x11-wm/selectwm/files/selectwm-0.4.1-enable-deprecated-gtk.patch | 11 | ||||
-rw-r--r-- | x11-wm/selectwm/files/selectwm-0.4.1-glibc-2.10.patch | 21 | ||||
-rw-r--r-- | x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch | 15 | ||||
-rw-r--r-- | x11-wm/selectwm/metadata.xml | 5 | ||||
-rw-r--r-- | x11-wm/selectwm/selectwm-0.4.1.ebuild | 37 |
6 files changed, 97 insertions, 0 deletions
diff --git a/x11-wm/selectwm/Manifest b/x11-wm/selectwm/Manifest new file mode 100644 index 000000000000..2af7fdd60322 --- /dev/null +++ b/x11-wm/selectwm/Manifest @@ -0,0 +1,8 @@ +AUX selectwm-0.4.1-enable-deprecated-gtk.patch 299 SHA256 aef7b2dcf51b9fba19bf70b18537889fa08b600e23602764cf5542ffcaa3c5e0 SHA512 154be35f4310e46708824312c53a4d6b942d80dd570ae2bafcdb6ffdc27eebfbdf518e2afb775d1c0014c6c521e4ae7b2177f2540a41e10a88412993746f04c1 WHIRLPOOL 17ec27f1982549d2a77b53f64ac95abcfb6ee67985524558847282f3904f1fc2db307dd1f0db8ef43086bc86b94da275cda38aec280a5743a080ebbff738cbc2 +AUX selectwm-0.4.1-glibc-2.10.patch 677 SHA256 104aed065fe00c6ebfd1fb025f13da2366beabc053ab1e0780c276db9ac9d10f SHA512 dd477395578142bfa89a36d3f9f8c669f2a40d4867ef8ba366333bb1c107da4d2286d7ed1e357c3b78653213de5938955f52aa6e275ebb9cf5db0acd3bdcfcf9 WHIRLPOOL 42ffbf36be1aa48c1dbe3b70a2434a2b2d9a8714c57dc331daa1ae7a6babf364a44ec1e1f0f1630e9367f35ad36ab9a1ff17faf9d575e74baa36a8eae3df3d08 +AUX selectwm-0.4.1-nostrip.patch 393 SHA256 2963fd7ad6dec5a9fd05e210e28ce6008888674e307b9603e64ee7db94b4d325 SHA512 202949731242143aca8ea7aa9b18e9cb48fa110e620fcad5b4eb8fb0e6bec33e47fd7989780dbbe9b5395d17b2ecd9ccdf32346a045983c85b6c390459a39bb0 WHIRLPOOL 1124d16fe27d46363e1e73fa7db154738f9272582222595c93d75c09e925a6d6f61b4a412cd93f651330bae6c9e35600330471b88ecd7fe70b680d0a960e7faa +DIST selectwm-0.4.1.tar.bz2 151454 SHA256 5ba49d5303f6613b829c88098b29b78e3d555d3a69a5c88a73aa4deaf82729a4 SHA512 3ddc4c1560d317ecb6e8e041d63415d16d31b67b4651d9e33fbe3e76a63754b78a86d332077ec091317e985dbedd903c9fdca46eb7cb650ad693039b8f4ab1ea WHIRLPOOL 1b953f9d2ce3a0b83d1178929b7a5087beef72d4eca71aa15445eae7bdfc771939b066c5899f939045ef917f9481e033c9117d051db3f990fb8340ed2331b7b2 +EBUILD selectwm-0.4.1.ebuild 759 SHA256 48c95bea8afa173ba9a5e35b551983dff3becac265ff310d72d32a23522af486 SHA512 d7c094a8cf69a29bde7fe7ce1ed406ab340eef3bedb9c126b5075f26ed189c7ed38ac3dd9bd4f4c639be82876de1f3d4ebda5b6f9998e378351e03d8bbf27b3a WHIRLPOOL b3fb4bfc4f2cf5cdfd9d7d674288b5d8fed31b1320f0fcfd0785718b9502baa96ec03fe39c15c13595dd071cec22cf706ae5f5ecdb49921e9ff438363b164945 +MISC ChangeLog 2655 SHA256 6dd3a2cd46e38f9eeb97c8f769d2d3eaa8eba92374ff40b3d665e8d13345b44f SHA512 25ed4ca8baf19aeda602ea408bafb19672cf23a4365d2b8ba007661e920d487f394a4be27e5451c861bc55b6e117be4db1a3ec03427144fc9f5e83d41d2be9b0 WHIRLPOOL c0e2ae994efd54d24c3a8f76b7ecc51fef07b97c69cf296cbe586aeef8b905b9ab10209b6cdcc43a275ad6a40d3dcd0a042b537c773dbfcb95716f3b2a037c21 +MISC ChangeLog-2015 2993 SHA256 a9c7d354a356c1884a2375b6b2538a150109ce8a661ee985e0972cd542606c99 SHA512 133f5a14aca710bc88040c75af83e4a3ab7505f3cecf0494ad2edca5a9630cc26c54d46ed32e44b1e4890d209de7d3905d22409d690e3a206afea62e6877ee61 WHIRLPOOL ef2cdad2b5e5294379cd7c688f372e079dd24b125da26a41374ab46d40fe8c69a2b42c1d2bdb2a1f1fb5571774522707f733bd4c2b29e9a210e4387e193ce2f7 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/x11-wm/selectwm/files/selectwm-0.4.1-enable-deprecated-gtk.patch b/x11-wm/selectwm/files/selectwm-0.4.1-enable-deprecated-gtk.patch new file mode 100644 index 000000000000..df7f9e437b45 --- /dev/null +++ b/x11-wm/selectwm/files/selectwm-0.4.1-enable-deprecated-gtk.patch @@ -0,0 +1,11 @@ +--- selectwm-0.4.1.orig/src/define.h 2007-09-30 21:48:25.000000000 +0200 ++++ selectwm-0.4.1/src/define.h 2007-09-30 22:01:53.000000000 +0200 +@@ -1,8 +1,5 @@ + #include "config.h" + +-#define GTK_DISABLE_DEPRECATED +-#define G_DISABLE_DEPRECATED +- + #ifdef ENABLE_NLS + # include <libintl.h> + # undef _ diff --git a/x11-wm/selectwm/files/selectwm-0.4.1-glibc-2.10.patch b/x11-wm/selectwm/files/selectwm-0.4.1-glibc-2.10.patch new file mode 100644 index 000000000000..4353d5e36662 --- /dev/null +++ b/x11-wm/selectwm/files/selectwm-0.4.1-glibc-2.10.patch @@ -0,0 +1,21 @@ +diff -Naurp selectwm-0.4.1-orig/src/options.c selectwm-0.4.1/src/options.c +--- selectwm-0.4.1-orig/src/options.c 2009-07-26 14:46:44.092880624 -0600 ++++ selectwm-0.4.1/src/options.c 2009-07-26 14:46:11.484940363 -0600 +@@ -32,7 +32,7 @@ + #include "miscui.h" + #include "modify.h" + +-static GString *getline (FILE *fichier) { ++static GString *selectwm_getline (FILE *fichier) { + GString *temp; + gchar buf[128]; + +@@ -64,7 +64,7 @@ static gint read_config_file (config *se + } + buf = g_string_new (""); + while (!feof (config)) { +- buf = getline (config); ++ buf = selectwm_getline (config); + + if (buf->len > 0 && buf->str[0] != '#') { + if (g_strrstr (buf->str, ":")) { diff --git a/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch b/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch new file mode 100644 index 000000000000..d5300c9f94a7 --- /dev/null +++ b/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch @@ -0,0 +1,15 @@ +Respect CFLAGS, don't strip binaries + +http://bugs.gentoo.org/show_bug.cgi?id=252124 + +--- src/Makefile.am ++++ src/Makefile.am +@@ -10,5 +10,6 @@ + modify.c modify.h \ + misc.h define.h + +-LIBS = @GTK_LIBS@ +-AM_CFLAGS = -s -O2 -Wall @GTK_CFLAGS@ -DLOCALEDIR=\"$(datadir)/locale\" ++selectwm_LDADD = @GTK_LIBS@ ++selectwm_CFLAGS = @GTK_CFLAGS@ ++selectwm_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" diff --git a/x11-wm/selectwm/metadata.xml b/x11-wm/selectwm/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/x11-wm/selectwm/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/x11-wm/selectwm/selectwm-0.4.1.ebuild b/x11-wm/selectwm/selectwm-0.4.1.ebuild new file mode 100644 index 000000000000..ac8889b0e7ff --- /dev/null +++ b/x11-wm/selectwm/selectwm-0.4.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="window manager selector tool" +HOMEPAGE="http://ordiluc.net/selectwm" +SRC_URI="http://ordiluc.net/selectwm/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd" +IUSE="nls" + +RDEPEND="x11-libs/gtk+:2 + dev-libs/glib:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-enable-deprecated-gtk.patch \ + "${FILESDIR}"/${P}-glibc-2.10.patch \ + "${FILESDIR}"/${P}-nostrip.patch + eautoreconf +} + +src_configure() { + econf \ + --program-suffix=2 \ + $(use_enable nls) +} + +src_install () { + emake DESTDIR="${D}" install + dodoc AUTHORS README sample.xinitrc +} |