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-misc/xsnap |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xsnap')
-rw-r--r-- | x11-misc/xsnap/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch | 11 | ||||
-rw-r--r-- | x11-misc/xsnap/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 65 |
4 files changed, 90 insertions, 0 deletions
diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest new file mode 100644 index 000000000000..f5bca765dc6f --- /dev/null +++ b/x11-misc/xsnap/Manifest @@ -0,0 +1,6 @@ +AUX xsnap-1.5.15-root_name.patch 228 SHA256 bb970680732f81c9e50d4ce729556cfa60be75e39176f14e410c4d4c23bdb334 SHA512 965a26474cdbe809a26559ac431aa9acdbc20ff5469e58f8b95b9da0eb58e278040f233bdc42fd54aea6f556fa2a801f6f0ca610a2ed4caa100172cb9ead4ed1 WHIRLPOOL d65ecde00a441dc963563e7a68b0918d5faa7d26505664102f455b6dff6e086202f5122e04ba6de2cf2cd7dd81f11d75014d870adf02419a25b11c2664d7ef52 +DIST xsnap-1.5.15.tar.bz2 46574 SHA256 e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac WHIRLPOOL aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c +EBUILD xsnap-1.5.15-r1.ebuild 1328 SHA256 4feb3ec3ee6aa9db03bda7a41d26d1f0bc606095be395cadcf7f05ecbc50482c SHA512 71c222f510732eaef1b1a550cb57c52fa2d32c3e98521b55685be305fc5dcc956b0366354bfe19d4f763801371ce9cdd66c4e4c588d7a29258186d5c9c0a487d WHIRLPOOL 2e1ad8f1c9319d62974d7d8ef8c2585cb770485990e254687be066375d84c2c56159a12ee0ffbeb04f52b707d9e3c3e6f3adf32f30efe02bc51f2cf959a80855 +MISC ChangeLog 2598 SHA256 f00fa369bcee112a409f10c48770118e8da43f4ceee53aa8d64de4525e49a84e SHA512 3db62c8880dc0241eaf785cc5131bd46b8d3435a09ad7fa7368ebb0105a7c8d6b207efab1480f36186b62ce5955f98f699a5242e464c4c6896634373a0bced64 WHIRLPOOL 532918b767ad9844d33a55439fe4dd0794ee67d6c629628654a863d77f9f0b7611c33b58399b7954e5eb2e254523e580e1b303ea19451155e6ac015ef249f633 +MISC ChangeLog-2015 7228 SHA256 64fc83a3ff0a2953f8af14b23b0860b0b9182323c4a10deeb3b639bb09298bae SHA512 5b894f5597409d862206630ac5f4e1b56333b179f121c68bb682f2aea11627bc655053aab0070b593473d812cb362d1553084ff1c8f24f4afc9650ecf0a0ca57 WHIRLPOOL 55e0a2703e67064066f542d0282f8f55f02fcb088304fdadc66dd97cdc3b8c11d024153f90bcd2b75226a42859d9d2db0b2fa4ee1d94525d2b88814a9b558cfd +MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36 diff --git a/x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch b/x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch new file mode 100644 index 000000000000..48076680f207 --- /dev/null +++ b/x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch @@ -0,0 +1,11 @@ +--- a/xsnap.c ++++ b/xsnap.c +@@ -2254,7 +2254,7 @@ + if (op_mode == 0) + exitXsnap (NULL, NULL, snap_pixmap, copy_gc); + +- if (!root_name) ++ if (*root_name == '\0') + strcpy(output_name, "(stdout)"); + + if (op_mode == 2) { diff --git a/x11-misc/xsnap/metadata.xml b/x11-misc/xsnap/metadata.xml new file mode 100644 index 000000000000..bc1b97e1eb76 --- /dev/null +++ b/x11-misc/xsnap/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 type="project"> + <email>desktop-misc@gentoo.org</email> + <name>Gentoo Desktop Miscellaneous Project</name> + </maintainer> +</pkgmetadata> diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild new file mode 100644 index 000000000000..98310014da85 --- /dev/null +++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen" +HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" +SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux" +IUSE="" + +COMMON_DEPEND=" + media-libs/libpng:0 + virtual/jpeg:0 + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXpm +" +RDEPEND=" + ${COMMON_DEPEND} + media-fonts/font-misc-misc +" +DEPEND=" + ${COMMON_DEPEND} + app-text/rman + dev-lang/perl + x11-misc/imake + x11-proto/xproto +" + +DOCS=( AUTHORS Changelog README ) +PATCHES=( "${FILESDIR}"/${P}-root_name.patch ) + +src_prepare() { + default + + sed -i \ + -e 's|/usr/share/locale|$(LOCALEDIR)|g' \ + -e 's|/usr/share/man/man1|$(MANDIR)|g' \ + -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) install|' \ + -e '21s|.*|LOCALEDIR = /usr/share/locale|' \ + Imakefile || die + sed -i \ + -e '/^LOCALEDIR=/d' \ + po/Makefile || die + + xmkmf || die + + sed -i \ + -e '/ CC = /d' \ + -e '/ LD = /d' \ + -e '/ CDEBUGFLAGS = /d' \ + -e '/ CCOPTIONS = /d' \ + -e 's|CPP = cpp|CPP = $(CC)|g' \ + Makefile || die +} + +src_compile() { + tc-export CC + emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" +} |