summaryrefslogtreecommitdiff
path: root/x11-plugins/wmSun
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/wmSun
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmSun')
-rw-r--r--x11-plugins/wmSun/Manifest8
-rw-r--r--x11-plugins/wmSun/files/wmSun-1.03-makefile.patch45
-rw-r--r--x11-plugins/wmSun/metadata.xml13
-rw-r--r--x11-plugins/wmSun/wmSun-1.03-r1.ebuild38
-rw-r--r--x11-plugins/wmSun/wmSun-1.05.ebuild33
5 files changed, 137 insertions, 0 deletions
diff --git a/x11-plugins/wmSun/Manifest b/x11-plugins/wmSun/Manifest
new file mode 100644
index 000000000000..083501a9f95e
--- /dev/null
+++ b/x11-plugins/wmSun/Manifest
@@ -0,0 +1,8 @@
+AUX wmSun-1.03-makefile.patch 1127 SHA256 e4282e225e18edac87fa72ebb3ce6112144a69f3760f285c1a6d16da33c0a66f SHA512 2d27a68c67a4d8bc121db0870cc5373b8499be9cc0a20e50e8065658570b470c4c0362f8a1f254e76eeb7b2ae98275946f1b46d9470f4fd3389c4f914363ca8e WHIRLPOOL 971e5da870c07d1eb6860b83ee6549ded5619829b6d907968743e732e189cb1cd00849e9103be3053845120f115a1058c77e1f66d705538e18723566eddb4769
+DIST wmSun-1.03.tar.gz 49744 SHA256 a46e11680d4625589d4d91030e17916c02405451e60d366340668a01597c4ea2 SHA512 d12eb1ed1e409bb9470d9e504f2b1a8319cba7724ac0ce09d0f9a4faa7967b4a546d614a6b20ccfe67929799cd93e7c9ddda5011b40923e4dda817c33482ed53 WHIRLPOOL 1e81176b48f79ec44548478a4a5474103a774dae3cf471abdb4cc82c9186079837e7123a7992dd08ffe62783270702993ac46db9cb2c5a556b72c009a744010a
+DIST wmsun-1.05.tar.gz 20680 SHA256 c70429aa8c201f3135bcea1c6ab441d3441bda399d8766824b9e506e9c85db69 SHA512 baa610db04ba67ca09112765e28c0fa945a98a61b642925dbaaa56a5b3e7da7424d8dd15097dcec932e3b603219d1f8806c0e50c025370226a157791f16911da WHIRLPOOL 2002a90c39369fec6a5567e32c4445d50f9fc5b5b07b70a2de6bb7f720ea68480249587346a519316dc96925b794273d9662f72815d7ab04cc8e748e5bc3244c
+EBUILD wmSun-1.03-r1.ebuild 892 SHA256 e9cdab27ce4e328533c8bc97432c94307b29966c431a77f71bc5b1af1c2aa5bb SHA512 692ef9402d67f60a456fc5b76870399374d3e762085cded0f60d76bccf96617c8566687d38035bf7c344049b74dbd49e33339ec39dbdc5e581a440bee52cbf51 WHIRLPOOL 34bfcbbc5c416a1e1fabfac6760561e0b649d25b49267ec7f8f5a27664192faab97e1b3da829ca49ce1deb0b80d6fa80dd1758d18df16560bc6252e75a2380bd
+EBUILD wmSun-1.05.ebuild 719 SHA256 0c349ef0443f9d1c79539af10ad9d58ce206719a0f455d77ee9ad158dde8601b SHA512 bc8b51eb4912b9c81b678df8f8c7a9e3d2ea68ad279547d7b416dd40d8ece1bf517ffdff522f174216a61be83664858acd3e7538b799fc0e91b7bf76692e2f68 WHIRLPOOL e0caae40b3572ef0fb7d3f2ab32348b9a37c3cec7e10f1ff45e47c4bfcd6115c8724fe672ac2b37beda6e001ed5ba8fe7015120736e9e1150936e66a200f4146
+MISC ChangeLog 3770 SHA256 fc42495f132a67c78cde03ea08faa418f9d9576eb602a44c4538e7edd2233775 SHA512 de264fffc4e3822d3eb5ebd65bef3cf92934076ae812a1959936f5e9877da68da1895e62523d15cf8ddd81eec8af97573ffe948e357279ffe2116197577e8951 WHIRLPOOL 7f037384f4b24c9b26c873eb061e458b3e82a8fce67fdc5cca1d16946e0c67cc0ca8679cad2bc9416604841f53452b165c905c0ee32786013308b018dd50be79
+MISC ChangeLog-2015 1728 SHA256 90f9c60266449a2579c2b20afc2160bc2f56946600e56d6e492794c860f49fc5 SHA512 b0f67a41a96b335230b6af5b8799e6063c182fb42b491541284c041022bb60f25b734ffd560ed79891861098abbb3d99d5fd6dda65e98bffcdac9525b611f071 WHIRLPOOL 6ab2f3e37fbc7d8260152596f0a2d203b51cc0883a2a6ebf98471fc6572d15418dc2e88ae9c69c71858ea1e1f0b27c2851a2da7a2d482958ea8ebb67f0d9e027
+MISC metadata.xml 498 SHA256 3b05a614c41500178d000237f349867bc1462ee19367c1e54f6fa38a9f903d7d SHA512 e94d3712d961ae49fdb73b15a70270915cfcdaacf95acb7176c35d64ba6b186d6144d55f4c6e1eed36d33656ed82ced988ece1a38f08a5b08658db063d1ce3df WHIRLPOOL ca9566cf5378f228718916ee526dca3da982e9995425a5b506e05e1013f747e260b4e8094f278be24277f0989c247bfcea6613314bbcf82b0f8607d5fd49f248
diff --git a/x11-plugins/wmSun/files/wmSun-1.03-makefile.patch b/x11-plugins/wmSun/files/wmSun-1.03-makefile.patch
new file mode 100644
index 000000000000..c12f6771e4db
--- /dev/null
+++ b/x11-plugins/wmSun/files/wmSun-1.03-makefile.patch
@@ -0,0 +1,45 @@
+--- Makefile.orig 1999-01-06 03:28:39.000000000 +0100
++++ Makefile 2008-01-28 14:58:36.000000000 +0100
+@@ -1,8 +1,9 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall
+-INCDIR = -I/usr/X11R6/include/X11
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++CC ?= gcc
++CFLAGS += -Wall
++INCDIR = -I/usr/include/X11
++PREFIX = /usr
++LIBDIR ?= /usr/lib
++MANDIR = $(PREFIX)/share/man
+
+
+
+@@ -22,14 +23,14 @@
+
+
+ .c.o:
+- $(CC) $(COPTS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
++ $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+
+
+ all: wmSun.o wmSun
+
+ wmSun.o: wmSun_master.xpm wmSun_mask.xbm
+ wmSun: $(OBJS)
+- $(CC) $(COPTS) $(SYSTEM) -lm -o wmSun $^ $(INCDIR) $(LIBDIR) $(LIBS)
++ $(CC) $(CFLAGS) -o wmSun $^ $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS) -lm
+
+ clean:
+ for i in $(OBJS) ; do \
+@@ -38,6 +39,8 @@
+ rm -f wmSun
+
+ install:: wmSun
+- install -s -m 0755 wmSun $(DESTDIR)/bin
+- install -m 0644 wmSun.1 $(DESTDIR)/man/man1
++ install -d $(DESTDIR)$(PREFIX)/bin
++ install -m 0755 wmSun $(DESTDIR)$(PREFIX)/bin
++ install -d $(DESTDIR)$(MANDIR)/man1
++ install -m 0644 wmSun.1 $(DESTDIR)$(MANDIR)/man1
+
diff --git a/x11-plugins/wmSun/metadata.xml b/x11-plugins/wmSun/metadata.xml
new file mode 100644
index 000000000000..1309d47d139e
--- /dev/null
+++ b/x11-plugins/wmSun/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+ wmSun shows rise/set times for the Sun. The user needs to supply his/her
+ latitude and longitude. wmSun works for all latitudes (when Sun does not rise
+ or set, a --:-- is shown for the relevant entry).
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-plugins/wmSun/wmSun-1.03-r1.ebuild b/x11-plugins/wmSun/wmSun-1.03-r1.ebuild
new file mode 100644
index 000000000000..f3fdc46d24bd
--- /dev/null
+++ b/x11-plugins/wmSun/wmSun-1.03-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="dockapp which displays the rise/set time of the sun"
+HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/16"
+SRC_URI="http://dockapps.windowmaker.org/download.php/id/23/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ~mips ppc sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto"
+
+S="${WORKDIR}/${P}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ emake clean || die "make clean failed"
+ emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "parallel make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc README ../{BUGS,TODO}
+}
diff --git a/x11-plugins/wmSun/wmSun-1.05.ebuild b/x11-plugins/wmSun/wmSun-1.05.ebuild
new file mode 100644
index 000000000000..339a3b82f1f7
--- /dev/null
+++ b/x11-plugins/wmSun/wmSun-1.05.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib toolchain-funcs
+
+MY_P=${P/S/s}
+DESCRIPTION="dockapp which displays the rise/set time of the sun"
+HOMEPAGE="http://www.dockapps.net/wmsun"
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~mips ~ppc sparc x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/libdockapp-0.7:=
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ dodoc README {BUGS,TODO}
+}