diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-wm/selectwm | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-wm/selectwm')
-rw-r--r-- | x11-wm/selectwm/Manifest | 1 | ||||
-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 | 38 |
6 files changed, 91 insertions, 0 deletions
diff --git a/x11-wm/selectwm/Manifest b/x11-wm/selectwm/Manifest new file mode 100644 index 000000000000..f8259b3f895a --- /dev/null +++ b/x11-wm/selectwm/Manifest @@ -0,0 +1 @@ +DIST selectwm-0.4.1.tar.bz2 151454 SHA256 5ba49d5303f6613b829c88098b29b78e3d555d3a69a5c88a73aa4deaf82729a4 SHA512 3ddc4c1560d317ecb6e8e041d63415d16d31b67b4651d9e33fbe3e76a63754b78a86d332077ec091317e985dbedd903c9fdca46eb7cb650ad693039b8f4ab1ea WHIRLPOOL 1b953f9d2ce3a0b83d1178929b7a5087beef72d4eca71aa15445eae7bdfc771939b066c5899f939045ef917f9481e033c9117d051db3f990fb8340ed2331b7b2 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..4538a68724a6 --- /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><email>maintainer-needed@gentoo.org</email></maintainer> +</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..d7f4c2ef3faf --- /dev/null +++ b/x11-wm/selectwm/selectwm-0.4.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |