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/seetxt
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/seetxt')
-rw-r--r--x11-misc/seetxt/Manifest1
-rw-r--r--x11-misc/seetxt/files/0.72-0001-fix-linking.patch39
-rw-r--r--x11-misc/seetxt/files/0.72-0002-fix-shared-files-install.patch32
-rw-r--r--x11-misc/seetxt/metadata.xml11
-rw-r--r--x11-misc/seetxt/seetxt-0.72-r1.ebuild33
5 files changed, 116 insertions, 0 deletions
diff --git a/x11-misc/seetxt/Manifest b/x11-misc/seetxt/Manifest
new file mode 100644
index 000000000000..46d14e5ebbc0
--- /dev/null
+++ b/x11-misc/seetxt/Manifest
@@ -0,0 +1 @@
+DIST seetxt-0.72.tar.bz2 141695 SHA256 c38786057e3939f262235c68cf3b8a7d7ab1450ffe4508ec98ec10e16b396159 SHA512 3d6e604e3ee8b0d382dcf60a507c54162eb28d5a9d61edc631a40a95f550276bf4e505ea37966a50d7f38ba952408d8d06b91bc71a8eb32322cb047a4ffc27ea WHIRLPOOL 1bd4060d5a2d49e601b868a43aa3e24ea104ed953a96701c50ab7ded234eabf9f31683d14294914e517bd5df641e58f56d50c2b7898338032f3c4561df37d615
diff --git a/x11-misc/seetxt/files/0.72-0001-fix-linking.patch b/x11-misc/seetxt/files/0.72-0001-fix-linking.patch
new file mode 100644
index 000000000000..b21e05592933
--- /dev/null
+++ b/x11-misc/seetxt/files/0.72-0001-fix-linking.patch
@@ -0,0 +1,39 @@
+From 0eb39c4c08e7e3787d411a36e4997ae144e2bed5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@dev-zero.ch>
+Date: Tue, 9 Apr 2013 07:23:19 +0200
+Subject: [PATCH 1/2] Fix linking.
+
+---
+ configure.ac | 2 +-
+ src/Makefile.am | 4 +++-
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3a1aa30..f1d3f30 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -13,7 +13,7 @@ AM_PROG_CC_C_O
+ AC_PROG_LN_S # for ln -s (mandatory)
+
+ # Checks for libraries.
+-GTK_REQUIRED_VERSION=2.12.0
++PKG_CHECK_MODULES([DEPS], [gtk+-2.0 >= 2.12.0])
+
+ # Checks for header files.
+ AC_CHECK_HEADERS([dirent.h errno.h fcntl.h pthread.h stdlib.h string.h regex.h sys/socket.h sys/time.h time.h unistd.h])
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 2c8a24d..fca6504 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,5 +1,7 @@
++AM_CPPFLAGS = $(DEPS_CFLAGS)
++
+ bin_PROGRAMS = seetxt
+ seetxt_CFLAGS = -D SDIR=\"$(datadir)/seetxt-runtime\"
+-seetxt_LDFLAGS = `pkg-config --libs gtk+-2.0` -lpthread
++seetxt_LDADD = $(DEPS_LIBS) -lpthread
+ INCLUDES = `pkg-config --cflags gtk+-2.0`
+ seetxt_SOURCES = see.c server.c util.c
+--
+1.8.1.5
+
diff --git a/x11-misc/seetxt/files/0.72-0002-fix-shared-files-install.patch b/x11-misc/seetxt/files/0.72-0002-fix-shared-files-install.patch
new file mode 100644
index 000000000000..e4f488a32d48
--- /dev/null
+++ b/x11-misc/seetxt/files/0.72-0002-fix-shared-files-install.patch
@@ -0,0 +1,32 @@
+From a1137a02237df31e063af622be0dc76c2ab3e45a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@dev-zero.ch>
+Date: Tue, 9 Apr 2013 07:24:45 +0200
+Subject: [PATCH 2/2] Fix shared files install
+
+---
+ Makefile.am | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 691c0f1..404d743 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,13 +1,13 @@
+ SUBDIRS = src
+ buildextra = @builddir@/extra
+-pkgdatadir = $(DESTDIR)$(datadir)/seetxt-runtime
++pkgdatadir = $(datadir)/seetxt-runtime
+
+ install-data-am:
+ -install --mode=644 $(buildextra)/seetxt.1 $(DESTDIR)$(mandir)/man1/
+ @echo " "
+ @echo "Installing some additional files in $(DESTDIR)$(pkgdatadir)..."
+ @echo " "
+- -mkdir $(pkgdatadir)
++ -mkdir -p $(DESTDIR)$(pkgdatadir)
+ -install --mode=644 $(buildextra)/seeon.png $(buildextra)/seeoff.png $(buildextra)/.seeconfig $(buildextra)/COPYING.images $(DESTDIR)$(pkgdatadir)
+ -install --mode=666 $(buildextra)/filelist $(DESTDIR)$(pkgdatadir)
+ -cd $(DESTDIR)$(mandir)/man1; ln -s seetxt.1 seeman.1
+--
+1.8.1.5
+
diff --git a/x11-misc/seetxt/metadata.xml b/x11-misc/seetxt/metadata.xml
new file mode 100644
index 000000000000..402820e93e7a
--- /dev/null
+++ b/x11-misc/seetxt/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>dev-zero@gentoo.org</email>
+ <name>Tiziano Müller</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">seetxt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/seetxt/seetxt-0.72-r1.ebuild b/x11-misc/seetxt/seetxt-0.72-r1.ebuild
new file mode 100644
index 000000000000..eee282c0235a
--- /dev/null
+++ b/x11-misc/seetxt/seetxt-0.72-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Clever, lightweight GUI text file and manual page viewer for X windows"
+HOMEPAGE="http://code.google.com/p/seetxt/ http://seetxt.sourceforge.net/"
+SRC_URI="http://seetxt.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${PV}-0001-fix-linking.patch" \
+ "${FILESDIR}/${PV}-0002-fix-shared-files-install.patch"
+ eautoreconf
+}
+
+src_install() {
+ dodir /usr/share/man/man1
+ default
+ sed -i -e 's|local/||' "${D}/usr/share/seetxt-runtime/filelist" || die "sed failed"
+}