summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-misc/xsnap
downloadgentoo-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-misc/xsnap')
-rw-r--r--x11-misc/xsnap/Manifest3
-rw-r--r--x11-misc/xsnap/files/xsnap-1.5.10-prefix.patch40
-rw-r--r--x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch11
-rw-r--r--x11-misc/xsnap/metadata.xml5
-rw-r--r--x11-misc/xsnap/xsnap-1.5.10.ebuild55
-rw-r--r--x11-misc/xsnap/xsnap-1.5.11.ebuild63
-rw-r--r--x11-misc/xsnap/xsnap-1.5.15.ebuild65
7 files changed, 242 insertions, 0 deletions
diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
new file mode 100644
index 000000000000..67385adafc40
--- /dev/null
+++ b/x11-misc/xsnap/Manifest
@@ -0,0 +1,3 @@
+DIST xsnap-1.5.10.tar.bz2 54172 SHA256 6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55 WHIRLPOOL 6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
+DIST xsnap-1.5.11.tar.bz2 46031 SHA256 9076bb1041921771e6d2bae374aa12296fe963897a9f2ad259b4922914b7c179 SHA512 41659d5e7608dfc16d020b3b4ac9452522922c0d0a0a240ce8fecf2aec35ed5d5f1ec01151204dc66eb24c68c29449e4ba2e8fe8f376de1089e8761f6c30513c WHIRLPOOL 343ae02b583d223ebefceeae2022665c9b4d703bc7a75d9526df7fc6e11d0f4f00d2cc2bcfc644dd3fbfbb1c07dcb3ac765307a922d9fd5d8fa68b1f5269003f
+DIST xsnap-1.5.15.tar.bz2 46574 SHA256 e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac WHIRLPOOL aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c
diff --git a/x11-misc/xsnap/files/xsnap-1.5.10-prefix.patch b/x11-misc/xsnap/files/xsnap-1.5.10-prefix.patch
new file mode 100644
index 000000000000..ac4f96f3fd75
--- /dev/null
+++ b/x11-misc/xsnap/files/xsnap-1.5.10-prefix.patch
@@ -0,0 +1,40 @@
+From: Nathan Phillip Brink <binki@gentoo.org>
+Subject: Fix installation of xsnap on gentoo-prefix.
+
+--- a/po/Makefile
++++ b/po/Makefile
+@@ -19,7 +19,6 @@
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ CATALOGS="fr"
+-LOCALEDIR=/usr/share/locale
+
+ all:
+ for cat in $(CATALOGS) ; do msgfmt -o $$cat.mo -v $$cat.po ; done
+
+--- a/Imakefile
++++ b/Imakefile
+@@ -37,9 +37,10 @@
+ /* This is the right link order [Steff] */
+ LOCAL_LIBRARIES = -lz $(XPMLIB) $(XFTLIB) $(PNGLIB) $(JPEGLIB) $(XLIB)
+
+- DEFINES = -DENABLE_NLS -DXPM -DPNG -DJPG -DPACKAGE=\"xsnap\" -DLOCALEDIR=\"/usr/share/locale\"
++LOCALEDIR = /usr/share/locale
++ DEFINES = -DENABLE_NLS -DXPM -DPNG -DJPG -DPACKAGE=\"xsnap\" -DLOCALEDIR=\"$(LOCALEDIR)\"
+
+-# DEFINES = -DXPM -DPNG -DJPG -DPACKAGE=\"xsnap\" -DLOCALEDIR=\"/usr/share/locale\"
++# DEFINES = -DXPM -DPNG -DJPG -DPACKAGE=\"xsnap\" -DLOCALEDIR=\"$(LOCALEDIR)\"
+
+ ComplexProgramTarget(xsnap)
+
+@@ -55,8 +56,8 @@
+ install::
+ cp -f xsnap-ocr $(DESTDIR)/$(BINDIR)
+ chmod a+rx $(DESTDIR)/$(BINDIR)/xsnap-ocr
+- cp -f xsnap.1.gz xsnap-ocr.1.gz $(DESTDIR)/usr/share/man/man1
+- cd po ; $(MAKE) install
++ cp -f xsnap.1.gz xsnap-ocr.1.gz $(DESTDIR)/$(MANDIR)
++ cd po ; $(MAKE) LOCALEDIR='$(LOCALEDIR)' install
+
+ clean::
+ cd po ; $(MAKE) clean
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..540f810e069d
--- /dev/null
+++ b/x11-misc/xsnap/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-misc</herd>
+</pkgmetadata>
diff --git a/x11-misc/xsnap/xsnap-1.5.10.ebuild b/x11-misc/xsnap/xsnap-1.5.10.ebuild
new file mode 100644
index 000000000000..e0daa27f595c
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.10.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils 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 )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-prefix.patch
+
+ 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}"
+}
+
+src_install() {
+ dodir /usr/share/man/man1
+ default
+}
diff --git a/x11-misc/xsnap/xsnap-1.5.11.ebuild b/x11-misc/xsnap/xsnap-1.5.11.ebuild
new file mode 100644
index 000000000000..bcb89dd63983
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.11.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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 )
+
+src_prepare() {
+ 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}"
+}
diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild b/x11-misc/xsnap/xsnap-1.5.15.ebuild
new file mode 100644
index 000000000000..3d0c69a1c69f
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils 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 )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-root_name.patch
+
+ 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}"
+}