From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- x11-misc/bbpager/Manifest | 7 ++ x11-misc/bbpager/bbpager-0.4.7-r1.ebuild | 35 ++++++++ .../bbpager/files/bbpager-0.4.7-as-needed.patch | 92 ++++++++++++++++++++++ x11-misc/bbpager/files/bbpager-0.4.7-gcc43.patch | 33 ++++++++ x11-misc/bbpager/metadata.xml | 11 +++ 5 files changed, 178 insertions(+) create mode 100644 x11-misc/bbpager/Manifest create mode 100644 x11-misc/bbpager/bbpager-0.4.7-r1.ebuild create mode 100644 x11-misc/bbpager/files/bbpager-0.4.7-as-needed.patch create mode 100644 x11-misc/bbpager/files/bbpager-0.4.7-gcc43.patch create mode 100644 x11-misc/bbpager/metadata.xml (limited to 'x11-misc/bbpager') diff --git a/x11-misc/bbpager/Manifest b/x11-misc/bbpager/Manifest new file mode 100644 index 000000000000..f2bcc8136243 --- /dev/null +++ b/x11-misc/bbpager/Manifest @@ -0,0 +1,7 @@ +AUX bbpager-0.4.7-as-needed.patch 2695 SHA256 dc44d144d41b5aaccf347b76a7f82fed792b674c2365c104a94b6c00d02b13ed SHA512 8a54cf3e4f68682cb1631fcd1abcbec3801cd57fe0f230f222447fa39dacd5f469965d29ca980e9c3285dda5e0e0c54e6f4935552c9c45e00399472506ea6079 WHIRLPOOL 99d0a6927f983d81226336d30cca74577f0fd93a8b8f8c28b72dc8ee006e15dcf69e9515fe61ae5b6aa1ea368640e89b906f97a84c84be160b0b1aa17c7a1926 +AUX bbpager-0.4.7-gcc43.patch 1031 SHA256 ca574725b0eed45e9a9d72a4bc79d240186305a4bb2e14dd9d16fa656a470dc3 SHA512 41ec95853663e89b356cd781719675fbc49a6d117886dcfc85c202fe1fe73d23151fb313c9694f946055ceca9f222e05b36a6b5a981672c6a832ddcf906109ef WHIRLPOOL 9cb6b72d4d42372029fc20284c9a2e57616dd1722dddd8a7c532c4db7fee29b8b4279020f9b234c9d7f8f7ea6975715b67a19d6ba414e7ec078f630776976709 +DIST bbpager-0.4.7.tar.gz 170575 SHA256 e7063a8d65c25663f44e2769132053bd3f1b90f0d4b19a8d8aa2e5f028f0679d SHA512 33202efd4d55639ab4c5f9fe54b9b0a6e4d32dd822119fb5517d5d2231922962d6985b51d7fa84dc3eb909ddea05033965a3882cda2dc10193aae2f873da1869 WHIRLPOOL 9da0fd3db5a48c9b7225c9f3d409fd7dca4253db421eaac5cf9de4c4f7ebce974db8b84deb4d62e0f1a5887efc540ec057925fc11d84eef82494052d99d76f0e +EBUILD bbpager-0.4.7-r1.ebuild 686 SHA256 d58b53698f007d777102afc22549e71a8ea648e9ec866e5b56a235e5e47c3bf5 SHA512 0d9b61b2320b8a627e37a241770ae83c3eb18f15dd69ed8155a8837ec43f193fb83de797a3673106425bbfcc7405c6f00c3720d5e1b3c740fc477dd53722ed12 WHIRLPOOL 23e85b8f956189f2124a18e7015c71c282d381082550c27eaf6743cf79dbffc72f79adf34c647ad5a8f40341b26ea38f90bad9eeae2f3b9b8671004ebd7aea35 +MISC ChangeLog 2596 SHA256 80d2e4f178685d6079e7b88b3881eaa8eb71bc54d215f8a5db46324efec3d977 SHA512 310b32d1bcac05c9e29faf234edc51bf0b1cf2acdc9f462d530812e1dd7e89eb7c589307407631400afbb5c0a60c42d00bf609ddf145660a4bc540f50a5d78c3 WHIRLPOOL d54ca74b79eedbf04f6328dfc98ab00b376d577e30387ea911f9b4ac8525ee864405b4b20bbb9be6f0da6942be089155daf12d272f2158416dbbb2e8334a0df6 +MISC ChangeLog-2015 4703 SHA256 248e0fbe766bc1c60752174de36939fe9ec485ccce9d5bf6d77453ff31f6ded4 SHA512 eb0f2ef43755ea84750fe9d7070b1344c82cd722dd11ae5ff04f4786bdcc3160676147e310a8397c7d75db67241e0fcad9d296c4c4225493b31c69f3320eb0dd WHIRLPOOL 527723cd0cf241e0e0294eb142435696389e580eb7e908ad9576665766c3277f81aa97272164c1db8c4bda3ba5de09c85002fac156e394b5740f441b620ce92d +MISC metadata.xml 327 SHA256 b9fe754df9e8e0b922a8e4ade0963f00de9a7fae35cfa5950f00cc9be4c96f93 SHA512 2ffa2d598b532967cbfba44f3e285f10cc7a49029e61bb6fd06d2eebd2330d2eae075a3bbc509aa72c56ec95bf976e50e8c94a51e0167ceded1db92039beacad WHIRLPOOL 615a972cb1de2c36fa98788c934c70a582acddc6d5dc510df729b9eaf61f18bd53268da2f2b3b24b9542450744129fed6e1ae7dbae496d96c566d03e22f0fd75 diff --git a/x11-misc/bbpager/bbpager-0.4.7-r1.ebuild b/x11-misc/bbpager/bbpager-0.4.7-r1.ebuild new file mode 100644 index 000000000000..34cebb7d9083 --- /dev/null +++ b/x11-misc/bbpager/bbpager-0.4.7-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="An understated pager for Blackbox" +HOMEPAGE="http://bbtools.sourceforge.net/" +SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-wm/blackbox" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS BUGS ChangeLog README TODO data/README.bbpager ) +PATCHES=( + "${FILESDIR}/${P}-gcc43.patch" + "${FILESDIR}/${P}-as-needed.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + rm "${ED%/}"/usr/share/bbtools/README.bbpager || die +} diff --git a/x11-misc/bbpager/files/bbpager-0.4.7-as-needed.patch b/x11-misc/bbpager/files/bbpager-0.4.7-as-needed.patch new file mode 100644 index 000000000000..47efa7132f99 --- /dev/null +++ b/x11-misc/bbpager/files/bbpager-0.4.7-as-needed.patch @@ -0,0 +1,92 @@ +diff -NrU5 bbpager-0.4.7.orig/configure.ac bbpager-0.4.7/configure.ac +--- bbpager-0.4.7.orig/configure.ac 2008-12-20 22:38:36.000000000 +0100 ++++ bbpager-0.4.7/configure.ac 2008-12-20 23:58:12.000000000 +0100 +@@ -37,40 +37,45 @@ + AC_PROG_INSTALL + AC_HEADER_STDC + AC_CHECK_HEADERS(ctype.h fcntl.h libgen.h locale.h process.h signal.h stdio.h time.h unistd.h sys/param.h sys/select.h sys/stat.h sys/time.h sys/types.h sys/wait.h) + AC_HEADER_TIME + ++dnl Checks for typedefs, structures, and compiler characteristics. ++AC_C_CONST ++AC_STRUCT_TM ++ ++dnl Checks for library functions. ++AC_CHECK_FUNCS(select strstr) ++ + AC_CHECK_FUNCS(setlocale sigaction strftime) + + AC_PATH_X + AC_PATH_XTRA + +-CFLAGS="$CFLAGS $X_CFLAGS" +-CXXFLAGS="$CXXFLAGS $X_CFLAGS" +-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS" + dnl Checks for X libraries. +-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11", +- AC_MSG_ERROR(XOpenDisplay not found in -lX11)) ++AC_CHECK_LIB([X11], ++ [XOpenDisplay], ++ [], ++ [AC_MSG_ERROR(XOpenDisplay not found in -lX11)] ++ ) + + dnl Checks for Xextension +-SHAPE= +-AC_CHECK_LIB(Xext, XMissingExtension, LIBS="$LIBS -lXext"; SHAPE="-DSHAPE", +- AC_MSG_ERROR(XMissingExtension not found in -lXext)) +-AC_SUBST(SHAPE) +- +-dnl Checks for typedefs, structures, and compiler characteristics. +-AC_C_CONST +-AC_HEADER_TIME +-AC_STRUCT_TM +- +-dnl Checks for library functions. +-AC_CHECK_FUNCS(select strstr) ++PKG_CHECK_MODULES([XEXT], [xext], ++ [ ++ AC_CHECK_LIB([Xext], ++ [XMissingExtension], ++ [], ++ [AC_MSG_ERROR(XMissingExtension not found in -lXext)] ++ ) ++ ], ++ [AC_MSG_ERROR(xext not found)] ++ ) + + dnl pkgconfig checks for blackbox library + PKG_CHECK_MODULES(LIBBT, libbt) +-CXXFLAGS="$CXXFLAGS $LIBBT_CFLAGS" +-LIBS="$LIBS $LIBBT_LIBS" ++ ++LIBS="$LIBS $LIBBT_LIBS $X_LIBS $X_PRE_LIBS $XEXT_LIBS" + + dnl generate the config header + AM_CONFIG_HEADER(config.h) + + dnl Print results +diff -NrU5 bbpager-0.4.7.orig/src/Makefile.am bbpager-0.4.7/src/Makefile.am +--- bbpager-0.4.7.orig/src/Makefile.am 2008-12-20 22:38:36.000000000 +0100 ++++ bbpager-0.4.7/src/Makefile.am 2008-12-20 23:56:15.000000000 +0100 +@@ -1,8 +1,9 @@ +-CPPFLAGS = @CPPFLAGS@ @SHAPE@ \ ++AM_CPPFLAGS = $(CPPFLAGS) -DSHAPE \ + -DBBTOOL_GLOBAL=\"$(datadir)/bbtools/bbpager.rc\" \ + -DBBTOOL_LOCAL=\"~/.bbtools/bbpager.rc\" ++AM_CXXFLAGS = $(X_CFLAGS) $(XEXT_CFLAGS) $(LIBBT_CFLAGS) + + bin_PROGRAMS = bbpager + bbpager_SOURCES = bbpager.cxx bbpager.h \ + main.cxx main.h \ + Baseresource.cxx Baseresource.h \ +@@ -10,7 +11,8 @@ + wminterface.cxx wminterface.h \ + blackboxstyle.h \ + pager.cxx pager.h \ + desktop.cxx desktop.h + # pagermenu.cc pagermenu.hh \ +-bbpager_LDADD = @X_LIBS@ ++# ++ + diff --git a/x11-misc/bbpager/files/bbpager-0.4.7-gcc43.patch b/x11-misc/bbpager/files/bbpager-0.4.7-gcc43.patch new file mode 100644 index 000000000000..bf0c9bedd64e --- /dev/null +++ b/x11-misc/bbpager/files/bbpager-0.4.7-gcc43.patch @@ -0,0 +1,33 @@ +diff -urNad bbpager-0.4.7~/src/Baseresource.cxx bbpager-0.4.7/src/Baseresource.cxx +--- bbpager-0.4.7~/src/Baseresource.cxx 2008-03-28 06:55:16.000000000 -0400 ++++ bbpager-0.4.7/src/Baseresource.cxx 2008-04-09 21:58:03.000000000 -0400 +@@ -20,6 +20,7 @@ + // + + #include ++#include + #include "Baseresource.h" + #include + #include "Menu.hh" +diff -urNad bbpager-0.4.7~/src/main.cxx bbpager-0.4.7/src/main.cxx +--- bbpager-0.4.7~/src/main.cxx 2008-03-28 06:55:16.000000000 -0400 ++++ bbpager-0.4.7/src/main.cxx 2008-04-09 21:58:03.000000000 -0400 +@@ -25,6 +25,7 @@ + + #include + #include ++#include + #include + + +diff -urNad bbpager-0.4.7~/src/resource.cxx bbpager-0.4.7/src/resource.cxx +--- bbpager-0.4.7~/src/resource.cxx 2007-03-11 17:47:07.000000000 -0400 ++++ bbpager-0.4.7/src/resource.cxx 2008-04-09 21:58:39.000000000 -0400 +@@ -19,6 +19,7 @@ + // (See the included file COPYING / GPL-2.0) + // + ++#include + #include "resource.h" + #include "blackboxstyle.h" + diff --git a/x11-misc/bbpager/metadata.xml b/x11-misc/bbpager/metadata.xml new file mode 100644 index 000000000000..ea5d7acd3406 --- /dev/null +++ b/x11-misc/bbpager/metadata.xml @@ -0,0 +1,11 @@ + + + + + + An understated pager for Blackbox. + + + bbtools + + -- cgit v1.2.3