summaryrefslogtreecommitdiff
path: root/x11-misc/ipager
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-misc/ipager
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
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-misc/ipager')
-rw-r--r--x11-misc/ipager/Manifest1
-rw-r--r--x11-misc/ipager/files/ipager-1.1.0-gcc43.patch29
-rw-r--r--x11-misc/ipager/files/ipager-1.1.0-gcc47.patch12
-rw-r--r--x11-misc/ipager/files/ipager-1.1.0-scons_flags.patch24
-rw-r--r--x11-misc/ipager/files/ipager-1.1.0-scons_imlib2.patch19
-rw-r--r--x11-misc/ipager/ipager-1.1.0.ebuild51
-rw-r--r--x11-misc/ipager/metadata.xml11
7 files changed, 147 insertions, 0 deletions
diff --git a/x11-misc/ipager/Manifest b/x11-misc/ipager/Manifest
new file mode 100644
index 00000000000..9603a773cc3
--- /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 00000000000..e4fe301a7b8
--- /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 <robbat2@gentoo.org>
+
+--- 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 <iostream>
+ #include <fstream>
+ #include <sstream>
+-
++#include <stdlib.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+
+--- 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 <time.h>
+ #include "atoms.h"
+-
++#include <stdlib.h>
+
+ 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 00000000000..f4c899302ae
--- /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 <config.h>
+ #endif
+
++#include <unistd.h>
+ #include <iostream>
+ #include <string>
+ 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 00000000000..6eb8b1ff4f5
--- /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 <robbat2@gentoo.org>
+
+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 00000000000..283dec348ab
--- /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 00000000000..6c15920edc9
--- /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 00000000000..6cfe0bd0a88
--- /dev/null
+++ b/x11-misc/ipager/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <longdescription lang="en">
+ A themeable desktop pager for fluxbox and other window managers.
+ </longdescription>
+</pkgmetadata>
+