summaryrefslogtreecommitdiff
path: root/x11-misc/bbrun
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/bbrun
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/bbrun')
-rw-r--r--x11-misc/bbrun/Manifest7
-rw-r--r--x11-misc/bbrun/bbrun-1.6-r1.ebuild34
-rw-r--r--x11-misc/bbrun/files/bbrun-1.6-list.patch127
-rw-r--r--x11-misc/bbrun/files/bbrun-1.6-makefile.patch29
-rw-r--r--x11-misc/bbrun/metadata.xml5
5 files changed, 202 insertions, 0 deletions
diff --git a/x11-misc/bbrun/Manifest b/x11-misc/bbrun/Manifest
new file mode 100644
index 000000000000..9a9b53eb55a3
--- /dev/null
+++ b/x11-misc/bbrun/Manifest
@@ -0,0 +1,7 @@
+AUX bbrun-1.6-list.patch 2945 SHA256 f33820cb88f95a039ff9a985b59ff52b918fd83e82824cc99bf06dd186627c26 SHA512 9cece93b2f75891f12a39f23bafca2ae48c7ef5344b63f7fb0e36c52013ccb236c1c8398eff8a271fbee5661abba561d3152bfee5ee437e3cee42f44f125fde7 WHIRLPOOL 8f5a767d7bfaea83009dfd9879fca43c5028a9f1b57005c9848a0dbd0c8a2a43b9966d56c053ef2c8310e309fa486918419877db8e9f817b9070532a9b56f587
+AUX bbrun-1.6-makefile.patch 730 SHA256 9c5f3e7c6d3ec9f52f70918739ee5af656ce61ce67df342b96f03767698ff4d9 SHA512 c4f3d4b13fbfd8a13279a3a3cab293b251f5e89b9eedff58bd681729ed571ea4efcbaecedd972706006a263b1140c76addac0b8c6f62f7be9c344f1c12a6dc6a WHIRLPOOL 241f2563717f42725082dbf1d96a966d46588230fdfe22dc7b3523125f31884bcb7a72b84f8b23663073aea6b5c9663cb54cda7c9c32554587a3ead1b1d87183
+DIST bbrun-1.6.tar.gz 21132 SHA256 d0af57276ec9191a94f8d20a2da69dc1818f410f23478f041334aef2d707559a SHA512 7dfa73f90775ff5826b67c977184e617521cc1308f64e1445061e6b16f1cdadc81e3b12d16e1f2cb6ff0b58e59af6608c07dc0cb483c1c60794da3213e0bfe21 WHIRLPOOL 8daca51ac36d76ea953cf1c2020ddb246421bc28ff00c2a5782d874492003b33c8fe1ecf3d5810eabd9dd66e54faa36513c2ecfee43647c37701a761bc4868aa
+EBUILD bbrun-1.6-r1.ebuild 653 SHA256 730ec0629390ce65ec6a70d3296524af551cc4c65cdc4730565f4b3116724bc4 SHA512 11f64316687c90396e7849bbe7b1182672480c3882ca3eef3027862d1af5e1c7f5097098c3c60b413bf26c888cd56715fe8ab2b967b926234316d0441b197dea WHIRLPOOL 53edab7b4b1be1fbaf813c490fb92197245ad9cb2ad568d66dd0c8a83f28964b17ef2a0dde521247055b1c87c3eb7ce7c7fd1c862185c3d460cd31d62510c0bf
+MISC ChangeLog 2919 SHA256 f0fdd54ca29648a4db4dfab399d80dda59d65c3b8ae95110d1902887329ea17d SHA512 0873170d70e225847ddf5522d07247e7d73bf2557547847b4478985f93e0c4b4aadcdc5de2858d1cbf16b0de81128e0a3a38a8c2862b76859eb941ee899b287b WHIRLPOOL 39e53910e5049f6b0fd30bc3ea060c374905c083ae7457bf958608fbfeeba9aed0c8a4840f62305b91de363cbbb20ff58722353247f7cc714fc57dab062e3931
+MISC ChangeLog-2015 4602 SHA256 5b72df9b19c991547f513fab8a72063f70f63a5f81eb4f64d62e0ea52be40462 SHA512 7c784afb9ec9e830b120e04c9013d8955d3975391098a9d6dcac9bc8af8eea06f242308612985080ac6668af459fe2efbdcaaa18629ccd241cfdbc189493a67b WHIRLPOOL 008bcd083838672df1ca5d6a22638195724265b05173228a1543ac446afb9e6a1ceb374fc56ccf224af5671cf2800d53b674a426c848b2155eaa1b8eb1555173
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-misc/bbrun/bbrun-1.6-r1.ebuild b/x11-misc/bbrun/bbrun-1.6-r1.ebuild
new file mode 100644
index 000000000000..c4340fdd041d
--- /dev/null
+++ b/x11-misc/bbrun/bbrun-1.6-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="blackbox program execution dialog box"
+HOMEPAGE="http://www.darkops.net/bbrun"
+SRC_URI="http://www.darkops.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ x11-libs/libXpm
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ epatch "${FILESDIR}"/${P}-list.patch
+}
+
+src_compile() {
+ emake -C ${PN} CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin ${PN}/${PN}
+ dodoc Changelog README
+}
diff --git a/x11-misc/bbrun/files/bbrun-1.6-list.patch b/x11-misc/bbrun/files/bbrun-1.6-list.patch
new file mode 100644
index 000000000000..654b4f68144e
--- /dev/null
+++ b/x11-misc/bbrun/files/bbrun-1.6-list.patch
@@ -0,0 +1,127 @@
+diff -Naur wmgeneral.orig/list.c wmgeneral/list.c
+--- wmgeneral.orig/list.c 2002-02-05 18:36:19.000000000 +0100
++++ wmgeneral/list.c 2016-01-04 12:54:39.666670005 +0100
+@@ -38,7 +38,7 @@
+
+ /* Return a cons cell produced from (head . tail) */
+
+-INLINE LinkedList*
++LinkedList*
+ list_cons(void* head, LinkedList* tail)
+ {
+ LinkedList* cell;
+@@ -51,7 +51,7 @@
+
+ /* Return the length of a list, list_length(NULL) returns zero */
+
+-INLINE int
++int
+ list_length(LinkedList* list)
+ {
+ int i = 0;
+@@ -66,7 +66,7 @@
+ /* Return the Nth element of LIST, where N count from zero. If N
+ larger than the list length, NULL is returned */
+
+-INLINE void*
++void*
+ list_nth(int index, LinkedList* list)
+ {
+ while(index-- != 0)
+@@ -81,7 +81,7 @@
+
+ /* Remove the element at the head by replacing it by its successor */
+
+-INLINE void
++void
+ list_remove_head(LinkedList** list)
+ {
+ if (!*list) return;
+@@ -101,7 +101,7 @@
+
+ /* Remove the element with `car' set to ELEMENT */
+ /*
+-INLINE void
++void
+ list_remove_elem(LinkedList** list, void* elem)
+ {
+ while (*list)
+@@ -112,7 +112,7 @@
+ }
+ }*/
+
+-INLINE LinkedList *
++LinkedList *
+ list_remove_elem(LinkedList* list, void* elem)
+ {
+ LinkedList *tmp;
+@@ -132,7 +132,7 @@
+
+ /* Return element that has ELEM as car */
+
+-INLINE LinkedList*
++LinkedList*
+ list_find(LinkedList* list, void* elem)
+ {
+ while(list)
+@@ -146,7 +146,7 @@
+
+ /* Free list (backwards recursive) */
+
+-INLINE void
++void
+ list_free(LinkedList* list)
+ {
+ if(list)
+@@ -158,7 +158,7 @@
+
+ /* Map FUNCTION over all elements in LIST */
+
+-INLINE void
++void
+ list_mapcar(LinkedList* list, void(*function)(void*))
+ {
+ while(list)
+diff -Naur wmgeneral.orig/list.h wmgeneral/list.h
+--- wmgeneral.orig/list.h 2002-02-05 18:36:19.000000000 +0100
++++ wmgeneral/list.h 2016-01-04 12:54:39.666670005 +0100
+@@ -29,31 +29,25 @@
+ #ifndef __LIST_H_
+ #define __LIST_H_
+
+-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
+-# define INLINE inline
+-#else
+-# define INLINE
+-#endif
+-
+ typedef struct LinkedList {
+ void *head;
+ struct LinkedList *tail;
+ } LinkedList;
+
+-INLINE LinkedList* list_cons(void* head, LinkedList* tail);
++LinkedList* list_cons(void* head, LinkedList* tail);
+
+-INLINE int list_length(LinkedList* list);
++int list_length(LinkedList* list);
+
+-INLINE void* list_nth(int index, LinkedList* list);
++void* list_nth(int index, LinkedList* list);
+
+-INLINE void list_remove_head(LinkedList** list);
++void list_remove_head(LinkedList** list);
+
+-INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem);
++LinkedList *list_remove_elem(LinkedList* list, void* elem);
+
+-INLINE void list_mapcar(LinkedList* list, void(*function)(void*));
++void list_mapcar(LinkedList* list, void(*function)(void*));
+
+-INLINE LinkedList*list_find(LinkedList* list, void* elem);
++LinkedList*list_find(LinkedList* list, void* elem);
+
+-INLINE void list_free(LinkedList* list);
++void list_free(LinkedList* list);
+
+ #endif
diff --git a/x11-misc/bbrun/files/bbrun-1.6-makefile.patch b/x11-misc/bbrun/files/bbrun-1.6-makefile.patch
new file mode 100644
index 000000000000..cf89b96df6f3
--- /dev/null
+++ b/x11-misc/bbrun/files/bbrun-1.6-makefile.patch
@@ -0,0 +1,29 @@
+Respect {C,LD}FLAGS, fix underlinking
+
+http://bugs.gentoo.org/367853
+
+--- bbrun/Makefile
++++ bbrun/Makefile
+@@ -1,7 +1,7 @@
+ CC = gcc
+ LIBDIR = -L/usr/lib -L/usr/X11R6/lib
+-LIBS = -lXpm `pkg-config --libs gtk+-2.0`
+-CFLAGS = `pkg-config --cflags gtk+-2.0`
++LIBS = `pkg-config --libs xext xpm gtk+-2.0`
++DEP_CFLAGS = `pkg-config --cflags xext xpm gtk+-2.0`
+
+ OBJS = bbrun.o \
+ ../wmgeneral/wmgeneral.o \
+@@ -11,10 +11,10 @@
+ all: bbrun
+
+ .c.o:
+- $(CC) -g -c -O2 -Wall $< -o $*.o $(CFLAGS)
++ $(CC) $(CFLAGS) $(DEP_CFLAGS) -c -Wall $< -o $*.o
+
+ bbrun: $(OBJS)
+- $(CC) -Wall -g -o bbrun $^ $(LIBDIR) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -Wall -o bbrun $^ $(LIBDIR) $(LIBS)
+
+ install:
+ cp bbrun /usr/local/bin/
diff --git a/x11-misc/bbrun/metadata.xml b/x11-misc/bbrun/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-misc/bbrun/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>