summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/openbox-menu/Manifest1
-rw-r--r--x11-misc/openbox-menu/files/openbox-menu-0.5.0-build.patch81
-rw-r--r--x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild42
3 files changed, 0 insertions, 124 deletions
diff --git a/x11-misc/openbox-menu/Manifest b/x11-misc/openbox-menu/Manifest
index bfff046437b..64735ae9fe9 100644
--- a/x11-misc/openbox-menu/Manifest
+++ b/x11-misc/openbox-menu/Manifest
@@ -1,2 +1 @@
-DIST openbox-menu-0.8.0.tar.bz2 24229 BLAKE2B 8950d1bf55454f239a92cf17f8676295f7c769b73fce34ee2786b0a5dd18bd81b3dddfec7f5fcf77f697072abaea758d1d5c9d0f80d41c0a9d80709b845161c2 SHA512 955a5e16e7be001aec030358d3568aa6a3303d7138d6eb998494cd9ffa77de14ecf4bee163a9d49faf67939c85e303cbae51461f04f7eeaf44167a377c0f352d
DIST openbox-menu-0.8.1.tar.gz 27960 BLAKE2B f4c78956c163b0d8ca2d601b05354217071e93307a0abc1536d1d373a3d402384b0a4d3c15252aaf9aae7c20b76b5b8aa69edfacbe11cfaa76b1aba8a7a4834e SHA512 de6454e88ac30b5cb1094ae427116808ad9dd2f37c8d2ae20dea77aa60d414a47149c09e8ea7d3c5c31182b728b8a4f13283f33c6e2a34d3cd4b64f91d4ef8da
diff --git a/x11-misc/openbox-menu/files/openbox-menu-0.5.0-build.patch b/x11-misc/openbox-menu/files/openbox-menu-0.5.0-build.patch
deleted file mode 100644
index 5750e982be1..00000000000
--- a/x11-misc/openbox-menu/files/openbox-menu-0.5.0-build.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From: Julian Ospald <hasufell@gentoo.org>
-Date: Wed Aug 21 14:26:38 UTC 2013
-Subject: several QA fixes
-
---- a/Makefile
-+++ b/Makefile
-@@ -1,17 +1,27 @@
--LIBS= `pkg-config --libs glib-2.0 gtk+-2.0 libmenu-cache`
--CFLAGS+= -g -Wall `pkg-config --cflags glib-2.0 gtk+-2.0 libmenu-cache`
--CC=gcc
-+CC ?= gcc
-+PKG_CONFIG ?= pkg-config
-+
-+CFLAGS ?= -O2 -g
-+CFLAGS += -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0 gtk+-2.0 libmenu-cache)
-+LIBS += $(shell $(PKG_CONFIG) --libs glib-2.0 gtk+-2.0 libmenu-cache)
- #-DG_DISABLE_DEPRECATED
-
--# Comment this line if you don't want icons to appear in menu
--CFLAGS+=-DWITH_ICONS
--# Uncomment this line if Openbox can display SVG icons
--# Check SVG support with '$ ldd /usr/bin/openbox | grep svg', librsvg must appear..
--# CFLAGS+=-DWITH_SVG
--
--prefix= /usr/local
--DESTDIR ?= $(prefix)
--BINDIR= ${DESTDIR}/bin
-+# set to 0 to turn off icons in menus
-+ICONS=1
-+
-+# set to 0 to turn off svg icons in menus
-+SVG_ICONS=1
-+
-+ifeq ($(SVG_ICONS),1)
-+CPPFLAGS += -DWITH_SVG
-+endif
-+
-+ifeq ($(ICONS),1)
-+CPPFLAGS += -DWITH_ICONS
-+endif
-+
-+prefix = /usr
-+BINDIR = ${prefix}/bin
-
- SRC= $(shell ls *.c 2> /dev/null)
- OBJ= $(SRC:.c=.o)
-@@ -19,26 +29,29 @@
- all: $(OBJ) openbox-menu
-
- %.o: %.c
-- $(CC) $(CFLAGS) -c $< -o $@
-+ $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
-
- openbox-menu: $(OBJ)
-- $(CC) $(OBJ) -o openbox-menu $(LDFLAGS) $(LIBS)
-+ $(CC) $(CFLAGS) $(OBJ) -o openbox-menu $(LDFLAGS) $(LIBS)
-
--.PHONY: clean install doc changelog check
-+.PHONY: clean install install-strip doc changelog check
-
- clean:
- @rm -f *.o openbox-menu
- @rm -rf doc
-
- install:
-+ @install -Dm 755 openbox-menu "$(DESTDIR)$(BINDIR)/openbox-menu"
-+
-+install-strip:
- @strip -s openbox-menu
-- @install -Dm 755 openbox-menu $(BINDIR)/openbox-menu
-+ @install -Dm 755 openbox-menu "$(DESTDIR)$(BINDIR)/openbox-menu"
-
- doc:
- robodoc --src . --doc doc/ --multidoc --index --html --cmode
-
- check: openbox-menu
-- ./openbox-menu > test.xml
-+ ./openbox-menu > test.xml
- xmllint test.xml
- rm test.xml
-
diff --git a/x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild b/x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild
deleted file mode 100644
index bbdd608be6b..00000000000
--- a/x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit epatch toolchain-funcs
-
-DESCRIPTION="Another dynamic menu generator for Openbox"
-HOMEPAGE="http://fabrice.thiroux.free.fr/openbox-menu_en.html"
-SRC_URI="https://bitbucket.org/fabriceT/${PN}/downloads/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+icons svg"
-REQUIRED_USE="svg? ( icons )"
-
-COMMON_DEPEND="
- dev-libs/glib:2
- lxde-base/menu-cache
- x11-libs/gtk+:2
-"
-RDEPEND="
- ${COMMON_DEPEND}
- icons? ( x11-wm/openbox[imlib,svg?] )
- !icons? ( x11-wm/openbox )
-"
-DEPEND="
- ${COMMON_DEPEND}
- virtual/pkgconfig
-"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.5.0-build.patch
- epatch_user
- tc-export CC PKG_CONFIG
-}
-
-src_compile() {
- emake \
- $(usex icons 'ICONS=1' 'ICONS=0') \
- $(usex svg 'SVG_ICONS=1' 'SVG_ICONS=0')
-}