summaryrefslogtreecommitdiff
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/wmmsg
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
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/wmmsg')
-rw-r--r--x11-plugins/wmmsg/Manifest1
-rw-r--r--x11-plugins/wmmsg/files/wmmsg-1.0.1-alt-desktop.patch11
-rw-r--r--x11-plugins/wmmsg/files/wmmsg-1.0.1-use_gtk2.patch44
-rw-r--r--x11-plugins/wmmsg/metadata.xml11
-rw-r--r--x11-plugins/wmmsg/wmmsg-1.0.1-r1.ebuild34
-rw-r--r--x11-plugins/wmmsg/wmmsg-1.0.1.ebuild32
6 files changed, 133 insertions, 0 deletions
diff --git a/x11-plugins/wmmsg/Manifest b/x11-plugins/wmmsg/Manifest
new file mode 100644
index 000000000000..167df3d09754
--- /dev/null
+++ b/x11-plugins/wmmsg/Manifest
@@ -0,0 +1 @@
+DIST wmmsg-1.0.1.tar.gz 322551 SHA256 06ddd1e4bf010617cf41cc877aa744ab74bad7992d9e95a95df5157bd633b850
diff --git a/x11-plugins/wmmsg/files/wmmsg-1.0.1-alt-desktop.patch b/x11-plugins/wmmsg/files/wmmsg-1.0.1-alt-desktop.patch
new file mode 100644
index 000000000000..5a7135d7cc30
--- /dev/null
+++ b/x11-plugins/wmmsg/files/wmmsg-1.0.1-alt-desktop.patch
@@ -0,0 +1,11 @@
+--- wmmsg-1.0.1/src/wmmsg/wmmsg.c.vns 2003-02-04 06:40:12 +0300
++++ wmmsg-1.0.1/src/wmmsg/wmmsg.c 2006-03-26 21:42:45 +0400
+@@ -144,7 +144,7 @@
+ WMMSG_MASK_WIDTH, WMMSG_MASK_HEIGHT);
+ openXwindow (argc, argv, wmmsg_xpm, global_wmmsg_mask_bits,
+ WMMSG_MASK_WIDTH, WMMSG_MASK_HEIGHT);
+- global_win_workspace = XInternAtom(display, "_WIN_WORKSPACE", 0);
++ global_win_workspace = XInternAtom(display, "_NET_CURRENT_DESKTOP", 0);
+
+ //add clickable regions
+ for(i = 0; i < MESSAGES_PER_SCREEN; i++)
diff --git a/x11-plugins/wmmsg/files/wmmsg-1.0.1-use_gtk2.patch b/x11-plugins/wmmsg/files/wmmsg-1.0.1-use_gtk2.patch
new file mode 100644
index 000000000000..6bdc05e36237
--- /dev/null
+++ b/x11-plugins/wmmsg/files/wmmsg-1.0.1-use_gtk2.patch
@@ -0,0 +1,44 @@
+diff -ur wmmsg-1.0.1.orig/configure.in wmmsg-1.0.1/configure.in
+--- wmmsg-1.0.1.orig/configure.in 2004-10-04 19:57:13.000000000 +0300
++++ wmmsg-1.0.1/configure.in 2008-03-12 17:45:29.000000000 +0200
+@@ -17,11 +17,6 @@
+ AM_MAINTAINER_MODE
+
+ # get options
+-AC_ARG_WITH(gtk,
+- [ --with-gtk=DIR use gtk in <DIR>],
+- [CFLAGS="$CFLAGS -I$withval/include"
+- LIBS="-L$withval/lib $LIBS"])
+-
+ AC_ARG_WITH(imlib2,
+ [ --with-imlib2=DIR use imlib2 in <DIR>],
+ [CFLAGS="$CFLAGS -I$withval/include"
+@@ -32,10 +27,9 @@
+ AC_CHECK_LIB([m], [sin])
+
+ # Check for glib/gtk stuff
+-AM_PATH_GLIB(1.2.2,,AC_MSG_ERROR([*** GLIB >= 1.2.2 not installed - please insta
+-ll first ***]))
+-AM_PATH_GTK(1.2.2,,AC_MSG_ERROR([*** GTK+ >= 1.2.2 not installed - please instal
+-l first ***]),gthread)
++PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.0.0])
++AC_SUBST(GTK_CFLAGS)
++AC_SUBST(GTK_LIBS)
+
+ # check for Imlib2
+ AC_PATH_GENERIC(imlib2, 1.0.0, [
+diff -ur wmmsg-1.0.1.orig/Makefile.am wmmsg-1.0.1/Makefile.am
+--- wmmsg-1.0.1.orig/Makefile.am 2003-03-26 09:08:21.000000000 +0200
++++ wmmsg-1.0.1/Makefile.am 2008-03-12 17:42:48.000000000 +0200
+@@ -3,8 +3,9 @@
+ bin_PROGRAMS = wmmsg wmmsg_notify
+ wmmsg_SOURCES = src/wmmsg/wmconfig.c src/wmmsg/wmmsg.c src/wmmsg/getopt.c src/wmgeneral/wmgeneral.c src/wmgeneral/misc.c src/wmgeneral/list.c
+ wmmsg_notify_SOURCES = src/wmmsg/wmmsg_notify.c src/wmmsg/getopt.c
+-INCLUDES = -I/usr/X11R6/include -I$(prefix)/include -I$(includedir) -I. `glib-config --cflags` `gtk-config --cflags` `imlib2-config --cflags`
+-AM_LDFLAGS = -lX11 -lXext -lXpm -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib `glib-config --libs` `gtk-config --libs` `imlib2-config --libs`
++INCLUDES = -I$(prefix)/include -I$(includedir) -I. `pkg-config --cflags gtk+-2.0` `imlib2-config --cflags`
++wmmsg_LDADD = -lX11 -lXext -lXpm -L/usr/lib -L/usr/local/lib $(GTK_LIBS) $(IMLIB_LIBS)
++wmmsg_notify_LDADD = $(wmmsg_LDADD)
+
+ man1_MANS = man/wmmsg.1 man/wmmsg_notify.1
+ man_MANS =
diff --git a/x11-plugins/wmmsg/metadata.xml b/x11-plugins/wmmsg/metadata.xml
new file mode 100644
index 000000000000..777b90c5ded1
--- /dev/null
+++ b/x11-plugins/wmmsg/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-dock</herd>
+<longdescription>
+wmmsg is a dockapp that informs you of new events, such as incoming chat
+messages, by displaying related icons and arrival times. A notification
+program, wmmsg_notify, is included to send events to the dockapp. This can be
+called from messaging clients, or any other useful location.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-plugins/wmmsg/wmmsg-1.0.1-r1.ebuild b/x11-plugins/wmmsg/wmmsg-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..27fa6d845dd2
--- /dev/null
+++ b/x11-plugins/wmmsg/wmmsg-1.0.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="a dockapp that informs events, such as incoming chat messages, by displaying icons and times"
+HOMEPAGE="http://swapspace.net/~matt/wmmsg"
+SRC_URI="http://swapspace.net/~matt/wmmsg/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ media-libs/imlib2
+ x11-libs/libXpm
+ x11-libs/libXext
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-libs/libXt"
+
+DOCS="AUTHORS ChangeLog README wmmsgrc"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-use_gtk2.patch \
+ "${FILESDIR}"/${P}-alt-desktop.patch
+
+ eautoreconf
+}
diff --git a/x11-plugins/wmmsg/wmmsg-1.0.1.ebuild b/x11-plugins/wmmsg/wmmsg-1.0.1.ebuild
new file mode 100644
index 000000000000..8e005aa0fbaf
--- /dev/null
+++ b/x11-plugins/wmmsg/wmmsg-1.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="a dockapp that informs events, such as incoming chat messages, by displaying icons and times"
+HOMEPAGE="http://swapspace.net/~matt/wmmsg"
+SRC_URI="http://swapspace.net/~matt/wmmsg/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ media-libs/imlib2
+ x11-libs/libXpm
+ x11-libs/libXext
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-libs/libXt"
+
+DOCS="AUTHORS ChangeLog README wmmsgrc"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-use_gtk2.patch
+
+ eautoreconf
+}