From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- x11-misc/ipager/Manifest | 1 + x11-misc/ipager/files/ipager-1.1.0-gcc43.patch | 29 ++++++++++++ x11-misc/ipager/files/ipager-1.1.0-gcc47.patch | 12 +++++ .../ipager/files/ipager-1.1.0-scons_flags.patch | 24 ++++++++++ .../ipager/files/ipager-1.1.0-scons_imlib2.patch | 19 ++++++++ x11-misc/ipager/ipager-1.1.0.ebuild | 51 ++++++++++++++++++++++ x11-misc/ipager/metadata.xml | 11 +++++ 7 files changed, 147 insertions(+) create mode 100644 x11-misc/ipager/Manifest create mode 100644 x11-misc/ipager/files/ipager-1.1.0-gcc43.patch create mode 100644 x11-misc/ipager/files/ipager-1.1.0-gcc47.patch create mode 100644 x11-misc/ipager/files/ipager-1.1.0-scons_flags.patch create mode 100644 x11-misc/ipager/files/ipager-1.1.0-scons_imlib2.patch create mode 100644 x11-misc/ipager/ipager-1.1.0.ebuild create mode 100644 x11-misc/ipager/metadata.xml (limited to 'x11-misc/ipager') diff --git a/x11-misc/ipager/Manifest b/x11-misc/ipager/Manifest new file mode 100644 index 000000000000..9603a773cc37 --- /dev/null +++ b/x11-misc/ipager/Manifest @@ -0,0 +1 @@ +DIST ipager-1.1.0.tar.gz 30499 SHA256 d2ad9a3aeb376644a76f57d2b275182cb8af0b64bd6a66c1791da60652a81123 SHA512 34f2982b4378e8de7479803d205c2d9157b71863278382c91d0c3daaee57352f2f6678fa338f34dc9e6bd70081e5f0bc03634632a7b6ab20a507b6fad3c2e5e3 WHIRLPOOL 51555487cf33fdbad376db98114f656ad2e35fe55303f2c28167cfee66c43a7b662e523bb3c4e6debb368c375f7ddfb731f086cf5ed6f25e7052c0140a3cc077 diff --git a/x11-misc/ipager/files/ipager-1.1.0-gcc43.patch b/x11-misc/ipager/files/ipager-1.1.0-gcc43.patch new file mode 100644 index 000000000000..e4fe301a7b89 --- /dev/null +++ b/x11-misc/ipager/files/ipager-1.1.0-gcc43.patch @@ -0,0 +1,29 @@ +Fix ipager to compile with GCC 4.3. + +Patch taken from Gentoo bug #173562. + +X-Gentoo-Bug: 173562 +Signed-off-by: Robin H. Johnson + +--- iconfig.old 2008-08-22 21:35:16.000000000 +0600 ++++ iconfig.cpp 2008-08-22 21:35:20.000000000 +0600 +@@ -30,7 +30,7 @@ + #include + #include + #include +- ++#include + #include + #include + +--- wm.old 2008-08-22 21:52:36.000000000 +0600 ++++ wm.cpp 2008-08-22 21:52:40.000000000 +0600 +@@ -27,7 +27,7 @@ + + #include + #include "atoms.h" +- ++#include + + WM * WM::m_instance = 0; + bool WM::x_error = false; diff --git a/x11-misc/ipager/files/ipager-1.1.0-gcc47.patch b/x11-misc/ipager/files/ipager-1.1.0-gcc47.patch new file mode 100644 index 000000000000..f4c899302aeb --- /dev/null +++ b/x11-misc/ipager/files/ipager-1.1.0-gcc47.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/423215 + +--- a/ipager.cpp ++++ b/ipager.cpp +@@ -29,6 +29,7 @@ + #include + #endif + ++#include + #include + #include + using namespace std; diff --git a/x11-misc/ipager/files/ipager-1.1.0-scons_flags.patch b/x11-misc/ipager/files/ipager-1.1.0-scons_flags.patch new file mode 100644 index 000000000000..6eb8b1ff4f53 --- /dev/null +++ b/x11-misc/ipager/files/ipager-1.1.0-scons_flags.patch @@ -0,0 +1,24 @@ +Make sure Scons takes the CFLAGS/CXXFLAGS/LDFLAGS etc for the system. + +Signed-off-by: Robin H. Johnson + +diff -Nuar ipager-1.1.0.orig/SConstruct ipager-1.1.0/SConstruct +--- ipager-1.1.0.orig/SConstruct 2008-09-08 20:32:23.007016555 -0700 ++++ ipager-1.1.0/SConstruct 2008-09-08 20:32:05.103267940 -0700 +@@ -30,6 +30,16 @@ + # environment + ipager_env = Environment(options = ipager_options, ENV = os.environ) + ++# process env variables ++for K in ['CPPFLAGS', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS', 'CC', 'CXX']: ++ if K in os.environ.keys(): ++ dict = ipager_env.ParseFlags(os.environ[K]) ++ # These headers are supposed static. Don't check at each build. ++ for i in dict['CPPPATH']: ++ dict['CCFLAGS'].append('-I' + i) ++ dict['CPPPATH'] = [] ++ ipager_env.MergeFlags(dict) ++ + ipager_env.Append( + CPPFLAGS = [ '-Wall' ], + CPPPATH = [ '/usr/X11R6/include' ], diff --git a/x11-misc/ipager/files/ipager-1.1.0-scons_imlib2.patch b/x11-misc/ipager/files/ipager-1.1.0-scons_imlib2.patch new file mode 100644 index 000000000000..283dec348ab1 --- /dev/null +++ b/x11-misc/ipager/files/ipager-1.1.0-scons_imlib2.patch @@ -0,0 +1,19 @@ +--- ipager-1.1.0/SConstruct 2005-11-06 06:23:24.000000000 -0500 ++++ ipager-1.1.0-gentoo/SConstruct 2008-09-08 15:18:07.000000000 -0400 +@@ -115,12 +115,14 @@ + else: + print "yes" + ipager_env.AppendUnique( +- CPPPATH = imlib2_env.Dictionary()['CPPPATH'], + CCFLAGS = imlib2_env.Dictionary()['CCFLAGS'], + LIBPATH = imlib2_env.Dictionary()['LIBPATH'], + LIBS = imlib2_env.Dictionary()['LIBS'] +- + ) ++ if imlib2_env.Dictionary().has_key('CPPPATH'): ++ ipager_env.AppendUnique( ++ CPPPATH = imlib2_env.Dictionary()['CPPPATH'], ++ ) + + conf.Finish() + diff --git a/x11-misc/ipager/ipager-1.1.0.ebuild b/x11-misc/ipager/ipager-1.1.0.ebuild new file mode 100644 index 000000000000..6c15920edc90 --- /dev/null +++ b/x11-misc/ipager/ipager-1.1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils + +DESCRIPTION="A themable desktop pager for fluxbox and other window managers" +HOMEPAGE="http://www.useperl.ru/ipager/index.en.html" +SRC_URI="http://www.useperl.ru/ipager/src/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="xinerama" + +RDEPEND="media-libs/imlib2[X] + x11-libs/libXmu + xinerama? ( x11-libs/libXinerama )" +DEPEND="${RDEPEND} + dev-util/scons" + +src_prepare() { + epatch "${FILESDIR}"/${P}-scons_imlib2.patch + epatch "${FILESDIR}"/${P}-scons_flags.patch + epatch "${FILESDIR}"/${P}-gcc43.patch + epatch "${FILESDIR}"/${P}-gcc47.patch +} + +src_compile() { + CONFIG_OPTS="xinerama=false" + use xinerama && CONFIG_OPTS="${CONFIG_OPTS} xinerama=true" + # FYI: Passing debug=true only adds -ggdb inside the SConstruct + + scons \ + --cache-disable \ + PREFIX="/usr" \ + ${CONFIG_OPTS} \ + || die "scons configure failed" +} + +src_install() { + scons \ + --cache-disable \ + PREFIX="/usr" \ + DESTDIR="${D}" \ + install \ + || die "scons install failed" + dodoc ToDo ChangeLog README + dodoc themes/*.conf +} diff --git a/x11-misc/ipager/metadata.xml b/x11-misc/ipager/metadata.xml new file mode 100644 index 000000000000..6cfe0bd0a888 --- /dev/null +++ b/x11-misc/ipager/metadata.xml @@ -0,0 +1,11 @@ + + + + + maintainer-needed@gentoo.org + + + A themeable desktop pager for fluxbox and other window managers. + + + -- cgit v1.2.3-65-gdbad