diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmmsg |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmmsg')
-rw-r--r-- | x11-plugins/wmmsg/Manifest | 10 | ||||
-rw-r--r-- | x11-plugins/wmmsg/files/wmmsg-1.0.1-alt-desktop.patch | 11 | ||||
-rw-r--r-- | x11-plugins/wmmsg/files/wmmsg-1.0.1-list.patch | 132 | ||||
-rw-r--r-- | x11-plugins/wmmsg/files/wmmsg-1.0.1-use_gtk2.patch | 44 | ||||
-rw-r--r-- | x11-plugins/wmmsg/metadata.xml | 15 | ||||
-rw-r--r-- | x11-plugins/wmmsg/wmmsg-1.0.1-r1.ebuild | 34 | ||||
-rw-r--r-- | x11-plugins/wmmsg/wmmsg-1.0.1-r2.ebuild | 36 | ||||
-rw-r--r-- | x11-plugins/wmmsg/wmmsg-1.0.1.ebuild | 31 |
8 files changed, 313 insertions, 0 deletions
diff --git a/x11-plugins/wmmsg/Manifest b/x11-plugins/wmmsg/Manifest new file mode 100644 index 000000000000..3d9c371af36e --- /dev/null +++ b/x11-plugins/wmmsg/Manifest @@ -0,0 +1,10 @@ +AUX wmmsg-1.0.1-alt-desktop.patch 528 SHA256 fcb9b9f711955ea8e1bc7f4c8240079ae361025f919f6189060f378e1f2e8fe6 SHA512 498c6952375db4118037c30484190008cb5767d52e0594ccc2637e19ca77918ef44f605ca87d7e6ac8cf263655a877068716daa679c5d0ad46630a178fdaf2ad WHIRLPOOL dff5af22c4420a53008e56040b82c3cfbf7386a28290c488009011a06a1248bdf1543b9aa9952a32a3a8780ea54139b4819aece6c07bf8f76c54cbe0888664ae +AUX wmmsg-1.0.1-list.patch 3607 SHA256 a7f9d1f0375788273c4af7a837293550516ea309cae460377dfd76223b43d954 SHA512 db901202fcb415cb37995ec05388f6be9f35f71ec5b45309426cbc47bf68188c68c297ce296d176a10252d987c2ca07f6fd79545e27602559de78edd88b9f28c WHIRLPOOL 87c10ea89564cc9057b898da2345e285c5569301ee2bbebf8034d81f845d23a2fd2ddef0c401751fe391740a14fdf822b85d25f20b053dd1e88e305ced280aeb +AUX wmmsg-1.0.1-use_gtk2.patch 1994 SHA256 6f9dff1a262928d0e2c240b61c2a69a88de721a0dab1b01c8c7bba26854a2abb SHA512 85c3ba7778c41682e463c13547b78e474ff717ef292495037c9db58073416edc133083f30ce0ea1a2509ea545a48a1b1f5dc634e2d1cf79a4f0a8d0df74f6d50 WHIRLPOOL 4e97302fe8c44939a447a7dd0ba606f7bf1d24fb58c617f183b7b8ae089ef807cdf9c40f5c04240d225df64e5ec42aec197dfc5952b58158e5597a6bcbdf0ac0 +DIST wmmsg-1.0.1.tar.gz 322551 SHA256 06ddd1e4bf010617cf41cc877aa744ab74bad7992d9e95a95df5157bd633b850 SHA512 6897a6cb48d88536bf9bde4ae824ddeba7953618666aca24202d9d21865d63c9d0d28a306b8f249da8052715be706a02de12c90c14718b1b3bd41d3803dd6abe WHIRLPOOL 25648ab5f296c64493f538aec8554e1de67d5b4e8c031d737ac8fb74b1d6b64471af9056aa13d8b66afbedc677aed58bf96034498a0959dcca2c37cb2de7bbfc +EBUILD wmmsg-1.0.1-r1.ebuild 707 SHA256 b4f0a3d7cf313a2a95b7511dc950985044bec5d32a99be98bea13f2c7b51e3c4 SHA512 6d2f5591226266bb1010d1694dbf3d759b3b43ccad4f85f691f7bf498c21aaaa2649f0c6867f3b7b697998d204a9f1ed255c007ca5561a39ca11374caaeb27c0 WHIRLPOOL 81e6099ed09f5709a72ae52f89b9cff748d07099243ed842b80aef62c0a0f165f758a08956762d22ba415a9b7e2d1957df9aa689511f84894241b154bc84d249 +EBUILD wmmsg-1.0.1-r2.ebuild 709 SHA256 0e9395313a6f19e549b26c2024a7fcf67d5046d14736fe6394c2788703940b68 SHA512 79c3bff775a3b41b0a15b7613ad2fdf324adee2721055c1dc0bcd8a9b27424bdec378e5b802a27ed25de704ce815d3f15de6e328cd4f9b049cfb2a25945e753b WHIRLPOOL d5ce7b7bc33dcee38b0a4da97f5f418ad411ae1fb95be85fdf02fe4ad59ec7b1b05b18c43d577b28999fee1a5ee5b7422d33a83b9f1a06d982ebf6c1ca897ad5 +EBUILD wmmsg-1.0.1.ebuild 627 SHA256 f64de5c176db93386e10832d21dc0cf130426969a559af205c9aa74a360e27f7 SHA512 a9cab7876cd8941cbc22dc2adabaea1908050d77c1681dd0d21c4534fb83e143a3a88b4fbc6966b052412f0e6f69b4fc6c9cc8294f08686a7ba0753cca79b9ab WHIRLPOOL 9c3f6cc8354c6562a0ae3cbc4b244177fa777460761b3fd6d54e8fd83d8fee044dc89c4d860cfd9560014f4d7dd3727d4ca6a9b2c0a24c3ef466c864bc827212 +MISC ChangeLog 3518 SHA256 400b5e99711744fe5d8b30a8702c73afceb6727f4e6684f378c3eb21d7d75ecf SHA512 5b4e83faeef6a503d88c2baf9f19c9366c808a282899679496a03a4c073b4da954467dd7a60873f0bed9ca9358d3bf0d1008ecfa77208ff08674b57761ec6ec0 WHIRLPOOL 87e85c385e62a6e7eaabeaf9473c3ee8115c5979a19aad147b93b25e63b55168fc3b73084bdb161345b42b9674b137b22be09f162f493ac95faa3fa9bd07ae43 +MISC ChangeLog-2015 2950 SHA256 b7f155536aba0ccc4eec3d9fecd1bc68baacb01cfb722a2b9df12a3ac20fb809 SHA512 53dfedbea092325936a8ad0e402579945c73a64b5a796357302f4405d4bacb7bde482017cf5eba9f278453ee554bccc535c3035c27f234245474f47d4eb68732 WHIRLPOOL 9eafeaaacdd10bcd0ce37e7e7e5c13cc1260b03041a5801b4c24045718ee10517ce33f6357418566dbb8795e430b28a3a040754797f284dbf3501cceab89427f +MISC metadata.xml 573 SHA256 5295d5ef857f1b0b666fdee9ca16f75e6c696de492d3d706a461b91902721716 SHA512 5e981d74ab3374dd1363805666abd6217712b2031088d4ae0401eb9f2a999f6a545e8ceb8a8031b131d5719f8e76d707a958f96098b7b5cde6b4225acafa20a6 WHIRLPOOL 32295bdab9288efbc9e4b817580b641ac1c5af2de9f703dd0362597dfec6ea14a681f0f2dc39adf87340b823bdbb931964d09635d679295b3a44e6efafe3bebe 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-list.patch b/x11-plugins/wmmsg/files/wmmsg-1.0.1-list.patch new file mode 100644 index 000000000000..76d2e26fbc61 --- /dev/null +++ b/x11-plugins/wmmsg/files/wmmsg-1.0.1-list.patch @@ -0,0 +1,132 @@ +diff -Naur wmmsg-1.0.1/src/wmgeneral.orig/list.c wmmsg-1.0.1/src/wmgeneral/list.c +--- wmmsg-1.0.1/src/wmgeneral.orig/list.c 2016-01-04 13:03:23.206828813 +0100 ++++ wmmsg-1.0.1/src/wmgeneral/list.c 2016-01-04 13:03:32.358832037 +0100 +@@ -38,7 +38,7 @@ + + /* Return a cons cell produced from (head . tail) */ + +-INLINE LinkedList * list_cons (void *head, LinkedList * tail) ++LinkedList * list_cons (void *head, LinkedList * tail) + { + LinkedList *cell; + +@@ -50,7 +50,7 @@ + + /* Return the length of a list, list_length(NULL) returns zero */ + +-INLINE int list_length (LinkedList * list) ++int list_length (LinkedList * list) + { + int i = 0; + while (list) +@@ -64,7 +64,7 @@ + /* Return the Nth element of LIST, where N count from zero. If N + larger than the list length, NULL is returned */ + +-INLINE void * list_nth (int index, LinkedList * list) ++void * list_nth (int index, LinkedList * list) + { + while (index-- != 0) + { +@@ -78,7 +78,7 @@ + + /* Remove the element at the head by replacing it by its successor */ + +-INLINE void list_remove_head (LinkedList ** list) ++void list_remove_head (LinkedList ** list) + { + if (!*list) + return; +@@ -98,19 +98,7 @@ + + + /* Remove the element with `car' set to ELEMENT */ +-/* +- INLINE void +- list_remove_elem(LinkedList** list, void* elem) +- { +- while (*list) +- { +- if ((*list)->head == elem) +- list_remove_head(list); +- *list = (*list ? (*list)->tail : NULL); +- } +- } */ +- +-INLINE LinkedList * list_remove_elem (LinkedList * list, void *elem) ++LinkedList * list_remove_elem (LinkedList * list, void *elem) + { + LinkedList *tmp; + +@@ -131,7 +119,7 @@ + + /* Return element that has ELEM as car */ + +-INLINE LinkedList * list_find (LinkedList * list, void *elem) ++LinkedList * list_find (LinkedList * list, void *elem) + { + while (list) + { +@@ -144,7 +132,7 @@ + + /* Free list (backwards recursive) */ + +-INLINE void list_free (LinkedList * list) ++void list_free (LinkedList * list) + { + if (list) + { +@@ -155,7 +143,7 @@ + + /* Map FUNCTION over all elements in LIST */ + +-INLINE void list_mapcar (LinkedList * list, void (*function) (void *)) ++void list_mapcar (LinkedList * list, void (*function) (void *)) + { + while (list) + { +diff -Naur wmmsg-1.0.1/src/wmgeneral.orig/list.h wmmsg-1.0.1/src/wmgeneral/list.h +--- wmmsg-1.0.1/src/wmgeneral.orig/list.h 2016-01-04 13:03:23.206828813 +0100 ++++ wmmsg-1.0.1/src/wmgeneral/list.h 2016-01-04 13:03:46.741837100 +0100 +@@ -29,12 +29,6 @@ + #ifndef __LIST_H_ + #define __LIST_H_ + +-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +-#define INLINE inline +-#else +-#define INLINE +-#endif +- + typedef struct LinkedList + { + void *head; +@@ -42,20 +36,20 @@ + } + 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-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..6498eab3ceba --- /dev/null +++ b/x11-plugins/wmmsg/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +<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..ad4fa1fe3800 --- /dev/null +++ b/x11-plugins/wmmsg/wmmsg-1.0.1-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="universal visual notification dockapp" +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 \ + "${FILESDIR}"/${P}-list.patch + + eautoreconf +} diff --git a/x11-plugins/wmmsg/wmmsg-1.0.1-r2.ebuild b/x11-plugins/wmmsg/wmmsg-1.0.1-r2.ebuild new file mode 100644 index 000000000000..f08f03409638 --- /dev/null +++ b/x11-plugins/wmmsg/wmmsg-1.0.1-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="universal visual notification dockapp" +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[X] + x11-libs/libXpm + x11-libs/libXext + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-libs/libXt" + +DOCS=( AUTHORS ChangeLog README wmmsgrc ) +PATCHES=( + "${FILESDIR}"/${P}-use_gtk2.patch + "${FILESDIR}"/${P}-alt-desktop.patch + "${FILESDIR}"/${P}-list.patch + ) + +src_prepare() { + default + + 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..7d2b2096b4df --- /dev/null +++ b/x11-plugins/wmmsg/wmmsg-1.0.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="universal visual notification dockapp" +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 +} |