diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins | |
download | gentoo-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')
862 files changed, 18756 insertions, 0 deletions
diff --git a/x11-plugins/allin1/Manifest b/x11-plugins/allin1/Manifest new file mode 100644 index 000000000000..28dd9721fb19 --- /dev/null +++ b/x11-plugins/allin1/Manifest @@ -0,0 +1 @@ +DIST allin1-0.5.0.tar.gz 43905 SHA256 7710bdb5ade3131f6ca38391c0ee03af8d148e776618708fad5f732814df2a6f SHA512 2728bc86b59850dd3e928ea62f00e32bb06a1ea4b8dc3611b2fdc952de8decef7d9ac3c51ed3676d242b5de670270e19bf5783658c6651ae534154249d99a4e7 WHIRLPOOL 5ca994774edf7912a97205ed5ea831b4a9039b9d8845f25d6823ce8d7c9113e865f71671bfe01783e9fe64985959b43aa3eaa260556f05625657c8e523355b21 diff --git a/x11-plugins/allin1/allin1-0.5.0-r1.ebuild b/x11-plugins/allin1/allin1-0.5.0-r1.ebuild new file mode 100644 index 000000000000..38654f4933da --- /dev/null +++ b/x11-plugins/allin1/allin1-0.5.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="All in one monitoring dockapp: RAM, CPU, Net, Power, df, seti" +HOMEPAGE="http://ilpettegolo.altervista.org/linux_allin1.en.shtml" +SRC_URI="mirror://sourceforge/allinone/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_prepare() { + epatch "${FILESDIR}/makefile.patch" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin src/allin1 + doman docs/allin1.1 + dodoc README README.it TODO ChangeLog BUGS src/allin1.conf.example +} diff --git a/x11-plugins/allin1/allin1-0.5.0.ebuild b/x11-plugins/allin1/allin1-0.5.0.ebuild new file mode 100644 index 000000000000..4f171d47b079 --- /dev/null +++ b/x11-plugins/allin1/allin1-0.5.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="All in one monitoring dockapp: RAM, CPU, Net, Power, df, seti" +HOMEPAGE="http://ilpettegolo.altervista.org/linux_allin1.en.shtml" +SRC_URI="mirror://sourceforge/allinone/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_compile() { + emake CFLAGS="${CFLAGS}" || die "Compilation failed" +} + +src_install() { + dobin src/allin1 || die + doman docs/allin1.1 || die + dodoc README README.it TODO ChangeLog BUGS src/allin1.conf.example +} diff --git a/x11-plugins/allin1/files/makefile.patch b/x11-plugins/allin1/files/makefile.patch new file mode 100644 index 000000000000..20837b4488c4 --- /dev/null +++ b/x11-plugins/allin1/files/makefile.patch @@ -0,0 +1,23 @@ +--- src/Makefile.old 2012-10-24 13:12:48.128285694 +0200 ++++ src/Makefile 2012-10-24 13:19:56.135247071 +0200 +@@ -11,8 +11,9 @@ + + CC = gcc + FLEX = flex +-LIBFLAGS = -ggdb -Wall -O2 -fPIC +-CFLAGS = -ggdb -Wall -O2 ++LIBFLAGS = -fPIC ++CFLAGS = ++LDFLAGS = + GENERATED = allin1 confparse.c + LIBRARIES = -L/usr/X11R6/lib -lXext -lX11 -lXpm -lm + MODULES = allin1.o dockhelper.o memory.o battery.o cpu.o \ +@@ -58,7 +59,7 @@ + + + allin1: $(MODULES) +- $(CC) $(CFLAGS) -o $@ $(MODULES) -DDEBUG $(LIBRARIES) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MODULES) -DDEBUG $(LIBRARIES) + + + install: allin1 diff --git a/x11-plugins/allin1/metadata.xml b/x11-plugins/allin1/metadata.xml new file mode 100644 index 000000000000..4f220c971d27 --- /dev/null +++ b/x11-plugins/allin1/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription>Allin1 is a little dock applet for FluxBox and similar window managers which monitors CPU load with a moving graph, memory and swap usage with histograms, battery and power status with histogram and icons, and ethernet/PPP interfaces with icons and histograms (linear or logaritmic).</longdescription> + <upstream> + <remote-id type="sourceforge">allinone</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/asapm/Manifest b/x11-plugins/asapm/Manifest new file mode 100644 index 000000000000..c36651ab9021 --- /dev/null +++ b/x11-plugins/asapm/Manifest @@ -0,0 +1 @@ +DIST asapm-3.1.tar.gz 63203 SHA256 641fba8ffce21725ec63e49f03700174436c265aad2babcdfde4508af23a1b7b SHA512 01859deccba952428671fd77ce87251b1fe0c21221af13db9b14c9ef28babad11e1582fed02b076f16d66bdab398eeb7a48b5e3cdebcb4e153978e04f022a579 WHIRLPOOL 1cd977520e6bab36275b095b6b79d56ef4be4636ed6752c7f993696cb24cdfb622e9fa4e122e982d0ecacafae76bf666253b80b3cb46e2aa949aca1c82e2614b diff --git a/x11-plugins/asapm/asapm-3.1-r1.ebuild b/x11-plugins/asapm/asapm-3.1-r1.ebuild new file mode 100644 index 000000000000..e2d849a819cb --- /dev/null +++ b/x11-plugins/asapm/asapm-3.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils toolchain-funcs + +DESCRIPTION="APM monitor for AfterStep" +HOMEPAGE="http://tigr.net/afterstep/applets/" +SRC_URI="http://www.tigr.net/afterstep/download/asapm/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc -sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm" + +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_prepare() { + epatch "${FILESDIR}"/${P}-{ldflags,include,autoconf}.patch + cp autoconf/configure.in . || die + AT_M4DIR=autoconf eautoconf + tc-export CC +} + +src_install() { + dobin asapm + newman asapm.man asapm.1 + dodoc CHANGES README TODO NOTES +} diff --git a/x11-plugins/asapm/files/asapm-3.1-autoconf.patch b/x11-plugins/asapm/files/asapm-3.1-autoconf.patch new file mode 100644 index 000000000000..0051d49ac8a8 --- /dev/null +++ b/x11-plugins/asapm/files/asapm-3.1-autoconf.patch @@ -0,0 +1,21 @@ +--- a/autoconf/configure.in ++++ b/autoconf/configure.in +@@ -59,7 +59,6 @@ + AC_CHECK_HEADERS(sys/wait.h sys/time.h) + AC_CHECK_HEADERS(sys/statvfs.h sys/vfs.h sys/mount.h ustat.h) + AC_CHECK_HEADERS(machine/soundcard.h linux/soundcard.h linux/radio.h) +-AC_CONFIG_HEADER(config.h) + + dnl# Check for X + +@@ -117,10 +116,6 @@ + AC_SUBST(with_gnustep_lib) + AC_SUBST(with_afterdir) + +-dnl# Write results +- +-AC_CONFIG_HEADER(config.h) +- + dnl# Common parts of the Makefile + MAKEFILEDEFINES=./autoconf/Makefile.defines + MAKEFILECOMMON=./autoconf/Makefile.common diff --git a/x11-plugins/asapm/files/asapm-3.1-include.patch b/x11-plugins/asapm/files/asapm-3.1-include.patch new file mode 100644 index 000000000000..529d994ef122 --- /dev/null +++ b/x11-plugins/asapm/files/asapm-3.1-include.patch @@ -0,0 +1,10 @@ +--- a/apm_read.c ++++ b/apm_read.c +@@ -13,6 +13,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> /* exit(), free() */ + #include <errno.h> + #include <fcntl.h> + #include <unistd.h> diff --git a/x11-plugins/asapm/files/asapm-3.1-ldflags.patch b/x11-plugins/asapm/files/asapm-3.1-ldflags.patch new file mode 100644 index 000000000000..a90d7baf2e4e --- /dev/null +++ b/x11-plugins/asapm/files/asapm-3.1-ldflags.patch @@ -0,0 +1,11 @@ +--- a/autoconf/Makefile.common.in ++++ b/autoconf/Makefile.common.in +@@ -34,7 +34,7 @@ + done + + $(PROG): $(OBJS) +- $(CC) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@) ++ $(CC) $(LDFLAGS) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@) + + .c.o: + $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c diff --git a/x11-plugins/asapm/metadata.xml b/x11-plugins/asapm/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/asapm/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/asclock/Manifest b/x11-plugins/asclock/Manifest new file mode 100644 index 000000000000..eaf50707d3ca --- /dev/null +++ b/x11-plugins/asclock/Manifest @@ -0,0 +1 @@ +DIST asclock-2.0.12.tar.gz 111858 SHA256 70df9bd991bc707c0fdf76ea1acbeff5924e9ae0b0704feb46afa591030704e6 diff --git a/x11-plugins/asclock/asclock-2.0.12-r1.ebuild b/x11-plugins/asclock/asclock-2.0.12-r1.ebuild new file mode 100644 index 000000000000..76db5622f674 --- /dev/null +++ b/x11-plugins/asclock/asclock-2.0.12-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit eutils toolchain-funcs + +IUSE="" +DESCRIPTION="Clock applet for AfterStep" +SRC_URI="http://www.tigr.net/afterstep/download/asclock/${P}.tar.gz" +HOMEPAGE="http://tigr.net/afterstep/applets/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" + +DEPEND="x11-libs/libXpm" +RDEPEND="${DEPEND} + x11-proto/xextproto + x11-proto/xproto" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-gcc41.patch + ln -s themes/classic default_theme +} + +src_configure() { :; } + +src_compile() { + local x + # will break Solaris + [[ ${CHOST} == *-linux-gnu ]] && CFLAGS="${CFLAGS} \ + -Dlinux \ + -D_POSIX_C_SOURCE=199309L \ + -D_POSIX_SOURCE \ + -D_XOPEN_SOURCE" + for x in asclock parser symbols config + do + $(tc-getCC) \ + ${CPPFLAGS} ${CFLAGS} ${ASFLAGS} \ + -I"${EPREFIX}"/usr/include \ + -D_BSD_SOURCE \ + -D_SVID_SOURCE \ + -DFUNCPROTO=15 \ + -DNARROWPROTO \ + -c -o ${x}.o ${x}.c || die "compile asclock failed" + done + $(tc-getCC) \ + ${LDFLAGS} \ + -o asclock \ + asclock.o parser.o symbols.o config.o \ + -L"${EPREFIX}"/usr/lib \ + -L"${EPREFIX}"/usr/lib/X11 \ + -lXpm -lXext -lX11 || die "link asclock failed" +} + +src_install() { + dobin asclock + local themesdir="/usr/share/${PN}/themes" + insinto ${themesdir} + doins -r themes/* + dodoc README README.THEMES TODO + cd "${D}"/${themesdir} + rm -f Freeamp/Makefile{,.*} + ln -s classic default_theme +} diff --git a/x11-plugins/asclock/files/asclock-gcc41.patch b/x11-plugins/asclock/files/asclock-gcc41.patch new file mode 100644 index 000000000000..5a5291219ee5 --- /dev/null +++ b/x11-plugins/asclock/files/asclock-gcc41.patch @@ -0,0 +1,44 @@ +diff -ur asclock-2.0.12-orig/asclock.h asclock-2.0.12/asclock.h +--- asclock-2.0.12-orig/asclock.h 2006-06-03 15:31:58.000000000 -0400 ++++ asclock-2.0.12/asclock.h 2006-06-03 15:35:51.000000000 -0400 +@@ -38,15 +38,15 @@ + #define INT_TYPE 0; + + /* the xpm data */ +-extern char *clock_xpm[]; +-extern char *month_xpm[]; +-extern char *weekday_xpm[]; +-extern char *led_xpm[]; +-extern char *date_xpm[]; +-extern char *hour_xpm[]; +-extern char *minute_xpm[]; +-extern char *second_xpm[]; +-extern char *beats_xpm[]; ++static char *clock_xpm[]; ++static char *month_xpm[]; ++static char *weekday_xpm[]; ++static char *led_xpm[]; ++static char *date_xpm[]; ++static char *hour_xpm[]; ++static char *minute_xpm[]; ++static char *second_xpm[]; ++static char *beats_xpm[]; + + /* the filenames */ + extern char clock_xpm_fn[MAX_PATH_LEN]; +diff -ur asclock-2.0.12-orig/themes/classic/beats.xpm asclock-2.0.12/themes/classic/beats.xpm +--- asclock-2.0.12-orig/themes/classic/beats.xpm 2006-06-03 15:31:58.000000000 -0400 ++++ asclock-2.0.12/themes/classic/beats.xpm 2006-06-03 15:37:04.000000000 -0400 +@@ -1 +1 @@ +-char *beats_xpm[] = { NULL }; ++static char *beats_xpm[] = { NULL }; +diff -ur asclock-2.0.12-orig/themes/classic/led.xpm asclock-2.0.12/themes/classic/led.xpm +--- asclock-2.0.12-orig/themes/classic/led.xpm 2006-06-03 15:31:58.000000000 -0400 ++++ asclock-2.0.12/themes/classic/led.xpm 2006-06-03 15:36:53.000000000 -0400 +@@ -1,5 +1,5 @@ + /* XPM */ +-char * led_xpm[] = { ++static char * led_xpm[] = { + "135 11 3 1", + " c #282828", + "O c #00df00", diff --git a/x11-plugins/asclock/metadata.xml b/x11-plugins/asclock/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/asclock/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/ascpu/Manifest b/x11-plugins/ascpu/Manifest new file mode 100644 index 000000000000..829a05c9b9a7 --- /dev/null +++ b/x11-plugins/ascpu/Manifest @@ -0,0 +1 @@ +DIST ascpu-1.11.tar.gz 43867 SHA256 fdd2ee8a6cd006bbb2d6d1871b92c33b18f7bd5e1ab8a367572e4b4f1f53c0a2 diff --git a/x11-plugins/ascpu/ascpu-1.11.ebuild b/x11-plugins/ascpu/ascpu-1.11.ebuild new file mode 100644 index 000000000000..9f1de6244479 --- /dev/null +++ b/x11-plugins/ascpu/ascpu-1.11.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +IUSE="jpeg" +DESCRIPTION="CPU statistics monitor utility for X Windows" +SRC_URI="http://www.tigr.net/afterstep/download/ascpu/${P}.tar.gz" +HOMEPAGE="http://www.tigr.net" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ~mips ppc ppc64 sparc x86" + +RDEPEND="x11-libs/libXpm + x11-libs/libSM + jpeg? ( virtual/jpeg )" + +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + econf $(use_enable jpeg) || die "econf failed" + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + dodir /usr/bin + dodir /usr/share/man/man1 + + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README +} diff --git a/x11-plugins/ascpu/files/ascpu-1.11-gentoo.patch b/x11-plugins/ascpu/files/ascpu-1.11-gentoo.patch new file mode 100644 index 000000000000..b26374a4ac03 --- /dev/null +++ b/x11-plugins/ascpu/files/ascpu-1.11-gentoo.patch @@ -0,0 +1,36 @@ +--- autoconf/Makefile.common.in.orig 1999-05-06 23:35:32.000000000 +0200 ++++ autoconf/Makefile.common.in 2006-09-11 23:07:41.000000000 +0200 +@@ -9,11 +9,10 @@ + install: install.bin install.man + + install.bin: $(PROG) +- $(STRIP) $(PROG) +- $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR) ++ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(AFTER_BIN_DIR) + + install.man: +- $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x ++ $(INSTALL_DATA) $(PROG).man $(DESTDIR)$(AFTER_MAN_DIR)/$(PROG).1x + + uninstall: + $(RMF) $(AFTER_BIN_DIR)/$(PROG) +--- autoconf/Makefile.defines.in.orig 1999-05-06 23:35:32.000000000 +0200 ++++ autoconf/Makefile.defines.in 2006-09-11 23:17:40.000000000 +0200 +@@ -2,6 +2,7 @@ + # Copyright (c) 1998, Guylhem AZNAR <guylhem@oeil.qc.ca> + # + ++DESTDIR = + CC = @CC@ + CCFLAGS = @CFLAGS@ + # -march=pentiumpro -mcpu=pentiumpro +@@ -21,7 +22,7 @@ + LEXFLAGS = + + INSTALL = @INSTALL@ +-INSTALL_PROGRAM = @INSTALL@ -s -m 755 ++INSTALL_PROGRAM = @INSTALL@ -m 755 + INSTALL_DATA = @INSTALL@ -m 644 + + INCS_X = @X_CFLAGS@ + diff --git a/x11-plugins/ascpu/metadata.xml b/x11-plugins/ascpu/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/ascpu/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/asmem/Manifest b/x11-plugins/asmem/Manifest new file mode 100644 index 000000000000..31a2c6967d42 --- /dev/null +++ b/x11-plugins/asmem/Manifest @@ -0,0 +1 @@ +DIST asmem-1.12.tar.gz 48058 SHA256 202ab8c54e602f58d9f02d1029a84be04ffa7698d9e73fcd7aa739ddb079e327 diff --git a/x11-plugins/asmem/asmem-1.12.ebuild b/x11-plugins/asmem/asmem-1.12.ebuild new file mode 100644 index 000000000000..01d9b01fbb67 --- /dev/null +++ b/x11-plugins/asmem/asmem-1.12.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +DESCRIPTION="a swallowable applet monitors the utilization level of memory, cache and swap space" +HOMEPAGE="http://www.tigr.net" +SRC_URI="http://www.tigr.net/afterstep/download/asmem/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="jpeg" + +RDEPEND="x11-libs/libX11 + x11-libs/libICE + x11-libs/libSM + x11-libs/libXpm + x11-libs/libXext + jpeg? ( virtual/jpeg )" +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_compile() { + tc-export CC + econf $(use_enable jpeg) + emake || die "emake failed." +} + +src_install() { + dobin ${PN} + newman ${PN}.man ${PN}.1 + dodoc CHANGES README +} diff --git a/x11-plugins/asmem/metadata.xml b/x11-plugins/asmem/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/asmem/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/asmon/Manifest b/x11-plugins/asmon/Manifest new file mode 100644 index 000000000000..d9e9e69092d1 --- /dev/null +++ b/x11-plugins/asmon/Manifest @@ -0,0 +1 @@ +DIST asmon-0.71.tar.bz2 42235 SHA256 5bb259cdb9d8314e377bbb9f8df4ee13359f2eb905cc5a87866d6f07fc81523e diff --git a/x11-plugins/asmon/asmon-0.71.ebuild b/x11-plugins/asmon/asmon-0.71.ebuild new file mode 100644 index 000000000000..9e9ce8030a23 --- /dev/null +++ b/x11-plugins/asmon/asmon-0.71.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +DESCRIPTION="WindowMaker/AfterStep system monitor dockapp" +HOMEPAGE="http://rio.vg/asmon" +SRC_URI="http://rio.vg/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libXext + x11-libs/libXpm + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/${PN} + +src_unpack() { + unpack ${A} + sed -i -e "s:gcc:$(tc-getCC):g" "${S}"/Makefile +} + +src_compile() { + emake clean || die "emake clean failed." + emake SOLARIS="${CFLAGS}" LIBDIR="${LDFLAGS}" \ + || die "emake failed." +} + +src_install() { + dobin ${PN} + dodoc ../Changelog +} diff --git a/x11-plugins/asmon/files/asmon-0.7.cflags.diff b/x11-plugins/asmon/files/asmon-0.7.cflags.diff new file mode 100644 index 000000000000..b69c692abb90 --- /dev/null +++ b/x11-plugins/asmon/files/asmon-0.7.cflags.diff @@ -0,0 +1,31 @@ +--- asmon/Makefile.orig 1999-06-26 03:35:13.000000000 +0200 ++++ asmon/Makefile 2006-08-24 20:21:52.000000000 +0200 +@@ -4,7 +4,7 @@ + #SOLARIS_LIBS = -lsocket -lkstat + #SOLARIS_OBJS = solaris26.o + +-LIBDIR = -L/usr/X11R6/lib ++LIBDIR = -L/usr/lib + LIBS = -lXpm -lXext -lX11 $(SOLARIS_LIBS) + OBJS = asmon.o $(SOLARIS_OBJS) \ + ../wmgeneral/wmgeneral.o \ +@@ -12,16 +12,16 @@ + ../wmgeneral/list.o + + .c.o: +- gcc -c -Wall $(SOLARIS) $< -o $*.o ++ gcc -c -Wall $(CFLAGS) $(SOLARIS) $< -o $*.o + + asmon: $(OBJS) + gcc -o asmon $(OBJS) $(LIBDIR) $(LIBS) + + clean:: + for i in $(OBJS) ; do \ +- rm $$i;\ ++ rm -f $$i;\ + done +- rm asmon ++ rm -f asmon + + install:: + cp -f asmon /usr/local/bin diff --git a/x11-plugins/asmon/metadata.xml b/x11-plugins/asmon/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/asmon/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/astime/Manifest b/x11-plugins/astime/Manifest new file mode 100644 index 000000000000..51886ea49f68 --- /dev/null +++ b/x11-plugins/astime/Manifest @@ -0,0 +1 @@ +DIST astime-2.8.tar.gz 49679 SHA256 e3c4328368ea95b85d67b05cd87355ccbc5066fae1ac07f683690cd7b91c9167 diff --git a/x11-plugins/astime/astime-2.8-r1.ebuild b/x11-plugins/astime/astime-2.8-r1.ebuild new file mode 100644 index 000000000000..a84f177ce7a2 --- /dev/null +++ b/x11-plugins/astime/astime-2.8-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="Analogue clock utility for X Windows" +HOMEPAGE="http://www.tigr.net/" +SRC_URI="http://www.tigr.net/afterstep/download/astime/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="jpeg" + +RDEPEND="x11-libs/libXpm + x11-libs/libSM + jpeg? ( virtual/jpeg )" + +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + econf $(use_enable jpeg) || die "econf failed" + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install () { + dodir /usr/bin + dodir /usr/share/man/man1 + + emake DESTDIR="${D}" install || die + dodoc CHANGES README +} diff --git a/x11-plugins/astime/files/astime-2.8-gentoo.patch b/x11-plugins/astime/files/astime-2.8-gentoo.patch new file mode 100644 index 000000000000..52dba297ec87 --- /dev/null +++ b/x11-plugins/astime/files/astime-2.8-gentoo.patch @@ -0,0 +1,35 @@ +--- autoconf/Makefile.common.in.orig 1999-05-02 17:12:39.000000000 +0200 ++++ autoconf/Makefile.common.in 2006-09-12 00:26:40.000000000 +0200 +@@ -9,11 +9,10 @@ + install: install.bin install.man + + install.bin: $(PROG) +- $(STRIP) $(PROG) +- $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR) ++ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(AFTER_BIN_DIR) + + install.man: +- $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x ++ $(INSTALL_DATA) $(PROG).man $(DESTDIR)$(AFTER_MAN_DIR)/$(PROG).1x + + uninstall: + $(RMF) $(AFTER_BIN_DIR)/$(PROG) +--- autoconf/Makefile.defines.in.orig 1999-05-02 17:12:39.000000000 +0200 ++++ autoconf/Makefile.defines.in 2006-09-12 00:26:58.000000000 +0200 +@@ -2,6 +2,7 @@ + # Copyright (c) 1998, Guylhem AZNAR <guylhem@oeil.qc.ca> + # + ++DESTDIR = + CC = @CC@ + CCFLAGS = @CFLAGS@ + # -march=pentiumpro -mcpu=pentiumpro +@@ -21,7 +22,7 @@ + LEXFLAGS = + + INSTALL = @INSTALL@ +-INSTALL_PROGRAM = @INSTALL@ -s -m 755 ++INSTALL_PROGRAM = @INSTALL@ -m 755 + INSTALL_DATA = @INSTALL@ -m 644 + + INCS_X = @X_CFLAGS@ diff --git a/x11-plugins/astime/metadata.xml b/x11-plugins/astime/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/astime/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/bfm/Manifest b/x11-plugins/bfm/Manifest new file mode 100644 index 000000000000..be6da3dcd7e0 --- /dev/null +++ b/x11-plugins/bfm/Manifest @@ -0,0 +1 @@ +DIST bfm-0.6.4.tar.bz2 50634 SHA256 e5afb9eaebb67428c441c1eb0a98e5ad1aae46d2dcfe36567f9151c763ca04f9 SHA512 4255e31d1e04bbcd007be7a616184f97b2fb73711c2070859919666685848d75d5641396f206a6a6d70c656cbf8e97357aed3d663dc6d63ed1e7eb426d13f81c WHIRLPOOL 44b73dfe07d30f83aadd9e919dcdc004e60583e00d28df4b6c202db746b571c34cfb0c854536672338e614c61cc9e789b2adc0877bfd45d975b997a7d60f07f2 diff --git a/x11-plugins/bfm/bfm-0.6.4-r1.ebuild b/x11-plugins/bfm/bfm-0.6.4-r1.ebuild new file mode 100644 index 000000000000..2c998aabead8 --- /dev/null +++ b/x11-plugins/bfm/bfm-0.6.4-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit multilib toolchain-funcs + +DESCRIPTION="a dockapp and gkrellm plug-in combining timecop's bubblemon and wmfishtime" +HOMEPAGE="http://www.jnrowe.ukfsn.org/projects/bfm.html" +SRC_URI="http://www.jnrowe.ukfsn.org/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux" +IUSE="gkrellm" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXext" +DEPEND="${RDEPEND} + virtual/pkgconfig + gkrellm? ( >=app-admin/gkrellm-2 )" + +src_prepare() { + sed -i \ + -e 's:CFLAGS =:CFLAGS +=:' \ + -e 's:LDFLAGS =:LDFLAGS +=:' \ + -e 's:strip:true:' \ + -e 's:$(CFLAGS) -o $(BUBBLEFISHYMON):$(CFLAGS) $(SRCS) -o $(BUBBLEFISHYMON):' \ + -e 's:$(LIBS) $(GTK2_LIBS) $(SRCS):$(LIBS) $(GTK2_LIBS):' \ + -e 's:-o $(BUBBLEFISHYMON):$(GENTOO_LDFLAGS) -o $(BUBBLEFISHYMON):' \ + Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" GENTOO_LDFLAGS="${LDFLAGS}" + use gkrellm && emake gkrellm CC="$(tc-getCC)" +} + +src_install() { + dobin bubblefishymon + + doman doc/*.1 + dodoc ChangeLog* README* doc/*.sample + + if use gkrellm; then + insinto /usr/$(get_libdir)/gkrellm2/plugins + doins gkrellm-bfm.so + fi +} diff --git a/x11-plugins/bfm/bfm-0.6.4-r2.ebuild b/x11-plugins/bfm/bfm-0.6.4-r2.ebuild new file mode 100644 index 000000000000..2388d35d47aa --- /dev/null +++ b/x11-plugins/bfm/bfm-0.6.4-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a dockapp and gkrellm plug-in combining timecop's bubblemon and wmfishtime" +HOMEPAGE="http://www.jnrowe.ukfsn.org/projects/bfm.html" +SRC_URI="http://www.jnrowe.ukfsn.org/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="gkrellm" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXext" +DEPEND="${RDEPEND} + virtual/pkgconfig + gkrellm? ( >=app-admin/gkrellm-2 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" GENTOO_LDFLAGS="${LDFLAGS}" + use gkrellm && emake gkrellm CC="$(tc-getCC)" +} + +src_install() { + dobin bubblefishymon + + doman doc/*.1 + dodoc ChangeLog* README* doc/*.sample + + if use gkrellm; then + insinto /usr/$(get_libdir)/gkrellm2/plugins + doins gkrellm-bfm.so + fi +} diff --git a/x11-plugins/bfm/files/bfm-0.6.4-makefile.patch b/x11-plugins/bfm/files/bfm-0.6.4-makefile.patch new file mode 100644 index 000000000000..ef47930c5dc5 --- /dev/null +++ b/x11-plugins/bfm/files/bfm-0.6.4-makefile.patch @@ -0,0 +1,66 @@ +--- Makefile.orig 2015-01-20 10:56:34.791157688 +0100 ++++ Makefile 2015-01-20 10:56:48.135154215 +0100 +@@ -26,21 +26,21 @@ + EXTRA += $(WMAN) + + # gtk cflags and gtk lib flags +-GTK_CFLAGS = $(shell gtk-config --cflags) ++GTK_CFLAGS += $(shell gtk-config --cflags) + GTK_LIBS = $(shell gtk-config --libs) + +-GTK2_CFLAGS = $(shell pkg-config gtk+-2.0 --cflags) ++GTK2_CFLAGS += $(shell pkg-config gtk+-2.0 --cflags) + GTK2_LIBS = $(shell pkg-config gtk+-2.0 --libs) + + + # optimization cflags +-#CFLAGS = -O3 -Wall ${EXTRA} +-CFLAGS = ${EXTRA} ++#CFLAGS += -O3 -Wall ${EXTRA} ++CFLAGS += ${EXTRA} + + # profiling cflags +-# CFLAGS = -ansi -Wall -pg -O3 ${EXTRA} -DPRO ++# CFLAGS += -ansi -Wall -pg -O3 ${EXTRA} -DPRO + # test coverage cflags +-# CFLAGS = -fprofile-arcs -ftest-coverage -Wall -ansi -g ${EXTRA} -DPRO ++# CFLAGS += -fprofile-arcs -ftest-coverage -Wall -ansi -g ${EXTRA} -DPRO + + + SHELL = sh +@@ -53,9 +53,9 @@ + GKRELLM_SRCS = gkrellm-bfm.c + GKRELLM_OBJS = gkrellm-bfm.o + GKRELLM_BFM = gkrellm-bfm.so +-LDFLAGS = -shared -Wl ++LDFLAGS += -shared -Wl + +-STRIP = strip ++STRIP = true + + CC = gcc + +@@ -70,6 +70,7 @@ + else + CFLAGS+=-DNET_DEVICE=\"$(NET_DEVICE)\" + endif ++ LIBS = -lm -lX11 + SRCS += sys_linux.c + OBJS += sys_linux.o + INSTALL = -m 755 +@@ -129,12 +130,12 @@ + $(STRIP) $(GKRELLM_BFM) + + bubblefishymon: clean_obj +- $(CC) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEFISHYMON) \ +- $(LIBS) $(GTK2_LIBS) $(SRCS) ++ $(CC) $(GTK2_CFLAGS) $(CFLAGS) $(SRCS) $(GENTOO_LDFLAGS) -o $(BUBBLEFISHYMON) \ ++ $(LIBS) $(GTK2_LIBS) + $(STRIP) $(BUBBLEFISHYMON) + + bubblefishymon1: clean_obj +- $(CC) $(GTK_CFLAGS) $(CFLAGS) -o $(BUBBLEFISHYMON) \ ++ $(CC) $(GTK_CFLAGS) $(CFLAGS) $(SRCS) $(GENTOO_LDFLAGS) -o $(BUBBLEFISHYMON) \ + $(LIBS) $(GTK_LIBS) $(SRCS) + $(STRIP) $(BUBBLEFISHYMON) + diff --git a/x11-plugins/bfm/metadata.xml b/x11-plugins/bfm/metadata.xml new file mode 100644 index 000000000000..70c6e54b08a3 --- /dev/null +++ b/x11-plugins/bfm/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<use> + <flag name='gkrellm'>Enable building of <pkg>app-admin/gkrellm</pkg> + module</flag> +</use> +</pkgmetadata> diff --git a/x11-plugins/bitlbee-steam/Manifest b/x11-plugins/bitlbee-steam/Manifest new file mode 100644 index 000000000000..5ad4f273c043 --- /dev/null +++ b/x11-plugins/bitlbee-steam/Manifest @@ -0,0 +1,3 @@ +DIST bitlbee-steam-1.0.0.tar.gz 30666 SHA256 fa53011851425c05218be20bbe38505392bd9b5245694fc918d3823eec9c374e SHA512 b70fe4a67bb1e699da6e4a58248eaa577cbc78e3997a7deff5f7820f0fa980d57054a8e89588ce06cbd7091b845886895339e9b2f9adfdd015bbbef831e3f860 WHIRLPOOL 127ccd18d01d1e5b8af5ccd4e966a90a2a957f9c894650b0d65af392c46ffee282899c60fa885ccfa02c7a824b3ed3f2e6388ac1fb08e3474432281aa011a253 +DIST bitlbee-steam-1.0.1.tar.gz 31815 SHA256 7a48a8d90febf2258751fe1152e1428a34315c1a97606655f0712fde42f65a39 SHA512 8ea12702f5f8cd8c398ba76e7c1a2b0c5dea3e9add85d6bffd2364b2d5d035ed158d1d74fd411cc18cc4c3495b1418b0dd92f62f180f8ea662ea9243aeefadec WHIRLPOOL 5dbca0c0d1b64d20854593a7cc79a56e31783cbd944b8c29dd4d6ad00f56ac417adcef502eca9a19ec5360c69f9fdf1d40cb343afb3c2dc1af154d962757bab5 +DIST bitlbee-steam-1.1.0.tar.gz 38832 SHA256 9c818b58408dfa5bcf1151ef18559da35c687578dabb13c4f3f72488c11a34dc SHA512 2bc8ed281dd6102f6898ec1a3adf232b42fdd98e8858797dab7a54118c4bddbe6cfbb0b0f0b972795935437f4d1e87a146ba026f7853898053e372c901f52d70 WHIRLPOOL 28ec3a44fe5777abdd4af45cd44d0601de02b18dd7195f78ff12f32bd6bd7caeece31b44f1650f7b4b504f989dd76887e62c0af8d7190b4c944c5e599be82875 diff --git a/x11-plugins/bitlbee-steam/bitlbee-steam-1.0.0.ebuild b/x11-plugins/bitlbee-steam/bitlbee-steam-1.0.0.ebuild new file mode 100644 index 000000000000..e9850f791816 --- /dev/null +++ b/x11-plugins/bitlbee-steam/bitlbee-steam-1.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="Steam protocol plugin for BitlBee" +HOMEPAGE="https://github.com/jgeboski/bitlbee-steam" +SRC_URI="https://github.com/jgeboski/bitlbee-steam/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1 BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + dev-libs/gmp:0 + >=net-im/bitlbee-3.2.1[plugins]" +DEPEND="${RDEPEND} + dev-libs/glib:2 + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-debug.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) +} + +src_install() { + default + prune_libtool_files +} diff --git a/x11-plugins/bitlbee-steam/bitlbee-steam-1.0.1.ebuild b/x11-plugins/bitlbee-steam/bitlbee-steam-1.0.1.ebuild new file mode 100644 index 000000000000..9f82ca278a0c --- /dev/null +++ b/x11-plugins/bitlbee-steam/bitlbee-steam-1.0.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="Steam protocol plugin for BitlBee" +HOMEPAGE="https://github.com/jgeboski/bitlbee-steam" +SRC_URI="https://github.com/jgeboski/bitlbee-steam/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1 BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + dev-libs/gmp:0 + >=net-im/bitlbee-3.2.1[plugins]" +DEPEND="${RDEPEND} + dev-libs/glib:2 + virtual/pkgconfig" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + --enable-minimal-flags +} + +src_install() { + default + prune_libtool_files +} diff --git a/x11-plugins/bitlbee-steam/bitlbee-steam-1.1.0.ebuild b/x11-plugins/bitlbee-steam/bitlbee-steam-1.1.0.ebuild new file mode 100644 index 000000000000..9f82ca278a0c --- /dev/null +++ b/x11-plugins/bitlbee-steam/bitlbee-steam-1.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="Steam protocol plugin for BitlBee" +HOMEPAGE="https://github.com/jgeboski/bitlbee-steam" +SRC_URI="https://github.com/jgeboski/bitlbee-steam/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1 BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + dev-libs/gmp:0 + >=net-im/bitlbee-3.2.1[plugins]" +DEPEND="${RDEPEND} + dev-libs/glib:2 + virtual/pkgconfig" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + --enable-minimal-flags +} + +src_install() { + default + prune_libtool_files +} diff --git a/x11-plugins/bitlbee-steam/bitlbee-steam-9999.ebuild b/x11-plugins/bitlbee-steam/bitlbee-steam-9999.ebuild new file mode 100644 index 000000000000..09883dff8c66 --- /dev/null +++ b/x11-plugins/bitlbee-steam/bitlbee-steam-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools git-2 + +DESCRIPTION="Steam protocol plugin for BitlBee" +HOMEPAGE="https://github.com/jgeboski/bitlbee-steam" +EGIT_REPO_URI="https://github.com/jgeboski/bitlbee-steam.git" + +LICENSE="GPL-2 LGPL-2.1 BSD-2" +SLOT="0" +KEYWORDS="" +IUSE="debug" + +RDEPEND=" + dev-libs/gmp:0 + >=net-im/bitlbee-3.2.1[plugins]" +DEPEND="${RDEPEND} + dev-libs/glib:2 + virtual/pkgconfig" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + --enable-minimal-flags +} + +src_install() { + default + prune_libtool_files +} diff --git a/x11-plugins/bitlbee-steam/files/bitlbee-steam-1.0.0-debug.patch b/x11-plugins/bitlbee-steam/files/bitlbee-steam-1.0.0-debug.patch new file mode 100644 index 000000000000..baaad1144004 --- /dev/null +++ b/x11-plugins/bitlbee-steam/files/bitlbee-steam-1.0.0-debug.patch @@ -0,0 +1,16 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Tue Mar 4 21:09:42 UTC 2014 +Subject: respect CFLAGS + +--- bitlbee-steam-1.0.0/configure.ac ++++ bitlbee-steam-1.0.0/configure.ac +@@ -36,8 +36,7 @@ + [AS_HELP_STRING( + [--enable-debug], + [Enable debugging features])], +- [AC_DEFINE(DEBUG_STEAM, 1) +- CFLAGS="-Wall -g -O0"]) ++ [AC_DEFINE(DEBUG_STEAM, 1)]) + + AC_ARG_WITH( + [plugindir], diff --git a/x11-plugins/bitlbee-steam/metadata.xml b/x11-plugins/bitlbee-steam/metadata.xml new file mode 100644 index 000000000000..2be431be0d6c --- /dev/null +++ b/x11-plugins/bitlbee-steam/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <longdescription lang="en"> + The Steam protocol plugin for bitlbee. This plugin uses the Steam + Mobile API allowing it to run alongside the main Steam client. + It is worth noting that the Steam Mobile API is HTTP based, which + does lead to mild latency. + </longdescription> + <upstream> + <maintainer status="active"> + <email>jgeboski@gmail.com</email> + <name>James Geboski</name> + </maintainer> + <bugs-to>https://github.com/jgeboski/bitlbee-steam/issues</bugs-to> + <remote-id type="github">jgeboski/bitlbee-steam</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/bubblemon/Manifest b/x11-plugins/bubblemon/Manifest new file mode 100644 index 000000000000..61babaed429d --- /dev/null +++ b/x11-plugins/bubblemon/Manifest @@ -0,0 +1 @@ +DIST bubblemon-dockapp-1.46.tar.gz 40001 RMD160 79e8be36cd11a2c6f4998cd747b6125696603a81 SHA1 172de9ea7d78e4578143469187a72da8f836647a SHA256 f928073d3c69b2668e89b93cdcca5f390437831aab3eac3aa2129f8713e79dbf diff --git a/x11-plugins/bubblemon/bubblemon-1.46-r2.ebuild b/x11-plugins/bubblemon/bubblemon-1.46-r2.ebuild new file mode 100644 index 000000000000..a07012dfbc10 --- /dev/null +++ b/x11-plugins/bubblemon/bubblemon-1.46-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils toolchain-funcs + +DESCRIPTION="A fun monitoring applet for your desktop, complete with swimming duck" +HOMEPAGE="http://www.ne.jp/asahi/linux/timecop" +SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/${PN}-dockapp-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${PN}-dockapp-${PV} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gtk.patch \ + "${FILESDIR}"/${P}-asneeded.patch \ + "${FILESDIR}"/${P}-no_display.patch +} + +src_compile() { + tc-export CC + emake GENTOO_CFLAGS="${CFLAGS}" +} + +src_install() { + dobin bubblemon + dodoc ChangeLog README doc/Xdefaults.sample + + insinto /usr/share/${PN} + doins misc/*.{xcf,wav} + exeinto /usr/share/${PN} + doexe misc/wakwak.sh +} diff --git a/x11-plugins/bubblemon/files/bubblemon-1.46-asneeded.patch b/x11-plugins/bubblemon/files/bubblemon-1.46-asneeded.patch new file mode 100644 index 000000000000..3988f3796964 --- /dev/null +++ b/x11-plugins/bubblemon/files/bubblemon-1.46-asneeded.patch @@ -0,0 +1,30 @@ +--- Makefile ++++ Makefile +@@ -32,14 +32,12 @@ + OBJS = bubblemon.o + BUBBLEMON = bubblemon + +-LDFLAGS = -shared -Wl +- + STRIP = strip + +-CC = gcc ++CC ?= gcc + INSTALLMAN = -m 644 + +- ++LIBS = -lX11 + + # special things for Linux + ifeq ($(OS), Linux) +@@ -91,8 +89,8 @@ + all: $(BUBBLEMON) + + bubblemon: clean_obj +- $(CC) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \ +- $(LIBS) $(GTK2_LIBS) $(SRCS) ++ $(CC) $(LDFLAGS) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \ ++ $(SRCS) $(LIBS) $(GTK2_LIBS) + + clean_obj: + rm -rf *.o diff --git a/x11-plugins/bubblemon/files/bubblemon-1.46-gtk.patch b/x11-plugins/bubblemon/files/bubblemon-1.46-gtk.patch new file mode 100644 index 000000000000..3383c9f5baed --- /dev/null +++ b/x11-plugins/bubblemon/files/bubblemon-1.46-gtk.patch @@ -0,0 +1,122 @@ +--- bubblemon.c ++++ bubblemon.c +@@ -58,6 +58,7 @@ + #include <gdk/gdk.h> + #include <gdk/gdkx.h> + #include <X11/Xresource.h> ++#include <gtk/gtk.h> + + #include "include/master.xpm" + #include "include/bubblemon.h" +@@ -575,7 +576,7 @@ + attri.colormap = gdk_colormap_get_system(); + attri.wmclass_name = "bubblemon"; + attri.wmclass_class = "bubblemon"; +- attri.window_type = GDK_WINDOW_TOPLEVEL; ++ attri.window_type = GDK_WINDOW_CHILD; + + bm.iconwin = gdk_window_new(bm.win, &attri, + GDK_WA_TITLE | GDK_WA_WMCLASS); +@@ -593,7 +594,6 @@ + wmhints.window_group = win; + wmhints.flags = + StateHint | IconWindowHint | IconPositionHint | WindowGroupHint; +- XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints); + + bm.gc = gdk_gc_new(bm.win); + +@@ -606,6 +606,7 @@ + gdk_window_set_back_pixmap(bm.iconwin, bm.pixmap, False); + + gdk_window_show(bm.win); ++ XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints); + #ifdef KDE_DOCKAPP + /* makes the dockapp visible inside KDE wm */ + gdk_window_show(bm.iconwin); +--- Makefile ++++ Makefile +@@ -11,30 +11,49 @@ + + # no user serviceable parts below + EXTRA += $(WMAN) ++# gtk cflags and gtk lib flags ++GTK2_CFLAGS = $(shell pkg-config gtk+-2.0 --cflags) ++GTK2_LIBS = $(shell pkg-config gtk+-2.0 --libs) ++ ++ + # optimization cflags +-CFLAGS = -O3 -ansi -Wall `gtk-config --cflags` ${EXTRA} ++#CFLAGS = -O3 -Wall ${EXTRA} ++CFLAGS = ${GENTOO_CFLAGS} ${EXTRA} ++ + # profiling cflags +-# CFLAGS = -ansi -Wall -pg -O3 `gtk-config --cflags` ${EXTRA} -DPRO ++# CFLAGS = -ansi -Wall -pg -O3 ${EXTRA} -DPRO + # test coverage cflags +-# CFLAGS = -fprofile-arcs -ftest-coverage -Wall -ansi -g `gtk-config --cflags` ${EXTRA} -DPRO ++# CFLAGS = -fprofile-arcs -ftest-coverage -Wall -ansi -g ${EXTRA} -DPRO + + +-SHELL=sh ++SHELL = sh + OS = $(shell uname -s) ++SRCS = bubblemon.c + OBJS = bubblemon.o ++BUBBLEMON = bubblemon ++ ++LDFLAGS = -shared -Wl ++ ++STRIP = strip ++ + CC = gcc ++INSTALLMAN = -m 644 ++ ++ + + # special things for Linux + ifeq ($(OS), Linux) +- OBJS += sys_linux.o +- LIBS = `gtk-config --libs | sed "s/-lgtk//g"` +- INSTALL = -m 755 ++ SRCS += sys_linux.c ++ OBJS += sys_linux.o ++ INSTALL = -m 755 ++ INSTALLMAN = -m 644 + endif + + # special things for FreeBSD + ifeq ($(OS), FreeBSD) ++ SRCS += sys_freebsd.c + OBJS += sys_freebsd.o +- LIBS = `gtk-config --libs | sed "s/-lgtk//g"` -lkvm ++ LIBS = -lkvm + INSTALL = -c -g kmem -m 2755 -o root + endif + +@@ -62,17 +81,21 @@ + ifeq ($(COMPILER), gcc) + CFLAGS=-O3 -Wall + endif +- CFLAGS +=`gtk-config --cflags` ${EXTRA} ++ CFLAGS += ${EXTRA} ++ SRCS += sys_sunos.c + OBJS += sys_sunos.o +- LIBS = `gtk-config --libs` -lkstat -lm ++ LIBS = -lkstat -lm + INSTALL = -m 755 + endif + ++all: $(BUBBLEMON) + +-all: bubblemon ++bubblemon: clean_obj ++ $(CC) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \ ++ $(LIBS) $(GTK2_LIBS) $(SRCS) + +-bubblemon: $(OBJS) +- $(CC) $(CFLAGS) -o bubblemon $(OBJS) $(LIBS) ++clean_obj: ++ rm -rf *.o + + clean: + rm -f bubblemon *.o *.bb* *.gcov gmon.* *.da *~ diff --git a/x11-plugins/bubblemon/files/bubblemon-1.46-no_display.patch b/x11-plugins/bubblemon/files/bubblemon-1.46-no_display.patch new file mode 100644 index 000000000000..f50d4f50d5ec --- /dev/null +++ b/x11-plugins/bubblemon/files/bubblemon-1.46-no_display.patch @@ -0,0 +1,33 @@ +http://bugs.gentoo.org/310399 + +--- bubblemon.c ++++ bubblemon.c +@@ -44,7 +44,7 @@ + */ + #define _GNU_SOURCE + +-#define VERSION "1.41" ++#define VERSION "1.46" + + /* general includes */ + #include <stdio.h> +@@ -276,6 +276,8 @@ + + int main(int argc, char **argv) + { ++ /* This is needed to proper dockapp work on >=GTK+-2.18 */ ++ setenv("GDK_NATIVE_WINDOWS", "1", 0); + char execute[256]; + int proximity = 0; + int ch; +@@ -607,10 +609,7 @@ + + gdk_window_show(bm.win); + XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints); +-#ifdef KDE_DOCKAPP +- /* makes the dockapp visible inside KDE wm */ + gdk_window_show(bm.iconwin); +-#endif + + /* We begin with zero bubbles */ + bm.n_bubbles = 0; diff --git a/x11-plugins/bubblemon/metadata.xml b/x11-plugins/bubblemon/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/bubblemon/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/compiz-plugins-extra/Manifest b/x11-plugins/compiz-plugins-extra/Manifest new file mode 100644 index 000000000000..e1ee41b6f11d --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/Manifest @@ -0,0 +1 @@ +DIST compiz-plugins-extra-0.8.8.tar.bz2 2689953 SHA256 bdce203098c62370b01b87741b04d3d9bc37e918789acce07120c4f081d5bbe3 SHA512 de72d688648e5426e8967cc88d9439d19c0bc57dcd4de7c5a78fbf2e1dcec85f5f69c89e6affa06f8df1534dad4b347041d023ea9eeabb034df485825815ca22 WHIRLPOOL 13934f28685384bf2ee64e987352b24c848981a69e54503e2931b1446380e74bb8396e3b792c0cac9cc869277cb0ecbf4af4b9a5da8cf6017b26f12d73171f2a diff --git a/x11-plugins/compiz-plugins-extra/compiz-plugins-extra-0.8.8.ebuild b/x11-plugins/compiz-plugins-extra/compiz-plugins-extra-0.8.8.ebuild new file mode 100644 index 000000000000..e869ea420830 --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/compiz-plugins-extra-0.8.8.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit autotools eutils gnome2-utils + +DESCRIPTION="Compiz Fusion Window Decorator Extra Plugins" +HOMEPAGE="http://www.compiz.org/" +SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="gconf libnotify" + +RDEPEND=" + >=gnome-base/librsvg-2.14.0:2 + virtual/jpeg:0 + >=x11-libs/compiz-bcop-${PV} + >=x11-plugins/compiz-plugins-main-${PV} + >=x11-wm/compiz-${PV}[gconf?] + libnotify? ( x11-libs/libnotify ) +" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35 + virtual/pkgconfig + >=sys-devel/gettext-0.15 + x11-libs/cairo + gconf? ( gnome-base/gconf:2 ) +" + +DOCS="AUTHORS ChangeLog INSTALL NEWS README TODO" + +src_prepare() { + if ! use gconf; then + epatch "${FILESDIR}"/${PN}-no-gconf.patch + fi + epatch "${FILESDIR}/${P}-libnotify.patch" + + eautoreconf +} + +src_configure() { + econf \ + --enable-fast-install \ + --disable-static \ + $(use_enable gconf schemas) \ + $(use_with libnotify notifications) +} + +src_install() { + default + prune_libtool_files +} + +pkg_preinst() { + use gconf && gnome2_gconf_savelist +} + +pkg_postinst() { + use gconf && gnome2_gconf_install +} diff --git a/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch new file mode 100644 index 000000000000..9287d706ac8e --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch @@ -0,0 +1,19 @@ +--- configure.ac 2011-04-21 15:51:08.000000000 +0400 ++++ configure.ac 2012-08-16 21:37:46.894173595 +0400 +@@ -136,7 +136,15 @@ + PKG_CHECK_MODULES(COMPIZMOUSEPOLL, compiz-mousepoll, [have_compiz_mousepoll=yes], [have_compiz_mousepoll=no]) + AM_CONDITIONAL(SHOWMOUSE_PLUGIN, test "x$have_compiz_mousepoll" = "xyes") + +-PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], [have_libnotify=no]) ++AC_ARG_ENABLE(notifications, AS_HELP_STRING([--enable-notifications], [Build notification plugin]), [enable_notifications=$enableval], [enable_notification=auto]) ++if test "$enable_notification" = auto; then ++ PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], [have_libnotify=no]) ++fi ++if test "$enable_notification" = yes; then ++ PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], AC_MSG_ERROR([Libnotify is not installed])) ++else ++ have_libnotify=no ++fi + AM_CONDITIONAL(NOTIFICATION_PLUGIN, test "x$have_libnotify" = "xyes") + if test "$have_libnotify" = yes; then + AC_DEFINE(USE_NOTIFICATION, 1, [Build notification plugin]) diff --git a/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch new file mode 100644 index 000000000000..49bf16be4b10 --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch @@ -0,0 +1,21 @@ + configure.ac | 5 ++--- + 1 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 0a3d7c1..6f8356d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -150,11 +150,10 @@ if test x"$use_schemas" = x"yes"; then + fi + xsltdir=`$PKG_CONFIG --variable=xsltdir compiz-gconf` + AC_SUBST(xsltdir) ++else ++ AM_CONDITIONAL(GCONF_SCHEMAS_INSTALL, test "x$use_gconf" = "xyes") + fi + +-AM_GCONF_SOURCE_2 +- +- + AM_CONDITIONAL(USE_SCHEMAS, test "x$use_schemas" = "xyes") + if test "$use_schemas" = yes; then + AC_DEFINE(USE_SCHEMAS, 1, [Build gconf schemas]) diff --git a/x11-plugins/compiz-plugins-extra/metadata.xml b/x11-plugins/compiz-plugins-extra/metadata.xml new file mode 100644 index 000000000000..907c49177fbd --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-effects</herd> +<longdescription lang="en"> +>Package with several compiz-fusion plugins: +addhelper, bench, crashhandler, cubecaps, cubereflex, extrawm, fadedesktop, firepaint, gears, +goto-viewport, group, mblur, reflex, scalefilter, showdesktop, splash, trailfocus, widget. +</longdescription> + <use> + <flag name="gconf"> + Install GConf schemas for the plugins, needed when using the GConf-based + configuration backend in <pkg>x11-wm/compiz</pkg>. + </flag> + </use> +</pkgmetadata> + diff --git a/x11-plugins/compiz-plugins-main/Manifest b/x11-plugins/compiz-plugins-main/Manifest new file mode 100644 index 000000000000..ba5e102d194c --- /dev/null +++ b/x11-plugins/compiz-plugins-main/Manifest @@ -0,0 +1 @@ +DIST compiz-plugins-main-0.8.8.tar.bz2 1230627 SHA256 c79278b5369660d6274661a2c196f1cb016ef2b5d34e30bd18dbaeb241bee248 diff --git a/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.8.ebuild b/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.8.ebuild new file mode 100644 index 000000000000..9b65014dd9ba --- /dev/null +++ b/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.8.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit autotools eutils gnome2-utils + +DESCRIPTION="Compiz Fusion Window Decorator Plugins" +HOMEPAGE="http://www.compiz.org/" +SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="gconf" + +RDEPEND=" + >=gnome-base/librsvg-2.14.0:2 + x11-libs/cairo + >=x11-libs/compiz-bcop-${PV} + >=x11-wm/compiz-${PV}[gconf?] + virtual/jpeg:0 + virtual/glu +" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35 + virtual/pkgconfig + >=sys-devel/gettext-0.15 + gconf? ( gnome-base/gconf:2 ) +" + +DOCS="AUTHORS ChangeLog INSTALL NEWS README TODO" + +src_prepare() { + if ! use gconf; then + epatch "${FILESDIR}"/${PN}-no-gconf.patch + eautoreconf + fi +} + +src_configure() { + econf \ + --enable-fast-install \ + --disable-static \ + $(use_enable gconf schemas) +} + +src_install() { + default + prune_libtool_files +} + +pkg_preinst() { + use gconf && gnome2_gconf_savelist +} + +pkg_postinst() { + use gconf && gnome2_gconf_install +} diff --git a/x11-plugins/compiz-plugins-main/files/compiz-plugins-main-no-gconf.patch b/x11-plugins/compiz-plugins-main/files/compiz-plugins-main-no-gconf.patch new file mode 100644 index 000000000000..63222a5f1ce6 --- /dev/null +++ b/x11-plugins/compiz-plugins-main/files/compiz-plugins-main-no-gconf.patch @@ -0,0 +1,22 @@ + configure.ac | 5 ++--- + 1 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 297a8cf..290e92b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -171,11 +171,10 @@ + if test x"$use_schemas" = x"yes"; then + fi + xsltdir=`$PKG_CONFIG --variable=xsltdir compiz-gconf` + AC_SUBST(xsltdir) ++else ++ AM_CONDITIONAL(GCONF_SCHEMAS_INSTALL, test "x$use_gconf" = "xyes") + fi + +-AM_GCONF_SOURCE_2 +- +- + AM_CONDITIONAL(USE_SCHEMAS, test "x$use_schemas" = "xyes") + if test "$use_schemas" = yes; then + AC_DEFINE(USE_SCHEMAS, 1, [Build gconf schemas]) diff --git a/x11-plugins/compiz-plugins-main/metadata.xml b/x11-plugins/compiz-plugins-main/metadata.xml new file mode 100644 index 000000000000..f80d46d0455f --- /dev/null +++ b/x11-plugins/compiz-plugins-main/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-effects</herd> +<longdescription lang="en"> +Package with the base compiz-fusion plugins: +animation, colourfilter, expo, ezoom, jpeg, neg, opacify, put, resizeinfo, ring, +scaleaddon, shift, snap, text, thumbnail, vpswitch,, wall, winrules, workarounds. +</longdescription> + <use> + <flag name="gconf"> + Install GConf schemas for the plugins, needed when using the GConf-based + configuration backend in <pkg>x11-wm/compiz</pkg>. + </flag> + </use> +</pkgmetadata> diff --git a/x11-plugins/compiz-plugins-unsupported/Manifest b/x11-plugins/compiz-plugins-unsupported/Manifest new file mode 100644 index 000000000000..95b5f2746160 --- /dev/null +++ b/x11-plugins/compiz-plugins-unsupported/Manifest @@ -0,0 +1 @@ +DIST compiz-plugins-unsupported-0.8.8.tar.bz2 1155793 SHA256 0b2ed265eda34dd60e1155280cb944bef07499f5f8178fc2498c243b2809481e SHA512 5e2f305873c3e9a9994334006d186d3353afbf37f082f364c3d309bb11f693de319047cfb65121bf1a1293d48eaedde767907ecaad8026689226c067671b8852 WHIRLPOOL b95758f3f0ccfb4b3f27c28f9f72c6a1c4fc1b7fc7ef9da9ed79b154476df4331fc129e6fce86d0a62c1a0cc56212af3f58aa1c669b239d80f88ed92245f6de6 diff --git a/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8.ebuild b/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8.ebuild new file mode 100644 index 000000000000..365e259e7955 --- /dev/null +++ b/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +DESCRIPTION="Compiz Fusion Window Decorator Unsupported Plugins" +HOMEPAGE="http://www.compiz.org/" +SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=" + >=gnome-base/librsvg-2.14.0:2 + virtual/jpeg:0 + >=x11-libs/compiz-bcop-${PV} + >=x11-plugins/compiz-plugins-main-${PV} + >=x11-wm/compiz-${PV} +" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35 + virtual/pkgconfig + >=sys-devel/gettext-0.15 + x11-libs/cairo +" + +RESTRICT="mirror" + +DOCS="AUTHORS ChangeLog INSTALL NEWS README TODO" diff --git a/x11-plugins/compiz-plugins-unsupported/metadata.xml b/x11-plugins/compiz-plugins-unsupported/metadata.xml new file mode 100644 index 000000000000..74d7b9528609 --- /dev/null +++ b/x11-plugins/compiz-plugins-unsupported/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-effects</herd> +<longdescription lang="en"> +Package with several compiz-fusion plugins: +fakeargb, mswitch, snow, tile. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/cputnik/Manifest b/x11-plugins/cputnik/Manifest new file mode 100644 index 000000000000..fb909c83c0fc --- /dev/null +++ b/x11-plugins/cputnik/Manifest @@ -0,0 +1 @@ +DIST cputnik-0.2.0.tar.gz 17850 SHA256 b8a11fbfc5b1ce60cf8b50ad94e395aedf31c81d43ea1a0f277c4cac5c8b61df SHA512 829d9d63f82a2d41c0160be575b3fb7840a5c295c6dd16702240a6aa104e557bff83936c46243e850edf918b41ddc22fd123dab7f5ffd6492302d60c374df55f WHIRLPOOL a30221c4a1d69aac95510acbb8ccae905d9e0729150f8ce7fb7e61c0761158a1d8ef8680a1b8236235d9ca7e379ceca4ca8d45c7b75e9adbaca847ef73d951d4 diff --git a/x11-plugins/cputnik/cputnik-0.2.0.ebuild b/x11-plugins/cputnik/cputnik-0.2.0.ebuild new file mode 100644 index 000000000000..c7d9c1b4316b --- /dev/null +++ b/x11-plugins/cputnik/cputnik-0.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="cputnik is a simple cpu monitor dockapp" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/273" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/576/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/src + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" || die "Compilation failed" +} + +src_install() { + dobin cputnik || die "dobin failed." + dodoc ../{AUTHORS,NEWS,README} +} diff --git a/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch b/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch new file mode 100644 index 000000000000..1eb1279b3bb3 --- /dev/null +++ b/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch @@ -0,0 +1,24 @@ +--- Makefile.orig 2005-03-26 22:29:48.000000000 +0100 ++++ Makefile 2008-01-27 19:43:33.000000000 +0100 +@@ -1,15 +1,15 @@ + +-CFLAGS = -Wall -Os +-INCS = -I/usr/X11R6/include/X11 +-LIBS = -L/usr/X11R6/lib -lXpm -lXext -lX11 +-INSTALL_PREFIX = /usr/local ++CFLAGS += -Wall ++INCS = -I/usr/include/X11 ++LIBS = -L/usr/lib -lXpm -lXext -lX11 ++INSTALL_PREFIX = /usr + + + all: cputnik.c docklib.o master.h mask.h +- gcc $(CFLAGS) $(INCS) docklib.o cputnik.c -o cputnik $(LIBS) ++ $(CC) $(CFLAGS) $(INCS) docklib.o cputnik.c -o cputnik $(LDFLAGS) $(LIBS) + + docklib.o: docklib.c docklib.h +- gcc $(CFLAGS) $(INCS) -c docklib.c ++ $(CC) $(CFLAGS) $(INCS) -c docklib.c + + install: + cp ./cputnik $(INSTALL_PREFIX)/bin diff --git a/x11-plugins/cputnik/metadata.xml b/x11-plugins/cputnik/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/cputnik/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/desklet-Genesis/Manifest b/x11-plugins/desklet-Genesis/Manifest new file mode 100644 index 000000000000..89c9f39bc0ee --- /dev/null +++ b/x11-plugins/desklet-Genesis/Manifest @@ -0,0 +1 @@ +DIST Genesis-0.2.tar.gz 23645 SHA256 0038de96fc6b2b5e6117afd0ce9785e0a81ea0af135f57b08364407990585b58 diff --git a/x11-plugins/desklet-Genesis/desklet-Genesis-0.2.ebuild b/x11-plugins/desklet-Genesis/desklet-Genesis-0.2.ebuild new file mode 100644 index 000000000000..ba9b42a71a77 --- /dev/null +++ b/x11-plugins/desklet-Genesis/desklet-Genesis-0.2.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gdesklets + +DESCRIPTION="An application launcher for gDesklets" +HOMEPAGE="http://gdesklets.de/?q=desklet/view/101" +LICENSE="GPL-2" + +SLOT="0" +IUSE="" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=x11-plugins/desklet-Mouse-0.1" diff --git a/x11-plugins/desklet-Genesis/metadata.xml b/x11-plugins/desklet-Genesis/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/desklet-Genesis/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/desklet-ImageSlideShow/Manifest b/x11-plugins/desklet-ImageSlideShow/Manifest new file mode 100644 index 000000000000..19705745d902 --- /dev/null +++ b/x11-plugins/desklet-ImageSlideShow/Manifest @@ -0,0 +1 @@ +DIST ImageSlideShow-0.8.tar.gz 25187 SHA256 60762ee089174494e97ca3cc97e03d2287971ddb877ad0143d82133661fad32b SHA512 0920ceca7555776a54b6f456b6af8be38da22fde345766b8e48b0771330635025ae3c0a19748ff0be1db9bc5ffa887fbd9cd7d9f79dc1fa51ad62842408986cb WHIRLPOOL a362c5039aa26b0499d892f6ffea82f1075adda162eb1bf97f325a8f70f50a4c3bb7884434076fb4b874428189cb7eed88b33387a94cbee071ff641d0fe16f1f diff --git a/x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8-r1.ebuild b/x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8-r1.ebuild new file mode 100644 index 000000000000..9ca2ae0d7f3e --- /dev/null +++ b/x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +CONTROL_NAME="${PN#desklet-}" + +inherit gdesklets + +DESCRIPTION="ImageSlideShow Control for gDesklets" +HOMEPAGE="http://gdesklets.de/index.php?q=control/view/211" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="${RDEPEND} virtual/python-imaging" +DOCS="MANIFEST README" + +src_prepare() { + epatch "${FILESDIR}/${CONTROL_NAME}-${PV}-cache-dir.patch" +} diff --git a/x11-plugins/desklet-ImageSlideShow/files/ImageSlideShow-0.8-cache-dir.patch b/x11-plugins/desklet-ImageSlideShow/files/ImageSlideShow-0.8-cache-dir.patch new file mode 100644 index 000000000000..64bcd08422b9 --- /dev/null +++ b/x11-plugins/desklet-ImageSlideShow/files/ImageSlideShow-0.8-cache-dir.patch @@ -0,0 +1,27 @@ +--- ImageSlideShow/__init__.py.orig 2008-01-15 16:36:23.000000000 +0100 ++++ ImageSlideShow/__init__.py 2009-05-10 16:57:27.000000000 +0200 +@@ -45,11 +45,10 @@ + self.__previous_width = 300 + + #Cache folder +- #folder = os.path.expanduser("~") + "/" + ".cache2/imageslideshow" +- folder = "/tmp/imageslideshow" ++ folder = os.path.expanduser("~") + "/" + ".thumbnails/imageslideshow" + debugger("cache folder is:" + folder) + if not os.path.isdir(folder): +- os.mkdir(folder) ++ os.makedirs(folder) + + self.__thumbnail_folder=folder + +--- ImageSlideShow/directorywalk.py.orig 2009-05-02 20:42:41.000000000 +0200 ++++ ImageSlideShow/directorywalk.py 2009-05-28 18:57:51.000000000 +0200 +@@ -10,7 +10,7 @@ + st = os.lstat(os.path.join(top, name)) + except os.error: + continue +- if stat.S_ISDIR(st.st_mode): ++ if stat.S_ISDIR(st.st_mode) or stat.S_ISLNK(st.st_mode): + for (newtop, children) in walktree (os.path.join(top, name), depthfirst): + yield newtop, children + if depthfirst: diff --git a/x11-plugins/desklet-ImageSlideShow/metadata.xml b/x11-plugins/desklet-ImageSlideShow/metadata.xml new file mode 100644 index 000000000000..687d5ef03089 --- /dev/null +++ b/x11-plugins/desklet-ImageSlideShow/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> + <longdescription lang="en"> + A Control for gDesklets (gnome-extra/gdesklets-core). Provides + functions to control an image slideshow and read select image + meta-data. Requires the Python Imaging Library. + </longdescription> + <upstream> + <maintainer> + <email>shizeon-at-gmail-dot-com</email> + </maintainer> + </upstream> +</pkgmetadata> + diff --git a/x11-plugins/desklet-Mouse/Manifest b/x11-plugins/desklet-Mouse/Manifest new file mode 100644 index 000000000000..8143bec2087c --- /dev/null +++ b/x11-plugins/desklet-Mouse/Manifest @@ -0,0 +1 @@ +DIST Mouse-0.1.tar.gz 528 SHA256 729f1f387b942fef3439171ee8b50685b20cd954e03bcaead06fc550a0b3a641 diff --git a/x11-plugins/desklet-Mouse/desklet-Mouse-0.1.ebuild b/x11-plugins/desklet-Mouse/desklet-Mouse-0.1.ebuild new file mode 100644 index 000000000000..528e0bb4568b --- /dev/null +++ b/x11-plugins/desklet-Mouse/desklet-Mouse-0.1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +CONTROL_NAME="${PN#desklet-}" + +inherit gdesklets + +DESCRIPTION="Control for gDesklets that reports information about the cursor" +HOMEPAGE="http://gdesklets.de/?q=control/view/101" +LICENSE="GPL-2" + +SLOT="0" +IUSE="" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" diff --git a/x11-plugins/desklet-Mouse/metadata.xml b/x11-plugins/desklet-Mouse/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/desklet-Mouse/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/desklet-SlideShow/Manifest b/x11-plugins/desklet-SlideShow/Manifest new file mode 100644 index 000000000000..435aa322c1e6 --- /dev/null +++ b/x11-plugins/desklet-SlideShow/Manifest @@ -0,0 +1 @@ +DIST SlideShow-0.9.tar.gz 118435 SHA256 bba44b67fc2c032b3f05347a46edaa516cd343542fef7b295abf70dfa3fbe78d diff --git a/x11-plugins/desklet-SlideShow/desklet-SlideShow-0.9.ebuild b/x11-plugins/desklet-SlideShow/desklet-SlideShow-0.9.ebuild new file mode 100644 index 000000000000..864f0cf2c133 --- /dev/null +++ b/x11-plugins/desklet-SlideShow/desklet-SlideShow-0.9.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gdesklets + +DESCRIPTION="Slideshow desklet for gDesklets that cycles through a collection of pictures" +HOMEPAGE="http://gdesklets.de/index.php?q=desklet/view/221" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="${RDEPEND} >=x11-plugins/desklet-ImageSlideShow-0.8" +DOCS="todo" diff --git a/x11-plugins/desklet-SlideShow/metadata.xml b/x11-plugins/desklet-SlideShow/metadata.xml new file mode 100644 index 000000000000..9e90bea72093 --- /dev/null +++ b/x11-plugins/desklet-SlideShow/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> + <longdescription lang="en"> + A desklet for gDesklets (gnome-extra/gdesklets-core) that + cycles through a collection of pictures. Will display image + captions (IPTC,JPEG Comment, EXIF) if available. + </longdescription> + <upstream> + <maintainer> + <email>shizeon-at-gmail-dot-com</email> + </maintainer> + </upstream> +</pkgmetadata> + diff --git a/x11-plugins/desklet-WeeklyCalendar/Manifest b/x11-plugins/desklet-WeeklyCalendar/Manifest new file mode 100644 index 000000000000..8efd26db5a30 --- /dev/null +++ b/x11-plugins/desklet-WeeklyCalendar/Manifest @@ -0,0 +1 @@ +DIST WeeklyCalendar-0.60.tar.gz 47610 SHA256 22beb6b78d1fd6898751d2b60504ccfd0437e734473fb61921f7b8b51dac1473 diff --git a/x11-plugins/desklet-WeeklyCalendar/desklet-WeeklyCalendar-0.60.ebuild b/x11-plugins/desklet-WeeklyCalendar/desklet-WeeklyCalendar-0.60.ebuild new file mode 100644 index 000000000000..d6ff23a2abf8 --- /dev/null +++ b/x11-plugins/desklet-WeeklyCalendar/desklet-WeeklyCalendar-0.60.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gdesklets + +DESCRIPTION="A weekly calendar with task management capability" +HOMEPAGE="http://gdesklets.de/?q=desklet/view/111" +LICENSE="GPL-3" + +SLOT="0" +IUSE="" +# KEYWORDS are limited by dev-python/icalendar +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=x11-plugins/desklet-iCalendarEvent-0.4" + +DOCS="README" diff --git a/x11-plugins/desklet-WeeklyCalendar/metadata.xml b/x11-plugins/desklet-WeeklyCalendar/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/desklet-WeeklyCalendar/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/desklet-ftb/Manifest b/x11-plugins/desklet-ftb/Manifest new file mode 100644 index 000000000000..df6c76349491 --- /dev/null +++ b/x11-plugins/desklet-ftb/Manifest @@ -0,0 +1 @@ +DIST FTB-0.3.2.tar.gz 183231 SHA256 62b821d677cb4111449e49d35ae30b206ba6621661d44479ce34ecd3f9a6150c diff --git a/x11-plugins/desklet-ftb/desklet-ftb-0.3.2.ebuild b/x11-plugins/desklet-ftb/desklet-ftb-0.3.2.ebuild new file mode 100644 index 000000000000..0e2bbd449b87 --- /dev/null +++ b/x11-plugins/desklet-ftb/desklet-ftb-0.3.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESKLET_NAME="FTB" + +inherit gdesklets + +S="${WORKDIR}/Displays/${DESKLET_NAME}" + +DESCRIPTION="Configurable, stackable system monitors" +HOMEPAGE="http://archive.gdesklets.info/" +SRC_URI="http://archive.gdesklets.info/${MY_P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +IUSE="" +KEYWORDS="alpha ~amd64 ia64 ppc ~ppc64 ~sparc ~x86" diff --git a/x11-plugins/desklet-ftb/metadata.xml b/x11-plugins/desklet-ftb/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/desklet-ftb/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/desklet-iCalendarEvent/Manifest b/x11-plugins/desklet-iCalendarEvent/Manifest new file mode 100644 index 000000000000..3c618d694f66 --- /dev/null +++ b/x11-plugins/desklet-iCalendarEvent/Manifest @@ -0,0 +1 @@ +DIST iCalendarEvent-0.5.tar.gz 21571 SHA256 a77480401c4a1dbd009d28d138c257f1901d449f9bab65156c5918c572d176ae diff --git a/x11-plugins/desklet-iCalendarEvent/desklet-iCalendarEvent-0.5.ebuild b/x11-plugins/desklet-iCalendarEvent/desklet-iCalendarEvent-0.5.ebuild new file mode 100644 index 000000000000..bf3c7e171a22 --- /dev/null +++ b/x11-plugins/desklet-iCalendarEvent/desklet-iCalendarEvent-0.5.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +CONTROL_NAME="${PN#desklet-}" + +inherit gdesklets + +DESCRIPTION="iCalendarEvent Control for gDesklets" +HOMEPAGE="http://gdesklets.de/index.php?q=control/view/231" +LICENSE="GPL-2" +# KEYWORDS limited by dev-python/icalendar +KEYWORDS="~x86 ~amd64" +IUSE="" + +RDEPEND="${RDEPEND} + >=dev-python/icalendar-2.0.1 + >=dev-python/python-dateutil-1.2 + dev-libs/libgamin[python] + dev-libs/libxml2[python]" +DOCS="Manifest" diff --git a/x11-plugins/desklet-iCalendarEvent/metadata.xml b/x11-plugins/desklet-iCalendarEvent/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/desklet-iCalendarEvent/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/desklet-justanicon/Manifest b/x11-plugins/desklet-justanicon/Manifest new file mode 100644 index 000000000000..28e6fb5ce555 --- /dev/null +++ b/x11-plugins/desklet-justanicon/Manifest @@ -0,0 +1 @@ +DIST JustAnIcon-0.2.tar.gz 33000 SHA256 671141f1a4fe1325e538a8e481d0d758023ad7eca933313504c015e07180d13c diff --git a/x11-plugins/desklet-justanicon/desklet-justanicon-0.2.ebuild b/x11-plugins/desklet-justanicon/desklet-justanicon-0.2.ebuild new file mode 100644 index 000000000000..1af035a889b9 --- /dev/null +++ b/x11-plugins/desklet-justanicon/desklet-justanicon-0.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESKLET_NAME="JustAnIcon" + +inherit gdesklets + +S="${WORKDIR}/Displays/${DESKLET_NAME}" + +DESCRIPTION="A configurable desktop icon" +HOMEPAGE="http://archive.gdesklets.info/" +SRC_URI="http://archive.gdesklets.info/${MY_P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +IUSE="" +KEYWORDS="~alpha ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64" diff --git a/x11-plugins/desklet-justanicon/metadata.xml b/x11-plugins/desklet-justanicon/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/x11-plugins/desklet-justanicon/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-plugins/docker/Manifest b/x11-plugins/docker/Manifest new file mode 100644 index 000000000000..c25aa6c61aae --- /dev/null +++ b/x11-plugins/docker/Manifest @@ -0,0 +1 @@ +DIST docker-1.5.tar.gz 14863 SHA256 47629578e89d96d1541c91d040aec4316f03ad6d01dc3eecb8f82a33445c1e4e SHA512 71b47156c31e5db5620612d3444eb298489fb33da296742c10543838e65677daa1b81bb054e6a7f57b9e2adef47406c32040983cb09988d93778a555e72cd861 WHIRLPOOL 2b8fbb60a901f97e71dc31cb876ee42f5b3ff6fe898f4d01b54e98d61352090d561b00fde16f081736ab9882d70281b49102c95a29211e1f0bec1a2f55bd75e1 diff --git a/x11-plugins/docker/docker-1.5-r1.ebuild b/x11-plugins/docker/docker-1.5-r1.ebuild new file mode 100644 index 000000000000..42f99ee59082 --- /dev/null +++ b/x11-plugins/docker/docker-1.5-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Openbox app which acts as a system tray for KDE and GNOME2" +HOMEPAGE="http://icculus.org/openbox/2/docker/" +SRC_URI="http://icculus.org/openbox/2/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.0.4 + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/${P}-makefile_rename.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc README +} + +pkg_postinst() { + einfo "To avoid collision with app-emulation/docker, binary was renamed to wmdocker" +} diff --git a/x11-plugins/docker/docker-1.5.ebuild b/x11-plugins/docker/docker-1.5.ebuild new file mode 100644 index 000000000000..496e01036be2 --- /dev/null +++ b/x11-plugins/docker/docker-1.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="Openbox app which acts as a system tray for KDE and GNOME2" +HOMEPAGE="http://icculus.org/openbox/2/docker/" +SRC_URI="http://icculus.org/openbox/2/${PN}/${P}.tar.gz" + +RDEPEND=">=dev-libs/glib-2.0.4 + x11-libs/libX11 + !app-emulation/docker" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc ~ppc64 ~sparc x86 ~x86-fbsd" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-makefile.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README +} diff --git a/x11-plugins/docker/files/docker-1.5-makefile.patch b/x11-plugins/docker/files/docker-1.5-makefile.patch new file mode 100644 index 000000000000..d788bb630406 --- /dev/null +++ b/x11-plugins/docker/files/docker-1.5-makefile.patch @@ -0,0 +1,45 @@ +--- Makefile.orig 2010-03-29 13:57:15.000000000 +0300 ++++ Makefile 2010-03-29 13:59:11.000000000 +0300 +@@ -5,12 +5,10 @@ + #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# + + # Change this PREFIX to where you want docker to be installed +-PREFIX=/usr/local +-# Change this XLIBPATH to point to your X11 development package's installation +-XLIBPATH=/usr/X11R6/lib ++PREFIX = /usr + + # Sets some flags for stricter compiling +-CFLAGS=-pedantic -Wall -W -O ++CFLAGS += -pedantic -Wall -W + + #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# + # # +@@ -24,14 +22,14 @@ + target=docker + sources=docker.c kde.c icons.c xproperty.c net.c + headers=docker.h kde.h icons.h xproperty.h net.h version.h +-extra=README COPYING version.h.in ++extra=README version.h.in + + all: $(target) $(sources) $(headers) + @echo Build Successful + + $(target): $(sources:.c=.o) +- $(CC) $(CFLAGS) -L$(XLIBPATH) -lX11 \ +- `pkg-config --libs glib-2.0` $^ -o $@ ++ $(CC) $(LDFLAGS) $(CFLAGS) $^ -lX11 \ ++ `pkg-config --libs glib-2.0` -o $@ + + %.o: %.c + $(CC) -c $(CFLAGS) `pkg-config --cflags glib-2.0` $< +@@ -40,7 +38,8 @@ + sed -e "s/@VERSION@/$(VERSION)/" version.h.in > $@ + + install: all +- install $(target) $(PREFIX)/bin/$(target) ++ install -d $(DESTDIR)$(PREFIX)/bin ++ install $(target) $(DESTDIR)$(PREFIX)/bin/$(target) + + uninstall: + rm -f $(PREFIX)/$(target) diff --git a/x11-plugins/docker/files/docker-1.5-makefile_rename.patch b/x11-plugins/docker/files/docker-1.5-makefile_rename.patch new file mode 100644 index 000000000000..2e742661b11d --- /dev/null +++ b/x11-plugins/docker/files/docker-1.5-makefile_rename.patch @@ -0,0 +1,49 @@ +--- Makefile.orig 2015-01-19 20:10:47.762522964 +0100 ++++ Makefile 2015-01-19 20:11:11.463545692 +0100 +@@ -5,12 +5,10 @@ + #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# + + # Change this PREFIX to where you want docker to be installed +-PREFIX=/usr/local +-# Change this XLIBPATH to point to your X11 development package's installation +-XLIBPATH=/usr/X11R6/lib ++PREFIX = /usr + + # Sets some flags for stricter compiling +-CFLAGS=-pedantic -Wall -W -O ++CFLAGS += -pedantic -Wall -W + + #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# + # # +@@ -21,17 +19,17 @@ + PACKAGE=docker + VERSION=1.5 + +-target=docker ++target=wmdocker + sources=docker.c kde.c icons.c xproperty.c net.c + headers=docker.h kde.h icons.h xproperty.h net.h version.h +-extra=README COPYING version.h.in ++extra=README version.h.in + + all: $(target) $(sources) $(headers) + @echo Build Successful + + $(target): $(sources:.c=.o) +- $(CC) $(CFLAGS) -L$(XLIBPATH) -lX11 \ +- `pkg-config --libs glib-2.0` $^ -o $@ ++ $(CC) $(LDFLAGS) $(CFLAGS) $^ -lX11 \ ++ `pkg-config --libs glib-2.0` -o $@ + + %.o: %.c + $(CC) -c $(CFLAGS) `pkg-config --cflags glib-2.0` $< +@@ -40,7 +38,8 @@ + sed -e "s/@VERSION@/$(VERSION)/" version.h.in > $@ + + install: all +- install $(target) $(PREFIX)/bin/$(target) ++ install -d $(DESTDIR)$(PREFIX)/bin ++ install $(target) $(DESTDIR)$(PREFIX)/bin/$(target) + + uninstall: + rm -f $(PREFIX)/$(target) diff --git a/x11-plugins/docker/metadata.xml b/x11-plugins/docker/metadata.xml new file mode 100644 index 000000000000..6a888dd1add1 --- /dev/null +++ b/x11-plugins/docker/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> + Openbox app which acts as a system tray for KDE and GNOME2. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/echievements/Manifest b/x11-plugins/echievements/Manifest new file mode 100644 index 000000000000..48e8d8cec315 --- /dev/null +++ b/x11-plugins/echievements/Manifest @@ -0,0 +1 @@ +DIST echievements-2.tar.bz2 319239 SHA256 061d0f8c44406f0ff4e4d8467cc499d1b5f90debe9d8612b2e167bf454ab7aca SHA512 fdd6391e5e1724ddc153ddda369c1c4fc7ea278492994ad009bc7679c7d4322ecea46ff79cab79d80a4f09480047c3fe9ea4d2f44a66c67af187c5c136d7252e WHIRLPOOL 4afeed2c856a3e251df2ceeabec6740aa37c07e09f84eb27ecf0914da9d51dbad0ebb2422e5b58265251e1417f4fc7e813bfeca569300e86b319c8d8c044458e diff --git a/x11-plugins/echievements/echievements-2.ebuild b/x11-plugins/echievements/echievements-2.ebuild new file mode 100644 index 000000000000..d9b1737c58ff --- /dev/null +++ b/x11-plugins/echievements/echievements-2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit enlightenment + +DESCRIPTION="Show enlightenment echievements" + +SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2" +LICENSE="BSD-2" + +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-games/etrophy-0.5.1 + dev-libs/e_dbus + dev-libs/efl + x11-wm/enlightenment:0.17=" +DEPEND="${RDEPEND} + virtual/pkgconfig" diff --git a/x11-plugins/echievements/metadata.xml b/x11-plugins/echievements/metadata.xml new file mode 100644 index 000000000000..5e1261900709 --- /dev/null +++ b/x11-plugins/echievements/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>enlightenment</herd> +</pkgmetadata> diff --git a/x11-plugins/epplets/Manifest b/x11-plugins/epplets/Manifest new file mode 100644 index 000000000000..8940a1b76dad --- /dev/null +++ b/x11-plugins/epplets/Manifest @@ -0,0 +1,2 @@ +DIST epplets-0.12.tar.gz 894232 SHA256 676522217e91955cda67ba1f7dcd11f9242685af5652ea408cd6128a8b332ce2 SHA512 b8b017ed4199f6a083db4e66090611e24d50428d287b1ef414725e68bc48ecedc3f6a3c9f68d38645e9146739e35e43ca08197d832b38d580039f3a050de93dc WHIRLPOOL b7fc0602c54ec63961d409ffdc1bd1ae8b5f603ac9cdf20a7cb06f9133769e2c90d7cec872ff22baf0b744a616102d08f58c2a240019c83e38c253a55de43950 +DIST epplets-0.14.tar.gz 971885 SHA256 e3d1520344532f602a0a7807cda363d6435655aed302967a8580f102e3468132 SHA512 d83d60521fe06497f109c3fbb5c2e10abd36a43b050c10787a68d9f9f8c2866f57d78a8559a482654d9bb0eaaf3ce791e4839bb0fda88ccbf026d8ec5dc93824 WHIRLPOOL 1e53c3c337a61104a46fa5bcbc1d38b7936e0e4b40c46bd4fdb8a7f88302e5c8adc16ca22b1cba3a18b179a4dd15f6e015c6cdcc2f812bcbaace4ea408c51596 diff --git a/x11-plugins/epplets/epplets-0.12.ebuild b/x11-plugins/epplets/epplets-0.12.ebuild new file mode 100644 index 000000000000..738cba81b13c --- /dev/null +++ b/x11-plugins/epplets/epplets-0.12.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="Base files for Enlightenment epplets and some epplets" +HOMEPAGE="http://www.enlightenment.org/" +SRC_URI="mirror://sourceforge/enlightenment/epplets-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + media-libs/freeglut + media-libs/imlib2 + >=x11-wm/enlightenment-0.16.4" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-proto/xproto + x11-proto/xextproto" + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ChangeLog +} diff --git a/x11-plugins/epplets/epplets-0.14.ebuild b/x11-plugins/epplets/epplets-0.14.ebuild new file mode 100644 index 000000000000..5f4d2c769fc7 --- /dev/null +++ b/x11-plugins/epplets/epplets-0.14.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +DESCRIPTION="Base files for Enlightenment epplets and some epplets" +HOMEPAGE="http://www.enlightenment.org/" +SRC_URI="mirror://sourceforge/enlightenment/epplets-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="static-libs" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + media-libs/freeglut + media-libs/imlib2 + >=x11-wm/enlightenment-0.16.4" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-proto/xproto + x11-proto/xextproto" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || find "${ED}"/usr -name '*.la' -delete +} diff --git a/x11-plugins/epplets/metadata.xml b/x11-plugins/epplets/metadata.xml new file mode 100644 index 000000000000..3e6098cb0144 --- /dev/null +++ b/x11-plugins/epplets/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>vapier@gentoo.org</email> + </maintainer> + <longdescription> +Epplets are small, handy Enlightenment applets, similar to "dockapps" +or "applets" for other packages. The epplets package contains the +base epplet API library and header files, as well as the core set of +epplets, including CPU monitors, clocks, a mail checker, mixers, a +slideshow, a URL grabber, a panel-like toolbar, and more. +</longdescription> + <upstream> + <remote-id type="sourceforge">enlightenment</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/fsviewer/Manifest b/x11-plugins/fsviewer/Manifest new file mode 100644 index 000000000000..06552d461d51 --- /dev/null +++ b/x11-plugins/fsviewer/Manifest @@ -0,0 +1 @@ +DIST fsviewer-app-0.2.6.tar.bz2 785422 SHA256 18f964da350bf617a76ccca6411000862394bca09f7616b5b019d6a760bfa57b SHA512 47c10a049120db8e5b095fdcc82033b66a4413f8f7e88959f0190b568324e85c8362486e0419b9c098e62e19e38dd8f2f56c6f0d1e7829afafd21a4837b4859b WHIRLPOOL b3304d65687dd1444787caadfd31164cd67535adad99e5d8d6c6b221187130d44653276ffb3048961db87d2e877f76adf25b635a9c8fa98b427224ce2e012e76 diff --git a/x11-plugins/fsviewer/files/fsviewer-0.2.6-wmaker-0.95_support.patch b/x11-plugins/fsviewer/files/fsviewer-0.2.6-wmaker-0.95_support.patch new file mode 100644 index 000000000000..da64f3a0389e --- /dev/null +++ b/x11-plugins/fsviewer/files/fsviewer-0.2.6-wmaker-0.95_support.patch @@ -0,0 +1,36 @@ +diff -Naur fsviewer-app-0.2.6.orig/configure.ac fsviewer-app-0.2.6/configure.ac +--- fsviewer-app-0.2.6.orig/configure.ac 2012-07-11 17:55:06.448981246 +0200 ++++ fsviewer-app-0.2.6/configure.ac 2012-07-11 18:04:15.528940159 +0200 +@@ -81,6 +81,8 @@ + AC_MSG_ERROR([WMaker library not found])) + AC_CHECK_LIB(WINGs, WMAppSetMainMenu,, + AC_MSG_ERROR([WINGs library not found])) ++AC_CHECK_LIB(WUtil, WMCreatePLString,, ++ AC_MSG_ERROR([WUtil library not found])) + + dnl Checks for PropList (not necessary since version 0.2.3b) + dnl AC_CHECK_HEADERS(proplist.h,, AC_MSG_WARN(Can't find PropList include-file: Please install libPropList (included in WindowMaker))) +diff -Naur fsviewer-app-0.2.6.orig/defs/chdef.c fsviewer-app-0.2.6/defs/chdef.c +--- fsviewer-app-0.2.6.orig/defs/chdef.c 2012-07-11 17:55:06.444981361 +0200 ++++ fsviewer-app-0.2.6/defs/chdef.c 2012-07-11 17:55:50.387699640 +0200 +@@ -374,7 +374,7 @@ + SetIntegerForKey(0, "DisplayMCListPixmap"); + + WMWritePropListToFile(filesDB, +- wdefaultspathfordomain("FSViewer"), True); ++ wdefaultspathfordomain("FSViewer")); + result = 0; + } + else +diff -Naur fsviewer-app-0.2.6.orig/src/extnInspector.c fsviewer-app-0.2.6/src/extnInspector.c +--- fsviewer-app-0.2.6.orig/src/extnInspector.c 2012-07-11 17:55:06.452981130 +0200 ++++ fsviewer-app-0.2.6/src/extnInspector.c 2012-07-11 17:56:02.315351669 +0200 +@@ -229,7 +229,7 @@ + + if(numRows > 0) + WMWritePropListToFile(filesDB, +- wdefaultspathfordomain("FSViewer"), True); ++ wdefaultspathfordomain("FSViewer")); + + if(extn) + free(extn); diff --git a/x11-plugins/fsviewer/fsviewer-0.2.6.ebuild b/x11-plugins/fsviewer/fsviewer-0.2.6.ebuild new file mode 100644 index 000000000000..3ef50fdd08a0 --- /dev/null +++ b/x11-plugins/fsviewer/fsviewer-0.2.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils multilib + +MY_P=${PN}-app-${PV} + +DESCRIPTION="A file system viewer for Window Maker" +HOMEPAGE="http://www.bayernline.de/~gscholz/linux/fsviewer/" +SRC_URI="http://www.bayernline.de/~gscholz/linux/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND=">=x11-wm/windowmaker-0.95.2 + x11-libs/libXft + x11-libs/libXpm + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-proto/xproto + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${MY_P} + +DOCS="AUTHORS ChangeLog NEWS README" + +src_prepare() { + epatch "${FILESDIR}"/${P}-wmaker-0.95_support.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + --with-appspath=/usr/$(get_libdir)/GNUstep +} + +src_install() { + default + dosym /usr/$(get_libdir)/GNUstep/FSViewer.app/FSViewer /usr/bin/FSViewer +} diff --git a/x11-plugins/fsviewer/metadata.xml b/x11-plugins/fsviewer/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/fsviewer/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/gkrellaclock/Manifest b/x11-plugins/gkrellaclock/Manifest new file mode 100644 index 000000000000..5c50d8869168 --- /dev/null +++ b/x11-plugins/gkrellaclock/Manifest @@ -0,0 +1 @@ +DIST gkrellaclock-0.3.4.tar.gz 18853 SHA256 5923c5fa6c31ceb1944e57219d893634e503d44dc5e91f3deba46f0d71e787b7 diff --git a/x11-plugins/gkrellaclock/gkrellaclock-0.3.4.ebuild b/x11-plugins/gkrellaclock/gkrellaclock-0.3.4.ebuild new file mode 100644 index 000000000000..1635e29c7b6e --- /dev/null +++ b/x11-plugins/gkrellaclock/gkrellaclock-0.3.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="" +S=${WORKDIR}/${P/a/A} +DESCRIPTION="Nice analog clock for GKrellM2" +SRC_URI="mirror://gentoo/${P}.tar.gz" +HOMEPAGE="http://www.gkrellm.net/" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 ppc sparc x86" + +src_compile() { + make clean #166133 + + export CFLAGS="${CFLAGS/-O?/}" + emake || die 'emake failed' +} diff --git a/x11-plugins/gkrellaclock/metadata.xml b/x11-plugins/gkrellaclock/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellaclock/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/gkrellfire/Manifest b/x11-plugins/gkrellfire/Manifest new file mode 100644 index 000000000000..fd22e2dda34c --- /dev/null +++ b/x11-plugins/gkrellfire/Manifest @@ -0,0 +1 @@ +DIST gkrellfire-0.4.2.tgz 12474 SHA256 b8c81e038c4fad56be360af2a8423c096c98bb2bc382b024a1734fa36fddbb40 SHA512 1b7f6229567819092cd2eb2e33e3b7fd8340b0e913f6bcd1d11e9dd604730e3ca4fc1adaa8ae36895d80000f61931da14a586be6929c141c64b8519f8dc328bf WHIRLPOOL 1dffccc9de7af3684f031f9b963052783268a43b830f51779da46fab4e1e78f7d7a5e020f0980e0635eb660b7900a8204f217f674f12e509db3c3274c139c039 diff --git a/x11-plugins/gkrellfire/gkrellfire-0.4.2.ebuild b/x11-plugins/gkrellfire/gkrellfire-0.4.2.ebuild new file mode 100644 index 000000000000..a6ae1319ebac --- /dev/null +++ b/x11-plugins/gkrellfire/gkrellfire-0.4.2.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +DESCRIPTION="Cpu load flames for GKrellM 2" +HOMEPAGE="http://people.freenet.de/thomas-steinke" +SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" diff --git a/x11-plugins/gkrellfire/metadata.xml b/x11-plugins/gkrellfire/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellfire/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/gkrellflynn/Manifest b/x11-plugins/gkrellflynn/Manifest new file mode 100644 index 000000000000..4ab1ac745aed --- /dev/null +++ b/x11-plugins/gkrellflynn/Manifest @@ -0,0 +1 @@ +DIST gkrellflynn-0.8.tar.gz 26722 SHA256 377c8581c15e83948687cc22c0ddee208c65195687df68dd05e73bafa7e68659 SHA512 36c643adcfb1ecb994eb6c2bb590225df1f268e885508ede28ea8b9760bdca33bfb48821d356ce0c56e38be5f7b16ad7062bc191e8a77aef1c792bd02da2f366 WHIRLPOOL dbf98ce6383443d57511cb7d4f05a50f78c1a7a39e8d97e40fef42005657984f64f65d711bb236aeb81c7a20a2436b58617a9d8d2f2f55125e0412dfffcc814b diff --git a/x11-plugins/gkrellflynn/files/gkrellflynn-0.8-makefile.patch b/x11-plugins/gkrellflynn/files/gkrellflynn-0.8-makefile.patch new file mode 100644 index 000000000000..0b539fa6635f --- /dev/null +++ b/x11-plugins/gkrellflynn/files/gkrellflynn-0.8-makefile.patch @@ -0,0 +1,37 @@ +--- Makefile 2002-05-07 10:04:49.000000000 +0200 ++++ Makefile_new 2013-03-12 21:10:15.888656809 +0100 +@@ -3,11 +3,10 @@ + # + # updated for gkrellm2.0 + +-CC = gcc +-CFLAGS = -c -O -Wall -fPIC `${EXTRACONF}` ++CC = $(CC) ++INCLUDE = -c -fPIC `${EXTRACONF}` + +-LD = $(CC) +-LDFLAGS = -shared -Wl -o ++LDFLAGS = $(LDFLAGS) + INCPATH = -I. + INCPATH += ${GKRELL_INC} + +@@ -25,10 +24,10 @@ + (make GKRELL_INC=-DGKRELLM EXTRACONF="gtk-config --cflags;imlib-config --cflags-gdk" ${TARGET}) + + gkrellm2: +- (make GKRELL_INC=-DGKRELLM2 EXTRACONF="pkg-config --cflags gtk+-2.0 gthread-2.0" ${TARGET}) ++ ($(MAKE) GKRELL_INC=-DGKRELLM2 EXTRACONF="pkg-config --cflags gtk+-2.0 gthread-2.0" ${TARGET}) + + ${TARGET}: ${OBJS} +- ${LD} ${DEBUG} ${LDFLAGS} ${TARGET} ${OBJS} ++ ${CC} -shared ${LDFLAGS} ${CFLAGS} -o ${TARGET} ${OBJS} + + clean: + rm -f ${OBJS} +@@ -47,5 +46,5 @@ + ./install-sub.sh ${TARGET} gkrellm2 + + %.o : %.c +- ${CC} ${CFLAGS} $(INCPATH) -o $@ $< ++ ${CC} ${CFLAGS} $(INCLUDE) ${LDFLAGS} $(INCPATH) -o $@ $< + diff --git a/x11-plugins/gkrellflynn/gkrellflynn-0.8.ebuild b/x11-plugins/gkrellflynn/gkrellflynn-0.8.ebuild new file mode 100644 index 000000000000..86c5914f306c --- /dev/null +++ b/x11-plugins/gkrellflynn/gkrellflynn-0.8.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit eutils gkrellm-plugin toolchain-funcs + +HOMEPAGE="http://bax.comlab.uni-rostock.de/en/projects/flynn.html" +SRC_URI="http://bax.comlab.uni-rostock.de/fileadmin/downloads/${P}.tar.gz" +DESCRIPTION="A funny GKrellM2 load monitor (for Doom(tm) fans)" +KEYWORDS="alpha amd64 ppc sparc x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +RDEPEND="app-admin/gkrellm[X]" +DEPEND="${RDEPEND}" + +src_prepare(){ + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" gkrellm2 +} diff --git a/x11-plugins/gkrellflynn/metadata.xml b/x11-plugins/gkrellflynn/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellflynn/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/gkrellkam/Manifest b/x11-plugins/gkrellkam/Manifest new file mode 100644 index 000000000000..ff6c84e8c740 --- /dev/null +++ b/x11-plugins/gkrellkam/Manifest @@ -0,0 +1 @@ +DIST gkrellkam_2.0.0.tar.gz 27028 SHA256 4d0c208c3654f54c0ff6b3e87d1f046d21415b73266e5aa053a77173507e460f SHA512 a5a5d0a41de37b006c42150f0388ba573c968679f3f15c6b1d4837361d136cb529c2152723382e99bb46a76be5f1bde641137cea22e07a502402560dcd18699f WHIRLPOOL c1e8c6a6728b7eeff80d00b8c8596817065469e3da0631b761e9aa4b105bd04331f0c07ceb0dedc9af4acd9f70583ffc2355f8e9824a8efa2bbfbca960bd9f43 diff --git a/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch new file mode 100644 index 000000000000..83178b4b0ff8 --- /dev/null +++ b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch @@ -0,0 +1,25 @@ +--- Makefile 2002-10-23 18:36:20.000000000 +0200 ++++ Makefile_new 2013-03-16 14:02:42.979029588 +0100 +@@ -12,10 +12,10 @@ + # This should point to the GKrellM headers + GKRELLM_HDRS = /usr/include + +-CC := gcc ++CC = $(CC) + GTKFLAGS := $(shell pkg-config gtk+-2.0 --cflags) +-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) -I$(GKRELLM_HDRS) +-LDFLAGS := -shared -Wl ++CFLAGS := $(CFLAGS) -fPIC $(GTKFLAGS) -I$(GKRELLM_HDRS) ++LFLAGS = -shared + INST_DIR := $(DESTDIR)/usr/lib/gkrellm2/plugins + USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm2/plugins + MANPAGES := gkrellkam-list.5 +@@ -26,7 +26,7 @@ + all: $(TARGET).so + + %.so: %.o +- $(CC) $(LDFLAGS) -o $@ $< ++ $(CC) $(CFLAGS) $(LDFLAGS) $(LFLAGS) -o $@ $< + + clean: + -rm -f $(TARGET).so $(TARGET).o diff --git a/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild b/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild new file mode 100644 index 000000000000..688e83c63dba --- /dev/null +++ b/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit eutils gkrellm-plugin toolchain-funcs + +MY_P=${P/-/_} + +DESCRIPTION="an Image-Watcher-Plugin for GKrellM2" +SRC_URI="mirror://sourceforge/gkrellkam/${MY_P}.tar.gz" +HOMEPAGE="http://gkrellkam.sourceforge.net" +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="x86 ppc sparc alpha amd64" + +RDEPEND="net-misc/wget + app-admin/gkrellm[X]" +DEPEND="${RDEPEND}" + +PLUGIN_SO=gkrellkam2.so +PLUGIN_DOCS="example.list" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} + +src_install () { + gkrellm-plugin_src_install + doman gkrellkam-list.5 +} diff --git a/x11-plugins/gkrellkam/metadata.xml b/x11-plugins/gkrellkam/metadata.xml new file mode 100644 index 000000000000..58edd8f67a54 --- /dev/null +++ b/x11-plugins/gkrellkam/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkrellkam</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/gkrellm-bgchanger/Manifest b/x11-plugins/gkrellm-bgchanger/Manifest new file mode 100644 index 000000000000..8d209eee13ac --- /dev/null +++ b/x11-plugins/gkrellm-bgchanger/Manifest @@ -0,0 +1,2 @@ +DIST gkrellmbgchg2-0.1.10.tar.gz 17667 SHA256 ecd27ef920b8193bd5fe9ec08285fa672eb8c8d457ede7e2e38c44a44433845b SHA512 09abe6a378b96f7a3a47ac1aee02f82ff1aabc2dd3caf9cc1bfa9484100945364ed0d9e94ea8eab07995ae80b9131bce3836d932702991e37bd974cfab651e2c WHIRLPOOL 115befc5c6bc2427d7765e48f391744d7d8fedcc26ab315655f01d1745f51009d46b56ed7d91a11591838f832fa4d1cb7c6e62ee09ee3c971cb8c7057fb08d3a +DIST gkrellmbgchg2-0.1.11.tar.gz 24164 SHA256 0cbb8c1f8638c7443105d3a8b7b4565333e8c233648c1d831b4289a71ef23d26 SHA512 648f56260e756d23ce616efb863e5746a7400a3fd7df135fc3b7548ac07ebb058e9c4f7c76af92cc2c4942ba6c1108b6e294b72afe831de6285e2329ca7c4803 WHIRLPOOL 8737ccfb37910911f14e156266387c38cfe341046547fcfb054dccbe3c4e7630913d8112fae6fa6448896fbaa8866babaef0107ca0b2d520c61d2ea47cb80a0d diff --git a/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.10.ebuild b/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.10.ebuild new file mode 100644 index 000000000000..9fb445006324 --- /dev/null +++ b/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.10.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit gkrellm-plugin + +IUSE="" + +MY_PN=gkrellmbgchg2 +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Plugin for GKrellM2 to change your desktop background" +HOMEPAGE="http://www.bender-suhl.de/stefan/english/comp/gkrellmbgchg.html" +SRC_URI="http://www.bender-suhl.de/stefan/comp/sources/${MY_P}.tar.gz" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +PLUGIN_SO=gkrellmbgchg.so +PLUGIN_DOCS="bgchg_info.sh kdewallpaper.sh" diff --git a/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11-r1.ebuild b/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11-r1.ebuild new file mode 100644 index 000000000000..a999fdd488b1 --- /dev/null +++ b/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit gkrellm-plugin toolchain-funcs + +IUSE="" + +MY_PN=gkrellmbgchg2 +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Plugin for GKrellM2 to change your desktop background" +HOMEPAGE="http://www.bender-suhl.de/stefan/english/comp/gkrellmbgchg.html" +SRC_URI="http://www.bender-suhl.de/stefan/comp/sources/${MY_P}.tar.gz" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +PLUGIN_SO=gkrellmbgchg.so +PLUGIN_DOCS="bgchg_info.sh kdewallpaper.sh" + +src_prepare() { + sed -i "s:local/::" Makefile || die + tc-export CC +} diff --git a/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11.ebuild b/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11.ebuild new file mode 100644 index 000000000000..9fb445006324 --- /dev/null +++ b/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit gkrellm-plugin + +IUSE="" + +MY_PN=gkrellmbgchg2 +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Plugin for GKrellM2 to change your desktop background" +HOMEPAGE="http://www.bender-suhl.de/stefan/english/comp/gkrellmbgchg.html" +SRC_URI="http://www.bender-suhl.de/stefan/comp/sources/${MY_P}.tar.gz" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +PLUGIN_SO=gkrellmbgchg.so +PLUGIN_DOCS="bgchg_info.sh kdewallpaper.sh" diff --git a/x11-plugins/gkrellm-bgchanger/metadata.xml b/x11-plugins/gkrellm-bgchanger/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-bgchanger/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/gkrellm-bluez/Manifest b/x11-plugins/gkrellm-bluez/Manifest new file mode 100644 index 000000000000..ef36fdcc3947 --- /dev/null +++ b/x11-plugins/gkrellm-bluez/Manifest @@ -0,0 +1 @@ +DIST gkrellm-bluez-0.2.tar.gz 330247 SHA256 cfaeecb7f9d15d6a35a6faa60cab33e2fe6eb5ab05352f6ea343b063a5a6d476 diff --git a/x11-plugins/gkrellm-bluez/files/gkrellm-bluez-0.2-notheme.patch b/x11-plugins/gkrellm-bluez/files/gkrellm-bluez-0.2-notheme.patch new file mode 100644 index 000000000000..6a9841652dd2 --- /dev/null +++ b/x11-plugins/gkrellm-bluez/files/gkrellm-bluez-0.2-notheme.patch @@ -0,0 +1,91 @@ +diff -u --new-file gkrellm-bluez-0.2-orig/src/decal_net_leds.xpm gkrellm-bluez-0.2/src/decal_net_leds.xpm +--- gkrellm-bluez-0.2-orig/src/decal_net_leds.xpm 1969-12-31 18:00:00.000000000 -0600 ++++ gkrellm-bluez-0.2/src/decal_net_leds.xpm 2007-03-08 09:07:50.000000000 -0600 +@@ -0,0 +1,66 @@ ++/* XPM */ ++static char * decal_net_leds_xpm[] = { ++"10 12 51 1", ++" c None", ++". c #222323", ++"+ c #3A3A3A", ++"@ c #4C4F4F", ++"# c #3E3F3F", ++"$ c #262727", ++"% c #334735", ++"& c #335E4F", ++"* c #337568", ++"= c #2C857C", ++"- c #259790", ++"; c #1EA8A4", ++"> c #18B5B4", ++", c #20A39E", ++"' c #2A786D", ++") c #314E3E", ++"! c #526E55", ++"~ c #48846F", ++"{ c #3F9988", ++"] c #36B0A2", ++"^ c #2CC8BF", ++"/ c #22E0DA", ++"( c #1BF1EF", ++"_ c #25D8D2", ++": c #3AA595", ++"< c #4E765F", ++"[ c #141414", ++"} c #272929", ++"| c #3D3F3F", ++"1 c #2D2E2E", ++"2 c #171717", ++"3 c #5D421D", ++"4 c #84612F", ++"5 c #AD8643", ++"6 c #D0A456", ++"7 c #CDA255", ++"8 c #BA914B", ++"9 c #A68040", ++"0 c #936E37", ++"a c #805F2E", ++"b c #6E5125", ++"c c #7F643C", ++"d c #A48350", ++"e c #CDA666", ++"f c #F1C479", ++"g c #EEC277", ++"h c #DAB16D", ++"i c #C6A062", ++"j c #B39058", ++"k c #A0814F", ++"l c #8F7345", ++".+@@@@@@#$", ++".+@@@@@@#$", ++".+@@@@@@#$", ++"%&*=-;>,')", ++"!~{]^/(_:<", ++"%&*=-;>,')", ++"[}||||||12", ++"[}||||||12", ++"[}||||||12", ++"34567890ab", ++"cdefghijkl", ++"34567890ab"}; +diff -u --new-file gkrellm-bluez-0.2-orig/src/gkrellm-bluez-chart.c gkrellm-bluez-0.2/src/gkrellm-bluez-chart.c +--- gkrellm-bluez-0.2-orig/src/gkrellm-bluez-chart.c 2006-11-14 13:50:24.000000000 -0600 ++++ gkrellm-bluez-0.2/src/gkrellm-bluez-chart.c 2007-03-08 09:13:29.000000000 -0600 +@@ -22,6 +22,8 @@ + + #include "gkrellm-bluez-chart.h" + ++#include "decal_net_leds.xpm" ++ + #define DECAL_NET_LEDS "decal_net_leds" + + #define GRID_RESOLUTION_MIN 0 +@@ -237,7 +239,7 @@ + + /* Check for theme_dir/net/decal_net_leds.png. + */ +- gkrellm_load_piximage(DECAL_NET_LEDS, NULL, ++ gkrellm_load_piximage(DECAL_NET_LEDS, decal_net_leds_xpm, + &decal_net_led_piximage, NET_STYLE_NAME); + + w = gdk_pixbuf_get_width(decal_net_led_piximage->pixbuf); diff --git a/x11-plugins/gkrellm-bluez/gkrellm-bluez-0.2-r1.ebuild b/x11-plugins/gkrellm-bluez/gkrellm-bluez-0.2-r1.ebuild new file mode 100644 index 000000000000..c26ca7c99359 --- /dev/null +++ b/x11-plugins/gkrellm-bluez/gkrellm-bluez-0.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +DESCRIPTION="GKrellm plugin for monitoring bluetooth (Linux BlueZ) adapters" +SRC_URI="mirror://sourceforge/gkrellm-bluez/${P}.tar.gz" +HOMEPAGE="http://gkrellm-bluez.sourceforge.net" + +RDEPEND="net-wireless/bluez" + +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" +SLOT="0" + +PLUGIN_SO="src/.libs/gkrellmbluez.so" +PLUGIN_DOCS="THEMING NEWS" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Be a bit more future proof, bug #260948 + sed "s/-Werror//" -i src/Makefile.am src/Makefile.in || die "sed failed" + + epatch "${FILESDIR}"/${P}-notheme.patch || die "Patch failed" +} + +src_compile() { + econf --disable-static || die "Config failed" + emake || die "Make failed" +} diff --git a/x11-plugins/gkrellm-bluez/metadata.xml b/x11-plugins/gkrellm-bluez/metadata.xml new file mode 100644 index 000000000000..81eae46a58f1 --- /dev/null +++ b/x11-plugins/gkrellm-bluez/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkrellm-bluez</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/gkrellm-countdown/Manifest b/x11-plugins/gkrellm-countdown/Manifest new file mode 100644 index 000000000000..facd060ff73b --- /dev/null +++ b/x11-plugins/gkrellm-countdown/Manifest @@ -0,0 +1 @@ +DIST gkrellm-countdown-0.1.2.tar.gz 12482 SHA256 b05ee77c3c3beac48b2bbbca4140cbf4d575edb02cfdfd535bc0ec1973ef3dd2 diff --git a/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.2.ebuild b/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.2.ebuild new file mode 100644 index 000000000000..37baa00c8f02 --- /dev/null +++ b/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.2.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +S=${WORKDIR}/${PN} +DESCRIPTION="A simple countdown clock for GKrellM2" +SRC_URI="http://oss.pugsplace.net/${P}.tar.gz" +HOMEPAGE="http://oss.pugsplace.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="ppc sparc x86" +IUSE="" diff --git a/x11-plugins/gkrellm-countdown/metadata.xml b/x11-plugins/gkrellm-countdown/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/gkrellm-countdown/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/gkrellm-imonc/Manifest b/x11-plugins/gkrellm-imonc/Manifest new file mode 100644 index 000000000000..fcc5d6f12f83 --- /dev/null +++ b/x11-plugins/gkrellm-imonc/Manifest @@ -0,0 +1 @@ +DIST gkrellm-imonc-src-0.2.tar.bz2 19189 SHA256 14ef27b6c21e65b9a4408acce3c7b8134a8857f7bf275963b59f4ebc3358ce92 diff --git a/x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2.ebuild b/x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2.ebuild new file mode 100644 index 000000000000..4b13123b3213 --- /dev/null +++ b/x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="" +DESCRIPTION="A GKrellM2 plugin to control a fli4l router" +SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.bz2" +RESTRICT="mirror" +HOMEPAGE="http://gkrellm-imonc.sourceforge.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" + +S=${WORKDIR}/${PN}-src-${PV} diff --git a/x11-plugins/gkrellm-imonc/metadata.xml b/x11-plugins/gkrellm-imonc/metadata.xml new file mode 100644 index 000000000000..1b5d178ad4bf --- /dev/null +++ b/x11-plugins/gkrellm-imonc/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkrellm-imonc</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/gkrellm-leds/Manifest b/x11-plugins/gkrellm-leds/Manifest new file mode 100644 index 000000000000..85de87a2b221 --- /dev/null +++ b/x11-plugins/gkrellm-leds/Manifest @@ -0,0 +1,2 @@ +DIST gkleds-0.8.1.tar.gz 44904 SHA256 682b7dc9389030908714b6b8a4de2819a564d92fc0ef0f149d25b6afa1faa421 +DIST gkleds-0.8.2.tar.gz 322409 SHA256 521d97f4e036b49913bb5deeb541ed815e6944fa45003f2c451caacc5c86bea8 diff --git a/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild new file mode 100644 index 000000000000..34eaf2dd5850 --- /dev/null +++ b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="" +MY_P=${P/rellm-/} +S=${WORKDIR}/${MY_P} +DESCRIPTION="GKrellM2 plugin for monitoring keyboard LEDs" +SRC_URI="http://heim.ifi.uio.no/~oyvinha/e107_files/downloads/${MY_P}.tar.gz" +HOMEPAGE="http://heim.ifi.uio.no/~oyvinha/gkleds/" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="x86 ppc sparc alpha amd64" +RESTRICT="test" + +DEPEND="x11-proto/inputproto" +RDEPEND="x11-libs/libXtst" + +PLUGIN_SO=gkleds.so + +src_unpack() { + unpack ${A} + cd "${S}" + # Includes for gcc-4 + sed -i -e '/^#include <stdio.h>/a#include <string.h>' src/gkleds_com.h || die "Patch failed" +} diff --git a/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2.ebuild b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2.ebuild new file mode 100644 index 000000000000..28e86fb202c3 --- /dev/null +++ b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +inherit gkrellm-plugin + +IUSE="" +MY_P=${P/rellm-/} +S=${WORKDIR}/${MY_P} +DESCRIPTION="GKrellM2 plugin for monitoring keyboard LEDs" +SRC_URI="http://heim.ifi.uio.no/~oyvinha/e107_files/downloads/${MY_P}.tar.gz" +HOMEPAGE="http://heim.ifi.uio.no/~oyvinha/gkleds/" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64" + +DEPEND="x11-proto/inputproto" +RDEPEND="x11-libs/libXtst" + +PLUGIN_SO="src/.libs/gkleds.so" diff --git a/x11-plugins/gkrellm-leds/metadata.xml b/x11-plugins/gkrellm-leds/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-leds/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/gkrellm-mailwatch/Manifest b/x11-plugins/gkrellm-mailwatch/Manifest new file mode 100644 index 000000000000..d9a905654ca3 --- /dev/null +++ b/x11-plugins/gkrellm-mailwatch/Manifest @@ -0,0 +1 @@ +DIST gkrellm-mailwatch-2.4.3.tar.gz 27407 SHA256 d492d7e494800c80abc2410d4266071132da23b06ae9d903ac4bf279b2b3a4b0 diff --git a/x11-plugins/gkrellm-mailwatch/files/2.4.3-0001-Respect-LDFLAGS.patch b/x11-plugins/gkrellm-mailwatch/files/2.4.3-0001-Respect-LDFLAGS.patch new file mode 100644 index 000000000000..158357dc4855 --- /dev/null +++ b/x11-plugins/gkrellm-mailwatch/files/2.4.3-0001-Respect-LDFLAGS.patch @@ -0,0 +1,36 @@ +From 139912e0cf5d9714e5e1fe4576d01251491701f5 Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <jim_ramsay@dell.com> +Date: Mon, 1 Nov 2010 08:36:17 -0400 +Subject: [PATCH 1/3] Respect LDFLAGS + +Instead of using a non-standard varible name like LFLAGS, using LDFLAGS +lets this play nice with Gentoo's build system. +--- + Makefile | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index b8cf927..02ca376 100644 +--- a/Makefile ++++ b/Makefile +@@ -12,7 +12,7 @@ INSTALL=install -c -m 755 + + CFLAGS += -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) +-LFLAGS += -shared ++LDFLAGS += -shared + + LOCALEDIR := $(DESTDIR)/usr/share/locale + PACKAGE ?= gkrellm-mailwatch +@@ -30,7 +30,7 @@ all: mailwatch.so + + mailwatch.so: $(OBJS) + (cd po && ${MAKE}) +- $(CC) $(CFLAGS) $(OBJS) -o mailwatch.so $(LFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(OBJS) -o mailwatch.so $(LDFLAGS) $(LIBS) + + clean: + (cd po && ${MAKE} clean ) +-- +1.7.3.1 + diff --git a/x11-plugins/gkrellm-mailwatch/files/2.4.3-0002-Use-gkrellm_gkd_string_width.patch b/x11-plugins/gkrellm-mailwatch/files/2.4.3-0002-Use-gkrellm_gkd_string_width.patch new file mode 100644 index 000000000000..7edff1c74990 --- /dev/null +++ b/x11-plugins/gkrellm-mailwatch/files/2.4.3-0002-Use-gkrellm_gkd_string_width.patch @@ -0,0 +1,29 @@ +From c9db9953296709ba3c86a7b0471fcd60469225ed Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <jim_ramsay@dell.com> +Date: Mon, 1 Nov 2010 08:43:17 -0400 +Subject: [PATCH 2/3] Use gkrellm_gkd_string_width + +This wrapper is designed to transition from GdkFont to +PangoFontDescription. Without it, there is a warning and a probable +runtime crash, as we are feeding the wrong structure into +'gdk_string_width'. +--- + mailwatch.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/mailwatch.c b/mailwatch.c +index 3f0f0a2..5cca01e 100644 +--- a/mailwatch.c ++++ b/mailwatch.c +@@ -608,7 +608,7 @@ update_plugin(void) { + + p->statstext->x_off = + gkrellm_chart_width() - +- gdk_string_width(p->panel->textstyle->font, ++ gkrellm_gdk_string_width(p->panel->textstyle->font, + buf) - + 2 * gkrellm_get_style_margins(p->panel->style)->left; + +-- +1.7.3.1 + diff --git a/x11-plugins/gkrellm-mailwatch/files/2.4.3-0003-Remove-a-few-more-GCC-warnings.patch b/x11-plugins/gkrellm-mailwatch/files/2.4.3-0003-Remove-a-few-more-GCC-warnings.patch new file mode 100644 index 000000000000..5cc76c6fc828 --- /dev/null +++ b/x11-plugins/gkrellm-mailwatch/files/2.4.3-0003-Remove-a-few-more-GCC-warnings.patch @@ -0,0 +1,41 @@ +From 873186988c7b7cbde50d1f44ad0e745ddadf0e18 Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <jim_ramsay@dell.com> +Date: Mon, 1 Nov 2010 08:44:17 -0400 +Subject: [PATCH 3/3] Remove a few more GCC warnings + +These are mostly harmless, but no harm in cleaning them up. +--- + mailwatch.c | 5 +++-- + 1 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/mailwatch.c b/mailwatch.c +index 5cca01e..fcb77a8 100644 +--- a/mailwatch.c ++++ b/mailwatch.c +@@ -198,7 +198,7 @@ check_mh(Mailbox * mbox) { + return TRUE; + + /* Check the unseen mail */ +- while (fgets(buf, sizeof(buf), f), !feof(f)) ++ while (fgets(buf, sizeof(buf), f) && !feof(f)) + if (!strncmp(buf, "unseen", sizeof("unseen") - 1)) { + found = 1; + break; +@@ -444,12 +444,13 @@ plug_expose_event(GtkWidget * widget, GdkEventExpose * event) { + static gint + button_release(GtkWidget * widget, GdkEventButton * ev, Mailpanel * panel) { + gchar *command; ++ int retcode; + + if (panel->command == NULL) + return FALSE; + command = malloc((strlen(panel->command) + 4) * sizeof(char)); + strcpy(command, panel->command); +- system(strcat(command, " &")); ++ retcode = system(strcat(command, " &")); + free(command); + return FALSE; + } +-- +1.7.3.1 + diff --git a/x11-plugins/gkrellm-mailwatch/files/2.4.3-0004-Do-not-force-O2-in-CFLAGS.patch b/x11-plugins/gkrellm-mailwatch/files/2.4.3-0004-Do-not-force-O2-in-CFLAGS.patch new file mode 100644 index 000000000000..828c9dd2d5f4 --- /dev/null +++ b/x11-plugins/gkrellm-mailwatch/files/2.4.3-0004-Do-not-force-O2-in-CFLAGS.patch @@ -0,0 +1,28 @@ +From 68bd98eb4144ce1f784e9c7aee4735a3f668453e Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <jim_ramsay@dell.com> +Date: Mon, 1 Nov 2010 10:11:30 -0400 +Subject: [PATCH 4/4] Do not force -O2 in CFLAGS + +Only uses -O2 if the user has not specified any CFLAGS in the +environment. +--- + Makefile | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/Makefile b/Makefile +index 02ca376..c4ca35c 100644 +--- a/Makefile ++++ b/Makefile +@@ -10,7 +10,8 @@ GKRELLM_INCLUDE= -I/usr/local/include + + INSTALL=install -c -m 755 + +-CFLAGS += -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) ++CFLAGS ?= -O2 ++CFLAGS += -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) + LDFLAGS += -shared + +-- +1.7.3.1 + diff --git a/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r1.ebuild b/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r1.ebuild new file mode 100644 index 000000000000..a25a2f0e06da --- /dev/null +++ b/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +inherit gkrellm-plugin toolchain-funcs eutils + +IUSE="" +S=${WORKDIR}/${PN} +DESCRIPTION="A GKrellM2 plugin that shows the status of additional mail boxes" +SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz" +HOMEPAGE="http://gkrellm.luon.net/mailwatch.php" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +PLUGIN_SO=mailwatch.so + +src_prepare() { + epatch "${FILESDIR}"/${PV}-* +} + +src_compile() { + tc-export CC + default_src_compile +} diff --git a/x11-plugins/gkrellm-mailwatch/metadata.xml b/x11-plugins/gkrellm-mailwatch/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-mailwatch/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/gkrellm-plugins/gkrellm-plugins-2.0.ebuild b/x11-plugins/gkrellm-plugins/gkrellm-plugins-2.0.ebuild new file mode 100644 index 000000000000..0386930fcb53 --- /dev/null +++ b/x11-plugins/gkrellm-plugins/gkrellm-plugins-2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="emerge this package to install all of the gkrellm plugins" +HOMEPAGE="http://www.gkrellm.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~ppc ~x86" +IUSE="wifi" + +RDEPEND="!<app-admin/gkrellm-2 + >=x11-plugins/gkrellaclock-0.3.2 + x11-plugins/gkrellflynn + >=x11-plugins/gkrellkam-2.0.0 + >=x11-plugins/gkrellm-leds-0.8.0 + >=x11-plugins/gkrellm-volume-2.1.4 + >=x11-plugins/gkrellmlaunch-0.5 + >=x11-plugins/gkrellmoon-0.6 + wifi? ( >=x11-plugins/gkrellmwireless-2.0.2 ) + >=x11-plugins/gkrellshoot-0.4.1 + >=x11-plugins/gkrellstock-0.5 + >=x11-plugins/gkrellsun-0.12.2 + x11-plugins/gkrelltop + >=x11-plugins/gkrellweather-2.0.6 + x11-plugins/gkrellm-countdown + x11-plugins/gkrellm-trayicons" diff --git a/x11-plugins/gkrellm-plugins/metadata.xml b/x11-plugins/gkrellm-plugins/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-plugins/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/gkrellm-radio/Manifest b/x11-plugins/gkrellm-radio/Manifest new file mode 100644 index 000000000000..0599ddf10bac --- /dev/null +++ b/x11-plugins/gkrellm-radio/Manifest @@ -0,0 +1 @@ +DIST gkrellm-radio-2.0.4.tar.gz 15685 SHA256 a416e25f835af6b4a9702fe4a8f2b2eb520c7c908444e2d95c223c3b7d0d70b0 diff --git a/x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4.ebuild b/x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4.ebuild new file mode 100644 index 000000000000..b1e09da0c03d --- /dev/null +++ b/x11-plugins/gkrellm-radio/gkrellm-radio-2.0.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="lirc" + +S=${WORKDIR}/${PN} +DESCRIPTION="A minimalistic GKrellM2 plugin to control radio tuners" +SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz" +HOMEPAGE="http://gkrellm.luon.net/gkrellm-radio.php" + +DEPEND="lirc? ( app-misc/lirc )" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="ppc sparc x86" + +PLUGIN_SO=radio.so + +src_compile() { + use lirc && myconf="${myconf} WITH_LIRC=1" + emake ${myconf} || die +} diff --git a/x11-plugins/gkrellm-radio/metadata.xml b/x11-plugins/gkrellm-radio/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-radio/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/gkrellm-trayicons/Manifest b/x11-plugins/gkrellm-trayicons/Manifest new file mode 100644 index 000000000000..7df73c2d0379 --- /dev/null +++ b/x11-plugins/gkrellm-trayicons/Manifest @@ -0,0 +1 @@ +DIST gkrellm-trayicons-1.03.tar.gz 185474 SHA256 e01bf20a99c232cf6d28dad0bf8c6fb19b052328adf95b82a0fe664df0a84474 diff --git a/x11-plugins/gkrellm-trayicons/gkrellm-trayicons-1.03.ebuild b/x11-plugins/gkrellm-trayicons/gkrellm-trayicons-1.03.ebuild new file mode 100644 index 000000000000..16dd06672109 --- /dev/null +++ b/x11-plugins/gkrellm-trayicons/gkrellm-trayicons-1.03.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +DESCRIPTION="Configurable Tray Icons for GKrellM" +HOMEPAGE="http://tripie.sweb.cz/gkrellm/trayicons/" +SRC_URI="http://tripie.sweb.cz/gkrellm/trayicons/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +PLUGIN_SO=trayicons.so diff --git a/x11-plugins/gkrellm-trayicons/metadata.xml b/x11-plugins/gkrellm-trayicons/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-trayicons/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/gkrellm-vaiobright/Manifest b/x11-plugins/gkrellm-vaiobright/Manifest new file mode 100644 index 000000000000..32caff7a998a --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/Manifest @@ -0,0 +1 @@ +DIST vaiobright-2.5.tar.gz 6178 SHA256 de80a3d29d00a5230958e65488846bd959244a2b3be881883b349b9c9e20a0e4 diff --git a/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-fixinfo.patch b/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-fixinfo.patch new file mode 100644 index 000000000000..f2e4ac4c56e0 --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-fixinfo.patch @@ -0,0 +1,38 @@ +diff -ur vaiobright-2.5/readme vaiobright-2.5-infofix/readme +--- vaiobright-2.5/README 2004-03-20 13:58:13.000000000 -0500 ++++ vaiobright-2.5-infofix/README 2004-03-20 13:59:30.000000000 -0500 +@@ -28,6 +28,7 @@ + bright or max dark depending on the current value. + + Changelog: ++ Sat 20 Mar 2004 Fixed the "Info" tab (Billy Goto) + 2.5 Sun 20 Oct 2002 Removed need for external helper applications + entirely. SonyPI is now required, but no suid + or spicctrl binaries are needed. +diff -ur vaiobright-2.5/vaiobright.c vaiobright-2.5-infofix/vaiobright.c +--- vaiobright-2.5/vaiobright.c 2002-10-20 19:22:26.000000000 -0400 ++++ vaiobright-2.5-infofix/vaiobright.c 2004-03-20 12:55:38.000000000 -0500 +@@ -422,21 +422,9 @@ + (GtkSignalFunc) vaiobright_toggle_toggled, REVERSE_TOGGLE); + + /* Help tab */ +- frame = gtk_frame_new(NULL); +- gtk_container_border_width(GTK_CONTAINER(frame),3); +- scrolled = gtk_scrolled_window_new(NULL,NULL); +- gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled), +- GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC); +- +- gtk_container_add(GTK_CONTAINER(frame),scrolled); +- label = gtk_label_new("Info"); +- gtk_notebook_append_page(GTK_NOTEBOOK(tabs),frame,label); +- +- text = gtk_text_view_new(); +- gtk_text_view_set_editable(GTK_TEXT_VIEW(text),FALSE); ++ vbox = gkrellm_gtk_framed_notebook_page(tabs,"Info"); ++ text = gkrellm_gtk_scrolled_text_view(vbox, NULL, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + vaiobright_create_help_text(text); +- gtk_container_add(GTK_CONTAINER(scrolled),text); +- + + /* About tab */ + plugin_about_text = g_strdup_printf( diff --git a/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-textrel.patch b/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-textrel.patch new file mode 100644 index 000000000000..4cdaa1dd4c8e --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-textrel.patch @@ -0,0 +1,38 @@ +--- vaiobright-2.5/Makefile.orig 2002-10-20 16:52:19.000000000 -0600 ++++ vaiobright-2.5/Makefile 2007-02-21 08:55:39.000000000 -0600 +@@ -1,10 +1,11 @@ + HOME = . + PREFIX = /usr +-CC = cc ++CC ?= cc + INCLUDE = -I./ -I${PREFIX}/include +-OPTS = -shared `pkg-config gtk+-2.0 --cflags` ++CFLAGS += -shared `pkg-config gtk+-2.0 --cflags` -fPIC ++LDFLAGS += -shared -fPIC + DEFINES = +-LIBS = `pkg-config gtk+-2.0 --cflags` ++LIBS = `pkg-config gtk+-2.0 --libs` + + GKVO = vaiobright.o + GKV = vaiobright.so +@@ -12,7 +13,7 @@ + all: $(GKV) + + $(GKV): $(GKVO) +- $(CC) $(OPTS) -o $(GKV) $(GKVO) $(LIBS) ++ $(CC) $(LDFLAGS) -o $(GKV) $(GKVO) $(LIBS) + + install: + @-echo "Copy the plugin ($(GKV) to ~/.gkrellm2/plugins/$(GKV) and restart gkrellm." +@@ -22,9 +23,9 @@ + @-rm *.o *.so + + .c.so: $(DEPEND) +- $(CC) $(OPTS) $(INCLUDE) $(DEFINES) -fPIC -c $*.c -o $@ ++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINES) -fPIC -c $*.c -o $@ + + .c.o: $(DEPEND) +- $(CC) $(OPTS) $(INCLUDE) $(DEFINES) -c $*.c -o $@ ++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINES) -c $*.c -o $@ + + .SUFFIXES: .c .so .o diff --git a/x11-plugins/gkrellm-vaiobright/gkrellm-vaiobright-2.5-r1.ebuild b/x11-plugins/gkrellm-vaiobright/gkrellm-vaiobright-2.5-r1.ebuild new file mode 100644 index 000000000000..b49a2510263a --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/gkrellm-vaiobright-2.5-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="" + +MY_P=${P/gkrellm-/} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Superslim VAIO LCD Brightness Control Plugin for Gkrellm" +SRC_URI="http://nerv-un.net/~dragorn/code/${MY_P}.tar.gz" +HOMEPAGE="http://nerv-un.net/~dragorn/" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="-* x86" + +PLUGIN_SO=vaiobright.so + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-textrel.patch \ + "${FILESDIR}"/${P}-fixinfo.patch +} diff --git a/x11-plugins/gkrellm-vaiobright/metadata.xml b/x11-plugins/gkrellm-vaiobright/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/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/gkrellm-volume/Manifest b/x11-plugins/gkrellm-volume/Manifest new file mode 100644 index 000000000000..e81d2fc8e918 --- /dev/null +++ b/x11-plugins/gkrellm-volume/Manifest @@ -0,0 +1 @@ +DIST gkrellm-volume-2.1.13.tar.gz 42087 SHA256 85fa0ac0d242725f81316efba171315323822117d2e24d67273c3356e1b15a43 diff --git a/x11-plugins/gkrellm-volume/files/gkrellm-volume-2.1.13-Respect-LDFLAGS.patch b/x11-plugins/gkrellm-volume/files/gkrellm-volume-2.1.13-Respect-LDFLAGS.patch new file mode 100644 index 000000000000..1d711fb74946 --- /dev/null +++ b/x11-plugins/gkrellm-volume/files/gkrellm-volume-2.1.13-Respect-LDFLAGS.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 7a9821d..db02cad 100644 +--- a/Makefile ++++ b/Makefile +@@ -18,6 +18,8 @@ FLAGS = -O2 -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) + LIBS = $(GTK_LIB) + LFLAGS = -shared + ++LFLAGS += $(LDFLAGS) ++ + OBJS = volume.o mixer.o oss_mixer.o + + ifeq ($(enable_alsa),1) diff --git a/x11-plugins/gkrellm-volume/files/gkrellm-volume-2.1.13-reenable.patch b/x11-plugins/gkrellm-volume/files/gkrellm-volume-2.1.13-reenable.patch new file mode 100644 index 000000000000..a3e3218dc02f --- /dev/null +++ b/x11-plugins/gkrellm-volume/files/gkrellm-volume-2.1.13-reenable.patch @@ -0,0 +1,14 @@ +diff --git a/volume.c b/volume.c +index 18418d1..58708d4 100644 +--- a/volume.c ++++ b/volume.c +@@ -74,6 +74,9 @@ static void remove_all_mixers() { + static Slider *add_slider(Mixer *m, int dev) { + Slider *result,*s; + if (dev < 0 || dev >= mixer_get_nr_devices(m->mixer)) return NULL; ++ for (s = m->Sliderz ; s != NULL; s = s->next) ++ if (s->dev == dev) ++ return s; + result = malloc(sizeof(Slider)); + result->mixer = m->mixer; + result->parent = m; diff --git a/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13-r2.ebuild b/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13-r2.ebuild new file mode 100644 index 000000000000..a13bd83b9392 --- /dev/null +++ b/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +inherit gkrellm-plugin eutils + +IUSE="alsa" +DESCRIPTION="A mixer control plugin for gkrellm" +HOMEPAGE="http://gkrellm.luon.net/volume.php" +SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha amd64 ~ppc ~sparc x86" + +DEPEND="alsa? ( media-libs/alsa-lib )" + +S=${WORKDIR}/${PN} + +PLUGIN_SO=volume.so + +src_prepare() { + epatch "${FILESDIR}/${P}-reenable.patch" + epatch "${FILESDIR}/${P}-Respect-LDFLAGS.patch" +} + +src_compile() { + local myconf="" + use alsa && myconf="${myconf} enable_alsa=1" + make ${myconf} || die "make failed" +} diff --git a/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild b/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild new file mode 100644 index 000000000000..615e6f19f52e --- /dev/null +++ b/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="alsa" +DESCRIPTION="A mixer control plugin for gkrellm" +HOMEPAGE="http://gkrellm.luon.net/volume.php" +SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="alpha amd64 ppc sparc x86" + +DEPEND="alsa? ( media-libs/alsa-lib )" + +S=${WORKDIR}/${PN} + +PLUGIN_SO=volume.so + +src_compile() { + local myconf="" + use alsa && myconf="${myconf} enable_alsa=1" + make ${myconf} || die "make failed" +} diff --git a/x11-plugins/gkrellm-volume/metadata.xml b/x11-plugins/gkrellm-volume/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-volume/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/gkrellm-xkb/Manifest b/x11-plugins/gkrellm-xkb/Manifest new file mode 100644 index 000000000000..40a419ced300 --- /dev/null +++ b/x11-plugins/gkrellm-xkb/Manifest @@ -0,0 +1 @@ +DIST gkrellm-xkb-1.05.tar.gz 37775 SHA256 0216f3a18fbefad0f672034b80f97545a9db35c575660b7be1a4978317481981 diff --git a/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05.ebuild b/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05.ebuild new file mode 100644 index 000000000000..03ddd3f559ac --- /dev/null +++ b/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +DESCRIPTION="XKB keyboard switcher for gkrellm2" +HOMEPAGE="http://tripie.sweb.cz/gkrellm/xkb/" +SRC_URI="http://tripie.sweb.cz/gkrellm/xkb/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +PLUGIN_SO=xkb.so diff --git a/x11-plugins/gkrellm-xkb/metadata.xml b/x11-plugins/gkrellm-xkb/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-xkb/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/gkrellmlaunch/Manifest b/x11-plugins/gkrellmlaunch/Manifest new file mode 100644 index 000000000000..5cb0d0fdcf80 --- /dev/null +++ b/x11-plugins/gkrellmlaunch/Manifest @@ -0,0 +1 @@ +DIST gkrellmlaunch-0.5.tar.gz 22035 SHA256 e5cfd29cb206139865ef224cd16ab2389fd06648b9f22b56c3809b1c402f30f7 SHA512 be3a6df6a1648a61103d389dcea24454a142d64b1192156787b42546c485ed592dca916394e46bc0413110a90fa1f4e952fef077e9014274e74610efe8573693 WHIRLPOOL 6069c68007e6c4e3e19cdf9d6261101840ee744745723a6ed1b3e0234464e0557d83104a1ff14eaa4991a93a170b8e17006571bfca531920a8a282e0574aa937 diff --git a/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-makefile.patch b/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-makefile.patch new file mode 100644 index 000000000000..31175b664837 --- /dev/null +++ b/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-makefile.patch @@ -0,0 +1,35 @@ +--- Makefile 2002-09-26 15:56:06.000000000 +0200 ++++ Makefile_new 2013-03-15 17:26:19.398383410 +0100 +@@ -4,21 +4,25 @@ + GTK_LIB = `pkg-config gtk+-2.0 --libs` + + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) -g ++FLAGS = -fPIC $(GTK_INCLUDE) + #LIBS = $(GTK_LIB) $(IMLIB_LIB) -lefence + LIBS = $(GTK_LIB) $(IMLIB_LIB) + +-LFLAGS = -shared -W1 ++LFLAGS = -shared + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC = $(CC) + + OBJS = gkrellmlaunch.o + ++all: gkrellmlaunch.so ++ ++%.o: %.c ++ $(CC) $(CFLAGS) $(FLAGS) -c -o $@ $< ++ + gkrellmlaunch.so: $(OBJS) +- $(CC) $(OBJS) -o gkrellmlaunch.so $(LFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(FLAGS) $(OBJS) -o gkrellmlaunch.so $(LFLAGS) $(LIBS) + + clean: + rm -f *.o core *.so* *.bak *~ + +-gkrellmlaunch.o: gkrellmlaunch.c +- ++gkrellmlaunch.o: gkrellmlaunch.c +\ No newline at end of file diff --git a/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5.ebuild b/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5.ebuild new file mode 100644 index 000000000000..46649ef64ae0 --- /dev/null +++ b/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils gkrellm-plugin toolchain-funcs + +DESCRIPTION="A Program-Launcher Plugin for GKrellM2" +SRC_URI="mirror://sourceforge/gkrellmlaunch/${P}.tar.gz" +HOMEPAGE="http://gkrellmlaunch.sourceforge.net/" +IUSE="" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="x86 ppc sparc alpha amd64" + +RDEPEND="app-admin/gkrellm[X]" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-makefile.patch" +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" +} diff --git a/x11-plugins/gkrellmlaunch/metadata.xml b/x11-plugins/gkrellmlaunch/metadata.xml new file mode 100644 index 000000000000..3b58c1c8ba42 --- /dev/null +++ b/x11-plugins/gkrellmlaunch/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkrellmlaunch</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/gkrellmoon/Manifest b/x11-plugins/gkrellmoon/Manifest new file mode 100644 index 000000000000..c00c0a9e1c1a --- /dev/null +++ b/x11-plugins/gkrellmoon/Manifest @@ -0,0 +1 @@ +DIST gkrellmoon-0.6.tar.gz 55035 SHA256 a12962059d80f1ca9e4449f844a16d8e805ff3513c3258e811a9b75544073852 diff --git a/x11-plugins/gkrellmoon/gkrellmoon-0.6-r1.ebuild b/x11-plugins/gkrellmoon/gkrellmoon-0.6-r1.ebuild new file mode 100644 index 000000000000..19646d53e6f2 --- /dev/null +++ b/x11-plugins/gkrellmoon/gkrellmoon-0.6-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="" +DESCRIPTION="A GKrellM2 plugin of the famous wmMoonClock dockapp" +SRC_URI="mirror://sourceforge/gkrellmoon/${P}.tar.gz" +HOMEPAGE="http://gkrellmoon.sourceforge.net/" + +DEPEND="media-libs/imlib2" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 ppc sparc x86" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e '/^#include <stdio.h>/a#include <string.h>' CalcEphem.h +} diff --git a/x11-plugins/gkrellmoon/metadata.xml b/x11-plugins/gkrellmoon/metadata.xml new file mode 100644 index 000000000000..c3c39d5af78b --- /dev/null +++ b/x11-plugins/gkrellmoon/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkrellmoon</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/gkrellmss/Manifest b/x11-plugins/gkrellmss/Manifest new file mode 100644 index 000000000000..bcd22ff26479 --- /dev/null +++ b/x11-plugins/gkrellmss/Manifest @@ -0,0 +1 @@ +DIST gkrellmss-2.6.tar.gz 32082 SHA256 370da16c1247dec9d64cb56c568e218b0b5a1e294ad55fa8776408c75a916f4b diff --git a/x11-plugins/gkrellmss/files/gkrellmss-2.6-Respect-LDFLAGS.patch b/x11-plugins/gkrellmss/files/gkrellmss-2.6-Respect-LDFLAGS.patch new file mode 100644 index 000000000000..59f1d0a200f9 --- /dev/null +++ b/x11-plugins/gkrellmss/files/gkrellmss-2.6-Respect-LDFLAGS.patch @@ -0,0 +1,25 @@ +From 88d25e2e4fe3edbb832d0bb2b44cd705b060360a Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <lack@gentoo.org> +Date: Wed, 11 Aug 2010 08:37:20 -0400 +Subject: [PATCH] Respect LDFLAGS + +--- + src/Makefile | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index e618bd4..35a1453 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -78,6 +78,8 @@ LFLAGS = -shared + STRIP ?= -s + endif + ++LFLAGS += $(LDFLAGS) ++ + ifeq ($(debug),1) + FLAGS += -g + endif +-- +1.7.2 + diff --git a/x11-plugins/gkrellmss/gkrellmss-2.6-r1.ebuild b/x11-plugins/gkrellmss/gkrellmss-2.6-r1.ebuild new file mode 100644 index 000000000000..3764b06b8f40 --- /dev/null +++ b/x11-plugins/gkrellmss/gkrellmss-2.6-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit gkrellm-plugin + +DESCRIPTION="A plugin for GKrellM2 that has a VU meter and a sound chart" +HOMEPAGE="http://members.dslextreme.com/users/billw/gkrellmss/gkrellmss.html" +SRC_URI="http://web.wt.net/~billw/gkrellmss/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc ~sparc x86" +IUSE="nls" + +RDEPEND="=sci-libs/fftw-3* + media-libs/alsa-lib" +DEPEND="${RDEPEND}" + +PLUGIN_SO="src/gkrellmss.so" +PLUGIN_DOCS="Themes" + +src_compile() { + local myconf + use nls && myconf+=" enable_nls=1" + + addpredict /dev/snd + emake ${myconf} +} diff --git a/x11-plugins/gkrellmss/gkrellmss-2.6-r2.ebuild b/x11-plugins/gkrellmss/gkrellmss-2.6-r2.ebuild new file mode 100644 index 000000000000..ae73d01d55ef --- /dev/null +++ b/x11-plugins/gkrellmss/gkrellmss-2.6-r2.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 eutils gkrellm-plugin + +DESCRIPTION="A plugin for GKrellM2 that has a VU meter and a sound chart" +HOMEPAGE="http://members.dslextreme.com/users/billw/gkrellmss/gkrellmss.html" +SRC_URI="http://web.wt.net/~billw/gkrellmss/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="nls" + +RDEPEND="=sci-libs/fftw-3* + media-libs/alsa-lib" +DEPEND="${RDEPEND}" + +PLUGIN_SO="src/gkrellmss.so" +PLUGIN_DOCS="Themes" + +src_prepare() { + epatch "${FILESDIR}"/${P}-Respect-LDFLAGS.patch +} + +src_compile() { + local myconf + use nls && myconf+=" enable_nls=1" + + addpredict /dev/snd + emake ${myconf} +} diff --git a/x11-plugins/gkrellmss/gkrellmss-2.6.ebuild b/x11-plugins/gkrellmss/gkrellmss-2.6.ebuild new file mode 100644 index 000000000000..261de1596468 --- /dev/null +++ b/x11-plugins/gkrellmss/gkrellmss-2.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit gkrellm-plugin + +DESCRIPTION="A plugin for GKrellM2 that has a VU meter and a sound chart" +HOMEPAGE="http://members.dslextreme.com/users/billw/gkrellmss/gkrellmss.html" +SRC_URI="http://web.wt.net/~billw/gkrellmss/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc sparc x86" +IUSE="nls" + +RDEPEND="=sci-libs/fftw-2* + media-libs/alsa-lib" +DEPEND="${RDEPEND}" + +PLUGIN_SO="src/gkrellmss.so" +PLUGIN_DOCS="Themes" + +src_compile() { + local myconf + use nls && myconf+=" enable_nls=1" + + addpredict /dev/snd + emake ${myconf} +} diff --git a/x11-plugins/gkrellmss/metadata.xml b/x11-plugins/gkrellmss/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellmss/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/gkrellmwireless/Manifest b/x11-plugins/gkrellmwireless/Manifest new file mode 100644 index 000000000000..09df13d55708 --- /dev/null +++ b/x11-plugins/gkrellmwireless/Manifest @@ -0,0 +1 @@ +DIST gkrellmwireless-2.0.3.tar.gz 9557 SHA256 7f8928b3b304c555f46934b90f18ec526cb5b237b55fd63935fc27df416e0390 diff --git a/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r1.ebuild b/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r1.ebuild new file mode 100644 index 000000000000..8698399a241f --- /dev/null +++ b/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit gkrellm-plugin toolchain-funcs + +IUSE="" +S="${WORKDIR}/${PN}" +DESCRIPTION="A plugin for GKrellM that monitors your wireless network card" +SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz" +HOMEPAGE="http://gkrellm.luon.net/gkrellmwireless.php" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="amd64 ~ppc ~sparc x86" + +PLUGIN_SO=wireless.so + +src_prepare() { + sed -i \ + -e '/^CC =/s:gcc $(CFLAGS) $(FLAGS):'"$(tc-getCC)"' $(FLAGS) $(CFLAGS):' \ + -e '/-o wireless.so/s: : $(LDFLAGS) :' \ + Makefile +} diff --git a/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3.ebuild b/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3.ebuild new file mode 100644 index 000000000000..8eb765bcd081 --- /dev/null +++ b/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="" +S="${WORKDIR}/${PN}" +DESCRIPTION="A plugin for GKrellM that monitors your wireless network card" +SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz" +HOMEPAGE="http://gkrellm.luon.net/gkrellmwireless.php" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc ~sparc x86" + +PLUGIN_SO=wireless.so diff --git a/x11-plugins/gkrellmwireless/metadata.xml b/x11-plugins/gkrellmwireless/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellmwireless/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/gkrellshoot/Manifest b/x11-plugins/gkrellshoot/Manifest new file mode 100644 index 000000000000..637c4b57f89c --- /dev/null +++ b/x11-plugins/gkrellshoot/Manifest @@ -0,0 +1 @@ +DIST gkrellshoot-0.4.4.tar.gz 16556 SHA256 1cc1ff8a00cd8e76f7efdd3baffc9bd330ecbb549e8c1ce8a04a2cfa867bc164 diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4.ebuild b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4.ebuild new file mode 100644 index 000000000000..8c13b711b4b5 --- /dev/null +++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit gkrellm-plugin + +S=${WORKDIR}/${P/s/S} +DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen" +HOMEPAGE="http://gkrellshoot.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellshoot/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="alpha amd64 ppc sparc x86" +IUSE="" + +RDEPEND="|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" diff --git a/x11-plugins/gkrellshoot/metadata.xml b/x11-plugins/gkrellshoot/metadata.xml new file mode 100644 index 000000000000..a31d1ece20bf --- /dev/null +++ b/x11-plugins/gkrellshoot/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkrellshoot</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/gkrellstock/Manifest b/x11-plugins/gkrellstock/Manifest new file mode 100644 index 000000000000..173697e8ba73 --- /dev/null +++ b/x11-plugins/gkrellstock/Manifest @@ -0,0 +1,2 @@ +DIST gkrellstock-0.5.1.tar.gz 22385 SHA256 56711b5b19cb747dfc5fbb99c00a542a9df55959f88c9664edc2df3829115f61 SHA512 040e6271a0b0ca3f7be52cc64076a8d1b538fc7607a9ae54acf1c9dc176b094c1483b10c1813a929dcf47dff4fee8c18b7ca58472343c83edfa58a32edc7776c WHIRLPOOL 7ec087847de4c600110857fa4aea8f91a92f51e2ad0c88e8bd22741235a9247c68c72e454d385dcca104c56429f8c8e455bcb398f54ad57cc6a0270f7dfd7bf9 +DIST gkrellstock-0.5.tar.gz 22332 SHA256 1eb3ff7bf6fa8161f8b6cd8f99e3e5871fabd29866aad89ed3e2b7c2198f9e2a SHA512 8081bb1be1c640cd9853083fd22f931ffe6dbca359d86242df50e9684d2e856fd147692a716f7df4f4d496bc17e38988a40e7f547832dfaf61c2ed17d0b90b3d WHIRLPOOL 57b02ba1658fd5b587f703210cfda4364056d2336e695c107a45a258885bce8d8fe81f52b0603d1d25f0deea42a2431b4dbad6f3f5526e3474b858e145405a69 diff --git a/x11-plugins/gkrellstock/files/gkrellstock-0.5-ldflags.patch b/x11-plugins/gkrellstock/files/gkrellstock-0.5-ldflags.patch new file mode 100644 index 000000000000..116e6ec3e4bd --- /dev/null +++ b/x11-plugins/gkrellstock/files/gkrellstock-0.5-ldflags.patch @@ -0,0 +1,16 @@ + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index eb26b17..79e4391 100644 +--- a/Makefile ++++ b/Makefile +@@ -10,7 +10,7 @@ CC = gcc $(CFLAGS) $(FLAGS) + OBJS = gkrellstock.o + + gkrellstock.so: $(OBJS) +- $(CC) $(OBJS) -o gkrellstock.so $(LFLAGS) $(LIBS) ++ $(CC) $(LDFLAGS) $(OBJS) -o gkrellstock.so $(LFLAGS) $(LIBS) + + clean: + rm -f *.o core *.so* *.bak *~ diff --git a/x11-plugins/gkrellstock/gkrellstock-0.5-r1.ebuild b/x11-plugins/gkrellstock/gkrellstock-0.5-r1.ebuild new file mode 100644 index 000000000000..a4928daf908f --- /dev/null +++ b/x11-plugins/gkrellstock/gkrellstock-0.5-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic gkrellm-plugin toolchain-funcs + +DESCRIPTION="Get Stock quotes plugin for Gkrellm2" +HOMEPAGE="http://gkrellstock.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/${PN}/GkrellM2.0%20Port/${PV}/${P}.tar.gz" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:2 + dev-perl/libwww-perl + dev-perl/Finance-Quote" +DEPEND="${DEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${P/s/S} + +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch + append-cppflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0) + append-flags -fPIC +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install () { + gkrellm-plugin_src_install + + dobin GetQuote2 +} diff --git a/x11-plugins/gkrellstock/gkrellstock-0.5.1.ebuild b/x11-plugins/gkrellstock/gkrellstock-0.5.1.ebuild new file mode 100644 index 000000000000..f376603e497f --- /dev/null +++ b/x11-plugins/gkrellstock/gkrellstock-0.5.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic gkrellm-plugin toolchain-funcs + +DESCRIPTION="Get Stock quotes plugin for Gkrellm2" +HOMEPAGE="http://gkrellstock.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellstock/${P}.tar.gz" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:2 + dev-perl/libwww-perl + dev-perl/Finance-Quote" +DEPEND="${DEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${P/s/S} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.5-ldflags.patch + append-cppflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0) + append-flags -fPIC +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install () { + gkrellm-plugin_src_install + + dobin GetQuote2 +} diff --git a/x11-plugins/gkrellstock/metadata.xml b/x11-plugins/gkrellstock/metadata.xml new file mode 100644 index 000000000000..2644e2169ff0 --- /dev/null +++ b/x11-plugins/gkrellstock/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkrellstock</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/gkrellsun/Manifest b/x11-plugins/gkrellsun/Manifest new file mode 100644 index 000000000000..3bd4511ff107 --- /dev/null +++ b/x11-plugins/gkrellsun/Manifest @@ -0,0 +1 @@ +DIST gkrellsun-1.0.0.tar.gz 96970 SHA256 a9fbf23c69fbaec7b0395e9adf78e98af3f9e8263a01c0312faa27c287757608 diff --git a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch new file mode 100644 index 000000000000..548039dd0e0b --- /dev/null +++ b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch @@ -0,0 +1,13 @@ +diff --git a/src20/Makefile b/src20/Makefile +index 3e8e62c..ef96fa2 100644 +--- a/src20/Makefile ++++ b/src20/Makefile +@@ -16,6 +16,8 @@ FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) + LIBS = $(GTK_LIB) + LFLAGS = -shared + ++LFLAGS += $(LDFLAGS) ++ + ifeq ($(enable_nls),1) + FLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\" + export enable_nls diff --git a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch new file mode 100644 index 000000000000..f47b96e88905 --- /dev/null +++ b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch @@ -0,0 +1,16 @@ +diff --git a/src20/gkrellsun.c b/src20/gkrellsun.c +index f3adff5..0738bfc 100644 +--- a/src20/gkrellsun.c ++++ b/src20/gkrellsun.c +@@ -1140,7 +1140,10 @@ cb_plugin_disabled() + + save_sun_data(); + +- if (textOptions.fontDesc) pango_font_description_free (textOptions.fontDesc); ++ if (textOptions.fontDesc) { ++ pango_font_description_free (textOptions.fontDesc); ++ textOptions.fontDesc = NULL; ++ } + + /* This happens when user quits X Windows and gkrellm2 is still running */ + if (colormap == NULL) diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild new file mode 100644 index 000000000000..f2e94296e353 --- /dev/null +++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="nls" +DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times" +HOMEPAGE="http://gkrellsun.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz" + +SLOT="1" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86" + +DEPEND="nls? ( sys-devel/gettext )" + +PLUGIN_SO=src20/gkrellsun.so + +src_compile() { + use nls && myconf="$myconf enable_nls=1" + emake ${myconf} +} diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r2.ebuild b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r2.ebuild new file mode 100644 index 000000000000..63b7c7d9fe8a --- /dev/null +++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +inherit gkrellm-plugin eutils + +IUSE="nls" +DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times" +HOMEPAGE="http://gkrellsun.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz" + +SLOT="1" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" + +DEPEND="nls? ( sys-devel/gettext )" + +PLUGIN_SO=src20/gkrellsun.so + +src_prepare() { + epatch "${FILESDIR}/${P}-reenable.patch" +} + +src_compile() { + use nls && myconf="$myconf enable_nls=1" + emake ${myconf} +} diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild new file mode 100644 index 000000000000..69348861bc84 --- /dev/null +++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +inherit gkrellm-plugin eutils + +IUSE="nls" +DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times" +HOMEPAGE="http://gkrellsun.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz" + +SLOT="1" +LICENSE="GPL-2" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86" + +DEPEND="nls? ( sys-devel/gettext )" + +PLUGIN_SO=src20/gkrellsun.so + +src_prepare() { + epatch "${FILESDIR}/${P}-reenable.patch" + epatch "${FILESDIR}/${P}-Respect-LDFLAGS.patch" +} + +src_compile() { + use nls && myconf="$myconf enable_nls=1" + emake ${myconf} +} diff --git a/x11-plugins/gkrellsun/metadata.xml b/x11-plugins/gkrellsun/metadata.xml new file mode 100644 index 000000000000..2970414f1d8f --- /dev/null +++ b/x11-plugins/gkrellsun/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkrellsun</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/gkrelltop/Manifest b/x11-plugins/gkrelltop/Manifest new file mode 100644 index 000000000000..82a89d679a42 --- /dev/null +++ b/x11-plugins/gkrelltop/Manifest @@ -0,0 +1,2 @@ +DIST gkrelltop_2.2.11.orig.tar.gz 46280 SHA256 d80a76c129cc573e30f9edfe22e85f915d33ae2cae4245b66af692e5ee8ca61f SHA512 fc0e5b34d8ab48cbdca7f9efe5115352d72c638f809425839055ec6a2651c47cfe5ff8b1e5f88beef6760123875b5fdb4f7470ce3185e10e07f977a7e7e41a5a WHIRLPOOL 4a6d2eb4af48d4069b894ab520aef82523ef9d787fc88d21bde61fa9eec854f80cff1f77a81418e8cd501bca7387aec3906b88c747f9009b3095bacd018ae3ca +DIST gkrelltop_2.2.13.orig.tar.gz 49023 SHA256 b2585c4186cc3805fcde73645a71d8eb3f798358caeb31cf3f598795e6ea42e6 SHA512 9479c5b860833671451b6fb8583e741b1ac755ed76b7e73dffd65d13d30d0b5da1916436901642f738e0d72f8c8696f4dea9c041a203e76d309f2782acf7024e WHIRLPOOL 893fa724cca39b2c07070ce4b979d47bc90cf9354cbabcca721f1386e60aeb30e08404566040bbc7404e949d325b4c7b74c1fe5f66e0b0c14884b2af8ac5cb5d diff --git a/x11-plugins/gkrelltop/gkrelltop-2.2.11-r1.ebuild b/x11-plugins/gkrelltop/gkrelltop-2.2.11-r1.ebuild new file mode 100644 index 000000000000..5ad0cba500e8 --- /dev/null +++ b/x11-plugins/gkrelltop/gkrelltop-2.2.11-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="a GKrellM2 plugin which displays the top three processes" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/gkrelltop" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc x86" +IUSE="X" + +PLUGIN_SERVER_SO=gkrelltopd.so +PLUGIN_SO=gkrelltop.so + +S="${WORKDIR}/${P}.orig" + +RDEPEND="dev-libs/glib:2" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i \ + -e "s:/usr/bin/gcc:$(tc-getCC) \$(CFLAGS):" \ + -e 's/-shared/$(LDFLAGS) &/' \ + Makefile || die +} + +src_compile() { + use X || TARGET="server" + emake ${TARGET} +} + +pkg_postinst() { + einfo "To enable the gkrelltopd server plugin, you must add the following" + einfo "line to /etc/gkrellmd.conf:" + einfo "\tplugin-enable gkrelltopd" +} diff --git a/x11-plugins/gkrelltop/gkrelltop-2.2.11.ebuild b/x11-plugins/gkrelltop/gkrelltop-2.2.11.ebuild new file mode 100644 index 000000000000..3cc1df82e0ec --- /dev/null +++ b/x11-plugins/gkrelltop/gkrelltop-2.2.11.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit gkrellm-plugin + +DESCRIPTION="a GKrellM2 plugin which displays the top three processes" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/gkrelltop" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc x86" +IUSE="X" + +PLUGIN_SERVER_SO=gkrelltopd.so +PLUGIN_SO=gkrelltop.so + +S="${WORKDIR}/${P}.orig" + +RDEPEND="dev-libs/glib:2" +DEPEND="${RDEPEND}" + +src_compile() { + use X || TARGET="server" + emake ${TARGET} +} + +pkg_postinst() { + einfo "To enable the gkrelltopd server plugin, you must add the following" + einfo "line to /etc/gkrellmd.conf:" + einfo "\tplugin-enable gkrelltopd" +} diff --git a/x11-plugins/gkrelltop/gkrelltop-2.2.13.ebuild b/x11-plugins/gkrelltop/gkrelltop-2.2.13.ebuild new file mode 100644 index 000000000000..b8cbde44476e --- /dev/null +++ b/x11-plugins/gkrelltop/gkrelltop-2.2.13.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="a GKrellM2 plugin which displays the top three processes" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/gkrelltop" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X" + +PLUGIN_SERVER_SO=gkrelltopd.so +PLUGIN_SO=gkrelltop.so + +S="${WORKDIR}/${P}.orig" + +RDEPEND="dev-libs/glib:2" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i \ + -e "s:/usr/bin/gcc:$(tc-getCC) \$(CFLAGS):" \ + -e 's/-shared/$(LDFLAGS) &/' \ + Makefile || die +} + +src_compile() { + use X || TARGET="server" + emake ${TARGET} +} + +pkg_postinst() { + einfo "To enable the gkrelltopd server plugin, you must add the following" + einfo "line to /etc/gkrellmd.conf:" + einfo "\tplugin-enable gkrelltopd" +} diff --git a/x11-plugins/gkrelltop/metadata.xml b/x11-plugins/gkrelltop/metadata.xml new file mode 100644 index 000000000000..60d4e1ded709 --- /dev/null +++ b/x11-plugins/gkrelltop/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkrelltop</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/gkrellweather/Manifest b/x11-plugins/gkrellweather/Manifest new file mode 100644 index 000000000000..91a49e3f85a1 --- /dev/null +++ b/x11-plugins/gkrellweather/Manifest @@ -0,0 +1 @@ +DIST gkrellweather-2.0.8.tgz 20227 SHA256 06236ad489151019e71bab4ba63b4b8b06d58c58890caed8b1a28fdd05cde16d SHA512 da9408ebc9518fe805d3f0dd9496b4aeb805a2ab6566b619b61fc25c91122c0ee45e2a7b804206b2ee08300309dd9b1e1c3b6605a41c594cf75fd39b58767264 WHIRLPOOL 0f37fc40c0c73d9eb1661129f36cfbef64cd14d4b4d5fe01aec5a28087f30407cb1055ab439e951d76841bf6b1fde12f234f7c6c05b0658a5c3ae499254515bb diff --git a/x11-plugins/gkrellweather/files/gkrellweather-2.0.8-Move-GrabWeather.patch b/x11-plugins/gkrellweather/files/gkrellweather-2.0.8-Move-GrabWeather.patch new file mode 100644 index 000000000000..5e2eb95e33fc --- /dev/null +++ b/x11-plugins/gkrellweather/files/gkrellweather-2.0.8-Move-GrabWeather.patch @@ -0,0 +1,56 @@ +From dc0fed370865b49e9bcb2db2eb7ff21adec904a8 Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <lack@gentoo.org> +Date: Tue, 24 Aug 2010 12:23:25 -0400 +Subject: [PATCH] Move GrabWeather script to $(PREFIX)/libexec/gkrellweather/ + +This is to avoid a file collision with x11-misc/bbweather (Bug #333289) +--- + Makefile | 4 ++-- + gkrellweather.c | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/Makefile b/Makefile +index d6dc404..693b4f2 100644 +--- a/Makefile ++++ b/Makefile +@@ -38,13 +38,13 @@ install: + else \ + install -D -c -s -m 644 gkrellweather.so $(PREFIX)/lib/gkrellm2/plugins/gkrellweather.so ; \ + fi +- install -c -m 755 GrabWeather $(PREFIX)/bin ++ install -D -c -m 755 GrabWeather $(PREFIX)/libexec/gkrellweather/ + + uninstall: + (cd po && ${MAKE} uninstall ) + rm -f /usr/lib/gkrellm2/plugins/gkrellweather.so + rm -f $(PREFIX)/lib/gkrellm2/plugins/gkrellweather.so +- rm -f $(PREFIX)/bin/GrabWeather ++ rm -f $(PREFIX)/libexec/gkrellweather/GrabWeather + + dist: + rm -rf $(PKGNAME)-$(VERSION) +diff --git a/gkrellweather.c b/gkrellweather.c +index 1d4cf4e..224260a 100644 +--- a/gkrellweather.c ++++ b/gkrellweather.c +@@ -721,7 +721,7 @@ apply_air_config (void) + options.station[1] = c[1]; + options.station[2] = c[2]; + options.station[3] = c[3]; +- snprintf(options.command, 512, PREFIX "/bin/GrabWeather %s", options.station); ++ snprintf(options.command, 512, PREFIX "/libexec/gkrellweather/GrabWeather %s", options.station); + options.command[511] = 0; + snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat", + getenv("HOME"), options.station); +@@ -986,7 +986,7 @@ read_default(void) + options.windspeed_unit = 1; + options.pressure_unit = 1; + strcpy(options.station, DEFAULT_STATION_ID); +- snprintf(options.command, 512, "/usr/share/gkrellm/GrabWeather %s", options.station); ++ snprintf(options.command, 512, PREFIX "/libexec/gkrellweather/GrabWeather %s", options.station); + options.command[511] = 0; + snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat", + getenv("HOME"), options.station); +-- +1.7.2 + diff --git a/x11-plugins/gkrellweather/files/gkrellweather-2.0.8-Respect-LDFLAGS.patch b/x11-plugins/gkrellweather/files/gkrellweather-2.0.8-Respect-LDFLAGS.patch new file mode 100644 index 000000000000..9256cdd919c8 --- /dev/null +++ b/x11-plugins/gkrellweather/files/gkrellweather-2.0.8-Respect-LDFLAGS.patch @@ -0,0 +1,25 @@ +From 82c3a24ef34c5a5388ee9cc40126b3381fb8445a Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <lack@gentoo.org> +Date: Wed, 11 Aug 2010 09:03:13 -0400 +Subject: [PATCH] Respect LDFLAGS + +--- + Makefile | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/Makefile b/Makefile +index d6dc404..46074ab 100644 +--- a/Makefile ++++ b/Makefile +@@ -5,6 +5,8 @@ LIBS = `pkg-config gtk+-2.0 --libs` + LFLAGS = -shared + PREFIX = /usr/local + ++LFLAGS += $(LDFLAGS) ++ + LOCALEDIR := $(PREFIX)/share/locale + + ifeq ($(enable_nls),1) +-- +1.7.2 + diff --git a/x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild b/x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild new file mode 100644 index 000000000000..539eb6667581 --- /dev/null +++ b/x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic gkrellm-plugin toolchain-funcs + +DESCRIPTION="GKrellM2 Plugin that monitors a METAR station and displays weatherinfo" +HOMEPAGE="http://sites.google.com/site/makovick/gkrellm-plugins" +SRC_URI="http://sites.google.com/site/makovick/projects/${P}.tgz" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 ppc sparc x86" +IUSE="" + +RDEPEND=" + >=dev-lang/perl-5.6.1 + >=net-misc/wget-1.5.3" +DEPEND=">=sys-apps/sed-4.0.5 + virtual/pkgconfig +" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-Respect-LDFLAGS.patch \ + "${FILESDIR}"/${P}-Move-GrabWeather.patch + append-cflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0) + append-flags -fPIC + +} + +src_compile() { + emake PREFIX=/usr CC=$(tc-getCC) CFLAGS="${CFLAGS}" +} + +src_install () { + gkrellm-plugin_src_install + + exeinto /usr/libexec/gkrellweather + doexe GrabWeather +} diff --git a/x11-plugins/gkrellweather/metadata.xml b/x11-plugins/gkrellweather/metadata.xml new file mode 100644 index 000000000000..ca551894a934 --- /dev/null +++ b/x11-plugins/gkrellweather/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/gkwebmon/Manifest b/x11-plugins/gkwebmon/Manifest new file mode 100644 index 000000000000..455b33a31ce3 --- /dev/null +++ b/x11-plugins/gkwebmon/Manifest @@ -0,0 +1 @@ +DIST gkwebmon-0.2.tgz 14163 SHA256 994fb242dfca89ed710bfb35ec8de384d202274332943f870b3f72e73d97ae09 diff --git a/x11-plugins/gkwebmon/gkwebmon-0.2.ebuild b/x11-plugins/gkwebmon/gkwebmon-0.2.ebuild new file mode 100644 index 000000000000..52b9d195a558 --- /dev/null +++ b/x11-plugins/gkwebmon/gkwebmon-0.2.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="" +DESCRIPTION="A web monitor plugin for GKrellM2" +HOMEPAGE="http://gkwebmon.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkwebmon/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="alpha ppc ~sparc x86" diff --git a/x11-plugins/gkwebmon/metadata.xml b/x11-plugins/gkwebmon/metadata.xml new file mode 100644 index 000000000000..bb80bda6ea22 --- /dev/null +++ b/x11-plugins/gkwebmon/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">gkwebmon</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/guifications/Manifest b/x11-plugins/guifications/Manifest new file mode 100644 index 000000000000..30f95d563de7 --- /dev/null +++ b/x11-plugins/guifications/Manifest @@ -0,0 +1 @@ +DIST pidgin-guifications-2.16.tar.bz2 543136 RMD160 b55522025da78062d950abb67346f4582fd9902a SHA1 c5a5a5bc8885a2dfb1da5645a6740ec9638ff496 SHA256 e007a75a904f6b24a608f566d84b6b41adfd91ed62daf4668a724cb25a721bd6 diff --git a/x11-plugins/guifications/guifications-2.16.ebuild b/x11-plugins/guifications/guifications-2.16.ebuild new file mode 100644 index 000000000000..259baa56aea0 --- /dev/null +++ b/x11-plugins/guifications/guifications-2.16.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils + +MY_PN=pidgin-${PN} +MY_PV=${PV/_beta/beta} +MY_P=${MY_PN}-${MY_PV} +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Guifications is a graphical notification plugin for the open source instant message client pidgin" +HOMEPAGE="http://plugins.guifications.org/" +SRC_URI="http://downloads.guifications.org/plugins//Guifications2/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc sparc x86" +IUSE="debug nls" + +RDEPEND="net-im/pidgin[gtk] + x11-libs/gtk+:2" + +DEPEND="${DEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_enable debug ) \ + $(use_enable nls) || die "econf failure" +} + +src_install() { + emake install DESTDIR="${D}" || die "make install failure" + dodoc AUTHORS ChangeLog INSTALL NEWS README TODO VERSION || die +} diff --git a/x11-plugins/guifications/metadata.xml b/x11-plugins/guifications/metadata.xml new file mode 100644 index 000000000000..bc3d909c4b35 --- /dev/null +++ b/x11-plugins/guifications/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-im</herd> +<longdescription>Guifications are graphical notification plugin for the open source instant message client gaim</longdescription> +</pkgmetadata> diff --git a/x11-plugins/hexchat-javascript/Manifest b/x11-plugins/hexchat-javascript/Manifest new file mode 100644 index 000000000000..295530f8c905 --- /dev/null +++ b/x11-plugins/hexchat-javascript/Manifest @@ -0,0 +1,2 @@ +DIST hexchat-javascript-0.3.1.tar.gz 27150 SHA256 42bb9bacd9545df3e76722bbf65322d3f85f820fb86355292d8e1551a3db5223 SHA512 8a59d26d9aa4fba19f3058b646a0a7da4facb936a88cec9a8f7c8f4ff4a865263665377edec5acbc33890786b7d576667d39323ba35e9b0ce05dc4d132a50502 WHIRLPOOL e310c81a968f1fa7fef7fa43f9054e3863edd4d22837c972f6f89b4b3ee4b1e2f3849041d8daf2470f36168134d276dfafa3c8aade5650fe12f05a0439d89ca7 +DIST hexchat-javascript-0.3.2.tar.gz 27542 SHA256 438e2102c4f99386bb9b429f117b9ba6c293e3c708d2c9270716d5ff095a12a8 SHA512 2829ddda5d35e50c4528b56c898c96a51d5b416d55e1631f97104fa8326952ae2bde041d07d9ef652a3b92a7d33ae99307d30605c2deaacd317e71599c9708a0 WHIRLPOOL e6e5f46ad049ca1bdf7147611b789449111fe6ddad7645dd097d0e2812a7ecb5b0040313f665366832db52dfc783f796c868ec740a30ff5a130d4e7124bcf6b7 diff --git a/x11-plugins/hexchat-javascript/hexchat-javascript-0.3.1.ebuild b/x11-plugins/hexchat-javascript/hexchat-javascript-0.3.1.ebuild new file mode 100644 index 000000000000..61eb3076322d --- /dev/null +++ b/x11-plugins/hexchat-javascript/hexchat-javascript-0.3.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Javascript interface for HexChat" +HOMEPAGE="https://github.com/TingPing/hexchat-javascript" +SRC_URI="https://github.com/TingPing/hexchat-javascript/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples" + +RDEPEND=" + dev-lang/spidermonkey:0 + >=net-irc/hexchat-2.9.6[plugins]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + tc-export CXX PKG_CONFIG + fi +} + +src_install() { + default + if use examples ; then + dodoc -r examples + fi +} diff --git a/x11-plugins/hexchat-javascript/hexchat-javascript-0.3.2.ebuild b/x11-plugins/hexchat-javascript/hexchat-javascript-0.3.2.ebuild new file mode 100644 index 000000000000..71586dc811f6 --- /dev/null +++ b/x11-plugins/hexchat-javascript/hexchat-javascript-0.3.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Javascript interface for HexChat" +HOMEPAGE="https://github.com/TingPing/hexchat-javascript" +SRC_URI="https://github.com/TingPing/hexchat-javascript/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + dev-lang/spidermonkey:0 + >=net-irc/hexchat-2.9.6[plugins]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + tc-export CXX PKG_CONFIG + fi +} + +src_install() { + dodir /usr/share/appdata + default + if use examples ; then + dodoc -r examples + fi +} diff --git a/x11-plugins/hexchat-javascript/metadata.xml b/x11-plugins/hexchat-javascript/metadata.xml new file mode 100644 index 000000000000..ce4ef9ad6518 --- /dev/null +++ b/x11-plugins/hexchat-javascript/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <upstream> + <maintainer status='active'> + <email>tingping@fedoraproject.org</email> + <name>TingPing</name> + </maintainer> + <bugs-to>https://github.com/TingPing/hexchat-javascript/issues</bugs-to> + <doc lang='en'>https://github.com/TingPing/hexchat-javascript/wiki</doc> + <remote-id type='github'>TingPing/hexchat-javascript</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/i8krellm/Manifest b/x11-plugins/i8krellm/Manifest new file mode 100644 index 000000000000..4ce6eff1c4cc --- /dev/null +++ b/x11-plugins/i8krellm/Manifest @@ -0,0 +1 @@ +DIST i8krellm-2.5.tar.gz 15378 SHA256 c86a0a859c9ffb58a51adfee2b76859dcd730ff38d9d4cfed4613f068c6c973c diff --git a/x11-plugins/i8krellm/files/i8krellm-2.5-Respect-LDFLAGS.patch b/x11-plugins/i8krellm/files/i8krellm-2.5-Respect-LDFLAGS.patch new file mode 100644 index 000000000000..bc740a415e35 --- /dev/null +++ b/x11-plugins/i8krellm/files/i8krellm-2.5-Respect-LDFLAGS.patch @@ -0,0 +1,12 @@ +diff --git a/Makefile b/Makefile +index 443a911..ba83210 100644 +--- a/Makefile ++++ b/Makefile +@@ -3,6 +3,7 @@ + # + + LFLAGS = -shared ++LFLAGS += $(LDFLAGS) + + + ## Support for GKrellM 2.0 diff --git a/x11-plugins/i8krellm/i8krellm-2.5-r1.ebuild b/x11-plugins/i8krellm/i8krellm-2.5-r1.ebuild new file mode 100644 index 000000000000..6a78cc210451 --- /dev/null +++ b/x11-plugins/i8krellm/i8krellm-2.5-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit gkrellm-plugin + +DESCRIPTION="GKrellM2 Plugin for the Dell Inspiron and Latitude notebooks" +SRC_URI="http://www.coding-zone.com/${P}.tar.gz" +HOMEPAGE="http://www.coding-zone.com/?page=i8krellm" +IUSE="" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="-* ~x86" + +RDEPEND=">=app-laptop/i8kutils-1.5" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-Respect-LDFLAGS.patch" +} diff --git a/x11-plugins/i8krellm/i8krellm-2.5.ebuild b/x11-plugins/i8krellm/i8krellm-2.5.ebuild new file mode 100644 index 000000000000..60722c9fad57 --- /dev/null +++ b/x11-plugins/i8krellm/i8krellm-2.5.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +DESCRIPTION="GKrellM2 Plugin for the Dell Inspiron and Latitude notebooks" +SRC_URI="http://www.coding-zone.com/${P}.tar.gz" +HOMEPAGE="http://www.coding-zone.com/?page=i8krellm" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 -ppc -sparc -alpha -mips -hppa" +IUSE="" + +RDEPEND=">=app-laptop/i8kutils-1.5" +DEPEND="${RDEPEND}" diff --git a/x11-plugins/i8krellm/metadata.xml b/x11-plugins/i8krellm/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/i8krellm/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/matchbox-applet-input-manager/Manifest b/x11-plugins/matchbox-applet-input-manager/Manifest new file mode 100644 index 000000000000..9a671efd1784 --- /dev/null +++ b/x11-plugins/matchbox-applet-input-manager/Manifest @@ -0,0 +1 @@ +DIST mb-applet-input-manager-0.6.tar.bz2 198357 SHA256 552f7547f59cce5451d93258b1f0dfb6fa86a47d9eee72ae3e72cbfb0de50069 diff --git a/x11-plugins/matchbox-applet-input-manager/files/matchbox-applet-input-manager-0.6-sssh_debug.patch b/x11-plugins/matchbox-applet-input-manager/files/matchbox-applet-input-manager-0.6-sssh_debug.patch new file mode 100644 index 000000000000..cd3f231bf0be --- /dev/null +++ b/x11-plugins/matchbox-applet-input-manager/files/matchbox-applet-input-manager-0.6-sssh_debug.patch @@ -0,0 +1,22 @@ +Index: mb-applet-input-manager-0.6/mbinputmgr-tray.c +=================================================================== +--- mb-applet-input-manager-0.6/mbinputmgr-tray.c {cset 0f2cc092-505c-44d3-bcdf-2b07f6f6942d} ++++ mb-applet-input-manager-0.6/mbinputmgr-tray.c {local clone} +@@ -257,13 +257,17 @@ xevent_callback (MBTrayApp *app, XEvent + { + if (ev->type == ClientMessage) + { ++#ifdef DEBUG + printf("beep\n"); ++#endif + + XClientMessageEvent *cmev = (XClientMessageEvent *)&ev->xconfigure; + + if (cmev->message_type == AtomIMActivate) + { ++#ifdef DEBUG + printf("beep\n"); ++#endif + + /* De Activate */ + if (cmev->data.l[0] == 0 && mbinputmgr_method_active(Inpmgr_state)) diff --git a/x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild b/x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild new file mode 100644 index 000000000000..1686b0487b76 --- /dev/null +++ b/x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit versionator eutils + +MY_PN=${PN/matchbox/mb} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Matchbox panel tray app for managing software input methods" +HOMEPAGE="http://matchbox-project.org/" +SRC_URI="http://matchbox-project.org/sources/${MY_PN}/$(get_version_component_range 1-2)/${MY_P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="amd64 ~arm ~hppa ppc x86" +IUSE="debug" + +DEPEND=">=x11-libs/libmatchbox-1.5" + +RDEPEND="${DEPEND} + x11-wm/matchbox-panel" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A}; cd "${S}" + + epatch "${FILESDIR}"/${P}-sssh_debug.patch +} + +src_compile() { + econf $(use_enable debug) || die "Configuration failed" + + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + dodoc AUTHORS ChangeLog INSTALL NEWS README +} diff --git a/x11-plugins/matchbox-applet-input-manager/metadata.xml b/x11-plugins/matchbox-applet-input-manager/metadata.xml new file mode 100644 index 000000000000..6a17403e0ad0 --- /dev/null +++ b/x11-plugins/matchbox-applet-input-manager/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>gpe</herd> +</pkgmetadata> diff --git a/x11-plugins/matchbox-applet-startup-monitor/Manifest b/x11-plugins/matchbox-applet-startup-monitor/Manifest new file mode 100644 index 000000000000..6114ba260c05 --- /dev/null +++ b/x11-plugins/matchbox-applet-startup-monitor/Manifest @@ -0,0 +1 @@ +DIST mb-applet-startup-monitor-0.1.tar.bz2 206232 SHA256 d0f1ba8275f688e7619c8a570e2a99f889e54efff8cb79d348827e2cb753d864 diff --git a/x11-plugins/matchbox-applet-startup-monitor/files/matchbox-applet-startup-monitor-0.1-false-true-fix.patch b/x11-plugins/matchbox-applet-startup-monitor/files/matchbox-applet-startup-monitor-0.1-false-true-fix.patch new file mode 100644 index 000000000000..1c8530497313 --- /dev/null +++ b/x11-plugins/matchbox-applet-startup-monitor/files/matchbox-applet-startup-monitor-0.1-false-true-fix.patch @@ -0,0 +1,18 @@ +diff -Naurp mb-applet-startup-monitor-0.1.orig/mbmonitor.c mb-applet-startup-monitor-0.1/mbmonitor.c +--- mb-applet-startup-monitor-0.1.orig/mbmonitor.c 2004-12-21 11:00:24.000000000 -0500 ++++ mb-applet-startup-monitor-0.1/mbmonitor.c 2006-06-23 12:33:38.000000000 -0400 +@@ -39,6 +39,14 @@ + + #include <libmb/mb.h> + ++/* libmb inherits FALSE/TRUE definitions only if compiled with jpeg support. */ ++#ifndef FALSE ++#define FALSE 0 ++#endif ++#ifndef TRUE ++#define TRUE 1 ++#endif ++ + #define TIMEOUT 20 + #define POLLTIME 10 + #define HOURGLASS_N_FRAMES 8 diff --git a/x11-plugins/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor-0.1.ebuild b/x11-plugins/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor-0.1.ebuild new file mode 100644 index 000000000000..ad484951c933 --- /dev/null +++ b/x11-plugins/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor-0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils versionator + +MY_PN=${PN/matchbox/mb} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Startup notification matchbox panel tray app" +HOMEPAGE="http://matchbox-project.org/" +SRC_URI="http://matchbox-project.org/sources/${MY_PN}/$(get_version_component_range 1-2)/${MY_P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="amd64 ~arm ~hppa ppc x86" +IUSE="" + +DEPEND=">=x11-libs/libmatchbox-1.5 + x11-libs/startup-notification" + +RDEPEND="${DEPEND} + x11-wm/matchbox-panel" + +S="${WORKDIR}/${MY_P}" + +src_unpack () { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-false-true-fix.patch +} + +src_compile() { + econf || die "Configuration failed" + + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + dodoc AUTHORS ChangeLog INSTALL NEWS README +} diff --git a/x11-plugins/matchbox-applet-startup-monitor/metadata.xml b/x11-plugins/matchbox-applet-startup-monitor/metadata.xml new file mode 100644 index 000000000000..6a17403e0ad0 --- /dev/null +++ b/x11-plugins/matchbox-applet-startup-monitor/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>gpe</herd> +</pkgmetadata> diff --git a/x11-plugins/matchbox-applet-volume/Manifest b/x11-plugins/matchbox-applet-volume/Manifest new file mode 100644 index 000000000000..ea966e3a29d3 --- /dev/null +++ b/x11-plugins/matchbox-applet-volume/Manifest @@ -0,0 +1 @@ +DIST mb-applet-volume-0.1.tar.bz2 119358 SHA256 9858fda4f190dd689afbe6c2e3812c357858ad28c07bd76058655071988c277f diff --git a/x11-plugins/matchbox-applet-volume/matchbox-applet-volume-0.1.ebuild b/x11-plugins/matchbox-applet-volume/matchbox-applet-volume-0.1.ebuild new file mode 100644 index 000000000000..80be475f9d69 --- /dev/null +++ b/x11-plugins/matchbox-applet-volume/matchbox-applet-volume-0.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit versionator + +MY_PN=${PN/matchbox/mb} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Matchbox panel tray app for controlling volume levels" +HOMEPAGE="http://matchbox-project.org/" +SRC_URI="http://matchbox-project.org/sources/${MY_PN}/$(get_version_component_range 1-2)/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ppc x86" +IUSE="" + +COMMON_DEPEND=">=x11-libs/libmatchbox-1.5 + x11-libs/gtk+:2" +RDEPEND="${COMMON_DEPEND} + x11-wm/matchbox-panel" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +DOCS="AUTHORS ChangeLog NEWS README" diff --git a/x11-plugins/matchbox-applet-volume/metadata.xml b/x11-plugins/matchbox-applet-volume/metadata.xml new file mode 100644 index 000000000000..6a17403e0ad0 --- /dev/null +++ b/x11-plugins/matchbox-applet-volume/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>gpe</herd> +</pkgmetadata> diff --git a/x11-plugins/matchbox-desktop-image-browser/Manifest b/x11-plugins/matchbox-desktop-image-browser/Manifest new file mode 100644 index 000000000000..b4feca2eb1d7 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/Manifest @@ -0,0 +1 @@ +DIST mb-desktop-image-browser-0.2.tar.bz2 209777 SHA256 48c2721048d3fa0bde425df1b40b1baa4ae67f6e42be78761ae81deb39ec746e diff --git a/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-include_fix.patch b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-include_fix.patch new file mode 100644 index 000000000000..654ff32947bc --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-include_fix.patch @@ -0,0 +1,12 @@ +diff -Naur mb-desktop-image-browser-0.2.orig/imgbrowser.c mb-desktop-image-browser-0.2/imgbrowser.c +--- mb-desktop-image-browser-0.2.orig/imgbrowser.c 2004-01-28 16:05:09 +0000 ++++ mb-desktop-image-browser-0.2/imgbrowser.c 2006-04-16 19:44:34 +0000 +@@ -4,7 +4,7 @@ + #include <regex.h> + + #include <libmb/mb.h> +-#include <mbdesktop_module.h> ++#include <matchbox-desktop/mbdesktop_module.h> + + /* + XXX Todo . diff --git a/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-noexec-matchbox-desktop.patch b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-noexec-matchbox-desktop.patch new file mode 100644 index 000000000000..b8dd76484cb7 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-noexec-matchbox-desktop.patch @@ -0,0 +1,12 @@ +diff -Naurp mb-desktop-image-browser-0.2.orig/configure.ac mb-desktop-image-browser-0.2/configure.ac +--- mb-desktop-image-browser-0.2.orig/configure.ac 2004-02-06 18:10:21.000000000 +0000 ++++ mb-desktop-image-browser-0.2/configure.ac 2010-01-06 00:09:09.000000000 +0000 +@@ -24,7 +24,7 @@ AC_FUNC_MALLOC + AC_TYPE_SIGNAL + AC_CHECK_FUNCS([strchr strdup]) + +-PKG_CHECK_MODULES(MB, libmb >= 1.1, matchbox-desktop, ++PKG_CHECK_MODULES(MB, libmb >= 1.1, , + AC_MSG_ERROR([*** Matchbox depencies not found***])) + + dnl check for debug build diff --git a/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-plugin-location-fix.patch b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-plugin-location-fix.patch new file mode 100644 index 000000000000..9026e3c95142 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-plugin-location-fix.patch @@ -0,0 +1,36 @@ +diff -Naurp mb-desktop-image-browser-0.2.orig/configure.ac mb-desktop-image-browser-0.2/configure.ac +--- mb-desktop-image-browser-0.2.orig/configure.ac 2010-01-06 01:05:40.000000000 +0000 ++++ mb-desktop-image-browser-0.2/configure.ac 2010-01-06 01:07:24.000000000 +0000 +@@ -34,6 +34,20 @@ AC_ARG_ENABLE(debug, + MB_CFLAGS="$MB_CFLAGS -DDEBUG" + fi]) + ++ ++dnl ------ Substitute in found libs, clags to Makefiles etc ----------------- ++ ++if test "x$prefix" = xNONE; then ++ prefix="${ac_default_prefix}" ++fi ++if test "x$exec_prefix" = xNONE; then ++ exec_prefix='${prefix}' ++fi ++ ++MBDESKTOP_PLUGIN_DIR=$libdir/matchbox/desktop ++eval MBDESKTOP_PLUGIN_DIR=`eval echo "$MBDESKTOP_PLUGIN_DIR"` ++ ++AC_SUBST(MBDESKTOP_PLUGIN_DIR) + AC_SUBST(MB_LIBS) + AC_SUBST(MB_CFLAGS) + +diff -Naurp mb-desktop-image-browser-0.2.orig/Makefile.am mb-desktop-image-browser-0.2/Makefile.am +--- mb-desktop-image-browser-0.2.orig/Makefile.am 2010-01-06 01:05:40.000000000 +0000 ++++ mb-desktop-image-browser-0.2/Makefile.am 2010-01-06 01:07:01.000000000 +0000 +@@ -4,7 +4,7 @@ LDADD = $(MB_LIBS) + AM_CFLAGS = $(MB_CFLAGS) -g -DDATADIR=\"$(datadir)\" + + lib_LTLIBRARIES = imgbrowser.la +-libdir = $(datadir)/matchbox/desktop/modules ++libdir = $(MBDESKTOP_PLUGIN_DIR) + + imgbrowser_la_SOURCES = imgbrowser.c + imgbrowser_la_LIBADD = $(LDADD) diff --git a/x11-plugins/matchbox-desktop-image-browser/matchbox-desktop-image-browser-0.2-r1.ebuild b/x11-plugins/matchbox-desktop-image-browser/matchbox-desktop-image-browser-0.2-r1.ebuild new file mode 100644 index 000000000000..7a48c03f3f12 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/matchbox-desktop-image-browser-0.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit versionator eutils autotools + +MY_PN=${PN/matchbox/mb} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="An alpha-ish image browser plug in for matchbox-desktop" +HOMEPAGE="http://matchbox-project.org/" +SRC_URI="http://matchbox-project.org/sources/${MY_PN}/$(get_version_component_range 1-2)/${MY_P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="amd64 ~arm x86" +IUSE="debug" + +RDEPEND=">=x11-libs/libmatchbox-1.1" +DEPEND="${RDEPEND} x11-wm/matchbox-desktop" + +S="${WORKDIR}/${MY_P}" + +src_unpack () { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/$P-include_fix.patch + epatch "${FILESDIR}"/$P-noexec-matchbox-desktop.patch + epatch "${FILESDIR}"/$P-plugin-location-fix.patch + + eautoreconf +} + +src_compile () { + econf $(use_enable debug) || die "Configuration failed" + + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + dodoc AUTHORS ChangeLog INSTALL NEWS README +} + +pkg_postinst() { + einfo "To use this matchbox-desktop module:" + einfo + einfo "Add an entry to you mbdesktop_modules file specifying the module and" + einfo "where your browsed images live." + einfo + einfo 'Ej: $ echo "/usr/lib/matchbox/desktop/imgbrowser.so ${HOME}/Pictures" >> \\' + einfo ' ~/.matchbox/mbdesktop_modules' +} diff --git a/x11-plugins/matchbox-desktop-image-browser/metadata.xml b/x11-plugins/matchbox-desktop-image-browser/metadata.xml new file mode 100644 index 000000000000..6a17403e0ad0 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/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>gpe</herd> +</pkgmetadata> diff --git a/x11-plugins/matchbox-desktop-xine/Manifest b/x11-plugins/matchbox-desktop-xine/Manifest new file mode 100644 index 000000000000..e439314d93d0 --- /dev/null +++ b/x11-plugins/matchbox-desktop-xine/Manifest @@ -0,0 +1 @@ +DIST mb-desktop-xine-0.4.tar.bz2 263390 SHA256 a550138cac9fcbb620a154fdf251d97e3420a5b9ac2017225b35d9df745e49f3 diff --git a/x11-plugins/matchbox-desktop-xine/matchbox-desktop-xine-0.4.ebuild b/x11-plugins/matchbox-desktop-xine/matchbox-desktop-xine-0.4.ebuild new file mode 100644 index 000000000000..c65d1542b900 --- /dev/null +++ b/x11-plugins/matchbox-desktop-xine/matchbox-desktop-xine-0.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit versionator eutils autotools + +MY_PN=${PN/matchbox/mb} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A matchbox-desktop plugin that allows you to browse and play media" +HOMEPAGE="http://matchbox-project.org/" +SRC_URI="http://matchbox-project.org/sources/${MY_PN}/$(get_version_component_range 1-2)/${MY_P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="amd64 ~ppc x86" +IUSE="debug" + +DEPEND=">=x11-libs/libmatchbox-1.1 + x11-wm/matchbox-desktop + >=media-libs/xine-lib-1.0.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + eautoreconf +} + +src_compile () { + econf $(use_enable debug) || die "Configuration failed" + + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + dodoc AUTHORS ChangeLog INSTALL NEWS README +} diff --git a/x11-plugins/matchbox-desktop-xine/metadata.xml b/x11-plugins/matchbox-desktop-xine/metadata.xml new file mode 100644 index 000000000000..6a17403e0ad0 --- /dev/null +++ b/x11-plugins/matchbox-desktop-xine/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>gpe</herd> +</pkgmetadata> diff --git a/x11-plugins/metadata.xml b/x11-plugins/metadata.xml new file mode 100644 index 000000000000..5c4b98e8113d --- /dev/null +++ b/x11-plugins/metadata.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The x11-plugins category contains plugin packages for various X11 + applications. + </longdescription> + <longdescription lang="de"> + Die Kategorie x11-plugins enthält Plugins für verschiedene + X11-Applikationen. + </longdescription> + <longdescription lang="es"> + La categoría x11-plugins contiene paquetes de extensiones para + varias aplicaciones X11. + </longdescription> + <longdescription lang="ja"> + x11-pluginsカテゴリーには様々なX11アプリケーションの + プラグイン・パッケージが含まれています。 + </longdescription> + <longdescription lang="nl"> + De x11-plugins categorie bevat plugins voor verschillende + X11-applicaties. + </longdescription> + <longdescription lang="vi"> + Nhóm x11-plugins chứa các gói plugin cho các ứng dụng X11 khác nhau. + </longdescription> + <longdescription lang="it"> + La categoria x11-plugins contiene plugins per varie applicazioni X11. + </longdescription> + <longdescription lang="pt"> + A categoria x11-plugins contém pacotes de plugins para várias + aplicações X11. + </longdescription> + <longdescription lang="pl"> + Kategoria x11-plugins zawiera rozszerzenia dla aplikacji X11. + </longdescription> +</catmetadata> + diff --git a/x11-plugins/monto/Manifest b/x11-plugins/monto/Manifest new file mode 100644 index 000000000000..ad606c254164 --- /dev/null +++ b/x11-plugins/monto/Manifest @@ -0,0 +1 @@ +DIST monto-0.1.1.tar.gz 18033 SHA256 64a4550e285b97addc7dad93ee7ff3dff97cf5ca0ad089440073362e2ba1ff3b SHA512 481065a9bf6c9004685d7ebac852abfa88a1d3797bcc3d47fa68deee6afd45055bdddcc4ff12dcf6d2683f7febbc3eabd01d616404bdb10f62d9ba97f8675c80 WHIRLPOOL 24a44a025e30f8cc15413dd0050e3247e22357be998673981ca2a717e9564bbe010408bc0e2934d4aebb02e6166732b217a586eb84edebd1977eb0e8c9f991a0 diff --git a/x11-plugins/monto/metadata.xml b/x11-plugins/monto/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/monto/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/monto/monto-0.1.1-r1.ebuild b/x11-plugins/monto/monto-0.1.1-r1.ebuild new file mode 100644 index 000000000000..fbdff1e5b9d6 --- /dev/null +++ b/x11-plugins/monto/monto-0.1.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="a simple manual device mounter (up to four devices)" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/274" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/274/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +S="${S}/src" + +src_prepare() { + sed -i -e "s/-o monto/\$(LDFLAGS) -o monto/" \ + -e 's/gcc/$(CC)/' Makefile || die "sed failed" +} + +src_compile() { + tc-export CC + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dodoc ../AUTHORS ../NEWS ../README + dobin ${PN} +} diff --git a/x11-plugins/pidgin-birthday-reminder/Manifest b/x11-plugins/pidgin-birthday-reminder/Manifest new file mode 100644 index 000000000000..8f950ba4a680 --- /dev/null +++ b/x11-plugins/pidgin-birthday-reminder/Manifest @@ -0,0 +1 @@ +DIST pidgin-birthday-reminder-1.7.tar.gz 470361 SHA256 6ed8292fbf742d122542227891145ffdf2367427178387e3399a0575c126dbe4 SHA512 1213c193b141f006caf9cfa7b55b052f54f00426414353e758224a1aa35a70436c452b52ea25fa088c346f4f0da25af40b2f4991452a2d3aabf13d40c8438e47 WHIRLPOOL 93e7fdf2353d0b9345a8739cf3b2c7b5ff71ebddc1eb3f63dd74e1873b80b8be1474cdf3eb7d5be557a6c3cd1dd8f944eaa5fedf9488566345c1a8812526632a diff --git a/x11-plugins/pidgin-birthday-reminder/metadata.xml b/x11-plugins/pidgin-birthday-reminder/metadata.xml new file mode 100644 index 000000000000..4726ce995764 --- /dev/null +++ b/x11-plugins/pidgin-birthday-reminder/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-im</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + <description>Maintainer. Assign bugs to him</description> + </maintainer> + <maintainer> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + <description>Maintainer. CC him on bugs</description> + </maintainer> + <upstream> + <bugs-to>https://bugs.launchpad.net/pidgin-birthday-reminder</bugs-to> + <remote-id type="launchpad">pidgin-birthday-reminder</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-birthday-reminder/pidgin-birthday-reminder-1.7.ebuild b/x11-plugins/pidgin-birthday-reminder/pidgin-birthday-reminder-1.7.ebuild new file mode 100644 index 000000000000..575735ae52a8 --- /dev/null +++ b/x11-plugins/pidgin-birthday-reminder/pidgin-birthday-reminder-1.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="Plugin for Pidgin that reminds you of your buddies birthdays" +HOMEPAGE="http://launchpad.net/pidgin-birthday-reminder" +SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="static-libs" + +RDEPEND="net-im/pidgin[gtk]" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + + if ! use static-libs ; then + find "${D}" -type f -name '*.la' -delete || die "la removal failed" + fi +} diff --git a/x11-plugins/pidgin-bot-sentry/Manifest b/x11-plugins/pidgin-bot-sentry/Manifest new file mode 100644 index 000000000000..274867d04a81 --- /dev/null +++ b/x11-plugins/pidgin-bot-sentry/Manifest @@ -0,0 +1 @@ +DIST bot-sentry-1.3.0.tar.bz2 280673 SHA256 e65581328a508a82cd32d246f4037ea3b044eafd223c3c967947f847db28e736 diff --git a/x11-plugins/pidgin-bot-sentry/metadata.xml b/x11-plugins/pidgin-bot-sentry/metadata.xml new file mode 100644 index 000000000000..4bb55d5d3ef1 --- /dev/null +++ b/x11-plugins/pidgin-bot-sentry/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <longdescription lang="en"> + Bot Sentry is a Pidgin (libpurple) plugin to prevent Instant Message (IM) + spam. It allows you to ignore IMs unless the sender is in your Buddy List, + the sender is in your Allow List, or the sender correctly answers a question + you have predefined. +</longdescription> + <upstream> + <remote-id type="sourceforge">pidgin-bs</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-bot-sentry/pidgin-bot-sentry-1.3.0.ebuild b/x11-plugins/pidgin-bot-sentry/pidgin-bot-sentry-1.3.0.ebuild new file mode 100644 index 000000000000..a5817e84f840 --- /dev/null +++ b/x11-plugins/pidgin-bot-sentry/pidgin-bot-sentry-1.3.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils multilib + +MY_P="${P#pidgin-}" +DESCRIPTION="Bot Sentry is a Pidgin plugin to prevent Instant Message (IM) spam" +HOMEPAGE="http://pidgin-bs.sourceforge.net/" +SRC_URI="mirror://sourceforge/pidgin-bs/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="net-im/pidgin[gtk] + x11-libs/gtk+:2" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.40 + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_install() { + emake install DESTDIR="${D}" || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/x11-plugins/pidgin-encryption/Manifest b/x11-plugins/pidgin-encryption/Manifest new file mode 100644 index 000000000000..b44108064e16 --- /dev/null +++ b/x11-plugins/pidgin-encryption/Manifest @@ -0,0 +1 @@ +DIST pidgin-encryption-3.1.tar.gz 604129 SHA256 940cdafdce59ece60193626ed04ebf94e2671df184b88c9ff1792e9e0f99cdab diff --git a/x11-plugins/pidgin-encryption/files/pidgin-encryption-3.1-glib2.32.patch b/x11-plugins/pidgin-encryption/files/pidgin-encryption-3.1-glib2.32.patch new file mode 100644 index 000000000000..1262056bd27c --- /dev/null +++ b/x11-plugins/pidgin-encryption/files/pidgin-encryption-3.1-glib2.32.patch @@ -0,0 +1,12 @@ +diff -urN pidgin-encryption-3.1.orig/rsa_nss.c pidgin-encryption-3.1/rsa_nss.c +--- pidgin-encryption-3.1.orig/rsa_nss.c 2010-04-26 04:53:46.000000000 +0300 ++++ pidgin-encryption-3.1/rsa_nss.c 2012-04-15 13:16:21.438852032 +0300 +@@ -24,7 +24,7 @@ + #include <debug.h> + #include <gtkdialogs.h> + +-#include "glib/gmain.h" ++#include <glib.h> + + #include <string.h> + #include <assert.h> diff --git a/x11-plugins/pidgin-encryption/metadata.xml b/x11-plugins/pidgin-encryption/metadata.xml new file mode 100644 index 000000000000..9f43c9824e79 --- /dev/null +++ b/x11-plugins/pidgin-encryption/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>net-im</herd> + <longdescription> +Pidgin-Encryption uses NSS or GNUTLSto provide transparent RSA encryption as a Pidgin plugin. +</longdescription> + <upstream> + <remote-id type="sourceforge">pidgin-encrypt</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-encryption/pidgin-encryption-3.1.ebuild b/x11-plugins/pidgin-encryption/pidgin-encryption-3.1.ebuild new file mode 100644 index 000000000000..a4e1c57ad94c --- /dev/null +++ b/x11-plugins/pidgin-encryption/pidgin-encryption-3.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit flag-o-matic eutils + +DESCRIPTION="Pidgin IM Encryption PlugIn" +HOMEPAGE="http://pidgin-encrypt.sourceforge.net/" +SRC_URI="mirror://sourceforge/pidgin-encrypt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc ~ppc64 sparc x86 ~x86-fbsd" +IUSE="nls" + +RDEPEND="net-im/pidgin[gtk] + x11-libs/gtk+:2 + >=dev-libs/nss-3.11" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/${P}-glib2.32.patch" +} + +src_configure() { + strip-flags + replace-flags -O? -O2 + econf $(use_enable nls) +} + +src_install() { + emake install DESTDIR="${D}" + dodoc CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST +} diff --git a/x11-plugins/pidgin-extprefs/Manifest b/x11-plugins/pidgin-extprefs/Manifest new file mode 100644 index 000000000000..044cbd074c1b --- /dev/null +++ b/x11-plugins/pidgin-extprefs/Manifest @@ -0,0 +1 @@ +DIST pidgin-extprefs-0.7.tar.gz 332742 SHA256 5f23def3dfc00c3597694177fbc2d6afa02d216c8f0d05b37307d3df509282e2 SHA512 f2157403463c1a9621396c84ea71c4e02a853796d5c7b7aa33def03f9b6eccc52a0fad7f5edcfa1506cdc2c6e9dfb056a445cdfa985b0c3885d7ffe666150c3a WHIRLPOOL 25b02b2c10d471a92e460241b34a0c49b4027b998da20dee0ad7771196952a60914adf871ccd60b34576ee5ca3097f45b7f83eb0568bdd707273526396c09fea diff --git a/x11-plugins/pidgin-extprefs/metadata.xml b/x11-plugins/pidgin-extprefs/metadata.xml new file mode 100644 index 000000000000..4043dbe6ae93 --- /dev/null +++ b/x11-plugins/pidgin-extprefs/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>net-im</herd> + <longdescription> +A plugin that takes advantage of existing pidgin functionality to provide preferences that are often desired but are not included in pidgin. +</longdescription> + <upstream> + <remote-id type="sourceforge">gaim-extprefs</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-extprefs/pidgin-extprefs-0.7-r1.ebuild b/x11-plugins/pidgin-extprefs/pidgin-extprefs-0.7-r1.ebuild new file mode 100644 index 000000000000..6e0d98c74926 --- /dev/null +++ b/x11-plugins/pidgin-extprefs/pidgin-extprefs-0.7-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +DESCRIPTION="Extra preferences that are desired but not are not considered worthy of inclusion in Pidgin itself" +HOMEPAGE="http://gaim-extprefs.sourceforge.net" +SRC_URI="mirror://sourceforge/gaim-extprefs/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc sparc x86" +IUSE="" + +RDEPEND="net-im/pidgin[gtk]" +DEPEND=" + virtual/pkgconfig + ${RDEPEND}" + +src_install() { + emake DESTDIR="${D}" install || die +} diff --git a/x11-plugins/pidgin-gpg/Manifest b/x11-plugins/pidgin-gpg/Manifest new file mode 100644 index 000000000000..0dad1b2ca2d6 --- /dev/null +++ b/x11-plugins/pidgin-gpg/Manifest @@ -0,0 +1,2 @@ +DIST pidgin-gpg-0.9.3.tar.gz 806492 SHA256 aa6631aaab971a8ff5656a9182a322669b5b51e6f7d162075663eaa8cc1ba7d6 SHA512 bff7ec08d7999d40b689aabc0b559b7eab1fae765b6ffc799e355601ac3a2bb05c3831c1e56e30b95f387c446f7d07d1576af7e7824094fca9ac6c6636d62f6c WHIRLPOOL 9aa127b5c6cadb51280e96d1a75e0b93669ca9463258d7d422db9799c66e1b87c6bc36111d08c18aeaef8f5135f6a4aee17d7ac1681ee1891d0feb85eb547542 +DIST pidgin-gpg-0.9.tar.gz 288403 SHA256 736681cb25da31eb8ced96055d4150d649fe6ef6e523b6f65846c3446ac09a96 SHA512 391d013dcc62972e13fded2737325d8262edd62c5afb640e244bc6dca868f966dcc4155c6a5604e5c87fc3dd0b3fdf5c339305756a9e6992765193c20838aa50 WHIRLPOOL 56d7f32b3b7affa2732eba9ef57940aa5272f4a99eaefdd78e44d869a2153817dc94d601009e62d5e2d4b008e9999b697736d930ff38763cd27b32a00edb0aa2 diff --git a/x11-plugins/pidgin-gpg/metadata.xml b/x11-plugins/pidgin-gpg/metadata.xml new file mode 100644 index 000000000000..b13748a265f7 --- /dev/null +++ b/x11-plugins/pidgin-gpg/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>azamat.hackimov@gmail.com</email> + <name>Azamat H. Hackimov</name> + <description>Maintainer. Assign bugs on him</description> + </maintainer> + <maintainer> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + <description>Proxy maintainer. CC him on bugs</description> + </maintainer> + <upstream> + <remote-id type="github">segler-alex/Pidgin-GPG</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-gpg/pidgin-gpg-0.9.3.ebuild b/x11-plugins/pidgin-gpg/pidgin-gpg-0.9.3.ebuild new file mode 100644 index 000000000000..5d6695e57c93 --- /dev/null +++ b/x11-plugins/pidgin-gpg/pidgin-gpg-0.9.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="Pidgin GPG/OpenPGP (XEP-0027) plugin" +HOMEPAGE="https://github.com/Draghtnod/Pidgin-GPG" +SRC_URI="https://github.com/Draghtnod/Pidgin-GPG/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="app-crypt/gpgme + net-im/pidgin" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/Pidgin-GPG-${PV}" + +src_prepare() { + eautoreconf +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/x11-plugins/pidgin-gpg/pidgin-gpg-0.9.ebuild b/x11-plugins/pidgin-gpg/pidgin-gpg-0.9.ebuild new file mode 100644 index 000000000000..ea1aed40bb16 --- /dev/null +++ b/x11-plugins/pidgin-gpg/pidgin-gpg-0.9.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils + +DESCRIPTION="Pidgin GPG/OpenPGP (XEP-0027) plugin" +HOMEPAGE="https://github.com/segler-alex/Pidgin-GPG" +SRC_URI="mirror://github/segler-alex/Pidgin-GPG/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="app-crypt/gpgme + net-im/pidgin" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install() { + default + prune_libtool_files --all +} diff --git a/x11-plugins/pidgin-hotkeys/Manifest b/x11-plugins/pidgin-hotkeys/Manifest new file mode 100644 index 000000000000..9da0fa6ed3e8 --- /dev/null +++ b/x11-plugins/pidgin-hotkeys/Manifest @@ -0,0 +1 @@ +DIST pidgin-hotkeys-0.2.4.tar.gz 341912 SHA256 3da7965c21744ca429bcffe829263de97a20252e0586a881d9f1ee4dbd7486bb diff --git a/x11-plugins/pidgin-hotkeys/metadata.xml b/x11-plugins/pidgin-hotkeys/metadata.xml new file mode 100644 index 000000000000..1d9eb215587b --- /dev/null +++ b/x11-plugins/pidgin-hotkeys/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-im</herd> + <upstream> + <remote-id type="sourceforge">pidgin-hotkeys</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.4.ebuild b/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.4.ebuild new file mode 100644 index 000000000000..6a81c3da343f --- /dev/null +++ b/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Pidgin plugin to define global hotkeys for various actions" +HOMEPAGE="http://pidgin-hotkeys.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc x86" +IUSE="" + +RDEPEND="net-im/pidgin[gtk] + x11-libs/gtk+:2" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog README NEWS || die +} diff --git a/x11-plugins/pidgin-indicator/Manifest b/x11-plugins/pidgin-indicator/Manifest new file mode 100644 index 000000000000..c685a4e918cd --- /dev/null +++ b/x11-plugins/pidgin-indicator/Manifest @@ -0,0 +1 @@ +DIST pidgin-indicator-0.9.tar.gz 28350 SHA256 bf7b3c8914a96ef7953adb503b37e0e238682f264a21355fb99e7bf148db6b5c SHA512 bf16a47d44bb184815437c6bc70021777fb8e438838eb916351c59e82879e9bdaebd430ffa77c7d36e6b66d923813bcfb7c17759c8310eb6f9e260def4189ece WHIRLPOOL 29f23d84a327a8f885ef4fa1e64f422bd4b278582601f0d58a564fede66685ed20192453c1018e6ce4b171e5d03b63e00b82014926c03668394805d238f0e475 diff --git a/x11-plugins/pidgin-indicator/metadata.xml b/x11-plugins/pidgin-indicator/metadata.xml new file mode 100644 index 000000000000..9b198d3f3bd5 --- /dev/null +++ b/x11-plugins/pidgin-indicator/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <upstream> + <remote-id type="github">philipl/pidgin-indicator</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-indicator/pidgin-indicator-0.9.ebuild b/x11-plugins/pidgin-indicator/pidgin-indicator-0.9.ebuild new file mode 100644 index 000000000000..22740c259d1e --- /dev/null +++ b/x11-plugins/pidgin-indicator/pidgin-indicator-0.9.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools + +DESCRIPTION="Indicator plugin for Pidgin" +HOMEPAGE="https://github.com/philipl/pidgin-indicator" +SRC_URI="https://github.com/philipl/pidgin-indicator/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-libs/glib:2 + dev-libs/libappindicator:2 + net-im/pidgin[gtk] + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + eautoreconf +} + +src_install() { + default + find "${D}" -name "*.la" -exec rm {} + || die +} diff --git a/x11-plugins/pidgin-latex/Manifest b/x11-plugins/pidgin-latex/Manifest new file mode 100644 index 000000000000..d1961694b968 --- /dev/null +++ b/x11-plugins/pidgin-latex/Manifest @@ -0,0 +1 @@ +DIST pidgin-latex_1.5.0.tar.bz2 17585 SHA256 9c850aee90d7e59de834f83e09fa6e3e51b123f06e265ead70957608ada95441 SHA512 e9f81f948eb70880e027d3b83a058b509b860664f3c8fb39c95fa1ac5c0c843bf37f9b5abcf095ff30942dad7b55262c27494419d55af1c14898be4caddec912 WHIRLPOOL 56b1ee07fa4784cce078fce169775dcc946f040b87cb52fae2831edd9af2c66f93e75c0be03526a2fa9471ba3cea2c953910d136126f513c2e893d70ed214ed1 diff --git a/x11-plugins/pidgin-latex/metadata.xml b/x11-plugins/pidgin-latex/metadata.xml new file mode 100644 index 000000000000..edb26b5a021b --- /dev/null +++ b/x11-plugins/pidgin-latex/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-im</herd> + <longdescription> +A plugin for Pidgin which translates LaTeX code into images in your IM and Chat +conversations. +</longdescription> + <upstream> + <remote-id type="sourceforge">pidgin-latex</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-latex/pidgin-latex-1.5.0.ebuild b/x11-plugins/pidgin-latex/pidgin-latex-1.5.0.ebuild new file mode 100644 index 000000000000..f009b635ca2c --- /dev/null +++ b/x11-plugins/pidgin-latex/pidgin-latex-1.5.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit multilib toolchain-funcs + +MY_P=${PN}_${PV} + +DESCRIPTION="Pidgin plugin that renders latex formulae" +HOMEPAGE="http://sourceforge.net/projects/pidgin-latex/" +SRC_URI="mirror://sourceforge/pidgin-latex/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +COMMON_DEPEND=" + net-im/pidgin[gtk] + x11-libs/gtk+:2" +DEPEND="${COMMON_DEPEND} + sys-devel/libtool + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + virtual/latex-base + app-text/dvipng" + +S=${WORKDIR}/${PN} + +src_prepare() { + sed -e "s:\(CC.*=\).*:\1 $(tc-getCC):" \ + -e "/LIB_INSTALL_DIR/{s:/lib/pidgin:/$(get_libdir)/pidgin:;}" \ + -i Makefile || die +} + +src_install() { + emake PREFIX="${D}/usr" install + dodoc README CHANGELOG TODO +} + +pkg_postinst() { + elog 'Note, to see formulas either disable "Conversation Colors" plugin or' + elog 'switch off "ignore incoming format" option in plugin configuration.' + elog 'For details, take a look (and vote) at http://developer.pidgin.im/ticket/2772' +} diff --git a/x11-plugins/pidgin-led-notification/Manifest b/x11-plugins/pidgin-led-notification/Manifest new file mode 100644 index 000000000000..4c45d4b9e5c5 --- /dev/null +++ b/x11-plugins/pidgin-led-notification/Manifest @@ -0,0 +1 @@ +DIST led-notification-0.1.tar.bz2 8848 SHA256 aed13cd45e6bbb89574d9eafe477adc7ef3f0a1768cb1f3c5f573e08186e1a16 diff --git a/x11-plugins/pidgin-led-notification/files/pidgin-led-notification-0.1-hardware.patch b/x11-plugins/pidgin-led-notification/files/pidgin-led-notification-0.1-hardware.patch new file mode 100644 index 000000000000..aaabada116db --- /dev/null +++ b/x11-plugins/pidgin-led-notification/files/pidgin-led-notification-0.1-hardware.patch @@ -0,0 +1,34 @@ +--- led-notification-0.1/led-notification.c ++++ led-notification-0.1/led-notification.c +@@ -54,9 +54,9 @@ + } + + if(state) { +- fputs("1", file); ++ fputs(purple_prefs_get_string("/plugins/gtk/gtk-simom-lednot/led_on"), file); + } else { +- fputs("0", file); ++ fputs(purple_prefs_get_string("/plugins/gtk/gtk-simom-lednot/led_off"), file); + } + + fclose(file); +@@ -155,6 +155,10 @@ + + ent=pidgin_prefs_labeled_entry(vbox2,"File to control led:", + "/plugins/gtk/gtk-simom-lednot/filename",sg); ++ ent=pidgin_prefs_labeled_entry(vbox2,"String to turn led on:", ++ "/plugins/gtk/gtk-simom-lednot/led_on",sg); ++ ent=pidgin_prefs_labeled_entry(vbox2,"String to turn led off:", ++ "/plugins/gtk/gtk-simom-lednot/led_off",sg); + + gtk_widget_show_all(frame); + return frame; +@@ -166,6 +170,8 @@ + purple_prefs_add_string("/plugins/gtk/gtk-simom-lednot/chat", "nick"); + purple_prefs_add_string("/plugins/gtk/gtk-simom-lednot/filename", + "/proc/acpi/asus/mled"); ++ purple_prefs_add_string("/plugins/gtk/gtk-simom-lednot/led_on", "1"); ++ purple_prefs_add_string("/plugins/gtk/gtk-simom-lednot/led_off", "0"); + } + + static gboolean plugin_load(PurplePlugin *plugin) { diff --git a/x11-plugins/pidgin-led-notification/metadata.xml b/x11-plugins/pidgin-led-notification/metadata.xml new file mode 100644 index 000000000000..59acc2cc580e --- /dev/null +++ b/x11-plugins/pidgin-led-notification/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> + diff --git a/x11-plugins/pidgin-led-notification/pidgin-led-notification-0.1.ebuild b/x11-plugins/pidgin-led-notification/pidgin-led-notification-0.1.ebuild new file mode 100644 index 000000000000..bf9e7fb55fb6 --- /dev/null +++ b/x11-plugins/pidgin-led-notification/pidgin-led-notification-0.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Pidgin plugin to notify by writing user defined strings to (led control) files" +HOMEPAGE="http://sites.google.com/site/simohmattila/led-notification" +MY_PN=${PN/pidgin-/} +MY_P=${MY_PN}-${PV} +SRC_URI="http://sites.google.com/site/simohmattila/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND="net-im/pidgin[gtk] + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-hardware.patch +} + +src_compile() { + $(tc-getCC) \ + ${CFLAGS} -fpic $(pkg-config --cflags gtk+-2.0 pidgin) \ + -shared ${MY_PN}.c -o ${MY_PN}.so \ + ${LDFLAGS} $(pkg-config --libs gtk+-2.0 pidgin) || die +} + +src_install() { + insinto /usr/$(get_libdir)/pidgin + insopts -m755 + doins ${MY_PN}.so || die + dodoc README || die +} diff --git a/x11-plugins/pidgin-libnotify/Manifest b/x11-plugins/pidgin-libnotify/Manifest new file mode 100644 index 000000000000..5e3fb92b9eb3 --- /dev/null +++ b/x11-plugins/pidgin-libnotify/Manifest @@ -0,0 +1,2 @@ +DIST pidgin-libnotify-0.14.tar.gz 316365 SHA256 74f4a9f20e0a483df39974178f1f2380786176189512bcd438e4ada280ec3abe SHA512 2ff6b2bad74cb2fd9a3de94c06a2261fa07938bc1971baa578b9a9ae120175943592bf773ec5f00857c5ea35771a7fd1943299521626ce49f410cfd70ea2b399 WHIRLPOOL 05b98c55e4feb3d314f8203e6fb30ae58aaa1adb39d34c2895a4c7b1fd8393eab9f071f6c0c80696e4113407435ff2adb683054057ea09eef1281480826365fe +DIST pidgin-libnotify_0.14-4.debian.tar.gz 4722 SHA256 63cad8b5065a84002c87f1056f5d2198bcc16c7947c7b5125a859c4deec5afcc SHA512 a95aab2e29b658650321ab794561fe085c619638c251d8555dfc6f79ddf298d4893671f43827ce742ebc5aa594324aeff12a57c51f3ca0a0454590195c760530 WHIRLPOOL 265a2df9236e69c8917fc31b0a4c39e4501478858249b77dbe8fe26b0ca12d020fe9f20ac99d87fd184a258dbd5e9dd6466406b66a6d4941967c8695a74bbde3 diff --git a/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-0.14-libnotify-0.7.patch b/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-0.14-libnotify-0.7.patch new file mode 100644 index 000000000000..40e6c02b8152 --- /dev/null +++ b/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-0.14-libnotify-0.7.patch @@ -0,0 +1,18 @@ +--- src/pidgin-libnotify.c ++++ src/pidgin-libnotify.c +@@ -286,7 +286,15 @@ + g_free (tr_body); + return; + } ++#ifdef NOTIFY_CHECK_VERSION ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ notification = notify_notification_new (title, tr_body, NULL); ++#else + notification = notify_notification_new (title, tr_body, NULL, NULL); ++#endif ++#else ++ notification = notify_notification_new (title, tr_body, NULL, NULL); ++#endif + purple_debug_info (PLUGIN_ID, "notify(), new: " + "title: '%s', body: '%s', buddy: '%s'\n", + title, tr_body, best_name (buddy)); diff --git a/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-showbutton.patch b/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-showbutton.patch new file mode 100644 index 000000000000..1f84e6025557 --- /dev/null +++ b/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-showbutton.patch @@ -0,0 +1,10 @@ +--- src/pidgin-libnotify.c.orig 2007-10-01 20:52:38.000000000 +1000 ++++ src/pidgin-libnotify.c 2007-10-01 20:53:20.000000000 +1000 +@@ -307,6 +307,7 @@ + g_hash_table_insert (buddy_hash, contact, notification); + + g_object_set_data (G_OBJECT(notification), "contact", contact); ++ g_object_set_data (G_OBJECT(notification), "buddy", buddy); + + g_signal_connect (notification, "closed", G_CALLBACK(closed_cb), NULL); + diff --git a/x11-plugins/pidgin-libnotify/metadata.xml b/x11-plugins/pidgin-libnotify/metadata.xml new file mode 100644 index 000000000000..a071398a197f --- /dev/null +++ b/x11-plugins/pidgin-libnotify/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-im</herd> + <upstream> + <remote-id type="sourceforge">gaim-libnotify</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r1.ebuild b/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r1.ebuild new file mode 100644 index 000000000000..0559f02d2071 --- /dev/null +++ b/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils + +DESCRIPTION="pidgin-libnotify provides popups for pidgin via a libnotify interface" +HOMEPAGE="http://gaim-libnotify.sourceforge.net/" +SRC_URI="mirror://sourceforge/gaim-libnotify/${P}.tar.gz + mirror://debian/pool/main/p/${PN}/${PN}_${PV}-4.debian.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls debug" + +RDEPEND=">=x11-libs/libnotify-0.3.2 + net-im/pidgin[gtk] + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + EPATCH_FORCE=yes EPATCH_SUFFIX=diff epatch "${WORKDIR}"/debian/patches + epatch "${FILESDIR}"/${P}-libnotify-0.7.patch + sed -i -e '/CFLAGS/s:-g3::' configure || die +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable debug) \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${D}" -name '*.la' -exec rm -f {} + + dodoc AUTHORS ChangeLog NEWS README TODO VERSION || die +} diff --git a/x11-plugins/pidgin-mbpurple/Manifest b/x11-plugins/pidgin-mbpurple/Manifest new file mode 100644 index 000000000000..7f3bf37b087d --- /dev/null +++ b/x11-plugins/pidgin-mbpurple/Manifest @@ -0,0 +1 @@ +DIST mbpurple-0.3.0.tar.gz 83685 SHA256 f48194da4848a3cf5811497ec734250435f8021c1afaba65270b9fb4d235d17d diff --git a/x11-plugins/pidgin-mbpurple/metadata.xml b/x11-plugins/pidgin-mbpurple/metadata.xml new file mode 100644 index 000000000000..ee6c12f58148 --- /dev/null +++ b/x11-plugins/pidgin-mbpurple/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>nils@nils-andresen.de</email> + <name>Nils Andresen</name> + </maintainer> + <maintainer> + <email>fauli@gentoo.org</email> + <name>Christian Faulhammer</name> + </maintainer> + <use> + <flag name="twitgin">Enable graphical plugin for Gtk+ interface of Pidgin.</flag> + </use> + <upstream> + <remote-id type="google-code">microblog-purple</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild b/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild new file mode 100644 index 000000000000..480d70777299 --- /dev/null +++ b/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit base toolchain-funcs + +DESCRIPTION="Libpurple (Pidgin) plug-in supporting microblog services like Twitter or identi.ca" +HOMEPAGE="http://code.google.com/p/microblog-purple/" +MY_P="${P/pidgin-/}" +SRC_URI="http://microblog-purple.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+twitgin" + +RDEPEND="net-im/pidgin + twitgin? ( net-im/pidgin[gtk] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" +S=${WORKDIR}/${MY_P} + +pkg_setup() { + tc-export CC +} + +src_prepare() { + # upstream Issue 226 (Respect LDFLAGS) + sed -i "/^LDFLAGS/d" global.mak || die + + # upstream Issue 225 (Warnings during compilation using make -j2) + sed -i "s/make /\$(MAKE) /g" Makefile || die + + # upstream Issue 224 (configurable twitgin) + if ! use twitgin; then + sed -i 's/twitgin//g' Makefile || die + fi +} diff --git a/x11-plugins/pidgin-mpris/Manifest b/x11-plugins/pidgin-mpris/Manifest new file mode 100644 index 000000000000..76f955d71464 --- /dev/null +++ b/x11-plugins/pidgin-mpris/Manifest @@ -0,0 +1 @@ +DIST pidgin-mpris-0.2.6.tar.bz2 211675 RMD160 f17cdb8ccab86539700b3ca5adc83734472fc5aa SHA1 5358b973932ca177419a3b9e8a3b88980fff20f0 SHA256 eb9a53b4c174b3ac60aa58584d3facccecf57de908e8dde2ed557ab17381f9e9 diff --git a/x11-plugins/pidgin-mpris/metadata.xml b/x11-plugins/pidgin-mpris/metadata.xml new file mode 100644 index 000000000000..8680cdd07618 --- /dev/null +++ b/x11-plugins/pidgin-mpris/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-im</herd> + <maintainer> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> +</pkgmetadata> diff --git a/x11-plugins/pidgin-mpris/pidgin-mpris-0.2.6.ebuild b/x11-plugins/pidgin-mpris/pidgin-mpris-0.2.6.ebuild new file mode 100644 index 000000000000..696207cde96f --- /dev/null +++ b/x11-plugins/pidgin-mpris/pidgin-mpris-0.2.6.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +DESCRIPTION="Gets current song from MPRIS-aware media players" +HOMEPAGE="http://m0n5t3r.info/work/pidgin-mpris/" +SRC_URI="http://m0n5t3r.info/stuff/pidgin-mpris//${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +RDEPEND="net-im/pidgin[gtk] + x11-libs/gtk+:2 + sys-apps/dbus" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install() { + emake install DESTDIR="${D}" || die "Install failed" + dodoc INSTALL README TODO +} diff --git a/x11-plugins/pidgin-musictracker/Manifest b/x11-plugins/pidgin-musictracker/Manifest new file mode 100644 index 000000000000..3e4d591e0c12 --- /dev/null +++ b/x11-plugins/pidgin-musictracker/Manifest @@ -0,0 +1 @@ +DIST pidgin-musictracker-0.4.22.tar.bz2 727051 SHA256 dff3561a486f36ad71834fadabac8e4e3d4643848cc25ce9ef0614a2c3c4833f diff --git a/x11-plugins/pidgin-musictracker/metadata.xml b/x11-plugins/pidgin-musictracker/metadata.xml new file mode 100644 index 000000000000..828482ba3421 --- /dev/null +++ b/x11-plugins/pidgin-musictracker/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-im</herd> + <upstream> + <remote-id type="google-code">pidgin-musictracker</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild b/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild new file mode 100644 index 000000000000..08c63993e2e5 --- /dev/null +++ b/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit autotools + +DESCRIPTION="A Pidgin now playing plugin to publicise the songs you are listening to in your status message" +HOMEPAGE="http://code.google.com/p/pidgin-musictracker/" +SRC_URI="http://pidgin-musictracker.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="debug" + +DEPEND=">=net-im/pidgin-2.0.0[gtk] + >=dev-libs/dbus-glib-0.73 + dev-libs/libpcre + >=sys-devel/gettext-0.17" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s/DOMAIN/PACKAGE/g" po/Makefile.in.in || die "sed failed" + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + --disable-werror +} + +src_install() { + emake install DESTDIR="${D}" || die "make install failure" + dodoc AUTHORS ChangeLog INSTALL README THANKS || die "dodoc failed" + find "${D}" -name "*.la" -delete || die "error cleaning la file." +} diff --git a/x11-plugins/pidgin-opensteamworks/Manifest b/x11-plugins/pidgin-opensteamworks/Manifest new file mode 100644 index 000000000000..eff63f04a4ae --- /dev/null +++ b/x11-plugins/pidgin-opensteamworks/Manifest @@ -0,0 +1,4 @@ +DIST pidgin-opensteamworks-icons.zip 3252 SHA256 9af30f18b607fd16911c2e41b0fb594508583335804f25193da7846ea39f9fa9 SHA512 823f400bb4df9c6ddb65d8a01ec182fbbadeb955bc3e9590e88773b092b0cf79e50fc6c20d9b72def7fe9f8d6e1ac7cc087fbdb3f6ed4b76c343a29f18e6ea06 WHIRLPOOL 6b57fd61f15755b4c8f5090d7ab94974e1d8e5bd873fdc943ae762b3db97c0b65b295f8288747c98390fb1f52af27849840b084ca0e39bd88542f694decf0ff7 +DIST steam-mobile-1.4.tar.bz2 23293 SHA256 d7ac0396b17c7a45bdffaa4b1ccbc4b13118b64e9ea495fa5af629a8e29c8fab SHA512 20ac50ea49c1c0724aeb839fe46ac8a9b5a52d903ebf9bb18ab665fd32cdc4d80a426a0c2714724495ee73d758da2dbb891ac618b0689239485841fe6e6c0953 WHIRLPOOL 9f9e6ed0c1045e2fada9ea214b2be9560fc6d5937619cda403242c30ad8b1a4536fb6c0a92c311ca2998aed245d2fee5da9b48a6c8766e5c098688552bee6da7 +DIST steam-mobile-1.5.1.tar.bz2 25491 SHA256 4a309923bf75a8095706a38604634ffc9bb91fc90e01c55fa6dcf9c8177ecd23 SHA512 71b83155bbd00bd208c07b797f2021eed33e0aadf321025cf3b2e9bd50399cefd9652b3ee5ea79009876a306e9d07177686861de405355ac8c2a914ebefe8557 WHIRLPOOL b1c4933b91828e405f1bf7dc148eee92501601e49fec0594b55a07e3a7175b3780abfd67a3ec8f297212bf3e690054e7403abcc45bdb0c6633e05a54970a0e3e +DIST steam-mobile-1.5.tar.bz2 25284 SHA256 f4a90c771ab92e2a330c7c00a8ba874a5e71fbc1ff29e8ad2a0c22fa09d522a1 SHA512 14dd135d6b973a3bd8e2c4973bdb83e3ea1b3f2821e42f1ecb079e067daef0ef6fc9cedd1be45eac3065bfede5efe9216b26afefa742836f9d6ac2dd241c4c74 WHIRLPOOL 30cf5b1699ca88216e702d359262fd1e1cc3608544ecab5b5d427db8bcf4a9580d51b108bd584b6a7c28573d383570ba0f9c73b2e9974cee9a18a8da084a7d5e diff --git a/x11-plugins/pidgin-opensteamworks/files/pidgin-opensteamworks-1.3-Makefile b/x11-plugins/pidgin-opensteamworks/files/pidgin-opensteamworks-1.3-Makefile new file mode 100644 index 000000000000..a71ece054234 --- /dev/null +++ b/x11-plugins/pidgin-opensteamworks/files/pidgin-opensteamworks-1.3-Makefile @@ -0,0 +1,33 @@ +CC ?= gcc +PKG_CONFIG ?= pkg-config +INSTALL = install +INSTALL_PROGRAM = $(INSTALL) -Dm755 + +PLUGINDIR ?= $(shell $(PKG_CONFIG) --variable=plugindir purple) + +CFLAGS ?= -O2 -pipe +CFLAGS += -Wall -fPIC +LDFLAGS += -shared +CPPFLAGS += $(shell $(PKG_CONFIG) --cflags glib-2.0 json-glib-1.0 purple nss gnome-keyring-1) +LIBS += $(shell $(PKG_CONFIG) --libs glib-2.0 json-glib-1.0 purple nss) + +TARGET = libsteam.so + +OBJS = libsteam.o steam_connection.o + +%.o: %.c %.h + $(CC) $(CFLAGS) $(CPPFLAGS) -c $*.c + +$(TARGET): $(OBJS) + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS) + +install: $(TARGET) + $(INSTALL_PROGRAM) $(TARGET) "$(DESTDIR)$(PLUGINDIR)/$(TARGET)" + +uninstall: + rm -f "$(DESTDIR)$(PLUGINDIR)/$(TARGET)" + +clean: + rm -f $(OBJS) $(TARGET) + +.PHONY: uninstall clean diff --git a/x11-plugins/pidgin-opensteamworks/metadata.xml b/x11-plugins/pidgin-opensteamworks/metadata.xml new file mode 100644 index 000000000000..4358058a0910 --- /dev/null +++ b/x11-plugins/pidgin-opensteamworks/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-im</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ <description>Maintainer. Assign bugs to him</description>
+ </maintainer>
+ <maintainer>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ <description>Maintainer. CC him on bugs</description>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>eionrobb@gmail.com</email>
+ </maintainer>
+ <bugs-to>http://code.google.com/p/pidgin-opensteamworks/issues/list</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.4.ebuild b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.4.ebuild new file mode 100644 index 000000000000..32f1f2eae58b --- /dev/null +++ b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Steam protocol plugin for pidgin" +HOMEPAGE="http://code.google.com/p/pidgin-opensteamworks/" +SRC_URI="http://pidgin-opensteamworks.googlecode.com/files/steam-mobile-${PV}.tar.bz2 + http://pidgin-opensteamworks.googlecode.com/files/icons.zip + -> ${PN}-icons.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND="dev-libs/glib:2 + dev-libs/json-glib + dev-libs/nss + gnome-base/libgnome-keyring + net-im/pidgin" +DEPEND="${RDEPEND} + app-arch/unzip + virtual/pkgconfig" + +S=${WORKDIR} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + tc-export CC PKG_CONFIG + fi +} + +src_prepare() { + # see http://code.google.com/p/pidgin-opensteamworks/issues/detail?id=31 + cp "${FILESDIR}"/${PN}-1.3-Makefile "${S}"/Makefile || die +} + +src_install() { + default + insinto /usr/share/pixmaps/pidgin/protocols + doins -r "${WORKDIR}"/{16,48} +} diff --git a/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.5.1.ebuild b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.5.1.ebuild new file mode 100644 index 000000000000..286381ab5c29 --- /dev/null +++ b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.5.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Steam protocol plugin for pidgin" +HOMEPAGE="http://code.google.com/p/pidgin-opensteamworks/" +SRC_URI="http://pidgin-opensteamworks.googlecode.com/svn/trunk/steam-mobile/releases/steam-mobile-${PV}.tar.bz2 + http://pidgin-opensteamworks.googlecode.com/files/icons.zip + -> ${PN}-icons.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="dev-libs/glib:2 + dev-libs/json-glib + dev-libs/nss + gnome-base/libgnome-keyring + net-im/pidgin" +DEPEND="${RDEPEND} + app-arch/unzip + virtual/pkgconfig" + +S=${WORKDIR} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + tc-export CC PKG_CONFIG + fi +} + +src_prepare() { + # see http://code.google.com/p/pidgin-opensteamworks/issues/detail?id=31 + cp "${FILESDIR}"/${PN}-1.3-Makefile "${S}"/Makefile || die +} + +src_install() { + default + insinto /usr/share/pixmaps/pidgin/protocols + doins -r "${WORKDIR}"/{16,48} +} diff --git a/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.5.ebuild b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.5.ebuild new file mode 100644 index 000000000000..9fbece057be6 --- /dev/null +++ b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Steam protocol plugin for pidgin" +HOMEPAGE="http://code.google.com/p/pidgin-opensteamworks/" +SRC_URI="http://pidgin-opensteamworks.googlecode.com/svn/trunk/steam-mobile/releases/steam-mobile-${PV}.tar.bz2 + http://pidgin-opensteamworks.googlecode.com/files/icons.zip + -> ${PN}-icons.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="dev-libs/glib:2 + dev-libs/json-glib + dev-libs/nss + gnome-base/libgnome-keyring + net-im/pidgin" +DEPEND="${RDEPEND} + app-arch/unzip + virtual/pkgconfig" + +S=${WORKDIR} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + tc-export CC PKG_CONFIG + fi +} + +src_prepare() { + # see http://code.google.com/p/pidgin-opensteamworks/issues/detail?id=31 + cp "${FILESDIR}"/${PN}-1.3-Makefile "${S}"/Makefile || die +} + +src_install() { + default + insinto /usr/share/pixmaps/pidgin/protocols + doins -r "${WORKDIR}"/{16,48} +} diff --git a/x11-plugins/pidgin-otr/Manifest b/x11-plugins/pidgin-otr/Manifest new file mode 100644 index 000000000000..5a18075fc992 --- /dev/null +++ b/x11-plugins/pidgin-otr/Manifest @@ -0,0 +1,2 @@ +DIST pidgin-otr-3.2.1.tar.gz 409238 SHA256 ce17e9769e3853076d80645adafaa866e7d7188f988d28a9793afc32c85cb979 SHA512 97ae7362c153fecaf838b5aade2ed57cceb7b6204049e851c07b7d9460c8dcf3a3955efc33821deaf3435103f874a285e9868204bbed64e793f0edaecabe37fa WHIRLPOOL 063f5768c6fd35b50656a7540be110f064ae7c01c1838b74a9481700aade78131497ffe10606f01ba803f07d5c1a73de3b53e943091bec44a09f69b8f3789017 +DIST pidgin-otr-4.0.1.tar.gz 496879 SHA256 1b781f48c27bcc9de3136c0674810df23f7d6b44c727dbf4dfb24067909bf30a SHA512 359cde727a92964eadb4d795cf6442634c6b35471c68eeadd6b70d9da0ece7440b03a593d7b509d1ca99f50a06777c1e11557af3a55c1660d38cccf9dccbc259 WHIRLPOOL 389c7857aeedc0d0646c3298e2ec38204a2738601d82364493a917994c045bd25b64079e0afa19422089d4ef511306f3b76f42baf5c027bdc49f434ec064f38e diff --git a/x11-plugins/pidgin-otr/metadata.xml b/x11-plugins/pidgin-otr/metadata.xml new file mode 100644 index 000000000000..3e2b4181f5be --- /dev/null +++ b/x11-plugins/pidgin-otr/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>net-im</herd> +</pkgmetadata> diff --git a/x11-plugins/pidgin-otr/pidgin-otr-3.2.1.ebuild b/x11-plugins/pidgin-otr/pidgin-otr-3.2.1.ebuild new file mode 100644 index 000000000000..4a5256e86126 --- /dev/null +++ b/x11-plugins/pidgin-otr/pidgin-otr-3.2.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="(OTR) Messaging allows you to have private conversations over instant messaging" +HOMEPAGE="http://www.cypherpunks.ca/otr/" +SRC_URI="http://www.cypherpunks.ca/otr/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="<net-libs/libotr-4.0.0 + x11-libs/gtk+:2 + net-im/pidgin[gtk]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( ChangeLog README ) diff --git a/x11-plugins/pidgin-otr/pidgin-otr-4.0.1.ebuild b/x11-plugins/pidgin-otr/pidgin-otr-4.0.1.ebuild new file mode 100644 index 000000000000..fb808c2b3726 --- /dev/null +++ b/x11-plugins/pidgin-otr/pidgin-otr-4.0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="(OTR) Messaging allows you to have private conversations over instant messaging" +HOMEPAGE="http://www.cypherpunks.ca/otr/" +SRC_URI="http://www.cypherpunks.ca/otr/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="dev-libs/libgcrypt:0 + net-im/pidgin[gtk] + >=net-libs/libotr-4.0.0 + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) diff --git a/x11-plugins/pidgin-privacy-please/Manifest b/x11-plugins/pidgin-privacy-please/Manifest new file mode 100644 index 000000000000..6b56fb216b02 --- /dev/null +++ b/x11-plugins/pidgin-privacy-please/Manifest @@ -0,0 +1 @@ +DIST pidgin-privacy-please-0.7.1.tar.gz 346421 SHA256 8134bcd5da98fe8b4c9918fd420c7e68b0990e895ed2534396cacbf473f2615c SHA512 4acec4556c209b6ff5b059244d79894efba984cdebaaf5893c67ba384126127614aea676af6deb89561f6d5776abdbdc915061db9e1004c0fea3339d45a6646a WHIRLPOOL d6bb36bda47104dc9fb1bcba519812a61e5adc60c69f0be6da856c37be581ebe016906066df270187800e00a460cbaa393fd8e2c435533d60f8f80acd7f82007 diff --git a/x11-plugins/pidgin-privacy-please/metadata.xml b/x11-plugins/pidgin-privacy-please/metadata.xml new file mode 100644 index 000000000000..2fbfcfcc5e1d --- /dev/null +++ b/x11-plugins/pidgin-privacy-please/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <upstream> + <remote-id type="google-code">pidgin-privacy-please</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-privacy-please/pidgin-privacy-please-0.7.1.ebuild b/x11-plugins/pidgin-privacy-please/pidgin-privacy-please-0.7.1.ebuild new file mode 100644 index 000000000000..ee1d23ddc48d --- /dev/null +++ b/x11-plugins/pidgin-privacy-please/pidgin-privacy-please-0.7.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit autotools + +DESCRIPTION="pidgin plugin to stop spammers from annoying you" +HOMEPAGE="http://code.google.com/p/pidgin-privacy-please/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64" +IUSE="linguas_de linguas_pl linguas_ru" + +RDEPEND="<net-im/pidgin-3[gtk]" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext" + +src_prepare() { + sed -e 's: -Wall -g3::' -i configure.ac || die + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" ALL_LINGUAS="${LANGS}" install || die + dodoc AUTHORS ChangeLog NEWS README || die +} diff --git a/x11-plugins/pidgin-rhythmbox/Manifest b/x11-plugins/pidgin-rhythmbox/Manifest new file mode 100644 index 000000000000..a7323008db7b --- /dev/null +++ b/x11-plugins/pidgin-rhythmbox/Manifest @@ -0,0 +1 @@ +DIST pidgin-rhythmbox-2.0.tar.gz 320758 SHA256 9fc4b43d8a353e2c4e7e219b34ae5fb23a3a0dd10b10446c4e75acab9bc5d460 diff --git a/x11-plugins/pidgin-rhythmbox/metadata.xml b/x11-plugins/pidgin-rhythmbox/metadata.xml new file mode 100644 index 000000000000..3e2b4181f5be --- /dev/null +++ b/x11-plugins/pidgin-rhythmbox/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>net-im</herd> +</pkgmetadata> diff --git a/x11-plugins/pidgin-rhythmbox/pidgin-rhythmbox-2.0.ebuild b/x11-plugins/pidgin-rhythmbox/pidgin-rhythmbox-2.0.ebuild new file mode 100644 index 000000000000..808405762483 --- /dev/null +++ b/x11-plugins/pidgin-rhythmbox/pidgin-rhythmbox-2.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +DESCRIPTION="automatically update your pidgin profile with current info from Rhythmbox" +HOMEPAGE="http://jon.oberheide.org/pidgin-rhythmbox/" +SRC_URI="http://jon.oberheide.org/${PN}/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~sparc x86" +IUSE="" + +RDEPEND="net-im/pidgin + media-sound/rhythmbox + >=x11-libs/gtk+-2.4:2 + dev-libs/dbus-glib" +DEPEND="${RDEPEND}" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog INSTALL NEWS README TODO +} diff --git a/x11-plugins/pidgin-sipe/Manifest b/x11-plugins/pidgin-sipe/Manifest new file mode 100644 index 000000000000..b86463563d85 --- /dev/null +++ b/x11-plugins/pidgin-sipe/Manifest @@ -0,0 +1,3 @@ +DIST pidgin-sipe-1.18.0.tar.gz 1090904 SHA256 f1388799e3d250fe43643ee8748a6769f67f9c544e3b91fbb25af76b30675efc SHA512 f7d50b26656cd83f13ee24412ca97ab5ffe325c13d32855f9e8c788d5c8a11cb942c12d6888c4992c037320500265441eba9bc8e4eb5c21190eb372abd6b4451 WHIRLPOOL c97693bf54b0dba3f583891714edb63971b2669d1fc0ed41eb94009cfa2b78e37fdee42db325c74f4e4fc76cf29af5fd7cc67b598a3d672623ec1c392561ba86 +DIST pidgin-sipe-1.19.0.tar.gz 1127851 SHA256 bc144de259e858c57d82ee7ac00a78cc3a0875ab67da6b25be05808ed274c856 SHA512 96fd7f852c7225d2ae71ec4916491c6c4facbddf9f19285334a47b6abbaa80ad7f2aa299fc1b453a7f5782f65b8f56557f5992ba8e3e2c386318d96f1f59824e WHIRLPOOL 90c1069b38e96f6bc2c39957f9c76635f404a3188abb59004fe3a83e177803db06b6c6bcfdef5cf5fb645d901751130b15e619bf2d8fac17fb70660cf2e2ff2c +DIST pidgin-sipe-1.19.1.tar.gz 1134961 SHA256 92c8a4611f1594096fac3c5b983df49cb8d1612cab7352799c855fd9dda0454a SHA512 4ac85f5e2ae590677b73ec339051c210173a37c974076d696409c81680e91818d9a3b75a95b4ae556a61ec0246f0cd6fb2a644889bbbb02528d5ea75140efef0 WHIRLPOOL d31044889ae6d9d146e4a9e9bb9fd1ec84ded6597b783cfedb1f1a0478760aeca41fd574bbe8021223957fd6c84cc3082cc2cabdd0da245365573e35697d680f diff --git a/x11-plugins/pidgin-sipe/files/pidgin-sipe-1.13.2-fix-sandbox-r1.patch b/x11-plugins/pidgin-sipe/files/pidgin-sipe-1.13.2-fix-sandbox-r1.patch new file mode 100644 index 000000000000..a5628b3cd59a --- /dev/null +++ b/x11-plugins/pidgin-sipe/files/pidgin-sipe-1.13.2-fix-sandbox-r1.patch @@ -0,0 +1,29 @@ +# Fix possible sandbox violation when snippet tries to probe for plugins +# Gentoo Bug 409559 + +--- pidgin-sipe-1.13.2/configure.ac 2012-03-14 21:53:10.000000000 +0000 ++++ pidgin-sipe-1.13.2.new2/configure.ac 2012-06-30 22:48:40.081115371 +0100 +@@ -309,23 +309,6 @@ + AC_MSG_CHECKING([for purple SSL support]) + ac_save_LIBS=$LIBS + LIBS="$PURPLE_LIBS" +- AC_RUN_IFELSE( +- [AC_LANG_PROGRAM([[ +-#include <glib.h> +-#include <plugin.h> +-#include <sslconn.h> +- ]], +- [[ +- purple_plugins_init(); +- purple_plugins_probe(G_MODULE_SUFFIX); +- purple_ssl_init(); +- return(purple_ssl_is_supported()?0:1); +- ]])], +- [AC_MSG_RESULT(ok)], +- [AC_MSG_FAILURE([your purple hasn't been compiled with SSL support. +-]) +- ], +- [AC_MSG_WARN([cross compiling: not checking])]) + ]) + + dnl check whether enable voice and video support diff --git a/x11-plugins/pidgin-sipe/metadata.xml b/x11-plugins/pidgin-sipe/metadata.xml new file mode 100644 index 000000000000..4fa37ee3733e --- /dev/null +++ b/x11-plugins/pidgin-sipe/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-im</herd> + <maintainer> + <email>thev00d00@gentoo.org</email> + <name>Ian Whyman</name> + </maintainer> + <longdescription lang="en"> +An Open Implementation of SIP/Simple protocol for Live Communications Server 2003/2005/2007 and Lync. +</longdescription> + <use> + <flag name="ocs2005-message-hack">Disable message timeout for OCS2005 clients which causes "false" not delivered error messages</flag> + <flag name="telepathy">Support use as a telepathy backend</flag> + <flag name="voice">Enable experimental voice/video support</flag> + <flag name="openssl">Enable crypto support via <pkg>dev-libs/openssl</pkg></flag> + </use> + <upstream> + <remote-id type="sourceforge">sipe</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgin-sipe/pidgin-sipe-1.18.0-r1.ebuild b/x11-plugins/pidgin-sipe/pidgin-sipe-1.18.0-r1.ebuild new file mode 100644 index 000000000000..896b042ed24d --- /dev/null +++ b/x11-plugins/pidgin-sipe/pidgin-sipe-1.18.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="Pidgin Plug-in SIPE (Sip Exchange Protocol)" +HOMEPAGE="http://sipe.sourceforge.net/" +SRC_URI="mirror://sourceforge/sipe/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="debug kerberos ocs2005-message-hack openssl telepathy voice" + +RDEPEND=">=dev-libs/gmime-2.4.16 + dev-libs/libxml2 + openssl? ( dev-libs/openssl ) + !openssl? ( dev-libs/nss ) + kerberos? ( virtual/krb5 ) + voice? ( + >=dev-libs/glib-2.28.0 + >=net-libs/libnice-0.1.0 + media-libs/gstreamer:0.10 + >=net-im/pidgin-2.8.0 + ) + !voice? ( + >=dev-libs/glib-2.12.0:2 + net-im/pidgin + ) + telepathy? ( + >=sys-apps/dbus-1.1.0 + >=dev-libs/dbus-glib-0.61 + >=dev-libs/glib-2.28:2 + >=net-libs/telepathy-glib-0.18.0 + ) +" + +DEPEND="dev-util/intltool + virtual/pkgconfig + ${RDEPEND} +" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.13.2-fix-sandbox-r1.patch" + eautoreconf +} + +src_configure() { + econf \ + --enable-purple \ + --disable-quality-check \ + $(use_enable telepathy) \ + $(use_enable debug) \ + $(use_enable ocs2005-message-hack) \ + $(use_with kerberos krb5) \ + $(use_with voice vv) \ + $(use_enable !openssl nss) \ + $(use_enable openssl) +} + +src_install() { + emake install DESTDIR="${D}" + dodoc AUTHORS ChangeLog NEWS TODO README +} diff --git a/x11-plugins/pidgin-sipe/pidgin-sipe-1.19.0.ebuild b/x11-plugins/pidgin-sipe/pidgin-sipe-1.19.0.ebuild new file mode 100644 index 000000000000..805a40301e40 --- /dev/null +++ b/x11-plugins/pidgin-sipe/pidgin-sipe-1.19.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="Pidgin Plug-in SIPE (Sip Exchange Protocol)" +HOMEPAGE="http://sipe.sourceforge.net/" +SRC_URI="mirror://sourceforge/sipe/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug kerberos ocs2005-message-hack openssl telepathy voice" + +RDEPEND=">=dev-libs/gmime-2.4.16 + dev-libs/libxml2 + openssl? ( dev-libs/openssl ) + !openssl? ( dev-libs/nss ) + kerberos? ( virtual/krb5 ) + voice? ( + >=dev-libs/glib-2.28.0 + >=net-libs/libnice-0.1.0 + media-libs/gstreamer:0.10 + >=net-im/pidgin-2.8.0 + ) + !voice? ( + >=dev-libs/glib-2.12.0:2 + net-im/pidgin + ) + telepathy? ( + >=sys-apps/dbus-1.1.0 + >=dev-libs/dbus-glib-0.61 + >=dev-libs/glib-2.28:2 + >=net-libs/telepathy-glib-0.18.0 + ) +" + +DEPEND="dev-util/intltool + virtual/pkgconfig + ${RDEPEND} +" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + --enable-purple \ + --disable-quality-check \ + $(use_enable telepathy) \ + $(use_enable debug) \ + $(use_enable ocs2005-message-hack) \ + $(use_with kerberos krb5) \ + $(use_with voice vv) \ + $(use_enable !openssl nss) \ + $(use_enable openssl) +} + +src_install() { + emake install DESTDIR="${D}" + dodoc AUTHORS ChangeLog NEWS TODO README +} diff --git a/x11-plugins/pidgin-sipe/pidgin-sipe-1.19.1.ebuild b/x11-plugins/pidgin-sipe/pidgin-sipe-1.19.1.ebuild new file mode 100644 index 000000000000..805a40301e40 --- /dev/null +++ b/x11-plugins/pidgin-sipe/pidgin-sipe-1.19.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="Pidgin Plug-in SIPE (Sip Exchange Protocol)" +HOMEPAGE="http://sipe.sourceforge.net/" +SRC_URI="mirror://sourceforge/sipe/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug kerberos ocs2005-message-hack openssl telepathy voice" + +RDEPEND=">=dev-libs/gmime-2.4.16 + dev-libs/libxml2 + openssl? ( dev-libs/openssl ) + !openssl? ( dev-libs/nss ) + kerberos? ( virtual/krb5 ) + voice? ( + >=dev-libs/glib-2.28.0 + >=net-libs/libnice-0.1.0 + media-libs/gstreamer:0.10 + >=net-im/pidgin-2.8.0 + ) + !voice? ( + >=dev-libs/glib-2.12.0:2 + net-im/pidgin + ) + telepathy? ( + >=sys-apps/dbus-1.1.0 + >=dev-libs/dbus-glib-0.61 + >=dev-libs/glib-2.28:2 + >=net-libs/telepathy-glib-0.18.0 + ) +" + +DEPEND="dev-util/intltool + virtual/pkgconfig + ${RDEPEND} +" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + --enable-purple \ + --disable-quality-check \ + $(use_enable telepathy) \ + $(use_enable debug) \ + $(use_enable ocs2005-message-hack) \ + $(use_with kerberos krb5) \ + $(use_with voice vv) \ + $(use_enable !openssl nss) \ + $(use_enable openssl) +} + +src_install() { + emake install DESTDIR="${D}" + dodoc AUTHORS ChangeLog NEWS TODO README +} diff --git a/x11-plugins/pidgin-xmpp-receipts/Manifest b/x11-plugins/pidgin-xmpp-receipts/Manifest new file mode 100644 index 000000000000..217e00f333ae --- /dev/null +++ b/x11-plugins/pidgin-xmpp-receipts/Manifest @@ -0,0 +1 @@ +DIST pidgin-xmpp-receipts-0.6.tar.gz 15946 SHA256 a7aa5ab7375dc996d769dd83fdf6f7c68ac6ef9fd25cfb04eb7bf2becd381174 SHA512 160270206d0d6394bddaa15ca59896756ab3a546f7c74cc9e3d4ec634f70b829ae3b013ee6086a5d4a5376b7d2b81341c44c3ef0ecab2a66d612b96fd37dfeff WHIRLPOOL 00349394518cb44d3a25c0ed66b0e0446ca9bdeddb68b818e1c4b493e38ee22a550d27e4a9170360f73c9ec449a8602c2ab2a0f451411862e32cd33d8782a94f diff --git a/x11-plugins/pidgin-xmpp-receipts/metadata.xml b/x11-plugins/pidgin-xmpp-receipts/metadata.xml new file mode 100644 index 000000000000..bfcb6974f1c4 --- /dev/null +++ b/x11-plugins/pidgin-xmpp-receipts/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> +</pkgmetadata> diff --git a/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.6.ebuild b/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.6.ebuild new file mode 100644 index 000000000000..53e421914e18 --- /dev/null +++ b/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.6.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 toolchain-funcs + +DESCRIPTION="Implementation of xmpp message delivery receipts (XEP-0184) for Pidgin" +HOMEPAGE="https://www.assembla.com/spaces/pidgin-xmpp-receipts/documents" +SRC_URI="https://www.assembla.com/spaces/pidgin-xmpp-receipts/documents/ckA6jCV5Kr4OkjacwqjQXA/download/ckA6jCV5Kr4OkjacwqjQXA -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +RDEPEND="net-im/pidgin[gtk]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_compile() { + GTK_PIDGIN_INCLUDES=$(pkg-config --cflags gtk+-2.0 pidgin) + $(tc-getCC) ${LDFLAGS} -shared ${CFLAGS} -fpic ${GTK_PIDGIN_INCLUDES} -o ${PN/pidgin-/}.so ${PN/pidgin-/}.c || die +} + +src_install() { + PLUGIN_DIR_PIDGIN=$(pkg-config --variable=plugindir pidgin) + dodir "${PLUGIN_DIR_PIDGIN}" + insinto "${PLUGIN_DIR_PIDGIN}" + doins ${PN/pidgin-/}.so +} diff --git a/x11-plugins/pidgintex/Manifest b/x11-plugins/pidgintex/Manifest new file mode 100644 index 000000000000..1866c2592e84 --- /dev/null +++ b/x11-plugins/pidgintex/Manifest @@ -0,0 +1 @@ +DIST pidginTeX-1.1.1.tar.gz 23322 SHA256 1b47e89d12d5f5a8de4f3f89ea37da393223d525632c92e71cef8a54399ac1aa diff --git a/x11-plugins/pidgintex/metadata.xml b/x11-plugins/pidgintex/metadata.xml new file mode 100644 index 000000000000..820799abbc00 --- /dev/null +++ b/x11-plugins/pidgintex/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-im</herd> + <longdescription>pidginTeX is a fast plugin for the instant messaging client Pidgin and uses +mimeTeX or mathTeX to render LaTeX expressions in messages and chat. It is +intended for math but mathTeX is fully compatible with LaTeX and any package can +be used and mimeTeX also supports many other features.</longdescription> + <upstream> + <remote-id type="google-code">pidgintex</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgintex/pidgintex-1.1.1.ebuild b/x11-plugins/pidgintex/pidgintex-1.1.1.ebuild new file mode 100644 index 000000000000..2be64a85acd9 --- /dev/null +++ b/x11-plugins/pidgintex/pidgintex-1.1.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" +inherit toolchain-funcs multilib + +MY_P=pidginTeX-${PV} + +DESCRIPTION="Pidgin plugin to render LaTeX expressions in messages" +HOMEPAGE="http://code.google.com/p/pidgintex" +SRC_URI="http://pidgintex.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="net-im/pidgin[gtk] + app-text/mathtex" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e "s:\(^CC.*=\).*:\1 $(tc-getCC):" \ + -e "s:\(^STRIP.*=\).*:\1 true:" \ + -e "s:\(^CFLAGS[[:space:]]*\)=:\1+=:" \ + -e "/LIB_INSTALL_DIR/{s:/lib/purple-2:/$(get_libdir)/pidgin:;}" \ + -i Makefile || die + # set default renderer to mathtex + sed -e "/purple_prefs_add_string.*PREFS_RENDERER/{s:mimetex:mathtex:;}" \ + -i pidginTeX.c || die +} + +src_compile() { + emake PREFIX=/usr || die +} + +src_install() { + make PREFIX="${D}/usr" install || die "make install failed" + dodoc CHANGELOG README TODO || die +} + +pkg_postinst() { + elog 'Note, to see formulas either disable "Conversation Colors" plugin or' + elog 'switch off "ignore incoming format" option in plugin configuration.' + elog 'For details, take a look (and vote) at http://developer.pidgin.im/ticket/2772' +} diff --git a/x11-plugins/prpltwtr/Manifest b/x11-plugins/prpltwtr/Manifest new file mode 100644 index 000000000000..50775e26f06e --- /dev/null +++ b/x11-plugins/prpltwtr/Manifest @@ -0,0 +1 @@ +DIST prpltwtr-0.12.0.tar.gz 465819 SHA256 44b40fd2e1240029f9b7d85d36a2856310cd73b6d286af660f3113d00a4a1efc SHA512 b40ec7ff621140f4d64125d50dfed916ee57f9e5d26c4bfa9f6dee177c0004bf5aa9149d2f45af3a2729138762543f8e41e66683016f8c135cdb4a02c70159a6 WHIRLPOOL d18e6aa64abf5121073024ad8168d2cc03224eaf874fdff3888fafb29ea87e1c5e7d91fac4b00d6cd6d7181b9264431b66f68964352fd7f769cc604fff5bc895 diff --git a/x11-plugins/prpltwtr/metadata.xml b/x11-plugins/prpltwtr/metadata.xml new file mode 100644 index 000000000000..812e5886b4c9 --- /dev/null +++ b/x11-plugins/prpltwtr/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jdhore@gentoo.org</email> + <name>Jeff Horelick</name> + </maintainer> + <upstream> + <remote-id type="google-code">prpltwtr</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/prpltwtr/prpltwtr-0.12.0.ebuild b/x11-plugins/prpltwtr/prpltwtr-0.12.0.ebuild new file mode 100644 index 000000000000..d9d87ad03d33 --- /dev/null +++ b/x11-plugins/prpltwtr/prpltwtr-0.12.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="libpurple twitter protocol" +HOMEPAGE="https://code.google.com/p/prpltwtr/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="${RDEPEND} + virtual/pkgconfig" +RDEPEND=">=net-im/pidgin-2.6" diff --git a/x11-plugins/purple-facebook/Manifest b/x11-plugins/purple-facebook/Manifest new file mode 100644 index 000000000000..a6314c89b519 --- /dev/null +++ b/x11-plugins/purple-facebook/Manifest @@ -0,0 +1,2 @@ +DIST purple-facebook-20150727.tar.gz 427255 SHA256 141abe779c9dd3be31bdc0e66455908e53da0dfdda4ef558511c22bc03265439 SHA512 5ee762bf0164d4c889e04f794eb6592b7a04387a54da3a969099fa1850c073b80a47ec3ae82bae23c8990c262022dfcc6a92b9a8ff3d3bd700a0975f122a8fde WHIRLPOOL 567b5349e89769b27f3b25193fa226473b8442e911989a5d69c3608a808727568b09d5e45af8e36e5c3cab5c0f8707e6c267df9553af34ed1976b2bacbbc29d3 +DIST purple-facebook-20150728.tar.gz 427451 SHA256 4ad2c53f1744020feb56e7626b39453b0ad6b1e449a52c2b74ca5d2d1f3dc0fa SHA512 144b34053c74f98ac556c1215fdec8e44764a1d69562bab64858a2d60157f6cb0af4d4571a93dcbf949033a6a40b870e0b2a2154fdfa448ecca22dab9d83f810 WHIRLPOOL c720b0ab8936e61c9e9c7c2128ee9ccdec2f91836b6bbf0dc03c47ccae143b5831d5d9cecadfbd9e536a0e320f365568fa030256eec4fd3b2a882da23ec8cdfd diff --git a/x11-plugins/purple-facebook/metadata.xml b/x11-plugins/purple-facebook/metadata.xml new file mode 100644 index 000000000000..08ea18cd1cfd --- /dev/null +++ b/x11-plugins/purple-facebook/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <upstream> + <remote-id type="github">jgeboski/purple-facebook</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/purple-facebook/purple-facebook-20150727.ebuild b/x11-plugins/purple-facebook/purple-facebook-20150727.ebuild new file mode 100644 index 000000000000..b3f3fb0c8920 --- /dev/null +++ b/x11-plugins/purple-facebook/purple-facebook-20150727.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools + +MY_PV="f80258f7ce6f" +S="${WORKDIR}/${PN}-${MY_PV}" +DESCRIPTION="Facebook protocol plugin for libpurple" +HOMEPAGE="https://github.com/jgeboski/purple-facebook" +SRC_URI="https://github.com/jgeboski/${PN}/releases/download/${MY_PV}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-libs/json-glib + net-im/pidgin" +DEPEND="${RDEPEND}" +DOCS=( AUTHORS ChangeLog NEWS README VERSION ) + +src_configure() { + econf --with-ssl-certs +} + +src_prepare() { + eautoreconf +} diff --git a/x11-plugins/purple-facebook/purple-facebook-20150728.ebuild b/x11-plugins/purple-facebook/purple-facebook-20150728.ebuild new file mode 100644 index 000000000000..ac74ccd869c9 --- /dev/null +++ b/x11-plugins/purple-facebook/purple-facebook-20150728.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools + +MY_PV="7c454f51b56b" +S="${WORKDIR}/${PN}-${MY_PV}" +DESCRIPTION="Facebook protocol plugin for libpurple" +HOMEPAGE="https://github.com/jgeboski/purple-facebook" +SRC_URI="https://github.com/jgeboski/${PN}/releases/download/${MY_PV}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-libs/json-glib + net-im/pidgin" +DEPEND="${RDEPEND}" +DOCS=( AUTHORS ChangeLog NEWS README VERSION ) + +src_configure() { + econf --with-ssl-certs +} + +src_prepare() { + eautoreconf +} diff --git a/x11-plugins/purple-libnotify-plus/Manifest b/x11-plugins/purple-libnotify-plus/Manifest new file mode 100644 index 000000000000..4c8922dfdea0 --- /dev/null +++ b/x11-plugins/purple-libnotify-plus/Manifest @@ -0,0 +1 @@ +DIST purple-libnotify-plus-1.99.2.tar.xz 229108 SHA256 0974d7a8e9e3730ad53ec37e3227fed2d0f69ba98028940e4f76a2e88b55172c SHA512 f0f0a1995ef0f146d964f8f8893274b8e5782d7008c3fb776846a9b02ddf785618da1ce70414c7aa35a6f58c96ba769981674be81a8794bc6d66c120785bc5ab WHIRLPOOL bfbf3fc934ae855b7a2d7d7ad94799b175fa636f53429c0e1a33667ad3c23130c22c7a50336b4e3843d745689fb604a70042ebbe5500e7c5b654a6d62996db20 diff --git a/x11-plugins/purple-libnotify-plus/metadata.xml b/x11-plugins/purple-libnotify-plus/metadata.xml new file mode 100644 index 000000000000..08f16ca7b67e --- /dev/null +++ b/x11-plugins/purple-libnotify-plus/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>sardemff7+gentoo@sardemff7.net</email> + <name>Quentin “Sardem FF7” Glidic</name> + <description>CC him on bugs</description> + </maintainer> + </upstream> +</pkgmetadata> + diff --git a/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-1.99.2.ebuild b/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-1.99.2.ebuild new file mode 100644 index 000000000000..54d35012f2bf --- /dev/null +++ b/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-1.99.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="Provide libnotify interface to Pidgin and Finch, inspired by Pidgin-libnotify and Guifications" +HOMEPAGE="http://purple-libnotify-plus.sardemff7.net/" +SRC_URI="mirror://github/sardemff7/${PN}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + net-im/pidgin + net-im/purple-events + x11-libs/gdk-pixbuf + x11-libs/libnotify" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +src_configure() { + econf --disable-silent-rules +} diff --git a/x11-plugins/purple-plugin_pack/Manifest b/x11-plugins/purple-plugin_pack/Manifest new file mode 100644 index 000000000000..f4a123140f52 --- /dev/null +++ b/x11-plugins/purple-plugin_pack/Manifest @@ -0,0 +1 @@ +DIST purple-plugin-pack-2.7.0.tar.bz2 761618 SHA256 2bbcf5e778a33968ba7f2864d2a6cb526a8984be3e4151642a583eee8eafb03c SHA512 fffe1b8c38bff9ce88ae26426110923cc4722bf77fe59f6cf1123931558b06d830a842a6fe4d4f47295beec12f82cf5c25ac03d84944bb2629423ebac4399caf WHIRLPOOL 2076b63da2da6c5f2c8c2165d5c67fbc36a2e1ffc424a4935e90b7e8ab8549512c8738358d5b0ac9ef11cb5d95e2cf1a50da476f7d1fcd07d4d0f149c970b353 diff --git a/x11-plugins/purple-plugin_pack/metadata.xml b/x11-plugins/purple-plugin_pack/metadata.xml new file mode 100644 index 000000000000..80061771dab9 --- /dev/null +++ b/x11-plugins/purple-plugin_pack/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-im</herd> + <use> + <flag name="talkfilters">Enable support for + <pkg>app-text/talklfilters</pkg></flag> + </use> + <upstream> + <remote-id type="bitbucket">rekkanoryo/purple-plugin-pack</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0-r1.ebuild b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0-r1.ebuild new file mode 100644 index 000000000000..f366ad7bac50 --- /dev/null +++ b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-any-r1 + +MY_PN=${PN/_/-} +MY_P=${MY_PN}-${PV} +DESCRIPTION="A package with many different plugins for pidgin and libpurple" +HOMEPAGE="https://bitbucket.org/rekkanoryo/purple-plugin-pack/" +SRC_URI="https://bitbucket.org/rekkanoryo/${MY_PN}/downloads/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc x86" +IUSE="debug gtk ncurses spell talkfilters" + +RDEPEND="dev-libs/json-glib + net-im/pidgin[gtk?,ncurses?] + talkfilters? ( app-text/talkfilters ) + spell? ( app-text/gtkspell:2 )" +DEPEND="${RDEPEND} + ${PYTHON_DEPS}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e '/CFLAGS=/{s| -g3||}' -i configure || die +} + +list_plugins_dep() { + local dependency=${1} + grep -EH "depends.*$dependency" */plugins.cfg | sed 's:/.*::' +} + +src_configure() { + local plugins="" + + # list all plugins, then pull DISABLED_PLUGINS with the ones we don't need + plugins="$(${EPYTHON} plugin_pack.py -d dist_dirs)" + einfo "List of all possible plugins:" + einfo "${plugins}" + + eval DISABLED_PLUGINS="\$${PN//[^a-z]/_}_DISABLED_PLUGINS" + # disable known broken plugins + DISABLED_PLUGINS+=" schedule findip" + use gtk || DISABLED_PLUGINS+=" $(list_plugins_dep pidgin)" + use ncurses || DISABLED_PLUGINS+=" $(list_plugins_dep finch)" + use spell || DISABLED_PLUGINS+=" $(list_plugins_dep gtkspell)" + use talkfilters || DISABLED_PLUGINS+=" $(list_plugins_dep talkfiltersbin)" + + for plug in ${DISABLED_PLUGINS}; do + plugins="${plugins//${plug}}" + done + + plugins="$(echo ${plugins} | sed 's:[ \t]\+:,:g;s:,$::;s:^,::')" + + econf \ + --with-plugins="${plugins}" \ + $(use_enable debug) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog NEWS README VERSION +} + +pkg_preinst() { + elog "Note: if you want to disable some plugins in pack, define" + elog "${PN//[^a-z]/_}_DISABLED_PLUGINS with a list of plugins to" + elog "skip during install (for list see einfo in build output)." +} diff --git a/x11-plugins/qled/Manifest b/x11-plugins/qled/Manifest new file mode 100644 index 000000000000..18d8428f51a1 --- /dev/null +++ b/x11-plugins/qled/Manifest @@ -0,0 +1 @@ +DIST 72482-QLed-0.6.2.zip 720788 SHA256 0876ada06e331ad16a02b0902e0eefd07af7b4ea99545ddad0ede191609fe0cf SHA512 407df6b873b3b846d53847f96d145cbfb62a9878bdd3bc0c7157cd8f8a7e0ecdd903061059ab37dc62ad7c909483d94c540505f295761debe9727579fcb35cd1 WHIRLPOOL 262067704b4115ad0d5de8038f1e0fb958b4206dbd4ccde73de84dacf7ed91c9e6ce6cd35aaf551c4cdfc7e225cc66a79c439254b325b9738a8abcee30c171fe diff --git a/x11-plugins/qled/metadata.xml b/x11-plugins/qled/metadata.xml new file mode 100644 index 000000000000..5e3a61a90139 --- /dev/null +++ b/x11-plugins/qled/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>hwoarang@gentoo.org</email> +<name>Markos Chandras</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/x11-plugins/qled/qled-0.6.2.ebuild b/x11-plugins/qled/qled-0.6.2.ebuild new file mode 100644 index 000000000000..86dab1079612 --- /dev/null +++ b/x11-plugins/qled/qled-0.6.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit qt4-r2 + +MY_PN="QLed" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Custom Led widget plugin for Qt-Designer" +HOMEPAGE="http://qt-apps.org/content/show.php?content=72482" +SRC_URI="http://qt-apps.org/CONTENT/content-files/72482-${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + || ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 ) + dev-qt/qtsvg:4" +DEPEND="${RDEPEND} + app-arch/unzip" diff --git a/x11-plugins/screenlets/Manifest b/x11-plugins/screenlets/Manifest new file mode 100644 index 000000000000..abce77cc6f72 --- /dev/null +++ b/x11-plugins/screenlets/Manifest @@ -0,0 +1 @@ +DIST screenlets-0.1.6.tar.bz2 814470 SHA256 65383faaf02b6d571d2136c849cec5885583f513a9bbffacd3381cd998ee86e3 SHA512 f7b38de88ca500bef49a1be327aae29bb2c784e63b3ba0f7b02ed8d235935e0d372e7c1cf55e8ecff9bc91cb88fb2a697d70d18812ff06ff63935aca1612cb15 WHIRLPOOL cf3a25476323d433b03414f210afa7c384738b29167694d2c938c9fbe285d25e392679f348232758cc17a1e95af75dc90ee8a77d859d8452890fc77250c1fd69 diff --git a/x11-plugins/screenlets/metadata.xml b/x11-plugins/screenlets/metadata.xml new file mode 100644 index 000000000000..81b409cbd36f --- /dev/null +++ b/x11-plugins/screenlets/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> + <longdescription lang="en"> + Screenlets are small owner-drawn applications (written in Python) that + can be described as "the virtual representation of things lying/standing + around on your desk". Sticknotes, clocks, rulers, ... the possibilities + are endless. + + The goal of the Screenlets base-classes is to simplify the creation of + fully themeable mini-apps that each solve basic desktop-work-related + needs and generally improve the usability and eye-candy of the modern + composited Linux-desktop. + </longdescription> + <use> + <flag name="svg">Highly Recommended: Enable SVG graphics via + <pkg>dev-python/librsvg-python</pkg></flag> + </use> + <upstream> + <remote-id type="launchpad">screenlets</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/screenlets/screenlets-0.1.6.ebuild b/x11-plugins/screenlets/screenlets-0.1.6.ebuild new file mode 100644 index 000000000000..70842062b243 --- /dev/null +++ b/x11-plugins/screenlets/screenlets-0.1.6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_SINGLE_IMPL=yes + +inherit distutils-r1 eutils + +DESCRIPTION="Screenlets are small owner-drawn applications" +HOMEPAGE="http://www.screenlets.org https://launchpad.net/screenlets" +SRC_URI="http://code.launchpad.net/screenlets/trunk/${PV}/+download/screenlets-${PV}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+svg" + +RDEPEND=" + dev-python/beautifulsoup:python-2 + dev-python/dbus-python + dev-python/gconf-python + dev-python/gnome-keyring-python + dev-python/libwnck-python + dev-python/pyxdg + svg? ( dev-python/librsvg-python ) + x11-libs/libnotify + x11-misc/xdg-utils +" + +src_prepare() { + # this is tricky because screenlets translations do not always have -manager + # translations and vice versa, which is also why we do not die() on rm fail + strip-linguas -u ${PN}/ ${PN}-manager/ + local lingua pofile + for pofile in ${PN}/*.po ${PN}-manager/*.po; do + lingua=${pofile/$PN*\/} + lingua=${lingua/.po} + + if ! has ${lingua} ${LINGUAS}; then + rm -f ${PN}/${lingua}.po + rm -f ${PN}-manager/${lingua}.po + fi + done + + distutils-r1_src_prepare + python_fix_shebang src/ + sed -i $(find src/ -type f) -e 's|exec python|&2|g;s|python -u|python2 -u|g' || die + sed -i desktop-menu/screenlets-{daemon,manager}.desktop -e 's|> .*||g' || die +} + +src_install() { + distutils-r1_src_install + + insinto /usr/share/icons + doins desktop-menu/screenlets.svg + + # Insert .desktop files + domenu desktop-menu/*.desktop +} diff --git a/x11-plugins/thinkhdaps/Manifest b/x11-plugins/thinkhdaps/Manifest new file mode 100644 index 000000000000..19075ebc77f4 --- /dev/null +++ b/x11-plugins/thinkhdaps/Manifest @@ -0,0 +1 @@ +DIST thinkhdaps-0.2.1.tar.gz 91489 RMD160 f709bce70fac346d46b6f188c78457f3a2f30f76 SHA1 8ee8ebb54623e48dccbd01a267818154200b41c5 SHA256 826fd9a1153adb49bc46a81ae60cc01cd77ba6ade7e135493908ca8185825d18 diff --git a/x11-plugins/thinkhdaps/metadata.xml b/x11-plugins/thinkhdaps/metadata.xml new file mode 100644 index 000000000000..5b80fb94c393 --- /dev/null +++ b/x11-plugins/thinkhdaps/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> diff --git a/x11-plugins/thinkhdaps/thinkhdaps-0.2.1.ebuild b/x11-plugins/thinkhdaps/thinkhdaps-0.2.1.ebuild new file mode 100644 index 000000000000..2efdcf51b98c --- /dev/null +++ b/x11-plugins/thinkhdaps/thinkhdaps-0.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +PYTHON_DEPEND=2 + +inherit base python + +DESCRIPTION="A PyGTK based HDAPS monitor" +HOMEPAGE="http://thpani.at/projects/thinkhdaps/" +SRC_URI="http://thpani.at/media/downloads/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-python/libgnome-python:2 + dev-python/pygobject:2 + dev-python/pygtk:2" + +DOCS=( AUTHORS NEWS ) + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_configure() { + econf --enable-desktop PYTHON=$(PYTHON -2 --absolute-path) +} diff --git a/x11-plugins/tomboy-reminder/Manifest b/x11-plugins/tomboy-reminder/Manifest new file mode 100644 index 000000000000..df432a43b161 --- /dev/null +++ b/x11-plugins/tomboy-reminder/Manifest @@ -0,0 +1 @@ +DIST tomboy-reminder-0.9.2.tar.gz 64357 RMD160 d43165e88605c67bb6a6e6064428bb7f7cf80daa SHA1 0c057d114d40e2d5e95c8d75f2f8fcbbd2a49ea8 SHA256 f5100bce6989e7bd0ae2ebe4c79a8d551f0b642b539719fc1a15ed7150a5d2d7 diff --git a/x11-plugins/tomboy-reminder/files/tomboy-reminder-0.9-unicode-regex.patch b/x11-plugins/tomboy-reminder/files/tomboy-reminder-0.9-unicode-regex.patch new file mode 100644 index 000000000000..6fbf74d7fe9a --- /dev/null +++ b/x11-plugins/tomboy-reminder/files/tomboy-reminder-0.9-unicode-regex.patch @@ -0,0 +1,11 @@ +--- src/MagicParser.cs 2007-04-23 17:03:52.000000000 -0500 ++++ src/MagicParser.cs 2007-04-23 17:04:02.000000000 -0500 +@@ -28,7 +28,7 @@ + private MagicDate md = new MagicDate(); + private MagicTime mt = new MagicTime(); + +- private static string DATE_TIME_SEP = "at|a|à|@"; ++ private static string DATE_TIME_SEP = "at|a|@"; + + private static Regex[] GENERIC = { + new Regex("^(?<date>.*)\\W+("+DATE_TIME_SEP+")\\W+(?<time>.*)$", RegexOptions.IgnoreCase | RegexOptions.Compiled), diff --git a/x11-plugins/tomboy-reminder/metadata.xml b/x11-plugins/tomboy-reminder/metadata.xml new file mode 100644 index 000000000000..a09f4a539ff7 --- /dev/null +++ b/x11-plugins/tomboy-reminder/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <longdescription lang="en"> + </longdescription> +</pkgmetadata> + diff --git a/x11-plugins/tomboy-reminder/tomboy-reminder-0.9.2.ebuild b/x11-plugins/tomboy-reminder/tomboy-reminder-0.9.2.ebuild new file mode 100644 index 000000000000..5e5cc4e720ab --- /dev/null +++ b/x11-plugins/tomboy-reminder/tomboy-reminder-0.9.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit base mono + +DESCRIPTION="Reminder Plugin for Tomboy" +HOMEPAGE="http://flukkost.nu/blog/tomboy-reminder/" +SRC_URI="http://flukkost.nu/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-2.0 + >=app-misc/tomboy-0.12" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-0.9-unicode-regex.patch" +) + +src_install() { + make DESTDIR="${D}" install || die "install failed" + dodoc README NEWS ChangeLog AUTHORS || die "dodoc failed" +} diff --git a/x11-plugins/vicious/Manifest b/x11-plugins/vicious/Manifest new file mode 100644 index 000000000000..4d7ddb283ee6 --- /dev/null +++ b/x11-plugins/vicious/Manifest @@ -0,0 +1,3 @@ +DIST vicious-2.0.3.tar.gz 38707 SHA256 3c775a75dcb8d985da27d941a76092ae66d5a831f11a50e77654c7d1cf9e8dd4 SHA512 6586e0bc1b5156636d7f3294449d7a4dd6819ef46fcf686711d2e339d594bd13e3378403089fd7c106a424eb024e4d0e3157067b329e654fdee1429e607c5274 WHIRLPOOL 1c3d73fdba06a30aa9447d1040652772b410805a3015ad8e46c9d860a8495be1e127dabda97462b6abab8867732bbe965f3797a514dce3d31da50311087cff73 +DIST vicious-2.1.0.tar.xz 35376 SHA256 1d6b6a07db1f22893133fb557964fd93eacc34921012c9731c99aa82891c3a4e SHA512 307590d5448d586330202a8ef627a477ec4c52de59aca55009245ad43ea179fecd2633fdc0bca574121a0ff1e906591f570705ea3ba4afd682f6b930de643355 WHIRLPOOL 4970d2b1f179fe4f55cedc81258a035492c4e57b6a2118788caa864628eaa6e5b448c7623ef0a426d8a623411895c1f2a2f7a502b8f18f342ee9dbc23cc4d39f +DIST vicious-2.1.3.tar.xz 39336 SHA256 97ffb824af89f2d205b0f0909601a32d761c0c02353b59b4314fd2cc47b2a387 SHA512 8b03fe4b770f0fcd52fad77a46145032a112cecbe27daa725054cb4c6307fb36727debb48243cd2d1becf2ad0fe3a2aaaa7495e0f041424ee9e45c2b107e7f7f WHIRLPOOL 98d810bc8b839d5ac4eff726a3129bdcc16794901ee0ba66b9264b48d453b645bfe2ae7bcb9fa1a2aec41c08926a0e80b92892fa13a2390d9f7be75300279e59 diff --git a/x11-plugins/vicious/metadata.xml b/x11-plugins/vicious/metadata.xml new file mode 100644 index 000000000000..d6078639570d --- /dev/null +++ b/x11-plugins/vicious/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maksbotan@gentoo.org</email> + <name>Maxim Koltsov</name> + </maintainer> + <maintainer> + <email>wired@gentoo.org</email> + <name>Alex Alexander</name> + </maintainer> + <use> + <flag name="contrib">Install extra widgets, some for less common hardware, some contributed by Vicious users.</flag> + </use> +</pkgmetadata> + diff --git a/x11-plugins/vicious/vicious-2.0.3.ebuild b/x11-plugins/vicious/vicious-2.0.3.ebuild new file mode 100644 index 000000000000..f5d528530aef --- /dev/null +++ b/x11-plugins/vicious/vicious-2.0.3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +DESCRIPTION="Modular widget library for x11-wm/awesome" +HOMEPAGE="http://awesome.naquadah.org/wiki/Vicious" +SRC_URI="http://dev.gentoo.org/~wired/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +DEPEND="" +RDEPEND="=x11-wm/awesome-3.4*" + +src_install() { + insinto /usr/share/awesome/lib/vicious + doins -r widgets helpers.lua init.lua || die "Install failed" + dodoc CHANGES README TODO || die "dodoc failed" +} diff --git a/x11-plugins/vicious/vicious-2.1.0-r1.ebuild b/x11-plugins/vicious/vicious-2.1.0-r1.ebuild new file mode 100644 index 000000000000..f227dc652abb --- /dev/null +++ b/x11-plugins/vicious/vicious-2.1.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Modular widget library for x11-wm/awesome" +HOMEPAGE="http://awesome.naquadah.org/wiki/Vicious" +SRC_URI="http://git.sysphere.org/${PN}/snapshot/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="contrib" + +DEPEND="" +RDEPEND="x11-wm/awesome" + +src_install() { + insinto /usr/share/awesome/lib/vicious + doins -r widgets helpers.lua init.lua + dodoc CHANGES README TODO + + if use contrib; then + insinto /usr/share/awesome/lib/vicious/contrib + doins contrib/*.lua + newdoc contrib/README README.contrib + fi +} diff --git a/x11-plugins/vicious/vicious-2.1.0.ebuild b/x11-plugins/vicious/vicious-2.1.0.ebuild new file mode 100644 index 000000000000..9074c08862d0 --- /dev/null +++ b/x11-plugins/vicious/vicious-2.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Modular widget library for x11-wm/awesome" +HOMEPAGE="http://awesome.naquadah.org/wiki/Vicious" +SRC_URI="http://git.sysphere.org/${PN}/snapshot/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="contrib" + +DEPEND="" +RDEPEND="x11-wm/awesome" + +src_install() { + insinto /usr/share/awesome/lib/vicious + doins -r widgets helpers.lua init.lua + dodoc CHANGES README TODO + + if use contrib; then + insinto /usr/share/awesome/lib/vicious/widgets + doins contrib/*.lua + newdoc contrib/README README.contrib + fi +} diff --git a/x11-plugins/vicious/vicious-2.1.3.ebuild b/x11-plugins/vicious/vicious-2.1.3.ebuild new file mode 100644 index 000000000000..6333f493e0a2 --- /dev/null +++ b/x11-plugins/vicious/vicious-2.1.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Modular widget library for x11-wm/awesome" +HOMEPAGE="http://awesome.naquadah.org/wiki/Vicious" +SRC_URI="http://git.sysphere.org/${PN}/snapshot/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="contrib" + +DEPEND="" +RDEPEND="x11-wm/awesome" + +src_install() { + insinto /usr/share/awesome/lib/vicious + doins -r widgets helpers.lua init.lua + dodoc CHANGES README TODO + + if use contrib; then + insinto /usr/share/awesome/lib/vicious/contrib + doins contrib/*.lua + newdoc contrib/README README.contrib + fi +} diff --git a/x11-plugins/wmCalClock/Manifest b/x11-plugins/wmCalClock/Manifest new file mode 100644 index 000000000000..7e1e1a3f3bf9 --- /dev/null +++ b/x11-plugins/wmCalClock/Manifest @@ -0,0 +1 @@ +DIST wmCalClock-1.25.tar.gz 71574 SHA256 4b42b55bb7c1d7c58b5ee1f0058c683d3e4f3e3380d3a69c54a50b983c7c1b3f diff --git a/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch b/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch new file mode 100644 index 000000000000..64046c83f4be --- /dev/null +++ b/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch @@ -0,0 +1,35 @@ +--- Makefile.orig 1999-03-27 07:46:38.000000000 +0100 ++++ Makefile 2008-01-27 22:45:09.000000000 +0100 +@@ -1,8 +1,8 @@ +-CC = gcc +-CFLAGS = -O2 -Wall +-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include +-DESTDIR= /usr/X11R6 +-LIBDIR = -L/usr/X11R6/lib ++CC ?= gcc ++CFLAGS += -Wall ++INCDIR = -I/usr/include/X11 -I/usr/include ++PREFIX ?= /usr ++LIBDIR ?= /usr/lib + + # for Linux + LIBS = -lXpm -lX11 -lXext +@@ -22,7 +22,7 @@ + + wmCalClock.o: wmCalClock_master.xpm wmCalClock_mask.xbm + wmCalClock: $(OBJS) +- $(CC) $(COPTS) $(SYSTEM) -o wmCalClock $^ $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) -o wmCalClock $^ $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS) + + clean: + for i in $(OBJS) ; do \ +@@ -31,6 +31,7 @@ + rm -f wmCalClock + + install:: wmCalClock +- install -c -s -m 0755 wmCalClock $(DESTDIR)/bin +- install -c -m 0644 wmCalClock.1 $(DESTDIR)/man/man1 ++ install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 ++ install -m 0755 wmCalClock $(DESTDIR)$(PREFIX)/bin ++ install -m 0644 wmCalClock.1 $(DESTDIR)$(PREFIX)/share/man/man1 + diff --git a/x11-plugins/wmCalClock/metadata.xml b/x11-plugins/wmCalClock/metadata.xml new file mode 100644 index 000000000000..e77e67165d89 --- /dev/null +++ b/x11-plugins/wmCalClock/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmCalClock is a calendar clock with anti-aliased text and drop shadows. Colors +and fonts in the time field are user configurable. It displays local time, +universal time and sidereal time. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild b/x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild new file mode 100644 index 000000000000..608ee43554a2 --- /dev/null +++ b/x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="WMaker DockApp: A Calendar clock with antialiased text" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/16/${P}.tar.gz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/9" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86" +IUSE="" + +S="${WORKDIR}/${P}/Src" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "Compilation failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + dodoc ../{BUGS,CHANGES,HINTS,README,TODO} +} diff --git a/x11-plugins/wmDownload/Manifest b/x11-plugins/wmDownload/Manifest new file mode 100644 index 000000000000..92ffc8c4dc21 --- /dev/null +++ b/x11-plugins/wmDownload/Manifest @@ -0,0 +1 @@ +DIST wmDownload-0.1.2a.tar.gz 11449 SHA256 77178290b9ac6e6b590280c8a9c6494fbe7853fff453e37651dd2ef9915c7213 diff --git a/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch b/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch new file mode 100644 index 000000000000..7dfdabc9cd76 --- /dev/null +++ b/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch @@ -0,0 +1,28 @@ +--- Makefile.orig 2000-04-14 15:39:52.000000000 +0200 ++++ Makefile 2008-01-27 23:07:51.000000000 +0100 +@@ -1,17 +1,17 @@ +-CC = gcc +-CFLAGS = -O2 -Wall -fomit-frame-pointer -s +-INCDIR = -I/usr/X11R6/include/X11 +-DESTDIR= /usr/bin +-LIBDIR = -L/usr/X11R6/lib ++CC ?= gcc ++CFLAGS += -Wall ++INCDIR = -I/usr/include/X11 ++PREFIX = /usr ++LIBDIR ?= /usr/lib + LIBS = -ldockapp -lX11 -lXext -lXpm + OBJS = wmDownload.o + + wmDownload: $(OBJS) +- $(CC) $(CFLAGS) $(OBJS) -o wmDownload $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) $(OBJS) -o wmDownload $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS) + + install: wmDownload +- strip wmDownload +- install -s wmDownload $(DESTDIR) ++ install -d $(DESTDIR)$(PREFIX)/bin ++ install -m 0755 wmDownload $(DESTDIR)$(PREFIX)/bin + + uninstall: + rm -f $(DESTDIR)/wmDownload diff --git a/x11-plugins/wmDownload/metadata.xml b/x11-plugins/wmDownload/metadata.xml new file mode 100644 index 000000000000..14f71203f8c2 --- /dev/null +++ b/x11-plugins/wmDownload/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> + wmDownload is a small WindowMaker dockapp that sits there and displays how much + data you've recieved on each eth and ppp device installed on your machine. + </longdescription> + <upstream> + <remote-id type="sourceforge">wmdownload</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild b/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild new file mode 100644 index 000000000000..0b04d0aa0a1c --- /dev/null +++ b/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="dockapp that displays how much data you've received on each eth and ppp device" +SRC_URI="mirror://sourceforge/wmdownload/${P}.tar.gz" +HOMEPAGE="http://wmdownload.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +DEPEND="x11-libs/libdockapp + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "compile failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "install failed" + dodoc CHANGELOG CREDITS HINTS README TODO +} diff --git a/x11-plugins/wmMatrix/Manifest b/x11-plugins/wmMatrix/Manifest new file mode 100644 index 000000000000..249b49c97601 --- /dev/null +++ b/x11-plugins/wmMatrix/Manifest @@ -0,0 +1 @@ +DIST wmMatrix-0.2.tar.gz 225343 SHA256 ce7b18b1046985237388846332234fd5aaae7b6ba2476ba465e4e57208b75053 diff --git a/x11-plugins/wmMatrix/files/wmMatrix-0.2-makefile.patch b/x11-plugins/wmMatrix/files/wmMatrix-0.2-makefile.patch new file mode 100644 index 000000000000..5225ad38f679 --- /dev/null +++ b/x11-plugins/wmMatrix/files/wmMatrix-0.2-makefile.patch @@ -0,0 +1,34 @@ +--- Makefile.orig 1999-08-16 18:01:58.000000000 +0200 ++++ Makefile 2008-01-27 23:23:36.000000000 +0100 +@@ -1,8 +1,8 @@ +-CC = gcc +-CFLAGS = -O2 -Wall +-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include +-DESTDIR= /usr/X11R6 +-LIBDIR = -L/usr/X11R6/lib ++CC ?= gcc ++CFLAGS += -Wall ++INCDIR = -I/usr/include/X11 -I/usr/include ++PREFIX ?= /usr ++LIBDIR ?= /usr/lib + + # for Linux + LIBS = -lXpm -lX11 -lXext +@@ -24,7 +24,7 @@ + + wmMatrix.o: wmMatrix_master.xpm wmMatrix_mask.xbm + wmMatrix: $(OBJS) +- $(CC) $(COPTS) $(SYSTEM) -o wmMatrix $^ $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(COPTS) $(SYSTEM) -o wmMatrix $^ $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS) + + + clean: +@@ -34,5 +34,6 @@ + rm -f wmMatrix + + install:: wmMatrix +- install -c -s -m 0755 wmMatrix $(DESTDIR)/bin ++ install -d $(DESTDIR)$(PREFIX)/bin ++ install -m 0755 wmMatrix $(DESTDIR)$(PREFIX)/bin + + diff --git a/x11-plugins/wmMatrix/metadata.xml b/x11-plugins/wmMatrix/metadata.xml new file mode 100644 index 000000000000..4c1c7b70d395 --- /dev/null +++ b/x11-plugins/wmMatrix/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> + wmMatrix is an early beta version of a cpu monitor built around the display + from the movie"The Matrix". + </longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmMatrix/wmMatrix-0.2-r1.ebuild b/x11-plugins/wmMatrix/wmMatrix-0.2-r1.ebuild new file mode 100644 index 000000000000..99e004ace3fa --- /dev/null +++ b/x11-plugins/wmMatrix/wmMatrix-0.2-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs multilib + +DESCRIPTION="WMaker DockApp: Slightly modified version of Jamie Zawinski's xmatrix screenhack" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/17/${P}.tar.gz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/10" + +CDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${CDEPEND} + x11-proto/xproto + x11-proto/xextproto" +RDEPEND="${CDEPEND} + x11-misc/xscreensaver" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + # this version is distributed with compiled binaries! + make clean + emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "compile failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "install failed" +} diff --git a/x11-plugins/wmMoonClock/Manifest b/x11-plugins/wmMoonClock/Manifest new file mode 100644 index 000000000000..dc80d32fee1f --- /dev/null +++ b/x11-plugins/wmMoonClock/Manifest @@ -0,0 +1 @@ +DIST wmMoonClock-1.27.tar.gz 155197 SHA256 439d330a30ee1cb084e0512e894f5e1a2e9869745a2274fbd9a56832c1527c77 diff --git a/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-implicit.patch b/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-implicit.patch new file mode 100644 index 000000000000..22ac78bd141a --- /dev/null +++ b/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-implicit.patch @@ -0,0 +1,9 @@ +diff -aur wmMoonClock-1.27-orig/Src/CalcEphem.h wmMoonClock-1.27/Src/CalcEphem.h +--- wmMoonClock-1.27-orig/Src/CalcEphem.h 1998-12-31 13:25:16.000000000 -0500 ++++ wmMoonClock-1.27/Src/CalcEphem.h 2008-06-26 10:29:30.000000000 -0400 +@@ -1,4 +1,5 @@ + #include <stdio.h> ++#include <string.h> + #include <math.h> + + #define DegPerRad 57.29577951308232087680 diff --git a/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-makefile.patch b/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-makefile.patch new file mode 100644 index 000000000000..f140a7dbbcb7 --- /dev/null +++ b/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-makefile.patch @@ -0,0 +1,36 @@ +--- Makefile.orig 1999-03-23 03:20:32.000000000 +0100 ++++ Makefile 2008-01-27 23:44:28.000000000 +0100 +@@ -1,8 +1,9 @@ +-CC = gcc +-CFLAGS = -O2 +-INCDIR = -I/usr/X11R6/include/X11 +-DESTDIR= /usr/X11R6 +-LIBDIR = -L/usr/X11R6/lib ++CC ?= gcc ++CFLAGS += ++INCDIR = -I/usr/include/X11 ++PREFIX ?= /usr ++LIBDIR ?= /usr/lib ++MANDIR = $(PREFIX)/share/man + + # for Linux + LIBS = -lXpm -lX11 -lXext +@@ -22,7 +23,7 @@ + + wmMoonClock.o: wmMoonClock_master.xpm wmMoonClock_mask.xbm CalcEphem.h + wmMoonClock: $(OBJS) +- $(CC) $(COPTS) $(SYSTEM) -lm -o wmMoonClock $^ $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(COPTS) $(SYSTEM) -o wmMoonClock $^ $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS) -lm + + clean: + for i in $(OBJS) ; do \ +@@ -31,6 +32,7 @@ + rm -f wmMoonClock + + install:: wmMoonClock +- install -s -m 0755 wmMoonClock $(DESTDIR)/bin +- install -m 0644 wmMoonClock.1 $(DESTDIR)/man/man1 ++ install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(MANDIR)/man1 ++ install -m 0755 wmMoonClock $(DESTDIR)$(PREFIX)/bin ++ install -m 0644 wmMoonClock.1 $(DESTDIR)$(MANDIR)/man1 + diff --git a/x11-plugins/wmMoonClock/metadata.xml b/x11-plugins/wmMoonClock/metadata.xml new file mode 100644 index 000000000000..b883de84dbb9 --- /dev/null +++ b/x11-plugins/wmMoonClock/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> + wmMoonClock displays phases and ephemeris of the Moon. Clicking on the App + cycles the user through several `pages' of ephemeris information. Included are + age, fraction of current lunar cycle, the % illumination, whether its currently + visible or not, the rise/set times for yesterday, today and tomorrow, the + `horizon coordinates", and the "ecliptic coordinates". wmMoonClock supports + 8-bit and high-color displays. + </longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild b/x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild new file mode 100644 index 000000000000..3c13e5b8c838 --- /dev/null +++ b/x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="dockapp that shows lunar ephemeris to a high accuracy" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/21/${P}.tar.gz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/14" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~mips ppc sparc x86" +IUSE="" + +S="${WORKDIR}/${P}/Src" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch + epatch "${FILESDIR}"/${P}-implicit.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "parallel make failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "install failed" + dodoc ../BUGS +} diff --git a/x11-plugins/wmSMPmon/Manifest b/x11-plugins/wmSMPmon/Manifest new file mode 100644 index 000000000000..43e2221117ff --- /dev/null +++ b/x11-plugins/wmSMPmon/Manifest @@ -0,0 +1 @@ +DIST wmSMPmon-3.1.tar.gz 24834 RMD160 2fc70ab4b12008e67bc35d36c4ad62f6d11a8f43 SHA1 18b2811382e61c694d749cc28473e6db0109da3f SHA256 13ca4cfe325c35215e7b3357dc61985159015bd3a870a548ec70edc0914011e7 diff --git a/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch b/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch new file mode 100644 index 000000000000..1bd27f47c0f1 --- /dev/null +++ b/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch @@ -0,0 +1,45 @@ +--- Makefile.orig 2005-02-22 23:24:23.000000000 +0100 ++++ Makefile 2008-01-28 00:12:33.000000000 +0100 +@@ -2,22 +2,24 @@ + # Adapted for wmSMPmon 2.9.x and higher: Thomas Ribbrock + + # Change the following two to determine installation location +-BINDIR=/usr/local/bin/ +-MANDIR=/usr/local/share/man/ ++PREFIX=/usr ++BINDIR=$(PREFIX)/bin ++MANDIR=$(PREFIX)/share/man + + SRC = general.c sysinfo-linux.c ../wmgeneral/wmgeneral.c wmSMPmon.c + EXE = wmSMPmon + MAN = wmSMPmon.1 + OBJ = $(SRC:.c=.o) + INSTALL = /usr/bin/install +-INSTALLEXEFLAGS = -m 755 -s ++INSTALLEXEFLAGS = -m 755 + INSTALLMANFLAGS = -m 644 +-CC = gcc +-CFLAGS = -Wall -O2 -g +-LIB = -L/usr/X11R6/lib -lXpm -lXext -lX11 ++CC ?= gcc ++CFLAGS += -Wall ++LIBDIR ?= /usr/lib ++LIBS= -lXpm -lXext -lX11 + + all: $(OBJ) +- $(CC) -o $(EXE) $(OBJ) $(LIB) ++ $(CC) $(CFLAGS) -o $(EXE) $(OBJ) -L$(LIBDIR) $(LDFLAGS) $(LIBS) + + $(OBJ): %.o : %.c + $(CC) $(CFLAGS) -c -o $@ $< +@@ -28,6 +31,7 @@ + rm -rf ../wmgeneral/*.o + + install: +- $(INSTALL) $(INSTALLEXEFLAGS) $(EXE) $(BINDIR) +- $(INSTALL) -d $(MANDIR)/man1 +- $(INSTALL) $(INSTALLMANFLAGS) $(MAN) $(MANDIR)/man1 ++ $(INSTALL) -d $(DESTDIR)$(BINDIR) ++ $(INSTALL) $(INSTALLEXEFLAGS) $(EXE) $(DESTDIR)$(BINDIR) ++ $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1 ++ $(INSTALL) $(INSTALLMANFLAGS) $(MAN) $(DESTDIR)$(MANDIR)/man1 diff --git a/x11-plugins/wmSMPmon/metadata.xml b/x11-plugins/wmSMPmon/metadata.xml new file mode 100644 index 000000000000..09a0b0457a0d --- /dev/null +++ b/x11-plugins/wmSMPmon/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmSMPmon is a Window Maker applet for monitoring +the CPUs, memory, and swap of SMP systems. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild b/x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild new file mode 100644 index 000000000000..d4cd369f33d3 --- /dev/null +++ b/x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="SMP system monitor dockapp" +HOMEPAGE="http://lancre.ribbrock.org/binabit/wmSMPmon/" +SRC_URI="http://lancre.ribbrock.org/binabit/wmSMPmon/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S="${WORKDIR}/${P}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc ../Changelog +} diff --git a/x11-plugins/wmSpaceWeather/Manifest b/x11-plugins/wmSpaceWeather/Manifest new file mode 100644 index 000000000000..689044866b23 --- /dev/null +++ b/x11-plugins/wmSpaceWeather/Manifest @@ -0,0 +1,2 @@ +DIST wmspaceweather_1.04-19.diff.gz 9429 SHA256 21298d603c181ccf8e34590ea2654035b755c3832bf450dacc3d57953dd6e137 +DIST wmspaceweather_1.04.orig.tar.gz 36295 SHA256 946455238e3bca6137a122271da4af9fa154730a071c69eb49c0fde5be010f38 diff --git a/x11-plugins/wmSpaceWeather/files/wmSpaceWeather-1.04_p19-gentoo.patch b/x11-plugins/wmSpaceWeather/files/wmSpaceWeather-1.04_p19-gentoo.patch new file mode 100644 index 000000000000..29cb5f984f13 --- /dev/null +++ b/x11-plugins/wmSpaceWeather/files/wmSpaceWeather-1.04_p19-gentoo.patch @@ -0,0 +1,61 @@ +--- wmSpaceWeather/Makefile.orig 2008-01-28 02:45:07.000000000 +0100 ++++ wmSpaceWeather/Makefile 2008-01-28 02:46:04.000000000 +0100 +@@ -1,8 +1,8 @@ +-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 + # for linux + LIBS = -lXpm -lX11 -lXext + # for Solaris +@@ -12,14 +12,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: wmSpaceWeather.o wmSpaceWeather + + wmSpaceWeather.o: wmSpaceWeather_master.xpm wmSpaceWeather_mask.xbm + wmSpaceWeather: $(OBJS) +- $(CC) $(COPTS) $(SYSTEM) -o wmSpaceWeather $^ $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) -o wmSpaceWeather $^ $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS) + + clean: + for i in $(OBJS) ; do \ +@@ -28,10 +28,10 @@ + rm -f wmSpaceWeather + + install:: wmSpaceWeather +- install -d $(DESTDIR)/usr/bin +- install -d $(DESTDIR)/usr/share/wmspaceweather +- install -d $(DESTDIR)/usr/share/man/man1 +- install -m 0755 wmSpaceWeather $(DESTDIR)/usr/bin +- install -m 0755 GetKp $(DESTDIR)/usr/share/wmspaceweather +- install -m 0644 wmSpaceWeather.1 $(DESTDIR)/usr/share/man/man1 ++ install -d $(DESTDIR)$(PREFIX)/bin ++ install -d $(DESTDIR)$(PREFIX)/share/wmspaceweather ++ install -d $(DESTDIR)$(PREFIX)/share/man/man1 ++ install -m 0755 wmSpaceWeather $(DESTDIR)$(PREFIX)/bin ++ install -m 0755 GetKp $(DESTDIR)$(PREFIX)/share/wmspaceweather ++ install -m 0644 wmSpaceWeather.1 $(DESTDIR)$(PREFIX)/share/man/man1 + +--- wmSpaceWeather/wmSpaceWeather.c.orig 2008-01-28 03:16:36.000000000 +0100 ++++ wmSpaceWeather/wmSpaceWeather.c 2008-01-28 03:22:12.000000000 +0100 +@@ -663,7 +663,7 @@ + if (GotDoubleClick1) { + GotFirstClick1 = 0; + GotDoubleClick1 = 0; +- sprintf(Command, "sensible-browser '%s' &", URL); ++ sprintf(Command, "firefox -remote 'openURL(%s)'", URL); + system(Command); + } + diff --git a/x11-plugins/wmSpaceWeather/files/wmSpaceWeather-1.04_p19-getkp.patch b/x11-plugins/wmSpaceWeather/files/wmSpaceWeather-1.04_p19-getkp.patch new file mode 100644 index 000000000000..6d6d90137feb --- /dev/null +++ b/x11-plugins/wmSpaceWeather/files/wmSpaceWeather-1.04_p19-getkp.patch @@ -0,0 +1,27 @@ +--- wmSpaceWeather/GetKp.orig 2008-01-28 14:20:43.000000000 +0100 ++++ wmSpaceWeather/GetKp 2008-01-28 14:22:48.000000000 +0100 +@@ -17,10 +17,10 @@ + unlink(CUR_INDEX); + + +-# $grabcmd = "cd /tmp; /usr/bin/wget -q ftp://www.sec.noaa.gov/pub/indices/DGD.txt"; ++# $grabcmd = "cd /tmp; /usr/bin/wget -q http://www.swpc.noaa.gov/ftpdir/indices/DGD.txt"; + # system "$grabcmd"; + # +- $grabcmd = "/usr/bin/curl -f -s -o " . DGD_FILE . " http://www.sec.noaa.gov/ftpdir/indices/DGD.txt"; ++ $grabcmd = "/usr/bin/curl -f -s -o " . DGD_FILE . " http://www.swpc.noaa.gov/ftpdir/indices/DGD.txt"; + exit 1 if (system "$grabcmd"); + + +@@ -69,9 +69,9 @@ + # + # Add in very latest stuff + # +-# $grabcmd = "cd /tmp; /usr/bin/wget -q ftp://www.sec.noaa.gov/pub/latest/curind.txt"; ++# $grabcmd = "cd /tmp; /usr/bin/wget -q http://www.swpc.noaa.gov/ftpdir/latest/curind.txt"; + # system "$grabcmd"; +- $grabcmd = "/usr/bin/curl -f -s -o " . CUR_INDEX . " http://www.sec.noaa.gov/ftpdir/latest/curind.txt"; ++ $grabcmd = "/usr/bin/curl -f -s -o " . CUR_INDEX . " http://www.swpc.noaa.gov/ftpdir/latest/curind.txt"; + exit 1 if (system "$grabcmd"); + %lmonstr = ( "Jan", 1, "Feb", 2, "Mar", 3, "Apr", 4, "May", 5, "Jun", 6, "Jul", 7, "Aug", 8, "Sep", 9, "Oct", 10, "Nov", 11, "Dec", 12); + diff --git a/x11-plugins/wmSpaceWeather/metadata.xml b/x11-plugins/wmSpaceWeather/metadata.xml new file mode 100644 index 000000000000..535b77e634ad --- /dev/null +++ b/x11-plugins/wmSpaceWeather/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> + wmSpaceWeather shows environmental conditions in space. + </longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19.ebuild b/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19.ebuild new file mode 100644 index 000000000000..a2a0ceddbe0f --- /dev/null +++ b/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +MY_PN="wmspaceweather" +MY_PV_ORIG="${PV/_p*}" +MY_PV_PATCH="${PV/_p/-}" +MY_P_ORIG="${MY_PN}_${MY_PV_ORIG}.orig" +MY_P_PATCH="${MY_PN}_${MY_PV_PATCH}.diff" + +DESCRIPTION="dockapp showing weather at geosynchronous orbit" +HOMEPAGE="http://packages.debian.org/sid/wmspaceweather" +SRC_URI="mirror://debian/pool/main/w/${MY_PN}/${MY_P_ORIG}.tar.gz + mirror://debian/pool/main/w/${MY_PN}/${MY_P_PATCH}.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 hppa ~mips ppc sparc x86" +IUSE="" + +CDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${CDEPEND} + x11-proto/xproto + x11-proto/xextproto" +RDEPEND="${CDEPEND} + net-misc/curl + dev-lang/perl" + +S="${WORKDIR}/${MY_P_ORIG/_/-}/${PN}" + +src_unpack() { + unpack ${MY_P_ORIG}.tar.gz + epatch "${DISTDIR}"/${MY_P_PATCH}.gz + + # need to apply patches from Debian first, do NOT change the order + cd "${S}" + mv ../debian/patches "${WORKDIR}"/patch + EPATCH_SUFFIX="dpatch" EPATCH_FORCE="yes" \ + EPATCH_MULTI_MSG="Applying Debian patches ..." epatch + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-getkp.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 ../{BUGS,CHANGES,HINTS,README} +} + +pkg_postinst() { + elog "You need to emerge www-client/firefox or www-client/firefox-bin" + elog "to use the -url functionality - see man ${PN} for more info." + elog + elog "This version uses curl instead of wget. You may edit /usr/share/wmspaceweather/GetKp" + elog "if you don't like it." +} diff --git a/x11-plugins/wmSun/Manifest b/x11-plugins/wmSun/Manifest new file mode 100644 index 000000000000..4f82abb7f732 --- /dev/null +++ b/x11-plugins/wmSun/Manifest @@ -0,0 +1 @@ +DIST wmSun-1.03.tar.gz 49744 RMD160 9c3bb5e35107d5ed74d0da329495beb7b0cfbff9 SHA1 e9933d84db322631f331c432ee15d4fe4decd707 SHA256 a46e11680d4625589d4d91030e17916c02405451e60d366340668a01597c4ea2 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..ddc54221de16 --- /dev/null +++ b/x11-plugins/wmSun/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <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..8228bb661188 --- /dev/null +++ b/x11-plugins/wmSun/wmSun-1.03-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/wmXName/Manifest b/x11-plugins/wmXName/Manifest new file mode 100644 index 000000000000..130cac0d592f --- /dev/null +++ b/x11-plugins/wmXName/Manifest @@ -0,0 +1 @@ +DIST wmXName-0.01.tgz 10757 RMD160 32eeb086c6fe86136ff5f89a48f9dba67d57e888 SHA1 fee6d5ba0a38b8862d4291fa9634aa4cbf1c3aff SHA256 3e67f87accd87d87d067e9d72bdac8d5d287e197b068e04a0e24eaf13c0aca85 diff --git a/x11-plugins/wmXName/metadata.xml b/x11-plugins/wmXName/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmXName/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/wmXName/wmXName-0.1.ebuild b/x11-plugins/wmXName/wmXName-0.1.ebuild new file mode 100644 index 000000000000..7f5d30261756 --- /dev/null +++ b/x11-plugins/wmXName/wmXName-0.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +MY_PV="0.01" +MY_P="${PN}-${MY_PV}" + +IUSE="" +DESCRIPTION="dock-app showing you status of your XName hosted zones" +SRC_URI="http://source.xname.org/${MY_P}.tgz" +HOMEPAGE="http://source.xname.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +COMMON_DEPEND=">=x11-libs/libXpm-3.5.7 + >=x11-libs/libX11-1.1.4 + >=x11-libs/libXext-1.0.3" + +DEPEND="${COMMON_DEPEND} + >=sys-apps/sed-4.1.5-r1" + +RDEPEND="${COMMON_DEPEND} + >=dev-lang/perl-5.8.8-r5 + >=www-client/lynx-2.8.6-r2" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + + #some magic sed to fix CFLAGS + sed -i "s/-O2 -Wall/$CFLAGS/" "${S}/Makefile" + + #INSTALL file actually contains use instructions + mv "${S}/INSTALL" "${S}/README" +} + +src_compile() { + emake SYSTEM="${LDFLAGS}" || die +} + +src_install () { + dobin wmXName GrabXName + dodoc README config.sample +} diff --git a/x11-plugins/wmacpi/Manifest b/x11-plugins/wmacpi/Manifest new file mode 100644 index 000000000000..d7511807aeeb --- /dev/null +++ b/x11-plugins/wmacpi/Manifest @@ -0,0 +1,3 @@ +DIST wmacpi-1.34.tar.gz 15509 SHA256 65f7a1da06fd3489ed97391d1c9b77b570bc30c14b1f846007028353d0fa51e2 +DIST wmacpi-2.2rc1.tar.bz2 30233 SHA256 25fc405e6e653caf9cfd90104b184cb4ed73114e710e229ed012ec155083a11f +DIST wmacpi-2.3.tar.gz 39374 SHA256 5ae0ae6ca447e29acaf206f2321a50207509eb2a17ccb98ed196adf734263105 SHA512 47c260989cd3fdb8d7ceadba19224e6350056741b03c6f1b73a38b06d7e471a08972dfbcaeacdcbc460bc19b0f952641eda75e11468b4d7155eecd07e1e14cd9 WHIRLPOOL 0735582a3ee47144ab6ae57a5f6095a2adb006e62b536620b1036dab9ccee4b3ef6e581fde314440398cfc622f4db1ff150ec6c64ce08e791c2559397ef7cb8d diff --git a/x11-plugins/wmacpi/files/1.34-acpi.patch b/x11-plugins/wmacpi/files/1.34-acpi.patch new file mode 100644 index 000000000000..76a94e57f77e --- /dev/null +++ b/x11-plugins/wmacpi/files/1.34-acpi.patch @@ -0,0 +1,17 @@ +--- Makefile.orig 2003-09-04 13:00:48.784055072 -0400 ++++ Makefile 2003-09-04 13:03:41.399813488 -0400 +@@ -11,11 +11,11 @@ + #OPT = -pg -g -DPRO -DACPI + + CC = gcc +-CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include ++CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include -DACPI + LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext + +-SRCS = wmacpi.c libapm.c libacpi.c +-OBJS = wmacpi.o libapm.o libacpi.o ++SRCS = wmacpi.c libacpi.c ++OBJS = wmacpi.o libacpi.o + + all: wmacpi + diff --git a/x11-plugins/wmacpi/files/1.34-apm.patch b/x11-plugins/wmacpi/files/1.34-apm.patch new file mode 100644 index 000000000000..6b640b781b13 --- /dev/null +++ b/x11-plugins/wmacpi/files/1.34-apm.patch @@ -0,0 +1,17 @@ +--- Makefile.orig 2003-09-04 13:00:48.784055072 -0400 ++++ Makefile 2003-09-04 13:04:23.297444080 -0400 +@@ -11,11 +11,11 @@ + #OPT = -pg -g -DPRO -DACPI + + CC = gcc +-CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include ++CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include -DAPM + LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext + +-SRCS = wmacpi.c libapm.c libacpi.c +-OBJS = wmacpi.o libapm.o libacpi.o ++SRCS = wmacpi.c libapm.c ++OBJS = wmacpi.o libapm.o + + all: wmacpi + diff --git a/x11-plugins/wmacpi/files/2.1rc1-nodeps.patch b/x11-plugins/wmacpi/files/2.1rc1-nodeps.patch new file mode 100644 index 000000000000..60c29ace2543 --- /dev/null +++ b/x11-plugins/wmacpi/files/2.1rc1-nodeps.patch @@ -0,0 +1,20 @@ +--- wmacpi-2.1rc1/Makefile.orig 2005-01-25 09:55:01.637030220 +0100 ++++ wmacpi-2.1rc1/Makefile 2005-01-25 09:55:19.265329634 +0100 +@@ -34,7 +34,7 @@ + WMOBJ := $(patsubst %.c,%.o,$(filter %.c,$(WMSRC))) + + # include per-file dependencies +-include $(WMOBJ:.o=.d) ++#include $(WMOBJ:.o=.d) + + wmacpi: $(WMOBJ) + $(CC) $(LDFLAGS) -o $@ $^ +@@ -44,7 +44,7 @@ + ifdef BUILD_CLI + CLSRC := acpi.c libacpi.c + CLOBJ := $(patsubst %.c,%.o,$(filter %.c,$(CLSRC))) +-include $(CLOBJ:.o=.d) ++#include $(CLOBJ:.o=.d) + + acpi: $(CLOBJ) + $(CC) $(LDFLAGS) -o $@ $^ diff --git a/x11-plugins/wmacpi/files/2.1rc1-windowed.patch b/x11-plugins/wmacpi/files/2.1rc1-windowed.patch new file mode 100644 index 000000000000..844183727eec --- /dev/null +++ b/x11-plugins/wmacpi/files/2.1rc1-windowed.patch @@ -0,0 +1,29 @@ +--- wmacpi-2.1rc1/wmacpi.c.orig 2005-01-05 07:16:09.000000000 +0100 ++++ wmacpi-2.1rc1/wmacpi.c 2005-01-25 10:03:47.933403683 +0100 +@@ -574,7 +574,8 @@ + "\t\t\tdefault 20 (once every three seconds)\n" + "-f\t\t\tforce the use of capacity mode for calculating time remaining\n" + "-n\t\t\tdo not blink\n" +- "-w\t\t\trun in command line mode\n" ++ "-w\t\t\trun in windowed mode\n" ++ "-x\t\t\trun in command line mode\n" + "-a <samples>\t\tsamples to average over (cli mode only)\n" + "-v\t\t\tincrease verbosity\n" + "\t\t\tcan be used multiple times to increase verbosity further\n" +@@ -728,9 +729,15 @@ + case 'n': + dockapp->blink = 0; + break; +- case 'w': ++ case 'x': + cli = 1; + break; ++ case 'w': ++ { ++ char *args[] = { "", "-w" }; ++ DAParseArguments(2, args, NULL, 0, "", ""); ++ } ++ break; + case 'a': + if(optarg != NULL) { + samples = atoi(optarg); diff --git a/x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch b/x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch new file mode 100644 index 000000000000..af142fd574ee --- /dev/null +++ b/x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch @@ -0,0 +1,71 @@ +--- Makefile.orig 2007-07-13 17:26:30.000000000 +0200 ++++ Makefile 2008-01-28 16:36:41.000000000 +0100 +@@ -13,8 +13,8 @@ + #OPT = -pg -g + + CC := gcc +-CFLAGS := $(OPT) -Wall -W -g -ansi -I/usr/X11R6/include +-LDFLAGS := $(OPT) -lX11 -ldockapp ++CFLAGS := $(OPT) -Wall -W -g -ansi -I/usr/include ++LDFLAGS += -lX11 -ldockapp + + WMSRC := wmacpi.c libacpi.c + HEADERS := libacpi.h wmacpi.h +@@ -22,11 +22,12 @@ + doc_targets := wmacpi.1 + + ifdef BUILD_CLI +-targets += acpi +-doc_targets += acpi.1 ++targets += acpi-batt-status ++doc_targets += acpi-batt-status.1 + endif + +-PREFIX := /usr/local ++PREFIX := /usr ++MANDIR := $(PREFIX)/share/man + + all: $(targets) + +@@ -34,20 +35,20 @@ + WMOBJ := $(patsubst %.c,%.o,$(filter %.c,$(WMSRC))) + + # include per-file dependencies +--include $(WMOBJ:.o=.d) ++#-include $(WMOBJ:.o=.d) + + wmacpi: $(WMOBJ) +- $(CC) $(LDFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + + # for the Debian package, we want to make building the command line tools + # optional. So, we hide all the necessary stuff here . . . + ifdef BUILD_CLI +-CLSRC := acpi.c libacpi.c ++CLSRC := acpi-batt-status.c libacpi.c + CLOBJ := $(patsubst %.c,%.o,$(filter %.c,$(CLSRC))) +--include $(CLOBJ:.o=.d) ++#-include $(CLOBJ:.o=.d) + +-acpi: $(CLOBJ) +- $(CC) $(LDFLAGS) -o $@ $^ ++acpi-batt-status: $(CLOBJ) ++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + endif + + # build per-file dependencies - note that -MM may not be supported +@@ -62,10 +63,10 @@ + rm -f *.d $(targets) + + install: $(targets) +- install -d $(PREFIX)/bin/ +- install -pc $(targets) $(PREFIX)/bin/ +- install -d $(PREFIX)/man/man1/ +- install -pc $(doc_targets) $(PREFIX)/man/man1/ ++ install -d $(DESTDIR)$(PREFIX)/bin/ ++ install -pc $(targets) $(DESTDIR)$(PREFIX)/bin/ ++ install -d $(DESTDIR)$(MANDIR)/man1/ ++ install -p -m 0644 $(doc_targets) $(DESTDIR)$(MANDIR)/man1/ + + tags: + etags $(WMSRC) $(CLSRC) $(HEADERS) diff --git a/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch b/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch new file mode 100644 index 000000000000..d1ec49689060 --- /dev/null +++ b/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch @@ -0,0 +1,47 @@ +--- Makefile.orig 2015-01-12 11:27:07.396319323 +0100 ++++ Makefile 2015-01-12 11:29:21.531298827 +0100 +@@ -13,8 +13,8 @@ + #OPT = -pg -g + + CC := gcc +-CFLAGS += $(OPT) -Wall -W -g -ansi +-LDFLAGS += $(OPT) -lX11 -ldockapp ++CFLAGS := -Wall -W -g -ansi ++LIBS := -lX11 -ldockapp + + WMSRC := wmacpi.c libacpi.c + HEADERS := libacpi.h wmacpi.h +@@ -26,7 +26,7 @@ + doc_targets += wmacpi-cli.1 + endif + +-PREFIX := /usr/local ++PREFIX := /usr + + all: $(targets) + +@@ -37,7 +37,7 @@ + -include $(WMOBJ:.o=.d) + + wmacpi: $(WMOBJ) +- $(CC) -o $@ $^ $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + + # for the Debian package, we want to make building the command line tools + # optional. So, we hide all the necessary stuff here . . . +@@ -47,13 +47,13 @@ + -include $(CLOBJ:.o=.d) + + wmacpi-cli: $(CLOBJ) +- $(CC) $(LDFLAGS) -o $@ $^ ++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + endif + + # build per-file dependencies - note that -MM may not be supported + # in gcc versions older than 2.95.4, but most likely is. + %.d: %.c +- gcc -MM $(CFLAGS) $< > $@ ++ $(CC) -MM $(CFLAGS) $< > $@ + + clean: + rm -f TAGS *.o *~ trace *.out *.bb *.bbg diff --git a/x11-plugins/wmacpi/metadata.xml b/x11-plugins/wmacpi/metadata.xml new file mode 100644 index 000000000000..f1e1deaf8395 --- /dev/null +++ b/x11-plugins/wmacpi/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +WMaker DockApp: ACPI status monitor for laptops +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmacpi/wmacpi-1.34.ebuild b/x11-plugins/wmacpi/wmacpi-1.34.ebuild new file mode 100644 index 000000000000..d1e6e1dd8fa7 --- /dev/null +++ b/x11-plugins/wmacpi/wmacpi-1.34.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="WMaker DockApp: ACPI status monitor for laptops" +HOMEPAGE="http://www.ne.jp/asahi/linux/timecop/" +SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc -sparc x86" +IUSE="acpi apm" + +DEPEND="x11-libs/libdockapp" + +src_unpack() { + unpack ${A} + cd "${S}" + use apm && use acpi && eerror "APM and ACPI are in USE ... defaulting to ACPI" + use apm || use acpi || eerror "Neither APM or ACPI are in USE ... defaulting to ACPI" + if use acpi || ! use apm ; then + epatch "${FILESDIR}"/${PV}-acpi.patch + else + epatch "${FILESDIR}"/${PV}-apm.patch + fi +} + +src_compile() { + emake OPT="${CFLAGS}" || die "emake failed." +} + +src_install() { + dobin wmacpi || die "dobin failed." + dodoc AUTHORS ChangeLog README +} diff --git a/x11-plugins/wmacpi/wmacpi-2.2_rc1.ebuild b/x11-plugins/wmacpi/wmacpi-2.2_rc1.ebuild new file mode 100644 index 000000000000..4963b2f2e7ef --- /dev/null +++ b/x11-plugins/wmacpi/wmacpi-2.2_rc1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="WMaker DockApp: ACPI status monitor for laptops" +HOMEPAGE="http://himi.org/wmacpi/" +MY_PV="${PV/_}" +MY_P="${PN}-${MY_PV}" +S="${WORKDIR}/${MY_P}" +SRC_URI="http://himi.org/wmacpi/download/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 -ppc -sparc x86" +IUSE="" + +DEPEND="x11-libs/libdockapp + x11-libs/libX11" + +src_unpack() { + unpack ${A} + cd "${S}" + # acpi and acpi.1 conflict with sys-power/acpi - Bug #60685 + mv acpi.c acpi-batt-status.c + mv acpi.1 acpi-batt-status.1 + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" OPT="${CFLAGS}" || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog README TODO +} + +pkg_postinst() { + elog "The command-line utility are corresponding manpage are installed" + elog "as acpi-batt-status to prevent collisions with sys-power/acpi" +} diff --git a/x11-plugins/wmacpi/wmacpi-2.3.ebuild b/x11-plugins/wmacpi/wmacpi-2.3.ebuild new file mode 100644 index 000000000000..9ec5c98b617f --- /dev/null +++ b/x11-plugins/wmacpi/wmacpi-2.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="DockApp ACPI status monitor for laptops" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmacpi" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 -ppc -sparc ~x86" +IUSE="" + +DEPEND="x11-libs/libdockapp + x11-libs/libX11" + +S=${WORKDIR}/dockapps + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog README TODO +} diff --git a/x11-plugins/wmacpiload-ac/Manifest b/x11-plugins/wmacpiload-ac/Manifest new file mode 100644 index 000000000000..49030360dde1 --- /dev/null +++ b/x11-plugins/wmacpiload-ac/Manifest @@ -0,0 +1 @@ +DIST wmacpiload-0.2.0.tar.bz2 112858 SHA256 c160db05fb968ec4d0f239ed7e35188de5ddce4e5a6ffcd3e3c496c279cd8808 SHA512 f0256ae313ad4ecbaf1604578321b45173912f250ba6fb7abf88edbcf6875dee30f8d2f7547cc207768c9229697dbfd48e77617c590e0ca27113b8c675e32714 WHIRLPOOL 83c2672eb6ef3610228a9d73fe9cb8652ec6278beb2d349eb59448d557563f0fbfadd129667759eeff384873707b18d254536ec0846dd807b55e286fa5c8b29c diff --git a/x11-plugins/wmacpiload-ac/files/wmacpiload-ac-acpi-fix-battery-unit.patch b/x11-plugins/wmacpiload-ac/files/wmacpiload-ac-acpi-fix-battery-unit.patch new file mode 100644 index 000000000000..6bf6179e7fc6 --- /dev/null +++ b/x11-plugins/wmacpiload-ac/files/wmacpiload-ac-acpi-fix-battery-unit.patch @@ -0,0 +1,30 @@ +--- wmacpiload-0.2.0/src/battery.c 2012-10-18 15:42:04.000000000 +0200 ++++ wmacpiload-0.2.0.new/src/battery.c 2012-10-18 15:43:33.000000000 +0200 +@@ -42,7 +42,8 @@ + ************************************************************************/ + + /* used to parse the battery state file */ +-#define CAPACITY_UNIT " mAh" ++#define CAPACITY_UNIT1 " mAh" ++#define CAPACITY_UNIT2 " mWh" + + /************************************************************************ + * Global constants definitions +@@ -164,7 +165,7 @@ + char *endptr; + + capacity = strtoul(buf, &endptr, 10); +- if (strcmp(endptr, CAPACITY_UNIT) != 0) { ++ if (strcmp(endptr, CAPACITY_UNIT1) != 0 && strcmp(endptr, CAPACITY_UNIT2) != 0) { + fprintf(stderr, + "%s : Battery %s unplugged or unconsistent data\n", + PACKAGE, bat->name); +@@ -238,7 +239,7 @@ + char *endptr; + + remain = strtol(buf, &endptr, 10); +- if (strcmp(endptr, CAPACITY_UNIT) == 0) ++ if (strcmp(endptr, CAPACITY_UNIT1) == 0 || strcmp(endptr, CAPACITY_UNIT2) == 0) + bat->percentage = (int) ((remain * 100.0) / bat->capacity); + else + bat->percentage = -1;
\ No newline at end of file diff --git a/x11-plugins/wmacpiload-ac/files/wmacpiload-ac-acpi-segfault.patch b/x11-plugins/wmacpiload-ac/files/wmacpiload-ac-acpi-segfault.patch new file mode 100644 index 000000000000..15f8e05579a2 --- /dev/null +++ b/x11-plugins/wmacpiload-ac/files/wmacpiload-ac-acpi-segfault.patch @@ -0,0 +1,22 @@ +diff -ru wmacpiload-0.2.0/include/lib_acpi.h wmacpiload-0.2.0.new//include/lib_acpi.h +--- wmacpiload-0.2.0/include/lib_acpi.h 2005-07-21 21:33:19.000000000 -0400 ++++ wmacpiload-0.2.0.new//include/lib_acpi.h 2011-06-20 19:53:30.458953984 -0400 +@@ -32,7 +32,7 @@ + * Macros + ************************************************************************/ + +-# define ACPIDEV "/proc/acpi/info" ++# define ACPIDEV "/proc/acpi/battery" + + /* use ? */ + # ifndef ACPI_32_BIT_SUPPORT +diff -ru wmacpiload-0.2.0/src/dockapp.c wmacpiload-0.2.0.new//src/dockapp.c +--- wmacpiload-0.2.0/src/dockapp.c 2005-08-16 18:38:36.000000000 -0400 ++++ wmacpiload-0.2.0.new//src/dockapp.c 2011-06-20 19:44:20.022684448 -0400 +@@ -431,5 +431,6 @@ + void + dockapp_cleanup(void) + { ++ if (display != NULL) + XCloseDisplay(display); + }
\ No newline at end of file diff --git a/x11-plugins/wmacpiload-ac/files/wmacpiload-ac-acpi-sys-temp-hwmon.patch b/x11-plugins/wmacpiload-ac/files/wmacpiload-ac-acpi-sys-temp-hwmon.patch new file mode 100644 index 000000000000..69857717daeb --- /dev/null +++ b/x11-plugins/wmacpiload-ac/files/wmacpiload-ac-acpi-sys-temp-hwmon.patch @@ -0,0 +1,121 @@ +diff -ru wmacpiload-0.2.0/src/lib_acpi.c wmacpiload-0.2.0.new//src/lib_acpi.c +--- wmacpiload-0.2.0/src/lib_acpi.c 2005-07-21 21:41:31.000000000 -0400 ++++ wmacpiload-0.2.0.new//src/lib_acpi.c 2011-06-28 23:37:50.148092904 -0400 +@@ -83,7 +83,7 @@ + if (!k->ac) + fprintf(stderr, "%s : no AC adapter detected\n", PACKAGE); + +- n = snprintf(dir, FILENAME_MAX + 1, "%s%s", "/proc/acpi", ++ n = snprintf(dir, FILENAME_MAX + 1, "%s%s", "/sys/class", + thermal_zone_dir); + if (n > FILENAME_MAX) { + fprintf(stderr, "%s : file name too long, " +@@ -322,10 +322,10 @@ + n = strlen(searched); + + if (dest != NULL && dest_size > 0 +- && n > 0 && n < (sizeof buffer) - 1 ++ && n < (sizeof buffer) - 1 + && file_name != NULL && (fd = fopen(file_name, "r")) != NULL) { + while (fgets(buffer, sizeof buffer, fd) != NULL) +- if (strncmp(buffer, searched, n) == 0) { ++ if (n == 0 || strncmp(buffer, searched, n) == 0) { + char *src; + char *end; + size_t len; +diff -ru wmacpiload-0.2.0/src/thermal.c wmacpiload-0.2.0.new//src/thermal.c +--- wmacpiload-0.2.0/src/thermal.c 2005-09-29 19:32:46.000000000 -0400 ++++ wmacpiload-0.2.0.new//src/thermal.c 2011-06-29 00:18:24.851904854 -0400 +@@ -30,12 +30,17 @@ + #endif + + #include <stdio.h> ++#include <errno.h> ++#include <limits.h> + #include <stdlib.h> + #include <string.h> + #include <dirent.h> + #include "lib_acpi.h" + #include "wmacpiload.h" + #include "thermal.h" ++#include <unistd.h> ++#include <sys/types.h> ++#include <sys/stat.h> + + /************************************************************************ + * Macro definitions +@@ -48,8 +53,10 @@ + * Global constants definitions + ************************************************************************/ + +-const char *const thermal_zone_dir = "/thermal_zone/"; +-const char *const thermal_zone_status_file = "/temperature"; ++const char *const thermal_zone_dir = "/hwmon/"; ++const char *const thermal_zone_status_file = "/temp1_input"; ++const char *const thermal_zone_search[] = { "", "/device" }; ++const int thermal_zone_MAX_SEARCH = 2; + + /************************************************************************ + * Function definitions +@@ -86,9 +93,24 @@ + } + strcpy(tz->name, fd->d_name); + +- tz->tempfile = +- strcat4("/proc/acpi", thermal_zone_dir, tz->name, +- thermal_zone_status_file); ++ int i; ++ for (i=0; i < thermal_zone_MAX_SEARCH ; i++) { ++ char device_name[MAXSTRLEN+1]; ++ char *tempfile; ++ struct stat tempstat; ++ snprintf(device_name, MAXSTRLEN, "%s%s", tz->name, thermal_zone_search[i]); ++ tempfile = ++ strcat4("/sys/class", thermal_zone_dir, device_name, ++ thermal_zone_status_file); ++ if (stat(tempfile, &tempstat) == -1) { ++ if (verbose) ++ printf("Unable to read thermal zone '%s'\n", tempfile); ++ } else { ++ tz->tempfile = tempfile; ++ break; ++ } ++ } ++ + if (!tz->tempfile) { + fprintf(stderr, "%s : could not allocate memory " + "for thermal zone tempfile concerning " +@@ -127,16 +149,19 @@ + + if (tz != NULL) { + if (parse_file(tz->tempfile, +- "temperature:", buf, sizeof buf) != NULL) { ++ "", buf, sizeof buf) != NULL) { + char *endptr; + + temp = strtoul(buf, &endptr, 10); + /* +- * The format is "temperature: xx C" where xx is the +- * temperature in celcius degrees. So we check if we have the +- * " C" left in the buffer to see if all went well. ++ * The format is "xxxxxx" where xx is the ++ * temperature in celcius degrees times 1000. + */ +- if (strcmp(endptr, TEMP_UNIT) != 0) { ++ errno = 0; ++ if ((errno == ERANGE && (temp == LONG_MAX || temp == LONG_MIN) ) || ++ (errno != 0 && temp == 0) || ++ endptr == buf) { ++ perror("strtol"); + fprintf(stderr, "%s : Unconsistent temperature " + "about thermal zone %s\n", PACKAGE, tz->name); + temp = 0; +@@ -144,7 +169,7 @@ + } else { + temp = 0; + } +- tz->temp = temp; ++ tz->temp = temp / 1000; + } + } +
\ No newline at end of file diff --git a/x11-plugins/wmacpiload-ac/metadata.xml b/x11-plugins/wmacpiload-ac/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmacpiload-ac/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/wmacpiload-ac/wmacpiload-ac-0.2.0-r1.ebuild b/x11-plugins/wmacpiload-ac/wmacpiload-ac-0.2.0-r1.ebuild new file mode 100644 index 000000000000..227ba2fdc462 --- /dev/null +++ b/x11-plugins/wmacpiload-ac/wmacpiload-ac-0.2.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils + +MY_P=${P/-ac} +DESCRIPTION="Hacked version of WMACPILoad, a dockapp to monitor CPU temp and battery time on ACPI kernels" +HOMEPAGE="http://wmacpiload.tuxfamily.org/" +SRC_URI="http://wmacpiload.tuxfamily.org/download/${MY_P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext + x11-libs/libXpm" + +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-acpi-segfault.patch" || die "epatch failed" + epatch "${FILESDIR}/${PN}-acpi-sys-temp-hwmon.patch" || die "epatch failed" + epatch "${FILESDIR}/${PN}-acpi-fix-battery-unit.patch" || die "epatch failed" +} + +src_configure() { + econf $(use_enable debug) +} + +src_compile() { + emake || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +} diff --git a/x11-plugins/wmacpiload-ac/wmacpiload-ac-0.2.0.ebuild b/x11-plugins/wmacpiload-ac/wmacpiload-ac-0.2.0.ebuild new file mode 100644 index 000000000000..8ce61b1fdb1a --- /dev/null +++ b/x11-plugins/wmacpiload-ac/wmacpiload-ac-0.2.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +MY_P=${P/-ac} +DESCRIPTION="Hacked version of WMACPILoad, a dockapp to monitor CPU temp and battery time on ACPI kernels" +HOMEPAGE="http://wmacpiload.tuxfamily.org/" +SRC_URI="http://wmacpiload.tuxfamily.org/download/${MY_P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 x86" +IUSE="debug" + +RDEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf $(use_enable debug) + emake || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +} diff --git a/x11-plugins/wmacpimon/Manifest b/x11-plugins/wmacpimon/Manifest new file mode 100644 index 000000000000..09e4d5b5619c --- /dev/null +++ b/x11-plugins/wmacpimon/Manifest @@ -0,0 +1 @@ +DIST wmacpimon-0.2.1.tar.gz 26498 SHA256 73754555bb313a06ff1956d721aad5efa34ead013cfe10f58cddad3f04d5ed3f diff --git a/x11-plugins/wmacpimon/files/Makefile.patch b/x11-plugins/wmacpimon/files/Makefile.patch new file mode 100644 index 000000000000..aab28fc89392 --- /dev/null +++ b/x11-plugins/wmacpimon/files/Makefile.patch @@ -0,0 +1,24 @@ +--- Makefile 2010-09-06 11:33:16.000000000 +0200 ++++ Makefile.new 2010-09-06 11:36:28.000000000 +0200 +@@ -1,8 +1,5 @@ +-OPT = -O3 -DACPI +- +-CC = gcc +-CFLAGS = $(OPT) -Wall -I/usr/X11R6/include +-LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext ++CFLAGS += -DACPI -Wall -I/usr/X11R6/include ++LIBS = -DACPI -L/usr/X11R6/lib -lX11 -lXpm -lXext + + SRCS = wmacpimon.c libacpi.c + OBJS = wmacpimon.o libacpi.o +@@ -11,8 +8,10 @@ + all: wmacpimon wmacpimond + + wmacpimon: $(OBJS) ++ $(CC) $(LDFLAGS) -o wmacpimon $^ $(LIBS) + + wmacpimond: $(OBJZ) ++ $(CC) $(LDFLAGS) -o wmacpimond $^ $(LIBS) + + clean: + rm -f *.o *~ wmacpimon wmacpimond trace *.out *.bb *.bbg diff --git a/x11-plugins/wmacpimon/files/wmacpimon.c.patch b/x11-plugins/wmacpimon/files/wmacpimon.c.patch new file mode 100644 index 000000000000..001c1d8c96be --- /dev/null +++ b/x11-plugins/wmacpimon/files/wmacpimon.c.patch @@ -0,0 +1,20 @@ +--- wmacpimon.c 2004-07-08 14:16:22.184359328 +0200 ++++ wmacpimon.c 2004-07-08 14:15:59.677780848 +0200 +@@ -314,7 +314,7 @@ + acpinfo = calloc(1, sizeof(ACPInfo)); + dockapp->blink = OFF; + init_acpinfo(); +- strcpy(prcfile, ".wmacpimon.prc"); ++ strcpy(prcfile, "/var/tmp/wmacpimon.prc"); + + /* parse command-line options */ + while ((ch = getopt(argc, argv, "pd:b:c:s:h")) != EOF) { +@@ -345,7 +345,7 @@ + printf("wmacpimon v%s (c) 2002 Costantino Pistagna (valvoline@vrlteam.org)\n" + "usage: wmacpimon [-d] [-b] [-p] [-c] [-s]\n\n" + "-d display\tdisplay on remote display <display>\n" +- "-b value\tprcfile for wmacpimond comunication (default: ~/.wmacpimon.prc)\n" ++ "-b value\tprcfile for wmacpimond comunication (default: /var/tmp/wmacpimon.prc)\n" + "-p\t\tset powersave mode\n" + "-c value\tset critical level (default to 10)\n" + "-s value\tshutdown pc when battery value (percent) has reached\n" diff --git a/x11-plugins/wmacpimon/files/wmacpimon.initscript b/x11-plugins/wmacpimon/files/wmacpimon.initscript new file mode 100644 index 000000000000..049cac53fb34 --- /dev/null +++ b/x11-plugins/wmacpimon/files/wmacpimon.initscript @@ -0,0 +1,15 @@ +#!/sbin/runscript + +start() { + ebegin "Starting up wmacpimond daemon" + touch /var/tmp/wmacpimon.prc + start-stop-daemon --start --quiet --exec /usr/bin/wmacpimond -- /var/tmp/wmacpimon.prc >/dev/null + eend $? "Failed to start wmacpimond" +} + +stop() { + ebegin "Shutting down wmacpimond daemon" + killall wmacpimonmd &>/dev/null + rm /var/tmp/wmacpimon.prc &>/dev/null + eend $? "Failed to stop wmacpimond" +} diff --git a/x11-plugins/wmacpimon/metadata.xml b/x11-plugins/wmacpimon/metadata.xml new file mode 100644 index 000000000000..6f83e0e14cf7 --- /dev/null +++ b/x11-plugins/wmacpimon/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> +wmacpimon is a Windowmaker dockapp that monitors +the temperature and Speedstep features in new ACPI-based systems. +It supports batteries, automatic shutdown when the power is low, +and multiple screens. +</longdescription> + <upstream> + <remote-id type="sourceforge">wmacpimon</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild b/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild new file mode 100644 index 000000000000..999ef11e2ee1 --- /dev/null +++ b/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils + +DESCRIPTION="WMaker DockApp that monitors the temperature and Speedstep features in new ACPI-based systems" +HOMEPAGE="http://www.vrlteam.org/wmacpimon/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_prepare() { + # patch wmacpimon.c file to set default path for + # wmacpimon.prc to /var/tmp/ + epatch "${FILESDIR}"/wmacpimon.c.patch + + # fix LDFLAGS ordering. See bug #248618. + # fix LDFLAGS ordering again and other stuff. See bug #336091. + epatch "${FILESDIR}"/Makefile.patch +} + +src_install() { + dobin wmacpimond wmacpimon || die "dobin failed." + dodoc AUTHORS ChangeLog README + newinitd "${FILESDIR}"/wmacpimon.initscript wmacpimon +} + +pkg_postinst() { + elog "Remember to start the wmacpimond daemon" + elog "(by issuing the \"/etc/init.d/wmacpimon start\" command)" + elog "before you attempt to run wmacpimon..." +} diff --git a/x11-plugins/wmail/Manifest b/x11-plugins/wmail/Manifest new file mode 100644 index 000000000000..cf268db718f8 --- /dev/null +++ b/x11-plugins/wmail/Manifest @@ -0,0 +1 @@ +DIST wmail-2.0.tar.gz 46468 RMD160 5901792368a309734c80333dd14dcee427151d8d SHA1 1495c8188122a4f29d1b0db7ad4a6ee27a5156db SHA256 edcf77bf6a638b96dbd78efe4802d260a68385ab2deb6d6774e325ea0cd3d245 diff --git a/x11-plugins/wmail/files/wmail-2.0.maildir-parse-from.patch b/x11-plugins/wmail/files/wmail-2.0.maildir-parse-from.patch new file mode 100644 index 000000000000..c39329286a57 --- /dev/null +++ b/x11-plugins/wmail/files/wmail-2.0.maildir-parse-from.patch @@ -0,0 +1,12 @@ +--- src/wmail.c 2007-01-26 19:17:08.000000000 +0100 ++++ src/wmail.c.new 2007-01-26 19:17:02.000000000 +0100 +@@ -871,6 +871,9 @@ + InsertName( ParseFromField( buf+6 ), checksum, + isNewMail ? FLAG_INITIAL : FLAG_READ ); + ++ // got name, address: do not parse the rest of email ++ break; ++ + //++numMails; + } + } diff --git a/x11-plugins/wmail/files/wmail-2.0.support-libdockapp-0.5.0.patch b/x11-plugins/wmail/files/wmail-2.0.support-libdockapp-0.5.0.patch new file mode 100644 index 000000000000..b9202b36d3f4 --- /dev/null +++ b/x11-plugins/wmail/files/wmail-2.0.support-libdockapp-0.5.0.patch @@ -0,0 +1,26 @@ +--- configure 2002-08-12 22:59:48.000000000 +0200 ++++ configure 2004-08-31 15:42:52.979115744 +0200 +@@ -2386,8 +2386,8 @@ + fi + + echo $ac_n "checking for DAInitialize in -ldockapp""... $ac_c" 1>&6 +-echo "configure:2390: checking for DAInitialize in -ldockapp" >&5 +-ac_lib_var=`echo dockapp'_'DAInitialize | sed 'y%./+-%__p_%'` ++echo "configure:2390: checking for DAOpenDisplay in -ldockapp" >&5 ++ac_lib_var=`echo dockapp'_'DAOpenDisplay | sed 'y%./+-%__p_%'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -2399,10 +2399,10 @@ + /* Override any gcc2 internal prototype to avoid an error. */ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char DAInitialize(); ++char DAOpenDisplay(); + + int main() { +-DAInitialize() ++DAOpenDisplay() + ; return 0; } + EOF + if { (eval echo configure:2409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then diff --git a/x11-plugins/wmail/metadata.xml b/x11-plugins/wmail/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmail/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/wmail/wmail-2.0-r3.ebuild b/x11-plugins/wmail/wmail-2.0-r3.ebuild new file mode 100644 index 000000000000..af6b97791298 --- /dev/null +++ b/x11-plugins/wmail/wmail-2.0-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Window Maker dock application showing incoming mail" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/70" +SRC_URI="http://www.minet.uni-jena.de/~topical/sveng/wmail/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libdockapp" + +DEPEND="${RDEPEND} + >=sys-apps/sed-4.1.4-r1" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}.support-libdockapp-0.5.0.patch + + # make from parsing in maildir format faster, thanks + # to Stanislav Kuchar + epatch "${FILESDIR}"/${P}.maildir-parse-from.patch + + # fix LDFLAGS ordering, see bug #248620 + sed -i 's/$(LIBS) -o $@ $^/-o $@ $^ $(LIBS)/' "${S}/src/Makefile.in" + + # Honour Gentoo LDFLAGS, see bug #337407 + sed -i 's/-o $@ $^ $(LIBS)/$(LDFLAGS) -o $@ $^ $(LIBS)/' "${S}/src/Makefile.in" +} + +src_compile() { + econf --enable-delt-xpms || die "econf failed." + emake || die "emake failed." +} + +src_install() { + dobin src/wmail + dodoc README wmailrc-sample +} diff --git a/x11-plugins/wmapm/Manifest b/x11-plugins/wmapm/Manifest new file mode 100644 index 000000000000..ac012f6ee4c4 --- /dev/null +++ b/x11-plugins/wmapm/Manifest @@ -0,0 +1 @@ +DIST wmapm-3.1.tar.gz 28321 RMD160 d6f0b542c0d3369afb794057e51b812fcb87819b SHA1 f7c69758e8ae1772dedee42231d20f61c46383fa SHA256 5ba382c2ba301e45faa1d53a3e2582afe37fe039bfd3a7080d8c3930f4608184 diff --git a/x11-plugins/wmapm/metadata.xml b/x11-plugins/wmapm/metadata.xml new file mode 100644 index 000000000000..3272aa8dbc51 --- /dev/null +++ b/x11-plugins/wmapm/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> + wmapm is a small dock-app for WindowMaker that shows + continually-updated APM statistics. It's a must have for Laptop + users. Features include status of power supply, percentage of + battery remaining, battery charging, time left to battery depletion + and high/low/critical battery status. + </longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmapm/wmapm-3.1-r1.ebuild b/x11-plugins/wmapm/wmapm-3.1-r1.ebuild new file mode 100644 index 000000000000..0bf2c6175dbc --- /dev/null +++ b/x11-plugins/wmapm/wmapm-3.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="WindowMaker DockApp: Battery/Power status monitor for laptops" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/25/${P}.tar.gz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/18" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 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}" + + #Respect LDFLAGS, see bug #334747 + sed -i 's/ -o wmapm/ ${LDFLAGS} -o wmapm/' "Makefile" +} + +src_compile() { + emake COPTS="${CFLAGS}" || die "make failed" +} + +src_install() { + dobin wmapm || die "dobin failed." + doman wmapm.1 + dodoc ../{BUGS,CHANGES,HINTS,README,TODO} +} diff --git a/x11-plugins/wmapmload/Manifest b/x11-plugins/wmapmload/Manifest new file mode 100644 index 000000000000..2a0ba3d32743 --- /dev/null +++ b/x11-plugins/wmapmload/Manifest @@ -0,0 +1 @@ +DIST wmapmload-0.3.4.tar.gz 91667 SHA256 a545ebf0b4fd6d34f074cbddc7c0fb2c4f1f068d86053acb79895bf565ce2df9 diff --git a/x11-plugins/wmapmload/metadata.xml b/x11-plugins/wmapmload/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/wmapmload/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/wmapmload/wmapmload-0.3.4.ebuild b/x11-plugins/wmapmload/wmapmload-0.3.4.ebuild new file mode 100644 index 000000000000..e37229caad7b --- /dev/null +++ b/x11-plugins/wmapmload/wmapmload-0.3.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +DESCRIPTION="dockapp that monitors your apm battery status" +SRC_URI="http://tnemeth.free.fr/projets/programmes/${P}.tar.gz" +HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html" + +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +LICENSE="GPL-2" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_install () { + emake DESTDIR="${D}" install || die "installation failed" +} diff --git a/x11-plugins/wmappl/Manifest b/x11-plugins/wmappl/Manifest new file mode 100644 index 000000000000..21da30140db8 --- /dev/null +++ b/x11-plugins/wmappl/Manifest @@ -0,0 +1 @@ +DIST wmappl-0.71.tar.gz 139219 SHA256 435447b20f1e3cef125bb8ec75963006eb2dfe7ac46fdadd48cfbfd55ca92a70 SHA512 dbcf1441960fd22b5436515c28c6870ff8400cfbe0b2aa4129ff1eaad6faeb5e0a3500b4c6f19b6ce3ea3dc8b52bc38a6fc591b93e6cb12e13d8447c3eb371d2 WHIRLPOOL 9e9ccae11a3ab648c5008f6fe7b8116b229df09f3027b9826bdf75b3d1302ff6f90dc546950da2812f7d70a17d49ddded35a82483da05d9b01e3dc303162e248 diff --git a/x11-plugins/wmappl/metadata.xml b/x11-plugins/wmappl/metadata.xml new file mode 100644 index 000000000000..cd558567d069 --- /dev/null +++ b/x11-plugins/wmappl/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmappl</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmappl/wmappl-0.71.ebuild b/x11-plugins/wmappl/wmappl-0.71.ebuild new file mode 100644 index 000000000000..af26a7b6557f --- /dev/null +++ b/x11-plugins/wmappl/wmappl-0.71.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +IUSE="" +DESCRIPTION="Simple application launcher for the Window Maker dock" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://wmappl.sourceforge.net/" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 sparc amd64 ppc" + +src_compile() { + econf || die "Configuration failed" + emake || die "Compilation failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "Installation failed" +} diff --git a/x11-plugins/wmbatteries/Manifest b/x11-plugins/wmbatteries/Manifest new file mode 100644 index 000000000000..0053d1b85c34 --- /dev/null +++ b/x11-plugins/wmbatteries/Manifest @@ -0,0 +1 @@ +DIST wmbatteries-0.1.3.tar.bz2 113695 SHA256 05d5c6236bbe18eb99c65ca4b8f851b46f886e99793c537e25fc63b0b225c3d0 SHA512 0a553f12bcf9a673d2a956da04b14fd6d80cf75f47e912f01893ec06880d63275bc31bc8bc1655a13f11dc1361e96f9023290006e134956b625401a03f92575c WHIRLPOOL 3d605604374327d41985117141246fdafcd1434c12b98b23bb17070fb05845c356d98729ead66c9f419e869280b2c033cf507e50597831ac64a393a07d6192b1 diff --git a/x11-plugins/wmbatteries/metadata.xml b/x11-plugins/wmbatteries/metadata.xml new file mode 100644 index 000000000000..a4331e5783a7 --- /dev/null +++ b/x11-plugins/wmbatteries/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmbatteries</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmbatteries/wmbatteries-0.1.3.ebuild b/x11-plugins/wmbatteries/wmbatteries-0.1.3.ebuild new file mode 100644 index 000000000000..8f732c9e5a4f --- /dev/null +++ b/x11-plugins/wmbatteries/wmbatteries-0.1.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Dock app for monitoring the current battery status and CPU temperature" +HOMEPAGE="http://sourceforge.net/projects/wmbatteries" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +IUSE="" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_install() { + emake DESTDIR="${D}" install || die "Installation failed" + dodoc AUTHORS THANKS README example/wmbatteriesrc +} diff --git a/x11-plugins/wmbattery/Manifest b/x11-plugins/wmbattery/Manifest new file mode 100644 index 000000000000..dfe4dac9bf38 --- /dev/null +++ b/x11-plugins/wmbattery/Manifest @@ -0,0 +1,3 @@ +DIST wmbattery-2.45.tar.gz 38767 SHA256 c6ba2f3fb47ad53bbf9e435e675a9ef092512195b8e953774c35cef147fd036f SHA512 fe6ddfbc13cf5fe1645ed36fb60a0592e607d1f29cc1d21b0deb4f730601ecb0c1222a9abc7a0e9b5f0b7a82f6c5e844409e4e4f39f1d682c3a1f97d733f8e07 WHIRLPOOL 71df4d7b999bf7f00a8b4b7e130577fbc47289c3daed7d312d3dbceb064d87617a2175c27670cbcabd2026fdf3057fd602f5abf320259213e0b3124ed3be3a52 +DIST wmbattery-2.47.tar.gz 39172 SHA256 f376a9eb4c12542dbb832d1e0131693fa87ba78be5818131ca723643a2c3d154 SHA512 8fb102959817bb3df115755a367412898d86296022ef0b8771a7723db76b29fff921950246e98aee2e8ed4091f77f57b6a2290606f2496fc3d85da496c5e925f WHIRLPOOL d33cd2bf4f32e5f45229b966ba3a90eac6572278a834eb7a3b851e55ec3f2798ac4099a3097e9d7b70aaef66e25f7b6beb74a214418648a55d9be0f56c025a2e +DIST wmbattery_2.44.tar.gz 39278 SHA256 aa0a1312922ba4f0abca5f2e8abbf285363bf4a1c8862d89fe2921e74c832cae SHA512 ce6eb3a7b9028d8923d920fe831203a9bd0c2cd3a02df0cf5074296d55dcace9750edfd8237faa9397003ed97b0305ef8e91d029261593a54269c17d0b7b3717 WHIRLPOOL cae6d6027f8bafa1966ab6b7d377fa817e767e23726e907932f7da74e46a081729568df069df5d1f01b7f7e06740bfcb8cab90ac4ba10e93b3e09fe04cba5e1a diff --git a/x11-plugins/wmbattery/metadata.xml b/x11-plugins/wmbattery/metadata.xml new file mode 100644 index 000000000000..f8f39db14814 --- /dev/null +++ b/x11-plugins/wmbattery/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> +Wmbattery displays the status of your laptop's battery in a small icon. This +includes if it is plugged in, if the battery is charging, how many minutes of +battery life remain, battery life remaining (with both a percentage and a +graph), and battery status (high - green, low - yellow, or critical - red). +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmbattery/wmbattery-2.44.ebuild b/x11-plugins/wmbattery/wmbattery-2.44.ebuild new file mode 100644 index 000000000000..f167252a3088 --- /dev/null +++ b/x11-plugins/wmbattery/wmbattery-2.44.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools + +DESCRIPTION="A dockable app to report APM, ACPI, or SPIC battery status" +HOMEPAGE="http://joeyh.name/code/wmbattery/" +SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc -sparc x86" +IUSE="upower" + +RDEPEND="sys-apps/apmd + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( README TODO debian/changelog ) + +src_prepare() { + sed -i \ + -e '/^icondir/s:icons:pixmaps:' \ + autoconf/makeinfo.in || die + + use upower || { sed -i -e 's:USE_UPOWER = 1:#&:' autoconf/makeinfo.in || die; } + + eautoconf +} diff --git a/x11-plugins/wmbattery/wmbattery-2.45.ebuild b/x11-plugins/wmbattery/wmbattery-2.45.ebuild new file mode 100644 index 000000000000..3955cd1e6c75 --- /dev/null +++ b/x11-plugins/wmbattery/wmbattery-2.45.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools + +DESCRIPTION="A dockable app to report APM, ACPI, or SPIC battery status" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmbattery" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc -sparc ~x86" +IUSE="upower" + +RDEPEND="sys-apps/apmd + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/dockapps + +DOCS=( ChangeLog README TODO ) + +src_prepare() { + sed -i \ + -e '/^icondir/s:icons:pixmaps:' \ + autoconf/makeinfo.in || die + + use upower || { sed -i -e 's:USE_UPOWER = 1:#&:' autoconf/makeinfo.in || die; } + + eautoreconf +} diff --git a/x11-plugins/wmbattery/wmbattery-2.47.ebuild b/x11-plugins/wmbattery/wmbattery-2.47.ebuild new file mode 100644 index 000000000000..44f06d134abb --- /dev/null +++ b/x11-plugins/wmbattery/wmbattery-2.47.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools + +DESCRIPTION="A dockable app to report APM, ACPI, or SPIC battery status" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmbattery" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc -sparc ~x86" +IUSE="apm +upower" + +RDEPEND="apm? ( sys-apps/apmd ) + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/dockapps + +DOCS=( ChangeLog README TODO ) + +src_prepare() { + sed -i \ + -e '/^icondir/s:icons:pixmaps:' \ + autoconf/makeinfo.in || die + + use upower || { sed -i -e 's:USE_UPOWER = 1:#&:' autoconf/makeinfo.in || die; } + + eautoreconf +} diff --git a/x11-plugins/wmbiff/Manifest b/x11-plugins/wmbiff/Manifest new file mode 100644 index 000000000000..b4cadf8454dd --- /dev/null +++ b/x11-plugins/wmbiff/Manifest @@ -0,0 +1 @@ +DIST wmbiff-0.4.28.tar.gz 111398 SHA256 6e2acd3268dad93c596e4eae6ccf4407667f07226cf61dd7cfa312ae5e42dbc1 SHA512 a17fd4b4c3de09a907b7ffccc50f4560a7fddd5cb4dd01c72460806dc55259ba0b587d75f7505171a2a833f6735ddc4ded0a484d4227bfd552cc7343d79d7720 WHIRLPOOL c4a0c54f41a3ae33785364ea3bca808bc5b0c801a87ea33bd569f8fac9bb7632155af5d666bc7b3dbfe10fbebb8b2202fccb49266ded3fd299f2e0ac2749785c diff --git a/x11-plugins/wmbiff/files/wmbiff-0.4.27-gnutls-3.patch b/x11-plugins/wmbiff/files/wmbiff-0.4.27-gnutls-3.patch new file mode 100644 index 000000000000..d68512450f8e --- /dev/null +++ b/x11-plugins/wmbiff/files/wmbiff-0.4.27-gnutls-3.patch @@ -0,0 +1,60 @@ +diff -Naur wmbiff-0.4.27.orig/wmbiff/gnutls-common.c wmbiff-0.4.27/wmbiff/gnutls-common.c +--- wmbiff-0.4.27.orig/wmbiff/gnutls-common.c 2012-07-04 21:45:00.013010829 +0200 ++++ wmbiff-0.4.27/wmbiff/gnutls-common.c 2012-07-04 21:48:39.306250592 +0200 +@@ -4,7 +4,6 @@ + #include <stdlib.h> + #include <string.h> + #include <gnutls/gnutls.h> +-#include <gnutls/extra.h> + #include <gnutls/x509.h> + #include <gnutls/openpgp.h> + #include <time.h> +@@ -335,8 +334,8 @@ + void print_cert_vrfy(gnutls_session session) + { + +- int status; +- status = gnutls_certificate_verify_peers(session); ++ int verify_ret, status; ++ verify_ret = gnutls_certificate_verify_peers2(session, &status); + printf("\n"); + + if (status == GNUTLS_E_NO_CERTIFICATE_FOUND) { +@@ -509,7 +508,6 @@ + + printf("Compression methods:"); + printf(" ZLIB"); +- printf(", LZO"); + printf(", NULL\n"); + } + +@@ -637,8 +635,6 @@ + comp_priority[j++] = GNUTLS_COMP_NULL; + if (strncasecmp(comp[i], "ZLI", 3) == 0) + comp_priority[j++] = GNUTLS_COMP_ZLIB; +- if (strncasecmp(comp[i], "LZO", 3) == 0) +- comp_priority[j++] = GNUTLS_COMP_LZO; + } + comp_priority[j] = 0; + } +diff -Naur wmbiff-0.4.27.orig/wmbiff/tlsComm.c wmbiff-0.4.27/wmbiff/tlsComm.c +--- wmbiff-0.4.27.orig/wmbiff/tlsComm.c 2012-07-04 21:45:00.013010829 +0200 ++++ wmbiff-0.4.27/wmbiff/tlsComm.c 2012-07-04 21:50:27.897367863 +0200 +@@ -410,7 +410,7 @@ + tls_check_certificate(struct connection_state *scs, + const char *remote_hostname) + { +- int certstat; ++ int verify_ret, certstat; + const gnutls_datum *cert_list; + int cert_list_size = 0; + gnutls_x509_crt cert; +@@ -419,7 +419,7 @@ + bad_certificate(scs, "Unable to get certificate from peer.\n"); + return; /* bad_cert will exit if -skip-certificate-check was not given */ + } +- certstat = gnutls_certificate_verify_peers(scs->tls_state); ++ verify_ret = gnutls_certificate_verify_peers2(scs->tls_state, &certstat); + if (certstat == GNUTLS_E_NO_CERTIFICATE_FOUND) { + bad_certificate(scs, "server presented no certificate.\n"); + #ifdef GNUTLS_CERT_CORRUPTED diff --git a/x11-plugins/wmbiff/files/wmbiff-0.4.27-gnutls.patch b/x11-plugins/wmbiff/files/wmbiff-0.4.27-gnutls.patch new file mode 100644 index 000000000000..738d8f160a7a --- /dev/null +++ b/x11-plugins/wmbiff/files/wmbiff-0.4.27-gnutls.patch @@ -0,0 +1,26 @@ +http://bugs.gentoo.org/268502 + +--- configure.ac ++++ configure.ac +@@ -77,13 +77,14 @@ + + GNUTLS_MAN_STATUS="This copy of WMBiff was not compiled with GNUTLS." + if test "$gnutls" = "ok"; then +- AM_PATH_LIBGNUTLS(1.0.4, [LIBS="$LIBS $LIBGNUTLS_LIBS" +- CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" +- CPPFLAGS="$CPPFLAGS $LIBGNUTLS_CFLAGS" +- GNUTLS_COMMON_O="gnutls-common.o" +- GNUTLS_MAN_STATUS="This copy of WMBiff was compiled with GNUTLS." +- AC_CHECK_HEADERS(gnutls/gnutls.h) ], +- [ echo GNUTLS can be found at ftp://gnutls.hellug.gr/pub/gnutls ]) ++ PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.0.4], ++ [LIBS="$LIBS $LIBGNUTLS_LIBS" ++ CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" ++ CPPFLAGS="$CPPFLAGS $LIBGNUTLS_CFLAGS" ++ GNUTLS_COMMON_O="gnutls-common.o" ++ GNUTLS_MAN_STATUS="This copy of WMBiff was compiled with GNUTLS." ++ AC_CHECK_HEADERS(gnutls/gnutls.h) ], ++ [ echo GNUTLS can be found at ftp://gnutls.hellug.gr/pub/gnutls ]) + else + AC_MSG_RESULT(GNUTLS support requires libz.a and libgdbm.a, so will be disabled) + fi diff --git a/x11-plugins/wmbiff/files/wmbiff-0.4.27-invalid-strncpy.patch b/x11-plugins/wmbiff/files/wmbiff-0.4.27-invalid-strncpy.patch new file mode 100644 index 000000000000..07f9bad989d6 --- /dev/null +++ b/x11-plugins/wmbiff/files/wmbiff-0.4.27-invalid-strncpy.patch @@ -0,0 +1,17 @@ +This corrupted the path for me before, so it couldn't find the file. Presumably since the glibc change to copy stuff backwards. + +diff -pudr wmbiff-0.4.27/wmbiff/mboxClient.c wmbiff-0.4.27-mik/wmbiff/mboxClient.c +--- wmbiff-0.4.27/wmbiff/mboxClient.c 2004-03-28 01:28:58.000000000 +0100 ++++ wmbiff-0.4.27-mik/wmbiff/mboxClient.c 2011-09-16 09:54:22.834144487 +0200 +@@ -149,7 +149,10 @@ int mboxCreate(Pop3 pc, const char *str) + DM(pc, DEBUG_ERROR, "mbox '%s' is too long.\n", str + 5); + memset(pc->path, 0, BUF_BIG); + } else { +- strncpy(pc->path, str + 5, BUF_BIG - 1); /* cut off ``mbox:'' */ ++ /* str is always pc.path, so we can't use strncpy */ ++ int len = strlen(str + 5); ++ memmove(pc->path, str + 5, min(len, BUF_BIG - 1)); /* cut off ``mbox:'' */ ++ pc->path[len] = '\0'; + } + } + diff --git a/x11-plugins/wmbiff/metadata.xml b/x11-plugins/wmbiff/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmbiff/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/wmbiff/wmbiff-0.4.28.ebuild b/x11-plugins/wmbiff/wmbiff-0.4.28.ebuild new file mode 100644 index 000000000000..e24cba80611c --- /dev/null +++ b/x11-plugins/wmbiff/wmbiff-0.4.28.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="WMBiff is a dock applet for WindowMaker which can monitor up to 5 mailboxes" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmbiff" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="crypt" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + crypt? ( + >=dev-libs/libgcrypt-1.2.1:0 + >=net-libs/gnutls-2.2.0 + )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-proto/xextproto + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +DOCS="ChangeLog FAQ NEWS README TODO wmbiff/sample.wmbiffrc" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.4.27-invalid-strncpy.patch + eautoreconf +} + +src_configure() { + econf $(use_enable crypt crypto) +} diff --git a/x11-plugins/wmbinclock/Manifest b/x11-plugins/wmbinclock/Manifest new file mode 100644 index 000000000000..0b6e5147e7ae --- /dev/null +++ b/x11-plugins/wmbinclock/Manifest @@ -0,0 +1 @@ +DIST wmbinclock-0.5.tar.bz2 15909 SHA256 42b57f8ec534cac8848b0b00ff21a95753517d5a32268fb1a348436e54ef3433 diff --git a/x11-plugins/wmbinclock/metadata.xml b/x11-plugins/wmbinclock/metadata.xml new file mode 100644 index 000000000000..a57e6c4326b7 --- /dev/null +++ b/x11-plugins/wmbinclock/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> +The windowmaker Binary Clock applet shows the +actual system time as a binary clock. You have to +add up the bits to get the time. The clock has a +24-hour format. +</longdescription> + <upstream> + <remote-id type="sourceforge">wmbinclock</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmbinclock/wmbinclock-0.5.ebuild b/x11-plugins/wmbinclock/wmbinclock-0.5.ebuild new file mode 100644 index 000000000000..b5e7431a456c --- /dev/null +++ b/x11-plugins/wmbinclock/wmbinclock-0.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +DESCRIPTION="a nifty little binary clock dockapp" +HOMEPAGE="http://wmbinclock.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \ + INCDIR="-I/usr/include/X11" LIBDIR="" \ + SYSTEM="${LDFLAGS}" || die "emake failed." +} + +src_install() { + dobin wmBinClock + dosym wmBinClock /usr/bin/${PN} + dodoc CHANGELOG README +} diff --git a/x11-plugins/wmbio/Manifest b/x11-plugins/wmbio/Manifest new file mode 100644 index 000000000000..17637db2e590 --- /dev/null +++ b/x11-plugins/wmbio/Manifest @@ -0,0 +1 @@ +DIST wmbio-1.02.tar.gz 21799 RMD160 a862c6baf320c6139819608daf30fa5da9db32c6 SHA1 d0642d5f51752b2ec6e178b3a7a628a9ab7bb7e1 SHA256 165483b121f2af7ce2f09a62f0f9fbe02118960c281fe5f4eacad62de39a0dbf diff --git a/x11-plugins/wmbio/metadata.xml b/x11-plugins/wmbio/metadata.xml new file mode 100644 index 000000000000..3563b2d13d07 --- /dev/null +++ b/x11-plugins/wmbio/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +Wmbio is a dockapp designed for WindowMaker. +Given your birth date, it can show you your +biorhythms, allows you to see the progress in time +of your biorhythms, and calculates your next totally +positive or negative biorhythmic level. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmbio/wmbio-1.02.ebuild b/x11-plugins/wmbio/wmbio-1.02.ebuild new file mode 100644 index 000000000000..30b687e99075 --- /dev/null +++ b/x11-plugins/wmbio/wmbio-1.02.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils + +DESCRIPTION="A Window Maker applet that shows your biorhythm" +SRC_URI="http://wmbio.sourceforge.net/${P}.tar.gz" +HOMEPAGE="http://wmbio.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/src + +src_prepare() { + # Honour Gentoo CFLAGS + sed -i "s/-g -O2/\$(CFLAGS)/" Makefile + + # Honour Gentoo LDFLAGS + sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile +} + +src_compile() { + emake || die "emake failed" +} + +src_install () { + dobin wmbio || die "dobin failed" + dodoc ../{AUTHORS,Changelog,NEWS,README} || die +} diff --git a/x11-plugins/wmblob/Manifest b/x11-plugins/wmblob/Manifest new file mode 100644 index 000000000000..ffcdbe06b1de --- /dev/null +++ b/x11-plugins/wmblob/Manifest @@ -0,0 +1 @@ +DIST wmblob_1.0.3.orig.tar.gz 180039 SHA256 d26850fe15e444817ed9996663427bd933a74d4e5591008a5a7c39d21e2583b2 diff --git a/x11-plugins/wmblob/metadata.xml b/x11-plugins/wmblob/metadata.xml new file mode 100644 index 000000000000..aa3d72474b1f --- /dev/null +++ b/x11-plugins/wmblob/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="freshmeat">wmblob</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmblob/wmblob-1.0.3.ebuild b/x11-plugins/wmblob/wmblob-1.0.3.ebuild new file mode 100644 index 000000000000..24d0aaf25e3d --- /dev/null +++ b/x11-plugins/wmblob/wmblob-1.0.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools multilib + +DESCRIPTION="a fancy but useless dockapp with moving blobs" +HOMEPAGE="http://freshmeat.net/projects/wmblob" +SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-proto/xextproto + x11-libs/libXt" + +DOCS="AUTHORS ChangeLog NEWS README doc/how_it_works" + +src_prepare() { + sed -i \ + -e "s:-O2:${CFLAGS}:g" \ + -e "s:\$x_libraries:/usr/$(get_libdir):" \ + configure.ac || die + + eautoreconf +} diff --git a/x11-plugins/wmbluecpu/Manifest b/x11-plugins/wmbluecpu/Manifest new file mode 100644 index 000000000000..b9358d4d6ee5 --- /dev/null +++ b/x11-plugins/wmbluecpu/Manifest @@ -0,0 +1 @@ +DIST wmbluecpu-0.6.tar.bz2 14245 SHA256 fe7ac638acf36848d822a9619cd86ea9c8114670fd76a8e8a52e34c47a4cfdfd diff --git a/x11-plugins/wmbluecpu/metadata.xml b/x11-plugins/wmbluecpu/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmbluecpu/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/wmbluecpu/wmbluecpu-0.6.ebuild b/x11-plugins/wmbluecpu/wmbluecpu-0.6.ebuild new file mode 100644 index 000000000000..926ddd1ee0ca --- /dev/null +++ b/x11-plugins/wmbluecpu/wmbluecpu-0.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +DESCRIPTION="a blue dockapp to monitor CPU usage" +HOMEPAGE="http://misuceldestept.go.ro/wmbluecpu" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + sed -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' -e 's:-L/usr/X11R6/lib::' \ + -e 's:strip $(PROG)::' -i "${S}"/Makefile +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \ + || die "emake failed." +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc AUTHORS ChangeLog README THANKS +} diff --git a/x11-plugins/wmbutton/Manifest b/x11-plugins/wmbutton/Manifest new file mode 100644 index 000000000000..0cc3e02d88d4 --- /dev/null +++ b/x11-plugins/wmbutton/Manifest @@ -0,0 +1,3 @@ +DIST wmbutton-0.6.1.tar.gz 48404 SHA256 423c99bff4657b968cd14913097e8ac821a6b238b150fb4eacb36d661739a09f +DIST wmbutton-0.7.0.tar.gz 48381 SHA256 dd6d7a4188b9acd22538d04de2ce0a5e3822e91488a1521df4ff9d09a922f950 SHA512 dc631caca0b1ed6daf8781a0893464b91d788b3d0f81dc22a33d13715cda7becbb145d2d3d34ab93a9a343ed178171c376f81e2eb25e9436d1da8ee2d6455ce2 WHIRLPOOL 0b16fab3064ce98d1c6fda5e4856ec9b3b63b7733bc39ee4ab2a96faa7829e77f5e2a45b60124e4f1c91bfa1004c2b6cf3a8e38d8142daff11e34013a2576570 +DIST wmbutton-buttons.xpm 25003 SHA256 357de6947c75339ed8156bd09287f82ef46dad22d16b1c82f7bbce12fd287318 SHA512 eb73812b8a4060a6bb13a477275224a2e6d50f7b77944f2f674c4995e0053f3d3c667d483c86dda98b69f398fd332e4c836ddf9eb3410e1e29b69449b874537c WHIRLPOOL ddc743a8d689ae46a44515e39531acc63a39534cbbf96184e6fa7e243dd1cee253ca10da65aec03391e6b6a92ddad72826bb1be56c6a301a786e90beddc4ba5f diff --git a/x11-plugins/wmbutton/files/sample.wmbutton b/x11-plugins/wmbutton/files/sample.wmbutton new file mode 100644 index 000000000000..a4177a24e081 --- /dev/null +++ b/x11-plugins/wmbutton/files/sample.wmbutton @@ -0,0 +1,43 @@ +# Buttons are numbered as follows +# Left 1 2 3 Middle 11 12 13 Right 21 22 23 +# button 4 5 6 button 14 15 16 button 24 25 26 +# 7 8 9 17 18 19 27 28 29 +# + +1 mozilla & +11 firefox & +21 opera & + +2 evolution & +12 mozilla -mail & +22 gftp & + +3 xterm -T 'xterm' & +13 Eterm -T 'Eterm' & +23 aterm -T 'Aterm' & + +4 psi & +14 gaim & +24 kadu & + +5 gentoo & +15 xterm -T 'Midnight Commander' -e mc & +25 xffm & + +6 ooffice & +16 gnumeric & +26 acroread & + +7 xmms & +17 gmplayer & +27 audacity & + +8 gimp-2.0 & +18 sodipodi & +28 kpaint & + +9 kghostview & +19 ggv & +29 xpdf & +# The above don't need to be in any particular order. +# Repeated entries should be ignored diff --git a/x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch b/x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch new file mode 100644 index 000000000000..7654c8cd40e7 --- /dev/null +++ b/x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch @@ -0,0 +1,27 @@ +diff -ur wmbutton-0.6.1.orig/Makefile wmbutton-0.6.1/Makefile +--- wmbutton-0.6.1.orig/Makefile 2005-01-16 17:12:54.000000000 +0200 ++++ wmbutton-0.6.1/Makefile 2008-01-13 08:15:02.000000000 +0200 +@@ -1,19 +1,17 @@ +-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11 +-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib ++INCLUDES =-I/usr/include/X11 + LIBS = -lX11 -lXpm -lXext ++CC = gcc + + TARGET = wmbutton + OBJECTS = wmbutton.o wmb_libs.o + +-CFLAGS += -c -Wall -O2 +- + all: ${TARGET} tags + + .c.o: +- gcc ${CFLAGS} ${INCLUDES} $< -o $*.o ++ ${CC} -c ${CFLAGS} ${INCLUDES} $< -o $*.o + + ${TARGET}: ${OBJECTS} +- gcc -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS} ++ ${CC} ${LDFLAGS} ${OBJECTS} ${LIBS} -o ${TARGET} + + clean:: + for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done diff --git a/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch b/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch new file mode 100644 index 000000000000..f9197842b44a --- /dev/null +++ b/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch @@ -0,0 +1,26 @@ +--- Makefile.orig 2014-10-06 15:20:41.300883734 +0200 ++++ Makefile 2014-10-06 15:22:08.936939085 +0200 +@@ -1,6 +1,6 @@ + INCLUDES =-I/usr/include -I/usr/local/include +-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib + LIBS = -lX11 -lXpm -lXext ++CC = gcc + + TARGET = wmbutton + OBJECTS = wmbutton.o wmb_libs.o +@@ -14,13 +14,11 @@ + INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 + INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 + +-CFLAGS += -Wall -O2 +- + .c.o: +- gcc -c ${CFLAGS} ${INCLUDES} $< -o $*.o ++ ${CC} -c ${CFLAGS} ${INCLUDES} $< -o $*.o + + ${TARGET}: ${OBJECTS} +- gcc -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS} ++ ${CC} ${LDFLAGS} ${OBJECTS} ${LIBS} -o ${TARGET} + + clean:: + for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done diff --git a/x11-plugins/wmbutton/metadata.xml b/x11-plugins/wmbutton/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmbutton/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/wmbutton/wmbutton-0.6.1.ebuild b/x11-plugins/wmbutton/wmbutton-0.6.1.ebuild new file mode 100644 index 000000000000..762fb15ebc4a --- /dev/null +++ b/x11-plugins/wmbutton/wmbutton-0.6.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="a dockapp application that displays nine configurable buttons" +HOMEPAGE="http://www.freshports.org/x11/wmbutton" +SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${P}.tar.gz + branding? ( mirror://gentoo/${PN}-buttons.xpm )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="branding" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto + dev-util/ctags" + +src_unpack() { + unpack ${P}.tar.gz + cd "${S}" + epatch "${FILESDIR}"/${P}-Makefile.patch + use branding && cp "${DISTDIR}"/${PN}-buttons.xpm buttons.xpm +} + +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed." +} + +src_install() { + dobin ${PN} + dodoc README + use branding && dodoc "${FILESDIR}"/sample.wmbutton + use branding || newdoc .wmbutton sample.wmbutton +} diff --git a/x11-plugins/wmbutton/wmbutton-0.7.0.ebuild b/x11-plugins/wmbutton/wmbutton-0.7.0.ebuild new file mode 100644 index 000000000000..0fbdd900eac3 --- /dev/null +++ b/x11-plugins/wmbutton/wmbutton-0.7.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="a dockapp application that displays nine configurable buttons" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmbutton" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz + branding? ( mirror://gentoo/${PN}-buttons.xpm )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="branding" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch + use branding && cp "${DISTDIR}"/${PN}-buttons.xpm buttons.xpm +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + dodoc README + use branding && dodoc "${FILESDIR}"/sample.wmbutton + use branding || dodoc sample.wmbutton +} diff --git a/x11-plugins/wmcalc/Manifest b/x11-plugins/wmcalc/Manifest new file mode 100644 index 000000000000..c3ce6420d68d --- /dev/null +++ b/x11-plugins/wmcalc/Manifest @@ -0,0 +1,2 @@ +DIST wmcalc-0.4.tar.gz 42694 SHA256 944b69ce2e5489dc0ec78fc02d4da26af2102a18300eb3607c3a5de4b97a384a +DIST wmcalc-0.5.tar.gz 43834 SHA256 da08429c045ad4434158c852b3db97be06bcef2c42bafac2749821cf0b015e35 SHA512 750f7e74ff60ed61a18e96ca6ed6347be77bc559384911f701a214e5db19d15178eb0a68b7abd0f91369287910b39e0a7d18f24adedf045d9d536e9b084b53f3 WHIRLPOOL 1d2ba999fde06bda49c06cd65ba1f5f0682a700e10d1854ce8aacaed96507067217dce70c533ce074351270973c17870479a12d6319f4ad7750483d6d627fd0e diff --git a/x11-plugins/wmcalc/files/wmcalc.man b/x11-plugins/wmcalc/files/wmcalc.man new file mode 100644 index 000000000000..4485d57c3fcf --- /dev/null +++ b/x11-plugins/wmcalc/files/wmcalc.man @@ -0,0 +1,117 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH WMCALC 1 "September 20, 2001" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +wmcalc \- dockable calculator application +.SH SYNOPSIS +.B wmcalc +[-g \fIgeometry\fP] [-d \fIdisplay\fP] [-v] [-f \fIconfigfile\fP] [-h] + +.SH DESCRIPTION +This manual page documents briefly the +.B wmcalc +command. +This manual page was written for the Gentoo Linux distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB<whatever>\fP and +.\" \fI<whatever>\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBwmcalc\fP is a program designed to act as a simple calculator offering basic operations like addition, subtraction, multiplication, division, square and squareroot. It is different from other calculator programs, however in that it is designed to take up very little desktop space. As such, it can be left running on the desktop at all times. It is intended to placed in the WindowMaker dock, or in Wharf under Afterstep, though it should run as well under any window manager. + + +Buttons are defined as: +.nf + ____________________ +| x00 | x = 1 for Left Mouse Button +| 0 1 2 3 4 5 6 7 8 9| x = 2 for Middle Mouse Button +|--------------------| x = 3 for Right Mouse Button +|x01 x02 x03 x04 x05 | +|x06 x07 x08 x09 x10 | Note: the numbers 0..9 are the +|x11 x12 x13 x14 x15 | indicators for memory cells +|x16 x17 x18 x19 x20 | 0..9 respectively + -------------------- +.fi +.TP +Button Functions: +.TP +.B 100 +Reinitialize the calculator. (100 = Left Mouse Button on Display) +.TP +.B 200 +Clear all the memory registers (0..10) +.TP +.B 300 +Clear the current number being entered only +.TP +.B x11 +Start a program defined by CalcStart variable in config file +.TP +.B 1yy +Perform function shown on button +.TP +.B 2yy +Recall number from memory location [0-9] to display for calculation if yy = 2,3,4, 7,8,9, 12, 13, 14, 17 otherwise, can run a user-defined function (not implemented) +.TP +.B 3yy +Store Displayed number in memory location [0-9] if yy = 2,3,4, 7,8,9, 12,13,14, 17 otherwise, can run a user-defined function (not implemented) +.TP +.B 1xx +Hopefully the other functions are obvious from their button graphics. + + +.SH OPTIONS +.TP +.B \-g <geometry> +Window Geometry - ie: 64x64+10+10 +.TP +.B \-d <display> +Display - ie: 127.0.0.1:0.0 +.TP +.B \-f <filename> +Full path to configuration file. +.TP +.B \-v +Verbose Mode. +.TP +.B \-h +Help. +.SH FILES +.TP +.I /etc/wmbutton.conf +system wide wmbutton configuration file which will be used for all users who start wmcalc the first time. +.TP +.I ~/.wmcalc +The configuration file (.wmcalc) is written by wmcalc whenever the user requests to store a number to memory. This file is automatically created the first time a user launches wmcalc with /etc/wmcalc.conf as template. As a part of this process, a file is written to /tmp. If /tmp is not accessible, it tries in the user's home directory, as defined by the environment variable HOME. This file is erased as soon as it is written over the main configuration file. +.SH CONFIGURATION +.TP +The configuration file is case sensitive. A # starts a comment, and lines consisting entirely of whitespace are ignored. The syntax is simply: +.TP +.B <variable> <content> +Where <variable> and <content> need to be seperated by a Tab \\t and \fBnot\fP spaces. +.TP +\fBmem0 - mem9\fP Calculator Memory Locations. These must all exist, though they may be in any order. +.TP +\fBCalcStart\fP The CalcStart variable is intended to allow the user to start a larger calculator for more complicated needs. Everything after the tab '\\t' character is sent unmodified in a system() call, so anything you can type at the command prompt may be put here. +.TP +\fBImagChar\fP The ImagChar variable allows the user to choose between 'i' and 'j' to represent the sqrt(-1). + +.SH AUTHOR +wmcalc was written by Edward H. Flora <ehflora@access1.net>, and is licensed under the terms of the GNU General Public License. +.TP +This manual page was written by Gordon Fraser <gordon@freakzone.net>, for the Debian GNU/Linux system (but may be used by others). + diff --git a/x11-plugins/wmcalc/metadata.xml b/x11-plugins/wmcalc/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmcalc/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/wmcalc/wmcalc-0.4.ebuild b/x11-plugins/wmcalc/wmcalc-0.4.ebuild new file mode 100644 index 000000000000..cd4d64582958 --- /dev/null +++ b/x11-plugins/wmcalc/wmcalc-0.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit multilib toolchain-funcs + +DESCRIPTION="A WindowMaker DockApp calculator" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/130" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -e "s:gcc:$(tc-getCC):g" \ + -e "s:-O2:${CFLAGS}:g" -i Makefile + + #Honour Gentoo LDFLAGS, see bug #337434 + sed -e "s:-o \${TARGET}:\$(LDFLAGS) -o \${TARGET}:" -i Makefile +} + +src_compile() { + emake INCLUDES="-I/usr/include/X11" \ + LIBINC="-L/usr/$(get_libdir)" \ + || die "emake failed." +} + +src_install() { + dodir /etc /usr/bin + + emake DESTDIR="${D}" PREFIX="/usr" install \ + || die "emake install failed." + + dodoc README + newman "${FILESDIR}"/wmcalc.man wmcalc.1 +} diff --git a/x11-plugins/wmcalc/wmcalc-0.5.ebuild b/x11-plugins/wmcalc/wmcalc-0.5.ebuild new file mode 100644 index 000000000000..93891610e6cb --- /dev/null +++ b/x11-plugins/wmcalc/wmcalc-0.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="A WindowMaker DockApp calculator" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmcalc" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +src_prepare() { + sed -e "/\$(INSTALL_DIR)/s/\/man1//" -i Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + + dodoc README +} diff --git a/x11-plugins/wmcalendar/Manifest b/x11-plugins/wmcalendar/Manifest new file mode 100644 index 000000000000..7807759bc740 --- /dev/null +++ b/x11-plugins/wmcalendar/Manifest @@ -0,0 +1 @@ +DIST wmcalendar-0.5.2.tar.gz 42720 SHA256 1915fe5b9af9de400650db4e9e4fa5934115902e8906144bf266b2f3503e0c00 SHA512 8d60a46f26657bf4876057ed092440018055e5a1ab6e2811a9c27f351533bfe6c941dbec10880daafe0858766cb890863cb66bfb70412e025a8d59ab96c663d7 WHIRLPOOL 416726d0c568aa7246e04dc567457928a2af71c371dad519504982f2f9ef3dbed57f2478d927e9c6f869f2823a13386e28fd124b8839fb9426d83f19b07f5ee4 diff --git a/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-exit-sin-and-cos.patch b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-exit-sin-and-cos.patch new file mode 100644 index 000000000000..1f51b17889ed --- /dev/null +++ b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-exit-sin-and-cos.patch @@ -0,0 +1,67 @@ +--- a/Src/calendarfunc.c 2003-07-13 17:41:02.000000000 +0300 ++++ b/Src/calendarfunc.c 2008-05-03 10:03:06.000000000 +0300 +@@ -22,7 +22,7 @@ + + #include "calendarfunc.h" + #include <stdio.h> +- ++#include <math.h> + + + long persian_jdn(struct icaltimetype dt) +--- a/Src/dockapp.c 2003-07-15 18:15:12.000000000 +0300 ++++ b/Src/dockapp.c 2008-05-03 10:03:34.000000000 +0300 +@@ -23,6 +23,7 @@ + * modified by Seiichi SATO <ssato@sh.rim.or.jp> + */ + ++#include <stdlib.h> + #include "dockapp.h" + + #define WINDOWED_SIZE_W 64 +--- a/Src/Makefile 2003-07-15 18:19:26.000000000 +0300 ++++ b/Src/Makefile 2008-05-03 10:11:48.000000000 +0300 +@@ -1,19 +1,15 @@ +-CC = gcc ++CC ?= gcc + INCLUDES = `pkg-config --cflags gtk+-2.0` -I. +-LFLAGS = `pkg-config --libs gtk+-2.0` + + # for BSD + #INCLUDES = `gtk12-config --cflags` -I. + #LFLAGS = `gtk12-config --libs` +-X11BASE = /usr/X11R6 +-CFLAGS = $(INCLUDES) -DICON_TYPE=$(ICON_TYPE) +-INCDIR = -I$(X11BASE)/include/X11 -I$(X11BASE)/include -I$/usr/include -I$/usr/local/include +-DESTDIR= /usr/local +-LIBDIR = -L/usr/lib -L${X11BASE}/lib -L/usr/local/lib ++CFLAGS += $(INCLUDES) -DICON_TYPE=$(ICON_TYPE) ++PREFIX = /usr + PACKAGE = wmCalendar + + # for Linux +-LIBS = $(LIBDIR) -lXpm -lical -lpthread ++LIBS = -lpthread -lm $(shell $(PKG_CONFIG) --libs gtk+-2.0 x11 xpm xext libical) + # for Solaris (untested!!!) + # LIBS = -lXpm -lX11 -lXext -lsocket -lnsl -lical + +@@ -30,7 +26,7 @@ + all: wmCalendar.o wmCalendar + + wmCalendar: $(OBJECTS) +- $(CC) $(COPTS) $(SYSTEM) $(LFLAGS) -o $@ $(OBJECTS) -o wmCalendar $(INCDIR)$(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@ + + wmCalendar.o: wmCalendar_master.xpm wmCalendar_master2.xpm + clean: +@@ -40,6 +36,8 @@ + rm -f wmCalendar + + install:: wmCalendar +- install -c -s -m 0755 wmCalendar $(DESTDIR)/bin/ +- install -c -m 0644 wmCalendar.1 $(DESTDIR)/man/man1 ++ install -d $(DESTDIR)$(PREFIX)/bin ++ install -m 0755 wmCalendar $(DESTDIR)$(PREFIX)/bin ++ install -d $(DESTDIR)$(PREFIX)/share/man/man1 ++ install -m 0644 wmCalendar.1 $(DESTDIR)$(PREFIX)/share/man/man1 + diff --git a/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-ical.patch b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-ical.patch new file mode 100644 index 000000000000..76a92a65b1db --- /dev/null +++ b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-ical.patch @@ -0,0 +1,19 @@ +--- a/Src/calendar.h ++++ b/Src/calendar.h +@@ -1,4 +1,4 @@ +-#include <ical.h> ++#include <libical/ical.h> + #include <stdlib.h> + #include <gtk/gtk.h> + #include <string.h> +--- a/Src/calendarfunc.h ++++ b/Src/calendarfunc.h +@@ -22,7 +22,7 @@ + + #include <unistd.h> + #include <stdlib.h> +-#include <ical.h> ++#include <libical/ical.h> + #define TIMZ 3.0 + #define MINAGE 13.5 + #define SUNSET 19.5 /*approximate */ diff --git a/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-rename_kill_func.patch b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-rename_kill_func.patch new file mode 100644 index 000000000000..fc648a6b60d0 --- /dev/null +++ b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-rename_kill_func.patch @@ -0,0 +1,20 @@ +--- a/Src/calendar.c ++++ b/Src/calendar.c +@@ -48,7 +48,7 @@ + + + +-void kill (GtkWidget * widget) ++void close_app (GtkWidget * widget) + { + gtk_widget_destroy ((GtkWidget*)gtk_widget_get_toplevel(widget)); + gtk_main_quit (); +@@ -193,7 +193,7 @@ + gtk_signal_connect(GTK_OBJECT (event_box), "button_press_event", + GTK_SIGNAL_FUNC (move), NULL); + gtk_signal_connect(GTK_OBJECT (event_box2), "button_press_event", +- (GtkSignalFunc) kill, GTK_OBJECT(dayView)); ++ (GtkSignalFunc) close_app, GTK_OBJECT(dayView)); + + gtk_widget_realize(dayView); + // gtk_window_set_position(GTK_WINDOW (dayView),GTK_WIN_POS_CENTER_ON_PARENT); diff --git a/x11-plugins/wmcalendar/metadata.xml b/x11-plugins/wmcalendar/metadata.xml new file mode 100644 index 000000000000..53b9ac4c72bf --- /dev/null +++ b/x11-plugins/wmcalendar/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmcalendar</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmcalendar/wmcalendar-0.5.2-r1.ebuild b/x11-plugins/wmcalendar/wmcalendar-0.5.2-r1.ebuild new file mode 100644 index 000000000000..0a0b3818c65d --- /dev/null +++ b/x11-plugins/wmcalendar/wmcalendar-0.5.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="a calendar dockapp" +HOMEPAGE="http://wmcalendar.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc sparc x86" +IUSE="" + +RDEPEND=" + dev-libs/libical + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +DOCS=( ../{BUGS,CHANGES,HINTS,README,TODO} ) + +S=${WORKDIR}/${P}/Src + +src_prepare() { + epatch "${FILESDIR}"/${P}-exit-sin-and-cos.patch + epatch "${FILESDIR}"/${P}-rename_kill_func.patch + epatch "${FILESDIR}"/${P}-ical.patch + tc-export CC PKG_CONFIG +} diff --git a/x11-plugins/wmcalendar/wmcalendar-0.5.2.ebuild b/x11-plugins/wmcalendar/wmcalendar-0.5.2.ebuild new file mode 100644 index 000000000000..05cf58370e23 --- /dev/null +++ b/x11-plugins/wmcalendar/wmcalendar-0.5.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="a calendar dockapp" +HOMEPAGE="http://wmcalendar.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc sparc x86" +IUSE="" + +RDEPEND="dev-libs/libical + x11-libs/gtk+:2 + x11-libs/libXpm + x11-libs/libXext + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${P}/Src + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-exit-sin-and-cos.patch \ + "${FILESDIR}"/${P}-rename_kill_func.patch +} + +src_compile() { + tc-export CC + emake +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ../{BUGS,CHANGES,HINTS,README,TODO} +} diff --git a/x11-plugins/wmcdplay/Manifest b/x11-plugins/wmcdplay/Manifest new file mode 100644 index 000000000000..940992bec48b --- /dev/null +++ b/x11-plugins/wmcdplay/Manifest @@ -0,0 +1,2 @@ +DIST wmcdplay-1.0-beta1.tgz 31919 SHA256 20f0421b0e7ad6eb413b839ca940dd6e3409a37194f27e5534511f5a6b09039a +DIST wmcdplay-1.1.tar.gz 32079 SHA256 5d1cfdcf96a1877d4120109c25b7a9068fb76703e418f73f4cc3696920e51833 SHA512 bf655b7e4ce986b3085410b2a8f3646db0376478f37bec0828fc6f8ed60627037e331ed122f1ebbcb010b7d9b7659a7bc6e636c66f47ec654091daac3a463e14 WHIRLPOOL ddaa2177ef6c6aa5cd6dcd985eba7069ef63ef5d9fe9ee332022e2c1433ce946c9329e188585cd8270c6196469332835146e89a34627e0dff78b63e26b482e07 diff --git a/x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch b/x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch new file mode 100644 index 000000000000..78aaf3022d19 --- /dev/null +++ b/x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch @@ -0,0 +1,8 @@ +--- ./Imakefile.org Wed Nov 28 01:18:02 2001 ++++ ./Imakefile Wed Nov 28 01:19:28 2001 +@@ -7,4 +7,4 @@ + SRCS = wmcdplay.cc + OBJS = wmcdplay.o + +-ComplexProgramTarget(wmcdplay) ++ComplexProgramTargetNoMan(wmcdplay) diff --git a/x11-plugins/wmcdplay/files/wmcdplay-c++.patch b/x11-plugins/wmcdplay/files/wmcdplay-c++.patch new file mode 100644 index 000000000000..a0461c380b4e --- /dev/null +++ b/x11-plugins/wmcdplay/files/wmcdplay-c++.patch @@ -0,0 +1,11 @@ +diff -uNr wmcdplay.old/Imakefile wmcdplay/Imakefile +--- wmcdplay.old/Imakefile Sat Sep 5 10:11:26 1998 ++++ wmcdplay/Imakefile Mon Nov 16 18:27:37 1998 +@@ -1,5 +1,7 @@ + DEPLIBS = $(DEPXLIB) + ++CC = c++ ++ + LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) + + SRCS = wmcdplay.cc diff --git a/x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch b/x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch new file mode 100644 index 000000000000..084a4597d19a --- /dev/null +++ b/x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch @@ -0,0 +1,10 @@ +--- wmcdplay.cc ++++ wmcdplay.cc +@@ -20,6 +20,6 @@ + #define CLASS "WMCDPlay" + + // User defines - custom +-#define SYSARTDIR "/usr/X11R6/lib/X11/wmcdplay/" ++#define SYSARTDIR "/usr/share/WMcdplay/" + #define CDDEV "/dev/cdrom" + #define BACKCOLOR "#282828" diff --git a/x11-plugins/wmcdplay/files/wmcdplay.desktop b/x11-plugins/wmcdplay/files/wmcdplay.desktop new file mode 100644 index 000000000000..c289ac8dd16c --- /dev/null +++ b/x11-plugins/wmcdplay/files/wmcdplay.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmCDPlay +Comment=Dockable CD player applet +Comment[pl]=Dokowalny aplet CD playera +Exec=wmcdplay +Type=Application +Terminal=false +Categories=AudioVideo;Audio; diff --git a/x11-plugins/wmcdplay/metadata.xml b/x11-plugins/wmcdplay/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmcdplay/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/wmcdplay/wmcdplay-1.0_beta1.ebuild b/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild new file mode 100644 index 000000000000..9ae58702102f --- /dev/null +++ b/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" + +MY_P=${P/_beta/-beta} +S=${WORKDIR}/${PN} + +DESCRIPTION="CD player applet for WindowMaker" +SRC_URI="mirror://gentoo/${MY_P}.tgz" +HOMEPAGE="http://www.gentoo.org/" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + x11-misc/imake" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ~ppc" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-xpmdir.patch + epatch "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch + epatch "${FILESDIR}"/${PN}-c++.patch +} + +src_compile() { + xmkmf || die "xmkmf failed." + emake CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" || die "emake failed." +} + +src_install() { + einstall DESTDIR="${D}" BINDIR="/usr/bin" || die "emake install failed." + + insinto /usr/share/WMcdplay + doins XPM/*.art + + dodoc ARTWORK README + + domenu "${FILESDIR}"/${PN}.desktop +} diff --git a/x11-plugins/wmcdplay/wmcdplay-1.1.ebuild b/x11-plugins/wmcdplay/wmcdplay-1.1.ebuild new file mode 100644 index 000000000000..d55792c7101b --- /dev/null +++ b/x11-plugins/wmcdplay/wmcdplay-1.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools + +DESCRIPTION="CD player applet for WindowMaker" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmcdplay" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +src_prepare() { + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc ARTWORK README + domenu "${FILESDIR}"/${PN}.desktop +} diff --git a/x11-plugins/wmcliphist/Manifest b/x11-plugins/wmcliphist/Manifest new file mode 100644 index 000000000000..501f4b35c99d --- /dev/null +++ b/x11-plugins/wmcliphist/Manifest @@ -0,0 +1,3 @@ +DIST wmcliphist-0.6.tar.gz 88733 SHA256 a775bea29c11ff06fb7eb43cc21aa2e3aff57a692b1edafbb6ba8ecf417f4148 +DIST wmcliphist-1.0.tar.gz 268821 SHA256 b33a4f2c1f5bf4b177fbc9bc5a4e4fdf31d78097ebd33ea76691025b43908028 SHA512 672135e9a6b8316ade8d3febffe9e25d3cec8f9960edd126c160e1013a33d40ca170905440683756dac14a84198d4ee0bcfa637afa789b4f8591b9a7807dd602 WHIRLPOOL da26e268b50c89a7c6fce0179e1dc288970bee583354ddb4a0eb3543b7136e8da1aa14a5e2134a8e58d958acfd95c370b019875464d7b25011e356c73fc9dd21 +DIST wmcliphist-2.1.tar.gz 61459 SHA256 5be1e2ba82b8059a7ede9a111e6aad7c25170d9df2b6d23e2ed7b17e1e63564c SHA512 92ffe45fce7da09cffb769e4c97a36309fe2d373f514708e5bffc7877324080d3116e30f84de7a9addc648c38d43c678e4e2fccae451d93a02a57e7f9e319e03 WHIRLPOOL d54930581e597298e49f1db5dd22e0ec18a8947ac8eb53d8a58504e7eeff90fe2c31a57d67f3a7db1a777ac053951de3bb324a67660147f37f441e9c61cf05ed diff --git a/x11-plugins/wmcliphist/files/wmcliphist-0.6-Makefile.patch b/x11-plugins/wmcliphist/files/wmcliphist-0.6-Makefile.patch new file mode 100644 index 000000000000..61e2d7db86ac --- /dev/null +++ b/x11-plugins/wmcliphist/files/wmcliphist-0.6-Makefile.patch @@ -0,0 +1,47 @@ +diff -ur wmcliphist-0.6.orig/Makefile wmcliphist-0.6/Makefile +--- wmcliphist-0.6.orig/Makefile 2003-06-24 01:35:45.000000000 +0300 ++++ wmcliphist-0.6/Makefile 2008-03-12 16:13:34.000000000 +0200 +@@ -1,22 +1,18 @@ +-CC = gcc +- +-INCLUDES = `gtk-config --cflags` -I. -Ifoodock -g +- +-DESTDIR = "/usr/local/bin" ++CC ?= gcc ++PREFIX = /usr ++INCLUDES = `pkg-config --cflags gtk+-2.0` -I. -Ifoodock + + # for normal use +-CFLAGS = -Wall -O2 -ansi -pedantic $(INCLUDES) ++CFLAGS += -Wall -ansi -pedantic $(INCLUDES) + DEBUG = + + # for debuggind purposes + # ISO doesn't support macros with variable number of arguments so -pedantic + # must not be used +-#CFLAGS = -Wall -g -ansi $(INCLUDES) -DFNCALL_DEBUG ++#CFLAGS += -Wall -g -ansi $(INCLUDES) -DFNCALL_DEBUG + #DEBUG = debug.o + +- +-LFLAGS = `gtk-config --libs` +- ++LIBS = `pkg-config --libs gtk+-2.0` + + OBJECTS = wmcliphist.o clipboard.o gui.o rcconfig.o history.o hotkeys.o $(DEBUG) + TARGET = wmcliphist +@@ -27,7 +23,7 @@ + lclint $(INCLUDES) +posixlib *.c >lclint.log + + wmcliphist: $(OBJECTS) foodock/foodock.o +- $(CC) $(LFLAGS) -o $@ $(OBJECTS) foodock/foodock.o ++ $(CC) $(LDFLAGS) $(OBJECTS) foodock/foodock.o $(LIBS) -o $@ + + wmcliphist.o: wmcliphist.c wmcliphist.h \ + icon/ico_60x60_black.xpm icon/ico_60x60_gray.xpm \ +@@ -54,4 +50,4 @@ + @(cd foodock && make clean) + + install: +- cp wmcliphist $(DESTDIR) ++ cp wmcliphist $(DESTDIR)$(PREFIX)/bin diff --git a/x11-plugins/wmcliphist/files/wmcliphist-0.6-fix-docking.patch b/x11-plugins/wmcliphist/files/wmcliphist-0.6-fix-docking.patch new file mode 100644 index 000000000000..3e50600f51d8 --- /dev/null +++ b/x11-plugins/wmcliphist/files/wmcliphist-0.6-fix-docking.patch @@ -0,0 +1,107 @@ +diff -ru orig/wmcliphist-0.6/foodock/foodock.c wmcliphist-0.6/foodock/foodock.c +--- orig/wmcliphist-0.6/foodock/foodock.c 2001-03-16 01:59:46.000000000 +0100 ++++ wmcliphist-0.6/foodock/foodock.c 2007-08-12 16:34:44.818138390 +0200 +@@ -21,6 +21,8 @@ + * before calling foo_create_main_icon_window. Returned event box + * will be realized by foo_create_main_icon_window. You should to show + * icon window as well as main window before gtk_main(). ++ * ++ * Call foo_set_wmhints() after both windows are shown (gtk_widget_show()). + * + * Input: + * mw Pointer to main window +@@ -34,20 +36,37 @@ + char *margv[]) { + + GtkWidget *foobox; /* This will become icon box */ +- Window xmw; +- XWMHints *wm_hints; +- +- xmw = GDK_WINDOW_XWINDOW(mw->window); + + foobox = gtk_event_box_new(); + gtk_widget_set_usize(foobox, s, s); + gtk_container_add (GTK_CONTAINER (mw), foobox); + gtk_widget_realize(foobox); +- ++ ++ return foobox; ++} ++ ++/* ++ * Set WMHints on the dockapp (icon) window. Needs to be called after ++ * the main window is shown, due to changes in GTK+ 2.4. ++ * ++ * Input: ++ * mw Pointer to main window ++ * dw Pointer to icon (dockapp) window ++ * margc, margv argc and argv of main program for XSetCommand ++ */ ++void foo_set_wmhints(GtkWidget *mw, ++ GtkWidget *dw, ++ int margc, ++ char *margv[]) { ++ Window xmw; ++ XWMHints *wm_hints; ++ ++ xmw = GDK_WINDOW_XWINDOW(mw->window); ++ + /* Time for game with Xlib */ + wm_hints = XAllocWMHints(); + wm_hints->window_group = xmw; +- wm_hints->icon_window = GDK_WINDOW_XWINDOW(foobox->window); ++ wm_hints->icon_window = GDK_WINDOW_XWINDOW(dw->window); + wm_hints->icon_x = 0; + wm_hints->icon_y = 0; + wm_hints->initial_state = WithdrawnState; +@@ -60,6 +79,4 @@ + XSetCommand(GDK_DISPLAY(), xmw, margv, margc); + + XFree(wm_hints); +- +- return foobox; + } +diff -ru orig/wmcliphist-0.6/foodock/foodock.h wmcliphist-0.6/foodock/foodock.h +--- orig/wmcliphist-0.6/foodock/foodock.h 2001-03-16 01:59:52.000000000 +0100 ++++ wmcliphist-0.6/foodock/foodock.h 2007-08-12 16:34:40.317881934 +0200 +@@ -15,6 +15,8 @@ + * before calling foo_create_main_icon_window. Returned event box + * will be realized by foo_create_main_icon_window. You should to show + * icon window as well as main window before gtk_main(). ++ * ++ * Call foo_set_wmhints() after both windows are shown (gtk_widget_show()). + * + * Input: + * mw Pointer to main window +@@ -25,3 +27,17 @@ + unsigned int size, + int main_argc, + char *main_argv[]); ++ ++/* ++ * Set WMHints on the dockapp (icon) window. Needs to be called after ++ * the main window is shown, due to changes in GTK+ 2.4. ++ * ++ * Input: ++ * mw Pointer to main window ++ * dw Pointer to icon (dockapp) window ++ * margc, margv argc and argv of main program for XSetCommand ++ */ ++void foo_set_wmhints(GtkWidget *mw, ++ GtkWidget *dw, ++ int margc, ++ char *margv[]); +diff -ru orig/wmcliphist-0.6/wmcliphist.c wmcliphist-0.6/wmcliphist.c +--- orig/wmcliphist-0.6/wmcliphist.c 2003-06-23 23:24:24.000000000 +0200 ++++ wmcliphist-0.6/wmcliphist.c 2007-08-12 16:31:20.806512430 +0200 +@@ -333,6 +333,10 @@ + /* show icon */ + gtk_widget_show(dock_app); + gtk_widget_show(main_window); ++ ++ /* Set WMHints - after gtk_widget_show() due to changes in GTK+ 2.4 */ ++ foo_set_wmhints(main_window, dock_app, argc, argv); ++ + gdk_window_shape_combine_mask(main_window->window, icon_mask, 0, 0); + gdk_window_shape_combine_mask(dock_app->window, icon_mask, 0, 0); + diff --git a/x11-plugins/wmcliphist/metadata.xml b/x11-plugins/wmcliphist/metadata.xml new file mode 100644 index 000000000000..a804b5173da7 --- /dev/null +++ b/x11-plugins/wmcliphist/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> +wmcliphist is dockable clipboard history application for Window Maker. It is +similar to klipper from KDE. wmcliphist keeps history of clipboard operations +and allows you to put previously copied items back to the clipboard for pasting +to other applications. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmcliphist/wmcliphist-0.6-r1.ebuild b/x11-plugins/wmcliphist/wmcliphist-0.6-r1.ebuild new file mode 100644 index 000000000000..9ac2df6c71d8 --- /dev/null +++ b/x11-plugins/wmcliphist/wmcliphist-0.6-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Dockable clipboard history application for Window Maker" +HOMEPAGE="http://linux.nawebu.cz/wmcliphist" +SRC_URI="http://linux.nawebu.cz/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-Makefile.patch \ + "${FILESDIR}"/${P}-fix-docking.patch +} + +src_compile() { + tc-export CC + emake +} + +src_install() { + dobin ${PN} + dodoc ChangeLog README + newdoc .${PN}rc ${PN}rc.sample +} diff --git a/x11-plugins/wmcliphist/wmcliphist-1.0.ebuild b/x11-plugins/wmcliphist/wmcliphist-1.0.ebuild new file mode 100644 index 000000000000..6df22dae4eef --- /dev/null +++ b/x11-plugins/wmcliphist/wmcliphist-1.0.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 eutils toolchain-funcs + +DESCRIPTION="Dockable clipboard history application for Window Maker" +HOMEPAGE="http://linux.nawebu.cz/wmcliphist" +SRC_URI="http://linux.nawebu.cz/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${PN} + +src_compile() { + tc-export CC + emake +} + +src_install() { + dobin ${PN} + dodoc ChangeLog README + newdoc ${PN}rc ${PN}rc.sample +} diff --git a/x11-plugins/wmcliphist/wmcliphist-2.1.ebuild b/x11-plugins/wmcliphist/wmcliphist-2.1.ebuild new file mode 100644 index 000000000000..61b6602adb6e --- /dev/null +++ b/x11-plugins/wmcliphist/wmcliphist-2.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="Dockable clipboard history application for Window Maker" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmcliphist" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:3" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/dockapps + +src_compile() { + tc-export CC + emake +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + + dodoc ChangeLog README + newdoc ${PN}rc ${PN}rc.sample +} diff --git a/x11-plugins/wmclock/Manifest b/x11-plugins/wmclock/Manifest new file mode 100644 index 000000000000..884bc5171d21 --- /dev/null +++ b/x11-plugins/wmclock/Manifest @@ -0,0 +1,3 @@ +DIST wmclock-1.0.13.tar.gz 45740 SHA256 53a0166d565661d917743bfa3f77cb084e0d6c0ea369f81e17f4a6709e9e9e42 +DIST wmclock-1.0.14.tar.gz 38311 SHA256 9a05bd547bb1f855ea75374cfada9f14ef90592246362a91dcb2c580550db64d SHA512 34bf6e2287477a207e09d35d9ef0b326d2683be31a66d3cc6aa22323b5615cb114e8597d54ea7b3cbc204b689bba05d26e152f196305b82f4ba7220d14af73f6 WHIRLPOOL 85e3b10abc634aafa164d150debf3f320ac4efbb513039f19e60eeafc5fab8dd0c8be80789af26380a571786a9c364c662a8d263f1c0156d968e95a63d28c903 +DIST wmclock-1.0.15.tar.gz 35234 SHA256 4d51e2e584e55bad5aaa714c75d42ca47833b07489e9671f60e9b5ebae35c96f SHA512 908f34e9d41c0fa51df2352ce7a43319810f8ef35be9594126536907257516e7f8818635ff306e67fef81fc25ecba809a9d4152b6e3b7c6943586eabedbe09f9 WHIRLPOOL 565654a66359f9ddef57404a7bd7061092ab0b777c4821df4db862903e17588a8eda1c366637375e7643adb57458b80c20dddc7ac449af42e4474c4e25e0ee85 diff --git a/x11-plugins/wmclock/metadata.xml b/x11-plugins/wmclock/metadata.xml new file mode 100644 index 000000000000..5515d0958711 --- /dev/null +++ b/x11-plugins/wmclock/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +Wmclock is an applet which displays the date and time in a dockable tile. +Wmclock is specially designed for Window Maker, and features multiple language +support, twenty-four-hour and twelve-hour (am/pm) time display, and, +optionally, can run a user-specified program on a mouse click. Wmclock is +derived from ASClock (now called ASClock classic), a similar clock for the +AfterStep window manager. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmclock/wmclock-1.0.13.ebuild b/x11-plugins/wmclock/wmclock-1.0.13.ebuild new file mode 100644 index 000000000000..8af08ba08091 --- /dev/null +++ b/x11-plugins/wmclock/wmclock-1.0.13.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit toolchain-funcs + +DESCRIPTION="a dockapp that displays time and date (same style as NEXTSTEP(tm) operating systems)" +SRC_URI="http://www.bluestop.org/wmclock/${P}.tar.gz" +HOMEPAGE="http://www.bluestop.org/wmclock/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + x11-misc/gccmakedep + x11-misc/imake" + +src_compile() { + emake CC=$(tc-getCC) CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" || die "make failed" +} + +src_install() { + dobin wmclock || die "dobin failed" + newman wmclock.man wmclock.1 + dodoc ChangeLog README +} diff --git a/x11-plugins/wmclock/wmclock-1.0.14.ebuild b/x11-plugins/wmclock/wmclock-1.0.14.ebuild new file mode 100644 index 000000000000..89516b08df8e --- /dev/null +++ b/x11-plugins/wmclock/wmclock-1.0.14.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit toolchain-funcs + +DESCRIPTION="a dockapp that displays time and date (same style as NEXTSTEP(tm) operating systems)" +SRC_URI="http://www.bluestop.org/wmclock/${P}.tar.gz" +HOMEPAGE="http://www.bluestop.org/wmclock/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + x11-misc/gccmakedep + x11-misc/imake" + +src_compile() { + emake CC=$(tc-getCC) CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" +} + +src_install() { + dobin wmclock + newman wmclock.man wmclock.1 + dodoc ChangeLog README +} diff --git a/x11-plugins/wmclock/wmclock-1.0.15.ebuild b/x11-plugins/wmclock/wmclock-1.0.15.ebuild new file mode 100644 index 000000000000..f7865e50727b --- /dev/null +++ b/x11-plugins/wmclock/wmclock-1.0.15.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools + +DESCRIPTION="a dockapp that displays time and date (same style as NEXTSTEP(tm) operating systems)" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmclock" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +src_prepare() { + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc ChangeLog README +} diff --git a/x11-plugins/wmclockmon/Manifest b/x11-plugins/wmclockmon/Manifest new file mode 100644 index 000000000000..f709230fc44a --- /dev/null +++ b/x11-plugins/wmclockmon/Manifest @@ -0,0 +1 @@ +DIST wmclockmon_0.8.1-1.tar.gz 139233 SHA256 51169422cc29c4d47878bef97e5e6eb16c86289173934a212c435cbebe8912d8 diff --git a/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch b/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch new file mode 100644 index 000000000000..a3b1b1fff9df --- /dev/null +++ b/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch @@ -0,0 +1,303 @@ +diff -ur wmclockmon-0.8.1.orig/wmclockmon-cal/Makefile.in wmclockmon-0.8.1/wmclockmon-cal/Makefile.in +--- wmclockmon-0.8.1.orig/wmclockmon-cal/Makefile.in 2005-06-15 16:55:27.000000000 +0300 ++++ wmclockmon-0.8.1/wmclockmon-cal/Makefile.in 2008-01-13 13:23:11.000000000 +0200 +@@ -96,17 +96,17 @@ + + + DEFS = @DEFS@ -I. -I$(srcdir) -I.. +-LDFLAGS = @LDFLAGS@ `gtk-config --libs` ++LIBS = @LIBS@ `pkg-config gtk+-2.0 --libs` + X_CFLAGS = @X_CFLAGS@ + X_LIBS = @X_LIBS@ + X_PRE_LIBS = @X_PRE_LIBS@ + wmclockmon_OBJECTS = main.o mainwindow.o tools.o + wmclockmon_DEPENDENCIES = + wmclockmon_LDFLAGS = +-CFLAGS = @CFLAGS@ `gtk-config --cflags` ++CFLAGS = @CFLAGS@ `pkg-config gtk+-2.0 --cflags` + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ ++LINK = $(CCLD) $(LDFLAGS) $(AM_CFLAGS) $(CFLAGS) $(LIBS) -o $@ + DIST_COMMON = Makefile.am Makefile.in + + +diff -ur wmclockmon-0.8.1.orig/wmclockmon-cal/mainwindow.c wmclockmon-0.8.1/wmclockmon-cal/mainwindow.c +--- wmclockmon-0.8.1.orig/wmclockmon-cal/mainwindow.c 2005-06-15 17:03:21.000000000 +0300 ++++ wmclockmon-0.8.1/wmclockmon-cal/mainwindow.c 2008-01-13 13:04:53.000000000 +0200 +@@ -51,7 +51,6 @@ + gtk_widget_hide(calendar); + gtk_widget_hide(closewindow); + gtk_widget_grab_default(GTK_WIDGET(cancel)); +- gtk_widget_draw_default(GTK_WIDGET(cancel)); + gtk_widget_grab_focus(GTK_WIDGET(edit)); + gtk_widget_show(text_buttons); + gtk_widget_show(edit); +@@ -69,7 +68,6 @@ + gtk_widget_hide(cancel); + gtk_widget_show(calendar); + gtk_widget_grab_default(GTK_WIDGET(closewindow)); +- gtk_widget_draw_default(GTK_WIDGET(closewindow)); + gtk_widget_grab_focus(GTK_WIDGET(closewindow)); + gtk_widget_show(closewindow); + } +@@ -93,13 +91,20 @@ + FILE *file; + char *filename = get_file(datestr); + ++ GtkTextIter iter; ++ GtkTextBuffer *buf; ++ ++ buf = GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))); ++ gtk_text_buffer_get_end_iter(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &iter); ++ gtk_text_buffer_place_cursor(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &iter); ++ + if ((file = fopen(filename, "r")) != NULL) { + while (! feof(file)) { + char line[MAXSTRLEN + 1]; + bzero(line, MAXSTRLEN + 1); + fgets(line, MAXSTRLEN, file); + if (line[0] != 0) +- gtk_text_insert(GTK_TEXT(edit), NULL, NULL, NULL, line, -1); ++ gtk_text_buffer_insert(buf, &iter, line, -1); + } + fclose(file); + } +@@ -154,21 +159,14 @@ + + + static void editor_flush() { +- int cont = TRUE; +- +- while (cont) { +- cont = gtk_text_backward_delete(GTK_TEXT(edit), 1); +- } +- cont = TRUE; +- while (cont) { +- cont = gtk_text_forward_delete(GTK_TEXT(edit), 1); +- } ++ gtk_text_buffer_set_text(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), "", 0); + } + + + static void editor_fill(int which) { + char *dstr; + GtkWidget *label = NULL; ++ GtkTextIter iter; + + switch (which) { + case UNIQUE: label = label_u; break; +@@ -179,11 +177,10 @@ + gtk_label_get(GTK_LABEL(label), &dstr); + strcpy(daystr, dstr); + to_button(which); +- gtk_text_freeze(GTK_TEXT(edit)); + editor_flush(); + load_file(daystr); +- gtk_text_set_point(GTK_TEXT(edit), gtk_text_get_length(GTK_TEXT(edit))); +- gtk_text_thaw(GTK_TEXT(edit)); ++ gtk_text_buffer_get_end_iter(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &iter); ++ gtk_text_buffer_place_cursor(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &iter); + } + + +@@ -225,8 +222,15 @@ + char *dirname = xmalloc(len + 2); + struct stat stat_buf; + ++ GtkTextIter ts, te; ++ gchar *tbuf; ++ int tlen; ++ ++ tlen = gtk_text_buffer_get_char_count(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit)))); ++ gtk_text_buffer_get_bounds(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &ts, &te); ++ + sprintf(dirname, "%s/%s", robust_home(), DEFAULT_CONFIGDIR); +- if (gtk_text_get_length(GTK_TEXT(edit)) > 0) { ++ if (tlen > 0) { + if (! ((stat(dirname, &stat_buf) == 0) && S_ISDIR(stat_buf.st_mode))) + mkdir(dirname, 0755); + +@@ -235,13 +239,11 @@ + unsigned int year, month, day; + + if (file) { +- int i; +- for (i = 0 ; i < gtk_text_get_length(GTK_TEXT(edit)) ; i++) { +- char t = GTK_TEXT_INDEX(GTK_TEXT(edit), i); +- fprintf(file, "%c", t); +- } +- fflush(file); +- fclose(file); ++ tbuf = gtk_text_buffer_get_text(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &ts, &te, TRUE); ++ fprintf(file, "%s", tbuf); ++ g_free(tbuf); ++ fflush(file); ++ fclose(file); + } + gtk_calendar_get_date(GTK_CALENDAR(calendar), &year, &month, &day); + gtk_calendar_mark_day(GTK_CALENDAR(calendar), day); +@@ -259,9 +261,7 @@ + gtk_calendar_get_date(GTK_CALENDAR(calendar), &year, &month, &day); + gtk_calendar_unmark_day(GTK_CALENDAR(calendar), day); + FREE(filename); +- gtk_text_freeze(GTK_TEXT(edit)); + editor_flush(); +- gtk_text_thaw(GTK_TEXT(edit)); + } + + +@@ -357,10 +357,10 @@ + GTK_SIGNAL_FUNC(mark_days), NULL); + gtk_widget_show(calendar); + +- edit = gtk_text_new(NULL, NULL); +- gtk_text_set_editable(GTK_TEXT(edit), TRUE); +- gtk_text_set_word_wrap(GTK_TEXT(edit), TRUE); +- gtk_text_set_line_wrap(GTK_TEXT(edit), TRUE); ++ edit = gtk_text_view_new(); ++ gtk_text_view_set_editable(GTK_TEXT_VIEW(edit), TRUE); ++ gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(edit), GTK_WRAP_WORD_CHAR); ++ + gtk_box_pack_start(GTK_BOX(main_vbox), edit, TRUE, TRUE, 1); + + +@@ -413,7 +413,6 @@ + gtk_box_pack_start(GTK_BOX(buttons_hbox), closewindow, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(closewindow), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(closewindow)); +- gtk_widget_draw_default(GTK_WIDGET(closewindow)); + gtk_widget_show(closewindow); + + +diff -ur wmclockmon-0.8.1.orig/wmclockmon-config/Makefile.in wmclockmon-0.8.1/wmclockmon-config/Makefile.in +--- wmclockmon-0.8.1.orig/wmclockmon-config/Makefile.in 2005-06-15 16:55:27.000000000 +0300 ++++ wmclockmon-0.8.1/wmclockmon-config/Makefile.in 2008-01-13 13:23:44.000000000 +0200 +@@ -96,17 +96,17 @@ + + + DEFS = @DEFS@ -I. -I$(srcdir) -I.. +-LDFLAGS = @LDFLAGS@ `gtk-config --libs` ++LIBS = @LIBS@ `pkg-config gtk+-2.0 --libs` + X_CFLAGS = @X_CFLAGS@ + X_LIBS = @X_LIBS@ + X_PRE_LIBS = @X_PRE_LIBS@ + wmclockmon_OBJECTS = actions.o dialogs.o edit.o main.o mainwindow.o tools.o + wmclockmon_DEPENDENCIES = + wmclockmon_LDFLAGS = +-CFLAGS = @CFLAGS@ `gtk-config --cflags` ++CFLAGS = @CFLAGS@ `pkg-config gtk+-2.0 --cflags` + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ ++LINK = $(CCLD) $(LDFLAGS) $(AM_CFLAGS) $(CFLAGS) $(LIBS) -o $@ + DIST_COMMON = Makefile.am Makefile.in + + +diff -ur wmclockmon-0.8.1.orig/wmclockmon-config/dialogs.c wmclockmon-0.8.1/wmclockmon-config/dialogs.c +--- wmclockmon-0.8.1.orig/wmclockmon-config/dialogs.c 2005-06-15 16:55:27.000000000 +0300 ++++ wmclockmon-0.8.1/wmclockmon-config/dialogs.c 2008-01-13 13:04:53.000000000 +0200 +@@ -38,7 +38,6 @@ + bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + bouton = gtk_button_new_with_label("No"); +@@ -96,7 +95,6 @@ + bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + gtk_container_set_border_width(GTK_CONTAINER +diff -ur wmclockmon-0.8.1.orig/wmclockmon-config/edit.c wmclockmon-0.8.1/wmclockmon-config/edit.c +--- wmclockmon-0.8.1.orig/wmclockmon-config/edit.c 2005-06-15 16:55:27.000000000 +0300 ++++ wmclockmon-0.8.1/wmclockmon-config/edit.c 2008-01-13 13:04:53.000000000 +0200 +@@ -76,7 +76,6 @@ + bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + bouton = gtk_button_new_with_label("Cancel"); +diff -ur wmclockmon-0.8.1.orig/wmclockmon-config/mainwindow.c wmclockmon-0.8.1/wmclockmon-config/mainwindow.c +--- wmclockmon-0.8.1.orig/wmclockmon-config/mainwindow.c 2005-06-15 16:55:27.000000000 +0300 ++++ wmclockmon-0.8.1/wmclockmon-config/mainwindow.c 2008-01-13 13:04:53.000000000 +0200 +@@ -10,9 +10,9 @@ + #include "actions.h" + + +-static GtkWidget *edit; +-static GtkWidget *set; +-static GtkWidget *remove; ++static GtkWidget *b_edit; ++static GtkWidget *b_set; ++static GtkWidget *b_remove; + + static gint list_sel_cb (GtkCList *clist, + gint row, +@@ -20,9 +20,9 @@ + GdkEventButton *event, + void *data) { + selected_row = row; +- gtk_widget_set_sensitive(edit, TRUE); +- gtk_widget_set_sensitive(set, TRUE); +- gtk_widget_set_sensitive(remove, TRUE); ++ gtk_widget_set_sensitive(b_edit, TRUE); ++ gtk_widget_set_sensitive(b_set, TRUE); ++ gtk_widget_set_sensitive(b_remove, TRUE); + return TRUE; + } + +@@ -33,9 +33,9 @@ + GdkEventButton *event, + void *data) { + selected_row = -1; +- gtk_widget_set_sensitive(edit, FALSE); +- gtk_widget_set_sensitive(set, FALSE); +- gtk_widget_set_sensitive(remove, FALSE); ++ gtk_widget_set_sensitive(b_edit, FALSE); ++ gtk_widget_set_sensitive(b_set, FALSE); ++ gtk_widget_set_sensitive(b_remove, FALSE); + return TRUE; + } + +@@ -267,7 +267,7 @@ + gtk_table_attach_defaults(GTK_TABLE(table), bouton, 0, 1, 1, 2); + gtk_widget_set_sensitive(bouton, FALSE); + gtk_widget_show(bouton); +- edit = bouton; ++ b_edit = bouton; + + bouton = gtk_button_new_with_label(" Switch On/Off "); + gtk_signal_connect(GTK_OBJECT(bouton), "clicked", +@@ -275,7 +275,7 @@ + gtk_table_attach_defaults(GTK_TABLE(table), bouton, 1, 2, 1, 2); + gtk_widget_set_sensitive(bouton, FALSE); + gtk_widget_show(bouton); +- set = bouton; ++ b_set = bouton; + + bouton = gtk_button_new_with_label(" Remove alarm "); + gtk_signal_connect(GTK_OBJECT(bouton), "clicked", +@@ -283,7 +283,7 @@ + gtk_table_attach_defaults(GTK_TABLE(table), bouton, 1, 2, 0, 1); + gtk_widget_set_sensitive(bouton, FALSE); + gtk_widget_show(bouton); +- remove = bouton; ++ b_remove = bouton; + + + label = gtk_label_new(" Alarms "); +@@ -312,7 +312,6 @@ + gtk_box_pack_start(GTK_BOX(buttons_hbox), bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + bouton = gtk_button_new_with_label(" Cancel "); diff --git a/x11-plugins/wmclockmon/metadata.xml b/x11-plugins/wmclockmon/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmclockmon/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/wmclockmon/wmclockmon-0.8.1.ebuild b/x11-plugins/wmclockmon/wmclockmon-0.8.1.ebuild new file mode 100644 index 000000000000..9afd54587bd0 --- /dev/null +++ b/x11-plugins/wmclockmon/wmclockmon-0.8.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="a nice digital clock with 7 different styles either in LCD or LED style" +HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html" +SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}-1.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libXext + x11-libs/libX11 + x11-libs/libXpm + x11-libs/libICE" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-proto/xextproto + x11-libs/libXt" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gtk.patch +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/sample* + newdoc debian/changelog ChangeLog.debian +} diff --git a/x11-plugins/wmcms/Manifest b/x11-plugins/wmcms/Manifest new file mode 100644 index 000000000000..2d52b490a2e8 --- /dev/null +++ b/x11-plugins/wmcms/Manifest @@ -0,0 +1 @@ +DIST wmcms-0.3.5.tar.bz2 18920 SHA256 9b47672b3fa5a2474fe26dabb0e95030a4792766ce6577391ab1cd784f21d09b diff --git a/x11-plugins/wmcms/files/wmcms-0.3.5-s4t4n.patch b/x11-plugins/wmcms/files/wmcms-0.3.5-s4t4n.patch new file mode 100644 index 000000000000..522add1e7690 --- /dev/null +++ b/x11-plugins/wmcms/files/wmcms-0.3.5-s4t4n.patch @@ -0,0 +1,274 @@ +diff -Naur wmcms-0.3.5/state_linux.h wmcms-0.3.5/state_linux.h +--- wmcms-0.3.5/state_linux.h 2001-09-24 00:56:28.000000000 +0200 ++++ wmcms-0.3.5/state_linux.h 1970-01-01 01:00:00.000000000 +0100 +@@ -1,47 +0,0 @@ +-/* wmcms - WindowMaker CPU / Mem Usage Monitor DockApp +- * state_linux.h +- * Linux specific functions to get system usage, may someone write it to another plataform +- * Copyright (C) 2001 Fabio Pugliese Ornellas <fabio.ornellas@poli.usp.br> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +- */ +- +-int cpu_user; +-int cpu_nice; +-int cpu_kernel; +-int cpu_idle; +- +-int mem_total; +-int mem_used; +-int mem_buffers; +-int mem_cached; +- +-int swap_total; +-int swap_used; +- +-void get_cpuinfo ( void ) +-{ +- FILE *fp; +- fp = fopen ( "/proc/stat", "r" ); +- fscanf ( fp, "%*s %d %d %d %d", &cpu_user, &cpu_nice, &cpu_kernel, &cpu_idle ); +- fclose ( fp ); +-} +- +-void get_meminfo ( void ) +-{ +- FILE *fp; +- fp = fopen ( "/proc/meminfo", "r" ); +- fscanf ( fp, "%*s %*s %*s %*s %*s %*s %*s %d %d %*d %*d %d %d %*s %d %d", &mem_total, &mem_used, &mem_buffers, &mem_cached, &swap_total, &swap_used ); +- fclose ( fp ); +-} +diff -Naur wmcms-0.3.5/state_linux_2.4.h wmcms-0.3.5/state_linux_2.4.h +--- wmcms-0.3.5/state_linux_2.4.h 1970-01-01 01:00:00.000000000 +0100 ++++ wmcms-0.3.5/state_linux_2.4.h 2004-07-20 22:09:11.157182296 +0200 +@@ -0,0 +1,47 @@ ++/* wmcms - WindowMaker CPU / Mem Usage Monitor DockApp ++ * state_linux.h ++ * Linux specific functions to get system usage, may someone write it to another plataform ++ * Copyright (C) 2001 Fabio Pugliese Ornellas <fabio.ornellas@poli.usp.br> ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2 of the License, or ++ * (at your option) any later version. ++ * This program is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ * GNU General Public License for more details. ++ * ++ * You should have received a copy of the GNU General Public License ++ * along with this program; if not, write to the Free Software ++ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ++ */ ++ ++int cpu_user; ++int cpu_nice; ++int cpu_kernel; ++int cpu_idle; ++ ++int mem_total; ++int mem_used; ++int mem_buffers; ++int mem_cached; ++ ++int swap_total; ++int swap_used; ++ ++void get_cpuinfo_24 ( void ) ++{ ++ FILE *fp; ++ fp = fopen ( "/proc/stat", "r" ); ++ fscanf ( fp, "%*s %d %d %d %d", &cpu_user, &cpu_nice, &cpu_kernel, &cpu_idle ); ++ fclose ( fp ); ++} ++ ++void get_meminfo_24 ( void ) ++{ ++ FILE *fp; ++ fp = fopen ( "/proc/meminfo", "r" ); ++ fscanf ( fp, "%*s %*s %*s %*s %*s %*s %*s %d %d %*d %*d %d %d %*s %d %d", &mem_total, &mem_used, &mem_buffers, &mem_cached, &swap_total, &swap_used ); ++ fclose ( fp ); ++} +diff -Naur wmcms-0.3.5/state_linux_2.6.h wmcms-0.3.5/state_linux_2.6.h +--- wmcms-0.3.5/state_linux_2.6.h 1970-01-01 01:00:00.000000000 +0100 ++++ wmcms-0.3.5/state_linux_2.6.h 2004-07-20 22:08:54.256751552 +0200 +@@ -0,0 +1,55 @@ ++/* wmcms - WindowMaker CPU / Mem Usage Monitor DockApp ++ * state_linux.h ++ * Linux specific functions to get system usage, may someone write it to another plataform ++ * Copyright (C) 2001 Fabio Pugliese Ornellas <fabio.ornellas@poli.usp.br> ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2 of the License, or ++ * (at your option) any later version. ++ * This program is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ * GNU General Public License for more details. ++ * ++ * You should have received a copy of the GNU General Public License ++ * along with this program; if not, write to the Free Software ++ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ++ */ ++ ++int cpu_user; ++int cpu_nice; ++int cpu_kernel; ++int cpu_idle; ++ ++int mem_total; ++int mem_free; ++int mem_used; ++int mem_buffers; ++int mem_cached; ++ ++int swap_total; ++int swap_free; ++int swap_used; ++ ++void get_cpuinfo_26 ( void ) ++{ ++ FILE *fp; ++ fp = fopen ( "/proc/stat", "r" ); ++ fscanf ( fp, "%*s %d %d %d %d", &cpu_user, &cpu_nice, &cpu_kernel, &cpu_idle ); ++ fclose ( fp ); ++} ++ ++void get_meminfo_26 ( void ) ++{ ++ FILE *fp; ++ fp = fopen ( "/proc/meminfo", "r" ); ++/* The format of /proc/meminfo has changed with the 2.6 kernel; this new line will work for 2.6 -- idh ++ fscanf ( fp, "%*s %*s %*s %*s %*s %*s %*s %d %d %*d %*d %d %d %*s %d %d", &mem_total, &mem_used, &mem_buffers, &mem_cached, &swap_total, &swap_used ); */ ++ fscanf ( fp, "%*s %d %*s %*s %d %*s %*s %d %*s %*s %d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %d %*s %*s %d %*s", ++ &mem_total, &mem_free, &mem_buffers, &mem_cached, &swap_total, &swap_free ); ++ fclose ( fp ); ++ ++ mem_used = mem_total - mem_free; ++ swap_used = swap_total - swap_free; ++} +diff -Naur wmcms-0.3.5/wmcms.c wmcms-0.3.5/wmcms.c +--- wmcms-0.3.5/wmcms.c 2001-09-24 00:57:06.000000000 +0200 ++++ wmcms-0.3.5/wmcms.c 2004-07-20 22:34:26.917751664 +0200 +@@ -19,7 +19,8 @@ + #include <stdio.h> + #include <unistd.h> + #include <dockapp.h> +-#include "state_linux.h" ++#include "state_linux_2.6.h" ++#include "state_linux_2.4.h" + #include "wmcms.xpm" + + char *displayName = ""; +@@ -34,6 +35,13 @@ + int no_nice; + char *exe = ""; + ++typedef enum ++{ ++ IS_2_6 = 0, ++ IS_OTHER ++} kernel_versions; ++kernel_versions kernel_version; ++ + /* command line */ + static DAProgramOption options[] = { + {"-d", "--display", "display to use", DOString, False, {&displayName} }, +@@ -44,6 +52,8 @@ + {"-p", "--program", "program to run on CPU click", DOString, False, {&exe} } + }; + ++kernel_versions Get_Kernel_version(void); ++ + /* draw bars */ + void bar ( int size, int x, int y, int barx, int bary ) + { +@@ -156,6 +166,9 @@ + /* define callbacks */ + DACallbacks callbacks = { NULL, change, NULL, NULL, NULL, NULL }; + ++ /* determine kernel version */ ++ kernel_version = Get_Kernel_version(); ++ + advanced = 0; + up = 0; + no_nice = 0; +@@ -204,14 +217,23 @@ + XCopyArea ( DADisplay, backdrop, pixmap, gc, 3, 140, 58, 58, 0, 0); + DASetPixmap(pixmap); + +- /* initial cpu total while splash */ +- get_cpuinfo(); ++ /* initial cpu total while splash */ ++ if (kernel_version == IS_2_6) ++ get_cpuinfo_26(); ++ else ++ get_cpuinfo_24(); ++ + old_cpu_user = cpu_user; + old_cpu_nice = cpu_nice; + old_cpu_kernel = cpu_kernel; + old_cpu_idle = cpu_idle; + usleep ( delay ); +- get_cpuinfo(); ++ ++ if (kernel_version == IS_2_6) ++ get_cpuinfo_26(); ++ else ++ get_cpuinfo_24(); ++ + cpu_total = cpu_user - old_cpu_user + cpu_nice - old_cpu_nice + cpu_kernel - old_cpu_kernel + cpu_idle - old_cpu_idle; + + /* draw background */ +@@ -230,8 +252,16 @@ + XCopyArea ( DADisplay, backdrop, pixmap, gc, 4, 14, 56, 8, 1, 49 ); + + /* read values */ +- get_cpuinfo (); +- get_meminfo (); ++ if (kernel_version == IS_2_6) ++ { ++ get_cpuinfo_26 (); ++ get_meminfo_26 (); ++ } ++ else ++ { ++ get_cpuinfo_24 (); ++ get_meminfo_24 (); ++ } + + /* cpu total */ + cpu_total = cpu_user - old_cpu_user + cpu_nice - old_cpu_nice + cpu_kernel - old_cpu_kernel + cpu_idle - old_cpu_idle; +@@ -328,3 +358,20 @@ + fprintf(stderr, "Congratulations, something truely awful has happened.\n"); + return -1; + } ++ ++kernel_versions Get_Kernel_version(void) ++{ ++ FILE *fp = fopen("/proc/version", "r"); ++ char buf[512]; ++ ++ if (!fp) return IS_OTHER; ++ if (!fgets(buf, 512, fp)) ++ { ++ fclose(fp); ++ return IS_OTHER; ++ } ++ fclose(fp); ++ ++ if (strstr(buf, "2.6.")) return IS_2_6; ++ return IS_OTHER; ++} diff --git a/x11-plugins/wmcms/metadata.xml b/x11-plugins/wmcms/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmcms/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/wmcms/wmcms-0.3.5-r1.ebuild b/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild new file mode 100644 index 000000000000..7846476faadb --- /dev/null +++ b/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="WindowMaker CPU and Memory Usage Monitor Dock App" +SRC_URI="http://orbita.starmedia.com/~neofpo/files/${P}.tar.bz2" +HOMEPAGE="http://orbita.starmedia.com/~neofpo/wmcms.html" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +DEPEND="x11-libs/libdockapp" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/wmcms-0.3.5-s4t4n.patch + + # Respect LDFLAGS, see bug #335031 + sed -i 's/ -o wmcms/ ${LDFLAGS} -o wmcms/' "Makefile" +} + +src_compile() { + emake CFLAGS="${CFLAGS}" || die "emake failed." +} + +src_install() { + dobin wmcms || die "dobin failed." +} diff --git a/x11-plugins/wmcoincoin/Manifest b/x11-plugins/wmcoincoin/Manifest new file mode 100644 index 000000000000..374a2f90be4b --- /dev/null +++ b/x11-plugins/wmcoincoin/Manifest @@ -0,0 +1,3 @@ +DIST wmcoincoin-2.5.1f.tar.gz 847541 SHA256 9758327599afb3281bf483db1fec03bd2574f5cb45a45bac7995c889eddef48e +DIST wmcoincoin-2.6.1.tar.gz 963391 SHA256 c466433ac1cd8a018dfe87f33cb8832ce1e1c10714907e3eed94723c792bb140 SHA512 25027af9d1a0a05ea3b5b0856f6316d0f3409e6f7f02d2611f3e8dbaca72285b8b0a05a8aa2ed8a88af12f05f01821eeaebb1c0272e68ef1fa43459dd6d09da9 WHIRLPOOL bdecac8f249ed2ab598f119504f6b113a04364fa1392e0ac9a5a0d870c2c616e2aff703e062677523355a63f57ea5dda87c582a1499b62d82fb378a00ab79dde +DIST wmcoincoin-2.6.2_p20140602.tar.gz 972358 SHA256 e6afdf6ceeaec81327fbeb8d823ac97d4e3372c312b53ac83014c690ca364cf9 SHA512 ddf1b24d9c9021e9cb02817e80f3327074ef7d09ba7d8033d5d0c8b39a25106a1d54d32f211d31a910e2175d98bbda940f309cc137edd1b02b5a656891e89b2c WHIRLPOOL 031ac936551d4975f460b44cfe715e1b3f21d263fc299fadf0dee9f686a3f49cf879c603aae5e2ffa547a33b590410edde8c2e7768fdcb9e021887bb0baa8532 diff --git a/x11-plugins/wmcoincoin/metadata.xml b/x11-plugins/wmcoincoin/metadata.xml new file mode 100644 index 000000000000..60ca5d69bc5b --- /dev/null +++ b/x11-plugins/wmcoincoin/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> +wmCoinCoin is a WindowMaker dockapp that lets you see the latest news from +linuxfr.org. It also graphically represents some statistics about the oneliner +and the clients used to post on it. It also has the ability to post a +customized message to this oneliner. +</longdescription> + <upstream> + <remote-id type="github">d-torrance/wmcoincoin</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmcoincoin/wmcoincoin-2.5.1f.ebuild b/x11-plugins/wmcoincoin/wmcoincoin-2.5.1f.ebuild new file mode 100644 index 000000000000..703e3b4773b8 --- /dev/null +++ b/x11-plugins/wmcoincoin/wmcoincoin-2.5.1f.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="a dockapp for browsing dacode news and board sites" +HOMEPAGE="http://hules.free.fr/wmcoincoin" +SRC_URI="http://hules.free.fr/${PN}/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls xinerama" + +RDEPEND="x11-libs/gtk+:2 + media-libs/imlib2 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libX11 + x11-libs/libXft + xinerama? ( x11-libs/libXinerama )" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto + x11-libs/libXt + virtual/pkgconfig + nls? ( sys-devel/gettext ) + xinerama? ( x11-proto/xineramaproto )" + +DOCS="AUTHORS ChangeLog NEWS README" + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable xinerama) +} diff --git a/x11-plugins/wmcoincoin/wmcoincoin-2.6.1.ebuild b/x11-plugins/wmcoincoin/wmcoincoin-2.6.1.ebuild new file mode 100644 index 000000000000..a35c6cafab86 --- /dev/null +++ b/x11-plugins/wmcoincoin/wmcoincoin-2.6.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="a dockapp for browsing dacode news and board sites" +HOMEPAGE="http://hules.free.fr/wmcoincoin" +SRC_URI="http://hules.free.fr/${PN}/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls xinerama" + +RDEPEND="x11-libs/gtk+:2 + media-libs/imlib2 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libX11 + x11-libs/libXft + xinerama? ( x11-libs/libXinerama )" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto + x11-libs/libXt + virtual/pkgconfig + nls? ( sys-devel/gettext ) + xinerama? ( x11-proto/xineramaproto )" + +DOCS="AUTHORS ChangeLog NEWS README" + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable xinerama) +} diff --git a/x11-plugins/wmcoincoin/wmcoincoin-2.6.2_p20140602.ebuild b/x11-plugins/wmcoincoin/wmcoincoin-2.6.2_p20140602.ebuild new file mode 100644 index 000000000000..a7aae7a9babd --- /dev/null +++ b/x11-plugins/wmcoincoin/wmcoincoin-2.6.2_p20140602.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="a dockapp for browsing dacode news and board sites" +HOMEPAGE="http://hules.free.fr/wmcoincoin" +# Grab matching tag and Debian patches +SRC_URI="https://github.com/d-torrance/${PN}/archive/debian/${PV/_p/+}-1.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls xinerama" + +RDEPEND="x11-libs/gtk+:2 + media-libs/imlib2 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libX11 + x11-libs/libXft + xinerama? ( x11-libs/libXinerama )" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto + x11-libs/libXt + virtual/pkgconfig + nls? ( sys-devel/gettext ) + xinerama? ( x11-proto/xineramaproto )" + +S=${WORKDIR}/${PN}-debian-${PV/_p/-}-1 + +DOCS="AUTHORS ChangeLog NEWS README" + +src_prepare() { + EPATCH_SOURCE="${S}/debian/patches" EPATCH_SUFFIX=patch EPATCH_FORCE=yes epatch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable xinerama) +} diff --git a/x11-plugins/wmcp/Manifest b/x11-plugins/wmcp/Manifest new file mode 100644 index 000000000000..263884fca079 --- /dev/null +++ b/x11-plugins/wmcp/Manifest @@ -0,0 +1 @@ +DIST wmcp-1.2.8.tar.gz 8673 RMD160 bb3f2fce429cb2c27d66c4eb67400d987bb993b5 SHA1 b2a249b63fec6a2e0931f01413f8e6e0fb6631e0 SHA256 2ecaee806442057d515c760ac58353c4b4cec41252a22e223a5b079776d55d31 diff --git a/x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch b/x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch new file mode 100644 index 000000000000..018d28217971 --- /dev/null +++ b/x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch @@ -0,0 +1,74 @@ +diff -urN wmcp-1.2.8/wmcp.c wmcp-1.2.8-new/wmcp.c +--- wmcp-1.2.8/wmcp.c 1999-05-26 23:38:49.000000000 -0700 ++++ wmcp-1.2.8-new/wmcp.c 2003-09-24 15:22:25.000000000 -0700 +@@ -806,38 +806,38 @@ + void show_usage() + { + +-fprintf(stderr," +- +-%s +-This software is GPL -- do as you wish with it. +- +-Origional Author: +- Ben Cohen <buddog@aztec.asu.edu> +- +-Contributors: +- Thomas Nemeth <tnemeth@multimania.com> +- Craig Maloney <craig@ic.net> +- Gert Beumer <Gert@scintilla.utwente.nl> +- +- +- +-usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v] +- [-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h] +- +- +--g geometry: ie: 64x64+10+10 +--d dpy: Display. ie: 127.0.0.1:0.0 +--n workspaces: How many buttons to start with. +--a alt key: integer 1-4 defining ModXMask (default 1 Mod1Mask). +--w i/n/w: Window State: Iconic, Normal, Withdrawn (default Withdrawn) +--s y/n: Shaped window: yes or no (default y) +--c Sends CTRL + ALT + Key (default only sends ALT + key) +--v Verbose. 0=off, 1=on (default 0) +--x Number of buttons on the x-direction (1,2,3, or 4) +--y Number of buttons in the y-direction (1,2,3, or 4) +--h Help. This screen. +- +- ++fprintf(stderr," \ ++\ ++%s\ ++This software is GPL -- do as you wish with it.\ ++\ ++Origional Author:\ ++ Ben Cohen <buddog@aztec.asu.edu>\ ++\ ++Contributors:\ ++ Thomas Nemeth <tnemeth@multimania.com>\ ++ Craig Maloney <craig@ic.net>\ ++ Gert Beumer <Gert@scintilla.utwente.nl>\ ++\ ++\ ++\ ++usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v]\ ++ [-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h]\ ++\ ++\ ++-g geometry: ie: 64x64+10+10\ ++-d dpy: Display. ie: 127.0.0.1:0.0\ ++-n workspaces: How many buttons to start with.\ ++-a alt key: integer 1-4 defining ModXMask (default 1 Mod1Mask).\ ++-w i/n/w: Window State: Iconic, Normal, Withdrawn (default Withdrawn)\ ++-s y/n: Shaped window: yes or no (default y)\ ++-c Sends CTRL + ALT + Key (default only sends ALT + key)\ ++-v Verbose. 0=off, 1=on (default 0)\ ++-x Number of buttons on the x-direction (1,2,3, or 4)\ ++-y Number of buttons in the y-direction (1,2,3, or 4)\ ++-h Help. This screen.\ ++\ ++\ + ",VERSION); + + exit(-1); diff --git a/x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch b/x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch new file mode 100644 index 000000000000..70d1c7c4e225 --- /dev/null +++ b/x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch @@ -0,0 +1,11 @@ +diff -ur wmcp-1.2.8.orig/wmcp.c wmcp-1.2.8/wmcp.c +--- wmcp-1.2.8.orig/wmcp.c 1999-05-27 09:38:49.000000000 +0300 ++++ wmcp-1.2.8/wmcp.c 2008-01-06 16:16:17.000000000 +0200 +@@ -25,6 +25,7 @@ + #include <xpm.h> + #include <extensions/shape.h> + #include <keysym.h> ++#include <stdlib.h> + #include <stdio.h> + #include <math.h> + diff --git a/x11-plugins/wmcp/metadata.xml b/x11-plugins/wmcp/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmcp/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/wmcp/wmcp-1.2.8.ebuild b/x11-plugins/wmcp/wmcp-1.2.8.ebuild new file mode 100644 index 000000000000..2acf5efb6da5 --- /dev/null +++ b/x11-plugins/wmcp/wmcp-1.2.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="A pager dockapp" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/158" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/213/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc33.patch + epatch "${FILESDIR}"/${P}-stdlibh.patch + sed -i -e "s:gcc:$(tc-getCC):g" Makefile + sed -i -e "s:i686-pc-linux-gnu-gcc -g:i686-pc-linux-gnu-gcc:g" Makefile + sed -i -e "s:i686-pc-linux-gnu-gcc -o:i686-pc-linux-gnu-gcc ${LDFLAGS} -o:" Makefile +} + +src_compile() { + emake -j1 INCLUDES="-I/usr/include/X11" \ + LIBINC="-L/usr/$(get_libdir)" \ + FLAGS="${CFLAGS}" || die "emake failed." +} + +src_install() { + dobin wmcp + dodoc README +} diff --git a/x11-plugins/wmcpu/Manifest b/x11-plugins/wmcpu/Manifest new file mode 100644 index 000000000000..ef15dcb0dcdd --- /dev/null +++ b/x11-plugins/wmcpu/Manifest @@ -0,0 +1 @@ +DIST wmcpu-1.4.tar.gz 6712 RMD160 eab6a93544a8396264bbdcc885783c68f33123d6 SHA1 1f6e4380630a9618b3edf3f70d1dcb774066bd75 SHA256 efd07c417acd1e1b28dd5c3a76e98e207261f68aa17784ccef252e8e80145e0f diff --git a/x11-plugins/wmcpu/metadata.xml b/x11-plugins/wmcpu/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmcpu/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/wmcpu/wmcpu-1.4.ebuild b/x11-plugins/wmcpu/wmcpu-1.4.ebuild new file mode 100644 index 000000000000..09821ea988f4 --- /dev/null +++ b/x11-plugins/wmcpu/wmcpu-1.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit flag-o-matic + +DESCRIPTION="wmcpu is a dockapp to monitor memory and CPU usage, similar to xosview" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/306" +SRC_URI="http://denilsonsa.sh.nu/~denilson/${P}.tar.gz + http://denilsonsa.selfip.org/~denilson/${P}.tar.gz + http://dockapps.windowmaker.org/download.php/id/673/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +RDEPEND="${RDEPEND} + x11-proto/xextproto" + +src_prepare() { + #Honour Gentoo LDFLAGS, see bug #337523 + sed -e 's/LDFLAGS/LIBS/g' -i Makefile + sed -e 's/\$(CFLAGS)/\$(LDFLAGS)/' -i Makefile +} + +src_compile() { + # We then add the default -Wall from Makefile to CFLAGS + emake CFLAGS="${CFLAGS} -Wall" || die "emake failed" +} + +src_install () { + dobin wmcpu + dodoc ChangeLog README +} diff --git a/x11-plugins/wmcpuload/Manifest b/x11-plugins/wmcpuload/Manifest new file mode 100644 index 000000000000..a8d087773c0b --- /dev/null +++ b/x11-plugins/wmcpuload/Manifest @@ -0,0 +1 @@ +DIST wmcpuload-1.1.0pre5.tar.gz 121921 SHA256 6beee9f612c86fc13721ad9fb16c4b7d91b3761a8c727dc8ef957971a70106f3 diff --git a/x11-plugins/wmcpuload/metadata.xml b/x11-plugins/wmcpuload/metadata.xml new file mode 100644 index 000000000000..b25bfc12f3e0 --- /dev/null +++ b/x11-plugins/wmcpuload/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +WMCPULoad is a program to monitor CPU usage. It is a dockapp that is supported +by X window managers such as Window Maker, AfterStep, BlackBox, and +Enlightenment. It dispalys the current usage, expressed as a percentile and a +chart, and has an LCD look-alike user interface. The back light may be turned +on/off by clicking the mouse button over the application. If the CPU usage hits +a certain threshold, an alarm-mode will alert you by turning the back light on. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmcpuload/wmcpuload-1.1.0_pre5.ebuild b/x11-plugins/wmcpuload/wmcpuload-1.1.0_pre5.ebuild new file mode 100644 index 000000000000..ad038689f0a4 --- /dev/null +++ b/x11-plugins/wmcpuload/wmcpuload-1.1.0_pre5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="a dockapp for monitoring CPU usage with a LCD display" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/36" +SRC_URI="mirror://gentoo/${P/_/}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-libs/libICE" + +S=${WORKDIR}/${P/_/} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +} diff --git a/x11-plugins/wmcube/Manifest b/x11-plugins/wmcube/Manifest new file mode 100644 index 000000000000..53867a2df4c2 --- /dev/null +++ b/x11-plugins/wmcube/Manifest @@ -0,0 +1 @@ +DIST wmcube-0.98.tar.gz 38305 RMD160 f987e47044474c69ff5e03afb3dddfd385f545b9 SHA1 30f109a5406fb0cfd0c0ed749212a2a183e5b5f9 SHA256 5111d7bfacc7ffa26419dbc22542a0a0e1d33e5795882d1799b216abd73df24b diff --git a/x11-plugins/wmcube/metadata.xml b/x11-plugins/wmcube/metadata.xml new file mode 100644 index 000000000000..14a21e02877b --- /dev/null +++ b/x11-plugins/wmcube/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmCube is a dockapp that displays a realtime rotating 3D object and the current +CPU load. You can design your own objects for it. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmcube/wmcube-0.98.ebuild b/x11-plugins/wmcube/wmcube-0.98.ebuild new file mode 100644 index 000000000000..139f4976b3e0 --- /dev/null +++ b/x11-plugins/wmcube/wmcube-0.98.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +DESCRIPTION="a dockapp cpu monitor with spinning 3d objects" +HOMEPAGE="http://kling.mine.nu/kling/wmcube.htm" +SRC_URI="http://kling.mine.nu/kling/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64 ~mips ppc ppc64 ~sparc" + +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S="${WORKDIR}/${P}/wmcube" + +src_prepare() { + #Honour Gentoo LDFLAGS, see bug #337893. + sed -e "s/-o wmcube/${LDFLAGS} -o wmcube/" -i Makefile +} + +src_compile() { + emake CFLAGS="${CFLAGS}" || die "parallel make failed" +} + +src_install() { + dobin wmcube + + cd .. + dodoc README CHANGES + + SHARE=${DESTTREE}/share/wmcube + dodir ${SHARE} + insinto ${SHARE} + doins 3dObjects/* +} diff --git a/x11-plugins/wmdate/Manifest b/x11-plugins/wmdate/Manifest new file mode 100644 index 000000000000..22bb856c9c11 --- /dev/null +++ b/x11-plugins/wmdate/Manifest @@ -0,0 +1 @@ +DIST wmdate-0.7.tar.gz 10645 SHA256 e246e38a7488470d271dc5262f526462821fa4337c3e07bda8b9b3f9e7b8d975 diff --git a/x11-plugins/wmdate/files/wmdate-ComplexProgramTargetNoMan.patch b/x11-plugins/wmdate/files/wmdate-ComplexProgramTargetNoMan.patch new file mode 100644 index 000000000000..3f24316f7d19 --- /dev/null +++ b/x11-plugins/wmdate/files/wmdate-ComplexProgramTargetNoMan.patch @@ -0,0 +1,11 @@ +--- wmdate-0.7./Imakefile~ Mon Nov 26 06:13:46 2001 ++++ wmdate-0.7/Imakefile Mon Nov 26 06:13:46 2001 +@@ -132,7 +132,7 @@ + XCOMM Create Makefile + XCOMM --------------------------------------- + +-ComplexProgramTarget(wmdate) ++ComplexProgramTargetNoMan(wmdate) + + XCOMM - - - - - - - - - - - - - - - - - - - - + XCOMM e n d diff --git a/x11-plugins/wmdate/metadata.xml b/x11-plugins/wmdate/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmdate/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/wmdate/wmdate-0.7.ebuild b/x11-plugins/wmdate/wmdate-0.7.ebuild new file mode 100644 index 000000000000..06a3285036f5 --- /dev/null +++ b/x11-plugins/wmdate/wmdate-0.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="yet another date-display dock application" +HOMEPAGE="http://solfertje.student.utwente.nl/~dalroi/applications.php" +SRC_URI="http://solfertje.student.utwente.nl/~dalroi/${PN}/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libdockapp + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-misc/gccmakedep + x11-misc/imake" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch +} + +src_compile() { + xmkmf || die "xmkmf failed." + emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \ + LDOPTIONS="${LDFLAGS}" || die "emake failed." +} + +src_install() { + dobin ${PN} + dodoc Changelog README +} diff --git a/x11-plugins/wmdf/Manifest b/x11-plugins/wmdf/Manifest new file mode 100644 index 000000000000..934d3b0918ea --- /dev/null +++ b/x11-plugins/wmdf/Manifest @@ -0,0 +1 @@ +DIST wmdf-0.1.6.tar.gz 119388 SHA256 e732802a4597108089a6761afde150696f8841d968cd256364271b84562d103a SHA512 5b732f035862493dbc37608389f1c9ec0d5ec32de30650ca444ecf6e847b899aaa7a3f8153d11dbd66ac5e08c24b7d946819a3b48c29b8a3b03651e8c5f8b46d WHIRLPOOL 75e141fbe75d36a15bec8c487e3e4467d09ec9dfb74b4291d045de2c656112fb27e86dd3ecc8c772a98fe531e941b61e609a28210881fe5b8eea25d7b5868a1a diff --git a/x11-plugins/wmdf/files/wmdf_cmd_line_args.patch b/x11-plugins/wmdf/files/wmdf_cmd_line_args.patch new file mode 100644 index 000000000000..5c506d47d211 --- /dev/null +++ b/x11-plugins/wmdf/files/wmdf_cmd_line_args.patch @@ -0,0 +1,11 @@ +--- wmdf.c 2005-07-06 10:05:19.000000000 +0200 ++++ wmdf.c.new 2005-07-06 10:06:24.000000000 +0200 +@@ -986,8 +986,6 @@ + " -i, --interval <number> number of secs between updates (1 is default)\n" + " -h, --help show this help text and exit\n" + " -v, --version show program version and exit\n" +- " -w, --windowed run the application in windowed mode\n" +- " -bw, --broken-wm activate broken window manager fix\n" + " -at, --alarm_threshold set the disk usage percent to sound alarm at (95 is default)\n", + prog, prog); + /* OPTIONS SUPP : diff --git a/x11-plugins/wmdf/files/wmdf_sys-fs.patch b/x11-plugins/wmdf/files/wmdf_sys-fs.patch new file mode 100644 index 000000000000..eefa3f1301ce --- /dev/null +++ b/x11-plugins/wmdf/files/wmdf_sys-fs.patch @@ -0,0 +1,42 @@ +--- wmdf.c.orig 2005-07-06 10:03:10.000000000 +0200 ++++ wmdf.c 2005-07-06 10:05:19.000000000 +0200 +@@ -332,9 +332,10 @@ + FILE *fp,*fd; + char mountpoint[255], dummy[255],devnme[255],fstype[255],options[255]; + char s[255]; +- ++ char *ref[] ={"none","proc","sysfs","usbfs","udev","devpts"}; + unsigned int rio = 0,wio = 0,temprio = 0,tempwio = 0; + int i = 0; ++ int j=0; + int pos = 0; + int x; + +@@ -342,13 +343,20 @@ + + if((fp = fopen("/etc/mtab","r")) != NULL) { + +- while(!feof(fp)) { +- fscanf(fp,"%s %s %s %s %s %s\n",devnme,mountpoint,fstype,options,dummy,dummy); +- if((x = strcmp("none",devnme)) != 0) { +- add_disk(&cur_disk_infos,mountpoint,devnme,i); +- i++; +- } +- } ++ while(!feof(fp)) { ++ x=0; ++ fscanf(fp,"%s %s %s %s %s %s\n",devnme,mountpoint,fstype,options,dummy,dummy); ++ for (j=0;j<6;j++){ ++ if(strcmp(ref[j],devnme)==0) { ++ x=1; ++ break; ++ } ++ } ++ if(x==0) { ++ add_disk(&cur_disk_infos,mountpoint,devnme,i); ++ i++; ++ } ++ } + } else { + fprintf(stderr,"Error opening /etc/mtab\n"); + return; diff --git a/x11-plugins/wmdf/metadata.xml b/x11-plugins/wmdf/metadata.xml new file mode 100644 index 000000000000..ebfeafcdb873 --- /dev/null +++ b/x11-plugins/wmdf/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/wmdf/wmdf-0.1.6-r1.ebuild b/x11-plugins/wmdf/wmdf-0.1.6-r1.ebuild new file mode 100644 index 000000000000..2ff8d87df2b4 --- /dev/null +++ b/x11-plugins/wmdf/wmdf-0.1.6-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="An app to monitor disk space on partitions" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/359/${P}.tar.gz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/175" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-linux" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}"/src + + # Remove special filesystem entries, see bug #97856 + epatch "${FILESDIR}"/wmdf_sys-fs.patch + + # Remove non-implemented command line args from 'wmdf -h' listing + epatch "${FILESDIR}"/wmdf_cmd_line_args.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + dodoc README AUTHORS ChangeLog NEWS THANKS TODO +} diff --git a/x11-plugins/wmdiskmon/Manifest b/x11-plugins/wmdiskmon/Manifest new file mode 100644 index 000000000000..3304146f8638 --- /dev/null +++ b/x11-plugins/wmdiskmon/Manifest @@ -0,0 +1,2 @@ +DIST wmdiskmon-0.0.1.tar.gz 91956 SHA256 7b856e6a8fd8f1aa8e3b698e28e8abd82700a8101e7a5c36f5bcd80b275f57ce +DIST wmdiskmon-0.0.2.tar.gz 91996 SHA256 7f785aa2575c980bb2732fd69d53daeab6b2047b9e5dc3548d909145779fe06e SHA512 c39c298961129fc6951d27096c2993b0cafcba52b5898518fdb6f446b6fd6332db1df36bd1c812f1b1ab7fb0c59759f749176a675a29eb271a72430709ef550b WHIRLPOOL 32d797bce1c584fdf7b5a9687445139050a36c7698d516fbd940bd22966cdab9636ff20a77060cb4b06534632cba552c259d5b794003491c24528e242be399dd diff --git a/x11-plugins/wmdiskmon/metadata.xml b/x11-plugins/wmdiskmon/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmdiskmon/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/wmdiskmon/wmdiskmon-0.0.1.ebuild b/x11-plugins/wmdiskmon/wmdiskmon-0.0.1.ebuild new file mode 100644 index 000000000000..991f1a13dcc9 --- /dev/null +++ b/x11-plugins/wmdiskmon/wmdiskmon-0.0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="a dockapp to display disk space usage" +HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html" +SRC_URI="http://tnemeth.free.fr/projets/programmes/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-libs/libXt" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog THANKS TODO +} diff --git a/x11-plugins/wmdiskmon/wmdiskmon-0.0.2.ebuild b/x11-plugins/wmdiskmon/wmdiskmon-0.0.2.ebuild new file mode 100644 index 000000000000..7a28208a963d --- /dev/null +++ b/x11-plugins/wmdiskmon/wmdiskmon-0.0.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +DESCRIPTION="a dockapp to display disk space usage" +HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html" +SRC_URI="http://tnemeth.free.fr/projets/programmes/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-libs/libXt" + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog THANKS TODO +} diff --git a/x11-plugins/wmdl/Manifest b/x11-plugins/wmdl/Manifest new file mode 100644 index 000000000000..54c8463bd70e --- /dev/null +++ b/x11-plugins/wmdl/Manifest @@ -0,0 +1 @@ +DIST wmdl-1.4.1.tar.gz 45557 RMD160 d01afe58fb568933e6cc70e4c802a194396cd72c SHA1 837e82a7ea66233ec6e08bb939268e47bd114de8 SHA256 69593b4f6180de327673dac1be399de5c778f21d6355d24ed9d7a672fa8ce4ba diff --git a/x11-plugins/wmdl/files/makefile.diff b/x11-plugins/wmdl/files/makefile.diff new file mode 100644 index 000000000000..90491b7a93e9 --- /dev/null +++ b/x11-plugins/wmdl/files/makefile.diff @@ -0,0 +1,44 @@ +diff -urN wmdl-1.4.1/Makefile wmdl-1.4.1-modified/Makefile +--- Makefile 2009-04-28 16:34:24.000000000 +0200 ++++ Makefile.new 2009-04-28 16:33:55.000000000 +0200 +@@ -1,23 +1,14 @@ + +-INCLUDES = -I/usr/include \ +- -I/usr/local/include \ +- -I/usr/openwin/share/include/X11 +- +-LIBINC = -L/usr/lib/X11 \ +- -L/usr/X11/lib \ +- -L/usr/X11R6/lib \ +- -L/usr/local/lib/X11 ++INCLUDES = ++ ++LIBINC = -L/usr/X11R6/lib + + PIXMAPINC = -I./images + + LIBS = -lm -lX11 -lXpm -lXext + + +-CC=gcc +-#CC=cc +- +-#CFLAGS= -g --verbose +-CFLAGS= -g ++FLAGS=${CFLAGS} + + TARGET=wmdl + SOURCE=wmdl.c +@@ -25,10 +16,10 @@ + all: ${TARGET} + + ${TARGET}: ${SOURCE} +- $(CC) $(CFLAGS) -o ${TARGET} ${SOURCE} ${INCLUDES} ${LIBINC} ${PIXMAPINC} ${LIBS} ++ $(CC) $(FLAGS) -o ${TARGET} ${SOURCE} ${INCLUDES} ${LIBINC} ${PIXMAPINC} ${LIBS} + + clean: + if [ -e wmdl ] ; then rm wmdl; fi + + install: +- if [ -e /usr/local/bin ] ; then cp wmdl /usr/local/bin ; fi ++ if [ -e /usr/bin ] ; then cp wmdl /usr/bin ; fi diff --git a/x11-plugins/wmdl/metadata.xml b/x11-plugins/wmdl/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmdl/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/wmdl/wmdl-1.4.1.ebuild b/x11-plugins/wmdl/wmdl-1.4.1.ebuild new file mode 100644 index 000000000000..8e0b6d8e8111 --- /dev/null +++ b/x11-plugins/wmdl/wmdl-1.4.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" +DESCRIPTION="WindowMaker Doom Load dockapp" +HOMEPAGE="http://the.homepage.doesnt.appear.to.exist.anymore.com" +SRC_URI="http://www.ibiblio.org/pub/linux/distributions/gentoo/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/makefile.diff + +} + +src_compile() { + emake FLAGS="${CFLAGS} ${LDFLAGS}" || die "parallel make failed" +} + +src_install() { + dobin wmdl || die "dobin failed." +} diff --git a/x11-plugins/wmdots/Manifest b/x11-plugins/wmdots/Manifest new file mode 100644 index 000000000000..5c3730449b05 --- /dev/null +++ b/x11-plugins/wmdots/Manifest @@ -0,0 +1 @@ +DIST wmdots-0.2beta.tar.gz 94933 RMD160 11ffec8d242ed0d2835589565457f72dfe28a215 SHA1 7f021a3a66eaa26aff54473ad33321e4bc0fcd96 SHA256 c25be89d9f0ae840dff68034663524591f9e33fc7bba0c7b264f39ca08fc8c9e diff --git a/x11-plugins/wmdots/files/wmdots-0.2_beta-stringh.patch b/x11-plugins/wmdots/files/wmdots-0.2_beta-stringh.patch new file mode 100644 index 000000000000..129b938619ee --- /dev/null +++ b/x11-plugins/wmdots/files/wmdots-0.2_beta-stringh.patch @@ -0,0 +1,11 @@ +diff -ur wmdots.orig/wmdots.c wmdots/wmdots.c +--- wmdots.orig/wmdots.c 1999-10-11 22:39:11.000000000 +0300 ++++ wmdots/wmdots.c 2008-01-06 15:18:26.000000000 +0200 +@@ -83,6 +83,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <unistd.h> ++#include <string.h> + + #include <X11/xpm.h> + #include "../wmgeneral/wmgeneral.h" diff --git a/x11-plugins/wmdots/metadata.xml b/x11-plugins/wmdots/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmdots/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/wmdots/wmdots-0.2_beta.ebuild b/x11-plugins/wmdots/wmdots-0.2_beta.ebuild new file mode 100644 index 000000000000..c7bcd16a68bb --- /dev/null +++ b/x11-plugins/wmdots/wmdots-0.2_beta.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="multishape 3d rotating dots" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/116" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/153/${P/_/}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-stringh.patch + sed -e "s:cc:$(tc-getCC):g" \ + -e "s:-g -O2:${CFLAGS}:g" -i Makefile + + #Fix compilation target + sed -e "s:wmifs:wmdots:" -i Makefile + + #Honour Gentoo LDFLAGS, see bug #336982 + sed -e "s:-o wmdots:\$(LDFLAGS) -o wmdots:" -i Makefile +} + +src_compile() { + emake clean || die "emake clean failed." + emake LIBDIR="-L/usr/$(get_libdir)" || die "emake failed." +} + +src_install() { + dobin wmdots +} diff --git a/x11-plugins/wmdrawer/Manifest b/x11-plugins/wmdrawer/Manifest new file mode 100644 index 000000000000..36159c458456 --- /dev/null +++ b/x11-plugins/wmdrawer/Manifest @@ -0,0 +1 @@ +DIST wmdrawer-0.10.5.tar.gz 49413 SHA256 1fd727ce9d91abe1e0c12ad82dbaa9b3aa69f4b852af460ac81c32a7394c5078 diff --git a/x11-plugins/wmdrawer/files/wmdrawer-0.10.5-gtk+-2.patch b/x11-plugins/wmdrawer/files/wmdrawer-0.10.5-gtk+-2.patch new file mode 100644 index 000000000000..f378c73400ba --- /dev/null +++ b/x11-plugins/wmdrawer/files/wmdrawer-0.10.5-gtk+-2.patch @@ -0,0 +1,14 @@ +diff -ur wmdrawer-0.10.5/Makefile wmdrawer-0.10.5~/Makefile +--- wmdrawer-0.10.5/Makefile 2004-06-26 20:16:04.000000000 +0200 ++++ wmdrawer-0.10.5~/Makefile 2005-03-25 22:08:08.000000000 +0100 +@@ -16,8 +16,8 @@ + DOCDIR = $(PREFIX)/share/doc + + # Image library +-USE_GDKPIXBUF = 1 +-#USE_GDKPIXBUF2 = 1 ++#USE_GDKPIXBUF = 1 ++USE_GDKPIXBUF2 = 1 + #USE_IMLIB = 1 + + DEFS = $(OS) diff --git a/x11-plugins/wmdrawer/metadata.xml b/x11-plugins/wmdrawer/metadata.xml new file mode 100644 index 000000000000..e0d2cdc50f22 --- /dev/null +++ b/x11-plugins/wmdrawer/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmDrawer is a dockapp which provides a drawer +(button bar) from which applications can be launched. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild b/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild new file mode 100644 index 000000000000..5bf6cba5b4b6 --- /dev/null +++ b/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="dockapp which provides a drawer (retractable button bar) to launch applications" +HOMEPAGE="http://people.easter-eggs.org/~valos/wmdrawer/" +SRC_URI="http://people.easter-eggs.org/~valos/wmdrawer/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gtk+-2.patch + + # Honour Gentoo CFLAGS + sed -i -e "s|-O3|${CFLAGS}|" Makefile || die + # Fix LDFLAGS ordering per bug #248640 + sed -i -e 's/$(CC) $(LDFLAGS) -o $@ $(OBJS)/$(CC) -o $@ $(OBJS) $(LDFLAGS)/' Makefile || die + # Do not auto-strip binaries + sed -i -e 's/ strip $@//' Makefile || die + # Honour Gentoo LDFLAGS + sed -i -e 's/$(CC) -o/$(CC) $(REAL_LDFLAGS) -o/' Makefile || die +} + +src_compile() { + emake REAL_LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin wmdrawer + dodoc README TODO AUTHORS ChangeLog wmdrawerrc.example + doman doc/wmdrawer.1x.gz +} diff --git a/x11-plugins/wmfire/Manifest b/x11-plugins/wmfire/Manifest new file mode 100644 index 000000000000..33cc00f2fdc1 --- /dev/null +++ b/x11-plugins/wmfire/Manifest @@ -0,0 +1 @@ +DIST wmfire-1.2.4.tar.gz 91144 SHA256 e38b508519faf132273a9eaf75db56f1b14a5912667dd6843fc902d4a0ca2f80 diff --git a/x11-plugins/wmfire/files/wmfire-1.2.3-stringh.patch b/x11-plugins/wmfire/files/wmfire-1.2.3-stringh.patch new file mode 100644 index 000000000000..a0fcfdcdc6e3 --- /dev/null +++ b/x11-plugins/wmfire/files/wmfire-1.2.3-stringh.patch @@ -0,0 +1,11 @@ +diff -ur wmfire-1.2.3.orig/src/session.c wmfire-1.2.3/src/session.c +--- wmfire-1.2.3.orig/src/session.c 2005-12-04 12:39:16.000000000 +0200 ++++ wmfire-1.2.3/src/session.c 2008-01-12 13:26:04.000000000 +0200 +@@ -21,6 +21,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> ++#include <string.h> + #include <sys/types.h> + #include <pwd.h> + diff --git a/x11-plugins/wmfire/files/wmfire-1.2.4-lastprocessor_SMP.patch b/x11-plugins/wmfire/files/wmfire-1.2.4-lastprocessor_SMP.patch new file mode 100644 index 000000000000..2b389fecdd68 --- /dev/null +++ b/x11-plugins/wmfire/files/wmfire-1.2.4-lastprocessor_SMP.patch @@ -0,0 +1,130 @@ +--- wmfire-1.2.4/src/wmfire.c.orig 2005-12-04 11:39:16.000000000 +0100 ++++ wmfire-1.2.4/src/wmfire.c 2012-02-27 15:48:05.136807354 +0100 +@@ -63,6 +63,10 @@ + #define FIRE_NET 3 + #define FIRE_FILE 4 + ++/* wbk 20120220 - cleaning up "next cpu" logic */ ++#define CPU_AV -1 /* needs to be 1st CPU - 1 */ ++#define CPU_NEXT -2 /* arbitrary but must be < CPU_AV */ ++ + #define NET_SPD_PPP 56 + #define NET_SPD_ETH 100 + +@@ -104,7 +108,8 @@ + int update_mem(); + int update_net(); + int update_file(); +-int change_cpu(int); ++void change_cpu(int); ++int more_cpus(); + void change_flame(int); + GdkCursor *setup_cursor(); + void burn_spot(int, int, int); +@@ -130,8 +135,7 @@ + + int monitor = FIRE_CPU; + int load = 100; +-int cpu_av = 1; +-int cpu_id = 0; ++int cpu_id = CPU_AV; /* wbk - special value instead of separate flag */ + int cpu_nice = 1; + char net_dev[16] = "ppp0"; + int net_spd = 0; +@@ -224,8 +228,15 @@ + next = 0; + + if (!lock) { +- if (monitor == FIRE_CPU && change_cpu(-1)) +- monitor = FIRE_MEM; ++ if (monitor == FIRE_CPU) ++ { ++ /* First, check if we have more CPU's to monitor. If none, * ++ * move along to FIRE_MEM. Regardless, after this check, we * ++ * call change_cpu() to increment or reset CPU number. */ ++ if (!more_cpus()) ++ monitor = FIRE_MEM; ++ change_cpu(CPU_NEXT); ++ } + else if (monitor == FIRE_MEM) + monitor = FIRE_NET; + else if (monitor == FIRE_NET) +@@ -285,7 +296,7 @@ + + glibtop_get_cpu(&cpu); + +- if (cpu_av) { ++ if (cpu_id == CPU_AV) { + if (cpu_nice) + load = cpu.user + cpu.nice + cpu.sys; + else +@@ -383,30 +394,46 @@ + /* Change CPU monitor */ + /******************************************/ + +-int ++void + change_cpu(int which) + { +- glibtop_cpu cpu; ++ /* wbk 20120221 - Changed return type to void. Use more_cpus() * ++ * for tests instead. Mixing test logic with changing the CPU * ++ * was causing CPU's to be skipped in calling function. */ + ++ /* wbk - Even though we never use the cpu struct, I think this * ++ * call may be necessary to set up glibtop_global_server? */ ++ glibtop_cpu cpu; + glibtop_get_cpu(&cpu); + + /* This should work, but I have a lonely uniprocessor system */ ++ /* wbk - tested with a quad core. */ + +- if (which >= 0) { ++ if (which != CPU_NEXT) /* was run with command-line CPU specifier */ + cpu_id = which; +- cpu_av = 0; +- } else { +- cpu_id++; +- cpu_av = 0; +- } ++ else /* negative value "special case" for which */ ++ cpu_id++; + +- if (cpu_id >= glibtop_global_server->ncpu || cpu_id >= GLIBTOP_NCPU) { +- cpu_id = 0; +- cpu_av = 1; +- return 1; +- } ++ /* Since we already incremented cpu_id, we are comparing a * ++ * 1-index with 0-index value essentially. But since GLIBTOP_NCPU * ++ * is 1-indexed, keep >= for it. (a bit of an oversimplification: * ++ * cpu_id is still definitely regarded as 0-indexed elsewhere. We * ++ * index an array with it later, so this is important) */ ++ if (cpu_id > glibtop_global_server->ncpu || cpu_id >= GLIBTOP_NCPU) ++ cpu_id = CPU_AV; + +- return 0; ++ return; ++} ++ ++int ++more_cpus() ++{ ++ /* returns positive if next CPU would be valid, Negative if * ++ * already monitoring highest-numbered CPU or if more cores than * ++ * glibtop supports. */ ++ int next_cpu = cpu_id + 1; ++ return !(next_cpu > glibtop_global_server->ncpu ++ || next_cpu >= GLIBTOP_NCPU); + } + + /******************************************/ +@@ -494,7 +521,7 @@ + if (proximity++ > 100) { + + if (monitor == FIRE_CPU) { +- if (cpu_av) { ++ if (cpu_id == CPU_AV) { + /* Horizontal bar for average cpu */ + memset(&bm.cmap[27 * XMAX + 20], 255, 16); + memset(&bm.cmap[28 * XMAX + 20], 255, 16); diff --git a/x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch b/x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch new file mode 100644 index 000000000000..a2540a247cf6 --- /dev/null +++ b/x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch @@ -0,0 +1,19 @@ +--- src/wmfire.c.orig 2010-06-28 23:53:35.000000000 +0200 ++++ src/wmfire.c 2010-06-28 23:54:35.000000000 +0200 +@@ -150,6 +150,8 @@ + int + main(int argc, char **argv) + { ++ /* This is needed to proper dockapp work on >=GTK+-2.18 */ ++ setenv("GDK_NATIVE_WINDOWS", "1", 0); + GdkEvent *event; + GdkCursor *cursor; + int i; +@@ -632,6 +634,7 @@ + + /* Moved after gdk_window_show due to change in GTK 2.4 */ + XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints); ++ gdk_window_show(bm.iconwin); + + if (bm.x > 0 || bm.y > 0) + gdk_window_move(bm.win, bm.x, bm.y); diff --git a/x11-plugins/wmfire/metadata.xml b/x11-plugins/wmfire/metadata.xml new file mode 100644 index 000000000000..93b239563828 --- /dev/null +++ b/x11-plugins/wmfire/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmfire is an eye-candy dock applet for Window Maker that displays generated +fire, possibly according to how much load the system is experiencing, or from a +number somewhere in a file. wmfire requires very little CPU. +</longdescription> +<use> + <flag name='session'>Enable session management</flag> +</use> +</pkgmetadata> diff --git a/x11-plugins/wmfire/wmfire-1.2.4-r2.ebuild b/x11-plugins/wmfire/wmfire-1.2.4-r2.ebuild new file mode 100644 index 000000000000..f2091677f5a5 --- /dev/null +++ b/x11-plugins/wmfire/wmfire-1.2.4-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit autotools eutils + +DESCRIPTION="Load monitoring dockapp displaying dancing flame" +HOMEPAGE="http://www.swanson.ukfsn.org/#wmfire" +SRC_URI="http://www.swanson.ukfsn.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="session" + +RDEPEND="x11-libs/gtk+:2 + gnome-base/libgtop:2 + x11-libs/libX11 + x11-libs/libXext + session? ( x11-libs/libSM + x11-libs/libICE )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.2.3-stringh.patch + epatch "${FILESDIR}"/${P}-no_display.patch + epatch "${FILESDIR}"/${P}-lastprocessor_SMP.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable session) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ALL_I_GET_IS_A_GREY_BOX AUTHORS ChangeLog NEWS README +} diff --git a/x11-plugins/wmfishtime/Manifest b/x11-plugins/wmfishtime/Manifest new file mode 100644 index 000000000000..3be14345f433 --- /dev/null +++ b/x11-plugins/wmfishtime/Manifest @@ -0,0 +1 @@ +DIST wmfishtime-1.24.tar.gz 21895 SHA256 7d92889d295558acd8af79f4d74c6fa7c980ac1010b7f0691249a117b34bba07 SHA512 7df3c6648b46c6f67cf094f634dc7699c1dd1ee4f4a18dbf63d74ebda74f322524b83d99f10a1c8c8c8a5040d78b071754a40ff162fdb13a5a00d01f1eb5c4e6 WHIRLPOOL df9c90ceb80e377f9ea58ef92df62970b97d7279c6a4a79b49d3f0162b900b303dd06e35065c0fd5ebf2744e7291d5ae37854bd5da8fe6c584225f30a66d2307 diff --git a/x11-plugins/wmfishtime/files/wmfishtime-1.24-gtk.patch b/x11-plugins/wmfishtime/files/wmfishtime-1.24-gtk.patch new file mode 100644 index 000000000000..68d4c057c44e --- /dev/null +++ b/x11-plugins/wmfishtime/files/wmfishtime-1.24-gtk.patch @@ -0,0 +1,60 @@ +diff -ur wmfishtime-1.24.orig/fishmon.c wmfishtime-1.24/fishmon.c +--- wmfishtime-1.24.orig/fishmon.c 2004-05-13 02:55:59.000000000 +0300 ++++ wmfishtime-1.24/fishmon.c 2008-01-12 16:19:34.000000000 +0200 +@@ -648,6 +648,7 @@ + + /* make a copy for the iconwin - parameters are the same */ + memcpy(&attri, &attr, sizeof(GdkWindowAttr)); ++ attri.window_type = GDK_WINDOW_CHILD; + + sizehints.flags = USSize; + sizehints.width = 64; +@@ -679,7 +680,6 @@ + wmhints.window_group = win; + wmhints.flags = + StateHint | IconWindowHint | IconPositionHint | WindowGroupHint; +- XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints); + + bm.gc = gdk_gc_new(bm.win); + +@@ -693,6 +693,8 @@ + + gdk_window_show(bm.win); + ++ XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints); ++ + #undef MASK + } /* make_new_fishmon_dockapp */ + +diff -ur wmfishtime-1.24.orig/Makefile wmfishtime-1.24/Makefile +--- wmfishtime-1.24.orig/Makefile 2001-05-26 23:49:41.000000000 +0300 ++++ wmfishtime-1.24/Makefile 2008-01-12 16:22:30.000000000 +0200 +@@ -2,11 +2,11 @@ + DESTDIR = + + # where to install this program +-PREFIX = $(DESTDIR)/usr/X11R6 ++PREFIX = $(DESTDIR)/usr + + # no user serviceable parts below this line + # optimization cflags +-CFLAGS = -O3 -Wall `gtk-config --cflags` ${EXTRA} ++CFLAGS += -Wall `pkg-config gtk+-2.0 --cflags` ${EXTRA} + # profiling cflags + # CFLAGS=-ansi -pedantic -Wall -pg -O3 `gtk-config --cflags` ${EXTRA} -DPRO + # test coverage cflags +@@ -16,7 +16,7 @@ + CC = gcc + SHELL = sh + OBJS = fishmon.o +-LIBS = `gtk-config --libs | sed "s/-lgtk//g"` ++LIBS = `pkg-config gtk+-2.0 --libs` -lm -lX11 + INSTALL = -m 755 + + all: wmfishtime +@@ -30,4 +30,4 @@ + # You're going to have to be root to do this! + install: + install $(INSTALL) wmfishtime $(PREFIX)/bin +- install $(INSTALL) wmfishtime.1 $(PREFIX)/man/man1 ++ install $(INSTALL) wmfishtime.1 $(PREFIX)/share/man/man1 diff --git a/x11-plugins/wmfishtime/files/wmfishtime-1.24-no_display.patch b/x11-plugins/wmfishtime/files/wmfishtime-1.24-no_display.patch new file mode 100644 index 000000000000..a991cdab934b --- /dev/null +++ b/x11-plugins/wmfishtime/files/wmfishtime-1.24-no_display.patch @@ -0,0 +1,19 @@ +--- fishmon.c.orig 2010-06-27 18:38:42.000000000 +0200 ++++ fishmon.c 2010-06-27 18:40:56.000000000 +0200 +@@ -152,6 +152,8 @@ + + int main(int argc, char **argv) + { ++ /* This is needed to proper dockapp work on >=GTK+-2.18 */ ++ setenv("GDK_NATIVE_WINDOWS", "1", 0); + int ch; + GdkEvent *event; + #ifdef PRO +@@ -694,6 +696,7 @@ + gdk_window_show(bm.win); + + XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints); ++ gdk_window_show(bm.iconwin); + + #undef MASK + } /* make_new_fishmon_dockapp */ diff --git a/x11-plugins/wmfishtime/metadata.xml b/x11-plugins/wmfishtime/metadata.xml new file mode 100644 index 000000000000..1c3407201408 --- /dev/null +++ b/x11-plugins/wmfishtime/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +WMFishTime is a silly little dockapp that displays current time, date, and day +of the week. It features alpha-blended bubbles, anti-aliased clock hands, and +fish swimming behind the clock face. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmfishtime/wmfishtime-1.24-r1.ebuild b/x11-plugins/wmfishtime/wmfishtime-1.24-r1.ebuild new file mode 100644 index 000000000000..3dec9d0db116 --- /dev/null +++ b/x11-plugins/wmfishtime/wmfishtime-1.24-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 eutils toolchain-funcs + +DESCRIPTION="A fun clock applet for your desktop featuring swimming fish" +HOMEPAGE="http://www.ne.jp/asahi/linux/timecop" +SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gtk.patch +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc ALL_I_GET_IS_A_GRAY_BOX AUTHORS ChangeLog CODING README +} diff --git a/x11-plugins/wmfishtime/wmfishtime-1.24-r2.ebuild b/x11-plugins/wmfishtime/wmfishtime-1.24-r2.ebuild new file mode 100644 index 000000000000..b373fb396389 --- /dev/null +++ b/x11-plugins/wmfishtime/wmfishtime-1.24-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="A fun clock applet for your desktop featuring swimming fish" +HOMEPAGE="http://www.ne.jp/asahi/linux/timecop" +SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gtk.patch \ + "${FILESDIR}"/${P}-no_display.patch + + sed -i -e "s/\$(CC)/& \$(LDFLAGS)/" Makefile || die #331891 +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc ALL_I_GET_IS_A_GRAY_BOX AUTHORS ChangeLog CODING README +} diff --git a/x11-plugins/wmforkplop/Manifest b/x11-plugins/wmforkplop/Manifest new file mode 100644 index 000000000000..e13ac4a14d18 --- /dev/null +++ b/x11-plugins/wmforkplop/Manifest @@ -0,0 +1 @@ +DIST wmforkplop-0.9.3.tar.gz 228451 SHA256 1510a99bce9f20db67560af4d13d94477ef5e1926adc769e783434d77b0f9d5b diff --git a/x11-plugins/wmforkplop/files/wmforkplop-0.9.3-cflags.patch b/x11-plugins/wmforkplop/files/wmforkplop-0.9.3-cflags.patch new file mode 100644 index 000000000000..3c7c369aac47 --- /dev/null +++ b/x11-plugins/wmforkplop/files/wmforkplop-0.9.3-cflags.patch @@ -0,0 +1,12 @@ +--- configure.orig 2012-10-23 15:54:48.098767586 +0200 ++++ configure 2012-10-23 15:54:56.946510053 +0200 +@@ -3483,9 +3483,6 @@ + + + +-if test x$GCC = xyes; then +- CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W"; +-fi + + echo "$as_me:$LINENO: checking for X" >&5 + echo $ECHO_N "checking for X... $ECHO_C" >&6 diff --git a/x11-plugins/wmforkplop/metadata.xml b/x11-plugins/wmforkplop/metadata.xml new file mode 100644 index 000000000000..ed275b7d045f --- /dev/null +++ b/x11-plugins/wmforkplop/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <maintainer> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <longdescription> + wmforkplop is yet another dockapp for WindowMaker, or any windowmanager/desktop environment that handles dockapps. It is a mixture between wmhdplop and the great wmtop: wmforkplop monitors your processes by sending visual stimuli to your cortex each time your kernel forks or kills a process. Try to compile a kernel and enjoy the wmforkplop show! + </longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmforkplop/wmforkplop-0.9.3-r1.ebuild b/x11-plugins/wmforkplop/wmforkplop-0.9.3-r1.ebuild new file mode 100644 index 000000000000..111df8cc6f1d --- /dev/null +++ b/x11-plugins/wmforkplop/wmforkplop-0.9.3-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils + +DESCRIPTION="monitors the forking activity of the kernel and most active processes" +HOMEPAGE="http://hules.free.fr/wmforkplop" +SRC_URI="http://hules.free.fr/wmforkplop/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="" + +DEPEND="gnome-base/libgtop + media-libs/imlib2[X]" +RDEPEND="${DEPEND}" + +src_prepare() { + # Easier to patch configure directly here + epatch "${FILESDIR}"/${P}-cflags.patch +} diff --git a/x11-plugins/wmforkplop/wmforkplop-0.9.3.ebuild b/x11-plugins/wmforkplop/wmforkplop-0.9.3.ebuild new file mode 100644 index 000000000000..ec4fbb516012 --- /dev/null +++ b/x11-plugins/wmforkplop/wmforkplop-0.9.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="monitors the forking activity of the kernel and most active processes" +HOMEPAGE="http://hules.free.fr/wmforkplop" +SRC_URI="http://hules.free.fr/wmforkplop/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="" + +DEPEND="gnome-base/libgtop + media-libs/imlib2[X]" +RDEPEND="${DEPEND}" + +#src_install() { +# emake DESTDIR="${D}" install +#} diff --git a/x11-plugins/wmfortune/Manifest b/x11-plugins/wmfortune/Manifest new file mode 100644 index 000000000000..508d410b2a74 --- /dev/null +++ b/x11-plugins/wmfortune/Manifest @@ -0,0 +1 @@ +DIST wmfortune-0.241.tar.gz 23406 SHA256 b149067b7e3521f7e03354b12754baaf9c5556af4d286bbd6d169b1db9f6dba0 SHA512 d5640090c2f2ba788ab9367b70d948d4f1d846174714e2415e81500f5fef6c3e7e81b12575274bdb3a760fa3e2e9ab499880713a923add136089969b394f9409 WHIRLPOOL 1bbfec73e9858e78aa627409c7df08b51edf0b36bfcf7f4cfbe8a5c862400585054eb60761962677cd3002edcf775d2296cf90fadad7e2537346902a69ae487c diff --git a/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch b/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch new file mode 100644 index 000000000000..a8e9f9ff6eda --- /dev/null +++ b/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch @@ -0,0 +1,11 @@ +diff -ur wmfortune-0.241.orig/wmfortune.c wmfortune-0.241/wmfortune.c +--- wmfortune-0.241.orig/wmfortune.c 2001-09-01 03:25:39.000000000 +0300 ++++ wmfortune-0.241/wmfortune.c 2008-01-15 10:21:17.000000000 +0200 +@@ -25,6 +25,7 @@ + + #include <unistd.h> + #include <stdio.h> ++#include <string.h> + #include "dockapp.h" + #include "XPM/panel.xpm" + #include "XPM/panel_button_pressed.xpm" diff --git a/x11-plugins/wmfortune/metadata.xml b/x11-plugins/wmfortune/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmfortune/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/wmfortune/wmfortune-0.241.ebuild b/x11-plugins/wmfortune/wmfortune-0.241.ebuild new file mode 100644 index 000000000000..de9e4d661c10 --- /dev/null +++ b/x11-plugins/wmfortune/wmfortune-0.241.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a dockapp showing fortune-mod messages" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/90" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/128/${P}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="games-misc/fortune-mod + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-stringh.patch + + # Honour Gentoo LDFLAGS. Closes bug #336446. + sed -i 's/-o $(DEST)/$(LDFLAGS) -o $(DEST)/' Makefile +} + +src_compile() { + emake CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" \ + XLIBDIR="/usr/$(get_libdir)" || die "emake failed." +} + +src_install() { + dobin ${PN} + dodoc CHANGES README TODO +} diff --git a/x11-plugins/wmfrog/Manifest b/x11-plugins/wmfrog/Manifest new file mode 100644 index 000000000000..b17fdab8b890 --- /dev/null +++ b/x11-plugins/wmfrog/Manifest @@ -0,0 +1,2 @@ +DIST wmfrog-0.2.0.tgz 59113 SHA256 9471daf33a87ebab26a0f2477f86caa6d956f3f06771d58ce0b506049e2defb5 +DIST wmfrog-0.3.1.tgz 128499 SHA256 01929419c30ea50fbae28bb18ea26a53bb8a6b9b83c7d7d469bac867397616cb diff --git a/x11-plugins/wmfrog/files/01-fix-segfault-0.2.0.patch b/x11-plugins/wmfrog/files/01-fix-segfault-0.2.0.patch new file mode 100644 index 000000000000..7e88f49058ff --- /dev/null +++ b/x11-plugins/wmfrog/files/01-fix-segfault-0.2.0.patch @@ -0,0 +1,54 @@ +From 7b9ead8d480eb2be07db646e9c6383f3397beaea Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <lack@gentoo.org> +Date: Thu, 6 Aug 2009 12:22:26 -0400 +Subject: [PATCH] Fixed segfault if Weather or Clouds not present + +Though the variables 'weatherFound' and 'cloudsFound' were being set properly by +fscanf, their values were never actually checked. + +Furthermore, the strings (Weather, Clouds, tmp1 and tmp2) were not being +initialized to NULL as the code seems to have been expecting. +--- + Src/wmFrog.c | 12 ++++++------ + 1 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/Src/wmFrog.c b/Src/wmFrog.c +index e2d82af..af4101a 100644 +--- a/Src/wmFrog.c ++++ b/Src/wmFrog.c +@@ -68,10 +68,10 @@ int n, s, m, i, dt1, dt2, dt3 ; + XEvent event; + char command[1024], Line[512], FileName[10]; + FILE *fp; +- char* Weather; +- char* Clouds; +- char* tmp1; +- char* tmp2; ++ char* Weather = NULL; ++ char* Clouds = NULL; ++ char* tmp1 = NULL; ++ char* tmp2 = NULL; + int intensity=0; + char* precip; + char* desc; +@@ -238,7 +238,7 @@ FILE *fp; + keepgoing=1; + { + +- do{ ++ if (weatherFound) do{ + + + tmp1=mystrsep(&Weather,";"); +@@ -289,7 +289,7 @@ FILE *fp; + while(keepgoing); + } + +- do{ ++ if (cloudsFound) do{ + tmp1=mystrsep(&Clouds,";"); + if(tmp1) + { +-- +1.6.3.3 + diff --git a/x11-plugins/wmfrog/files/02-buffer-overflow-0.2.0.patch b/x11-plugins/wmfrog/files/02-buffer-overflow-0.2.0.patch new file mode 100644 index 000000000000..c4267585836c --- /dev/null +++ b/x11-plugins/wmfrog/files/02-buffer-overflow-0.2.0.patch @@ -0,0 +1,60 @@ +From 5cc2198aebf090b399bd8aaea0e1c8b054bbda58 Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <i.am@jimramsay.com> +Date: Thu, 6 Aug 2009 12:51:56 -0400 +Subject: [PATCH] Remove buffer overflows + +Replaced all 'sprintf' calls with 'snprintf' and fixed all buffers to reasonable +sizes. +--- + Src/wmFrog.c | 11 +++++------ + 1 files changed, 5 insertions(+), 6 deletions(-) + +diff --git a/Src/wmFrog.c b/Src/wmFrog.c +index af4101a..74e8b56 100644 +--- a/Src/wmFrog.c ++++ b/Src/wmFrog.c +@@ -66,7 +66,7 @@ char* folder; + int main(int argc, char *argv[]) { + int n, s, m, i, dt1, dt2, dt3 ; + XEvent event; +-char command[1024], Line[512], FileName[10]; ++char command[1024], Line[512], FileName[128]; + FILE *fp; + char* Weather = NULL; + char* Clouds = NULL; +@@ -213,7 +213,7 @@ FILE *fp; + + dt2 = 0; + +- sprintf(FileName, "%s/%s", folder, StationID); ++ snprintf(FileName, 128, "%s/%s", folder, StationID); + fprintf(stderr,"%s\n\n",FileName); + if ((fp = fopen(FileName, "r")) != NULL){ + fscanf(fp, "Hour:%d", &hour); +@@ -571,7 +571,7 @@ UpToDate = 0; + /* + * Execute Perl script to grab the Latest METAR Report + */ +- sprintf(command, "/usr/lib/wmfrog/weather.pl %s %s &", StationID, folder); ++ snprintf(command, 1024, "/usr/lib/wmfrog/weather.pl %s %s &", StationID, folder); + //printf("Retrieveing data\n"); + system(command); + ForceDownload = 0; +@@ -844,12 +844,11 @@ char *GetTempDir(char *suffix) + { + uid_t id; + struct passwd *userEntry; +- char * userHome; ++ static char userHome[128]; + + id=getuid(); + userEntry=getpwuid(id); +- userHome=userEntry->pw_dir; +- sprintf(userHome,"%s/%s",userHome,suffix); ++ snprintf(userHome, 128, "%s/%s", userEntry->pw_dir, suffix); + return userHome; + } + +-- +1.6.3.3 + diff --git a/x11-plugins/wmfrog/metadata.xml b/x11-plugins/wmfrog/metadata.xml new file mode 100644 index 000000000000..eb748357d59a --- /dev/null +++ b/x11-plugins/wmfrog/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmfrog</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmfrog/wmfrog-0.2.0-r1.ebuild b/x11-plugins/wmfrog/wmfrog-0.2.0-r1.ebuild new file mode 100644 index 000000000000..c0b4f59989f4 --- /dev/null +++ b/x11-plugins/wmfrog/wmfrog-0.2.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils toolchain-funcs + +DESCRIPTION="a weather application, it shows the weather in a graphical way" +HOMEPAGE="http://wiki.colar.net/wmfrog_dockapp" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="" + +RDEPEND="x11-libs/libXext + x11-libs/libXpm + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/Src + +src_prepare() { + epatch "${FILESDIR}"/*-${PV}.patch +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" INCDIR="" \ + LIBDIR="" SYSTEM="${LDFLAGS}" || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc ../{CHANGES,HINTS} +} diff --git a/x11-plugins/wmfrog/wmfrog-0.3.1.ebuild b/x11-plugins/wmfrog/wmfrog-0.3.1.ebuild new file mode 100644 index 000000000000..b6788b1c40e1 --- /dev/null +++ b/x11-plugins/wmfrog/wmfrog-0.3.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit toolchain-funcs + +DESCRIPTION="a weather application, it shows the weather in a graphical way" +HOMEPAGE="http://wiki.colar.net/wmfrog_dockapp" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libXext + x11-libs/libXpm + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/Src + +src_prepare() { + emake clean || die +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" INCDIR="" \ + LIBDIR="" SYSTEM="${LDFLAGS}" || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ../{CHANGES,HINTS} || die +} diff --git a/x11-plugins/wmfsm/Manifest b/x11-plugins/wmfsm/Manifest new file mode 100644 index 000000000000..25c88f989838 --- /dev/null +++ b/x11-plugins/wmfsm/Manifest @@ -0,0 +1,2 @@ +DIST wmfsm-0.34.tar.gz 105220 SHA256 8f2ac20fceb96cd2508aff2996e5c9896946345ec77b676190f46386b1ee571b SHA512 bf215d199e616c3f3d35d2556f208d76c9d5587e267d0dea3cdc48bc6b73c9216a35f5c683aa9cbfb425c01ff23e85c2a2f435fd87c82c8b26baa63dd7b03f08 WHIRLPOOL 5729efa3ed6896b40121f4f0911799861413f3e4483eec7c550609d9114b2aa3d2f9292d0a40d0cf35ce64034baf327573784854994fbdda3463c83f1624d696 +DIST wmfsm-0.35.tar.gz 21921 SHA256 a8c1a8cc4ff6f41503318fd86f00eaf93a2ddc7b5d84b613299a769e52db9463 SHA512 81f8090f835b1c4cb1f5bf562803bc1ff00c93e59f5f8eaa008c81507b27043999e5cc67f23c14ec785b2e179ff6bdd20e49f6d0f2f8d50556746662bddabbf2 WHIRLPOOL 1fad1d8e26b8caf9de232c47507d822750f3646563b42c2017008a126027ea00a83e46209c92fc09580eb223b8166738848a855ebb5e8a6cb9251c244ff8b6a4 diff --git a/x11-plugins/wmfsm/files/wmfsm-0.34.linux-fs.patch b/x11-plugins/wmfsm/files/wmfsm-0.34.linux-fs.patch new file mode 100644 index 000000000000..51ea67314775 --- /dev/null +++ b/x11-plugins/wmfsm/files/wmfsm-0.34.linux-fs.patch @@ -0,0 +1,11 @@ +--- wmfsm/wmfsm.c 2002-07-13 06:06:35.000000000 +0200 ++++ wmfsm/wmfsm.c 2004-07-17 12:31:19.686338920 +0200 +@@ -509,7 +509,7 @@ + #if defined IRIX64 || defined(SunOS) + strcmp(fstype, "hwgfs") && strcmp(fstype, "autofs") && strcmp(fstype, "proc") && strcmp(fstype, "fd") && !strstr(options, "ignore") + #elif defined linux +- strcmp(fstype, "proc") && strcmp(fstype, "shm") ++ strcmp(fstype, "proc") && strcmp(fstype, "tmpfs") && strcmp(fstype, "devfs") && strcmp(fstype, "ramfs") && strcmp(fstype, "sysfs") && strcmp(fstype, "devpts") && strcmp(fstype, "usbfs") + #else + 1 + #endif diff --git a/x11-plugins/wmfsm/metadata.xml b/x11-plugins/wmfsm/metadata.xml new file mode 100644 index 000000000000..bab79b5a9dd8 --- /dev/null +++ b/x11-plugins/wmfsm/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +Wmfsm monitors your filesystem usage. It features three display modes, +different colorschemes and exclusion of filesystems (eg /cdrom). +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmfsm/wmfsm-0.34-r1.ebuild b/x11-plugins/wmfsm/wmfsm-0.34-r1.ebuild new file mode 100644 index 000000000000..92b62b9b7799 --- /dev/null +++ b/x11-plugins/wmfsm/wmfsm-0.34-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" +DESCRIPTION="dockapp for monitoring filesystem usage" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/100" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + cd "${S}"/wmfsm + epatch "${FILESDIR}"/${P}.linux-fs.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog +} diff --git a/x11-plugins/wmfsm/wmfsm-0.34-r2.ebuild b/x11-plugins/wmfsm/wmfsm-0.34-r2.ebuild new file mode 100644 index 000000000000..bb03e883e4c0 --- /dev/null +++ b/x11-plugins/wmfsm/wmfsm-0.34-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +IUSE="" +DESCRIPTION="dockapp for monitoring filesystem usage" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/100" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_prepare() { + epatch "${FILESDIR}"/${P}.linux-fs.patch + sed -e "/^X11LIBS/s/-I$x_includes //" -i configure.in || die "sed failed" + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog +} diff --git a/x11-plugins/wmfsm/wmfsm-0.35.ebuild b/x11-plugins/wmfsm/wmfsm-0.35.ebuild new file mode 100644 index 000000000000..e4238097321a --- /dev/null +++ b/x11-plugins/wmfsm/wmfsm-0.35.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools + +IUSE="" +DESCRIPTION="dockapp for monitoring filesystem usage" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmfsm" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +src_prepare() { + sed -e "/^X11LIBS/s/-I$x_includes //" -i configure.ac || die "sed failed" + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog +} diff --git a/x11-plugins/wmget/Manifest b/x11-plugins/wmget/Manifest new file mode 100644 index 000000000000..a8f66baaecae --- /dev/null +++ b/x11-plugins/wmget/Manifest @@ -0,0 +1 @@ +DIST wmget-0.6.0-src.tar.gz 41155 SHA256 738b8e22a75f3ed538e473a66908091a13f928f7b163caf2aa79e687f72c32a7 diff --git a/x11-plugins/wmget/metadata.xml b/x11-plugins/wmget/metadata.xml new file mode 100644 index 000000000000..7934c357922b --- /dev/null +++ b/x11-plugins/wmget/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmget lets you run multiple downloads and monitor or control them from within a +dockapp. This makes it easy to see their progress without keeping extra windows +open. wmget uses the libcurl library to support HTTP and FTP downloads. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmget/wmget-0.6.0.ebuild b/x11-plugins/wmget/wmget-0.6.0.ebuild new file mode 100644 index 000000000000..fee4875be939 --- /dev/null +++ b/x11-plugins/wmget/wmget-0.6.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +DESCRIPTION="a libcurl based dockapp for automated downloads" +HOMEPAGE="http://amtrickey.net/wmget/" +SRC_URI="http://amtrickey.net/download/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + >=net-misc/curl-7.9.7" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + + sed -i -e "s:ar rc:$(tc-getAR) rc:" "${S}"/dockapp/Makefile + sed -i 's/$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(DALIB) -o $@/$(CC) $(CFLAGS) $(OBJS) $(DALIB) $(LDFLAGS) -o $@ $(LIBS)/' "${S}"/Makefile + sed -i 's/LDFLAGS=/LIBS=/' "${S}"/Makefile +} + +src_compile() { + emake -j1 CFLAGS="${CFLAGS}" CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed." +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc NEWS README TODO +} diff --git a/x11-plugins/wmgrabimage/Manifest b/x11-plugins/wmgrabimage/Manifest new file mode 100644 index 000000000000..629c1e977a6a --- /dev/null +++ b/x11-plugins/wmgrabimage/Manifest @@ -0,0 +1 @@ +DIST wmGrabImage-0.72.tgz 19902 SHA256 06d7511c02e870700880efaee260afcce97f5f59209dcd0471fdb1a43f23d22c SHA512 64909db71d141ccf849eacbb100072a53770601fdf23949f76a45d1d25f5015ebb8f3a3da99e8f311977967d44a6db6596c2bcbe961fb8e313e41cad4960c92e WHIRLPOOL a2d3cb44dca38cb794738c26a77143c37d25f19734492f09911e8e3777c1ec4b5d6e3d8af051b1468a91f9b9ab4de52fad8cfdbcdf24fc9c50583b7a75e332ca diff --git a/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch b/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch new file mode 100644 index 000000000000..e9e649f1f65c --- /dev/null +++ b/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch @@ -0,0 +1,8 @@ +--- Makefile.orig 2001-05-27 19:02:18.000000000 +0000 ++++ Makefile 2004-06-22 21:05:36.711363520 +0000 +@@ -30,5 +30,4 @@ + install:: wmGrabImage + install -s -m 0755 wmGrabImage $(DESTDIR)/bin + install -m 0755 GrabImage $(DESTDIR)/bin +- install -m 0644 wmGrabImage.1 $(DESTDIR)/man/man1 + diff --git a/x11-plugins/wmgrabimage/files/wmgrabimage.desktop b/x11-plugins/wmgrabimage/files/wmgrabimage.desktop new file mode 100644 index 000000000000..60bd074e2cc2 --- /dev/null +++ b/x11-plugins/wmgrabimage/files/wmgrabimage.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmGragImage +Comment=Image Grabber +Comment[pl]=Wyłapywacz obrazów +Exec=wmgrabimage +Type=Application +Terminal=false +Categories=Graphics;Viewer; diff --git a/x11-plugins/wmgrabimage/metadata.xml b/x11-plugins/wmgrabimage/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmgrabimage/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/wmgrabimage/wmgrabimage-0.72-r1.ebuild b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild new file mode 100644 index 000000000000..5284ab1c9b37 --- /dev/null +++ b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +MY_P=${PN/grabi/GrabI} + +DESCRIPTION="wmGrabImage grabs an image from the WWW and displays it" +SRC_URI="http://dockapps.windowmaker.org/files/12/19/${MY_P}-${PV}.tgz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/12" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="" + +RDEPEND=">=net-misc/wget-1.9-r2 + >=media-gfx/imagemagick-5.5.7.15 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + >=sys-apps/sed-4.1.5-r1" + +S=${WORKDIR}/${MY_P}-${PV}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-noman.patch + sed -i -e 's/-geom /-geometry /' GrabImage || die "sed failed." + sed -i -e 's/install -s -m /install -m /' Makefile || die "sed failed." +} + +src_compile() { + emake clean || die "emake clean failed." + emake CFLAGS="${CFLAGS} -Wall" SYSTEM="${LDFLAGS}" || die "emake failed." +} + +src_install() { + dodir /usr/bin + emake DESTDIR="${D}/usr" install || die "einstall failed." + + doman wmGrabImage.1 + + dodoc ../{BUGS,CHANGES,HINTS,TODO} + + domenu "${FILESDIR}"/${PN}.desktop +} diff --git a/x11-plugins/wmgtemp/Manifest b/x11-plugins/wmgtemp/Manifest new file mode 100644 index 000000000000..9e5145fcd2ed --- /dev/null +++ b/x11-plugins/wmgtemp/Manifest @@ -0,0 +1 @@ +DIST wmgtemp-1.0.tar.bz2 21090 RMD160 70b490c3d6c0baab688e7a0e4ae5e329de3db779 SHA1 ae56612f53c39a4087d986d76ed48fa2045421f6 SHA256 3de2e15358695ce6b9c8f2d4aae33730b90085f31ff3cd7d01647d76370c45d4 diff --git a/x11-plugins/wmgtemp/metadata.xml b/x11-plugins/wmgtemp/metadata.xml new file mode 100644 index 000000000000..b9205f5bda86 --- /dev/null +++ b/x11-plugins/wmgtemp/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmgtemp is a dock-app for Window Maker that graphically displays the CPU and +System temperatures using the lm_sensors package. It was originally intended to +work with the VIA686A chipset although it can dynamically detect chipset +features to work with other sensors. It displays the CPU and System temperature +values, a scaling graph of temperature history, and high-temperature warning +lights. It should also work fine with other window managers. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmgtemp/wmgtemp-1.0.ebuild b/x11-plugins/wmgtemp/wmgtemp-1.0.ebuild new file mode 100644 index 000000000000..34a2eb8f330d --- /dev/null +++ b/x11-plugins/wmgtemp/wmgtemp-1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="CPU and SYS temperature dockapp" +HOMEPAGE="http://www.fluxcode.net" +SRC_URI="http://www.fluxcode.net/${P}.tar.bz2" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + =sys-apps/lm_sensors-3* + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "s:-Wall -g:\$(CFLAGS):" src/Makefile || die "sed failed." + + #Honour Gentoo LDFLAGS, rationalizing Makefile - see bug #337411. + sed -i -e "s:LDFLAGS =:LIBS =:" src/Makefile || die "sed failed." + sed -i -e "s:\$(LDFLAGS) -o \$(BINARY):\$(LDFLAGS) -o \$(BINARY) \$(LIBS):" src/Makefile || die "sed failed." +} + +src_compile() { + emake || die "emake failed." +} + +src_install() { + dodoc BUGS CREDITS README TODO + dobin src/wmgtemp + doman wmgtemp.1 +} diff --git a/x11-plugins/wmhdplop/Manifest b/x11-plugins/wmhdplop/Manifest new file mode 100644 index 000000000000..e33034614752 --- /dev/null +++ b/x11-plugins/wmhdplop/Manifest @@ -0,0 +1 @@ +DIST wmhdplop-0.9.9.tar.gz 232684 SHA256 68f27918a8da4af2389544441eeee3a6fda3a875cd55603a3e04abedc1726553 diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.9-64bit.patch b/x11-plugins/wmhdplop/files/wmhdplop-0.9.9-64bit.patch new file mode 100644 index 000000000000..13650e9bb7d9 --- /dev/null +++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.9-64bit.patch @@ -0,0 +1,94 @@ +diff -pudr wmhdplop-0.9.9/devnames.h wmhdplop-0.9.9-fixed/devnames.h +--- wmhdplop-0.9.9/devnames.h 2004-04-07 01:14:01.000000000 +0200 ++++ wmhdplop-0.9.9-fixed/devnames.h 2010-06-25 21:56:10.662190796 +0200 +@@ -9,7 +9,7 @@ typedef struct DiskList { + unsigned major, minor; + int hd_id, part_id; /* part_id = 0 for disks */ + int enable_hddtemp; +- int nr, nw, touched_r, touched_w; ++ long nr, nw, touched_r, touched_w; + struct DiskList *next; + } DiskList; + +diff -pudr wmhdplop-0.9.9/procstat.c wmhdplop-0.9.9-fixed/procstat.c +--- wmhdplop-0.9.9/procstat.c 2007-04-20 11:12:16.000000000 +0200 ++++ wmhdplop-0.9.9-fixed/procstat.c 2010-06-25 21:55:37.086191145 +0200 +@@ -8,7 +8,7 @@ + static ProcStats ps; + int use_proc_diskstats; + +-void pstat_init(struct pstat *pst, int nslice, float update_interval) { ++void pstat_init(struct pstat *pst, long nslice, float update_interval) { + pst->nslice = nslice; + ALLOC_VEC(pst->slices, nslice); + pst->cur_slice = 0; +@@ -17,7 +17,7 @@ void pstat_init(struct pstat *pst, int n + } + + float pstat_current(struct pstat *pst) { +- int idx = pst->cur_slice ? pst->cur_slice-1 : pst->nslice-1; ++ long idx = pst->cur_slice ? pst->cur_slice-1 : pst->nslice-1; + return pst->slices[idx]/pst->update_interval; + } + +@@ -101,13 +101,13 @@ void update_stats() { + if (!Prefs.debug_disk_rd) { + pstat_add(&ps.disk_read, nr); + } else { +- static int cntr = 0; cntr+=(rand()%30) == 0 ? Prefs.debug_disk_rd : 0; ++ static long cntr = 0; cntr+=(rand()%30) == 0 ? Prefs.debug_disk_rd : 0; + pstat_add(&ps.disk_read, nr + cntr); + } + if (!Prefs.debug_disk_wr) { + pstat_add(&ps.disk_write, nw); + } else { +- static int cntw = 0; cntw+=(rand()%30) == 0 ? Prefs.debug_disk_wr : 0; ++ static long cntw = 0; cntw+=(rand()%30) == 0 ? Prefs.debug_disk_wr : 0; + pstat_add(&ps.disk_write, nw + cntw); + } + readok = 2; +@@ -121,7 +121,7 @@ void update_stats() { + pstat_add(&ps.swap_in, nr); + pstat_add(&ps.swap_out, nw); + } else { +- static int cnt = 0; cnt+=Prefs.debug_swapio; ++ static long cnt = 0; cnt+=Prefs.debug_swapio; + pstat_add(&ps.swap_in, nr + cnt); + pstat_add(&ps.swap_out, nw + cnt); + } +@@ -144,10 +144,10 @@ void init_stats(float update_interval) { + char s[512]; + FILE *f; + +- pstat_init(&ps.swap_in, (int)(0.5/update_interval)+1, update_interval); +- pstat_init(&ps.swap_out, (int)(0.5/update_interval)+1, update_interval); +- pstat_init(&ps.disk_read, (int)(0.5/update_interval)+1, update_interval); +- pstat_init(&ps.disk_write, (int)(0.5/update_interval)+1, update_interval); ++ pstat_init(&ps.swap_in, (long)(0.5/update_interval)+1, update_interval); ++ pstat_init(&ps.swap_out, (long)(0.5/update_interval)+1, update_interval); ++ pstat_init(&ps.disk_read, (long)(0.5/update_interval)+1, update_interval); ++ pstat_init(&ps.disk_write, (long)(0.5/update_interval)+1, update_interval); + f = fopen("/proc/swaps","r"); + //if (!f) { perror("/proc/swaps"); exit(1); } + if (f) { +diff -pudr wmhdplop-0.9.9/procstat.h wmhdplop-0.9.9-fixed/procstat.h +--- wmhdplop-0.9.9/procstat.h 2004-03-14 12:07:15.000000000 +0100 ++++ wmhdplop-0.9.9-fixed/procstat.h 2010-06-25 21:45:52.146334994 +0200 +@@ -4,7 +4,7 @@ + + struct pstat { + unsigned long total; +- int nslice, cur_slice; ++ long nslice, cur_slice; + unsigned long *slices; + float update_interval; + }; +@@ -15,7 +15,7 @@ typedef struct { + struct pstat disk_read, disk_write; + } ProcStats; + +-void pstat_init(struct pstat *pst, int nslice, float update_interval); ++void pstat_init(struct pstat *pst, long nslice, float update_interval); + float pstat_current(struct pstat *pst); + void pstat_add(struct pstat *pst, unsigned long v); + void pstat_advance(struct pstat *pst); diff --git a/x11-plugins/wmhdplop/metadata.xml b/x11-plugins/wmhdplop/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmhdplop/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/wmhdplop/wmhdplop-0.9.9-r2.ebuild b/x11-plugins/wmhdplop/wmhdplop-0.9.9-r2.ebuild new file mode 100644 index 000000000000..fbd73c8ead46 --- /dev/null +++ b/x11-plugins/wmhdplop/wmhdplop-0.9.9-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils multilib + +DESCRIPTION="a dockapp for monitoring disk activities with fancy visuals" +HOMEPAGE="http://hules.free.fr/wmhdplop" +SRC_URI="http://hules.free.fr/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="" + +RDEPEND="media-libs/imlib2[X] + x11-libs/libX11 + x11-libs/libXext + media-fonts/corefonts + >=media-libs/freetype-2" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_prepare() { + epatch "${FILESDIR}"/${P}-64bit.patch + sed -i -e "s:-O3 -fomit-frame-pointer -ffast-math:${CFLAGS}:" "${S}"/configure +} + +src_configure() { + econf --disable-gkrellm +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README || die +} diff --git a/x11-plugins/wmifinfo/Manifest b/x11-plugins/wmifinfo/Manifest new file mode 100644 index 000000000000..0940e765e86c --- /dev/null +++ b/x11-plugins/wmifinfo/Manifest @@ -0,0 +1,2 @@ +DIST wmifinfo-0.09.tgz 16098 SHA256 d1ce49630cf716e17afa1d3fd5a0816f4ba092f2b1e84593784d084fd261d7df +DIST wmifinfo-0.10.tar.gz 17415 SHA256 3f990ccfbd24e01d9f2ca13a5881c6b122e5dd29b10c2778199fc6502ee4c2e3 SHA512 84c0a30eba12bb9e969bea1e7ac7a37c3172cc93f6bb87ee9a9ba0cba5d814ea3550f84626d329e648abe1d834b864fe9f050a411b6063e2c1745dfec1ee96d5 WHIRLPOOL 745bb4ee7bf9d60427e64500eeef577df27d37ac68566d1b07d3ecc93a6a2cc04a0e527dbb4670dcac0fdc9060d229982f48beff860f4ed938596865968487b6 diff --git a/x11-plugins/wmifinfo/metadata.xml b/x11-plugins/wmifinfo/metadata.xml new file mode 100644 index 000000000000..ebfeafcdb873 --- /dev/null +++ b/x11-plugins/wmifinfo/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/wmifinfo/wmifinfo-0.09.ebuild b/x11-plugins/wmifinfo/wmifinfo-0.09.ebuild new file mode 100644 index 000000000000..041d5a9e85ef --- /dev/null +++ b/x11-plugins/wmifinfo/wmifinfo-0.09.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +DESCRIPTION="a dockapp for monitoring network interfaces" +HOMEPAGE="http://zevv.nl/play/code/wmifinfo" +SRC_URI="http://zevv.nl/play/code/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + sed -i -e "s:-O2:${CFLAGS}:" "${S}"/Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" || die +} + +src_install() { + dobin ${PN} || die + dodoc README || die +} diff --git a/x11-plugins/wmifinfo/wmifinfo-0.10.ebuild b/x11-plugins/wmifinfo/wmifinfo-0.10.ebuild new file mode 100644 index 000000000000..9e0327b6127d --- /dev/null +++ b/x11-plugins/wmifinfo/wmifinfo-0.10.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="a dockapp for monitoring network interfaces" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmifinfo" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + + dodoc README Changelog +} diff --git a/x11-plugins/wmifs/Manifest b/x11-plugins/wmifs/Manifest new file mode 100644 index 000000000000..48751bc20dc9 --- /dev/null +++ b/x11-plugins/wmifs/Manifest @@ -0,0 +1,3 @@ +DIST wmifs-1.3b1.tar.gz 32970 SHA256 771bf1f99ec3ef7d95a06b8cb37059876cf054fec593536794ab9f13facf011d +DIST wmifs-1.4.tar.gz 28654 SHA256 6f13c030d5e5717eb73778928c3eb527ddda86fccece3a09506940ff333b9bea SHA512 09c444ca26783ba84b1679c311c3d72bc12e5699c4a368b6dd4ef41e248ff9a1c7ffc7c4353cfe9aa6728fcbc7c2573acc64e8df2060a7196c0b0454683c283e WHIRLPOOL 4ceca1557a74846f27d49fb5e05ed73029622e545eba66144b02eb3715fc55320a7c485ece9022188dbceaf9875b6391a1a754315b59611ee9589f5fd7fc562c +DIST wmifs_1.3b1-11.diff.gz 8117 SHA256 3bd6d6d9021903708692560a403d4aee0cfaa912b5c467a0145b5fc8a6ff5cc0 diff --git a/x11-plugins/wmifs/metadata.xml b/x11-plugins/wmifs/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmifs/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/wmifs/wmifs-1.3_beta1-r2.ebuild b/x11-plugins/wmifs/wmifs-1.3_beta1-r2.ebuild new file mode 100644 index 000000000000..73294b3fcfad --- /dev/null +++ b/x11-plugins/wmifs/wmifs-1.3_beta1-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" +MY_PV=${PV/_beta/b} +S=${WORKDIR}/wmifs.app/wmifs +DESCRIPTION="Network monitoring dock.app" +HOMEPAGE="http://www.linux.tucows.com" +SRC_URI="http://linux.tucows.tierra.net/files/x11/dock/${PN}-${MY_PV}.tar.gz + http://http.us.debian.org/debian/pool/main/w/wmifs/${PN}_${MY_PV}-11.diff.gz" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ppc sparc alpha hppa ~mips ia64 amd64" + +src_unpack() +{ + unpack ${A} + cd "${S}" + + # patch to allow for longer interface names + # and prettify program output for long names + epatch "${WORKDIR}"/${PN}_${MY_PV}-11.diff + + # Honour Gentoo LDFLAGS, see bug #336537 + sed -i "s/-o wmifs/\$(LDFLAGS) -o wmifs/" Makefile +} + +src_compile() +{ + emake CFLAGS="${CFLAGS}" || die +} + +src_install () +{ + dobin wmifs + insinto /usr/share/wmifs + doins sample.wmifsrc + cd .. + dodoc BUGS CHANGES HINTS README TODO +} diff --git a/x11-plugins/wmifs/wmifs-1.4.ebuild b/x11-plugins/wmifs/wmifs-1.4.ebuild new file mode 100644 index 000000000000..975aab4f74af --- /dev/null +++ b/x11-plugins/wmifs/wmifs-1.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="Network monitoring dockapp" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmtime" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/dockapps/${PN} + +src_prepare() { + # Honour Gentoo LDFLAGS, see bug #336537 + sed -i "s/-o wmifs/\$(LDFLAGS) -o wmifs/" Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" prefix=/usr install + dodoc ../BUGS ../CHANGES ../HINTS ../README ../TODO +} diff --git a/x11-plugins/wminet/Manifest b/x11-plugins/wminet/Manifest new file mode 100644 index 000000000000..bcc78e508d2c --- /dev/null +++ b/x11-plugins/wminet/Manifest @@ -0,0 +1 @@ +DIST wminet-3.0.0.tar.gz 47576 SHA256 013e0e290d790da577da5439b07a691eadf421b87a21b5f9f61e1e80b9783461 diff --git a/x11-plugins/wminet/metadata.xml b/x11-plugins/wminet/metadata.xml new file mode 100644 index 000000000000..3a06d36b09d0 --- /dev/null +++ b/x11-plugins/wminet/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +WMiNET is a dockable applet for monitoring all your inet daemon activity, it's +designed for WindowMaker's dock, but of course, it works with other +windowmanagers too. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wminet/wminet-3.0.0.ebuild b/x11-plugins/wminet/wminet-3.0.0.ebuild new file mode 100644 index 000000000000..4fc5187f59a5 --- /dev/null +++ b/x11-plugins/wminet/wminet-3.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +DESCRIPTION="dockapp for monitoring internet connections to and from your computer" +HOMEPAGE="http://www.swanson.ukfsn.org/#wminet" +SRC_URI="http://www.swanson.ukfsn.org/wmdock/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_compile() { + tc-export CC + econf + emake LDFLAGS="${LDFLAGS}" || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README wminetrc +} diff --git a/x11-plugins/wmitime/Manifest b/x11-plugins/wmitime/Manifest new file mode 100644 index 000000000000..409c8ea7f944 --- /dev/null +++ b/x11-plugins/wmitime/Manifest @@ -0,0 +1,2 @@ +DIST wmitime-0.3.tar.gz 21442 SHA256 fcec441bac183ac2fbbbf9d577c2eaaf9b9e0292a6041256e5a4286a76cddc61 +DIST wmitime-0.4.tar.gz 21092 SHA256 aa4557833d2661d841befc0d3c0f940195af11c7a96802647907f5fe46a69846 SHA512 ae0d3d5942ec5258e69298874563c9faafbca63f60f6f57f1859bb58094fb6c64255bbf231b00208c58cb103229a9be8ea2ba60259cb5adb33105ea3a9c570ec WHIRLPOOL 4bf88a20512b294f46caa267a081a58dd70f33801ff926e5b44a9c3a9804e77c6a4936f557974e31ed9cd633feabef3c30f0ed1a9fd6be8c59ad554cd37bc66b diff --git a/x11-plugins/wmitime/files/makefile.diff b/x11-plugins/wmitime/files/makefile.diff new file mode 100644 index 000000000000..343c247a3ed5 --- /dev/null +++ b/x11-plugins/wmitime/files/makefile.diff @@ -0,0 +1,26 @@ +diff -urN wmitime/wmitime/Makefile wmitime-modified/wmitime/Makefile +--- wmitime/wmitime/Makefile 1999-03-28 21:51:39.000000000 -0600 ++++ wmitime-modified/wmitime/Makefile 2002-10-04 10:35:16.000000000 -0500 +@@ -1,7 +1,6 @@ +-#LANG = fr + LIBDIR = -L/usr/X11R6/lib + LIBS = -lXpm -lXext -lX11 -lm +-FLAGS = -O2 ++FLAGS = $(CFLAGS) + OBJS = wmitime.o \ + ../wmgeneral/wmgeneral.o \ + ../wmgeneral/misc.o \ +@@ -9,11 +8,10 @@ + + + .c.o: +- cc -I/usr/X11R6/share/include $(FLAGS) -D$(LANG) -c -Wall $< -o $*.o ++ gcc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o + + wmtime: $(OBJS) +- cc $(FLAGS) -D$(LANG) -o wmitime $^ -lXext $(LIBDIR) $(LIBS) +- ++ gcc $(FLAGS) $(LDFLAGS) -o wmitime $^ -lXext $(LIBDIR) $(LIBS) + all:: wmtime + + clean:: diff --git a/x11-plugins/wmitime/metadata.xml b/x11-plugins/wmitime/metadata.xml new file mode 100644 index 000000000000..266d9a84f83a --- /dev/null +++ b/x11-plugins/wmitime/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +WMitime is an (overglorified) clock for the Windowmaker/Afterstep dock. It +displays standard 12/24 hour time and date, as well as Swatch's new internet +time. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmitime/wmitime-0.3.ebuild b/x11-plugins/wmitime/wmitime-0.3.ebuild new file mode 100644 index 000000000000..5c3b3814c763 --- /dev/null +++ b/x11-plugins/wmitime/wmitime-0.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +S=${WORKDIR}/${PN} +IUSE="" +DESCRIPTION="Overglorified clock dockapp w/time, date, and internet time" +HOMEPAGE="http://www.neotokyo.org/illusion/" +SRC_URI="http://www.neotokyo.org/illusion/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/makefile.diff +} + +src_compile() { + cd "${S}"/wmitime + make || die "make failed" +} + +src_install() { + cd "${S}"/wmitime + dobin wmitime + + cd "${S}" + dodoc BUGS CHANGES README +} diff --git a/x11-plugins/wmitime/wmitime-0.4.ebuild b/x11-plugins/wmitime/wmitime-0.4.ebuild new file mode 100644 index 000000000000..f05b48a93ccd --- /dev/null +++ b/x11-plugins/wmitime/wmitime-0.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="Overglorified clock dockapp w/time, date, and internet time" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmitime" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/dockapps + +src_compile() { + emake CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + + dodoc BUGS CHANGES README +} diff --git a/x11-plugins/wmium/Manifest b/x11-plugins/wmium/Manifest new file mode 100644 index 000000000000..1f694ed6d55c --- /dev/null +++ b/x11-plugins/wmium/Manifest @@ -0,0 +1 @@ +DIST wmium-1.0.9b.tar.gz 53977 RMD160 1851c8cfe7ebf673b1f7138343057ac5cd02d171 SHA1 1a32c77c54f073b739c619c29448d9de8cf2a1aa SHA256 a3534b4919d8f5eb3679d5d6b9eff854864e7c6dc1b74aff6637d9c2f94f78f9 diff --git a/x11-plugins/wmium/metadata.xml b/x11-plugins/wmium/metadata.xml new file mode 100644 index 000000000000..e5cd33580ba9 --- /dev/null +++ b/x11-plugins/wmium/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>maintainer-needed@gentoo.org</email> +</maintainer> + <longdescription>This is a ISP b/w meter for Internode (Australian ISP) - grellm2 and windowmaker +interfaces</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmium/wmium-1.0.9b-r1.ebuild b/x11-plugins/wmium/wmium-1.0.9b-r1.ebuild new file mode 100644 index 000000000000..b4e0cf4d8b30 --- /dev/null +++ b/x11-plugins/wmium/wmium-1.0.9b-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +DESCRIPTION="a dockapp and gkrellm2 plugin that fetches the DSL usage information for Australian ISP Internode" +HOMEPAGE="http://www.earthmagic.org/?software" +SRC_URI="http://www.earthmagic.org/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="gtk" + +RDEPEND="dev-libs/openssl + gtk? ( + x11-libs/gtk+:2 + app-admin/gkrellm:2 + ) + !gtk? ( x11-wm/windowmaker ) + >=x11-libs/libX11-1 + >=x11-libs/libXext-1 + >=x11-libs/libXpm-3.5.4.2" +DEPEND="${RDEPEND} + gtk? ( virtual/pkgconfig ) + >=x11-proto/xextproto-7.0.2" + +src_prepare() { + #Honour Gentoo LDFLAGS, bug #334003 + sed -ie "s/\$(CXXFLAGS) -o/\$(CXXFLAGS) \$(LDFLAGS) -o/" src/Makefile + sed -ie "s/-shared -o/-shared \$(LDFLAGS) -o/" src-gk2/Makefile +} + +src_compile() { + emake build || die + if use gtk; then + emake build-gk2 || die + fi +} + +src_install() { + if use gtk; then + exeinto /usr/lib/gkrellm2/plugins + doexe src-gk2/wmium-gk2.so + fi + + dobin src/wmium + + dodoc BUGS README dot.wmiumrc.sample CHANGES README-GK2 + + doman src/wmium.1 + + einfo + einfo "To configure look at the /usr/share/doc/${PF}/dot.wmiumrc.sample" + einfo "(if using /usr/bin/wmium with WINDOWMAKER ONLY)" + einfo + einfo "or use the preferences within gkrellm2" +} diff --git a/x11-plugins/wmix/Manifest b/x11-plugins/wmix/Manifest new file mode 100644 index 000000000000..639de2a0d359 --- /dev/null +++ b/x11-plugins/wmix/Manifest @@ -0,0 +1,2 @@ +DIST wmix-3.1.tar.gz 21344 SHA256 4b2a042768a685ed8d30e6a7ed6bd4e13022665c9d772545654c89ec1437e322 +DIST wmix-3.2.tar.gz 33504 SHA256 6912949cfa654aa2721cfcda7cf6544f631ec1f987ec2495524c2279fcb41014 SHA512 8382ab849aeacfc88d28cd094c0d9a3218f8aa26b763d9fb4fd8b9837c275a835cc3e29df0659c244fa94b884ebc36b571fe824eaa785a736e630dc2e0081417 WHIRLPOOL 2d23a2833de8c78063a3becb3931d238cab690a2b5f0620c88528cf14a9a33c1960106933a136a3289c406773387f849c6f172ed52fde92f192e6099b977b937 diff --git a/x11-plugins/wmix/files/fix-wmix-3.1-version-number.patch b/x11-plugins/wmix/files/fix-wmix-3.1-version-number.patch new file mode 100644 index 000000000000..65b7ac9688e0 --- /dev/null +++ b/x11-plugins/wmix/files/fix-wmix-3.1-version-number.patch @@ -0,0 +1,11 @@ +--- wmix.c 2004-07-19 10:37:58.999866344 +0200 ++++ wmix.c 2004-07-19 10:38:11.541959656 +0200 +@@ -38,7 +38,7 @@ + #include "include/misc.h" + #include "include/ui_x.h" + +-#define VERSION "3.0" ++#define VERSION "3.1" + + static Display *display; + static char *display_name = NULL; diff --git a/x11-plugins/wmix/files/wmix-fix-free.patch b/x11-plugins/wmix/files/wmix-fix-free.patch new file mode 100644 index 000000000000..340f91771fa7 --- /dev/null +++ b/x11-plugins/wmix/files/wmix-fix-free.patch @@ -0,0 +1,11 @@ +--- wmix.c.orig 2004-05-12 21:30:53.000000000 -0300 ++++ wmix.c 2009-07-08 00:20:28.000000000 -0300 +@@ -134,7 +134,7 @@ + } + + /* handle writing PID file, silently ignore if we can't do it */ +- pid = calloc(1, strlen(home) + 10); ++ pid = calloc(1, strlen(home) + 11); + sprintf(pid, "%s/.wmix.pid", home); + fp = fopen(pid, "w"); + if (fp) { diff --git a/x11-plugins/wmix/files/wmix.1 b/x11-plugins/wmix/files/wmix.1 new file mode 100644 index 000000000000..afd65224bbe5 --- /dev/null +++ b/x11-plugins/wmix/files/wmix.1 @@ -0,0 +1,68 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" +.\" This documentation may be distributed under the terms of +.\" the GNU General Public Licence version 2. +.\" +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH wmix 1 "Jul 19, 2004" "Michele Noberasco" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +wmix \- Dockapp mixer for OSS or ALSA + + +.SH SYNOPSIS +.B wmix +.RI "{ " options " }" + + +.SH DESCRIPTION +.B wmix +Dockapp mixer for OSS or ALSA. Allows toggling record source, +muting individual channels, adjusting volume and balance, all in a +compact dockapp size, with TV\-like on\-screen\-display for volume levels. +.LP +Supports mousewheel to adjust current channelvolume +and can be controlled remotely with SIGUSR1 / SIGUSR2 to adjust the volume. +Keeps a simple configuration file for user\-defined settings. + + +.SH OPTIONS +.TP +.BI "\-d " dsp +Connect to remote X display. +.TP +.BI "\-f " file +Use alternate config file (default is \fI~/.wmixrc\fP) +.TP +.BI "\-m " dev +Use this mixer device (default is \fI/dev/mixer\fP) +.TP +.BI "\-h" +Display list of command line options. +.TP +.BI "\-v" +Use verbose output messages. +.TP +.BI "\-e " name +Exclude a channel, can be used many times. + + +.SH AUTHORS +wmix was written by <timecop@japan.co.jp> and <skunk@mit.edu> +.LP +This man page was written by Fredrik Steen <stone@debian.org> for the Debian +distribution. Updated and fixed by Michele Noberasco <s4t4n@gentoo.org> +for the Gentoo distribution. diff --git a/x11-plugins/wmix/metadata.xml b/x11-plugins/wmix/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmix/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/wmix/wmix-3.1-r1.ebuild b/x11-plugins/wmix/wmix-3.1-r1.ebuild new file mode 100644 index 000000000000..2236b3bd7cb4 --- /dev/null +++ b/x11-plugins/wmix/wmix-3.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="Dockapp mixer for OSS or ALSA" +HOMEPAGE="http://www.ne.jp/asahi/linux/timecop/" +SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/fix-wmix-3.1-version-number.patch +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" || die "emake failed." +} + +src_install() { + dobin ${PN} + doman "${FILESDIR}"/${PN}.1 + dodoc AUTHORS BUGS NEWS README sample.wmixrc +} diff --git a/x11-plugins/wmix/wmix-3.2.ebuild b/x11-plugins/wmix/wmix-3.2.ebuild new file mode 100644 index 000000000000..7ed67a81699e --- /dev/null +++ b/x11-plugins/wmix/wmix-3.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Dockapp mixer for OSS or ALSA" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmix" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +S=${WORKDIR}/dockapps + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin ${PN} + doman "${FILESDIR}"/${PN}.1 + dodoc AUTHORS BUGS NEWS README sample.wmixrc +} diff --git a/x11-plugins/wmjsql/Manifest b/x11-plugins/wmjsql/Manifest new file mode 100644 index 000000000000..47e516276877 --- /dev/null +++ b/x11-plugins/wmjsql/Manifest @@ -0,0 +1 @@ +DIST wmjsql-0.5.tar.gz 62739 SHA256 5c7ac2a3ff789ce85a8dbdf0b7591d9abf05b906c05700bb2760e1ad75aeccd0 diff --git a/x11-plugins/wmjsql/files/wmjsql.desktop b/x11-plugins/wmjsql/files/wmjsql.desktop new file mode 100644 index 000000000000..78d35df8f9da --- /dev/null +++ b/x11-plugins/wmjsql/files/wmjsql.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmJSQL +Comment=MySQL Monitor +Comment[pl]=Monitor MySQLa +Exec=wmjsql +Type=Application +Terminal=false +Categories=Development;Database; diff --git a/x11-plugins/wmjsql/metadata.xml b/x11-plugins/wmjsql/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmjsql/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/wmjsql/wmjsql-0.5.ebuild b/x11-plugins/wmjsql/wmjsql-0.5.ebuild new file mode 100644 index 000000000000..2b3a5ce1a1a4 --- /dev/null +++ b/x11-plugins/wmjsql/wmjsql-0.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit eutils + +MY_P="${PN}" + +DESCRIPTION="MySQL monitor dockapp" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/42" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/73/${P}.tar.gz" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + >=virtual/mysql-4.0" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="ppc sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + sed -i "s/make/\$(MAKE)/g" src/Makefile || die +} + +src_compile() { + cd "${S}"/src + emake clean || die + emake CFLAGS="${CFLAGS}" SYSTEM="${LDFLAGS}" || die +} + +src_install() { + cd "${S}"/src + dobin wmjsql || die + newdoc conf sample.wmjsql + + cd "${S}" + dodoc CREDITS README TODO + + domenu "${FILESDIR}"/${PN}.desktop +} diff --git a/x11-plugins/wmlaptop/Manifest b/x11-plugins/wmlaptop/Manifest new file mode 100644 index 000000000000..9d0e4dc49c43 --- /dev/null +++ b/x11-plugins/wmlaptop/Manifest @@ -0,0 +1,2 @@ +DIST wmlaptop-1.3.tar.bz2 54575 SHA256 5ce0ad86ebbf1e8167d0e7eb020389393cf08bd3c849dba9fce383d95a55281f +DIST wmlaptop-1.4.tar.gz 77023 SHA256 3a6a2900489555606e2dd411963c659edb43613877de85c67dab14f0c8a47c2c diff --git a/x11-plugins/wmlaptop/files/wmlaptop-ACPI-detection.patch b/x11-plugins/wmlaptop/files/wmlaptop-ACPI-detection.patch new file mode 100644 index 000000000000..802e6f09a755 --- /dev/null +++ b/x11-plugins/wmlaptop/files/wmlaptop-ACPI-detection.patch @@ -0,0 +1,24 @@ +diff -ru wmlaptop-1.4.orig/src/battery.c wmlaptop-1.4/src/battery.c +--- wmlaptop-1.4.orig/src/battery.c 2010-11-26 14:26:27.594108155 -0600 ++++ wmlaptop-1.4/src/battery.c 2010-11-26 14:26:51.324108155 -0600 +@@ -74,7 +74,7 @@ + + bool ACPI_canSupport( ) + { +- if( access( ACPI_ACCESS_TEST, R_OK ) == SUCCESS ) ++ if( access( ACPI_ACCESS_TEST, R_OK | X_OK ) == SUCCESS ) + return true; + return false; + } +diff -ru wmlaptop-1.4.orig/src/battery.h wmlaptop-1.4/src/battery.h +--- wmlaptop-1.4.orig/src/battery.h 2010-11-26 14:26:27.594108155 -0600 ++++ wmlaptop-1.4/src/battery.h 2010-11-26 14:26:56.100774821 -0600 +@@ -24,7 +24,7 @@ + /******************* + * ACPI FEATURES * + *********************************************************************************/ +-#define ACPI_ACCESS_TEST "/proc/acpi/info" ++#define ACPI_ACCESS_TEST "/proc/acpi" + #define ACPI_BATTERY_DIR "/proc/acpi/battery" + //TODO #define ACPI_BATTERY_DIR "/home/mtc/hisBattery/battery" + diff --git a/x11-plugins/wmlaptop/files/wmlaptop-Makefile.patch b/x11-plugins/wmlaptop/files/wmlaptop-Makefile.patch new file mode 100644 index 000000000000..ab1148ce117e --- /dev/null +++ b/x11-plugins/wmlaptop/files/wmlaptop-Makefile.patch @@ -0,0 +1,32 @@ +--- /Makefile 2010-09-09 13:44:07.000000000 +0200 ++++ /Makefile.new 2010-09-09 13:47:40.000000000 +0200 +@@ -1,14 +1,17 @@ +- ++LIBDIR = -L/usr/X11R6/lib ++LIBS = -lXpm -lXext -lX11 ++OBJS = main.o init.o event.o draw.o battery.o cpu.o autoscript.o pixmap.o ++EXE = wmlaptop + + + .c.o: +- $(CC) -c $< -o $*.o $(CFLAGS) ++ $(CC) $(CFLAGS) -c $< -o $*.o + + all: $(EXE) + + $(EXE): $(OBJS) + ./buildCounter +- $(CC) -o $(EXE) $^ $(LIBDIR) $(LIBS) ++ $(CC) $(LDFLAGS) -o $(EXE) $^ $(LIBDIR) $(LIBS) + + + clean: +@@ -20,7 +23,7 @@ + reall: clean all + + install: +- /usr/bin/install -c -o 0 -g 0 -s -m 755 $(EXE) $(INSTALLDIR)/$(EXE) ++ /usr/bin/install -c -o 0 -g 0 -m 755 $(EXE) $(INSTALLDIR)/$(EXE) + chmod +s $(INSTALLDIR)/$(EXE) + + uninstall: diff --git a/x11-plugins/wmlaptop/files/wmlaptop.desktop b/x11-plugins/wmlaptop/files/wmlaptop.desktop new file mode 100644 index 000000000000..39c8229953fb --- /dev/null +++ b/x11-plugins/wmlaptop/files/wmlaptop.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmLaptop +Comment=Laptop Monitor +Comment[pl]=Monitor Dla Laptopa +Exec=wmlaptop +Type=Application +Terminal=false +Categories=System;Monitor; diff --git a/x11-plugins/wmlaptop/metadata.xml b/x11-plugins/wmlaptop/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmlaptop/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/wmlaptop/wmlaptop-1.3.ebuild b/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild new file mode 100644 index 000000000000..ab3093c37ef7 --- /dev/null +++ b/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" + +MY_P="${P}" +S="${WORKDIR}/${MY_P}/src" + +DESCRIPTION="Dockapp for laptop users" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/474/${P}.tar.bz2" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/227" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + >=sys-apps/sed-4.1.5-r1" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc x86" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-Makefile.patch + epatch "${FILESDIR}"/${PN}-ACPI-detection.patch +} + +src_compile() { + emake || die "Compilation failed" +} + +src_install() { + dodir /usr/bin + einstall INSTALLDIR="${D}/usr/bin" || die "Installation failed" + + dodoc ../AUTHORS ../README ../README.IT ../THANKS + + domenu "${FILESDIR}/${PN}.desktop" +} diff --git a/x11-plugins/wmlaptop/wmlaptop-1.4.ebuild b/x11-plugins/wmlaptop/wmlaptop-1.4.ebuild new file mode 100644 index 000000000000..39408b49c1f9 --- /dev/null +++ b/x11-plugins/wmlaptop/wmlaptop-1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" + +MY_P="${P}" +S="${WORKDIR}/${MY_P}/src" + +DESCRIPTION="Dockapp for laptop users" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/509/${P}.tar.gz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/227" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + >=sys-apps/sed-4.1.5-r1" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-Makefile.patch + epatch "${FILESDIR}"/${PN}-ACPI-detection.patch +} + +src_compile() { + emake || die "Compilation failed" +} + +src_install() { + dodir /usr/bin + einstall INSTALLDIR="${D}/usr/bin" || die "Installation failed" + + dodoc ../AUTHORS ../README ../README.IT ../THANKS + + domenu "${FILESDIR}/${PN}.desktop" +} diff --git a/x11-plugins/wmlife/Manifest b/x11-plugins/wmlife/Manifest new file mode 100644 index 000000000000..def9f1ad9a83 --- /dev/null +++ b/x11-plugins/wmlife/Manifest @@ -0,0 +1 @@ +DIST wmlife-1.0.1.tar.gz 92142 SHA256 4db33af31f661e1057d809413f679860bfb6e1d03d064f89792e84d1054ef8a1 SHA512 07cf6428e4d103e203b2e228e35bea13fe580de674d0ea61ab227e5e9bbc406495dbe0f2b7d6647b5d48930cc2d4c3fc097da115995619fdf25a7367b4fd9e84 WHIRLPOOL 60ce082fc2da0a413986ff553ba01f16cc78d8b807fbdc2e41d99292ecfa51bdd32eb9e8c94337bae85622fc541f339d781ce0b6d20145c5c89cb3ff100e1133 diff --git a/x11-plugins/wmlife/files/wmlife-1.0.0-stringh.patch b/x11-plugins/wmlife/files/wmlife-1.0.0-stringh.patch new file mode 100644 index 000000000000..8994827d63eb --- /dev/null +++ b/x11-plugins/wmlife/files/wmlife-1.0.0-stringh.patch @@ -0,0 +1,11 @@ +diff -ur wmlife-1.0.0.orig/src/session.c wmlife-1.0.0/src/session.c +--- wmlife-1.0.0.orig/src/session.c 2005-09-23 00:18:09.000000000 +0300 ++++ wmlife-1.0.0/src/session.c 2008-01-12 14:39:52.000000000 +0200 +@@ -21,6 +21,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> ++#include <string.h> + #include <sys/types.h> + #include <pwd.h> + diff --git a/x11-plugins/wmlife/files/wmlife-1.0.1-configure.patch b/x11-plugins/wmlife/files/wmlife-1.0.1-configure.patch new file mode 100644 index 000000000000..35ba4029554f --- /dev/null +++ b/x11-plugins/wmlife/files/wmlife-1.0.1-configure.patch @@ -0,0 +1,11 @@ +diff -Naur wmlife-1.0.0-orig/configure.in wmlife-1.0.0/configure.in +--- wmlife-1.0.0-orig/configure.in 2005-09-23 00:18:09.000000000 +0300 ++++ wmlife-1.0.0/configure.in 2014-04-28 23:52:09.701103219 +0300 +@@ -38,6 +38,6 @@ + AC_CACHE_CHECK([for gdk2 libs], GDKLIBS, [GDKLIBS=`$config --libs gtk+-2.0 | sed -e "s/-lgtk-x11-2.0//g" -e "s/-latk-1.0//g"`]) + + CFLAGS="$CFLAGS $GDKINCS" +-LDFLAGS="$LDFLAGS $GDKLIBS" ++LDFLAGS="$LDFLAGS $GDKLIBS -lm" + + AC_OUTPUT(Makefile src/Makefile) diff --git a/x11-plugins/wmlife/metadata.xml b/x11-plugins/wmlife/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmlife/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/wmlife/wmlife-1.0.1.ebuild b/x11-plugins/wmlife/wmlife-1.0.1.ebuild new file mode 100644 index 000000000000..82e9986d3f04 --- /dev/null +++ b/x11-plugins/wmlife/wmlife-1.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="dockapp running Conway's Game of Life (and program launcher)" +HOMEPAGE="http://www.swanson.ukfsn.org/#wmlife" +SRC_URI="http://www.swanson.ukfsn.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext" +EPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS ChangeLog NEWS README" + +PATCHES=( "${FILESDIR}"/${PN}-1.0.0-stringh.patch + "${FILESDIR}"/${P}-configure.patch ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.0-stringh.patch + epatch "${FILESDIR}"/${P}-configure.patch + + eautoreconf +} + +src_configure() { + econf --enable-session +} diff --git a/x11-plugins/wmload/Manifest b/x11-plugins/wmload/Manifest new file mode 100644 index 000000000000..287bf22d1c7c --- /dev/null +++ b/x11-plugins/wmload/Manifest @@ -0,0 +1,2 @@ +DIST wmload-0.9.2.tgz 8499 SHA256 5c4c99ad683b58f22efecf3e780011ec6dc3211d8fca7ffb5b9fd0b661a56176 SHA512 fd3875d8da5bb309f0d49eb6ebe0903832d021a244b90ad70821e90aa85e835ef727d84957fb0cdb0290075ba1c0bb11cd4756a5a933cfebb35682f0b8e0dbca WHIRLPOOL e37d0cdff1cdbbcc1f548de9aa1575b86035840b8405bdadda37580c65039e9d4124cd6ae92ef806590807093e67265dc5b14bc09109140d73dacafdb076a585 +DIST wmload-0.9.6.tar.gz 17143 SHA256 1919566199b6e376e1c7acad119a9bbe765aedb2f2e5da2cb7b7f880af7e8f62 SHA512 989dfce6f6bbc32403702e06b47c873af45b6196ff20572290e88022ced1817cc0d29bae79f20fb289cf37ec2bd532e1b6e7c975a9b1e6e6059c9307a4d7e63d WHIRLPOOL d8c933be200d2abd778ecb23770895401401be396293642d3e4316aa81332ad21e6f11754e35cf9102379fb339f2d7cacad2647e82e063158ec2ce25720e71b4 diff --git a/x11-plugins/wmload/files/wmload-0.9.2-prefix.patch b/x11-plugins/wmload/files/wmload-0.9.2-prefix.patch new file mode 100644 index 000000000000..3ec43c570df0 --- /dev/null +++ b/x11-plugins/wmload/files/wmload-0.9.2-prefix.patch @@ -0,0 +1,11 @@ +--- Imakefile ++++ Imakefile +@@ -2,7 +2,7 @@ + DESTDIR = /usr/local + BINDIR = /bin + +-XPMLIB = -L/usr/lib/X11 -lXpm -lm ++XPMLIB = `pkg-config xpm --libs` -lm + DEPLIBS = $(DEPXLIB) + + LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) diff --git a/x11-plugins/wmload/files/wmload-0.9.6-solaris.patch b/x11-plugins/wmload/files/wmload-0.9.6-solaris.patch new file mode 100644 index 000000000000..210b28419fa8 --- /dev/null +++ b/x11-plugins/wmload/files/wmload-0.9.6-solaris.patch @@ -0,0 +1,132 @@ +* original: http://www.rampant.org/~dp/software/wmload.solaris.patch + +--- wmload.c ++++ wmload.c +@@ -6,6 +6,11 @@ + #include <math.h> + #include <fcntl.h> + #include <X11/Xatom.h> ++#ifdef sun ++#include <sys/types.h> ++#include <sys/sysinfo.h> ++#include <kstat.h> ++#endif + + #include "back.xpm" + #include "mask2.xbm" +@@ -410,6 +415,107 @@ + return (char *)p; + } + ++#ifdef sun ++ ++static kstat_ctl_t *kc; ++static kstat_t **cpu_ksp_list; ++static int ncpus; ++ ++void ++cpu_stats_init() ++{ ++ int i = 0; ++ kstat_t *ksp; ++ static int kstats_ready = 0; ++ ++ if (!kstats_ready) { ++ if ((kc = kstat_open()) == NULL) { ++ fprintf(stderr,"wmload: can't open /dev/kstat\n"); ++ exit (1); ++ } ++ kstats_ready = 1; ++ } ++ ++ for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { ++ if (strcmp(ksp->ks_module, "cpu_stat") == 0) ++ i++; ++ } ++ ++ if (cpu_ksp_list) { ++ free(cpu_ksp_list); ++ } ++ cpu_ksp_list = (kstat_t **) calloc(i * sizeof (kstat_t *), 1); ++ ncpus = i; ++ ++ /* ++ * stash the ksp for each CPU. ++ */ ++ i = 0; ++ for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { ++ if (strcmp(ksp->ks_module, "cpu_stat") == 0) { ++ cpu_ksp_list[i] = ksp; ++ i++; ++ } ++ } ++} ++ ++int ++get_cpu_stats() ++{ ++ int i; ++ cpu_stat_t stat; ++ static int firsttime = 1; ++ ++ if (firsttime) { ++ firsttime = 0; ++ return (1); /* force code to go initialize kstat stuff */ ++ } ++ ++ /* ++ * Read each cpu's data. If the chain has changed (a state change ++ * has happened, maybe a new cpu was added to the system), then ++ * return 1. This will cause the code to reinitialize the cpu_ksp_list ++ * array. word. ++ */ ++ cp_time[0] = cp_time[1] = cp_time[2] = cp_time[3] = 0; ++ for (i = 0; i < ncpus; i++) { ++ if (kstat_read(kc, cpu_ksp_list[i], (void *) &stat) == -1) ++ return (1); ++ cp_time[0] += stat.cpu_sysinfo.cpu[CPU_USER]; /* user */ ++ cp_time[1] += stat.cpu_sysinfo.cpu[CPU_WAIT]; /* "nice" */ ++ cp_time[2] += stat.cpu_sysinfo.cpu[CPU_KERNEL]; /* sys */ ++ cp_time[3] += stat.cpu_sysinfo.cpu[CPU_IDLE]; /* idle ("free")*/ ++ } ++ return (0); ++} ++ ++void GetLoad(int Maximum, int *usr, int *nice, int *sys, int *free) ++{ ++ int total; ++ ++ while (get_cpu_stats() != 0) { ++ cpu_stats_init(); ++ } ++ ++ *usr = cp_time[0] - last[0]; ++ *nice = cp_time[1] - last[1]; ++ *sys = cp_time[2] - last[2]; ++ *free = cp_time[3] - last[3]; ++ ++ /* printf("[%d %d %d %d]\n", *usr, *nice, *sys, *free); */ ++ ++ total = *usr + *nice + *sys + *free; ++ last[0] = cp_time[0]; ++ last[1] = cp_time[1]; ++ last[2] = cp_time[2]; ++ last[3] = cp_time[3]; ++ ++ *usr = rint(Maximum * (float)(*usr) /total); ++ *nice =rint(Maximum * (float)(*nice) /total); ++ *sys = rint(Maximum * (float)(*sys) /total); ++ *free = rint(Maximum * (float)(*free) /total); ++} ++#else /* sun */ + void GetLoad(int Maximum, int *usr, int *nice, int *sys, int *free) + { + char buffer[100];/*[4096+1];*/ +@@ -445,6 +551,7 @@ + *sys = rint(Maximum * (float)(*sys) /total); + *free = rint(Maximum * (float)(*free) /total); + } ++#endif + + void InsertLoad() + { diff --git a/x11-plugins/wmload/files/wmload-ComplexProgramTargetNoMan.patch b/x11-plugins/wmload/files/wmload-ComplexProgramTargetNoMan.patch new file mode 100644 index 000000000000..8d3d25d6fa3c --- /dev/null +++ b/x11-plugins/wmload/files/wmload-ComplexProgramTargetNoMan.patch @@ -0,0 +1,8 @@ +--- wmload-0.9.2/Imakefile~ Sat Dec 1 21:53:52 2001 ++++ wmload-0.9.2/Imakefile Sat Dec 1 21:53:52 2001 +@@ -14,4 +14,4 @@ + SRCS = wmload.c + OBJS = wmload.o + +-ComplexProgramTarget(wmload) ++ComplexProgramTargetNoMan(wmload) diff --git a/x11-plugins/wmload/files/wmload.desktop b/x11-plugins/wmload/files/wmload.desktop new file mode 100644 index 000000000000..b9b02e9dc2a4 --- /dev/null +++ b/x11-plugins/wmload/files/wmload.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmLoad +Comment=Simple network monitor +Comment[pl]=Prosty monitor sieci +Exec=wmload +Type=Application +Terminal=false +Categories=System; diff --git a/x11-plugins/wmload/files/wmload.solaris.patch b/x11-plugins/wmload/files/wmload.solaris.patch new file mode 100644 index 000000000000..788d4190aba0 --- /dev/null +++ b/x11-plugins/wmload/files/wmload.solaris.patch @@ -0,0 +1,141 @@ +* original: http://www.rampant.org/~dp/software/wmload.solaris.patch + +--- wmload.c ++++ wmload.c +@@ -6,6 +6,11 @@ + #include <math.h> + #include <fcntl.h> + #include <X11/Xatom.h> ++#ifdef sun ++#include <sys/types.h> ++#include <sys/sysinfo.h> ++#include <kstat.h> ++#endif + + #include "back.xpm" + #include "mask2.xbm" +@@ -214,7 +219,7 @@ + NormalGC = XCreateGC(dpy, Root, gcm, &gcv); + + if (ONLYSHAPE) { /* try to make shaped window here */ +- pixmask = XCreateBitmapFromData(dpy, win, mask2_bits, mask2_width, ++ pixmask = XCreateBitmapFromData(dpy, win, (char *)mask2_bits, mask2_width, + mask2_height); + XShapeCombineMask(dpy, win, ShapeBounding, 0, 0, pixmask, ShapeSet); + XShapeCombineMask(dpy, iconwin, ShapeBounding, 0, 0, pixmask, ShapeSet); +@@ -410,6 +415,107 @@ + return (char *)p; + } + ++#ifdef sun ++ ++static kstat_ctl_t *kc; ++static kstat_t **cpu_ksp_list; ++static int ncpus; ++ ++void ++cpu_stats_init() ++{ ++ int i = 0; ++ kstat_t *ksp; ++ static int kstats_ready = 0; ++ ++ if (!kstats_ready) { ++ if ((kc = kstat_open()) == NULL) { ++ fprintf(stderr,"wmload: can't open /dev/kstat\n"); ++ exit (1); ++ } ++ kstats_ready = 1; ++ } ++ ++ for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { ++ if (strcmp(ksp->ks_module, "cpu_stat") == 0) ++ i++; ++ } ++ ++ if (cpu_ksp_list) { ++ free(cpu_ksp_list); ++ } ++ cpu_ksp_list = (kstat_t **) calloc(i * sizeof (kstat_t *), 1); ++ ncpus = i; ++ ++ /* ++ * stash the ksp for each CPU. ++ */ ++ i = 0; ++ for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { ++ if (strcmp(ksp->ks_module, "cpu_stat") == 0) { ++ cpu_ksp_list[i] = ksp; ++ i++; ++ } ++ } ++} ++ ++int ++get_cpu_stats() ++{ ++ int i; ++ cpu_stat_t stat; ++ static int firsttime = 1; ++ ++ if (firsttime) { ++ firsttime = 0; ++ return (1); /* force code to go initialize kstat stuff */ ++ } ++ ++ /* ++ * Read each cpu's data. If the chain has changed (a state change ++ * has happened, maybe a new cpu was added to the system), then ++ * return 1. This will cause the code to reinitialize the cpu_ksp_list ++ * array. word. ++ */ ++ cp_time[0] = cp_time[1] = cp_time[2] = cp_time[3] = 0; ++ for (i = 0; i < ncpus; i++) { ++ if (kstat_read(kc, cpu_ksp_list[i], (void *) &stat) == -1) ++ return (1); ++ cp_time[0] += stat.cpu_sysinfo.cpu[CPU_USER]; /* user */ ++ cp_time[1] += stat.cpu_sysinfo.cpu[CPU_WAIT]; /* "nice" */ ++ cp_time[2] += stat.cpu_sysinfo.cpu[CPU_KERNEL]; /* sys */ ++ cp_time[3] += stat.cpu_sysinfo.cpu[CPU_IDLE]; /* idle ("free")*/ ++ } ++ return (0); ++} ++ ++void GetLoad(int Maximum, int *usr, int *nice, int *sys, int *free) ++{ ++ int total; ++ ++ while (get_cpu_stats() != 0) { ++ cpu_stats_init(); ++ } ++ ++ *usr = cp_time[0] - last[0]; ++ *nice = cp_time[1] - last[1]; ++ *sys = cp_time[2] - last[2]; ++ *free = cp_time[3] - last[3]; ++ ++ /* printf("[%d %d %d %d]\n", *usr, *nice, *sys, *free); */ ++ ++ total = *usr + *nice + *sys + *free; ++ last[0] = cp_time[0]; ++ last[1] = cp_time[1]; ++ last[2] = cp_time[2]; ++ last[3] = cp_time[3]; ++ ++ *usr = rint(Maximum * (float)(*usr) /total); ++ *nice =rint(Maximum * (float)(*nice) /total); ++ *sys = rint(Maximum * (float)(*sys) /total); ++ *free = rint(Maximum * (float)(*free) /total); ++} ++#else /* sun */ + void GetLoad(int Maximum, int *usr, int *nice, int *sys, int *free) + { + char buffer[100];/*[4096+1];*/ +@@ -445,6 +551,7 @@ + *sys = rint(Maximum * (float)(*sys) /total); + *free = rint(Maximum * (float)(*free) /total); + } ++#endif + + void InsertLoad() + { diff --git a/x11-plugins/wmload/metadata.xml b/x11-plugins/wmload/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmload/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/wmload/wmload-0.9.2.ebuild b/x11-plugins/wmload/wmload-0.9.2.ebuild new file mode 100644 index 000000000000..f63729562abc --- /dev/null +++ b/x11-plugins/wmload/wmload-0.9.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit eutils + +IUSE="" + +DESCRIPTION="yet another dock application showing a system load gauge" +SRC_URI="http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/${P}.tgz" +HOMEPAGE="http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/sys.html#wmload" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-misc/imake + x11-proto/xproto + x11-proto/xextproto" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch + epatch "${FILESDIR}"/${PN}.solaris.patch + epatch "${FILESDIR}"/${P}-prefix.patch + [[ ${CHOST} == *-solaris* ]] && \ + sed -i -e 's/\(^XPMLIB = \)\(.*$\)/\1-lkstat \2/' Imakefile +} + +src_configure() { + xmkmf || die "xmkmf failed." +} + +src_compile() { + emake CDEBUGFLAGS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}" \ + || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" BINDIR="${EPREFIX}"/usr/bin install \ + || die "install failed." + + dodoc README + + domenu "${FILESDIR}"/${PN}.desktop +} diff --git a/x11-plugins/wmload/wmload-0.9.6.ebuild b/x11-plugins/wmload/wmload-0.9.6.ebuild new file mode 100644 index 000000000000..1e66a885e2fb --- /dev/null +++ b/x11-plugins/wmload/wmload-0.9.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="yet another dock application showing a system load gauge" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmload" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +src_prepare() { + epatch "${FILESDIR}"/${P}-solaris.patch +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + + dodoc README + domenu "${FILESDIR}"/${PN}.desktop +} diff --git a/x11-plugins/wmlongrun/Manifest b/x11-plugins/wmlongrun/Manifest new file mode 100644 index 000000000000..12b1dd116642 --- /dev/null +++ b/x11-plugins/wmlongrun/Manifest @@ -0,0 +1,2 @@ +DIST wmlongrun-0.2.0.tar.gz 74725 RMD160 7c18447fdc84081cea0d081a209ce07cd1eaac52 SHA1 9a9aa98a38bb7740bdf553bb8cee3a998f74eeb3 SHA256 b618d863673ca44ee26d2b96b401a66b9552e9f72566628c3e05278ab7da5837 +DIST wmlongrun-0.3.0pre1.tar.gz 75257 RMD160 9421b54329b02a1a8b82c184c9613a3624c90d6e SHA1 567b33ad8bb3f5a158681af7c6238fcb370d661e SHA256 f6161344878ff668bc558379f67c24f468effb7be6e6310f8fd3f81834ecea48 diff --git a/x11-plugins/wmlongrun/metadata.xml b/x11-plugins/wmlongrun/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmlongrun/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/wmlongrun/wmlongrun-0.2.0.ebuild b/x11-plugins/wmlongrun/wmlongrun-0.2.0.ebuild new file mode 100644 index 000000000000..cfa9bfe77025 --- /dev/null +++ b/x11-plugins/wmlongrun/wmlongrun-0.2.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="A dockapp to monitor LongRun on a Transmeta Crusoe processor" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/38" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +# Since this will only work with a Crusoe processor, it's safe to assume that +# the functionality is only available on x86. +KEYWORDS="x86 -*" + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README AUTHORS TODO MAKEDEV-cpuid-msr +} diff --git a/x11-plugins/wmlongrun/wmlongrun-0.3.0_pre1.ebuild b/x11-plugins/wmlongrun/wmlongrun-0.3.0_pre1.ebuild new file mode 100644 index 000000000000..2c0197df6f1f --- /dev/null +++ b/x11-plugins/wmlongrun/wmlongrun-0.3.0_pre1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="A dockapp to monitor LongRun on a Transmeta Crusoe processor" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/38" +SRC_URI="mirror://gentoo/${P/_/}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 -*" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P/_/} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog MAKEDEV* NEWS README TODO +} diff --git a/x11-plugins/wmlpq/Manifest b/x11-plugins/wmlpq/Manifest new file mode 100644 index 000000000000..0a81bce5f30e --- /dev/null +++ b/x11-plugins/wmlpq/Manifest @@ -0,0 +1 @@ +DIST wmlpq_0.2.1.tar.gz 15180 SHA256 6dba6ed7b61baa6060f4646a230477970dec2fd06d01dab7dbdf064bed348e83 diff --git a/x11-plugins/wmlpq/files/wmlpq-makefile-ldflags.patch b/x11-plugins/wmlpq/files/wmlpq-makefile-ldflags.patch new file mode 100644 index 000000000000..308e7f4e687e --- /dev/null +++ b/x11-plugins/wmlpq/files/wmlpq-makefile-ldflags.patch @@ -0,0 +1,30 @@ +--- /Makefile.orig 2009-01-16 17:01:47.000000000 +0100 ++++ /Makefile 2009-01-16 17:04:18.000000000 +0100 +@@ -2,11 +2,11 @@ + CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include + LIBS = -lXpm -lX11 -ldockapp + LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib +-CFLAGS = -O2 -Wall ++CFLAGS = -Wall + DFLAGS = -ggdb3 -Wall ++DESTDIR = /usr/bin/ + + wmlpq: wmlpq.c wmlpq-master.xpm +- cc $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c ++ $(CC) $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) wmlpq.c -o wmlpq $(LIBS) +- strip wmlpq + + debug: wmlpq.c wmlpq-master.xpm +@@ -18,10 +19,8 @@ + rm -f wmlpq + + install: wmlpq +- cp -f wmlpq /usr/local/bin/ +- chmod 755 /usr/local/bin/wmlpq +- cp -f wmlpq.1x /usr/local/man/man1/ +- chmod 644 /usr/local/man/man1/wmlpq.1x ++ cp -f wmlpq ${DESTDIR} ++ chmod 755 ${DESTDIR}/wmlpq + + install-debian: wmlpq + cp -f wmlpq $(prefix)/usr/X11R6/bin/ diff --git a/x11-plugins/wmlpq/files/wmlpq-makefile.patch b/x11-plugins/wmlpq/files/wmlpq-makefile.patch new file mode 100644 index 000000000000..4dc00bd97cdb --- /dev/null +++ b/x11-plugins/wmlpq/files/wmlpq-makefile.patch @@ -0,0 +1,30 @@ +--- /Makefile.orig 2009-01-16 17:01:47.000000000 +0100 ++++ /Makefile 2009-01-16 17:04:18.000000000 +0100 +@@ -2,11 +2,11 @@ + CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include + LIBS = -lXpm -lX11 -ldockapp + LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib +-CFLAGS = -O2 -Wall ++CFLAGS = -Wall + DFLAGS = -ggdb3 -Wall ++DESTDIR = /usr/bin/ + + wmlpq: wmlpq.c wmlpq-master.xpm +- cc $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c ++ cc $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) wmlpq.c -o wmlpq $(LIBS) +- strip wmlpq + + debug: wmlpq.c wmlpq-master.xpm +@@ -18,10 +19,8 @@ + rm -f wmlpq + + install: wmlpq +- cp -f wmlpq /usr/local/bin/ +- chmod 755 /usr/local/bin/wmlpq +- cp -f wmlpq.1x /usr/local/man/man1/ +- chmod 644 /usr/local/man/man1/wmlpq.1x ++ cp -f wmlpq ${DESTDIR} ++ chmod 755 ${DESTDIR}/wmlpq + + install-debian: wmlpq + cp -f wmlpq $(prefix)/usr/X11R6/bin/ diff --git a/x11-plugins/wmlpq/files/wmlpq.desktop b/x11-plugins/wmlpq/files/wmlpq.desktop new file mode 100644 index 000000000000..3939b0c85aa0 --- /dev/null +++ b/x11-plugins/wmlpq/files/wmlpq.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmLpq +Comment=Printqueues monitor +Comment[pl]=Monitor kolejki drukarek +Exec=wmlpq +Type=Application +Terminal=false +Categories=System; diff --git a/x11-plugins/wmlpq/metadata.xml b/x11-plugins/wmlpq/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmlpq/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/wmlpq/wmlpq-0.2.1-r1.ebuild b/x11-plugins/wmlpq/wmlpq-0.2.1-r1.ebuild new file mode 100644 index 000000000000..c081a49b95d2 --- /dev/null +++ b/x11-plugins/wmlpq/wmlpq-0.2.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" + +DESCRIPTION="Windowmaker dockapp which monitors up to 5 printqueues" +SRC_URI="http://www.ur.uklinux.net/wmlpq/dl/wmlpq_0.2.1.tar.gz" +HOMEPAGE="http://www.ur.uklinux.net/wmlpq/" + +DEPEND="x11-libs/libdockapp" + +RDEPEND="" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ppc" + +src_unpack() +{ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-makefile.patch" +} + +src_install() +{ + dodir /usr/bin/ + einstall DESTDIR="${D}/usr/bin/" CFLAGS="${CFLAGS} -Wall" || die "Installation failed" + + dodoc README sample.wmlpqrc + newman wmlpq.1x wmlpq.1 + + domenu "${FILESDIR}/${PN}.desktop" +} diff --git a/x11-plugins/wmlpq/wmlpq-0.2.1-r2.ebuild b/x11-plugins/wmlpq/wmlpq-0.2.1-r2.ebuild new file mode 100644 index 000000000000..25aba7a574f8 --- /dev/null +++ b/x11-plugins/wmlpq/wmlpq-0.2.1-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils flag-o-matic toolchain-funcs + +IUSE="" + +DESCRIPTION="Windowmaker dockapp which monitors up to 5 printqueues" +SRC_URI="http://www.ur.uklinux.net/wmlpq/dl/wmlpq_0.2.1.tar.gz" +HOMEPAGE="http://www.ur.uklinux.net/wmlpq/" + +DEPEND="x11-libs/libdockapp" + +RDEPEND="" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~ppc ~x86" + +src_unpack() +{ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-makefile-ldflags.patch" +} + +src_compile() +{ + append-ldflags "-L/usr/X11R6/lib -L/usr/local/lib" + emake CC=$(tc-getCC) LDFLAGS="${LDFLAGS}" || die +} + +src_install() +{ + dodir /usr/bin || die + emake DESTDIR="${D}/usr/bin" install || die "Installation failed" + + dodoc README sample.wmlpqrc || die + newman wmlpq.1x wmlpq.1 || die + + domenu "${FILESDIR}/${PN}.desktop" || die +} diff --git a/x11-plugins/wmmaiload/Manifest b/x11-plugins/wmmaiload/Manifest new file mode 100644 index 000000000000..da03ed53b0ef --- /dev/null +++ b/x11-plugins/wmmaiload/Manifest @@ -0,0 +1,2 @@ +DIST wmmaiload-2.2.1.tar.gz 183538 SHA256 f8f281590c238a713d38825b698931bf73459125eb47bbba8c2e1d8ff1b11d3f SHA512 2f4cd4980feefb1022384880a57aea628d3e976dad7d1c838a23dbeb8bf86df6c061c14661bb562e36c51e2ca40d5f9ed3d465d9d26b9c7b9193fe448dbb9394 WHIRLPOOL 098edec16177748f8625c383a0c90f758cf2fc12f4b948bbb581195544c1e0a8028b6560d17b78847eb74f2872fbd253b52cd947cb1e0ec4fdd01e1b71c5090a +DIST wmmaiload-2.3.0.tar.bz2 42852 SHA256 54d2e35ddc7b5e7cd0be9b3db90d26d9289ac436c6ae9a6c2063afe17ce80ad8 SHA512 c4e63eb2868474e3b76f5f4f401bdd23172f23dfdb0e90712e3eca607494057e067805b83a53490d38b6f7b2c876e2ec8fdb1d95b871d3febeeda35369550de9 WHIRLPOOL 36ccd490da6c0e14ce154d75d80f7ac52f519ca8f96db31b4cd07c427fa7d0a4e7d8778e0a399bc399d122a88dd9efbd80aa7aea14fba92fc101e4fabd120834 diff --git a/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-checkthread.patch b/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-checkthread.patch new file mode 100644 index 000000000000..941cb03ae3bb --- /dev/null +++ b/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-checkthread.patch @@ -0,0 +1,17 @@ +--- wmmaiload-2.2.1.orig/wmmaiload/checkthread.c 2010-08-31 15:43:37.000000000 +0200 ++++ wmmaiload-2.2.1/wmmaiload/checkthread.c.new 2010-08-31 15:43:46.000000000 +0200 +@@ -101,14 +101,6 @@ + #endif /* HAVE_MH */ + + +-#ifndef _GNU_SOURCE +-int isblank(int c) +-{ +- return (c == ' ' || c == '\t'); +-} +-#endif +- +- + #ifdef HAVE_MBOX + static Bool check_mbox(MailBox *box, time_t now) + { diff --git a/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-gtk.patch b/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-gtk.patch new file mode 100644 index 000000000000..38c8625e51ac --- /dev/null +++ b/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-gtk.patch @@ -0,0 +1,157 @@ +diff -ur wmmaiload-2.2.1.orig/wmmaiload/dockapp.c wmmaiload-2.2.1/wmmaiload/dockapp.c +--- wmmaiload-2.2.1.orig/wmmaiload/dockapp.c 2005-07-12 22:39:47.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload/dockapp.c 2008-01-12 11:53:00.000000000 +0200 +@@ -27,6 +27,7 @@ + #include <sys/time.h> + #include <sys/types.h> + #include <unistd.h> ++#include <stdlib.h> + + #define WINDOWED_SIZE_W 64 + #define WINDOWED_SIZE_H 64 +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/actions.c wmmaiload-2.2.1/wmmaiload-config/actions.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/actions.c 2005-07-13 22:54:46.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/actions.c 2008-01-12 11:54:15.000000000 +0200 +@@ -3,6 +3,7 @@ + */ + + #include <stdlib.h> ++#include <string.h> + #include "defines.h" + #include "variables.h" + #include "dialogs.h" +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/dialogs.c wmmaiload-2.2.1/wmmaiload-config/dialogs.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/dialogs.c 2005-07-07 21:54:17.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/dialogs.c 2008-01-12 11:47:42.000000000 +0200 +@@ -38,7 +38,6 @@ + bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + bouton = gtk_button_new_with_label("No"); +@@ -97,7 +96,6 @@ + bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + gtk_container_set_border_width(GTK_CONTAINER +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/Init.make wmmaiload-2.2.1/wmmaiload-config/Init.make +--- wmmaiload-2.2.1.orig/wmmaiload-config/Init.make 2005-08-26 21:37:33.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/Init.make 2008-01-12 11:48:12.000000000 +0200 +@@ -35,9 +35,9 @@ + # + + CROSS_COMPILE = +-USER_CPPFLAGS = `gtk-config --cflags` ++USER_CPPFLAGS = `pkg-config gtk+-2.0 --cflags` + USER_CFLAGS = +-USER_LDFLAGS = `gtk-config --libs` -lX11 ++USER_LDFLAGS = `pkg-config gtk+-2.0 --libs` -lX11 + + + #***************************************************************** +Only in wmmaiload-2.2.1/wmmaiload-config: Init.make.orig +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/main.c wmmaiload-2.2.1/wmmaiload-config/main.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/main.c 2005-07-13 22:51:28.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/main.c 2008-01-12 11:54:01.000000000 +0200 +@@ -3,6 +3,8 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + #include <gtk/gtk.h> + #include "config.h" + #include "defines.h" +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/mainwindow.c wmmaiload-2.2.1/wmmaiload-config/mainwindow.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/mainwindow.c 2005-07-13 22:51:52.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/mainwindow.c 2008-01-12 11:47:42.000000000 +0200 +@@ -10,9 +10,9 @@ + #include "actions.h" + + +-static GtkWidget *edit; +-static GtkWidget *set; +-static GtkWidget *remove; ++static GtkWidget *b_edit; ++static GtkWidget *b_set; ++static GtkWidget *b_remove; + + static gint list_sel_cb (GtkCList *clist, + gint row, +@@ -21,9 +21,9 @@ + void *data) + { + selected_row = row; +- gtk_widget_set_sensitive(edit, TRUE); +- gtk_widget_set_sensitive(set, TRUE); +- gtk_widget_set_sensitive(remove, TRUE); ++ gtk_widget_set_sensitive(b_edit, TRUE); ++ gtk_widget_set_sensitive(b_set, TRUE); ++ gtk_widget_set_sensitive(b_remove, TRUE); + return TRUE; + } + +@@ -35,9 +35,9 @@ + void *data) + { + selected_row = -1; +- gtk_widget_set_sensitive(edit, FALSE); +- gtk_widget_set_sensitive(set, FALSE); +- gtk_widget_set_sensitive(remove, FALSE); ++ gtk_widget_set_sensitive(b_edit, FALSE); ++ gtk_widget_set_sensitive(b_set, FALSE); ++ gtk_widget_set_sensitive(b_remove, FALSE); + return TRUE; + } + +@@ -230,7 +230,7 @@ + gtk_table_attach_defaults(GTK_TABLE(table), bouton, 0, 1, 0, 1); + gtk_widget_set_sensitive(bouton, FALSE); + gtk_widget_show(bouton); +- edit = bouton; ++ b_edit = bouton; + + bouton = gtk_button_new_with_label(" Set default "); + gtk_signal_connect(GTK_OBJECT(bouton), "clicked", +@@ -238,7 +238,7 @@ + gtk_table_attach_defaults(GTK_TABLE(table), bouton, 1, 2, 0, 1); + gtk_widget_set_sensitive(bouton, FALSE); + gtk_widget_show(bouton); +- set = bouton; ++ b_set = bouton; + + bouton = gtk_button_new_with_label(" Remove box "); + gtk_signal_connect(GTK_OBJECT(bouton), "clicked", +@@ -246,7 +246,7 @@ + gtk_table_attach_defaults(GTK_TABLE(table), bouton, 2, 3, 0, 1); + gtk_widget_set_sensitive(bouton, FALSE); + gtk_widget_show(bouton); +- remove = bouton; ++ b_remove = bouton; + + /*--- Frame 5 ---*/ + frame = gtk_frame_new(NULL); +@@ -322,7 +322,6 @@ + gtk_box_pack_start(GTK_BOX(buttons_hbox), bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + bouton = gtk_button_new_with_label(" Cancel "); +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/popedit.c wmmaiload-2.2.1/wmmaiload-config/popedit.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/popedit.c 2005-07-07 21:54:17.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/popedit.c 2008-01-12 11:47:42.000000000 +0200 +@@ -68,7 +68,6 @@ + bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + bouton = gtk_button_new_with_label("Cancel"); diff --git a/x11-plugins/wmmaiload/metadata.xml b/x11-plugins/wmmaiload/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmmaiload/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/wmmaiload/wmmaiload-2.2.1-r1.ebuild b/x11-plugins/wmmaiload/wmmaiload-2.2.1-r1.ebuild new file mode 100644 index 000000000000..48fd37e84cfc --- /dev/null +++ b/x11-plugins/wmmaiload/wmmaiload-2.2.1-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="dockapp that monitors one or more mailboxes" +HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html" +SRC_URI="http://tnemeth.free.fr/projets/programmes/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libXpm" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gtk.patch \ + "${FILESDIR}"/${P}-checkthread.patch + sed -i -e "s/-lssl/\0 -lcrypto/" wmmaiload/Init.make || die "sed failed" +} + +src_configure() { + # The ./configure script is not autoconf based, therefore don't use econf: + ./configure -p /usr || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + DEBUG_LDFLAGS="" \ + LDFLAGS="${LDFLAGS}" \ + DEBUG_CFLAGS="" +} + +src_install() { + dobin ${PN}/${PN} ${PN}-config/${PN}-config + doman doc/*.1 + dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO doc/sample.${PN}rc +} diff --git a/x11-plugins/wmmaiload/wmmaiload-2.3.0.ebuild b/x11-plugins/wmmaiload/wmmaiload-2.3.0.ebuild new file mode 100644 index 000000000000..3bea2f2e99c6 --- /dev/null +++ b/x11-plugins/wmmaiload/wmmaiload-2.3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="dockapp that monitors one or more mailboxes" +HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html" +SRC_URI="http://tnemeth.free.fr/projets/programmes/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libXpm" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-2.2.1-checkthread.patch + sed -i -e "s/-lssl/\0 -lcrypto/" wmmaiload/Init.make || die "sed failed" +} + +src_configure() { + # The ./configure script is not autoconf based, therefore don't use econf: + ./configure -p /usr || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + DEBUG_LDFLAGS="" \ + LDFLAGS="${LDFLAGS}" \ + DEBUG_CFLAGS="" +} + +src_install() { + dobin ${PN}/${PN} ${PN}-config/${PN}-config + doman doc/*.1 + dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO doc/sample.${PN}rc +} diff --git a/x11-plugins/wmmand/Manifest b/x11-plugins/wmmand/Manifest new file mode 100644 index 000000000000..1bfa5c468b02 --- /dev/null +++ b/x11-plugins/wmmand/Manifest @@ -0,0 +1 @@ +DIST wmMand-1.3.2.tar.bz2 41268 SHA256 c12127e8bc0b0d70c3fbaabaf1d6e2322c673a9e001ab4448804e7a0d39bcfea diff --git a/x11-plugins/wmmand/metadata.xml b/x11-plugins/wmmand/metadata.xml new file mode 100644 index 000000000000..e5448f757656 --- /dev/null +++ b/x11-plugins/wmmand/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmmand</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmmand/wmmand-1.3.2.ebuild b/x11-plugins/wmmand/wmmand-1.3.2.ebuild new file mode 100644 index 000000000000..08cb5a161cd4 --- /dev/null +++ b/x11-plugins/wmmand/wmmand-1.3.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +MY_P=wmMand-${PV} + +DESCRIPTION="a dockable mandelbrot browser" +HOMEPAGE="http://ciotog.homelinux.net/software/wmMand/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto" + +S=${WORKDIR}/${MY_P}/wmMand + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \ + SYSTEM="${LDFLAGS}" \ + INCDIR="" LIBDIR="" || die "emake failed." +} + +src_install() { + dobin wmMand || die "dobin failed." + doman wmMand.6.gz + doicon wmMand.png + dodoc ../{BUGS,changelog,TODO} +} diff --git a/x11-plugins/wmmemfree/Manifest b/x11-plugins/wmmemfree/Manifest new file mode 100644 index 000000000000..5ddfe9e66f41 --- /dev/null +++ b/x11-plugins/wmmemfree/Manifest @@ -0,0 +1 @@ +DIST wmmemfree-0.7.tar.bz2 14287 SHA256 52cff4e2850de4528e55459ab3eab6b14c7ad29d15e793eb1eb6e69b94aace34 diff --git a/x11-plugins/wmmemfree/files/wmmemfree-0.7-add-kernel-26-support.patch b/x11-plugins/wmmemfree/files/wmmemfree-0.7-add-kernel-26-support.patch new file mode 100644 index 000000000000..c4545d0654c6 --- /dev/null +++ b/x11-plugins/wmmemfree/files/wmmemfree-0.7-add-kernel-26-support.patch @@ -0,0 +1,83 @@ +diff -Naur wmmemfree-0.7/mem_linux.c wmmemfree-0.7.new/mem_linux.c +--- wmmemfree-0.7/mem_linux.c 2003-03-17 14:23:05.000000000 +0100 ++++ wmmemfree-0.7/mem_linux.c 2004-08-28 23:18:56.783772744 +0200 +@@ -20,24 +20,48 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> ++ ++long int mem_total, mem_used, mem_free, mem_buffers, mem_cached; ++long int swp_total, swp_used, swp_free; + +-long long int mem_total, mem_used, mem_free, mem_shared, mem_buffers, mem_cached; +-long long int swp_total, swp_used, swp_free; + + void mem_getfree() + { +- FILE *file; ++ FILE *memfp; ++ ++ static char buf[1024]; ++ static char *p_mem_tot=NULL, *p_mem_free, *p_mem_buffers, *p_mem_cache; ++ static char *p_swap_total, *p_swap_free; ++ ++ memfp = fopen("/proc/meminfo", "r"); ++ if (!memfp) ++ { ++ perror("/proc/meminfo"); ++ exit(1); ++ } ++ ++ fread_unlocked (buf, 1024, 1, memfp); ++ fclose(memfp); ++ ++ if (!p_mem_tot) ++ { ++ p_mem_tot = strstr(buf, "MemTotal:" ) + 13; ++ p_mem_free = strstr(buf, "MemFree:" ) + 13; ++ p_mem_buffers = strstr(buf, "Buffers:" ) + 13; ++ p_mem_cache = strstr(buf, "Cached:" ) + 13; ++ p_swap_total = strstr(buf, "SwapTotal:") + 13; ++ p_swap_free = strstr(buf, "SwapFree:" ) + 13; ++ } ++ ++ sscanf(p_mem_tot, "%ld", &mem_total ); ++ sscanf(p_mem_free, "%ld", &mem_free ); ++ sscanf(p_mem_buffers, "%ld", &mem_buffers); ++ sscanf(p_mem_cache, "%ld", &mem_cached ); ++ sscanf(p_swap_total, "%ld", &swp_total ); ++ sscanf(p_swap_free, "%ld", &swp_free ); ++ ++ mem_used = mem_total - mem_free; ++ swp_used = swp_total - swp_free; + +- file = fopen("/proc/meminfo", "r"); +- if(!file) +- { +- perror("/proc/meminfo"); +- exit(1); +- } +- while(fgetc(file)!='\n'){} +- fscanf(file, "%*s %Ld %Ld %Ld %Ld %Ld %Ld", +- &mem_total, &mem_used, &mem_free, &mem_shared, &mem_buffers, &mem_cached); +- fscanf(file, "%*s %Ld %Ld %Ld", +- &swp_total, &swp_used, &swp_free); +- fclose(file); + } +diff -Naur wmmemfree-0.7/mem_linux.h wmmemfree-0.7.new/mem_linux.h +--- wmmemfree-0.7/mem_linux.h 2003-03-22 19:51:35.000000000 +0100 ++++ wmmemfree-0.7/mem_linux.h 2004-08-28 23:12:19.066235000 +0200 +@@ -21,9 +21,9 @@ + #ifndef __MEM_LINUX_H__ + #define __MEM_LINUX_H__ + +-extern long long int mem_total, mem_used; +-extern long long int mem_shared, mem_buffers, mem_cached; +-extern long long int swp_total, swp_used; ++extern long int mem_total, mem_used; ++extern long int mem_buffers, mem_cached; ++extern long int swp_total, swp_used; + + void mem_getfree(); + diff --git a/x11-plugins/wmmemfree/files/wmmemfree-0.7-fix-crash-when-there-is-no-swap.patch b/x11-plugins/wmmemfree/files/wmmemfree-0.7-fix-crash-when-there-is-no-swap.patch new file mode 100644 index 000000000000..d062fd9ee09b --- /dev/null +++ b/x11-plugins/wmmemfree/files/wmmemfree-0.7-fix-crash-when-there-is-no-swap.patch @@ -0,0 +1,18 @@ +--- wmmemfree-0.7/draw.c 2003-03-21 21:56:25.000000000 +0100 ++++ wmmemfree-0.7/draw.c 2008-02-16 10:02:51.000000000 +0100 +@@ -44,13 +44,13 @@ + XCopyArea(display, on, buffer, gc, 0, 0, 2, 11, 7 + n * 2, 27); + else + XCopyArea(display, off, buffer, gc, 0, 0, 2, 11, 7 + n * 2, 27); +- if(n < (swp * 25 / swp_total)) ++ if(n < ((swp_total) ? (swp * 25 / swp_total) : 0)) + XCopyArea(display, on, buffer, gc, 0, 0, 2, 11, 7 + n * 2, 47); + else + XCopyArea(display, off, buffer, gc, 0, 0, 2, 11, 7 + n * 2, 47); + } + mem_percent = mem * 100 / mem_total; +- swp_percent = swp * 100 / swp_total; ++ swp_percent = (swp_total) ? swp * 100 / swp_total : 0; + if(mem_percent == 100) + XCopyArea(display, numbers, buffer, gc, 5, 0, 5, 6, 33, 20); + else diff --git a/x11-plugins/wmmemfree/metadata.xml b/x11-plugins/wmmemfree/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmmemfree/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/wmmemfree/wmmemfree-0.7-r2.ebuild b/x11-plugins/wmmemfree/wmmemfree-0.7-r2.ebuild new file mode 100644 index 000000000000..64e44694f6c0 --- /dev/null +++ b/x11-plugins/wmmemfree/wmmemfree-0.7-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit eutils toolchain-funcs + +DESCRIPTION="a blue memory monitoring dockapp" +HOMEPAGE="http://misuceldestept.go.ro/wmmemfree" +SRC_URI="http://ibiblio.org/pub/linux/X11/xutils/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_prepare() { + epatch "${FILESDIR}"/${P}-add-kernel-26-support.patch + epatch "${FILESDIR}"/${P}-fix-crash-when-there-is-no-swap.patch + + #Honour Gentoo LDFLAGS, see bug #337927. + sed -e "s/-o \$(PROG)/\$(LDFLAGS) -o \$(PROG)/" -i Makefile +} + +src_compile() { + emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \ + STRIP="true" || die "emake failed." +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc ChangeLog README THANKS TODO WMS +} diff --git a/x11-plugins/wmmemload/Manifest b/x11-plugins/wmmemload/Manifest new file mode 100644 index 000000000000..30a21416c2bf --- /dev/null +++ b/x11-plugins/wmmemload/Manifest @@ -0,0 +1,3 @@ +DIST wmmemload-0.1.6.tar.gz 141606 SHA256 207a6e0f69d2aa56054c34a3b0f7643014f2b9609ea28ad10d25901c8d34171b +DIST wmmemload-0.1.7.tar.gz 23030 SHA256 dd08ac0c91ac20c174afa53ffd4b4773cca2804e5238caaaa90f5f8c524dd50f SHA512 d84108c23436b92b00818aaa59f14f5fc425a1509044d008820cd335e312ca271867b6be03a7f0f8b904691894a2f47e976048e3be46c0bd24b6b64478233c8d WHIRLPOOL d1dbbda1a632e61e566a364c7cc747fb24740acfa519f44d0b6afcce5b80238cf2943abd65a90558d1421eedab9b0463739addfbba3623c09f0802d82739f796 +DIST wmmemload-0.1.8.tar.gz 23114 SHA256 b405b9f84fbb8d9b0c165d8af1db6557bf8ecd85ccb5a010d2202ffde126e0a0 SHA512 7139e92e15371ff493784c0677d6697074d85c5f4457d0c5caa146bf1aef481a4afc31a4b70bf8ec0edcc90390c18e16daa8efff7d418f96c137c72f7c7819f9 WHIRLPOOL 689825b0a713284f049f1af88dd651b8905dea3ddf3854dabf4cea78dc672ce795b49109dd4636b146b432cbb92010d23b6dad68c45d0163424ad6356ef50f6b diff --git a/x11-plugins/wmmemload/files/wmmemload-kernel-3-support.patch b/x11-plugins/wmmemload/files/wmmemload-kernel-3-support.patch new file mode 100644 index 000000000000..601991175323 --- /dev/null +++ b/x11-plugins/wmmemload/files/wmmemload-kernel-3-support.patch @@ -0,0 +1,13 @@ +--- wmmemload-0.1.6/src/mem_linux.c 2003-11-03 22:06:39.000000000 +0000 ++++ wmmemload-0.1.6/src/mem_linux.c 2011-11-12 11:05:13.000000000 +0000 +@@ -49,8 +49,9 @@ + + /* new format ? (kernel >= 2.5.1pre?) */ + /* see linux/fs/proc/proc_misc.c */ +- if (version >= 2 && patchlevel >= 5 && sublevel >= 1 || \ +- version >= 2 && patchlevel >= 6 && sublevel >= 0) ++ if (version == 2 && patchlevel >= 5 && sublevel >= 1 || \ ++ version == 2 && patchlevel >= 6 && sublevel >= 0 || \ ++ version >2 ) + isnewformat = 1; + } diff --git a/x11-plugins/wmmemload/metadata.xml b/x11-plugins/wmmemload/metadata.xml new file mode 100644 index 000000000000..6ae0774c9ea7 --- /dev/null +++ b/x11-plugins/wmmemload/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmmemload is a simple dockapp for WindowMaker that displays memory and swap +space usage. It is very heavily based on WMMemMon and WMCPULoad. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmmemload/wmmemload-0.1.6-r1.ebuild b/x11-plugins/wmmemload/wmmemload-0.1.6-r1.ebuild new file mode 100644 index 000000000000..5ff593d2c46e --- /dev/null +++ b/x11-plugins/wmmemload/wmmemload-0.1.6-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit autotools eutils + +DESCRIPTION="dockapp that displays memory and swap space usage" +HOMEPAGE="http://www.markstaggs.net/wmmemload" +SRC_URI="http://markstaggs.net/${PN}-download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-libs/libICE + x11-libs/libXt" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-kernel-3-support.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog THANKS +} diff --git a/x11-plugins/wmmemload/wmmemload-0.1.6.ebuild b/x11-plugins/wmmemload/wmmemload-0.1.6.ebuild new file mode 100644 index 000000000000..6dbd6c93e22d --- /dev/null +++ b/x11-plugins/wmmemload/wmmemload-0.1.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit autotools + +DESCRIPTION="dockapp that displays memory and swap space usage" +HOMEPAGE="http://www.markstaggs.net/wmmemload" +SRC_URI="http://markstaggs.net/${PN}-download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-libs/libICE + x11-libs/libXt" + +src_unpack() { + unpack ${A} + cd "${S}" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog THANKS +} diff --git a/x11-plugins/wmmemload/wmmemload-0.1.7.ebuild b/x11-plugins/wmmemload/wmmemload-0.1.7.ebuild new file mode 100644 index 000000000000..0aeeab9f1908 --- /dev/null +++ b/x11-plugins/wmmemload/wmmemload-0.1.7.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="dockapp that displays memory and swap space usage" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmmemload" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-libs/libICE + x11-libs/libXt" + +S=${WORKDIR}/dockapps + +src_prepare() { + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog THANKS +} diff --git a/x11-plugins/wmmemload/wmmemload-0.1.8.ebuild b/x11-plugins/wmmemload/wmmemload-0.1.8.ebuild new file mode 100644 index 000000000000..2db4f6224ec7 --- /dev/null +++ b/x11-plugins/wmmemload/wmmemload-0.1.8.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="dockapp that displays memory and swap space usage" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmmemload" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-libs/libICE + x11-libs/libXt" + +S=${WORKDIR}/dockapps + +src_prepare() { + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog THANKS +} diff --git a/x11-plugins/wmmemmon/Manifest b/x11-plugins/wmmemmon/Manifest new file mode 100644 index 000000000000..3cc4dd505aa8 --- /dev/null +++ b/x11-plugins/wmmemmon/Manifest @@ -0,0 +1 @@ +DIST wmmemmon-1.0.2pre2.tar.gz 147486 SHA256 7d4095f0e08884600f90de8e0ee82632cec7b934b617f33f34b33d122d9056eb diff --git a/x11-plugins/wmmemmon/metadata.xml b/x11-plugins/wmmemmon/metadata.xml new file mode 100644 index 000000000000..c6041af8c4bb --- /dev/null +++ b/x11-plugins/wmmemmon/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +WMMemMon is a program to monitor memory/swap usages. It is a dockapp that is +supported by X window managers such as Window Maker, AfterStep, BlackBox, and +Enlightenment. The current memory usage is displaied as the outside pie-slices. +The swap usage is represented by the inside slices. It has an LCD look-alike +user interface. The back light may be turned on/off by clicking the mouse +button over the appliacation. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmmemmon/wmmemmon-1.0.2_pre2.ebuild b/x11-plugins/wmmemmon/wmmemmon-1.0.2_pre2.ebuild new file mode 100644 index 000000000000..af199e73e493 --- /dev/null +++ b/x11-plugins/wmmemmon/wmmemmon-1.0.2_pre2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="a dockapp for monitoring memory and swap" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/37" +SRC_URI="mirror://gentoo/${P/_/}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-libs/libICE" + +S=${WORKDIR}/${P/_/} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +} diff --git a/x11-plugins/wmmenu/Manifest b/x11-plugins/wmmenu/Manifest new file mode 100644 index 000000000000..6b1959e2ae3c --- /dev/null +++ b/x11-plugins/wmmenu/Manifest @@ -0,0 +1,2 @@ +DIST wmmenu-1.2.tar.gz 32845 SHA256 c2270fdd636e82bcddbd3a43c4ae7b8dc2f5f0f8890cf8f404ce024d5f7dab87 +DIST wmmenu-1.3.tar.gz 33766 SHA256 c6fc09e812b012fac83c948bbfc37fbbd3ea702e46e942ebb29ec6a2f541fa3a SHA512 4c8738c9a81d56e084754f4db28da6d3171475b5967ceddaa5646b3d87679112e4f272e1bee2c2a81dd072cc948b3652d843a3ddff9bc31cfac4f787b337e767 WHIRLPOOL 15e1cc6de49ea51382ae7673375a176836bf49dd2b7cf311618ca5e6afa9c67a558c2b8a76a675b69d516669432c978cc39f339bf27de574c4952afc75de6881 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..766f9c672fe3 --- /dev/null +++ b/x11-plugins/wmmenu/files/wmmenu-1.2-Makefile.patch @@ -0,0 +1,32 @@ +--- 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,17 +19,17 @@ + + # 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) +-LDFLAGS = -s ++#LDFLAGS = -s + LIBDIRS = -L$(DAROOT)/lib -L$(XROOT)/lib $(PIXBUF_LIB) + LDLIBS = -ldockapp -lXpm -lXext -lX11 -lm 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/files/wmmenu-1.3-Makefile.patch b/x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch new file mode 100644 index 000000000000..a6fc4c7ec437 --- /dev/null +++ b/x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch @@ -0,0 +1,19 @@ +--- Makefile.orig 2015-04-17 13:43:08.122972280 +0200 ++++ Makefile 2015-04-17 13:43:11.569975854 +0200 +@@ -14,12 +14,12 @@ + PIXBUF_LIB := -rdynamic -L$(shell $(PIXBUF_CFG) --variable=prefix)/lib -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 + endif + +-CC = gcc #-g +-CFLAGS = -pipe -O2 +-CPPFLAGS = -MMD -ansi -pedantic -Wall ++CC ?= gcc #-g ++CFLAGS ?= -pipe -O2 ++CPPFLAGS ?= -MMD -ansi -pedantic -Wall + INCDIRS = $(PIXBUF_INC) + DEFINES = -DETCDIR='"$(ETCDIR)"' $(PIXBUF_DEF) +-LDFLAGS = -s ++LDFLAGS ?= -s + LIBDIRS = $(PIXBUF_LIB) + LDLIBS = -ldockapp -lXpm -lXext -lX11 -lm + 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-r1.ebuild b/x11-plugins/wmmenu/wmmenu-1.2-r1.ebuild new file mode 100644 index 000000000000..b16e15c99748 --- /dev/null +++ b/x11-plugins/wmmenu/wmmenu-1.2-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" +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="amd64 x86" +DEPEND="x11-libs/libdockapp" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-support-libdockapp-0.5.0.patch + epatch "${FILESDIR}"/${P}-Makefile.patch +} + +src_compile() { + emake EXTRACFLAGS="${CFLAGS}" || die "Compilation failed" +} + +src_install() { + dobin wmmenu + doman wmmenu.1 + dodoc README TODO example/apps example/defaults example/extract_icon_back +} diff --git a/x11-plugins/wmmenu/wmmenu-1.3.ebuild b/x11-plugins/wmmenu/wmmenu-1.3.ebuild new file mode 100644 index 000000000000..f790f9d56ddf --- /dev/null +++ b/x11-plugins/wmmenu/wmmenu-1.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="a popup menu of icons like in AfterStep, as a dockable application" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmmenu" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/gdk-pixbuf + x11-libs/libdockapp" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/dockapps + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin wmmenu + doman wmmenu.1 + dodoc README TODO example/apps example/defaults example/extract_icon_back +} diff --git a/x11-plugins/wmmisc/Manifest b/x11-plugins/wmmisc/Manifest new file mode 100644 index 000000000000..f9e079650e2c --- /dev/null +++ b/x11-plugins/wmmisc/Manifest @@ -0,0 +1 @@ +DIST wmmisc_1.1.orig.tar.gz 18032 SHA256 1dbe229ab31cc1767a62bdbf0397bf75a664583769a3d3d4bbbdc076280566f6 diff --git a/x11-plugins/wmmisc/files/wmmisc-1.1-build.patch b/x11-plugins/wmmisc/files/wmmisc-1.1-build.patch new file mode 100644 index 000000000000..d42400ab0132 --- /dev/null +++ b/x11-plugins/wmmisc/files/wmmisc-1.1-build.patch @@ -0,0 +1,48 @@ +diff -ur wmmisc-1.1.orig/src/general.mk wmmisc-1.1/src/general.mk +--- wmmisc-1.1.orig/src/general.mk 2006-01-07 19:50:31.000000000 +0200 ++++ wmmisc-1.1/src/general.mk 2008-01-16 20:44:59.000000000 +0200 +@@ -16,7 +16,7 @@ + MANDIR = $(PREFIX)/share/man + # Set some destination locations. + +-CC = gcc ++CC ?= gcc + CXX = g++ + # Set the compilers. + +@@ -45,13 +45,7 @@ + # Set the assembler and flags. + + LD = ld +-LDFLAGS = -lm +-ifeq ($(MODULAR_X),1) +-LDFLAGS += $(shell pkg-config --libs x11 xpm xext) +-else +-LDFLAGS += -L/usr/X11R6/lib -lX11 -lXpm -lXext +-endif +-LDFLAGS += -Wl,-O1 ++LIBS = -lm -lX11 -lXpm -lXext + # Set the linker and flags. + + AR = ar +@@ -64,7 +58,7 @@ + ifeq ($(MODULAR_X),1) + INCLUDES = $(shell pkg-config --cflags x11 xpm xext) + else +-INCLUDES = -I/usr/X11R6/include ++INCLUDES = -I/usr/include + endif + INCLUDES += -I. + # Set the include locations. +diff -ur wmmisc-1.1.orig/src/Makefile wmmisc-1.1/src/Makefile +--- wmmisc-1.1.orig/src/Makefile 2006-01-07 20:45:59.000000000 +0200 ++++ wmmisc-1.1/src/Makefile 2008-01-16 20:43:31.000000000 +0200 +@@ -23,7 +23,7 @@ + + $(package): $(objects) + rm -f $(package) +- $(CC) $(CFLAGS) -o $(package) $(objects) $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o $(package) $(objects) $(LIBS) + + wmgeneral.o: wmgeneral.c wmgeneral.h + rm -f wmgeneral.o diff --git a/x11-plugins/wmmisc/metadata.xml b/x11-plugins/wmmisc/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmmisc/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/wmmisc/wmmisc-1.1.ebuild b/x11-plugins/wmmisc/wmmisc-1.1.ebuild new file mode 100644 index 000000000000..aeaeeee02bac --- /dev/null +++ b/x11-plugins/wmmisc/wmmisc-1.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="a monitoring dockapp for system load, user amount, fork amount and processes" +HOMEPAGE="http://packages.qa.debian.org/w/wmmisc.html" +SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="" + +S=${WORKDIR}/${P}/src + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + tc-export CC + emake || die "emake failed." +} + +src_install() { + dobin ${PN} + dodoc ../{ChangeLog,README} +} diff --git a/x11-plugins/wmmixer/Manifest b/x11-plugins/wmmixer/Manifest new file mode 100644 index 000000000000..2061eae73791 --- /dev/null +++ b/x11-plugins/wmmixer/Manifest @@ -0,0 +1 @@ +DIST wmmixer_1.7.orig.tar.gz 24916 SHA256 ee4ae77130dddeb8eb26d00fbbe879f09e1542d3cf8a3e713d8f8f8a91f4aecd SHA512 81e32a821df423aff4ee0eef8c1dbd7a8302f0f43f3a6cfec3fd71b26dfca536ae2f8e0313404976eb21c217724e074eed9bf40c67360f28e901d4265580a1e4 WHIRLPOOL 9baa5ae9c4b9b23836346539ef9fd70a494d45c0a583986b6572efe98e0ff036b67681da39f95fa344f7c3ab32dc8e1c24a6cdcf2f56c33157c828e367834b97 diff --git a/x11-plugins/wmmixer/files/wmmixer-1.7-respect_flags.patch b/x11-plugins/wmmixer/files/wmmixer-1.7-respect_flags.patch new file mode 100644 index 000000000000..feb03166dddd --- /dev/null +++ b/x11-plugins/wmmixer/files/wmmixer-1.7-respect_flags.patch @@ -0,0 +1,34 @@ +--- Makefile.orig 2012-08-21 11:03:31.028266807 +0200 ++++ Makefile 2012-08-21 11:05:06.808876995 +0200 +@@ -1,19 +1,12 @@ + # $Id$ + +-prefix = /usr/local ++prefix = /usr + exec_prefix = ${prefix} + bindir = ${exec_prefix}/bin + mandir = ${prefix}/share/man + +-DESTDIR = +- +-CXX = g++ +-CXXFLAGS = -O -Wall +-EXTRA_LIBS = -L/usr/X11R6/lib -lX11 -lXpm -lXext +- +- +-LD = g++ +-LDFLAGS = -o $(EXECUTABLE) $(CXXFLAGS) ++CXX ?= g++ ++LIBS = -lX11 -lXpm -lXext + + EXECUTABLE = wmmixer + OBJS = xhandler.o mixctl.o wmmixer.o exception.o +@@ -26,7 +19,7 @@ + $(CXX) $(CXXFLAGS) -c -o $@ $< + + $(EXECUTABLE): $(OBJS) +- $(LD) $(LDFLAGS) $(OBJS) $(EXTRA_LIBDIRS) $(EXTRA_LIBS) ++ $(CXX) $(LDFLAGS) $(OBJS) $(LIBS) -o $(EXECUTABLE) + + all: $(EXECUTABLE) + diff --git a/x11-plugins/wmmixer/metadata.xml b/x11-plugins/wmmixer/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/wmmixer/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/wmmixer/wmmixer-1.7.ebuild b/x11-plugins/wmmixer/wmmixer-1.7.ebuild new file mode 100644 index 000000000000..5004af75a55a --- /dev/null +++ b/x11-plugins/wmmixer/wmmixer-1.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="A mixer designed for WindowMaker" +HOMEPAGE="http://packages.qa.debian.org/w/wmmixer.html" +SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~mips ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-respect_flags.patch +} + +src_compile() { + emake CXX=$(tc-getCXX) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc CHANGES home.wmmixer README +} diff --git a/x11-plugins/wmmldonkey/Manifest b/x11-plugins/wmmldonkey/Manifest new file mode 100644 index 000000000000..06645a8813ac --- /dev/null +++ b/x11-plugins/wmmldonkey/Manifest @@ -0,0 +1 @@ +DIST wmmldonkey3.tar.gz 18684 SHA256 053bf2557e489bd526cdf3f4e6d28429d41c6a70ac677b89728dceab61eb04f5 SHA512 7026db45230a5b78788a6562e0a06a61cbdbbb794b52c81e8a7cd734e82605bf6c96d1528b48c1c6991dd76efc03391d01e7a90e49caae8d49ae8cbafb8c963c WHIRLPOOL 0bb0d620e668499a047e3bf120ab965ed17d5a68e2393c5efbdfc56e71671d5558e37028fb2c53242f01ad5e978d6be52cc8fb1955f3000e86495a517c7d49d8 diff --git a/x11-plugins/wmmldonkey/metadata.xml b/x11-plugins/wmmldonkey/metadata.xml new file mode 100644 index 000000000000..ca551894a934 --- /dev/null +++ b/x11-plugins/wmmldonkey/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/wmmldonkey/wmmldonkey-0.003-r1.ebuild b/x11-plugins/wmmldonkey/wmmldonkey-0.003-r1.ebuild new file mode 100644 index 000000000000..c82362251396 --- /dev/null +++ b/x11-plugins/wmmldonkey/wmmldonkey-0.003-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="wmmsg is a dockapp to show the up and downloadrate from your mldonkey" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/174" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/298/wmmldonkey3.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + x11-libs/libXext + x11-libs/libX11 + x11-libs/libXpm" +DEPEND="${RDEPEND} + net-p2p/mldonkey" + +S=${WORKDIR}/wmmldonkey3 + +src_prepare() { + sed \ + -e 's:gcc:${CC} ${CFLAGS}:' \ + -e 's:gui_protocol.o endianess.o::' \ + -e 's:main.c -o wmmldonkey:main.c gui_protocol.o endianess.o -o wmmldonkey:' \ + -e 's:-lXpm -lXext:-lX11 -lXpm -lXext:' \ + -i "${S}/Makefile" || die + + tc-export CC +} + +src_install() { + dodoc CHANGELOG README + dobin wmmldonkey +} + +pkg_postinst() { + elog "Make sure the mldonkey daemon is running before you" + elog "attempt to run emmldonkey..." +} diff --git a/x11-plugins/wmmon+smp/Manifest b/x11-plugins/wmmon+smp/Manifest new file mode 100644 index 000000000000..99990d6b6b6e --- /dev/null +++ b/x11-plugins/wmmon+smp/Manifest @@ -0,0 +1 @@ +DIST wmmon+smp.tar.gz 15807 SHA256 d8d98323c3c5d091902ed52cae2c0ba9db34b6af11d75d67104c6d90e6b30f96 SHA512 9565815c30642a3d12a23960bf6123eafa9379d24a69b2a75794757e89a3b056669fc47a898a5e756871a74502dcab8b76abe5508f2c5474a1fbfc8bdd4e6a94 WHIRLPOOL 17fcf7b3cf678cda708339f8d4aefdc2c17d8341148dad12b6905622891e61395ba5ed1645f453c7910a30e358b44f9cf53a44cd75e1505db1c47efe5eca3304 diff --git a/x11-plugins/wmmon+smp/metadata.xml b/x11-plugins/wmmon+smp/metadata.xml new file mode 100644 index 000000000000..c19c35269035 --- /dev/null +++ b/x11-plugins/wmmon+smp/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> +WMMon+SMP shows real-time CPU usage on SMP machines. Only Dual-processor +systems are supported. A load average graph a.k.a. wmloadavg/xload is also +provided. WMMon+SMP is based on WMMon 1.0b2 and does not display I/O or memory +statistics. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmmon+smp/wmmon+smp-1.0-r2.ebuild b/x11-plugins/wmmon+smp/wmmon+smp-1.0-r2.ebuild new file mode 100644 index 000000000000..8a3c94955f04 --- /dev/null +++ b/x11-plugins/wmmon+smp/wmmon+smp-1.0-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Dockapp CPU monitor resembling Xosview, support for smp" +SRC_URI="http://www.ne.jp/asahi/linux/timecop/wmmon+smp.tar.gz" +HOMEPAGE="http://www.ne.jp/asahi/linux/timecop/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc64 x86" +IUSE="" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/wmmon.app/wmmon + +src_prepare() { + # Respect LDFLAGS, see bug #335047 + sed \ + -e 's/cc -o/${CC} ${LDFLAGS} -o/' \ + -e 's/cc -c/${CC} ${CFLAGS} -c/' \ + -i Makefile || die + tc-export CC +} + +src_install () { + newbin wmmon wmmon+smp + dodoc ../README +} diff --git a/x11-plugins/wmmon/Manifest b/x11-plugins/wmmon/Manifest new file mode 100644 index 000000000000..4cebfb4bfe5c --- /dev/null +++ b/x11-plugins/wmmon/Manifest @@ -0,0 +1,2 @@ +DIST wmmon-1.2b1.tar.bz2 25610 RMD160 88d149f377866aec5bd5e2ab0ff683843f14708a SHA1 4e7bda90b3d2ee7dfce216b32f3b701db65dd3f3 SHA256 5b203ec46fe13d5fdee51ec878cf1856704bf650a8f5458416b9cf4585e7cac2 +DIST wmmon-1_0b2.tar.gz 21589 RMD160 23c64f8bf25b0992a2f98dcfa4c24d66330c475b SHA1 96616c653a153861e38945c07095f8ee30bc6479 SHA256 0d34003747b36d47c1f6361675eee982d6eaf458b33f8cf4ecb157e87cdde9bf diff --git a/x11-plugins/wmmon/files/wmmon-1.0_beta2-kernel26-v2.patch b/x11-plugins/wmmon/files/wmmon-1.0_beta2-kernel26-v2.patch new file mode 100644 index 000000000000..38182bb2a907 --- /dev/null +++ b/x11-plugins/wmmon/files/wmmon-1.0_beta2-kernel26-v2.patch @@ -0,0 +1,207 @@ +*** wmmon.c Tue May 19 14:13:16 1998 +--- wmmon.c.patched Tue May 10 12:31:40 2005 +*************** +*** 101,107 **** + /********************/ + + char *ProgName; +! int stat_current = 0; /* now global */ + FILE *fp_meminfo; + FILE *fp_stat; + FILE *fp_loadavg; +--- 101,108 ---- + /********************/ + + char *ProgName; +! int stat_current = 0; /* now global */ +! int minus_buffers = 1; /* do we want to subtract buffers and cache from memory usage? */ + FILE *fp_meminfo; + FILE *fp_stat; + FILE *fp_loadavg; +*************** void main(int argc, char *argv[]) { +*** 146,151 **** +--- 147,155 ---- + case 's' : + stat_current = 2; + break; ++ case 'b' : ++ minus_buffers = 0; ++ break; + default: + usage(); + exit(0); +*************** void DrawActive(char *); +*** 188,194 **** + void update_stat_cpu(stat_dev *); + void update_stat_io(stat_dev *); + void update_stat_mem(stat_dev *st, stat_dev *st2); +- void update_stat_swp(stat_dev *); + + void wmmon_routine(int argc, char **argv) { + +--- 192,197 ---- +*************** void wmmon_routine(int argc, char **argv +*** 298,304 **** + + if(stat_current == 2) { + update_stat_mem(&stat_device[2], &stat_device[3]); +- // update_stat_swp(&stat_device[3]); + } + + if (stat_current < 2) { +--- 301,306 ---- +*************** void wmmon_routine(int argc, char **argv +*** 320,341 **** + copyXPMArea(0, 64, 32, 12, 28+64, 4); + copyXPMArea(0, 64, 32, 12, 28+64, 18); + +! j = stat_device[2].rt_idle; +! if (j != 0) { +! j = (stat_device[2].rt_stat * 100) / j; +! } +! j = j * 0.32; +! if (j > 32) j = 32; +! copyXPMArea(32, 64, j, 12, 28+64, 4); +! /*--------------------- ------------------*/ +! j = stat_device[3].rt_idle; +! if (j != 0) { +! j = (stat_device[3].rt_stat * 100) / j; + } +- j = j * 0.32; +- if (j > 32) j = 32; +- copyXPMArea(32, 64, j, 12, 28+64, 18); +- + /*----------- online tijd neerzetten! ----------*/ + + cnt_time = time(0) - ref_time + online_time; +--- 322,335 ---- + copyXPMArea(0, 64, 32, 12, 28+64, 4); + copyXPMArea(0, 64, 32, 12, 28+64, 18); + +! for (i = 2; i <= 3; i++) { +! j = stat_device[i].rt_stat != 0 +! ? 100 * ( stat_device[i].rt_stat - stat_device[i].rt_idle ) / stat_device[i].rt_stat +! : 0 ; +! j = j * 0.32; +! if (j > 32) j = 32; +! copyXPMArea(32, 64, j, 12, 28+64, 4+(14*(i-2)) ); + } + /*----------- online tijd neerzetten! ----------*/ + + cnt_time = time(0) - ref_time + online_time; +*************** void wmmon_routine(int argc, char **argv +*** 430,436 **** + } + case 1: + stat_current++; +- printf("current stat is :%d\n", stat_current); + if (stat_current == stat_online) + stat_current = 0; + +--- 424,429 ---- +*************** void update_stat_io(stat_dev *st) { +*** 499,541 **** + + void update_stat_mem(stat_dev *st, stat_dev *st2) { + +! char temp[128]; +! unsigned long free, shared, buffers, cached; + + freopen("/proc/meminfo", "r", fp_meminfo); + while (fgets(temp, 128, fp_meminfo)) { +! if (strstr(temp, "Mem:")) { +! sscanf(temp, "Mem: %ld %ld %ld %ld %ld %ld", +! &st->rt_idle, &st->rt_stat, +! &free, &shared, &buffers, &cached); +! st->rt_idle >>= 10; +! st->rt_stat -= buffers+cached; +! st->rt_stat >>= 10; +! // break; + } +! if (strstr(temp, "Swap:")) { +! sscanf(temp, "Swap: %ld %ld", &st2->rt_idle, &st2->rt_stat); +! st2->rt_idle >>= 10; +! st2->rt_stat >>= 10; +! break; + } +! } +! } +! +! void update_stat_swp(stat_dev *st) { +! +! char temp[128]; +! +! fseek(fp_meminfo, 0, SEEK_SET); +! while (fgets(temp, 128, fp_meminfo)) { +! if (strstr(temp, "Swap:")) { +! sscanf(temp, "Swap: %ld %ld", &st->rt_idle, &st->rt_stat); +! st->rt_idle >>= 10; +! st->rt_stat >>= 10; +! break; + } + } +- + } + + /*******************************************************************************\ +--- 492,523 ---- + + void update_stat_mem(stat_dev *st, stat_dev *st2) { + +! char temp[128], stat[20]; +! unsigned long amount; + + freopen("/proc/meminfo", "r", fp_meminfo); ++ st->rt_idle = 0; /* zero this out so we can +/- appropriately */ + while (fgets(temp, 128, fp_meminfo)) { +! sscanf(temp, "%s %ld", &stat, &amount); +! if (! strcmp(stat, "MemFree:") ) { +! st->rt_idle += (amount >> 10); + } +! else if (! strcmp(stat, "MemTotal:") ) { +! st->rt_stat = (amount >> 10); + } +! else if (! strcmp(stat, "Buffers:") && minus_buffers ) { +! st->rt_idle += (amount >> 10); +! } +! else if (! strcmp(stat, "Cached:") && minus_buffers ) { +! st->rt_idle += (amount >> 10); +! } +! else if (! strcmp(stat, "SwapFree:") ) { +! st2->rt_idle = (amount >> 10); +! } +! else if (! strcmp(stat, "SwapTotal:") ) { +! st2->rt_stat = (amount >> 10); + } + } + } + + /*******************************************************************************\ +*************** int checksysdevs(void) { +*** 599,605 **** + + strcpy(stat_device[0].name, "cpu0"); + strcpy(stat_device[1].name, "i/o"); +! strcpy(stat_device[2].name, "sys"); + + return 3; + } +--- 581,588 ---- + + strcpy(stat_device[0].name, "cpu0"); + strcpy(stat_device[1].name, "i/o"); +! strcpy(stat_device[2].name, "mem"); +! strcpy(stat_device[3].name, "swap"); + + return 3; + } +*************** void usage(void) { +*** 724,729 **** +--- 707,713 ---- + fprintf(stderr, "\t-v\tprint the version number\n"); + fprintf(stderr, "\t-i\tstartup in DiskIO mode\n"); + fprintf(stderr, "\t-s\tstartup in SysInfo mode\n"); ++ fprintf(stderr, "\t-b\tdo not subtract buffer and cache from memory usage\n"); + fprintf(stderr, "\n"); + } + diff --git a/x11-plugins/wmmon/files/wmmon-1.2_beta1-Makefile.patch b/x11-plugins/wmmon/files/wmmon-1.2_beta1-Makefile.patch new file mode 100644 index 000000000000..c7633ad7388b --- /dev/null +++ b/x11-plugins/wmmon/files/wmmon-1.2_beta1-Makefile.patch @@ -0,0 +1,20 @@ +--- wmmon/Makefile.orig 2012-03-29 13:17:39.380764054 +0200 ++++ wmmon/Makefile 2012-03-29 13:18:06.623931767 +0200 +@@ -6,14 +6,14 @@ + ../wmgeneral/list.o + + CFLAGS = -O2 +-CC = cc $(CFLAGS) ++CC = cc + + + .c.o: +- $(CC) -c -Wall $< -o $*.o ++ $(CC) $(CFLAGS) -c -Wall $< -o $*.o + + wmmon: $(OBJS) +- $(CC) -o wmmon $^ $(LIBDIR) $(LIBS) ++ $(CC) $(LDFLAGS) -o wmmon $^ $(LIBDIR) $(LIBS) + + debug: CFLAGS = -g3 + debug: wmmon diff --git a/x11-plugins/wmmon/metadata.xml b/x11-plugins/wmmon/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmmon/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/wmmon/wmmon-1.0_beta2-r3.ebuild b/x11-plugins/wmmon/wmmon-1.0_beta2-r3.ebuild new file mode 100644 index 000000000000..b887f53ad232 --- /dev/null +++ b/x11-plugins/wmmon/wmmon-1.0_beta2-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +S=${WORKDIR}/${PN}.app +IUSE="" +DESCRIPTION="Dockable system resources monitor applet for WindowMaker" +WMMON_VERSION=1_0b2 +SRC_URI="http://rpig.dyndns.org/~anstinus/Linux/${PN}-${WMMON_VERSION}.tar.gz" +HOMEPAGE="http://www.bensinclair.com/dockapp/" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + >=sys-apps/sed-4" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ~ppc sparc x86" + +src_unpack() { + unpack ${A} + cd "${S}"/${PN} + epatch "${FILESDIR}"/${P}-kernel26-v2.patch + sed -i -e "s|-O2|${CFLAGS}|" Makefile + sed -i -e "s|cc -o wmmon|cc ${LDFLAGS} -o wmmon|" Makefile +} + +src_compile() { + emake -C ${PN} || die +} + +src_install () { + dobin wmmon/wmmon + dodoc BUGS CHANGES HINTS README TODO +} diff --git a/x11-plugins/wmmon/wmmon-1.2_beta1.ebuild b/x11-plugins/wmmon/wmmon-1.2_beta1.ebuild new file mode 100644 index 000000000000..009a86d08f86 --- /dev/null +++ b/x11-plugins/wmmon/wmmon-1.2_beta1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils toolchain-funcs + +DESCRIPTION="Dockable system resources monitor applet for WindowMaker" +HOMEPAGE="http://repo.or.cz/w/dockapps.git" +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P/_beta/b}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P/_beta/b} + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch +} + +src_compile() { + emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -C ${PN} +} + +src_install () { + dobin wmmon/wmmon + doman wmmon/wmmon.1 + dodoc BUGS CHANGES HINTS README TODO +} diff --git a/x11-plugins/wmmp/Manifest b/x11-plugins/wmmp/Manifest new file mode 100644 index 000000000000..5785390496d2 --- /dev/null +++ b/x11-plugins/wmmp/Manifest @@ -0,0 +1 @@ +DIST WMmp-0.10.0.tar.gz 228560 SHA256 918ea42dc16fa5f3456cc28f38d286e948de30d1e5b5e00da2cfb45cf08c8d04 diff --git a/x11-plugins/wmmp/metadata.xml b/x11-plugins/wmmp/metadata.xml new file mode 100644 index 000000000000..7c23b8f8736c --- /dev/null +++ b/x11-plugins/wmmp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <upstream> + <remote-id type="sourceforge">musicpd</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmmp/wmmp-0.10.0-r1.ebuild b/x11-plugins/wmmp/wmmp-0.10.0-r1.ebuild new file mode 100644 index 000000000000..6b1dd077501e --- /dev/null +++ b/x11-plugins/wmmp/wmmp-0.10.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +MY_P=${P/wm/WM} + +DESCRIPTION="A Window Maker dock app client for Music Player Daemon(media-sound/mpd)" +HOMEPAGE="http://mpd.wikia.com/wiki/Client:WMmp" +SRC_URI="mirror://sourceforge/musicpd/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + econf --with-default-port=6600 +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" || die "make failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog README THANKS TODO +} diff --git a/x11-plugins/wmmp3/Manifest b/x11-plugins/wmmp3/Manifest new file mode 100644 index 000000000000..12ca2067d3a2 --- /dev/null +++ b/x11-plugins/wmmp3/Manifest @@ -0,0 +1 @@ +DIST wmmp3-0.12.tar.gz 43977 SHA256 babbb158f83befd0e8eab9d794c8353ea536a477cb8b3e500be389cf658941c3 SHA512 6cc06f109d6ab6c69ed3b8175010a2f38053138291f02e59780fc7394c35cc629ddd6b982bd5069e20a3cb81d81b3d08b9e10d1f7984f783f22c9b012c933740 WHIRLPOOL c8199106c502c5c2bea9f5e2c981bd96720bce607d3714c8a91b289d1c708b76a4315338c6cbec0a8340bdca3d1e9ebb1b2d3214a90e58140864eca1aa155a31 diff --git a/x11-plugins/wmmp3/files/wmmp3-0.12-x_includes_n_libraries.patch b/x11-plugins/wmmp3/files/wmmp3-0.12-x_includes_n_libraries.patch new file mode 100644 index 000000000000..91e6c679dcda --- /dev/null +++ b/x11-plugins/wmmp3/files/wmmp3-0.12-x_includes_n_libraries.patch @@ -0,0 +1,20 @@ +--- configure.orig 2005-08-24 09:45:23.000000000 +0200 ++++ configure 2005-08-24 09:45:08.000000000 +0200 +@@ -1977,11 +1977,15 @@ + + + if test "$x_includes" != "NONE"; then +- CFLAGS="$CFLAGS -I$x_includes" ++ if test "$x_includes" != ""; then ++ CFLAGS="$CFLAGS -I$x_includes" ++ fi + fi + + if test "$x_libraries" != "NONE"; then +- LDFLAGS="$LDFLAGS -L$x_libraries" ++ if test "$x_libraries" != ""; then ++ LDFLAGS="$LDFLAGS -L$x_libraries" ++ fi + fi + + echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 diff --git a/x11-plugins/wmmp3/metadata.xml b/x11-plugins/wmmp3/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmmp3/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/wmmp3/wmmp3-0.12.ebuild b/x11-plugins/wmmp3/wmmp3-0.12.ebuild new file mode 100644 index 000000000000..91e9f61c6671 --- /dev/null +++ b/x11-plugins/wmmp3/wmmp3-0.12.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" + +DESCRIPTION="Mp3 player dock app for WindowMaker; frontend to mpg123" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/60" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/91/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + media-sound/mpg123" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix #103531 + epatch "${FILESDIR}"/${P}-x_includes_n_libraries.patch +} + +src_compile() { + # override wmmp3 self-calculated cflags + econf + emake prefix="/usr/" || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog sample.wmmp3 README TODO +} + +pkg_postinst() { + einfo "Please copy the sample.wmmp3 to your home directory and change it to fit your needs." +} 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 +} diff --git a/x11-plugins/wmnd/Manifest b/x11-plugins/wmnd/Manifest new file mode 100644 index 000000000000..9032327bad2d --- /dev/null +++ b/x11-plugins/wmnd/Manifest @@ -0,0 +1,2 @@ +DIST wmnd-0.4.16.tar.gz 188614 SHA256 10bab4819c8b09f203b241eb78fee9f886fd1a61d550c83c39f6a3dbc3a8f441 SHA512 dc18f5d912f6b82fde72f17d4a6785cb7380b46265c9b3e080bfc46b28678b2021e6a580b1eb88a61ab6574e29ce1021e0ac0c0d8ae9fbe7a5418982a5f17eb7 WHIRLPOOL 1c9517631721e91f478d50984d330c7ab1316152a41f9ee88860c08704e2d76e181e0c7caba1372c6b26693edc169ff0fe0845a192321db3e5a4a73ba362b0e8 +DIST wmnd-0.4.17.tar.gz 191089 SHA256 48a07a6bda6871832c38fbca7a17d27606a94ed632f373d9e42f8cfc785cb3aa SHA512 09ecb0d21df2ca996dbe18b8711abb327200fd6c098e57bda19b960854bc9fae5c5c4f5d5a8cb306c21393983f602f591af87a0afdf009380d9a6ae1a2e81eb2 WHIRLPOOL a1c3974d19c5b033fbe611be84563b06d10ac572ae38f6007920a03fb3e8a20b937df9466b7a77b4565ab00515fe6a5f7e817128483051a92fdade0904481465 diff --git a/x11-plugins/wmnd/metadata.xml b/x11-plugins/wmnd/metadata.xml new file mode 100644 index 000000000000..d9e273dc98c2 --- /dev/null +++ b/x11-plugins/wmnd/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +WMND (Window Maker Network Devices) is a dockapp +for monitoring multiple network interfaces +simultaneously. Based on WMiFS 1.3b, WMND has +been almost totally re-written and is more +optimized, flexible, and consumes less CPU time +than wmmon. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmnd/wmnd-0.4.16.ebuild b/x11-plugins/wmnd/wmnd-0.4.16.ebuild new file mode 100644 index 000000000000..1c4d37e80528 --- /dev/null +++ b/x11-plugins/wmnd/wmnd-0.4.16.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="WindowMaker Network Devices (dockapp)" +HOMEPAGE="http://www.thregr.org/~wavexx/software/wmnd/" +SRC_URI="http://www.thregr.org/~wavexx/software/wmnd/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="snmp" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm + snmp? ( >=net-analyzer/net-snmp-5.2.1 )" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_install() { + emake DESTDIR="${D}" install + + dodoc README AUTHORS ChangeLog NEWS TODO +} diff --git a/x11-plugins/wmnd/wmnd-0.4.17.ebuild b/x11-plugins/wmnd/wmnd-0.4.17.ebuild new file mode 100644 index 000000000000..882b61fb796a --- /dev/null +++ b/x11-plugins/wmnd/wmnd-0.4.17.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="WindowMaker Network Devices (dockapp)" +HOMEPAGE="http://www.thregr.org/~wavexx/software/wmnd/" +SRC_URI="http://www.thregr.org/~wavexx/software/wmnd/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="snmp" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm + snmp? ( >=net-analyzer/net-snmp-5.2.1 )" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_install() { + emake DESTDIR="${D}" install + + dodoc README AUTHORS ChangeLog NEWS TODO +} diff --git a/x11-plugins/wmnet/Manifest b/x11-plugins/wmnet/Manifest new file mode 100644 index 000000000000..f2183482700a --- /dev/null +++ b/x11-plugins/wmnet/Manifest @@ -0,0 +1,2 @@ +DIST wmnet-1.06-misc.patch.bz2 11327 RMD160 e889730b0ab79f80d68870094e38d4623ec194b2 SHA1 8a08f8fc8f9fe70bd63c4f314cae4d9b24599a05 SHA256 d1faab4600efa1d6a6973dfc05d451fb0fabf417a58f32bc1d4f21a0d7d7cbc9 +DIST wmnet-1.06.tar.gz 27506 RMD160 a6ac89507370acecc9673f52fd26ae896cc5da5c SHA1 978364e0ab45c71730c196334e8fced4ac0a7853 SHA256 79c6ef93126d2a4928818391c0aa20638d47cd9dca12d999e774591f9b2d365d diff --git a/x11-plugins/wmnet/metadata.xml b/x11-plugins/wmnet/metadata.xml new file mode 100644 index 000000000000..df079f4162b4 --- /dev/null +++ b/x11-plugins/wmnet/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmnet polls network statistics and does a few things with the data it gets. It +has small blinking lights for the rx and tx of ip packets, a digital +speedometer of your tcp/ip stack's current speed and neatest of all, a bar +graph like xload et. al which has a tx speed graph from bottom-up and rx speed +graph from the top-down. The speedometer keeps track of the current speed per +second and shows it in a color corresponding to which of rx or tx that has the +highest speed at the moment. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmnet/wmnet-1.06-r1.ebuild b/x11-plugins/wmnet/wmnet-1.06-r1.ebuild new file mode 100644 index 000000000000..31eaaa35b1c2 --- /dev/null +++ b/x11-plugins/wmnet/wmnet-1.06-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" +DESCRIPTION="WMnet is a dock.app network monitor" +SRC_URI="http://www.digitalkaos.net/linux/wmnet/download/${P}.tar.gz + mirror://gentoo/${P}-misc.patch.bz2" +HOMEPAGE="http://www.digitalkaos.net/linux/wmnet/" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + x11-misc/imake + app-text/rman" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc alpha amd64 ppc" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/${P}-misc.patch # bug 72818 +} + +src_compile() { + xmkmf || die "xmkmf failed." + emake CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" || die "emake failed." +} + +src_install() { + dobin wmnet + newman wmnet.man wmnet.1 + dodoc README Changelog +} diff --git a/x11-plugins/wmnetload/Manifest b/x11-plugins/wmnetload/Manifest new file mode 100644 index 000000000000..f91e5f57549d --- /dev/null +++ b/x11-plugins/wmnetload/Manifest @@ -0,0 +1 @@ +DIST wmnetload-1.3.tar.gz 105588 SHA256 c2dcfb5075dd56fbdba9e92abc7854bd01c2652fc914490f9f7df07625275e64 SHA512 67f28100fefea54a21f82be3acde9a457779b2dd1eb1c2f0c074c0a956a8f7b43a6c7ed39b97f8bdd1f51adfc1c21d197c1a7dfd84d8aeb562e46d58fd06b3f7 WHIRLPOOL 185a55e2fae71791a22da969ec25baebde7e4981d05ab2091e168e4977980c4ee98a8161da3035b5c66c09d1aad057e89e4a37269fe5f601d8cad675f7dbf309 diff --git a/x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch b/x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch new file mode 100644 index 000000000000..117015d242a5 --- /dev/null +++ b/x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch @@ -0,0 +1,59 @@ +diff -Naur wmnetload-1.3/configure.in wmnetload-1.3-new/configure.in +--- wmnetload-1.3/configure.in 2003-02-23 10:07:39.000000000 +0100 ++++ wmnetload-1.3-new/configure.in 2009-01-20 09:24:20.000000000 +0100 +@@ -102,7 +102,6 @@ + [inc_search_path=" -I $withval $inc_search_path"]) + + LIBRARY_SEARCH_PATH="$lib_search_path -L/usr/local/lib" +-LIBRARY_RPATH=`echo "$LIBRARY_SEARCH_PATH" | sed 's/[ *]-L[ *]/:/g'` + HEADER_SEARCH_PATH="$inc_search_path -I/usr/local/include" + + AC_SUBST(LIBRARY_SEARCH_PATH) +@@ -122,12 +121,10 @@ + ;; + *netbsd*) + OS=netbsd +- LIBRARY_RPATH="$LIBRARY_RPATH:/usr/X11R6/lib" + LIBS="$LIBS -lkvm" + ;; + *freebsd*) + OS=freebsd +- LIBRARY_RPATH="$LIBRARY_RPATH:/usr/X11R6/lib" + ;; + *) + echo "" +@@ -143,22 +140,6 @@ + + AC_PATH_XTRA + +-dnl +-dnl Hack in rpath -- yes, this sucks, and it even has a hidden dependency +-dnl on the implementation of AC_PATH_XTRA. F@&* you, portability. +-dnl +-if test "$GCC" = yes; then +- if test "ac_R_space" = no; then +- RPATH="-Wl,\"-R$LIBRARY_RPATH\"" +- else +- RPATH="-Wl,\"-R $LIBRARY_RPATH\"" +- fi +-else +- RPATH= +- echo "WARNING: do not know how to set RPATH with this compiler" +-fi +- +-AC_SUBST(RPATH) + + + X_LIBRARY_PATH=$x_libraries +diff -Naur wmnetload-1.3/src/Makefile.am wmnetload-1.3-new/src/Makefile.am +--- wmnetload-1.3/src/Makefile.am 2003-02-18 07:30:48.000000000 +0100 ++++ wmnetload-1.3-new/src/Makefile.am 2009-01-20 09:24:58.000000000 +0100 +@@ -25,8 +25,6 @@ + EXTRA_wmnetload_SOURCES = ifstat_linux.c ifstat_netbsd.c ifstat_solaris.c \ + ifstat_freebsd.c + +-LDFLAGS = @RPATH@ +- + LDADD = @LIBRARY_SEARCH_PATH@ @XLFLAGS@ @XLIBS@ -ldockapp -lXpm -lm + CPPFLAGS = @CPPFLAGS@ @XCFLAGS@ -DVERSION=\"@VERSION@\" + INCLUDES = @HEADER_SEARCH_PATH@ -I$(top_srcdir)/xpm/@WN_LOOK@ diff --git a/x11-plugins/wmnetload/metadata.xml b/x11-plugins/wmnetload/metadata.xml new file mode 100644 index 000000000000..bd0ed55627e7 --- /dev/null +++ b/x11-plugins/wmnetload/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> +wmnetload is a network interface monitor dockapp for Window Maker. It is +designed to fit well with dockapps like wmcpuload and wmmemmon. It tracks +whether the interface is functioning and displays current network interface +throughput, along with an auto-scaling graph of recent network activity (the +graph separates upstream and downstream traffic load cleanly without resorting +to colors). +</longdescription> + <upstream> + <remote-id type="freshmeat">wmnetload</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild b/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild new file mode 100644 index 000000000000..a1884858490f --- /dev/null +++ b/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit autotools eutils + +DESCRIPTION="Network interface monitor dockapp" +HOMEPAGE="http://freshmeat.net/projects/wmnetload/" +SRC_URI="ftp://truffula.com/pub/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=x11-libs/libdockapp-0.6.1" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-${PVR}-norpath.patch" + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "einstall failed." + dodoc AUTHORS README NEWS +} diff --git a/x11-plugins/wmnetselect/Manifest b/x11-plugins/wmnetselect/Manifest new file mode 100644 index 000000000000..352fe44c6704 --- /dev/null +++ b/x11-plugins/wmnetselect/Manifest @@ -0,0 +1 @@ +DIST wmnetselect-0.8.tar.gz 69519 SHA256 5cfd5b2d1fa1ed44b971b2bc9a9ddc816a7724c4a7fa998bf283bdbb60deb096 diff --git a/x11-plugins/wmnetselect/metadata.xml b/x11-plugins/wmnetselect/metadata.xml new file mode 100644 index 000000000000..0867de041869 --- /dev/null +++ b/x11-plugins/wmnetselect/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="freshmeat">wmnetselect</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmnetselect/wmnetselect-0.8-r1.ebuild b/x11-plugins/wmnetselect/wmnetselect-0.8-r1.ebuild new file mode 100644 index 000000000000..1cec61e0d4bc --- /dev/null +++ b/x11-plugins/wmnetselect/wmnetselect-0.8-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +IUSE="" +DESCRIPTION="WindowMaker browser launcher docklet" +HOMEPAGE="http://freshmeat.net/projects/wmnetselect/" +SRC_URI="ftp://ftp11.freebsd.org/pub/FreeBSD/ports/distfiles/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc amd64 ppc" + +RDEPEND="x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + x11-misc/imake" + +src_compile() { + xmkmf || die + emake CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" wmnetselect || die +} + +src_install () { + dobin wmnetselect + dodoc README ChangeLog TODO README.html +} diff --git a/x11-plugins/wmpager/Manifest b/x11-plugins/wmpager/Manifest new file mode 100644 index 000000000000..217f4451460c --- /dev/null +++ b/x11-plugins/wmpager/Manifest @@ -0,0 +1 @@ +DIST wmpager-1.2.tar.gz 24255 SHA256 ffd411bf8e0e570ec92636e355ddc3ca72c8bfad6a6a051f308e19ea7ab32343 diff --git a/x11-plugins/wmpager/metadata.xml b/x11-plugins/wmpager/metadata.xml new file mode 100644 index 000000000000..9ed822188d72 --- /dev/null +++ b/x11-plugins/wmpager/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gnustep</herd> + <upstream> + <remote-id type="sourceforge">wmpager</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmpager/wmpager-1.2-r1.ebuild b/x11-plugins/wmpager/wmpager-1.2-r1.ebuild new file mode 100644 index 000000000000..ac9b0394b7b4 --- /dev/null +++ b/x11-plugins/wmpager/wmpager-1.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +DESCRIPTION="A simple pager docklet for the WindowMaker window manager" +HOMEPAGE="http://wmpager.sourceforge.net/" +SRC_URI="mirror://sourceforge/wmpager/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_prepare() { + sed -i "s:\(WMPAGER_DEFAULT_INSTALL_DIR \).*:\1\"/usr/share/wmpager\":" src/wmpager.c + + #Honour Gentoo CFLAGS + sed -i "s/-g/${CFLAGS}/" src/Makefile + + #Honour Gentoo LDFLAGS, see bug #337604 + sed -i "s/\${LIBS}/\${LIBS} \${LDFLAGS}/" src/Makefile +} + +src_install() { + emake INSTALLDIR="${D}/usr" install || die + rm -rf "${D}"/usr/man + doman man/man1/*.1x + dodoc README +} diff --git a/x11-plugins/wmpasman/Manifest b/x11-plugins/wmpasman/Manifest new file mode 100644 index 000000000000..727e11afecd9 --- /dev/null +++ b/x11-plugins/wmpasman/Manifest @@ -0,0 +1,2 @@ +DIST wmpasman-0.8.4.1.tar.gz 226277 SHA256 79be58cad5d4e6c5e15969e3d5a4fa1dfe59687b59e81c5802426c900aecd733 SHA512 59c811ad998a522c255c52bed656e2b5eb9cfbe01913d8fc0d686c82df22543bbe776104f2c141152bd0925990cf590216452e4e3cfe78c85e4ee4d67e69e4c8 WHIRLPOOL 51f51f2c92b9067cab2bedd814a0067daa9af72411a46a6f5b3980253f22a241c74ada6cef31e8ed82b05a2c515974024a5545dfd96e6cfb14be1c7dc9a75254 +DIST wmpasman-0.8.5.3.tar.gz 198779 SHA256 7db784891a73d80e5c386911142fd66b3bee3bd5dcdc35da3355b87aff5ce4b6 SHA512 d47bae993b1ea47ef2cf4cce0dc8d8f1e8e055650dbfc7854612176a0933a0a5079ad29bc85ba8e0370843e9be189d7e4d0b349590981d3eac4c3f01fe69ec87 WHIRLPOOL 8e9fce9faba17d03a2454c0fc8904206d6a2ec566f86e1c8538194aa313be4411c94e8d0d0d2bc26dacc2539305f21a5fbfbb87e8566c39d6f3f6451375cecb7 diff --git a/x11-plugins/wmpasman/metadata.xml b/x11-plugins/wmpasman/metadata.xml new file mode 100644 index 000000000000..09ecaf0de8db --- /dev/null +++ b/x11-plugins/wmpasman/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> +wmpasman stores passwords and makes them available +for pasting (both via the middle-click primary +selection and the clipboard selection) at the +click of a button. It also contains a digital +clock. Access is controlled by a passphrase. +</longdescription> + <upstream> + <remote-id type="sourceforge">wmpasman</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmpasman/wmpasman-0.8.4.1.ebuild b/x11-plugins/wmpasman/wmpasman-0.8.4.1.ebuild new file mode 100644 index 000000000000..f25e7bda7ba8 --- /dev/null +++ b/x11-plugins/wmpasman/wmpasman-0.8.4.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 + +DESCRIPTION="Password storage/retrieval in a dockapp" +HOMEPAGE="http://sourceforge.net/projects/wmpasman/" +SRC_URI="mirror://sourceforge/wmpasman/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.4.1:2 + >=app-crypt/mhash-0.9.1 + >=app-crypt/mcrypt-2.6.4" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + virtual/pkgconfig + >=x11-libs/libXpm-3.5.5" + +src_prepare() { + # Solves compile error about undefined exit - Bug 140857 + sed -i -e '/#include <stdio.h>/ { p ; s/stdio/stdlib/ }' wmgeneral/wmgeneral-gtk.c || die +} + +src_install() { + emake DESTDIR="${D}" install + dodoc BUGS ChangeLog README TODO WARNINGS +} diff --git a/x11-plugins/wmpasman/wmpasman-0.8.5.3.ebuild b/x11-plugins/wmpasman/wmpasman-0.8.5.3.ebuild new file mode 100644 index 000000000000..be2211c947cd --- /dev/null +++ b/x11-plugins/wmpasman/wmpasman-0.8.5.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Password storage/retrieval in a dockapp" +HOMEPAGE="http://sourceforge.net/projects/wmpasman/" +SRC_URI="mirror://sourceforge/wmpasman/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.4.1:2 + >=app-crypt/mhash-0.9.1 + >=app-crypt/mcrypt-2.6.4" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + virtual/pkgconfig + >=x11-libs/libXpm-3.5.5" + +DOCS="BUGS ChangeLog README TODO WARNINGS" diff --git a/x11-plugins/wmpeople/Manifest b/x11-plugins/wmpeople/Manifest new file mode 100644 index 000000000000..00aebf53c72c --- /dev/null +++ b/x11-plugins/wmpeople/Manifest @@ -0,0 +1 @@ +DIST wmpeople-1.3.tar.gz 111148 SHA256 eb91a30907e220fdd4d583751cd6468ec2cf58600e2ee613457a48817683548d SHA512 af01e2d43d158eab3d520ebb0b9ebd50e1b5955920e3b86d5238d9bc0313cc055001bfa44d76e1ccfe721f668b9494373f18175f2ef7d248a0e237bbefe9e129 WHIRLPOOL 2e90cdbf978a0a230615646acb1bc1ba7d53890223fa645237b50110be08eef64dfe80eb65b6eea9717765c6e83b0985c31c941c6b8d2c455cd011ad7d51f19b diff --git a/x11-plugins/wmpeople/metadata.xml b/x11-plugins/wmpeople/metadata.xml new file mode 100644 index 000000000000..b1ebbcb59fcc --- /dev/null +++ b/x11-plugins/wmpeople/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">peephole</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmpeople/wmpeople-1.3.ebuild b/x11-plugins/wmpeople/wmpeople-1.3.ebuild new file mode 100644 index 000000000000..b51d7a688e76 --- /dev/null +++ b/x11-plugins/wmpeople/wmpeople-1.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Nice, highly configurable WMaker DockApp that monitors your mail boxes" +HOMEPAGE="http://peephole.sourceforge.net/" +SRC_URI="mirror://sourceforge/peephole/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc ~sparc" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + >=net-mail/peephole-1.2" + +src_install() { + emake DESTDIR="${D}" install || die "Installation failed" + dodoc AUTHORS ChangeLog README +} + +pkg_postinst() { + einfo "Before you can use wmpeople you must copy" + einfo "/etc/skel/.wmpeoplerc to your home dir" + einfo "and edit it to suit your needs." + einfo "Also, make sure that the peephole daemon" + einfo "is up and running before you start wmpeople." +} diff --git a/x11-plugins/wmpiki/Manifest b/x11-plugins/wmpiki/Manifest new file mode 100644 index 000000000000..1613ac840b22 --- /dev/null +++ b/x11-plugins/wmpiki/Manifest @@ -0,0 +1 @@ +DIST wmpiki-0.2.1.tar.gz 18518 SHA256 4ab72db9273c6d7334f08ae32c3d07416f9696a6307b3e9ada10e19d3831864c diff --git a/x11-plugins/wmpiki/metadata.xml b/x11-plugins/wmpiki/metadata.xml new file mode 100644 index 000000000000..30dd4bcea4fb --- /dev/null +++ b/x11-plugins/wmpiki/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +Wmpiki is a dockapp which checks and displays small leds +for indicate hosts activity (up to eight hosts). The configuration +file is ~/.clay/wmpiki, so use text editor to change settings. +The method to determine hosts is very primitive and auwful, but it works ;-) +('ping output + grep' - if you can do it better please do). +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmpiki/wmpiki-0.2.1.ebuild b/x11-plugins/wmpiki/wmpiki-0.2.1.ebuild new file mode 100644 index 000000000000..6435d579357b --- /dev/null +++ b/x11-plugins/wmpiki/wmpiki-0.2.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils + +IUSE="" + +DESCRIPTION="Wmpiki is a dockapp which checks and displays small leds for indicate hosts activity" +HOMEPAGE="http://clay.ll.pl/projects.html#dockapps" +SRC_URI="http://clay.ll.pl/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="ppc sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + >=sys-apps/sed-4.1.4-r1" + +src_prepare() +{ + sed -i 's/gcc/${CC}/' Makefile + sed -i 's/-o wmpiki/${LDFLAGS} -o wmpiki/' Makefile +} + +src_compile() +{ + make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "Compilation failed" +} + +src_install() +{ + dobin wmpiki + dodoc AUTHORS ChangeLog README config.example +} + +pkg_postinst() +{ + einfo "Don't forget to edit wmpiki configuration file:" + einfo "~/.clay/wmpiki" +} diff --git a/x11-plugins/wmpinboard/Manifest b/x11-plugins/wmpinboard/Manifest new file mode 100644 index 000000000000..649109de4c3d --- /dev/null +++ b/x11-plugins/wmpinboard/Manifest @@ -0,0 +1 @@ +DIST wmpinboard-1.0.tar.gz 133290 SHA256 a0268bf1c6c0c9c7ac4167031970e17a298f0ab5a85bf6ef166ae454f205137c diff --git a/x11-plugins/wmpinboard/files/wmpinboard-1.0-segfault.patch b/x11-plugins/wmpinboard/files/wmpinboard-1.0-segfault.patch new file mode 100644 index 000000000000..7d2c94458b52 --- /dev/null +++ b/x11-plugins/wmpinboard/files/wmpinboard-1.0-segfault.patch @@ -0,0 +1,11 @@ +--- src/wmpinboard.c 2000-04-13 13:01:17.000000000 +0200 ++++ src/wmpinboard.c 2003-03-06 19:29:57.000000000 +0100 +@@ -165,7 +165,7 @@ + char t[STRING_BUF_SIZE]; + FILE *file; + int pid = (int) getpid(); +- static int sizes[6]; ++ static int sizes[7]; + sizes[0] = size_0; + sizes[1] = size_1; + sizes[2] = size_2; diff --git a/x11-plugins/wmpinboard/metadata.xml b/x11-plugins/wmpinboard/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmpinboard/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/wmpinboard/wmpinboard-1.0.ebuild b/x11-plugins/wmpinboard/wmpinboard-1.0.ebuild new file mode 100644 index 000000000000..88f3b34b3bcd --- /dev/null +++ b/x11-plugins/wmpinboard/wmpinboard-1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="" +DESCRIPTION="Window Maker dock applet resembling a miniature pinboard" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/131/${P}.tar.gz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/93" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc alpha amd64 ppc" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/wmpinboard-1.0-segfault.patch +} + +src_install() { + emake DESTDIR="${D}" install || die +} diff --git a/x11-plugins/wmping/Manifest b/x11-plugins/wmping/Manifest new file mode 100644 index 000000000000..442527dc0dae --- /dev/null +++ b/x11-plugins/wmping/Manifest @@ -0,0 +1 @@ +DIST wmping-0.2.1.tar.gz 100059 SHA256 8d10c77839f087add2c3b2f483585ede92f4c57a4a18262c74406591877a3c33 SHA512 c13a4906810d7513fe3e1e88a77846a5b0a299180f858f755a2fe602eaab802e77062d29e767e4d5c28e45bc6ce1431418cc71ee26c3c8fc5521280999bb9351 WHIRLPOOL f42b9a35c3b9d45116cbef6d3644310b05961e00fab96674acd13eb7193681223892dd10f586abf2ee829b29ca432095f1a7b8c92516813390df0194036b6997 diff --git a/x11-plugins/wmping/files/wmping-0.2.1-format-security.patch b/x11-plugins/wmping/files/wmping-0.2.1-format-security.patch new file mode 100644 index 000000000000..cc9976d04ad2 --- /dev/null +++ b/x11-plugins/wmping/files/wmping-0.2.1-format-security.patch @@ -0,0 +1,38 @@ +--- wmping.c.orig 2015-08-06 15:03:32.407526918 +0200 ++++ wmping.c 2015-08-06 15:03:56.907978079 +0200 +@@ -237,7 +237,7 @@ + if(strcmp(tokens[1],"=")) + { + sprintf(str_err, "Not correct format of configuration file ( %s ): line %u", cfgfile, lineN); +- fprintf(stderr, str_err); ++ fprintf(stderr, "%s", str_err); + exit(-1); + } + +@@ -288,7 +288,7 @@ + else + { + sprintf(str_err, "Not correct format of configuration file ( %s ): line %u", cfgfile, lineN); +- fprintf(stderr, str_err); ++ fprintf(stderr, "%s", str_err); + exit(-1); + + } +@@ -297,7 +297,7 @@ + else + { + sprintf(str_err, "Error open configuration file ( %s ): %s", cfgfile, strerror(errno)); +- fprintf(stderr, str_err); ++ fprintf(stderr, "%s", str_err); + fprintf(stderr, "\n Create default configuration file\n"); + createDefaultCfg(cfgfile); + } +@@ -305,7 +305,7 @@ + else + { + sprintf(str_err, "Error open configuration file ( %s ): %s", cfgfile, strerror(errno)); +- fprintf(stderr, str_err); ++ fprintf(stderr, "%s", str_err); + fprintf(stderr, "\n Create default configuration file\n"); + createDefaultCfg(cfgfile); + } diff --git a/x11-plugins/wmping/metadata.xml b/x11-plugins/wmping/metadata.xml new file mode 100644 index 000000000000..96baaa510b9c --- /dev/null +++ b/x11-plugins/wmping/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmping</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmping/wmping-0.2.1.ebuild b/x11-plugins/wmping/wmping-0.2.1.ebuild new file mode 100644 index 000000000000..338046efd4f4 --- /dev/null +++ b/x11-plugins/wmping/wmping-0.2.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="a simple host status monitoring dockapp" +HOMEPAGE="http://sourceforge.net/projects/wmping" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+suid" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto + x11-libs/libICE + x11-libs/libXt" + +src_prepare() { + epatch "${FILESDIR}"/${P}-format-security.patch +} + +src_install() { + if use suid; then + emake DESTDIR="${D}" install + else + dosbin ${PN} + fi + + doman ${PN}.1 + dodoc AUTHORS CHANGES README +} + +pkg_postinst() { + use suid || ewarn "warning, ${PN} needs to be executed as root." +} diff --git a/x11-plugins/wmpop3/Manifest b/x11-plugins/wmpop3/Manifest new file mode 100644 index 000000000000..9fc5afaac4fb --- /dev/null +++ b/x11-plugins/wmpop3/Manifest @@ -0,0 +1 @@ +DIST WMPop3-0.5.6a.tar.gz 23532 RMD160 1c1a46d10638414eb4227a76f609b7219c8b3ffb SHA1 9dadad5aa6907ca9351361b13d15d836d079d5df SHA256 98bdaa3ec253e94f4460672ea37b277d70157a6e1d6236df135346175f07b645 diff --git a/x11-plugins/wmpop3/metadata.xml b/x11-plugins/wmpop3/metadata.xml new file mode 100644 index 000000000000..47bd13620891 --- /dev/null +++ b/x11-plugins/wmpop3/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +WMPop3 is a Window Maker dockable app which will check a pop3 mail server and +report how many messages are waiting( new and old ). Check it out! +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmpop3/wmpop3-0.5.6a.ebuild b/x11-plugins/wmpop3/wmpop3-0.5.6a.ebuild new file mode 100644 index 000000000000..c661fe891d95 --- /dev/null +++ b/x11-plugins/wmpop3/wmpop3-0.5.6a.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="dockapp for checking pop3 accounts" +HOMEPAGE="http://www.cs.mun.ca/~scotth/" +SRC_URI="http://www.cs.mun.ca/~scotth/download/${P/wmpop3/WMPop3}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~sparc x86" +IUSE="" +DEPEND="x11-wm/windowmaker + >=sys-apps/sed-4 + x11-libs/libXpm" + +src_unpack() { + unpack ${A} + cd "${S}"/wmpop3 + sed -i -e "s:-O2:${CFLAGS}:" Makefile + sed -i -e "s:-o wmpop3:${LDFLAGS} -o wmpop3:" Makefile +} + +src_compile() { + emake -C wmpop3 || die +} + +src_install() { + dobin wmpop3/wmpop3 + dodoc CHANGE_LOG README +} diff --git a/x11-plugins/wmpop3lb/Manifest b/x11-plugins/wmpop3lb/Manifest new file mode 100644 index 000000000000..d3dbce0ea1c7 --- /dev/null +++ b/x11-plugins/wmpop3lb/Manifest @@ -0,0 +1 @@ +DIST wmpop3lb2.4.2.tar.gz 37391 RMD160 9625131b5284258d751089d9a9e1e11a62650eb9 SHA1 a093b00285fa75990914f9b8c02ea203e8ed41b6 SHA256 209b5ca409f226032b1200779e09f3d45a3522bc08eeb9f1b63e14bd04e780f3 diff --git a/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-fix-RECV-and-try-STAT-if-LAST-wont-work.patch b/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-fix-RECV-and-try-STAT-if-LAST-wont-work.patch new file mode 100644 index 000000000000..16cbe4ed6bce --- /dev/null +++ b/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-fix-RECV-and-try-STAT-if-LAST-wont-work.patch @@ -0,0 +1,190 @@ +--- wmpop3lb2.4.2/wmpop3/Pop3Client.c 2002-06-27 16:04:42.000000000 +0200 ++++ wmpop3lb2.4.2-pathed/wmpop3/Pop3Client.c 2007-01-11 14:39:12.000000000 +0200 +@@ -27,6 +27,49 @@ + + #include "Pop3Client.h" + ++/* receive full responce */ ++int do_recv(int s, void *ibuf, size_t len, int flags) ++{ ++ size_t ret, total; ++ char *p, *buf = ibuf; ++ ++ total = 0; ++ while (1) ++ { ++ /* left one byte for null termination */ ++ ret = recv(s, buf + total, len - 1 - total, flags); ++ /* if we got error or close, then brea */ ++ if (ret <= 0) ++ { ++ break; ++ } ++ /* increase size of received data */ ++ total += ret; ++ /* null terminating received data */ ++ buf[total] = 0; ++ /* left one byte for null termination ++ * if out of buffer, return */ ++ if (len - total <= 1) ++ { ++ break; ++ } ++ /* if we found end of line signal, then stop */ ++ p = strstr(buf, "\r\n"); ++ printf("p == %p\n", p); ++ if (p != 0) ++ { ++ break; ++ } ++ } ++ ++ /* if there wasn't any data, then return error code */ ++ if (total == 0) ++ { ++ return ret; ++ } ++ return total; ++} ++ + /* return size if all goes well, -1 if not expected answer */ + int send_command(char *exp_answer, char **retour, Pop3 pc) + { +@@ -61,18 +104,29 @@ + return (pc); + } + int pop3MakeConnection(Pop3 pc, char *serverName, int port){ ++ struct timeval t; + + pc->s = socket(AF_INET, SOCK_STREAM, 0 ); + memset( &(pc->server), 0 , sizeof(pc->server)); + pc->server.sin_family = AF_INET; + pc->hp = gethostbyname(serverName); + if( pc->hp == 0) ++ { ++ close(pc->s); + return -1; ++ } + memcpy( &(pc->server.sin_addr), pc->hp->h_addr, pc->hp->h_length); + pc->server.sin_port = htons(port); + if ( connect(pc->s, (struct sockaddr *)&(pc->server) + , sizeof(pc->server)) < 0 ) ++ { ++ close(pc->s); + return -1; ++ } ++ t.tv_sec = 60; ++ t.tv_usec = 0; ++ setsockopt(pc->s, SOL_SOCKET, SO_RCVTIMEO, &t, sizeof(t)); ++ setsockopt(pc->s, SOL_SOCKET, SO_SNDTIMEO, &t, sizeof(t)); + pc->connected = CONNECTED; + return 0; + } +@@ -94,7 +148,7 @@ + return -1; + } + +- size = recv(pc->s,&pc->inBuf,1024,0); ++ size = do_recv(pc->s,&pc->inBuf,1024,0); + memset(temp,0,1024); + memcpy(temp,pc->inBuf,size); + if( temp[0] != '+' ){ +@@ -104,10 +158,10 @@ + + sprintf(pc->outBuf,"USER %s\r\n",name); + send(pc->s, &pc->outBuf,strlen(pc->outBuf),0); +- size =recv(pc->s,pc->inBuf,1024,0); ++ size = do_recv(pc->s,pc->inBuf,1024,0); + memset(temp,0,1024); + memcpy(temp,pc->inBuf,size); +- if( temp[0] != '+' ){ ++ if( temp[0] != '+' && temp[0] != '\r' ){ + fprintf(stderr,"Invalid User Name\n"); + return -1; + } +@@ -115,10 +169,10 @@ + memset(pc->outBuf,0,1024); + sprintf(pc->outBuf,"PASS %s\r\n",pass); + send(pc->s, pc->outBuf, strlen(pc->outBuf),0 ); +- size =recv(pc->s,&pc->inBuf,1024,0); ++ size = do_recv(pc->s,&pc->inBuf,1024,0); + memset(temp,0,1024); + memcpy(temp,pc->inBuf,size); +- if( temp[0] != '+' ){ ++ if( temp[0] != '+' && temp[0] != '\r'){ + fprintf(stderr,"Incorrect Password\n"); + return -1; + } +@@ -213,7 +267,7 @@ + /* Find total number of messages in mail box */ + sprintf(pc->outBuf,"STAT\r\n"); + send(pc->s, pc->outBuf, strlen(pc->outBuf),0 ); +- size = recv(pc->s,pc->inBuf,1024,0); ++ size = do_recv(pc->s,pc->inBuf,1024,0); + if( pc->inBuf[0] != '+' ){ + perror("Error Receiving Stats"); + return (-1); +@@ -266,7 +320,7 @@ + /* Find total number of messages in mail box */ + sprintf(pc->outBuf,"STAT\r\n"); + send(pc->s, pc->outBuf, strlen(pc->outBuf),0 ); +- size = recv(pc->s,pc->inBuf,1024,0); ++ size = do_recv(pc->s,pc->inBuf,1024,0); + pc->inBuf[size] = '\0'; + #ifdef _DEBUG + printf(" pop3CheckMail, stat received buf (size=%d): [%s]\n", +@@ -313,7 +367,7 @@ + + sprintf(pc->outBuf,"LAST\r\n"); + send(pc->s, pc->outBuf, strlen(pc->outBuf),0 ); +- size = recv(pc->s,pc->inBuf,1024,0); ++ size = do_recv(pc->s,pc->inBuf,1024,0); + pc->inBuf[size] = '\0'; + #ifdef _DEBUG + printf(" pop3CheckMail, last received buf (size=%d): [%s]\n", +@@ -325,9 +379,25 @@ + #ifdef _DEBUG + printf(" Error Receiving LAST: [%s]\n", temp); + #endif +- pc->numOfUnreadMessages = pc->numOfMessages; ++ /* TRY STAT instead LAST */ ++ sprintf(pc->outBuf,"STAT\r\n"); ++ send(pc->s, pc->outBuf, strlen(pc->outBuf),0 ); ++ size = do_recv(pc->s,pc->inBuf,1024,0); ++ pc->inBuf[size] = '\0'; ++#ifdef _DEBUG ++ printf(" pop3CheckMail, last received buf (size=%d): [%s]\n", ++ size, pc->inBuf); ++#endif ++ memset(temp,0,1024); ++ memcpy(temp,pc->inBuf,size); ++ if( temp[0] != '+' ){ ++#ifdef _DEBUG ++ printf(" Error Receiving STAT: [%s]\n", temp); ++#endif ++ pc->numOfUnreadMessages = pc->numOfMessages; ++ } + } +- else { ++ if( temp[0] != '+' ){ + ptr = strtok(temp, " "); + ptr = strtok( 0," "); + pc->numOfUnreadMessages = pc->numOfMessages - atoi(ptr); +@@ -545,7 +615,7 @@ + printf(" %s\n", pc->outBuf); + #endif + send(pc->s, pc->outBuf, strlen(pc->outBuf), 0); +- size = recv(pc->s, pc->inBuf, 4096, 0); ++ size = do_recv(pc->s, pc->inBuf, 4096, 0); + if ('+' != pc->inBuf[0]) { + perror("error while deleting mail"); + return (1); +@@ -579,7 +649,7 @@ + if( pc->connected == NOT_CONNECTED ) + return -1; + send(pc->s, "quit\r\n", 6,0 ); +- size =recv(pc->s,&pc->inBuf,1024,0); ++ size = do_recv(pc->s,&pc->inBuf,1024,0); + pc->connected = NOT_CONNECTED; + if(pc->s != 0) + close(pc->s); diff --git a/x11-plugins/wmpop3lb/metadata.xml b/x11-plugins/wmpop3lb/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmpop3lb/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/wmpop3lb/wmpop3lb-2.4.2-r2.ebuild b/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r2.ebuild new file mode 100644 index 000000000000..4c005d642f3f --- /dev/null +++ b/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils + +IUSE="" + +MY_P=${PN}${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="dockapp for checking up to 7 pop3 accounts" +HOMEPAGE="http://wmpop3lb.jourdain.org" +SRC_URI="http://lbj.free.fr/wmpop3/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ~sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + >=sys-apps/sed-4" + +src_prepare() { + #Honour Gentoo CFLAGS + sed -i -e "s:-g2 -D_DEBUG:${CFLAGS}:" "wmpop3/Makefile" + + #Fix bug #161530 + epatch "${FILESDIR}"/${P}-fix-RECV-and-try-STAT-if-LAST-wont-work.patch + + #De-hardcode compiler + sed -i -e "s:cc:\$(CC):g" "wmpop3/Makefile" + + #Honour Gentoo LDFLAGS - bug #335986 + sed -i -e "s:\$(FLAGS) -o wmpop3lb:\$(LDFLAGS) -o wmpop3lb:" "wmpop3/Makefile" +} + +src_compile() { + emake -C wmpop3 || die "parallel make failed" +} + +src_install() { + dobin wmpop3/wmpop3lb + dodoc CHANGE_LOG README +} diff --git a/x11-plugins/wmpower/Manifest b/x11-plugins/wmpower/Manifest new file mode 100644 index 000000000000..f65be3c55f94 --- /dev/null +++ b/x11-plugins/wmpower/Manifest @@ -0,0 +1 @@ +DIST wmpower-0.4.3.tar.bz2 99178 SHA256 7ab575c47e25b3012e0c42f41e04a9e66b94f938c93915ce2eb2ecd968762464 SHA512 90d96949472497e39760f76b33f4363751863d3f824b1cb22ab9ff333f496b1f329db5fda1a2353c871f87b9f9f09781c410b51907cf13c617cdd3af2c2c84e9 WHIRLPOOL 83682587170895a27ebec07ad066ac4c016109c97d7965840c689bc34edc481ab819becf30fe0f5f9ec93cbbde972405ccc81baac69dce9462d4d2a3b17bfda4 diff --git a/x11-plugins/wmpower/metadata.xml b/x11-plugins/wmpower/metadata.xml new file mode 100644 index 000000000000..834e2e13a6f4 --- /dev/null +++ b/x11-plugins/wmpower/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> +wmpower is a Window Maker dock application +allowing the user to graphically see (and set) the power management status of his laptop. +It works with both APM and ACPI enabled kernels, has special support for Toshiba, Compal +and Dell hardware, and allows you to dinamically set the frequency of your CPU(s) via CPUfreq. +</longdescription> + <upstream> + <remote-id type="sourceforge">wmpower</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmpower/wmpower-0.4.3.ebuild b/x11-plugins/wmpower/wmpower-0.4.3.ebuild new file mode 100644 index 000000000000..230a58b31ba6 --- /dev/null +++ b/x11-plugins/wmpower/wmpower-0.4.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="a dockapp to get/set power management status for laptops (APM, ACPI +and CPUfreq)" +HOMEPAGE="http://wmpower.sourceforge.net/" +SRC_URI="mirror://sourceforge/wmpower/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_compile() { + # override wmpower self-calculated cflags + econf MY_CFLAGS="${CFLAGS}" || die "Configuration failed" + emake prefix="/usr/" || die "Compilation failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Installation failed" + dodoc AUTHORS BUGS ChangeLog LEGGIMI NEWS README README.compal THANKS TODO +} diff --git a/x11-plugins/wmppp/Manifest b/x11-plugins/wmppp/Manifest new file mode 100644 index 000000000000..4f1df1b53296 --- /dev/null +++ b/x11-plugins/wmppp/Manifest @@ -0,0 +1 @@ +DIST wmppp-1.3.0.tar.gz 31187 RMD160 2f560637292626561e58a3218e10f17d6e18ab11 SHA1 981b60805f8fd208a055ceb451152ba9d6b6ade9 SHA256 ce9aba279d4e88e34d239e7f69ff7ad000626b9c4210f5bb9c46a4ec318e8c4f diff --git a/x11-plugins/wmppp/metadata.xml b/x11-plugins/wmppp/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmppp/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/wmppp/wmppp-1.3.0.ebuild b/x11-plugins/wmppp/wmppp-1.3.0.ebuild new file mode 100644 index 000000000000..24415a01cea6 --- /dev/null +++ b/x11-plugins/wmppp/wmppp-1.3.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +IUSE="" +S=${WORKDIR}/wmppp.app/wmppp +DESCRIPTION="Network monitoring dock.app" +SRC_URI="http://web.cs.mun.ca/~gstarkes/wmaker/dockapps/files/${P}.tar.gz" +HOMEPAGE="http://windowmaker.mezaway.org/" #but this site has been dead for a while ;( + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc amd64 ppc" + +src_prepare() { + sed -ie 's/-o wmppp/\$(LDFLAGS) -o wmppp/' Makefile +} + +src_compile() { + emake CFLAGS="${CFLAGS}" all || die +} + +src_install () { + dobin wmppp + exeinto /etc/ppp + doexe getmodemspeed + dodoc user.wmppprc + cd .. + dodoc BUGS CHANGES HINTS README TODO +} diff --git a/x11-plugins/wmrack/Manifest b/x11-plugins/wmrack/Manifest new file mode 100644 index 000000000000..822ccbf5ec30 --- /dev/null +++ b/x11-plugins/wmrack/Manifest @@ -0,0 +1,2 @@ +DIST wmrack-1.3.tar.gz 61120 SHA256 0aa26cba5feeeabe6a03524557f617f3a30e36b230997a1e5ae5be0ea92ab1d4 +DIST wmrack-1.4.tar.gz 124243 SHA256 198855b1672cf78c2fa6d486e5490c9fb0d09f850e4e7ad80b478aad36bfb219 SHA512 27ed399a56f7f37e494005f02e74a09ad22c448ac288a3d2123987488ce65460f4c80841e8ff0fe3ff20db156130bc9e4894b42280181a1af58e06c1f8320a1e WHIRLPOOL 2ced5caf20cb47bb7420ccd3fd144cb4145d2303dbb6bde58d42996003528db5db649aec5d7ae35c9f9a17445df3801006479377cf9bbded623f1b22b500af1f diff --git a/x11-plugins/wmrack/metadata.xml b/x11-plugins/wmrack/metadata.xml new file mode 100644 index 000000000000..8c4a9359094d --- /dev/null +++ b/x11-plugins/wmrack/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmrack</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmrack/wmrack-1.3.ebuild b/x11-plugins/wmrack/wmrack-1.3.ebuild new file mode 100644 index 000000000000..f660eca22c15 --- /dev/null +++ b/x11-plugins/wmrack/wmrack-1.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit multilib toolchain-funcs + +DESCRIPTION="a sound mixer and CD player dockapp" +HOMEPAGE="http://wmrack.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + sed -i -e 's:gcc:$(CC):' "${S}"/Makefile.in + sed -i -e 's:$(OBJECTS) -o:$(OBJECTS) $(LDFLAGS) -o:' "${S}"/Makefile.in +} + +src_compile() { + tc-export CC + econf --x-includes=/usr/include --x-libraries=/usr/$(get_libdir) + emake -j1 || die "emake failed." +} + +src_install() { + emake -j1 LIBDIR="${D}/usr/$(get_libdir)/WMRack" \ + MANDIR="${D}/usr/share/man" BINDIR="${D}/usr/bin" \ + install || die "emake install failed." + + dodoc CHANGES README TODO +} diff --git a/x11-plugins/wmrack/wmrack-1.4.ebuild b/x11-plugins/wmrack/wmrack-1.4.ebuild new file mode 100644 index 000000000000..955ecfb8459a --- /dev/null +++ b/x11-plugins/wmrack/wmrack-1.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit multilib toolchain-funcs + +DESCRIPTION="a sound mixer and CD player dockapp" +HOMEPAGE="http://wmrack.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_prepare() { + sed -i -e 's:gcc:$(CC):' "${S}"/Makefile.in + sed -i -e 's:$(OBJECTS) -o:$(OBJECTS) $(LDFLAGS) -o:' "${S}"/Makefile.in +} + +src_install() { + emake LIBDIR="${D}/usr/$(get_libdir)/WMRack" \ + MANDIR="${D}/usr/share/man" BINDIR="${D}/usr/bin" \ + install + + dodoc CHANGES README TODO +} diff --git a/x11-plugins/wmrecord/Manifest b/x11-plugins/wmrecord/Manifest new file mode 100644 index 000000000000..7068f6be39b3 --- /dev/null +++ b/x11-plugins/wmrecord/Manifest @@ -0,0 +1 @@ +DIST wmrecord-1.0.5_20040218_0029.tgz 38594 SHA256 a3c3ce97733f6770a55e520dc702c1a1a3c53791b77d877898a5da6ff7653ab4 diff --git a/x11-plugins/wmrecord/files/wmrecord.desktop b/x11-plugins/wmrecord/files/wmrecord.desktop new file mode 100644 index 000000000000..c166dc454985 --- /dev/null +++ b/x11-plugins/wmrecord/files/wmrecord.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmRecord +Comment=Audio recorder for WindowMaker +Comment[pl]=Rekorder dźwięku dla WindowMakera +Exec=wmrecord +Type=Application +Terminal=false +Categories=AudioVideo;Audio;Recorder; diff --git a/x11-plugins/wmrecord/metadata.xml b/x11-plugins/wmrecord/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmrecord/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/wmrecord/wmrecord-1.0.5.3-r1.ebuild b/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild new file mode 100644 index 000000000000..8e3878f7ac2f --- /dev/null +++ b/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="A Dockable General Purpose Recording Utility" +HOMEPAGE="http://ret009t0.eresmas.net/other_software/wmrecord/" +SRC_URI="http://ret009t0.eresmas.net/other_software/wmrecord/${PN}-1.0.5_20040218_0029.tgz" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + >=sys-apps/sed-4.1.5-r1" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ~ppc" +IUSE="" + +S=${WORKDIR}/${PN}-1.0.5 + +src_unpack() { + unpack ${A} + + #prevent auto-stripping of binaries. Closes bug #252112 + sed -i 's/install -s -o/install -o/' "${S}/Makefile" + + #Honour Gentoo LDFLAGS. Closes bug #336753. + sed -i 's/-o $@ wmrecord.o/$(LDFLAGS) -o $@ wmrecord.o/' "${S}/Makefile" + + #Fix buffer overflow. Closes bug #336754. + sed -i 's/sprintf(cse, "000");/snprintf(cse, "000", 3);/' "${S}/wmrecord.c" +} + +src_compile() { + emake CFLAGS="${CFLAGS} -Wall" || die "make failed" +} + +src_install() { + dodir /usr/bin + dodir /usr/share/man/man1 + einstall BINDIR="${D}/usr/bin" MANDIR="${D}/usr/share/man/man1" || die "make install failed" + + dodoc Changelog README TODO + + domenu "${FILESDIR}"/${PN}.desktop +} diff --git a/x11-plugins/wmsmixer/Manifest b/x11-plugins/wmsmixer/Manifest new file mode 100644 index 000000000000..3d79f4df8755 --- /dev/null +++ b/x11-plugins/wmsmixer/Manifest @@ -0,0 +1 @@ +DIST wmsmixer-0.5.1.tar.gz 33350 RMD160 2f8ab0bf8571b9ea1e111f5e22c3df8ea017dec7 SHA1 32473bf99b7c0dfa4a2b7d0d850288354aebde58 SHA256 eee60a40ba92e4c2c9a038c6e51cd3bd62b24b38a096d091dc60dfd26f0c5daa diff --git a/x11-plugins/wmsmixer/metadata.xml b/x11-plugins/wmsmixer/metadata.xml new file mode 100644 index 000000000000..604b037085ff --- /dev/null +++ b/x11-plugins/wmsmixer/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +WMsmixer is a hack to wmmixer which makes some changes to the display +and adds a few new features, most notably scrollwheel support. It also +includes a numeric volume indicator. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmsmixer/wmsmixer-0.5.1.ebuild b/x11-plugins/wmsmixer/wmsmixer-0.5.1.ebuild new file mode 100644 index 000000000000..f04e2ddeaee0 --- /dev/null +++ b/x11-plugins/wmsmixer/wmsmixer-0.5.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils +IUSE="" +DESCRIPTION="fork of wmmixer adding scrollwheel support and other features" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/63" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/268/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ppc64 sparc x86" + +RDEPEND="x11-libs/libXpm + x11-libs/libXext + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_compile() { + g++ ${CFLAGS} -I/usr/X11R6/include -c -o wmsmixer.o wmsmixer.cc + rm -f wmsmixer + g++ ${LDFLAGS} -o wmsmixer ${CFLAGS} -L/usr/X11R6/lib wmsmixer.o -lXpm -lXext -lX11 +} + +src_install() { + insinto /usr/bin + insopts -m0655 + doins wmsmixer + dodoc README README.wmmixer +} diff --git a/x11-plugins/wmsound/Manifest b/x11-plugins/wmsound/Manifest new file mode 100644 index 000000000000..c79a5fad2d39 --- /dev/null +++ b/x11-plugins/wmsound/Manifest @@ -0,0 +1 @@ +DIST wmsound-0.9.5.tar.gz 23098 RMD160 70be0e11d17c8ca989c73073cf8bb2f8ff2a38f7 SHA1 435d60c99ade4539a94a15f58a6e5f122d746720 SHA256 9f479d7a00030e410f21ce9b489de5c7bf4daac64ff710924440ac1d112da1c2 diff --git a/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch b/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch new file mode 100644 index 000000000000..c87ab10e3791 --- /dev/null +++ b/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch @@ -0,0 +1,11 @@ +--- wmsound-0.9.4/src/Imakefile~ Tue Dec 4 09:22:23 2001 ++++ wmsound-0.9.4/src/Imakefile Tue Dec 4 09:22:23 2001 +@@ -26,7 +26,7 @@ + SRCS = wmsound.c + OBJS = wmsound.o + +-ComplexProgramTarget(wmsound) ++ComplexProgramTargetNoMan(wmsound) + + XCOMM MakeSubdirs($(SUBDIRS)) + XCOMM DependSubdirs($(SUBDIRS)) diff --git a/x11-plugins/wmsound/files/wmsound-config.patch b/x11-plugins/wmsound/files/wmsound-config.patch new file mode 100644 index 000000000000..5ab17c13693f --- /dev/null +++ b/x11-plugins/wmsound/files/wmsound-config.patch @@ -0,0 +1,86 @@ +--- wmsound-0.9.5/Install.orig Sun May 2 13:02:43 1999 ++++ wmsound-0.9.5/Install Wed Sep 4 12:59:56 2002 +@@ -7,62 +7,15 @@ + DEVICE="/dev/dsp" + + echo +-echo "----------------------------" +-echo " WMSound-$VERSION Installation " +-echo "----------------------------" ++echo "-----------------------------" ++echo " WMSound-$VERSION Configuration " ++echo "-----------------------------" + +-WHOAMI=`whoami` +-if test $WHOAMI != "root" +-then +- echo "It is advised to run this script as the root user" +- echo "Your current user is $WHOAMI, if you want to continue press <Enter>" +- read CONTINUE +- if test $CONTINUE +- then +- echo "Installation aborted." +- else +- echo "Proceeding with installation ..." +- fi +-fi +- +-done=0 +-while test $done = 0 +-do +- echo "Specify your default audio device [$DEVICE]" +- echo -n ": " +- read AUDIODEV +- if !(test $AUDIODEV) +- then +- AUDIODEV=$DEVICE +- fi +- if test -e $AUDIODEV +- then +- echo "Using audio-device : $AUDIODEV" +- DEVICE=$AUDIODEV +- done=1 +- else +- echo "$AUDIODEV does not exist ..." +- fi +- +-done +-echo "----------------------" +-echo " Generating Makefiles " +-echo "----------------------" +-xmkmf -a +- +-echo "------------------------" +-echo " Building WMSound-$VERSION" +-echo "------------------------" +-make install +- +-echo "-----------------------------------" +-echo " Generating Default WMSound Domain " +-echo "-----------------------------------" + (echo "{";\ + echo " SoundPath = (\"~/GNUstep/Library/WindowMaker/Sounds\",";\ +-echo " \"/usr/local/share/WindowMaker/Sounds\");";\ ++echo " \"/usr/X11R6/share/WindowMaker/Sounds\");";\ + echo " SoundSetPath = (\"~/GNUstep/Library/WindowMaker/SoundSets\",";\ +-echo " \"/usr/local/share/WindowMaker/SoundSets\");";\ ++echo " \"/usr/X11R6/share/WindowMaker/SoundSets\");";\ + echo " Device = $DEVICE;";\ + echo " AppExit = appexit.wav;";\ + echo " AppStart = appstart.wav;";\ +@@ -73,13 +26,8 @@ + echo " Shade = shade.wav;";\ + echo " Startup = startup.wav;";\ + echo " UnHide = unhide.wav;";\ +-echo " DeIconify = uniconify.wav;";\ ++echo " DeIconify = deiconify.wav;";\ + echo " UnShade = unshade.wav;";\ + echo " UserDefined = replaceme.wav;";\ +-echo "}";) > WMSound ++echo "}";) > config/WMSound + +-echo "Make sure you copy the generated WMSound config to your Window Maker Global" +-echo "Defaults path ... (probably /usr/local/etc/WindowMaker)" +-echo +-echo "Installation completed." +- diff --git a/x11-plugins/wmsound/metadata.xml b/x11-plugins/wmsound/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmsound/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/wmsound/wmsound-0.9.5-r1.ebuild b/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild new file mode 100644 index 000000000000..7fe3aa2cbd23 --- /dev/null +++ b/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils toolchain-funcs + +DESCRIPTION="An sound server for the WindowMaker desktop" +HOMEPAGE="http://windowmaker.org/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +RDEPEND="media-sound/wmsound-data + x11-libs/libproplist + x11-wm/windowmaker" +DEPEND="${RDEPEND} + x11-misc/gccmakedep + x11-misc/imake" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-config.patch \ + "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch + + # Fix building with -Wl,--as-needed + sed -i \ + -e 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' \ + src/Imakefile || die + sed -i \ + -e 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' \ + utils/Imakefile || die +} + +src_compile() { + xmkmf -a || die + emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}/usr" install + dodoc AUTHORS BUGS ChangeLog + + # Remove libwmsnd.a and wmsnd.h because they are unused, see: + # http://qa-reports.gentoo.org/output/genrdeps/dindex/media-sound/wmsound + rm -rf "${ED}"/usr/{include,lib*} +} diff --git a/x11-plugins/wmsound/wmsound-0.9.5.ebuild b/x11-plugins/wmsound/wmsound-0.9.5.ebuild new file mode 100644 index 000000000000..7910a45ff6da --- /dev/null +++ b/x11-plugins/wmsound/wmsound-0.9.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="WindowMaker sound server" +HOMEPAGE="http://largo.windowmaker.org/" +SRC_URI="http://largo.windowmaker.org/files/${P}.tar.gz" + +RDEPEND="media-sound/wmsound-data + x11-libs/libproplist + x11-wm/windowmaker" +DEPEND="${RDEPEND} + x11-misc/gccmakedep + x11-misc/imake" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc x86" +IUSE="" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-config.patch \ + "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch + + # Fix building with -Wl,--as-needed + sed -i \ + -e 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' \ + src/Imakefile || die + sed -i \ + -e 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' \ + utils/Imakefile || die +} + +src_compile() { + xmkmf -a || die + emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" +} + +src_install() { + emake PREFIX="${D}/usr" USRLIBDIR="${D}/usr/$(get_libdir)" install + dodoc AUTHORS BUGS ChangeLog +} diff --git a/x11-plugins/wmstickynotes/Manifest b/x11-plugins/wmstickynotes/Manifest new file mode 100644 index 000000000000..f309d240aa4e --- /dev/null +++ b/x11-plugins/wmstickynotes/Manifest @@ -0,0 +1 @@ +DIST wmstickynotes-0.2.tar.gz 107432 SHA256 e6c939e0a2aeaacef54f1fde6f08a0165b9267e253f398cc859aab2e9ed201f2 diff --git a/x11-plugins/wmstickynotes/files/wmstickynotes-0.2-gold.patch b/x11-plugins/wmstickynotes/files/wmstickynotes-0.2-gold.patch new file mode 100644 index 000000000000..360140a85ed6 --- /dev/null +++ b/x11-plugins/wmstickynotes/files/wmstickynotes-0.2-gold.patch @@ -0,0 +1,28 @@ + Makefile.am | 2 +- + Makefile.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 7c69428..bccf1d4 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -10,5 +10,5 @@ AUTOMAKE_OPTIONS = gnu + bin_PROGRAMS = wmstickynotes + wmstickynotes_SOURCES = wmstickynotes.c wmstickynotes.h wmstickynotes.xpm delete_button.xpm resize_button.xpm + +-wmstickynotes_LDADD = @GTK_LIBS@ ++wmstickynotes_LDADD = @GTK_LIBS@ -lX11 + EXTRA_DIST = THANKS +diff --git a/Makefile.in b/Makefile.in +index 91b19bd..fd883f2 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -182,7 +182,7 @@ top_srcdir = @top_srcdir@ + AM_CFLAGS = @GTK_CFLAGS@ + AUTOMAKE_OPTIONS = gnu + wmstickynotes_SOURCES = wmstickynotes.c wmstickynotes.h wmstickynotes.xpm delete_button.xpm resize_button.xpm +-wmstickynotes_LDADD = @GTK_LIBS@ ++wmstickynotes_LDADD = @GTK_LIBS@ -lX11 + EXTRA_DIST = THANKS + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-am diff --git a/x11-plugins/wmstickynotes/metadata.xml b/x11-plugins/wmstickynotes/metadata.xml new file mode 100644 index 000000000000..d6e04f210d1a --- /dev/null +++ b/x11-plugins/wmstickynotes/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">wmstickynotes</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmstickynotes/wmstickynotes-0.2.ebuild b/x11-plugins/wmstickynotes/wmstickynotes-0.2.ebuild new file mode 100644 index 000000000000..643b17fc1bd2 --- /dev/null +++ b/x11-plugins/wmstickynotes/wmstickynotes-0.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils + +DESCRIPTION="A dockapp for keeping small notes around on the desktop" +HOMEPAGE="http://wmstickynotes.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="x11-libs/gtk+:2" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gold.patch +} diff --git a/x11-plugins/wmsvencd/Manifest b/x11-plugins/wmsvencd/Manifest new file mode 100644 index 000000000000..283e2ff75e84 --- /dev/null +++ b/x11-plugins/wmsvencd/Manifest @@ -0,0 +1 @@ +DIST wmsvencd-0.5.0.tar.gz 23784 SHA256 d548eddb2572eb2bc808f3d11dec73ae521533c2e05ebc3730845f2f17242674 diff --git a/x11-plugins/wmsvencd/files/wmsvencd-compile.patch b/x11-plugins/wmsvencd/files/wmsvencd-compile.patch new file mode 100644 index 000000000000..1ab9a9f7e383 --- /dev/null +++ b/x11-plugins/wmsvencd/files/wmsvencd-compile.patch @@ -0,0 +1,36 @@ +diff -urN wmsvencd-0.5.0.orig/Makefile wmsvencd-0.5.0/Makefile +--- wmsvencd-0.5.0.orig/Makefile 1999-05-08 09:54:08.000000000 +0200 ++++ wmsvencd-0.5.0/Makefile 2003-09-18 03:56:41.448394312 +0200 +@@ -1,11 +1,13 @@ + BINDIR = /usr/local/bin + MANDIR = /usr/local/man/man1 + CFLAGS = -O6 -fno-strength-reduce ++LIBDIR = -L/usr/X11R6/lib ++LIBS = -lXpm -lXext -lX11 + + all: wmsvencd + + wmsvencd: cdctl.o wmsvencd.o +- c++ -o wmsvencd $(CFLAGS) -L/usr/X11R6/lib wmsvencd.o cdctl.o -lXpm -lXext -lX11 ++ c++ -o wmsvencd $(CFLAGS) $(LIBDIR) wmsvencd.o cdctl.o $(LIBS) + + wmsvencd.o: wmsvencd.cc + c++ $(CFLAGS) -I/usr/X11R6/include -I/include -c wmsvencd.cc -o wmsvencd.o +@@ -21,4 +23,4 @@ + install: + mkdir -p $(BINDIR) + install -c -s -m 0755 wmsvencd $(BINDIR) +- install -c -m 0644 wmsvencd.1x $(MANDIR) ++ install -c -m 0644 wmsvencd.1x $(MANDIR) +\ No newline at end of file +diff -urN wmsvencd-0.5.0.orig/cdctl.cc wmsvencd-0.5.0/cdctl.cc +--- wmsvencd-0.5.0.orig/cdctl.cc 1999-05-08 05:51:29.000000000 +0200 ++++ wmsvencd-0.5.0/cdctl.cc 2003-09-18 03:55:06.393844800 +0200 +@@ -35,6 +35,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <sys/ioctl.h> + #include <sys/types.h> + #include <sys/stat.h> diff --git a/x11-plugins/wmsvencd/files/wmsvencd.desktop b/x11-plugins/wmsvencd/files/wmsvencd.desktop new file mode 100644 index 000000000000..755937301b19 --- /dev/null +++ b/x11-plugins/wmsvencd/files/wmsvencd.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmSvenCD +Comment=WindowMaker dockable CD-player with CDDB +Comment[pl]=Dokowalny CD-player dla WindowMakera z obsługą CDDB +Exec=wmsvencd +Type=Application +Terminal=false +Categories=AudioVideo;Audio; diff --git a/x11-plugins/wmsvencd/metadata.xml b/x11-plugins/wmsvencd/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmsvencd/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/wmsvencd/wmsvencd-0.5.0.ebuild b/x11-plugins/wmsvencd/wmsvencd-0.5.0.ebuild new file mode 100644 index 000000000000..5b32fcfee305 --- /dev/null +++ b/x11-plugins/wmsvencd/wmsvencd-0.5.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Window Maker Dockable CD-Player with CDDB" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +DEPEND=" + x11-wm/windowmaker + x11-libs/libXpm" +RDEPEND="${DEPEND}" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ~ppc" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/wmsvencd-compile.patch + + sed -i 's:c++ -o:c++ $(LDFLAGS) -o:' Makefile +} + +src_compile() { + emake CFLAGS="${CFLAGS} -fno-strength-reduce" || die "make failed" +} + +src_install() { + newman wmsvencd.1x wmsvencd.1 + dobin wmsvencd + dodoc README + + domenu "${FILESDIR}"/${PN}.desktop +} diff --git a/x11-plugins/wmswallow/Manifest b/x11-plugins/wmswallow/Manifest new file mode 100644 index 000000000000..052711d1b902 --- /dev/null +++ b/x11-plugins/wmswallow/Manifest @@ -0,0 +1 @@ +DIST wmswallow.tar.Z 28567 SHA256 7d7a3dc64b89eeb388bb2f66815fc94cb551d0899f0e41d204f367109a2cda02 SHA512 24ef61a4084bda49afd6a7168600d99c60fe85daab6d16733fd208a905966433ca3d031a1d991676f3e73cb8a3a552c49fe69cfb4e1271e7c9a09d9247c21cdc WHIRLPOOL 1d6d6e19075b9a8daba03f99ef04357fc48bdb71e2373386f29a2636611ae20b56398b1871c8b163d069fbb4ee07c98cf1b27fd6bd5178a7756a011cd4d44be8 diff --git a/x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch b/x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch new file mode 100644 index 000000000000..7a2fe4cf1f36 --- /dev/null +++ b/x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch @@ -0,0 +1,16 @@ +--- wmswallow.c.orig 2015-04-01 17:12:29.420177608 +0200 ++++ wmswallow.c 2015-04-01 17:13:14.947182921 +0200 +@@ -445,11 +445,11 @@ + int printlist(FILE * stream, char * string, char **stringlist) { + int i=0; + +- fprintf(stream, string); ++ fprintf(stream, "%s", string); + if (stringlist!=NULL) { + while (stringlist[i]!=NULL) { + fprintf(stream, " "); +- fprintf(stream, stringlist[i]); ++ fprintf(stream, "%s", stringlist[i]); + fprintf(stream, " "); + ++i; + } diff --git a/x11-plugins/wmswallow/metadata.xml b/x11-plugins/wmswallow/metadata.xml new file mode 100644 index 000000000000..50d126d55f8d --- /dev/null +++ b/x11-plugins/wmswallow/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmswallow is a WindowMaker dock applet that makes any application dockable. You +can define an action to be taken on a mouseclick if the window does not receive +mouseclicks itself, and you can define the size and width of the swallowed +window on the commandline. Applications may be started on the commandline and +specified via name, class, or window-id. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmswallow/wmswallow-0.6.1-r1.ebuild b/x11-plugins/wmswallow/wmswallow-0.6.1-r1.ebuild new file mode 100644 index 000000000000..8d30dab5d06e --- /dev/null +++ b/x11-plugins/wmswallow/wmswallow-0.6.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="A dock applet to make any application dockable" +HOMEPAGE="http://burse.uni-hamburg.de/~friedel/software/wmswallow.html" +SRC_URI="http://burse.uni-hamburg.de/~friedel/software/wmswallow/${PN}.tar.Z" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/wmswallow + +src_prepare() { + epatch "${FILESDIR}"/${P}-format-security.patch + sed -e "s:\${OBJS} -o:\${OBJS} \${LDFLAGS} -o:" \ + -e "/LIBS/s/-lXext/-lX11 \0/"\ + -i Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" xfree +} + +src_install() { + dobin wmswallow + dodoc CHANGELOG README todo +} diff --git a/x11-plugins/wmsysmon/Manifest b/x11-plugins/wmsysmon/Manifest new file mode 100644 index 000000000000..f5ffd1d42d91 --- /dev/null +++ b/x11-plugins/wmsysmon/Manifest @@ -0,0 +1,2 @@ +DIST wmsysmon-0.7.7-s4t4n.patch.bz2 8547 SHA256 b585793744c65ccc10c0b2b55c34f7c5cf0ac03b99526f50842ace99a1ce7245 +DIST wmsysmon-0.7.7.tar.gz 20866 SHA256 b50e3d834e799ff2b2a825c67534e049bed2af2c261d83b8afbbd4a9010d3e5c diff --git a/x11-plugins/wmsysmon/files/wmsysmon-high-ints.patch b/x11-plugins/wmsysmon/files/wmsysmon-high-ints.patch new file mode 100644 index 000000000000..4ba89fb33212 --- /dev/null +++ b/x11-plugins/wmsysmon/files/wmsysmon-high-ints.patch @@ -0,0 +1,11 @@ +--- Makefile 2004-08-02 13:18:22.780070984 +0200 ++++ Makefile 2004-08-02 13:19:07.776230528 +0200 +@@ -3,7 +3,7 @@ + LIBDIR += -L/usr/X11R6/lib + LDFLAGS += -lXpm -lXext -lX11 -lm -s + #CFLAGS = -g #-DMONDEBUG +-CFLAGS += ${GENTOO_CFLAGS} -W -Wall -pedantic -I/usr/X11R6/include #-DHI_INTS #undefine HI_INTS if your x86 SMP or alpha ++CFLAGS += ${GENTOO_CFLAGS} -W -Wall -pedantic -I/usr/X11R6/include -DHI_INTS #undefine HI_INTS if your x86 SMP or alpha + + BIN = wmsysmon + OBJS = wmgeneral.o \ diff --git a/x11-plugins/wmsysmon/metadata.xml b/x11-plugins/wmsysmon/metadata.xml new file mode 100644 index 000000000000..720cdbbfade1 --- /dev/null +++ b/x11-plugins/wmsysmon/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<use> + <flag name='high-ints'>Enable support for monitoring 24 interrupts. Useful + on SMP machines</flag> +</use> +</pkgmetadata> diff --git a/x11-plugins/wmsysmon/wmsysmon-0.7.7.ebuild b/x11-plugins/wmsysmon/wmsysmon-0.7.7.ebuild new file mode 100644 index 000000000000..d7c292e7f852 --- /dev/null +++ b/x11-plugins/wmsysmon/wmsysmon-0.7.7.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="high-ints" +DESCRIPTION="a dockapp to monitor: CPU, Memory, Uptime, IRQs, Paging and Swap activity" +SRC_URI="http://www.gnugeneration.com/software/wmsysmon/src/${P}.tar.gz + mirror://gentoo/${P}-s4t4n.patch.bz2" +HOMEPAGE="http://www.gnugeneration.com/software/wmsysmon/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + >=sys-apps/sed-4.1.5-r1" + +src_unpack() +{ + unpack ${A} + cd "${S}" + + # bug 48851 + epatch "${WORKDIR}"/${P}-s4t4n.patch + + # Monitor all the 24 interrupts on alpha and x86 SMP machines + if use alpha || use high-ints; then + cd src + epatch "${FILESDIR}"/${PN}-high-ints.patch + fi + + # Do no strip binaries during compilation, see bug #252113 + sed -i 's/LDFLAGS += -lXpm -lXext -lX11 -lm -s/LDFLAGS += -lXpm -lXext -lX11 -lm/' "src/Makefile" +} + +src_compile() +{ + GENTOO_CFLAGS="${CFLAGS}" make -C src +} + +src_install () +{ + dobin src/wmsysmon + dodoc ChangeLog README +} diff --git a/x11-plugins/wmsystemtray/Manifest b/x11-plugins/wmsystemtray/Manifest new file mode 100644 index 000000000000..96b959dfcbf5 --- /dev/null +++ b/x11-plugins/wmsystemtray/Manifest @@ -0,0 +1,2 @@ +DIST wmsystemtray-1.3.tar.gz 131764 SHA256 c3c053bc709954c0b52173802ce190fe6df5757a912f094fe7c2b230cb081b91 SHA512 8a89e2bb63ecb7661e2e0756e07bef59eb6fd89e7221e399af45b0a98d7d0dd45224b6b6a356432642cfec239d245e1e05943ff0f15d2dbbf93545a4a1094969 WHIRLPOOL d028aad492c0d5a03957a3054eab0488d1469fc72c7220ad18fabc08010f81ce28319b043da98de56d9c4d50c61237ecc1054796f286cfbb8cb98861b5ec6f24 +DIST wmsystemtray-1.4.tar.gz 131973 SHA256 8edef43691e9fff071000e29166c7c1ad420c0956e9068151061e881c8ac97e9 SHA512 16620f222dc16d709e89d5011f699c9f96b6e4bf6014eec628574b84434b2e828ba12c92b5a598d1b9037dd16cbff2cc45f7ecb6533777c8a64bf435ea0c549c WHIRLPOOL a82a736a2da876d69d89d3b07988f9474feab31e67274fbdab2fbe34193abe129115f379f3a10787a7545f704dacad23450d12e04c998554789b25a7253bfed1 diff --git a/x11-plugins/wmsystemtray/metadata.xml b/x11-plugins/wmsystemtray/metadata.xml new file mode 100644 index 000000000000..7b37b24d3dd8 --- /dev/null +++ b/x11-plugins/wmsystemtray/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription>a system tray using the freedesktop.org system tray protocol designed as a Window Maker dock app. It has the ability to display more than one dock window to make room for more tray icons, and the ability to scroll through the icons if more are present than will fit.</longdescription> + <upstream> + <remote-id type="sourceforge">wmsystemtray</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmsystemtray/wmsystemtray-1.3.ebuild b/x11-plugins/wmsystemtray/wmsystemtray-1.3.ebuild new file mode 100644 index 000000000000..ffb03862c3a3 --- /dev/null +++ b/x11-plugins/wmsystemtray/wmsystemtray-1.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="a system tray dockapp with the ability to display more than just four tray icons" +HOMEPAGE="http://sourceforge.net/projects/wmsystemtray/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXmu + x11-libs/libXpm" +RDEPEND="${DEPEND}" diff --git a/x11-plugins/wmsystemtray/wmsystemtray-1.4.ebuild b/x11-plugins/wmsystemtray/wmsystemtray-1.4.ebuild new file mode 100644 index 000000000000..ffb03862c3a3 --- /dev/null +++ b/x11-plugins/wmsystemtray/wmsystemtray-1.4.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="a system tray dockapp with the ability to display more than just four tray icons" +HOMEPAGE="http://sourceforge.net/projects/wmsystemtray/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXmu + x11-libs/libXpm" +RDEPEND="${DEPEND}" diff --git a/x11-plugins/wmsystray/Manifest b/x11-plugins/wmsystray/Manifest new file mode 100644 index 000000000000..6d84fba97f94 --- /dev/null +++ b/x11-plugins/wmsystray/Manifest @@ -0,0 +1 @@ +DIST wmsystray-0.1.1.tar.bz2 18261 SHA256 d24a9cb25f4394eecb6e9215b88dde0d9debf203fbf1e501fb02e3e0571c37f7 diff --git a/x11-plugins/wmsystray/files/wmsystray-0.1.1-Makefile.patch b/x11-plugins/wmsystray/files/wmsystray-0.1.1-Makefile.patch new file mode 100644 index 000000000000..19afa355b229 --- /dev/null +++ b/x11-plugins/wmsystray/files/wmsystray-0.1.1-Makefile.patch @@ -0,0 +1,44 @@ +diff -ur wmsystray-0.1.1/Makefile wmsystray-0.1.1.new/Makefile +--- wmsystray-0.1.1/Makefile 2004-03-01 05:35:47.000000000 +0100 ++++ wmsystray-0.1.1.new/Makefile 2007-06-30 18:09:59.000000000 +0200 +@@ -1,13 +1,14 @@ + prefix=/usr + bindir = ${prefix}/bin + mandir = ${prefix}/share/man +-INSTALL = /bin/install ++INSTALL = install + INSTALLPROG = ${INSTALL} -m 0755 + INSTALLMAN = ${INSTALL} -m 0644 ++EXTRACFLAGS = + + all: +- make -C xembed xembed.o +- make -C wmsystray ++ make EXTRACFLAGS="${EXTRACFLAGS}" -C xembed xembed.o ++ make EXTRACFLAGS="${EXTRACFLAGS}" -C wmsystray + + clean: + make -C xembed clean +diff -ur wmsystray-0.1.1/wmsystray/Makefile wmsystray-0.1.1.new/wmsystray/Makefile +--- wmsystray-0.1.1/wmsystray/Makefile 2004-03-01 04:54:44.000000000 +0100 ++++ wmsystray-0.1.1.new/wmsystray/Makefile 2007-06-30 18:09:59.000000000 +0200 +@@ -1,7 +1,7 @@ + include ../Rules.make + + CC = gcc +-CFLAGS = ${X11CFLAGS} -DTRACE_LEVEL=${TRACE_LEVEL} -I../xembed -Wall -g ++CFLAGS = ${X11CFLAGS} -DTRACE_LEVEL=${TRACE_LEVEL} -I../xembed -g ${EXTRACFLAGS} + LDFLAGS = ${X11LDFLAGS} -lXpm + + OBJS = main.o ui.o systray.o xpms.o +diff -ur wmsystray-0.1.1/xembed/Makefile wmsystray-0.1.1.new/xembed/Makefile +--- wmsystray-0.1.1/xembed/Makefile 2004-03-01 04:54:44.000000000 +0100 ++++ wmsystray-0.1.1.new/xembed/Makefile 2007-06-30 18:09:59.000000000 +0200 +@@ -1,6 +1,6 @@ + include ../Rules.make + +-CFLAGS = -DTRACE_LEVEL=${TRACE_LEVEL} ${X11CFLAGS} -Wall -g ++CFLAGS = -DTRACE_LEVEL=${TRACE_LEVEL} ${X11CFLAGS} -g ${EXTRACFLAGS} + LDFLAGS = ${X11LDFLAGS} + + all: xembed.o diff --git a/x11-plugins/wmsystray/files/wmsystray-0.1.1-gcc-3.4.patch b/x11-plugins/wmsystray/files/wmsystray-0.1.1-gcc-3.4.patch new file mode 100644 index 000000000000..538a7ce0aa6a --- /dev/null +++ b/x11-plugins/wmsystray/files/wmsystray-0.1.1-gcc-3.4.patch @@ -0,0 +1,10 @@ +--- wmsystray/ui.c.orig 2004-08-25 11:14:51.265675224 +0000 ++++ wmsystray/ui.c 2004-08-25 11:09:56.676459592 +0000 +@@ -28,6 +28,7 @@ + int width, height, pos_x, pos_y; + Pixmap bg_pixmap; + char *bg_data; ++void draw_ui_elements(); + + int wmaker = 1; + int loop_program = 1; diff --git a/x11-plugins/wmsystray/files/wmsystray.desktop b/x11-plugins/wmsystray/files/wmsystray.desktop new file mode 100644 index 000000000000..e3701e0603e8 --- /dev/null +++ b/x11-plugins/wmsystray/files/wmsystray.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmSysTray +Comment=SysTray dockapp for WindowMaker +Comment[pl]=Dokowalny SysTray dla WindowMakera +Exec=wmsystray +Type=Application +Terminal=false +Categories=Utility; diff --git a/x11-plugins/wmsystray/metadata.xml b/x11-plugins/wmsystray/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmsystray/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/wmsystray/wmsystray-0.1.1.ebuild b/x11-plugins/wmsystray/wmsystray-0.1.1.ebuild new file mode 100644 index 000000000000..ff41274fd2f5 --- /dev/null +++ b/x11-plugins/wmsystray/wmsystray-0.1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Window Maker dock app that provides a system tray for GNOME/KDE applications" +SRC_URI="http://kai.vm.bytemark.co.uk/~arashi/wmsystray/release/${P}.tar.bz2" +HOMEPAGE="http://kai.vm.bytemark.co.uk/~arashi/wmsystray/" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm" +DEPEND="${RDEPEND}" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Let's honour Gentoo CFLAGS and use correct install program + epatch "${FILESDIR}/${P}-Makefile.patch" + + # Fix for #61704, cannot compile with gcc 3.4.1: + # it's a trivial change and does not affect other compilers... + epatch "${FILESDIR}/${P}-gcc-3.4.patch" + + # Fix parallel compilation + sed -ie "s/make EXTRACFLAGS/make \${MAKEOPTS} EXTRACFLAGS/" Makefile + + # Honour Gentoo LDFLAGS, see bug #336296 + sed -ie "s/-o wmsystray/${LDFLAGS} -o wmsystray/" wmsystray/Makefile +} + +src_compile() { + emake EXTRACFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + einstall || die "einstall failed" + dodoc AUTHORS HACKING README || die + + domenu "${FILESDIR}/${PN}.desktop" +} diff --git a/x11-plugins/wmtime/Manifest b/x11-plugins/wmtime/Manifest new file mode 100644 index 000000000000..806b4144b07f --- /dev/null +++ b/x11-plugins/wmtime/Manifest @@ -0,0 +1,5 @@ +DIST wmtime-1.1.tar.gz 23263 SHA256 4fc70c8b0d14212055891181bd6af86552efb45be8fb2e2ae135bb9861fc103e SHA512 e32e20be4c1dcab9bf0f16eb8d1703e90360430ea176e9e04e0f8735240c54d4dc4d0bbf29a2902cfb12df5995280eb924d621ada2d1e836efdf755065de5636 WHIRLPOOL 1469175b4d7f10d4afcdce07798a4644125bc00e912b63a2e98ffd26ed0e190256f89af2c9159d40db8ea99150a3324586f27ec8b983df18a71613ef5946469d +DIST wmtime-1.2.tar.gz 23219 SHA256 ff39675d2c51e1d0774bdc181f27966fcf8f063bb0a4c8cfda9c83d9978a0b1a SHA512 d81be07012a9efd93a51219d6b63a76d88c8916af0b3ed990c3005621f643c70fadc31ebc8fef11c1605f303bc3e036c2014809c5368f4acaff8b7a1c1665c15 WHIRLPOOL 18067140573474c6b5ad3d01c00b353b55e6caee05cf474e0daf9483b9cab58df4d6dfcecbca53cc6015417f122f8ae920277359de682c7b9943ed09e8368b55 +DIST wmtime_1.0b2-10.diff.gz 8631 SHA256 91c5220d4487765771168e890be11741fe8428878c905512a51555af7c3a970f +DIST wmtime_1.0b2-9.diff.gz 8234 SHA256 189512286950bd5f8ab41d41c3ccbeee8811be95519ef9b03b12aeadded8312d +DIST wmtime_1.0b2.orig.tar.gz 20483 SHA256 a526b95a16b8451ee9a05b57d97251e3d9efd5e7b7143d3592767b87a3941375 diff --git a/x11-plugins/wmtime/metadata.xml b/x11-plugins/wmtime/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmtime/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/wmtime/wmtime-1.0_beta2_p10.ebuild b/x11-plugins/wmtime/wmtime-1.0_beta2_p10.ebuild new file mode 100644 index 000000000000..c0aa5ce49055 --- /dev/null +++ b/x11-plugins/wmtime/wmtime-1.0_beta2_p10.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils toolchain-funcs versionator + +MY_PV="$(get_version_component_range 1-2)" +MY_PL="$(get_version_component_range 3)" +MY_PL="${MY_PL/beta/b}" +MY_PV="${MY_PV}${MY_PL}" +MY_PL="$(get_version_component_range 4)" +MY_PL="${MY_PL/p/}" + +IUSE="" + +DESCRIPTION="applet which displays the date and time in a dockable tile" +SRC_URI="mirror://debian/pool/main/w/wmtime/wmtime_${MY_PV}.orig.tar.gz + mirror://debian/pool/main/w/wmtime/wmtime_${MY_PV}-${MY_PL}.diff.gz" +HOMEPAGE="http://packages.qa.debian.org/w/wmtime.html" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + >=sys-apps/sed-4" + +S=${WORKDIR}/${PN}-${MY_PV}.orig/${PN} + +src_prepare() { + cd "${WORKDIR}" + + # apply debian patch + epatch ${PN}_${MY_PV}-${MY_PL}.diff + + # honour Gentoo LDFLAGS, bug #335799 + sed -i "s/-o wmtime/\$(LDFLAGS) -o wmtime/" "${S}/Makefile" +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install () { + dobin wmtime + doman wmtime.1 + + cd .. + dodoc BUGS CHANGES HINTS README TODO + + # install sample config file, too + dodoc debian/wmtimerc +} diff --git a/x11-plugins/wmtime/wmtime-1.0_beta2_p9.ebuild b/x11-plugins/wmtime/wmtime-1.0_beta2_p9.ebuild new file mode 100644 index 000000000000..5258825dab53 --- /dev/null +++ b/x11-plugins/wmtime/wmtime-1.0_beta2_p9.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils versionator + +MY_PV="$(get_version_component_range 1-2)" +MY_PL="$(get_version_component_range 3)" +MY_PL="${MY_PL/beta/b}" +MY_PV="${MY_PV}${MY_PL}" +MY_PL="$(get_version_component_range 4)" +MY_PL="${MY_PL/p/}" + +IUSE="" + +DESCRIPTION="applet which displays the date and time in a dockable tile" +SRC_URI="http://ftp.debian.org/debian/pool/main/w/wmtime/wmtime_${MY_PV}.orig.tar.gz + http://ftp.debian.org/debian/pool/main/w/wmtime/wmtime_${MY_PV}-${MY_PL}.diff.gz" +HOMEPAGE="http://packages.qa.debian.org/w/wmtime.html" + +SLOT="0" +KEYWORDS="~amd64 x86" +LICENSE="GPL-2" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + >=sys-apps/sed-4" + +S="${WORKDIR}/${PN}-${MY_PV}.orig/${PN}" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" + + # apply debian patch + epatch "${PN}_${MY_PV}-${MY_PL}.diff" + + # honour Gentoo LDFLAGS, bug #335799 + sed -i "s/-o wmtime/\$(LDFLAGS) -o wmtime/" "${S}/Makefile" +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install () { + dobin wmtime + doman wmtime.1 + + cd .. + dodoc BUGS CHANGES HINTS README TODO + + # install sample config file, too + dodoc debian/wmtimerc +} diff --git a/x11-plugins/wmtime/wmtime-1.1.ebuild b/x11-plugins/wmtime/wmtime-1.1.ebuild new file mode 100644 index 000000000000..46e9eb3ce8d1 --- /dev/null +++ b/x11-plugins/wmtime/wmtime-1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="applet which displays the date and time in a dockable tile" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmtime" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +S=${WORKDIR}/dockapps/${PN} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install () { + dobin wmtime + doman wmtime.1 + + cd .. + dodoc BUGS CHANGES HINTS README TODO +} diff --git a/x11-plugins/wmtime/wmtime-1.2.ebuild b/x11-plugins/wmtime/wmtime-1.2.ebuild new file mode 100644 index 000000000000..158e6848c45c --- /dev/null +++ b/x11-plugins/wmtime/wmtime-1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="applet which displays the date and time in a dockable tile" +HOMEPAGE="http://windowmaker.org/dockapps/?name=wmtime" +# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz +SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install () { + emake DESTDIR="${D}" PREFIX=/usr install + + dodoc BUGS CHANGES HINTS README TODO +} diff --git a/x11-plugins/wmtimer/Manifest b/x11-plugins/wmtimer/Manifest new file mode 100644 index 000000000000..2f4408faa41e --- /dev/null +++ b/x11-plugins/wmtimer/Manifest @@ -0,0 +1 @@ +DIST wmtimer-2.92.tar.gz 22091 SHA256 3726c0e0a0a95ce7c4c9dd8088b3f050d5268f70fef9341452f5449cef8c0cd4 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..f35d31cbb343 --- /dev/null +++ b/x11-plugins/wmtimer/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> +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..f7b9d75bab0a --- /dev/null +++ b/x11-plugins/wmtimer/wmtimer-2.92-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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.ebuild b/x11-plugins/wmtimer/wmtimer-2.92.ebuild new file mode 100644 index 000000000000..5a98932b7587 --- /dev/null +++ b/x11-plugins/wmtimer/wmtimer-2.92.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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} +} diff --git a/x11-plugins/wmtop/Manifest b/x11-plugins/wmtop/Manifest new file mode 100644 index 000000000000..c704f20c087a --- /dev/null +++ b/x11-plugins/wmtop/Manifest @@ -0,0 +1 @@ +DIST wmtop-0.9.0.tar.gz 25833 SHA256 b141e608b32c1d58c03c31c18b420d25a490bfe49a63a56cef5b8f86935752de diff --git a/x11-plugins/wmtop/files/wmtop-0.9.0-meminfo.patch b/x11-plugins/wmtop/files/wmtop-0.9.0-meminfo.patch new file mode 100644 index 000000000000..541ab6a1d697 --- /dev/null +++ b/x11-plugins/wmtop/files/wmtop-0.9.0-meminfo.patch @@ -0,0 +1,189 @@ +--- wmtop.c.orig 2001-01-19 15:41:20.000000000 -0600 ++++ wmtop.c 2012-03-29 22:36:49.906684353 -0500 +@@ -182,12 +182,12 @@ + pid_t pid; + char *name; + float amount; +- int user_time; +- int kernel_time; +- int previous_user_time; +- int previous_kernel_time; +- int vsize; +- int rss; ++ unsigned long user_time; ++ unsigned long kernel_time; ++ unsigned long previous_user_time; ++ unsigned long previous_kernel_time; ++ unsigned long vsize; ++ long rss; + int time_stamp; + int counted; + }; +@@ -236,8 +236,8 @@ + + process->pid = p; + process->time_stamp = 0; +- process->previous_user_time = INT_MAX; +- process->previous_kernel_time = INT_MAX; ++ process->previous_user_time = ULONG_MAX; ++ process->previous_kernel_time = ULONG_MAX; + process->counted = 1; + + /* process_find_name(process);*/ +@@ -256,11 +256,11 @@ + void process_cleanup(void); + void delete_process(struct process *); + inline void draw_processes(void); +-int calc_cpu_total(void); +-void calc_cpu_each(int); ++unsigned long calc_cpu_total(void); ++void calc_cpu_each(unsigned long total); + #if defined(LINUX) +-int calc_mem_total(void); +-void calc_mem_each(int); ++unsigned long calc_mem_total(void); ++void calc_mem_each(unsigned long total); + #endif + int process_find_top_three(struct process **); + void draw_bar(int, int, int, int, float, int, int); +@@ -457,13 +457,15 @@ + char line[WMTOP_BUFLENGTH],filename[WMTOP_BUFLENGTH],procname[WMTOP_BUFLENGTH]; + int ps; + struct stat sbuf; +- int user_time,kernel_time; ++ unsigned long user_time,kernel_time; + int rc; + #if defined(LINUX) + char *r,*q; + char deparenthesised_name[WMTOP_BUFLENGTH]; + #endif /* defined(LINUX) */ + #if defined(FREEBSD) ++ /* TODO: needs analysis. Probably needs same data type fix as LINUX (use ++ * long types). Need to check FreeBSD docs and test. -wbk */ + int us,um,ks,km; + #endif /* defined(FREEBSD) */ + +@@ -501,9 +503,10 @@ + + #if defined(LINUX) + /* +- * Extract cpu times from data in /proc filesystem ++ * Extract cpu times from data in /proc filesystem. ++ * For conversion types see man proc(5). + */ +- rc = sscanf(line,"%*s %s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %d %d %*s %*s %*s %*s %*s %*s %*s %d %d", ++ rc = sscanf(line,"%*s %s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %lu %lu %*s %*s %*s %*s %*s %*s %*s %lu %ld", + procname, + &process->user_time,&process->kernel_time, + &process->vsize,&process->rss); +@@ -527,6 +530,9 @@ + /* + * Extract cpu times from data in /proc/<pid>/stat + * XXX: Process name extractor for FreeBSD is untested right now. ++ * ++ * [TODO: FREEBSD code probably needs similar data type changes to ++ * those made for LINUX above. Need to check docs. -wbk] + */ + rc = sscanf(line,"%s %*s %*s %*s %*s %*s %*s %*s %d,%d %d,%d", + procname, +@@ -540,11 +546,14 @@ + process->kernel_time = ks*1000+km/1000; + #endif /* defined(FREEBSD) */ + ++ /* not portable (especially unsuitable for redistributable executables. ++ * On some systems, getpagesize() is a preprocessor macro). ++ */ + process->rss *= getpagesize(); + +- if (process->previous_user_time==INT_MAX) ++ if (process->previous_user_time==ULONG_MAX) + process->previous_user_time = process->user_time; +- if (process->previous_kernel_time==INT_MAX) ++ if (process->previous_kernel_time==ULONG_MAX) + process->previous_kernel_time = process->kernel_time; + + user_time = process->user_time-process->previous_user_time; +@@ -686,7 +695,7 @@ + void draw_processes() { + int i,n; + struct process *best[3] = { 0, 0, 0 }; +- int total; ++ unsigned long total; + + /* + * Invalidate time stamps +@@ -743,21 +752,21 @@ + /* Calculate cpu total */ + /******************************************/ + +-int calc_cpu_total() { +- int total,t; +- static int previous_total = INT_MAX; ++unsigned long calc_cpu_total() { ++ unsigned long total,t; ++ static unsigned long previous_total = ULONG_MAX; + #if defined(LINUX) + int rc; + int ps; + char line[WMTOP_BUFLENGTH]; +- int cpu,nice,system,idle; ++ unsigned long cpu,nice,system,idle; + + ps = open("/proc/stat",O_RDONLY); + rc = read(ps,line,sizeof(line)); + close(ps); + if (rc<0) + return 0; +- sscanf(line,"%*s %d %d %d %d",&cpu,&nice,&system,&idle); ++ sscanf(line,"%*s %lu %lu %lu %lu",&cpu,&nice,&system,&idle); + total = cpu+nice+system+idle; + #endif /* defined(LINUX) */ + +@@ -780,7 +789,7 @@ + /* Calculate each processes cpu */ + /******************************************/ + +-void calc_cpu_each(int total) { ++void calc_cpu_each(unsigned long total) { + struct process *p = first_process; + while (p) { + +@@ -798,7 +807,8 @@ + /******************************************/ + + #if defined(LINUX) +-int calc_mem_total() { ++/* INT_MAX won't always hold total system RAM, especially on a 64 bit system. */ ++unsigned long calc_mem_total() { + int ps; + char line[512]; + char *ptr; +@@ -810,11 +820,12 @@ + if (rc<0) + return 0; + +- if ((ptr = strstr(line, "Mem:")) == NULL) { ++ if ((ptr = strstr(line, "MemTotal:")) == NULL) { + return 0; + } else { +- ptr += 4; +- return atoi(ptr); ++ ptr += 9; /* move into whitespace */ ++ /* wbk - old Mem: Total was bytes. MemTotal: is KB */ ++ return (unsigned long)atoi(ptr) * 1024; + } + + } +@@ -825,10 +836,10 @@ + /******************************************/ + + #if defined(LINUX) +-void calc_mem_each(int total) { ++void calc_mem_each(unsigned long total) { + struct process *p = first_process; + while (p) { +- p->amount = 100*(float)p->rss/total; ++ p->amount = 100*(double)p->rss/total; + p = p->next; + } + } diff --git a/x11-plugins/wmtop/metadata.xml b/x11-plugins/wmtop/metadata.xml new file mode 100644 index 000000000000..33ae69be06dd --- /dev/null +++ b/x11-plugins/wmtop/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmtop is a WindowMaker dock app that displays the top 3 CPU-consuming processes +in graphical form - like 'top' but pretty and using less real estate on the +screen. It functions with just about any Linux distribution with a /proc +filesystem and FreeBSD. Under Linux, there is a switch to allow display of +physical memory usage rather than CPU usage. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmtop/wmtop-0.9.0-r1.ebuild b/x11-plugins/wmtop/wmtop-0.9.0-r1.ebuild new file mode 100644 index 000000000000..14757a5de3e3 --- /dev/null +++ b/x11-plugins/wmtop/wmtop-0.9.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="dockapp for monitoring the top three processes using cpu or memory" +HOMEPAGE="http://www.swanson.ukfsn.org/#wmtop" +SRC_URI="http://www.swanson.ukfsn.org/wmdock/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_prepare() { + sed -ie "s/\$(FLAGS) -o wmtop/\$(DEBUG) \$(LDFLAGS) -D\$(OS) -o wmtop/" Makefile || die "sed failed" + epatch "${FILESDIR}"/${P}-meminfo.patch +} + +src_compile() { + emake CC="$(tc-getCC)" OPTS="${CFLAGS}" \ + LIBDIR="-L/usr/$(get_libdir)" \ + INCS="-I/usr/include/X11" linux +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc BUGS CHANGES README TODO +} diff --git a/x11-plugins/wmtz/Manifest b/x11-plugins/wmtz/Manifest new file mode 100644 index 000000000000..b7cab9de8fe0 --- /dev/null +++ b/x11-plugins/wmtz/Manifest @@ -0,0 +1 @@ +DIST wmtz-0.7.tar.gz 26350 SHA256 cb09e64a9823b3da71e542d7cc66e6cbd0135809bee1e565d18acdcf0565823a diff --git a/x11-plugins/wmtz/files/wmtz-0.7.patch b/x11-plugins/wmtz/files/wmtz-0.7.patch new file mode 100644 index 000000000000..adb5c68f1b6c --- /dev/null +++ b/x11-plugins/wmtz/files/wmtz-0.7.patch @@ -0,0 +1,48 @@ +diff -ur wmtz-0.7.orig/wmtz/Makefile wmtz-0.7/wmtz/Makefile +--- wmtz-0.7.orig/wmtz/Makefile 2001-03-11 15:57:59.000000000 +0200 ++++ wmtz-0.7/wmtz/Makefile 2008-01-12 15:24:29.000000000 +0200 +@@ -1,5 +1,5 @@ + CC = gcc +-LIBDIR = -L/usr/X11R6/lib ++LIBDIR = -L/usr/lib + LIBS = -lXpm -lXext -lX11 -lm + FLAGS = -O2 + DESTDIR = /usr/local +@@ -10,7 +10,7 @@ + + + .c.o: +- $(CC) -I/usr/X11R6/include $(FLAGS) -c -Wall $< -o $*.o ++ $(CC) -I/usr/include $(FLAGS) -c -Wall $< -o $*.o + + wmtz: $(OBJS) + $(CC) $(FLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS) +diff -ur wmtz-0.7.orig/wmtz/wmtz.c wmtz-0.7/wmtz/wmtz.c +--- wmtz-0.7.orig/wmtz/wmtz.c 2001-04-16 22:26:34.000000000 +0300 ++++ wmtz-0.7/wmtz/wmtz.c 2008-01-12 15:17:37.000000000 +0200 +@@ -51,8 +51,7 @@ + #define STRSIZE 10 + #define LMST 1 + #define GMST 0 +-#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7 +-http://www.geocities.com/jl1n/wmtz/wmtz.html\"" ++#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7\nhttp://www.geocities.com/jl1n/wmtz/wmtz.html\"" + + + /* +@@ -479,6 +478,7 @@ + but_stat = -1; + break; + default: ++ break; + } + } + +@@ -529,6 +529,7 @@ + exit(0); + break; + default: ++ break; + } + return; + } diff --git a/x11-plugins/wmtz/metadata.xml b/x11-plugins/wmtz/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmtz/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/wmtz/wmtz-0.7.ebuild b/x11-plugins/wmtz/wmtz-0.7.ebuild new file mode 100644 index 000000000000..9254c1011d0a --- /dev/null +++ b/x11-plugins/wmtz/wmtz-0.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="dockapp that shows the time in multiple timezones" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}.patch + + #Honour Gentoo LDFLAGS, see bug #337890. + sed -e "s/\$(FLAGS) -o wmtz/\$(LDFLAGS) -o wmtz/" -i Makefile +} + +src_compile() { + emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \ + LIBDIR="-L/usr/$(get_libdir)" || die "emake failed." +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + insinto /etc + doins wmtzrc + dodoc ../{BUGS,CHANGES,README} +} diff --git a/x11-plugins/wmudmount/Manifest b/x11-plugins/wmudmount/Manifest new file mode 100644 index 000000000000..a85af2c8955c --- /dev/null +++ b/x11-plugins/wmudmount/Manifest @@ -0,0 +1,5 @@ +DIST wmudmount-1.11.tar.gz 173910 SHA256 68755b8fcebcea4a959d701000fd01a57c0e612cd059333fd0d02e770b71bf53 +DIST wmudmount-1.13.tar.gz 179979 SHA256 c645b627f1faa3982e0310f891b9eb88130b3957253260aca9f1a1813f3c7ad2 SHA512 fb94a851b0c8a1364f3f875b8cf8b42db36eae2ccdb28462a18bbc908056d9e92762df3cd9a9ae14a4ea878d54042893536b25792b26cbf3a11b7ec47d8e3ed5 WHIRLPOOL 0a4ac9c6d75d33ea5612f8676f7bcc98c366bbf128a25365b02189afbf54ec7ecfb19ed2e5ab9e9983a7117b7325079e660189b9715196f69e438950f6f3ba47 +DIST wmudmount-2.0.tar.gz 180965 SHA256 8727f588cfe9f7c168160158ade42e7d5d566546be72c833c4ebed6e7185ac8a SHA512 ff950169e4deb1a6987236d818b64562327489265e05905fc431ec3a22a2b77cf9280f0b7567d0384f1fb70b4b7a0db7e98586b5b67419421074d101ead931a3 WHIRLPOOL b55644babd9fe6ab84f189b9518e3c9ea8fa2fe29c14c6c078b80f94662199786d8bd64d22f602e5eb8d1130c532c5faf18ad016360059fe0688005c5687c042 +DIST wmudmount-2.1.tar.gz 181245 SHA256 47bdce2d80e6ae7d2fddadd728d0ab982c9fb58045780fc31211ff2a83d610c5 SHA512 df0580eb4257852a9787008151c008461557d363d077053b16913cf79407bb4aa7b632001302e461a37215bcb17eee7eebea170ba8515da531339adf497c6f6e WHIRLPOOL 034006a8a3609bf28353b7b9dc38a3db645edc536f8c040b148b74b597b1de7915c57ecc0270d821a31ba6a1bc184184b0a7d8e94f10029f93e586217433a901 +DIST wmudmount-2.2.tar.gz 181700 SHA256 6402d215e5ad7619f588651bcc30041ff3fae13ec2e844088443c855aa3fb805 SHA512 6bc08b60430bbe66710ce183f0e7693a7818cee68cefac3a3bc191104663dd3649f8cdb62c7f214bdf4ed377b01fef250fe388f14645690aab7993c6071ceffe WHIRLPOOL 83600c9767e4ca1da3fda5503af8583dcb8bf5fe8931db181de8dd6b0e4458526441e08c688dae6e9baf255798ab0a4e380ea23b2b383743edbf4a7247f506c3 diff --git a/x11-plugins/wmudmount/files/wmudmount-headers.patch b/x11-plugins/wmudmount/files/wmudmount-headers.patch new file mode 100644 index 000000000000..85b6646def97 --- /dev/null +++ b/x11-plugins/wmudmount/files/wmudmount-headers.patch @@ -0,0 +1,24 @@ +http://sourceforge.net/tracker/?func=detail&aid=3540867&group_id=309786&atid=1304474 + +warning: implicit declaration of function ‘free’ and 'realloc' [-Wimplicit-function-declaration] + +--- askpass.c ++++ askpass.c +@@ -23,6 +23,7 @@ + #include <sys/resources.h> + #endif + ++#include <stdlib.h> /* free */ + #include <glib.h> + + #ifdef HAVE_GNOME_KEYRING +--- secureentry.c ++++ secureentry.c +@@ -18,6 +18,7 @@ + #include "config.h" + + #include <unistd.h> ++#include <stdlib.h> /* free and realloc */ + #include <string.h> + #ifdef HAVE_GNOME_KEYRING + #include <gnome-keyring-memory.h> diff --git a/x11-plugins/wmudmount/metadata.xml b/x11-plugins/wmudmount/metadata.xml new file mode 100644 index 000000000000..1a8b3fd1a344 --- /dev/null +++ b/x11-plugins/wmudmount/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmudmount</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmudmount/wmudmount-1.11.ebuild b/x11-plugins/wmudmount/wmudmount-1.11.ebuild new file mode 100644 index 000000000000..3dc2f617aed1 --- /dev/null +++ b/x11-plugins/wmudmount/wmudmount-1.11.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit gnome2-utils + +DESCRIPTION="A filesystem mounter that uses udisks to handle notification and mounting" +HOMEPAGE="http://sourceforge.net/projects/wmudmount/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="gnome-keyring libnotify" + +RDEPEND=">=x11-libs/gtk+-2.18:2 + dev-libs/dbus-glib + sys-fs/udisks:0 + gnome-keyring? ( gnome-base/libgnome-keyring ) + libnotify? ( >=x11-libs/libnotify-0.7 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" + +src_configure() { + econf \ + $(use_with libnotify) \ + $(use_with gnome-keyring) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ChangeLog +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/x11-plugins/wmudmount/wmudmount-1.13.ebuild b/x11-plugins/wmudmount/wmudmount-1.13.ebuild new file mode 100644 index 000000000000..50915cf76e7b --- /dev/null +++ b/x11-plugins/wmudmount/wmudmount-1.13.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils gnome2-utils + +DESCRIPTION="A filesystem mounter that uses udisks to handle notification and mounting" +HOMEPAGE="http://sourceforge.net/projects/wmudmount/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome-keyring libnotify" + +COMMON_DEPEND=">=dev-libs/dbus-glib-0.98 + >=dev-libs/glib-2.20 + >=x11-libs/gtk+-2.18:2 + x11-libs/libX11 + gnome-keyring? ( gnome-base/libgnome-keyring ) + libnotify? ( >=x11-libs/libnotify-0.7 )" +RDEPEND="${COMMON_DEPEND} + sys-fs/udisks:0" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" + +DOCS="ChangeLog" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-headers.patch +} + +src_configure() { + econf \ + $(use_with libnotify) \ + $(use_with gnome-keyring) +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } diff --git a/x11-plugins/wmudmount/wmudmount-2.0.ebuild b/x11-plugins/wmudmount/wmudmount-2.0.ebuild new file mode 100644 index 000000000000..add0510bd7db --- /dev/null +++ b/x11-plugins/wmudmount/wmudmount-2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils gnome2-utils + +DESCRIPTION="A filesystem mounter that uses udisks to handle notification and mounting" +HOMEPAGE="http://sourceforge.net/projects/wmudmount/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome-keyring libnotify" + +RDEPEND="sys-fs/udisks:2 + >=x11-libs/gtk+-3.8.0:3 + gnome-keyring? ( gnome-base/libgnome-keyring ) + libnotify? ( >=x11-libs/libnotify-0.7 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" + +DOCS="ChangeLog" + +src_configure() { + econf \ + $(use_with libnotify) \ + $(use_with gnome-keyring) +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } diff --git a/x11-plugins/wmudmount/wmudmount-2.1.ebuild b/x11-plugins/wmudmount/wmudmount-2.1.ebuild new file mode 100644 index 000000000000..add0510bd7db --- /dev/null +++ b/x11-plugins/wmudmount/wmudmount-2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils gnome2-utils + +DESCRIPTION="A filesystem mounter that uses udisks to handle notification and mounting" +HOMEPAGE="http://sourceforge.net/projects/wmudmount/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome-keyring libnotify" + +RDEPEND="sys-fs/udisks:2 + >=x11-libs/gtk+-3.8.0:3 + gnome-keyring? ( gnome-base/libgnome-keyring ) + libnotify? ( >=x11-libs/libnotify-0.7 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" + +DOCS="ChangeLog" + +src_configure() { + econf \ + $(use_with libnotify) \ + $(use_with gnome-keyring) +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } diff --git a/x11-plugins/wmudmount/wmudmount-2.2.ebuild b/x11-plugins/wmudmount/wmudmount-2.2.ebuild new file mode 100644 index 000000000000..8e21bbc6afc3 --- /dev/null +++ b/x11-plugins/wmudmount/wmudmount-2.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils gnome2-utils + +DESCRIPTION="A filesystem mounter that uses udisks to handle notification and mounting" +HOMEPAGE="http://sourceforge.net/projects/wmudmount/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="gnome-keyring libnotify" + +RDEPEND="sys-fs/udisks:2 + >=x11-libs/gtk+-3.8.0:3 + gnome-keyring? ( gnome-base/libgnome-keyring ) + libnotify? ( >=x11-libs/libnotify-0.7 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" + +DOCS="ChangeLog" + +src_configure() { + econf \ + $(use_with libnotify) \ + $(use_with gnome-keyring) +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } diff --git a/x11-plugins/wmupmon/Manifest b/x11-plugins/wmupmon/Manifest new file mode 100644 index 000000000000..dd53dca3e56f --- /dev/null +++ b/x11-plugins/wmupmon/Manifest @@ -0,0 +1 @@ +DIST wmupmon-0.1.3.tar.bz2 90108 SHA256 7583f163fa472ec72a4f952c2ece8648a3ca709e4594b2b1591987671b0f38bc SHA512 7b87858db3eb754784eb67c379fc655bdb44efc87bd80e3588c156a8b156867ab956ecff13b954f6b2d4f75621bc5cc4a30c9e34ca95eb9807d0cf87bc76d1d7 WHIRLPOOL e5b446ffd2f7c986278805677f35fb5bc8b1a890e1c0978cedaa361e36d1c30b07d1e6ab203cd962cab83bbec9d570aaf3023b610243a2c179a540bc44740a3a diff --git a/x11-plugins/wmupmon/files/wmupmon-0.1.3-arraysize.patch b/x11-plugins/wmupmon/files/wmupmon-0.1.3-arraysize.patch new file mode 100644 index 000000000000..4a974d169aba --- /dev/null +++ b/x11-plugins/wmupmon/files/wmupmon-0.1.3-arraysize.patch @@ -0,0 +1,32 @@ +--- src/main.c.orig 2006-10-12 13:09:14.000000000 +0200 ++++ src/main.c 2006-10-12 13:12:27.000000000 +0200 +@@ -66,10 +66,10 @@ + int main(int argc, char **argv) + { + int i, a, aa, b, bb; +- char* real_off_xpm[(style == 2 ? sizeof(backlight2_off_xpm) : +- sizeof(backlight_off_xpm))]; +- char* real_on_xpm[(style == 2 ? sizeof(backlight2_on_xpm) : +- sizeof(backlight_on_xpm))]; ++ char* real_off_xpm[(style == 2 ? sizeof(backlight2_off_xpm)/sizeof(char*) : ++ sizeof(backlight_off_xpm)/sizeof(char*))]; ++ char* real_on_xpm[(style == 2 ? sizeof(backlight2_on_xpm)/sizeof(char*) : ++ sizeof(backlight_on_xpm)/sizeof(char*))]; + XEvent event; + XpmColorSymbol colors[2] = { {"Back0", NULL, 0}, {"Back1", NULL, 0} }; + int ncolor = 0; +@@ -79,10 +79,10 @@ + + /* setup pixmap to use - this is ugly but it works */ + +- a = sizeof(backlight2_off_xpm); +- aa = sizeof(backlight2_on_xpm); +- b = sizeof(backlight_off_xpm); +- bb = sizeof(backlight_on_xpm); ++ a = sizeof(backlight2_off_xpm)/sizeof(char*); ++ aa = sizeof(backlight2_on_xpm)/sizeof(char*); ++ b = sizeof(backlight_off_xpm)/sizeof(char*); ++ bb = sizeof(backlight_on_xpm)/sizeof(char*); + if(style == 2){ + for(i=0; i<a; i++) + real_off_xpm[i] = backlight2_off_xpm[i]; diff --git a/x11-plugins/wmupmon/metadata.xml b/x11-plugins/wmupmon/metadata.xml new file mode 100644 index 000000000000..e81ee43ab735 --- /dev/null +++ b/x11-plugins/wmupmon/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmUpMon is a dockapp for WindowMaker and +compatible WMs that displays your system uptime. +It is based on wmMemLoad. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmupmon/wmupmon-0.1.3-r1.ebuild b/x11-plugins/wmupmon/wmupmon-0.1.3-r1.ebuild new file mode 100644 index 000000000000..565d83efdb12 --- /dev/null +++ b/x11-plugins/wmupmon/wmupmon-0.1.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="wmUpMon is a program to monitor your Uptime" +HOMEPAGE="http://j-z-s.com/projects/index.php?project=wmupmon" +SRC_URI="http://j-z-s.com/projects/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-arraysize.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "einstall failed." + dodoc AUTHORS README THANKS ChangeLog +} diff --git a/x11-plugins/wmwave/Manifest b/x11-plugins/wmwave/Manifest new file mode 100644 index 000000000000..29d7eea4dc2d --- /dev/null +++ b/x11-plugins/wmwave/Manifest @@ -0,0 +1 @@ +DIST wmwave-0-4.tgz 17157 SHA256 9b4d83cf0ef8880b1ca1a14a8ffe8753b305a9fae2634561526d0d64b5019032 diff --git a/x11-plugins/wmwave/metadata.xml b/x11-plugins/wmwave/metadata.xml new file mode 100644 index 000000000000..7c9c8fdc671e --- /dev/null +++ b/x11-plugins/wmwave/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmwave</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmwave/wmwave-0.4.ebuild b/x11-plugins/wmwave/wmwave-0.4.ebuild new file mode 100644 index 000000000000..a67d394139e3 --- /dev/null +++ b/x11-plugins/wmwave/wmwave-0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +IUSE="" +S=${WORKDIR}/wmwave +KEYWORDS="ppc x86" +DESCRIPTION="a dockapp that displays quality, link, level and noise of an iee802.11 (wavelan) connection" +SRC_URI="mirror://sourceforge/wmwave/${PN}-0-4.tgz" +HOMEPAGE="http://wmwave.sourceforge.net/" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_prepare() { + #Honour Gentoo LDFLAGS. Closes bug #337845. + sed -e "s/\$(FLAGS) -o wmwave/\$(LDFLAGS) -o wmwave/" -i Makefile +} + +src_compile() { + emake FLAGS="${CFLAGS}" || die "Compilation failed" +} + +src_install () { + dobin wmwave + doman wmwave.1 + dodoc README +} diff --git a/x11-plugins/wmweather+/Manifest b/x11-plugins/wmweather+/Manifest new file mode 100644 index 000000000000..dbcf8abfe899 --- /dev/null +++ b/x11-plugins/wmweather+/Manifest @@ -0,0 +1,2 @@ +DIST wmweather+-2.13.tar.gz 195094 SHA256 d15d8f491022e2f092d91a3a463b3200a4ac620ac93b0ecff796751d28e997d2 +DIST wmweather+-2.15.tar.gz 209258 SHA256 3e7931527a1b5e8def17abc2987ec43508a2cc3394c2f340b6e0062e5bfadbd1 SHA512 9096a337d50586e9d5fdb28a0cd6e882fd58cace1e148cb0e2c14239f2f5121a5cdad5ed63a1c8cd2c3f1907c4aee772cea3f55656437a7ee319226efbf6f82a WHIRLPOOL ae3c66b9dcec2c6fa6f142176612f8fb44cf3941e7c5351451da18b5c0b9852e8a6e680672a4f539948b85a78adbe638e8106c2490e373bb4b1b93f85015e663 diff --git a/x11-plugins/wmweather+/metadata.xml b/x11-plugins/wmweather+/metadata.xml new file mode 100644 index 000000000000..d21208debfd4 --- /dev/null +++ b/x11-plugins/wmweather+/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <upstream> + <remote-id type="sourceforge">wmweatherplus</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/wmweather+/wmweather+-2.13.ebuild b/x11-plugins/wmweather+/wmweather+-2.13.ebuild new file mode 100644 index 000000000000..0b55a30cf3bb --- /dev/null +++ b/x11-plugins/wmweather+/wmweather+-2.13.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit flag-o-matic + +DESCRIPTION="A dockapp for displaying data collected from METAR, AVN, ETA, and MRF forecasts" +HOMEPAGE="http://www.sourceforge.net/projects/wmweatherplus/" +SRC_URI="mirror://sourceforge/wmweatherplus/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ~mips ppc ~ppc64 ~sparc x86" +IUSE="" + +DEPEND="dev-libs/libpcre + >=net-misc/curl-7.17.1 + x11-libs/libXpm + x11-libs/libXext + x11-libs/libX11 + x11-wm/windowmaker" +RDEPEND="${DEPEND}" + +src_configure() { + append-flags "-fno-optimize-sibling-calls" + econf +} + +src_install() { + dobin wmweather+ + dodoc ChangeLog HINTS README example.conf + doman wmweather+.1 +} diff --git a/x11-plugins/wmweather+/wmweather+-2.15.ebuild b/x11-plugins/wmweather+/wmweather+-2.15.ebuild new file mode 100644 index 000000000000..853f7c99ac1e --- /dev/null +++ b/x11-plugins/wmweather+/wmweather+-2.15.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 flag-o-matic + +DESCRIPTION="A dockapp for displaying data collected from METAR, AVN, ETA, and MRF forecasts" +HOMEPAGE="http://www.sourceforge.net/projects/wmweatherplus/" +SRC_URI="mirror://sourceforge/wmweatherplus/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="dev-libs/libpcre + >=net-misc/curl-7.17.1 + x11-libs/libXpm + x11-libs/libXext + x11-libs/libX11 + x11-wm/windowmaker" +RDEPEND="${DEPEND}" + +src_configure() { + append-flags "-fno-optimize-sibling-calls" + econf +} + +src_install() { + dobin wmweather+ + dodoc ChangeLog HINTS README example.conf + doman wmweather+.1 +} diff --git a/x11-plugins/wmweather/Manifest b/x11-plugins/wmweather/Manifest new file mode 100644 index 000000000000..30a645543b48 --- /dev/null +++ b/x11-plugins/wmweather/Manifest @@ -0,0 +1,2 @@ +DIST wmweather_2.4.4.orig.tar.gz 84773 SHA256 b58de9e4d8755a829108a3a04d1949c81a1c91d9c7e2cdf78a0b62c19b73c3e6 +DIST wmweather_2.4.5.orig.tar.gz 85128 SHA256 1555e2329ca9cb392881260068d8de761a55baf4bb2b5b6eeb9b755b68faf45a SHA512 eb62a6d03875c087e306e83ec2010916da702f942b22b130c327d890daf29803bf01f52fe0e03b962656d0dd9a329696e8fc19238eedc32f5ce72d8929eab87b WHIRLPOOL 4a2fc553e11c9cdd35a10b1901dc18e240cc016d5ce22c403991adc54cc07f1a35e453c6c1ae17ef0ef979b211c681d700e797e42047918618bf2024b9bf6198 diff --git a/x11-plugins/wmweather/metadata.xml b/x11-plugins/wmweather/metadata.xml new file mode 100644 index 000000000000..e695147fdfff --- /dev/null +++ b/x11-plugins/wmweather/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmweather displays your current local weather conditions. After supplying a +4-character METAR station identifier code (most major airports have one), it +shows station ID, time of the last update, temperature, dew point, pressure, +humidity, and wind speed. The various entries can be forced to display in a +variety of different units. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmweather/wmweather-2.4.4.ebuild b/x11-plugins/wmweather/wmweather-2.4.4.ebuild new file mode 100644 index 000000000000..df9234882420 --- /dev/null +++ b/x11-plugins/wmweather/wmweather-2.4.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="a dockable weather monitor for standard METAR stations using ICAO location" +HOMEPAGE="http://www.godisch.de/debian/wmweather" +SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~mips ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libICE + x11-apps/xmessage + net-misc/curl" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/src + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc ../{CHANGES,README} +} diff --git a/x11-plugins/wmweather/wmweather-2.4.5.ebuild b/x11-plugins/wmweather/wmweather-2.4.5.ebuild new file mode 100644 index 000000000000..2ffc5618c835 --- /dev/null +++ b/x11-plugins/wmweather/wmweather-2.4.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +DESCRIPTION="a dockable weather monitor for standard METAR stations using ICAO location" +HOMEPAGE="http://www.godisch.de/debian/wmweather" +SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libICE + x11-apps/xmessage + net-misc/curl" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/src + +src_install() { + emake DESTDIR="${D}" install + dodoc ../{CHANGES,README} +} diff --git a/x11-plugins/wmwifi/Manifest b/x11-plugins/wmwifi/Manifest new file mode 100644 index 000000000000..5ef848566e55 --- /dev/null +++ b/x11-plugins/wmwifi/Manifest @@ -0,0 +1 @@ +DIST wmwifi-0.6.tar.gz 150482 RMD160 053ab047fbe41a1af9386aefe2081ef9882acb5c SHA1 bea63b5e8f3dcfa68035d78b00578d15d294a0bd SHA256 b01f62f05aae476353e12cb48f9f914a40df7b00285fdd4349ca314b5a019f54 diff --git a/x11-plugins/wmwifi/metadata.xml b/x11-plugins/wmwifi/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmwifi/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/wmwifi/wmwifi-0.6.ebuild b/x11-plugins/wmwifi/wmwifi-0.6.ebuild new file mode 100644 index 000000000000..fb6d5027ed07 --- /dev/null +++ b/x11-plugins/wmwifi/wmwifi-0.6.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +IUSE="" +HOMEPAGE="http://wmwifi.digitalssg.net" +DESCRIPTION="wireless network interface monitor dockapp" +SRC_URI="http://digitalssg.net/debian/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto" + +src_compile() +{ + econf || die "Configuration failed" + + # by default it does not honour our CFLAGS + emake CFLAGS="${CFLAGS}" CPPFLAGS="${CFLAGS}" || die "Compilation failed" +} + +src_install() +{ + dobin src/wmwifi || die + doman wmwifi.1 || die + dodoc AUTHORS README || die +} diff --git a/x11-plugins/wmwork/Manifest b/x11-plugins/wmwork/Manifest new file mode 100644 index 000000000000..4d7f6c894062 --- /dev/null +++ b/x11-plugins/wmwork/Manifest @@ -0,0 +1 @@ +DIST wmwork-0.2.5.tar.gz 62044 SHA256 668943116e6f581e6ef4c18d192fa556fc7f676193903667c6ce6ba193e8c961 diff --git a/x11-plugins/wmwork/metadata.xml b/x11-plugins/wmwork/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmwork/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/wmwork/wmwork-0.2.5.ebuild b/x11-plugins/wmwork/wmwork-0.2.5.ebuild new file mode 100644 index 000000000000..b7520ef94229 --- /dev/null +++ b/x11-plugins/wmwork/wmwork-0.2.5.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="a dockapp that lets you easily track time spent on different projects" +HOMEPAGE="http://www.godisch.de/debian/wmwork" +SRC_URI="http://www.godisch.de/debian/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +RDEPEND=">=x11-libs/libXext-1.0.3 + >=x11-libs/libX11-1.1.1-r1 + >=x11-libs/libXpm-3.5.6" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/src + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc ../{CHANGES,README} +} diff --git a/x11-plugins/wmxkb/Manifest b/x11-plugins/wmxkb/Manifest new file mode 100644 index 000000000000..7e31e6768439 --- /dev/null +++ b/x11-plugins/wmxkb/Manifest @@ -0,0 +1 @@ +DIST wmxkb-1.2.2.tar.gz 196726 RMD160 04ab33a960ea9af9a1a30312bc43ee31c63f4ef4 SHA1 5662a1b7e26817901f32c45d258a9c5ac1eb12bf SHA256 26c3d7404543b5f6e5feedc4edde5217a0ba750852fb1a36297adaf77bff322f diff --git a/x11-plugins/wmxkb/metadata.xml b/x11-plugins/wmxkb/metadata.xml new file mode 100644 index 000000000000..ebfeafcdb873 --- /dev/null +++ b/x11-plugins/wmxkb/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/wmxkb/wmxkb-1.2.2.ebuild b/x11-plugins/wmxkb/wmxkb-1.2.2.ebuild new file mode 100644 index 000000000000..f94e2dbc733d --- /dev/null +++ b/x11-plugins/wmxkb/wmxkb-1.2.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit toolchain-funcs + +DESCRIPTION="Dockable keyboard layout switcher for Window Maker" +HOMEPAGE="http://wmalms.tripod.com/#WMXKB" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + x11-proto/inputproto" + +src_prepare() { + sed -i -e 's:$(LD) -o:$(CC) $(LDFLAGS) -o:' Makefile.in || die #336528 +} + +src_compile() { + emake CC="$(tc-getCC)" || die +} + +src_install() { + dobin wmxkb || die #242188 + + insinto /usr/share/pixmaps/wmxkb + doins pixmaps/*.xpm || die + + dodoc CHANGES README || die #350496 + dohtml doc/*.html || die +} diff --git a/x11-plugins/wmxres/Manifest b/x11-plugins/wmxres/Manifest new file mode 100644 index 000000000000..25590824a262 --- /dev/null +++ b/x11-plugins/wmxres/Manifest @@ -0,0 +1 @@ +DIST wmxres-1.1-0.tar.gz 9948 RMD160 7e492e5ac958d0467bdbdbba94eb4c008b97d55e SHA1 160589ea8acd74a2e0c7152a02c463d5d20a57fa SHA256 c6d1e0fbc1dce2aa9d35f1558b8d561c12677229a89b7f0a062679096f8a3b33 diff --git a/x11-plugins/wmxres/files/wmxres-debian-1.1-1.2.patch b/x11-plugins/wmxres/files/wmxres-debian-1.1-1.2.patch new file mode 100644 index 000000000000..ef7438e5e973 --- /dev/null +++ b/x11-plugins/wmxres/files/wmxres-debian-1.1-1.2.patch @@ -0,0 +1,55 @@ +diff -Naur wmxres.app/wmxres/wmxres.c wmxres-1.2/wmxres/wmxres.c +--- wmxres.app/wmxres/wmxres.c 1999-11-13 22:43:12.000000000 +0000 ++++ wmxres-1.2/wmxres/wmxres.c 2004-04-19 01:27:19.000000000 +0000 +@@ -29,7 +29,7 @@ + int res_selected; + int res_i_active=-1; + char res_active[10]; +-char res_list[10][20]; ++char res_list[100][20]; + XF86VidModeModeInfo **res_modelines; + XEvent Event; + +@@ -139,7 +139,12 @@ + } + } + +- for(c=0; c < res_count; c++) { ++ /* fix bounds on res_count -- Todd Troxell <ttroxell@debian.org */ ++ if(res_count > 100) { ++ res_count =100; ++ } ++ ++ for(c=0; c < res_count ; c++) { + sprintf(res_list[c], "%dx%d", res_modelines[c]->hdisplay, res_modelines[c]->vdisplay); + } + } +diff -Naur wmxres.app/wmxres.1 wmxres-1.2/wmxres.1 +--- wmxres.app/wmxres.1 1970-01-01 00:00:00.000000000 +0000 ++++ wmxres-1.2/wmxres.1 2004-04-19 01:02:46.000000000 +0000 +@@ -0,0 +1,25 @@ ++.\" Hey, EMACS: -*- nroff -*- ++.\" wmxres.1 is copyright 2001 by ++.\" Todd Troxell <ttroxell@debian.org> ++.\" ++.\" This is free documentation, see the latest version of the GNU ++.\" General Public License for copying conditions. There is NO warranty. ++.TH WMXRES 1 "May 5, 2001" ++ ++.SH NAME ++wmxres \- dockable application to change X modes ++ ++.SH SYNOPSIS ++.B wmxres ++ ++.SH DESCRIPTION ++dockable application to select your display mode from those available. It is written in C. ++ ++.SH INFO ++This manual page was written for the Debian GNU/Linux distribution ++because the original program does not have a manual page. ++.PP ++ ++.SH AUTHOR ++This manual page was written by Todd Troxell <ttroxell@debian.org>, ++for the Debian GNU/Linux system (but may be used by others). diff --git a/x11-plugins/wmxres/metadata.xml b/x11-plugins/wmxres/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmxres/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/wmxres/wmxres-1.2.ebuild b/x11-plugins/wmxres/wmxres-1.2.ebuild new file mode 100644 index 000000000000..075039f367db --- /dev/null +++ b/x11-plugins/wmxres/wmxres-1.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Dock application to select your display mode among those possible" +HOMEPAGE="http://yalla.free.fr/wn" +SRC_URI="http://yalla.free.fr/wn/${PN}-1.1-0.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~amd64 x86 ~ppc" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXxf86vm" +DEPEND="${RDEPEND} + x11-libs/libXxf86dga + x11-proto/xextproto + x11-proto/xf86vidmodeproto" + +S=${WORKDIR}/${PN}.app + +src_prepare() { + epatch "${FILESDIR}"/${PN}-debian-1.1-1.2.patch + sed -e "s:-g -c -O2:${CFLAGS} -c:" \ + -e "s:\tcc :\t $(tc-getCC) \$(LDFLAGS) :g" \ + -i Makefile || die "sed failed" +} + +src_compile() { + emake INCDIR="-I/usr/include" LIBDIR="-L/usr/$(get_libdir)" +} + +src_install() { + dobin ${PN}/${PN} + doman ${PN}.1 +} |