summaryrefslogtreecommitdiff
path: root/x11-plugins/wmtimer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmtimer
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmtimer')
-rw-r--r--x11-plugins/wmtimer/Manifest10
-rw-r--r--x11-plugins/wmtimer/files/wmtimer-2.92-counter-fix.patch23
-rw-r--r--x11-plugins/wmtimer/files/wmtimer-2.92-list.patch120
-rw-r--r--x11-plugins/wmtimer/files/wmtimer-counter-fix.patch22
-rw-r--r--x11-plugins/wmtimer/metadata.xml15
-rw-r--r--x11-plugins/wmtimer/wmtimer-2.92-r1.ebuild42
-rw-r--r--x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild46
-rw-r--r--x11-plugins/wmtimer/wmtimer-2.92.ebuild40
8 files changed, 318 insertions, 0 deletions
diff --git a/x11-plugins/wmtimer/Manifest b/x11-plugins/wmtimer/Manifest
new file mode 100644
index 000000000000..6f78fe3b0ce9
--- /dev/null
+++ b/x11-plugins/wmtimer/Manifest
@@ -0,0 +1,10 @@
+AUX wmtimer-2.92-counter-fix.patch 717 SHA256 94b385668e03803b351adfd70a5adea62b7771dae843b034685c9d08c25729e3 SHA512 c78820e8bca43649942c13c42ee944bab05e346e98ff405b49017cceb70241aa65f8a73dab2376194c399fabfb9ccd0a92fe5dae9dafd84d712f59a6be550076 WHIRLPOOL 108cf6a5a8f3815c5d7ccdfcd72391303fb35b4458852224ddb38dcbe76790b883f4758b49f003c6413eb723579fe6ef5d8f05428a12e266b56d0bc0e12d4c3a
+AUX wmtimer-2.92-list.patch 3323 SHA256 2c40a419f1b56a87733d121dedbd16ad8cffc25c1eb80b579ad01e501c459b9c SHA512 f7001d64ea1097a79b6b3b7d5b64cfd930d06567f8734b55868a04370480e469e5dffecec38ca421550235f2b0f84217efbd8ab278e0d44cacf37c723c626dd7 WHIRLPOOL 3aaad498e44a7aece23514de9ebb032316c23063b35810bdfdcf53d33db321d08578d8964c20b5889848ae3ed80aea1131cf69aedb2767d48ebab5df29f7964e
+AUX wmtimer-counter-fix.patch 597 SHA256 85deed43e3224fba6cc46c0212d99c0b5748d8fff7583a56a5543b593381ad4c SHA512 dda0947bcb511fa030a9238ff9732388f3e74aa111c97f2aec4c5220a8bb76f05460583c9999e22c35d642f5996974c862e5045c9df3ca495472f6be0b6896d1 WHIRLPOOL b92452f57dafb4bbf665117651a67a2150fe05578d4271069d4a2b72cc0e591b91d544054c97e120c819edfce7a5da436dfcba2d21902efefa1fc90bff606b6f
+DIST wmtimer-2.92.tar.gz 22091 SHA256 3726c0e0a0a95ce7c4c9dd8088b3f050d5268f70fef9341452f5449cef8c0cd4 SHA512 d00e2eff92c89b1a848d2319f62b2f060f4ced1299440aa20ca4288b5bdd16f7cff625907f6587514a1618fec74e5be34fb6c923cec51a663cd9efc86c6f0a07 WHIRLPOOL 203bd12691f1a6f9cda7966f6828adac653ae59f3c5878dbd9de15026e64d8a8025063d3bac4c8d35c5a45c2b77d52fcdafbe0f570cdf41f29c1bff8127bd582
+EBUILD wmtimer-2.92-r1.ebuild 989 SHA256 c78c8ec5c4d6c707c366c1cb5175c17a5c46a985ad023864fc706c2732e7f5fd SHA512 beed413e6b986e3406efcb774ad6b5977c9508afded69f6024d644a2b2d820d5bc6b5138e41dd3abda4837f1ccb293b17adf6298bc87bd496eed29b4cdbd93af WHIRLPOOL 437ba887c9dc45991b33e902650d2ec4f1be09bafc647d4057ae78fdab4a206a511806c513e436a51368636aa5feb99d50d4c2eca160eaaf11240703f0f487d9
+EBUILD wmtimer-2.92-r2.ebuild 1060 SHA256 9d42aedfbdb368ea823e76125403b1a99c771e7e77b389b7503a7fa17106e892 SHA512 3b393bf8ead41c636ed46c065e78b5980618833b8ec40f9de5f9bc2600cf0e82bd243f56113b8133049d99190f76f4434920c1c318d71dd7817d0e669375993a WHIRLPOOL 7e8605d8bcba9319bf78f7f38d314b9bd87e5535064acab7abb3d0daa429862f3c34ddd5591e447f6f63459edb4eb4e61b071270c735714b68bfb632a79494c5
+EBUILD wmtimer-2.92.ebuild 886 SHA256 fd641fb3882de03c92c9b155b67ef3f509dcb67d17e25a1a39b927560e7c4075 SHA512 3cc9e44ada8ad1a80506a07b49565febcd64c84b77d3a8ee9d09d2ca441058885a991b0b684734cc3b5ef72a162eb3d0483bb7473687fcaf2b4219d440c1b879 WHIRLPOOL 8927cd34c8677df85741a0d3a7cfa9de045d984cdb83c3e865ec0fd92416761c306c3176d832fa540b5ca211e2234cc0277e0b081a2ae235016bbde685792718
+MISC ChangeLog 3302 SHA256 ae84d07b02bccd90a563ee995d648faa7a078980f663f2a26949e379a4b7fe9e SHA512 7c30b7609cff713f8da4989284896be2d0eac038837d84354ba9a65c1f9443cd56c7736ed52be7b8fa7b363e32bc775d3b19226f8056496d886ae7188d7121ed WHIRLPOOL 1a0e058c4ba2c8d6eadaff2e047146ea1875625a50d2ef9e266a02d2d73f7c403cffcfdc3322d506b94afb013475f627536ad741be0b4e6a2bcf4738cd14c77d
+MISC ChangeLog-2015 3780 SHA256 aee52ab093570232676c5cc714caa540fba62429b4c9c11164372c3d8ee00b9c SHA512 1775407d1d4e90489a8588b1d82ffeb550011ba29a2720ce283f52141af1e0a24f419b791922d7de10dc153334234dd619c7836f84a7475a226e04eb332582ac WHIRLPOOL dae94dd56e4377128a0126c6d4f2e4853bbc4f963d88d0ec3c9c6a356998568706e59055c199e88c6779e374ba398e75973ad23bc11535309c38ac76daa3f256
+MISC metadata.xml 589 SHA256 79dbff33d003550880815fa0f623db895663e18af4c09310886145d64788fab6 SHA512 dc1b93fd82bf9427f16bc44056278b8869d216769de5784b137d73196e059166e083c355b444e5435c959af64c1085af159a704e48646dd23dc8c28afd4f671b WHIRLPOOL 0fec2d26dc091d8341da443decc9dd3cf25a51b6a66ebfc36ce15db0b83f700eb30b3b06fecccdfa4b672e8557c6b507261e889fbbd30614d6e9ddbe8c22ae4c
diff --git a/x11-plugins/wmtimer/files/wmtimer-2.92-counter-fix.patch b/x11-plugins/wmtimer/files/wmtimer-2.92-counter-fix.patch
new file mode 100644
index 000000000000..b949e2885f78
--- /dev/null
+++ b/x11-plugins/wmtimer/files/wmtimer-2.92-counter-fix.patch
@@ -0,0 +1,23 @@
+diff -Naur wmtimer-2.92.orig/wmtimer/wmtimer.c wmtimer-2.92/wmtimer/wmtimer.c
+--- wmtimer-2.92.orig/wmtimer/wmtimer.c 2004-01-29 03:45:48.000000000 +0100
++++ wmtimer-2.92/wmtimer/wmtimer.c 2016-06-08 14:17:40.039581673 +0200
+@@ -128,7 +128,8 @@
+ switch (mode)
+ {
+ case TIMER:
+- if (prevSec < thisTime->tm_sec)
++ if ( (prevSec < thisTime->tm_sec)
++ || ((prevSec == 59) && (thisTime->tm_sec == 0)))
+ {
+ decrementTimer();
+ updateACT();
+@@ -138,7 +139,8 @@
+ prevSec = thisTime->tm_sec;
+ break;
+ case CHRONO:
+- if (prevSec < thisTime->tm_sec)
++ if ( (prevSec < thisTime->tm_sec)
++ || ((prevSec == 59) && (thisTime->tm_sec == 0)))
+ {
+ incrementTimer();
+ updateACT();
diff --git a/x11-plugins/wmtimer/files/wmtimer-2.92-list.patch b/x11-plugins/wmtimer/files/wmtimer-2.92-list.patch
new file mode 100644
index 000000000000..57314929f8eb
--- /dev/null
+++ b/x11-plugins/wmtimer/files/wmtimer-2.92-list.patch
@@ -0,0 +1,120 @@
+diff -Naur wmtimer-2.92.orig/wmgeneral/list.c wmtimer-2.92/wmgeneral/list.c
+--- wmtimer-2.92.orig/wmgeneral/list.c 1999-12-23 16:01:39.000000000 +0100
++++ wmtimer-2.92/wmgeneral/list.c 2016-06-08 14:11:02.027179589 +0200
+@@ -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;
+@@ -110,7 +110,7 @@
+ }
+ } */
+
+-INLINE LinkedList * list_remove_elem (LinkedList * list, void *elem)
++LinkedList * list_remove_elem (LinkedList * list, void *elem)
+ {
+ LinkedList *tmp;
+
+@@ -131,7 +131,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 +144,7 @@
+
+ /* Free list (backwards recursive) */
+
+-INLINE void list_free (LinkedList * list)
++void list_free (LinkedList * list)
+ {
+ if (list)
+ {
+@@ -155,7 +155,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 wmtimer-2.92.orig/wmgeneral/list.h wmtimer-2.92/wmgeneral/list.h
+--- wmtimer-2.92.orig/wmgeneral/list.h 1999-12-23 16:01:39.000000000 +0100
++++ wmtimer-2.92/wmgeneral/list.h 2016-06-08 14:11:20.953198667 +0200
+@@ -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/wmtimer/files/wmtimer-counter-fix.patch b/x11-plugins/wmtimer/files/wmtimer-counter-fix.patch
new file mode 100644
index 000000000000..62f2a5a82795
--- /dev/null
+++ b/x11-plugins/wmtimer/files/wmtimer-counter-fix.patch
@@ -0,0 +1,22 @@
+--- wmtimer.c.orig 2004-01-29 02:45:48.000000000 +0000
++++ wmtimer.c 2008-10-17 20:49:05.000000000 +0100
+@@ -128,7 +128,8 @@
+ switch (mode)
+ {
+ case TIMER:
+- if (prevSec < thisTime->tm_sec)
++ if ( (prevSec < thisTime->tm_sec)
++ || ((prevSec == 59) && (thisTime->tm_sec == 0)))
+ {
+ decrementTimer();
+ updateACT();
+@@ -138,7 +139,8 @@
+ prevSec = thisTime->tm_sec;
+ break;
+ case CHRONO:
+- if (prevSec < thisTime->tm_sec)
++ if ( (prevSec < thisTime->tm_sec)
++ || ((prevSec == 59) && (thisTime->tm_sec == 0)))
+ {
+ incrementTimer();
+ updateACT();
diff --git a/x11-plugins/wmtimer/metadata.xml b/x11-plugins/wmtimer/metadata.xml
new file mode 100644
index 000000000000..82dd87786109
--- /dev/null
+++ b/x11-plugins/wmtimer/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>
+WMTimer is a dockable alarm clock for Windowmaker or Blackbox which can be run
+in alarm, countdown timer, or chronograph mode. In alarm or timer mode, you can
+either execute a command or sound the system bell when the time is reached.
+WMTimer is configurable through the command line or the GTK GUI.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-plugins/wmtimer/wmtimer-2.92-r1.ebuild b/x11-plugins/wmtimer/wmtimer-2.92-r1.ebuild
new file mode 100644
index 000000000000..66928b5aa639
--- /dev/null
+++ b/x11-plugins/wmtimer/wmtimer-2.92-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Dockable clock which can run in alarm, countdown timer or chronograph mode"
+HOMEPAGE="http://www.darkops.net/wmtimer"
+SRC_URI="http://www.darkops.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2
+ x11-libs/gtk+:2
+ x11-libs/libXpm
+ x11-libs/libXext
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${P}/${PN}
+
+src_prepare() {
+ sed -i -e "s:\$(CFLAGS)::" Makefile || die
+ sed -i -e "s:-g::g" Makefile || die
+ sed -i -e "s:-O2:\$(CFLAGS) ${CFLAGS}:" Makefile || die
+ sed -i -e "s:-o wmtimer:\$(LDFLAGS) -o wmtimer:" Makefile || die
+ epatch "${FILESDIR}"/${PN}-counter-fix.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LIBDIR="-L/usr/$(get_libdir)"
+}
+
+src_install() {
+ dobin wmtimer
+ dodoc ../{Changelog,CREDITS,README}
+}
diff --git a/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild b/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild
new file mode 100644
index 000000000000..8e3ca902fd6f
--- /dev/null
+++ b/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Dockable clock which can run in alarm, countdown timer or chronograph mode"
+HOMEPAGE="http://www.darkops.net/wmtimer"
+SRC_URI="http://www.darkops.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2
+ x11-libs/gtk+:2
+ x11-libs/libXpm
+ x11-libs/libXext
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${P}/${PN}
+
+src_prepare() {
+ sed -i -e "s:\$(CFLAGS)::" Makefile || die
+ sed -i -e "s:-g::g" Makefile || die
+ sed -i -e "s:-O2:\$(CFLAGS) ${CFLAGS}:" Makefile || die
+ sed -i -e "s:-o wmtimer:\$(LDFLAGS) -o wmtimer:" Makefile || die
+
+ cd "${WORKDIR}"/${P} || die
+ eapply "${FILESDIR}"/${P}-counter-fix.patch
+ eapply "${FILESDIR}"/${P}-list.patch
+ eapply_user
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LIBDIR="-L/usr/$(get_libdir)"
+}
+
+src_install() {
+ dobin wmtimer
+ dodoc ../{Changelog,CREDITS,README}
+}
diff --git a/x11-plugins/wmtimer/wmtimer-2.92.ebuild b/x11-plugins/wmtimer/wmtimer-2.92.ebuild
new file mode 100644
index 000000000000..0d5ae3d2433a
--- /dev/null
+++ b/x11-plugins/wmtimer/wmtimer-2.92.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Dockable clock which can run in alarm, countdown timer or chronograph mode"
+HOMEPAGE="http://www.darkops.net/wmtimer"
+SRC_URI="http://www.darkops.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ x11-libs/libXpm
+ x11-libs/libXext
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${P}/${PN}
+
+src_prepare() {
+ sed -e "s:\$(CFLAGS)::" -i Makefile
+ sed -e "s:-g::g" -i Makefile
+ sed -e "s:-O2:\$(CFLAGS) ${CFLAGS}:" -i Makefile
+ sed -e "s:-o wmtimer:\$(LDFLAGS) -o wmtimer:" -i Makefile
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LIBDIR="-L/usr/$(get_libdir)"
+}
+
+src_install() {
+ dobin wmtimer
+ dodoc ../{Changelog,CREDITS,README}
+}