diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2004-12-22 11:13:29 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2004-12-22 11:13:29 +0000 |
commit | 8527b2ed01c29d9117db8bc95478d41e2670b15c (patch) | |
tree | ae36d7b9588f98723463d5333c777cc68f8e2e7c /x11-plugins | |
parent | Wiped out older ebuilds... (Manifest recommit) (diff) | |
download | gentoo-2-8527b2ed01c29d9117db8bc95478d41e2670b15c.tar.gz gentoo-2-8527b2ed01c29d9117db8bc95478d41e2670b15c.tar.bz2 gentoo-2-8527b2ed01c29d9117db8bc95478d41e2670b15c.zip |
Initial import of x11-plugins/wmmenu, version 1.2. Closes bug #74712
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmmenu/ChangeLog | 8 | ||||
-rw-r--r-- | x11-plugins/wmmenu/Manifest | 6 | ||||
-rw-r--r-- | x11-plugins/wmmenu/files/digest-wmmenu-1.2 | 1 | ||||
-rw-r--r-- | x11-plugins/wmmenu/files/wmmenu-1.2-Makefile.patch | 28 | ||||
-rw-r--r-- | x11-plugins/wmmenu/files/wmmenu-1.2-support-libdockapp-0.5.0.patch | 14 | ||||
-rw-r--r-- | x11-plugins/wmmenu/metadata.xml | 5 | ||||
-rw-r--r-- | x11-plugins/wmmenu/wmmenu-1.2.ebuild | 42 |
7 files changed, 104 insertions, 0 deletions
diff --git a/x11-plugins/wmmenu/ChangeLog b/x11-plugins/wmmenu/ChangeLog new file mode 100644 index 000000000000..bceafded97e8 --- /dev/null +++ b/x11-plugins/wmmenu/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for x11-plugins/wmmenu +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmenu/ChangeLog,v 1.1 2004/12/22 11:13:29 s4t4n Exp $ + +*wmmenu-1.2 (22 Dec 2004) + + 22 Dec 2004; Michele Noberasco <s4t4n@gentoo.org> wmmenu-1.2.ebuild: + Initial import. Thanks to Matt Taylor. Closes #74712. diff --git a/x11-plugins/wmmenu/Manifest b/x11-plugins/wmmenu/Manifest new file mode 100644 index 000000000000..2d0c26550564 --- /dev/null +++ b/x11-plugins/wmmenu/Manifest @@ -0,0 +1,6 @@ +MD5 7c4718938e855d4877eaed53fd89c291 wmmenu-1.2.ebuild 952 +MD5 bb98f31399e4ffb68c78fc230e476bf6 ChangeLog 273 +MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165 +MD5 5477a4c7105bb065b867046de221b6f4 files/wmmenu-1.2-Makefile.patch 918 +MD5 75ce08b9efb5328f48a500ee9adc66e2 files/wmmenu-1.2-support-libdockapp-0.5.0.patch 506 +MD5 662859fc24714fd26e0abc75f154b3dc files/digest-wmmenu-1.2 61 diff --git a/x11-plugins/wmmenu/files/digest-wmmenu-1.2 b/x11-plugins/wmmenu/files/digest-wmmenu-1.2 new file mode 100644 index 000000000000..3be339f70a05 --- /dev/null +++ b/x11-plugins/wmmenu/files/digest-wmmenu-1.2 @@ -0,0 +1 @@ +MD5 0cc8970ff54182a08fe848d65546f70f wmmenu-1.2.tar.gz 32845 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 000000000000..26a8419ef343 --- /dev/null +++ b/x11-plugins/wmmenu/files/wmmenu-1.2-Makefile.patch @@ -0,0 +1,28 @@ +--- 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,14 +19,14 @@ + + # 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) 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 000000000000..ffc8d274ec3c --- /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/metadata.xml b/x11-plugins/wmmenu/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /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.ebuild b/x11-plugins/wmmenu/wmmenu-1.2.ebuild new file mode 100644 index 000000000000..df2e99f226e0 --- /dev/null +++ b/x11-plugins/wmmenu/wmmenu-1.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmenu/wmmenu-1.2.ebuild,v 1.1 2004/12/22 11:13:29 s4t4n Exp $ + +inherit eutils + +IUSE="gnome" +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="~x86" +DEPEND="virtual/x11 + >=x11-libs/libdockapp-0.5.0-r1 + gnome? ( media-libs/gdk-pixbuf )" + +src_unpack() +{ + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-support-libdockapp-0.5.0.patch + epatch ${FILESDIR}/${P}-Makefile.patch +} + +src_compile() +{ + GDKPIXBUF="" + if use gnome; then + GDKPIXBUF="GDKPIXBUF=1" + fi + + emake ${GDKPIXBUF} EXTRACFLAGS="${CFLAGS}" || die "Compilation failed" +} + +src_install () +{ + dobin wmmenu + doman wmmenu.1 + dodoc COPYING README TODO example/apps example/defaults example/extract_icon_back +} |