summaryrefslogtreecommitdiff
path: root/x11-plugins/wmmenu
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins/wmmenu
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-plugins/wmmenu')
-rw-r--r--x11-plugins/wmmenu/Manifest2
-rw-r--r--x11-plugins/wmmenu/files/wmmenu-1.2-Makefile.patch32
-rw-r--r--x11-plugins/wmmenu/files/wmmenu-1.2-support-libdockapp-0.5.0.patch14
-rw-r--r--x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch19
-rw-r--r--x11-plugins/wmmenu/metadata.xml5
-rw-r--r--x11-plugins/wmmenu/wmmenu-1.2-r1.ebuild32
-rw-r--r--x11-plugins/wmmenu/wmmenu-1.3.ebuild36
7 files changed, 140 insertions, 0 deletions
diff --git a/x11-plugins/wmmenu/Manifest b/x11-plugins/wmmenu/Manifest
new file mode 100644
index 00000000000..6b1959e2ae3
--- /dev/null
+++ b/x11-plugins/wmmenu/Manifest
@@ -0,0 +1,2 @@
+DIST wmmenu-1.2.tar.gz 32845 SHA256 c2270fdd636e82bcddbd3a43c4ae7b8dc2f5f0f8890cf8f404ce024d5f7dab87
+DIST wmmenu-1.3.tar.gz 33766 SHA256 c6fc09e812b012fac83c948bbfc37fbbd3ea702e46e942ebb29ec6a2f541fa3a SHA512 4c8738c9a81d56e084754f4db28da6d3171475b5967ceddaa5646b3d87679112e4f272e1bee2c2a81dd072cc948b3652d843a3ddff9bc31cfac4f787b337e767 WHIRLPOOL 15e1cc6de49ea51382ae7673375a176836bf49dd2b7cf311618ca5e6afa9c67a558c2b8a76a675b69d516669432c978cc39f339bf27de574c4952afc75de6881
diff --git a/x11-plugins/wmmenu/files/wmmenu-1.2-Makefile.patch b/x11-plugins/wmmenu/files/wmmenu-1.2-Makefile.patch
new file mode 100644
index 00000000000..766f9c672fe
--- /dev/null
+++ b/x11-plugins/wmmenu/files/wmmenu-1.2-Makefile.patch
@@ -0,0 +1,32 @@
+--- wmmenu/Makefile~ 2002-03-23 07:51:36 -0500
++++ wmmenu/Makefile 2004-12-16 19:44:36 -0500
+@@ -4,7 +4,7 @@
+ ETCDIR = $(prefix)/etc
+
+ # comment out both lines to get the old, Xpm-only, version
+-GDKPIXBUF = 1
++#GDKPIXBUF = 1
+ #GDKPIXBUF2 = 1
+
+ XROOT = /usr/X11R6
+@@ -19,17 +19,17 @@
+
+ # If you want to use gdk-pixbuf-2.0, pass GDKPIXBUF2=1 to make command
+ ifdef GDKPIXBUF2
+-PIXBUF_CFG = /opt/gtk2/bin/pkg-config gdk-pixbuf-xlib-2.0
++PIXBUF_CFG = pkg-config gdk-pixbuf-xlib-2.0
+ PIXBUF_DEF = -DWITH_GDKPIXBUF
+ PIXBUF_INC := $(shell $(PIXBUF_CFG) --cflags)
+ PIXBUF_LIB := -rdynamic -L$(shell $(PIXBUF_CFG) --variable=prefix)/lib -lgdk_pixbuf_xlib-2.0
+ endif
+
+ CC = gcc #-g
+-CFLAGS = -pipe $(CPPFLAGS) -O2
++CFLAGS = $(CPPFLAGS) ${EXTRACFLAGS}
+ CPPFLAGS = -MMD -ansi -pedantic -Wall $(INCDIRS) $(DEFINES)
+ INCDIRS = -I$(DAROOT)/include -I$(XROOT)/include $(PIXBUF_INC)
+ DEFINES = -DETCDIR='"$(ETCDIR)"' $(PIXBUF_DEF)
+-LDFLAGS = -s
++#LDFLAGS = -s
+ LIBDIRS = -L$(DAROOT)/lib -L$(XROOT)/lib $(PIXBUF_LIB)
+ LDLIBS = -ldockapp -lXpm -lXext -lX11 -lm
diff --git a/x11-plugins/wmmenu/files/wmmenu-1.2-support-libdockapp-0.5.0.patch b/x11-plugins/wmmenu/files/wmmenu-1.2-support-libdockapp-0.5.0.patch
new file mode 100644
index 00000000000..ffc8d274ec3
--- /dev/null
+++ b/x11-plugins/wmmenu/files/wmmenu-1.2-support-libdockapp-0.5.0.patch
@@ -0,0 +1,14 @@
+--- wmmenu/wmmenu.c~ 2002-03-10 05:41:12 -0500
++++ wmmenu/wmmenu.c 2004-12-16 18:30:52 -0500
+@@ -18,8 +18,9 @@
+
+ DAParseArguments (Options_Argc, Options_Argv, NULL, 0,
+ "wmmenu", VERSION) ;
+- DAInitialize (NULL, (char*)Menu_GetTitle (), 48, 48, argc, argv) ;
+-
++ DAOpenDisplay (NULL, argc, argv) ;
++ DACreateIcon((char*)Menu_GetTitle (), 48, 48, argc, argv);
++
+ Pixmaps_LoadMenu () ;
+ Pixmaps_LoadTile () ;
+ /* needs tile to be loaded before to have autoscale work */
diff --git a/x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch b/x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch
new file mode 100644
index 00000000000..a6fc4c7ec43
--- /dev/null
+++ b/x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch
@@ -0,0 +1,19 @@
+--- Makefile.orig 2015-04-17 13:43:08.122972280 +0200
++++ Makefile 2015-04-17 13:43:11.569975854 +0200
+@@ -14,12 +14,12 @@
+ PIXBUF_LIB := -rdynamic -L$(shell $(PIXBUF_CFG) --variable=prefix)/lib -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0
+ endif
+
+-CC = gcc #-g
+-CFLAGS = -pipe -O2
+-CPPFLAGS = -MMD -ansi -pedantic -Wall
++CC ?= gcc #-g
++CFLAGS ?= -pipe -O2
++CPPFLAGS ?= -MMD -ansi -pedantic -Wall
+ INCDIRS = $(PIXBUF_INC)
+ DEFINES = -DETCDIR='"$(ETCDIR)"' $(PIXBUF_DEF)
+-LDFLAGS = -s
++LDFLAGS ?= -s
+ LIBDIRS = $(PIXBUF_LIB)
+ LDLIBS = -ldockapp -lXpm -lXext -lX11 -lm
+
diff --git a/x11-plugins/wmmenu/metadata.xml b/x11-plugins/wmmenu/metadata.xml
new file mode 100644
index 00000000000..b1a9efc4f2f
--- /dev/null
+++ b/x11-plugins/wmmenu/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-dock</herd>
+</pkgmetadata>
diff --git a/x11-plugins/wmmenu/wmmenu-1.2-r1.ebuild b/x11-plugins/wmmenu/wmmenu-1.2-r1.ebuild
new file mode 100644
index 00000000000..b16e15c9974
--- /dev/null
+++ b/x11-plugins/wmmenu/wmmenu-1.2-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+IUSE=""
+S=${WORKDIR}/${PN}
+DESCRIPTION="WindowMaker DockApp: Provides a popup menu of icons like in AfterStep, as a dockable application"
+SRC_URI="http://www.fcoutant.freesurf.fr/download/${P}.tar.gz"
+HOMEPAGE="http://www.fcoutant.freesurf.fr/wmmenu.html"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+DEPEND="x11-libs/libdockapp"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-support-libdockapp-0.5.0.patch
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ emake EXTRACFLAGS="${CFLAGS}" || die "Compilation failed"
+}
+
+src_install() {
+ dobin wmmenu
+ doman wmmenu.1
+ dodoc README TODO example/apps example/defaults example/extract_icon_back
+}
diff --git a/x11-plugins/wmmenu/wmmenu-1.3.ebuild b/x11-plugins/wmmenu/wmmenu-1.3.ebuild
new file mode 100644
index 00000000000..f790f9d56dd
--- /dev/null
+++ b/x11-plugins/wmmenu/wmmenu-1.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a popup menu of icons like in AfterStep, as a dockable application"
+HOMEPAGE="http://windowmaker.org/dockapps/?name=wmmenu"
+# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gdk-pixbuf
+ x11-libs/libdockapp"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/dockapps
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin wmmenu
+ doman wmmenu.1
+ dodoc README TODO example/apps example/defaults example/extract_icon_back
+}