diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/blackbox |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/blackbox')
-rw-r--r-- | x11-wm/blackbox/Manifest | 9 | ||||
-rw-r--r-- | x11-wm/blackbox/blackbox-0.70.1-r1.ebuild | 57 | ||||
-rw-r--r-- | x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch | 49 | ||||
-rw-r--r-- | x11-wm/blackbox/files/blackbox-0.70.1-gcc-4.3.patch | 106 | ||||
-rw-r--r-- | x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch | 14 | ||||
-rw-r--r-- | x11-wm/blackbox/files/blackbox.desktop | 7 | ||||
-rw-r--r-- | x11-wm/blackbox/metadata.xml | 13 |
7 files changed, 255 insertions, 0 deletions
diff --git a/x11-wm/blackbox/Manifest b/x11-wm/blackbox/Manifest new file mode 100644 index 000000000000..673d1800161c --- /dev/null +++ b/x11-wm/blackbox/Manifest @@ -0,0 +1,9 @@ +AUX blackbox-0.70.1-asneeded.patch 1239 SHA256 ad1860a953865b3fbbbfc4e93e47e177fa41953f9a1b0b1c07b377e1a2f384a0 SHA512 3cfed71b9fe9baaa490d752230687b67f5f36563425c8b4a155819a26d2842c2c4fe26d649db3b1ac791b59ba6486a93342c635e5b169d03aacb11fa3861f8b7 WHIRLPOOL a69cff6ca9f9308907b454165a01280ffe1dc4314f3a613e2e67d1460b6c308d8406f7ec2b50d33ef8b64de74a5210073ab8fbba1c7d6407df63e0149da17eb8 +AUX blackbox-0.70.1-gcc-4.3.patch 3274 SHA256 4b4f13650bed35666dd27bcd4744e4f9d28f794e6f3e6c5ba5daedf780f16a78 SHA512 3a728a453fd8d982f25ade14d5a3225dc64e13f85070e2d7f577e76982f491c4a0f679918f5bc61faaa5956b077ead7921566b991220fb09a357659bc9b5f6e8 WHIRLPOOL 8b4546b5104391f1a73426cadcc620629739de7e720f59ad08cee8e223d19f853fe0cf9697c05fc0d0ce50bf78c2c3a02b8855a447ee2ae65994f259a9554626 +AUX blackbox-0.70.1-no-LDFLAGS-pc.patch 615 SHA256 46c5939257daf112209412d47fd1792ad20116ad93066e0d2ba2bd5c8b40936b SHA512 5728aad146c8d32d55d72e696c21b5d4381859ecdf38fad064e41c25c9516d91ff965137bf1f9fea0028115b7f08b7d38d5e7760837c009b91e2942598f97c87 WHIRLPOOL 6e20c011b890c8a97a4333acde198f641da9438eda5eb4cbe1447f01338f9785343be2c794280d48fcf0bfce3d810c8365e4b03aa51ca3d9829a703ca653f230 +AUX blackbox.desktop 128 SHA256 abd18ba52d207bd55bce3b495c52d45cbd238b1a0e54a82a7fad3e0ed04c7a1c SHA512 340bf82fdfe40fabe698b0fe9ce371395ab82a0570323663a2d1c3f26a36a2b1628dd91fe691a58d22b599f4cde060a005accc7294b9758cc4220d92f226d28d WHIRLPOOL a89bcf039b997023b0494080d0d703a04146abce2aa4a1f315ef79654fdd858543d95938a3d924dd3f8e47f5e9314fff9dc2b3a4ce76a85a2431ef8e8d468079 +DIST blackbox-0.70.1.tar.bz2 492399 SHA256 92c2be347253f29b10063d579b4267a21516cb322a41b5e83d770fa6d44afd21 SHA512 6e8cf6fd04030a5f97ffd8dbe97aaa0f683f776e7237cdd46f2b93265cd8de665cffce5a352624a2235aa6c42628be13f98d565af765b3f06e95bff404fb0ccb WHIRLPOOL 8cab9c8ff749e4aea11bce5aca53127013cb5e36d791b426dded53dcf3db96590f6c43572df8ccd0f89e33b9ddfaa1f69cc1bda89cb7b85ec21298eba6730606 +EBUILD blackbox-0.70.1-r1.ebuild 1341 SHA256 470292b6538f926eb7b9c1c32467d5df97fc65ec19c2f7d206690b9a8c0fbd66 SHA512 7755948d3a51f9d618996fbcfcd4843d6fdb56751e57232486852ca4f81a6eee979922ec1186984ca17123c497d38b0925f2dc7b5c2f70acfe1ee9eb8b4e8312 WHIRLPOOL ab186780718b501f97d1d203e73a72a8ea31b6361ced4f624104d4cc9d95a22a78f68f704ebe1f3149b363ed8b5a3723f1a370f84297e82d978c0e10c288b635 +MISC ChangeLog 4232 SHA256 2ec82d40d65faa4ffde71990390ee0143050cd8bc0510c827e338013b5295fe0 SHA512 71c4f3e855e27bc1e8b0d8ab319e4b1ae5a43176d2cdd5ee3c0966b42287120375cbb1330485995642181ecfe3b4be98d8674f0f6188996dddf001a7b13319eb WHIRLPOOL 46d13f7d45a5a73d3910c1c84e01c6c3bfeb060abf5457ef01d1a22d316761569ca93e5ef3d3c605208ff48f3adcfc5b6f1bc682219b556753fcb0a2c536a68a +MISC ChangeLog-2015 10129 SHA256 b670b492e5e63c93d98d2fb4532e0a5dd871e2a83d6ca106ccbf7a0ee7243760 SHA512 726afedd1e76cc5eac7ecd6e7479f51c29cd464fa03c542d7c0b3136b745dc91b93355626a15f87b5653b01f60fbe7951b87b297484dc4a904d7990c25da1309 WHIRLPOOL 2f11590a7d1dbe684969d5ca7272805230d8f00c7d6139a7b83deff676afaaa2f1103c70bd4b9e39d5b4003c0508b7c587c6a3c0da3a90b8c774b9d221278575 +MISC metadata.xml 493 SHA256 7a14c672a48a952d5d2cb10d3052a7c1d8ba2a097fb1716a86b3332ef2932edb SHA512 df0ba91550bc426a0acba235808b3d9df5bc19c21e900d640f3eb14a3be9f89262916afcc17681a44e64bc91f4360cf2ea39473c9e2f0fd8e45082bdaa98bf92 WHIRLPOOL 06d45f8bae65ffd982e8608650680a4ec58dbcbbc7e48b950bd6692bfbab02d334b263c404fd28b9434c7cdf850f557ff47fa1b36f0130b7f79b122de9d2bee4 diff --git a/x11-wm/blackbox/blackbox-0.70.1-r1.ebuild b/x11-wm/blackbox/blackbox-0.70.1-r1.ebuild new file mode 100644 index 000000000000..112d8fcb051b --- /dev/null +++ b/x11-wm/blackbox/blackbox-0.70.1-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A small, fast, full-featured window manager for X" +HOMEPAGE="http://blackboxwm.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}wm/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="nls truetype debug" + +RDEPEND="x11-libs/libXft + x11-libs/libXt + nls? ( sys-devel/gettext ) + truetype? ( media-libs/freetype )" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-apps/sed-4 + x11-proto/xextproto" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc-4.3.patch \ + "${FILESDIR}"/${P}-asneeded.patch \ + "${FILESDIR}"/${P}-no-LDFLAGS-pc.patch + + sed -i -e "s/_XUTIL_H_/_X11&/" lib/Util.hh || die #348556 + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die + + eautoreconf +} + +src_configure() { + econf \ + --sysconfdir=/etc/X11/${PN} \ + $(use_enable debug) \ + $(use_enable nls) \ + $(use_enable truetype xft) +} + +src_install() { + dodir /etc/X11/Sessions + echo "/usr/bin/blackbox" > "${D}/etc/X11/Sessions/${PN}" + fperms a+x /etc/X11/Sessions/${PN} + + insinto /usr/share/xsessions + doins "${FILESDIR}/${PN}.desktop" + + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog* COMPLIANCE README* TODO + + prune_libtool_files --all +} diff --git a/x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch b/x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch new file mode 100644 index 000000000000..a6b1e22e62b5 --- /dev/null +++ b/x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch @@ -0,0 +1,49 @@ +Fixing build with as-needed. Enabling shared libs. + +http://bugs.gentoo.org/show_bug.cgi?id=248549 + +--- src/Makefile.am ++++ src/Makefile.am +@@ -22,7 +22,7 @@ + + DEFAULT_MENU = $(pkgdatadir)/menu + DEFAULT_STYLE = $(pkgdatadir)/styles/Gray +-CPPFLAGS = @CPPFLAGS@ @SHAPE@ @XFT@ @DEBUG@ @NLS@ \ ++AM_CPPFLAGS = @SHAPE@ @XFT@ @DEBUG@ @NLS@ \ + -DLOCALEPATH=\"$(pkgdatadir)/nls\" \ + -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \ + -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \ +--- lib/Makefile.am ++++ lib/Makefile.am +@@ -62,7 +62,8 @@ + Util.hh \ + XDG.hh + +-libbt_la_LIBADD = @ICONV@ @LOCALE@ ++libbt_la_LIBADD = @ICONV@ @LOCALE@ @xft_LIBS@ ++libbt_la_CFLAGS = @xft_CFLAGS@ + + pkgconfigdir = $(libdir)/pkgconfig + nodist_pkgconfig_DATA = libbt.pc +--- util/Makefile.am ++++ util/Makefile.am +@@ -21,7 +21,7 @@ + # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + # DEALINGS IN THE SOFTWARE. + +-CPPFLAGS = @CPPFLAGS@ @DEBUG@ @NLS@ \ ++AM_CPPFLAGS = @DEBUG@ @NLS@ \ + -I$(top_srcdir)/lib + + bin_SCRIPTS = bsetbg +--- configure.ac ++++ configure.ac +@@ -29,7 +29,7 @@ + AC_PROG_INSTALL + + dnl libbt shouldn't be shared by default (yet) +-AC_DISABLE_SHARED ++dnl AC_DISABLE_SHARED + AC_PROG_LIBTOOL + AC_SUBST(LIBTOOL_DEPS) + diff --git a/x11-wm/blackbox/files/blackbox-0.70.1-gcc-4.3.patch b/x11-wm/blackbox/files/blackbox-0.70.1-gcc-4.3.patch new file mode 100644 index 000000000000..1026bd5c80ee --- /dev/null +++ b/x11-wm/blackbox/files/blackbox-0.70.1-gcc-4.3.patch @@ -0,0 +1,106 @@ +diff -Naupr blackbox-0.70.1.orig/lib/Image.cc blackbox-0.70.1/lib/Image.cc +--- blackbox-0.70.1.orig/lib/Image.cc 2005-04-08 17:41:09.000000000 +0200 ++++ blackbox-0.70.1/lib/Image.cc 2008-02-24 08:31:28.000000000 +0100 +@@ -42,8 +42,9 @@ + + #include <assert.h> + #include <math.h> +-#include <stdio.h> +-#include <stdlib.h> ++#include <cstdio> ++#include <cstdlib> ++#include <cstring> + + // #define COLORTABLE_DEBUG + // #define MITSHM_DEBUG +diff -Naupr blackbox-0.70.1.orig/lib/Resource.cc blackbox-0.70.1/lib/Resource.cc +--- blackbox-0.70.1.orig/lib/Resource.cc 2005-04-06 23:16:50.000000000 +0200 ++++ blackbox-0.70.1/lib/Resource.cc 2008-02-24 08:33:11.000000000 +0100 +@@ -28,7 +28,8 @@ + #include <X11/Xlib.h> + #include <X11/Xresource.h> + +-#include <stdio.h> ++#include <cstdio> ++#include <cstring> + + + bt::Resource::Resource(void) +diff -Naupr blackbox-0.70.1.orig/lib/XDG.cc blackbox-0.70.1/lib/XDG.cc +--- blackbox-0.70.1.orig/lib/XDG.cc 2005-04-06 16:04:38.000000000 +0200 ++++ blackbox-0.70.1/lib/XDG.cc 2008-02-24 08:34:11.000000000 +0100 +@@ -25,7 +25,8 @@ + #include "Util.hh" + #include "XDG.hh" + +-#include <stdlib.h> ++#include <cstdlib> ++#include <algorithm> + + + // make sure directory names end with a slash +diff -Naupr blackbox-0.70.1.orig/src/BlackboxResource.cc blackbox-0.70.1/src/BlackboxResource.cc +--- blackbox-0.70.1.orig/src/BlackboxResource.cc 2005-10-18 09:34:46.000000000 +0200 ++++ blackbox-0.70.1/src/BlackboxResource.cc 2008-02-24 08:34:49.000000000 +0100 +@@ -33,6 +33,8 @@ + #include <X11/Xutil.h> + #include <X11/cursorfont.h> + ++#include <cstring> ++ + + BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) { + screen_resources = 0; +diff -Naupr blackbox-0.70.1.orig/src/main.cc blackbox-0.70.1/src/main.cc +--- blackbox-0.70.1.orig/src/main.cc 2005-01-03 10:42:57.000000000 +0100 ++++ blackbox-0.70.1/src/main.cc 2008-02-24 08:37:16.000000000 +0100 +@@ -34,7 +34,8 @@ + #include "blackbox.hh" + #include "../version.h" + +-#include <stdio.h> ++#include <cstdio> ++#include <cstring> + + + static void showHelp(int exitval) { +diff -Naupr blackbox-0.70.1.orig/src/Screen.cc blackbox-0.70.1/src/Screen.cc +--- blackbox-0.70.1.orig/src/Screen.cc 2005-10-18 10:07:22.000000000 +0200 ++++ blackbox-0.70.1/src/Screen.cc 2008-02-24 08:35:46.000000000 +0100 +@@ -45,8 +45,9 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <assert.h> +-#include <ctype.h> + #include <dirent.h> ++#include <cctype> ++#include <cstring> + + + static bool running = true; +diff -Naupr blackbox-0.70.1.orig/src/ScreenResource.cc blackbox-0.70.1/src/ScreenResource.cc +--- blackbox-0.70.1.orig/src/ScreenResource.cc 2005-04-13 07:54:08.000000000 +0200 ++++ blackbox-0.70.1/src/ScreenResource.cc 2008-02-24 08:36:31.000000000 +0100 +@@ -33,6 +33,8 @@ + + #include <assert.h> + ++#include <cstring> ++ + + static const int iconify_width = 9; + static const int iconify_height = 9; +diff -Naupr blackbox-0.70.1.orig/util/bsetroot.cc blackbox-0.70.1/util/bsetroot.cc +--- blackbox-0.70.1.orig/util/bsetroot.cc 2005-03-15 08:01:37.000000000 +0100 ++++ blackbox-0.70.1/util/bsetroot.cc 2008-02-24 08:38:41.000000000 +0100 +@@ -30,7 +30,9 @@ + #include <cctype> + + #include <X11/Xatom.h> +-#include <stdio.h> ++#include <cstdio> ++#include <cstdlib> ++#include <cstring> + + + // ignore all X errors diff --git a/x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch b/x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch new file mode 100644 index 000000000000..e907b588b158 --- /dev/null +++ b/x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch @@ -0,0 +1,14 @@ +Fix LDFGAS leak to .pc file: +> * QA Notice: pkg-config files with wrong LDFLAGS detected: +> * /usr/lib64/pkgconfig/libbt.pc:Libs: -L${libdir} -lbt -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -L/usr/lib -L/usr/local/lib +diff --git a/lib/libbt.pc.in b/lib/libbt.pc.in +index a2a8869..8246cb0 100644 +--- a/lib/libbt.pc.in ++++ b/lib/libbt.pc.in +@@ -7,5 +7,5 @@ Name: Blackbox Toolbox + Description: Utility class library for writing small applications + Requires: @XFT_PKGCONFIG@ + Version: @VERSION@ +-Libs: -L${libdir} -lbt @LDFLAGS@ @ICONV@ @LOCALE@ ++Libs: -L${libdir} -lbt @ICONV@ @LOCALE@ + Cflags: -I${includedir}/bt diff --git a/x11-wm/blackbox/files/blackbox.desktop b/x11-wm/blackbox/files/blackbox.desktop new file mode 100644 index 000000000000..c84ce24a2a53 --- /dev/null +++ b/x11-wm/blackbox/files/blackbox.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Blackbox +Comment=This session logs you into Blackbox +Exec=blackbox +TryExec=blackbox +Icon= +Type=Application diff --git a/x11-wm/blackbox/metadata.xml b/x11-wm/blackbox/metadata.xml new file mode 100644 index 000000000000..eb1e7094d54f --- /dev/null +++ b/x11-wm/blackbox/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription> + Blackbox is that fast, light window manager you have been looking for + without all those annoying library dependencies. If you have a C++ + compiler and the X Window System you can compile and use it. + </longdescription> + <upstream> + <remote-id type="sourceforge">blackboxwm</remote-id> + </upstream> +</pkgmetadata> |