diff options
Diffstat (limited to 'x11-plugins/docker')
-rw-r--r-- | x11-plugins/docker/Manifest | 8 | ||||
-rw-r--r-- | x11-plugins/docker/docker-1.5-r1.ebuild | 36 | ||||
-rw-r--r-- | x11-plugins/docker/docker-1.5.ebuild | 34 | ||||
-rw-r--r-- | x11-plugins/docker/files/docker-1.5-makefile.patch | 45 | ||||
-rw-r--r-- | x11-plugins/docker/files/docker-1.5-makefile_rename.patch | 49 | ||||
-rw-r--r-- | x11-plugins/docker/metadata.xml | 12 |
6 files changed, 184 insertions, 0 deletions
diff --git a/x11-plugins/docker/Manifest b/x11-plugins/docker/Manifest new file mode 100644 index 000000000000..76be7885b957 --- /dev/null +++ b/x11-plugins/docker/Manifest @@ -0,0 +1,8 @@ +AUX docker-1.5-makefile.patch 1437 SHA256 7fc6f0ba34ecaf1d73de7c8c779e555b9dd50fb9782b274456a70e1da38a3837 SHA512 c48a8926b49d34fe7c794380d63c240e60d1df7c3d38c2e3ad8762593f36b478f6e90ce2acd4028491f2ad6b615cca3d81be503e60361ca607bef0f617645834 WHIRLPOOL 7f243ff00531dbc8e62667e91fcd56ecb1efd0c1e50102318050b09f9e5d3ad919705e0eab86cf24567bb5682f257427ef068b97a242674093cf3e28d38cd31a +AUX docker-1.5-makefile_rename.patch 1485 SHA256 b71e665e16145a0dec5f09d219ac34a263d1cf82dea48a428b94d28287a30eb1 SHA512 17652b5ea6051264288bdb02dd5936b490a39ed1ce37d6ae00cc41b6b5ebc66fd1532bb60d35182db08776b948ff944cbc7a5ec5d9b067d73afd29827a19f7af WHIRLPOOL 06d639c7cbb544c418809508d90ddba08c067c36809cdd3812cb50f592692219aeae29c4bd2c380c7fc1f6bd3774c780729a3559480d56d020e8ad3f70a637a4 +DIST docker-1.5.tar.gz 14863 SHA256 47629578e89d96d1541c91d040aec4316f03ad6d01dc3eecb8f82a33445c1e4e SHA512 71b47156c31e5db5620612d3444eb298489fb33da296742c10543838e65677daa1b81bb054e6a7f57b9e2adef47406c32040983cb09988d93778a555e72cd861 WHIRLPOOL 2b8fbb60a901f97e71dc31cb876ee42f5b3ff6fe898f4d01b54e98d61352090d561b00fde16f081736ab9882d70281b49102c95a29211e1f0bec1a2f55bd75e1 +EBUILD docker-1.5-r1.ebuild 787 SHA256 0c367699861d4e8ab4b8a25739127040971698b255d7a0a0bf5e0631b8bc5975 SHA512 4435130417c3a40cfcc82e605e72b42c4f9befdc9be4d9bd0025007fbfcdd1b55cae22c55f56cd913978de1907525d291f3d0ad3614dd367973b9c143d0a51f9 WHIRLPOOL 3530ffc1b845cbc3264237661dbc78efa06b04c4d3e83a943541bfdb0076b661575f332e804162b3e7e8ee19c082c7c607e534b506d5c4f6f3da01b29445a93d +EBUILD docker-1.5.ebuild 761 SHA256 6e4f6e14b17e0924bb00c9260f4d287222a08ef924984ee051d46478a1fc12ff SHA512 3b16029fd96cb99155baebf684fdbf9e1640e737dedd53de90cf28c12d67198dd173d0810ac1fb8e21cabe8a1483be31e9307fdfe098702ab3a3583b227333bf WHIRLPOOL c794005f0fcd8a043a5dadc97686a5e1b62fd0916a2d683896b15e42de44a48c559912bbbc3fd422e15fd7739489c77f4a8bf62439b515b0af55dd36b01c3324 +MISC ChangeLog 3010 SHA256 cef28949e6b71cc50258f44339ed28f91a58a7dbf4dce9befc82eba4663bdcea SHA512 26d729b5ebdc14b83c6132a2f973d50e0ab230a1327a939c7c313f6d0aa841cdceedd0d34fbe3a90ef1ed9aef8bfc7d2f2be33c23531a0cca370f94df449af0f WHIRLPOOL 64d3f97a4f9fbb0b33275fcb394ead641fef8caa8e97fb02c9409ef3bcb1c311c553c20a9ce45a95829158706e391dc1c5ad28b0b62422d942dc4e5aa1729ade +MISC ChangeLog-2015 3651 SHA256 b47f4622926353236f4d8459fef901f1b2f56236eb870e7b3e9f10bca9ee7c9a SHA512 19bbd64d3ac9c4542b82e9883c5db955adb204b0806b4ca4272633e40f2d7fd47ff971b0b0c7dc6daa1f890ef29f86ab995f337b577e28410309f4a38bed383b WHIRLPOOL f454b670570b2fadb382bf5d481ee4237ecfad75238ccc45b75212c160165b550f0401c0cfa84e0d0737c2878650b2c99cce95e9eca39ccd3f435e554c8fbd44 +MISC metadata.xml 348 SHA256 c93cb7fccbbdac465c5823dd83f37f52b451977aac5a0633812fcf6775971faf SHA512 2aaec4451c836c176509bdef56e7a3670286fe1b261366d29e04369d884fd5ee2a23e1882a1b39a40edb42c16871195782e6a9177d1392a46ddced2bc01b211e WHIRLPOOL c46e80463a86556e4b538561674893306e8c6fa766dfcb7b8c7add128f162b7e4e1f8da8f5cdbceed3d70ee55a2ddd9deec025cabffbf488b28bb4d962ce47de 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..e8e20671cf35 --- /dev/null +++ b/x11-plugins/docker/docker-1.5-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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..bd3bf02a7ad8 --- /dev/null +++ b/x11-plugins/docker/docker-1.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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..775ce9559c30 --- /dev/null +++ b/x11-plugins/docker/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +<longdescription> + Openbox app which acts as a system tray for KDE and GNOME2. +</longdescription> +</pkgmetadata> |