summaryrefslogtreecommitdiff
path: root/x11-misc/ipager
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/ipager
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/ipager')
-rw-r--r--x11-misc/ipager/Manifest9
-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-r1.ebuild47
-rw-r--r--x11-misc/ipager/metadata.xml8
7 files changed, 148 insertions, 0 deletions
diff --git a/x11-misc/ipager/Manifest b/x11-misc/ipager/Manifest
new file mode 100644
index 000000000000..5edd0341084b
--- /dev/null
+++ b/x11-misc/ipager/Manifest
@@ -0,0 +1,9 @@
+AUX ipager-1.1.0-gcc43.patch 644 SHA256 522b5d1006e4e45f6d2e1cc0cc32ae221dc3ccf8428a9361b4cf757b76e76932 SHA512 08f2ced48ca7e117a7b0c70d7198e429d8fa0ea6dbffcd421c969fbfca6fbd7f301dc0c6cd31f2bd2f4d954a48c56d4e7ecf05a59c0a3ffa4ec4cd4a110c4ba5 WHIRLPOOL 81b2b9bbc8635a910d41cf6fe333140f57dd2586d9d2e61601530c7b6f2c4dd7e8ed0ed805f8650844d20d1e70e02c6364ccb19cbd708b37b1e7b0663736c8f9
+AUX ipager-1.1.0-gcc47.patch 198 SHA256 a18c3bcecd5636fb05f607557bee807eabc7a34e3e32148d552b36cbdf7163de SHA512 c6a851b5b6a76f2ada504ab3e727a0dc811e03e70be330a26c2001854f873ccbdbe337e9aa010fcfd2f6c644d692ef13185d6dfb91187c63072574cca581c17f WHIRLPOOL bb4573745bac4c89be7e6833a861b235094255ca0fbe8d38232a9518e5af6625fc6342ec889afda2491dee43cea801ef28256461364958a7f66cd0d2770db208
+AUX ipager-1.1.0-scons_flags.patch 901 SHA256 24ad546814440348bca718987a04cd4387d26a8b7b65c3fa63af712c62566df6 SHA512 a44671bd29d99219f2b36d9718e32e6022f971b805531196dc464c92f8dee7df6a7bbf9d931e0a69dc617ac1dd1876929a8d77a0a7edd2014e9754f2a8070efb WHIRLPOOL aa53dccdc3eec8d94d19bb0ce20dddd6ca481850695e9bba8792932963d2b4ee4dd0da4fb8a05362f148b78b78fbda29bcb397706af060f96c6db1db157394b2
+AUX ipager-1.1.0-scons_imlib2.patch 663 SHA256 b897845633e88514456565af26cd95667811acd84014776532a23a53d77b6b02 SHA512 1b4e0196189ec64b48c4c841d03f3a3e3c516ffd86f432d536e7bea51ade407fe430342d5d690d00b46cc7b727c7d12441f55416f7eea6dc933fb07a2ce16e14 WHIRLPOOL 86c6de68f222ba6aa8b7b073f00203bc74bf27e5389022d654cb4409d51f18d8af91685803dfc7682f4f00b73fb54ac8472e4b1508d9d84637f7a17dc57f0969
+DIST ipager-1.1.0.tar.gz 30499 SHA256 d2ad9a3aeb376644a76f57d2b275182cb8af0b64bd6a66c1791da60652a81123 SHA512 34f2982b4378e8de7479803d205c2d9157b71863278382c91d0c3daaee57352f2f6678fa338f34dc9e6bd70081e5f0bc03634632a7b6ab20a507b6fad3c2e5e3 WHIRLPOOL 51555487cf33fdbad376db98114f656ad2e35fe55303f2c28167cfee66c43a7b662e523bb3c4e6debb368c375f7ddfb731f086cf5ed6f25e7052c0140a3cc077
+EBUILD ipager-1.1.0-r1.ebuild 1099 SHA256 28cd35318018ca1fd784d03203eee727b404f38839562e99afcb4758e5db6295 SHA512 e35156736ef0c5f913da3104f1f6a8788d0c153040914c019ba604e152c648a2fb0441ca1c48ac491a7fdc8202be987ebc2a563ec6923674d9ca495c0d94e236 WHIRLPOOL 3275d9d800a6d99b60d733096a45665dcd4b4b342c5c4e8c8e1f685ea9a85bdddcf834ecc284906b7a223bcdcd39d146ff28926a121dbdfa1a67656f7d62cf3e
+MISC ChangeLog 3061 SHA256 ee9cf42535e0ececf888923b6f8b1550c90bec8cb83048b67444328c80f2b90a SHA512 8825f1ca5f7b4e4e4a7cb67cdc7aa7223e2322b0e9dcd7af42ce300593582fc5830f5f6bc8a5906afb0e85a25bd8f69f871e451960394796ad6dd7eec29facea WHIRLPOOL a7c43846e20daa23656de6dd9be37d8b1d33cf43c137fe20498cb450e69913c1d9e57d4ed5b256787a115b3c4443f983d90534f232c6486c7fa8808229060bef
+MISC ChangeLog-2015 991 SHA256 eb63830ff73c338029acce400cf0a641254fdfbd543ffc0974adf3fe75865dbc SHA512 e066cd1be035579abb6d4981496865112eb546ad505d0522c02450631956a7f1ad58f855bf3b115138fcd53db647052b3a25da53f8e7c81d895a925956ad7382 WHIRLPOOL c9cdd3954ffffc470b2ee0f9136480a2dde1559462f19d04f4c50b2b858f3ea0d15c25eca6d6f1accd874b80d9a8a8e82933c3d0d61ad7ecad28d9a5b0d513b4
+MISC metadata.xml 283 SHA256 ee4ae18293e8a0b0542bf77febaefb2a9712ded79d78fdc0f04464ace1ca0919 SHA512 9c5545699a3fdfd7cf47f22ee7988ebc7c4cd1c25b73dc64e44be3f2e45fb55c06b56634fc9d788a70defbde12b991f357ff7a9da1d644f2596e76c44eb9d555 WHIRLPOOL ebcf5c1568c8bd81612090fba08996713c9cbf12fb51f1ceda1e7330f91da1442791d8432958af4f9902c74d0eea050c7f6bad26b34d2b469ff49f88bf915267
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..ca7752ac99d0
--- /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>
+
+--- a/iconfig.cpp 2008-08-22 21:35:16.000000000 +0600
++++ b/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>
+
+--- a/wm.cpp 2008-08-22 21:52:36.000000000 +0600
++++ b/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 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 <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 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 <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 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-r1.ebuild b/x11-misc/ipager/ipager-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..6727bc321a0c
--- /dev/null
+++ b/x11-misc/ipager/ipager-1.1.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+PATCHES=( "${FILESDIR}/${P}-scons_imlib2.patch"
+ "${FILESDIR}/${P}-scons_flags.patch"
+ "${FILESDIR}/${P}-gcc43.patch"
+ "${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..20682188b90e
--- /dev/null
+++ b/x11-misc/ipager/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ A themeable desktop pager for fluxbox and other window managers.
+ </longdescription>
+</pkgmetadata>