diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-libs/libdockapp |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/libdockapp')
-rw-r--r-- | x11-libs/libdockapp/Manifest | 9 | ||||
-rw-r--r-- | x11-libs/libdockapp/files/install-paths.patch-0.6.1 | 15 | ||||
-rw-r--r-- | x11-libs/libdockapp/files/legacy.patch-0.6.1 | 10 | ||||
-rw-r--r-- | x11-libs/libdockapp/libdockapp-0.6.1.ebuild | 79 | ||||
-rw-r--r-- | x11-libs/libdockapp/libdockapp-0.7.2.ebuild | 44 | ||||
-rw-r--r-- | x11-libs/libdockapp/metadata.xml | 9 |
6 files changed, 166 insertions, 0 deletions
diff --git a/x11-libs/libdockapp/Manifest b/x11-libs/libdockapp/Manifest new file mode 100644 index 000000000000..e3e80253b1fe --- /dev/null +++ b/x11-libs/libdockapp/Manifest @@ -0,0 +1,9 @@ +AUX install-paths.patch-0.6.1 514 SHA256 0bb72eaa344d5ceb27380852bc0e9dfdc93bbeac3f2a3ed1d2a308f38c28c009 SHA512 88a8b54a4ea87de11f7ac925318522b84036f2471b580d67ab07611cdd2ca0b2cf512208d97d38e8689f7edc3c37e543c9d717f16cd26c134bc9db6f4496e226 WHIRLPOOL 03da372ebad4e801c62c2f652ee30b5d93d01cd161074b8e5daec7c1a1b2dda71b3dc369c1e2764cd8cae793c75d9ae44f11050754e16415db7e100b6ed67142 +AUX legacy.patch-0.6.1 395 SHA256 eba56bf50491b9685245451d5afd0b47e2cf9ab0ca689decd6742ac8de98bd8c SHA512 ea56df9a1ca25d575084e63a16724659292f7fad6af8a72761a167830c4861b3ed72828a3e418754d1e63a9543bb285ae68ea124c70142efbea43957aecfc6b3 WHIRLPOOL e4a59f82e4aca3a4a0ec682d7f8cc049cb40526ee9c6c193fe0f47763a3b5d650853db8e71cf1d806d6dafdde4b991e563ea0d4c4ec2384f6dace5714aaace97 +DIST libdockapp-0.6.1.tar.bz2 155920 SHA256 eacae024ce6f2bdaba50f18bd18a27a9b4a3e290300f92048fdb11ebd273bd9f SHA512 bb0282db7b02fa1acd4456636f9b20eae98e6f1f1aae552016a103a7d75a712a689d111abd5502302cbc0eacade8235a74c6fad9f1e6548c5411b1c4c18b09ce WHIRLPOOL f2b655882747c43f95beaf190d18039bbaaa507a86f6858843a0687fd1ff6e0c6b9a4c0770e730b162c6e6a8f5c03c4c209621af2c35f22d7048880672d44a33 +DIST libdockapp-0.7.2.tar.gz 40462 SHA256 82a4f9f9235f425322fea46a723f16efe255c84e1717191bcea14565dadc2ff9 SHA512 a2f216ac1105abe0efbea191691bae986b6022510f96c78b08c1b809cff131794c81810197af7d1321f9b248202376cc7092e79a4d4afa3fb93e9ed8000c9d79 WHIRLPOOL 4664ff5d7d8702a9cc51cdb6b55d397e685c53bc1529ebaafd2886a914b51fa55627dcee886fee991a29d177d9c9e8362c943d147c8e01955793b0d5c303789d +EBUILD libdockapp-0.6.1.ebuild 1917 SHA256 37e8fcc8e71f525b330f649636feb9aee4bbeade747bc369de3bc301d2e78529 SHA512 04b99f96a89143500ebf443eeef5904fcbf761c1900a84aeff08d8ad4b7c1b145c82e055e9623d1b256ac67d961294a287a08315270ae03643ff6104a4ca7ea1 WHIRLPOOL 81d85a90285731c6be09f7420199d9f1611d508ad8a5002d87953c6b2c9182b0783187837ae2c4074b6a79444c3736782fe4946047e4011e92baffec1ec5e036 +EBUILD libdockapp-0.7.2.ebuild 828 SHA256 3eab6c5ee6db7b6c6a19a3d8eabeb5a1fe683415d7a365b46190891028543bd6 SHA512 323fc8333eee38ae2be9a569322230090b4c99665820a2200055692f0f1aee308f61fef6889f90aa982d5435dbbb5acef6875e2e97b5d689b24979c96e97233a WHIRLPOOL 6241b9a5630dc3074a86330cdb08fe00385405c1926f1fc20c5c2eeec8a392b3143cbee36276e8a94a24ae72d36345182469b7b9780a1aa5d6468379bb05551c +MISC ChangeLog 4836 SHA256 940dc832418bfdceb210c2b7c133d447467d817c6003af86367f51e5eb6b7599 SHA512 9d05da10a97bd6b49701742eaa2a8e0537bd9e6e52686cf5e6360d65fc40a3ac94aa184f6e7f2516116507ea533f744fabbb7813a22f20f1c1c5c84d783989eb WHIRLPOOL 4f7ab9f8e55f598b35ace45008dad3d1e748f842938cd8a0373b977899193c3a04b36b7c01dbba43b314a94c1830f58fc7d0ea78a879117b79d23db765196375 +MISC ChangeLog-2015 5793 SHA256 05e670f8fb8e455cfe8f9e9f7317457581899bbaafb3e394c48e763bd1581e25 SHA512 8b7507eaec0d8fbf0f7806b338eb2989719164dff0826976e4e68592784575cf28782a6f10660ff69483f1de88a60554eddc7378c1e4699352ca1de79ec80981 WHIRLPOOL 48e46ef0b1574da38226994a9ffba68d270cca505a728fb446c5784f0027a41852db130cfc6cb64d921eedf47fca4425513111342232ea4aae6de00968cfc3aa +MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d diff --git a/x11-libs/libdockapp/files/install-paths.patch-0.6.1 b/x11-libs/libdockapp/files/install-paths.patch-0.6.1 new file mode 100644 index 000000000000..7206655bb7a3 --- /dev/null +++ b/x11-libs/libdockapp/files/install-paths.patch-0.6.1 @@ -0,0 +1,15 @@ +--- fonts/Makefile.am 2005-06-08 14:36:38.389096256 +0200 ++++ fonts/Makefile.am 2005-06-08 14:37:18.276032520 +0200 +@@ -5,10 +5,10 @@ + # but I don't know how and they don't tell. + # + +-XFONTDIR = $(DESTDIR)/usr/X11R6/lib/X11/fonts ++XFONTDIR = $(DESTDIR)/usr/share/fonts/libdockapp-fonts + + MYFONTDIR = /dockapp +-MYDATA = luxel-ascii-06x09.pcf.gz seg7-ascii-05x07.pcf.gz fonts.dir fonts.alias ++MYDATA = luxel-ascii-06x09.pcf.gz seg7-ascii-05x07.pcf.gz + + install-data-local: + $(INSTALL) -d $(XFONTDIR)$(MYFONTDIR) diff --git a/x11-libs/libdockapp/files/legacy.patch-0.6.1 b/x11-libs/libdockapp/files/legacy.patch-0.6.1 new file mode 100644 index 000000000000..b608db02195e --- /dev/null +++ b/x11-libs/libdockapp/files/legacy.patch-0.6.1 @@ -0,0 +1,10 @@ +--- dockapp-0.6.0/src/damain-orig.c 2005-04-20 20:05:04.000000000 +0200 ++++ dockapp-0.6.0/src/damain.c 2005-06-04 19:21:34.000000000 +0200 +@@ -237,6 +237,7 @@ + DAInitialize(char *display, char *name, unsigned width, unsigned height, + int argc, char **argv) + { ++ _daContext= DAContextInit(); + DAOpenDisplay(display, argc, argv); + DACreateIcon(name, width, height, argc, argv); + } diff --git a/x11-libs/libdockapp/libdockapp-0.6.1.ebuild b/x11-libs/libdockapp/libdockapp-0.6.1.ebuild new file mode 100644 index 000000000000..7c74fbe5d9da --- /dev/null +++ b/x11-libs/libdockapp/libdockapp-0.6.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils autotools + +IUSE="" + +DESCRIPTION="Window Maker Dock Applet Library" +SRC_URI="http://solfertje.student.utwente.nl/~dalroi/libdockapp/files/${P}.tar.bz2" +HOMEPAGE="http://solfertje.student.utwente.nl/~dalroi/libdockapp/" + +LICENSE="MIT public-domain" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto" + +S=${WORKDIR}/${P/lib/} +FONTDIR="/usr/share/fonts/${PN}-fonts" + +src_unpack() +{ + unpack ${A} + cd "${S}" + + # sanitize fonts installation path + epatch "${FILESDIR}/install-paths.patch-${PV}" + + # add legacy support for older dockapps + epatch "${FILESDIR}/legacy.patch-${PV}" + + eautoreconf +} + +src_install() +{ + make \ + DESTDIR="${D}" \ + SHAREDIR="${D}/usr/share/doc/${PF}/examples/" \ + install || die "make install failed" + + dodoc README ChangeLog NEWS AUTHORS +} + +pkg_postinst() +{ + einfo + einfo "You need to add following line into 'Section \"Files\"' in" + einfo "/etc/X11/xorg.conf (or /etc/X11/XF86Config if you are still using XFree86)" + einfo "and reboot X Window System, to use these fonts." + einfo + einfo "\t FontPath \"${FONTDIR}\"" + einfo + einfo "You also need to add the following line to /etc/fonts/local.conf" + einfo + einfo "\t <dir>${FONTDIR}</dir>" + einfo +} + +pkg_postrm() +{ + einfo + einfo "You need to remove following line from 'Section \"Files\"' in" + einfo "/etc/X11/xorg.conf (or /etc/X11/XF86Config if you are still using XFree86)" + einfo "to unmerge this package completely." + einfo + einfo "\t FontPath \"${FONTDIR}\"" + einfo + einfo "You also need to remove the following line from /etc/fonts/local.conf" + einfo + einfo "\t <dir>${FONTDIR}</dir>" + einfo +} diff --git a/x11-libs/libdockapp/libdockapp-0.7.2.ebuild b/x11-libs/libdockapp/libdockapp-0.7.2.ebuild new file mode 100644 index 000000000000..ecf24fc38603 --- /dev/null +++ b/x11-libs/libdockapp/libdockapp-0.7.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools font + +DESCRIPTION="Window Maker Dock Applet Library" +HOMEPAGE="http://www.dockapps.net/libdockapp" +SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" + +LICENSE="MIT public-domain" +SLOT="0/3" +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" +# Required for font eclass +IUSE="+X" +REQUIRED_USE="X" + +RDEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto" + +FONT_S=${S}/fonts +FONT_SUFFIX="gz" +DOCS="README ChangeLog NEWS AUTHORS" + +src_prepare() +{ + eautoreconf +} + +src_configure() +{ + # Font installation handled by font eclass + econf --without-font --without-examples +} + +src_install() +{ + emake DESTDIR="${D}" install + font_src_install +} diff --git a/x11-libs/libdockapp/metadata.xml b/x11-libs/libdockapp/metadata.xml new file mode 100644 index 000000000000..1d5e6504004e --- /dev/null +++ b/x11-libs/libdockapp/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 type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +</pkgmetadata> |