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/seetxt |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/seetxt')
-rw-r--r-- | x11-misc/seetxt/Manifest | 7 | ||||
-rw-r--r-- | x11-misc/seetxt/files/0.72-0001-fix-linking.patch | 39 | ||||
-rw-r--r-- | x11-misc/seetxt/files/0.72-0002-fix-shared-files-install.patch | 32 | ||||
-rw-r--r-- | x11-misc/seetxt/metadata.xml | 12 | ||||
-rw-r--r-- | x11-misc/seetxt/seetxt-0.72-r1.ebuild | 32 |
5 files changed, 122 insertions, 0 deletions
diff --git a/x11-misc/seetxt/Manifest b/x11-misc/seetxt/Manifest new file mode 100644 index 000000000000..8b6a8660be93 --- /dev/null +++ b/x11-misc/seetxt/Manifest @@ -0,0 +1,7 @@ +AUX 0.72-0001-fix-linking.patch 1182 SHA256 4722b378e5b21db77b20de4db7c8f20f6c4283d641a05317c93cab509c7c2e71 SHA512 c98c0bcd37475b187339a2b161b53005abcbe0aa5cf9533910bddb775e497099b20e95691197f5fcd1d872316b2882981c72a8b39cbbc0a4b3c7aac590781ad5 WHIRLPOOL 86705a6c5a541dfd468f631bb3bbd66213730ed24ffa02854faedc2315e087cb9aad5fae87dac9912be2b4f2409d9e738c134246415563455a46636f5c1b75a4 +AUX 0.72-0002-fix-shared-files-install.patch 1081 SHA256 3f02586712a59a0c31f5cbf2331dea01e8f165bfa905f62eefd67577bacf1cb1 SHA512 9d3fd3ef0e18274fac97408045de72b64a91daa9246e728e74810e70eef33150acc7d62a1e3a2eea5ec21c61866f2e5312bc219b09b7445d852e68516d049620 WHIRLPOOL 049ff7171ff5aa7d61957ddf5802f9c97c70c5503fa30146be7e877a9f29bf072f9d57d58f38aca05ac4564acac5ddb54579cb5f48176ea3827934248464b0a7 +DIST seetxt-0.72.tar.bz2 141695 SHA256 c38786057e3939f262235c68cf3b8a7d7ab1450ffe4508ec98ec10e16b396159 SHA512 3d6e604e3ee8b0d382dcf60a507c54162eb28d5a9d61edc631a40a95f550276bf4e505ea37966a50d7f38ba952408d8d06b91bc71a8eb32322cb047a4ffc27ea WHIRLPOOL 1bd4060d5a2d49e601b868a43aa3e24ea104ed953a96701c50ab7ded234eabf9f31683d14294914e517bd5df641e58f56d50c2b7898338032f3c4561df37d615 +EBUILD seetxt-0.72-r1.ebuild 767 SHA256 e534eaca0b0a469a2c0429a2dc802775b7b895670455ee728d50486a815e3b77 SHA512 57ae2bdd2a538d2300c5688b4d37f7782a4a78bb2dcf055eb7cabf2c489698776e3d12c3292f356238ee30607647dffd4d49f3028318fe5ca6bb0646092bf64d WHIRLPOOL 062fecd98adb5a3c37a5b28135dc18f7a7440ea92fa132efb4884b067a69a9fc9e3593e96aeb7fbc7f718871b336b3fd4d96537a9d6b24ff0a8fd3275a9f6da1 +MISC ChangeLog 3132 SHA256 c82ff93407055fefb203751a64253f7224b8380c2f879bb48f74b56d5050f7b1 SHA512 0708dbb64d6ab0229c35482490ae4d42f050d2eba48283951a41b7a77a6ff1cb9462b6c64faf8ed9c4556aa9027da33396b93cedca04c33c448aacc457b55342 WHIRLPOOL f1e6c646303494f5a6c8b52d43c10ab4fb2bd0b52d3f78833867d5f072239ec4d8fa9628a238c4c0a738c517a653d9e48a0bde459dad46958f1956936a5c3ea5 +MISC ChangeLog-2015 1293 SHA256 cd42638368dfd026840cacc4a80dd7dfe0a398fe31d2129581fe9298adb12170 SHA512 b20001c43e093e568bee2d14f8c94ce9f573fa8e94df68547ea23c3e00fc2570853fea4d8d1ed194629314c94a3ebffbd84a5d1bee19342150be666866a7a28c WHIRLPOOL 15a89db0e269ce95035ccf39eae3117d7b90b73c6b9ef95ae0f36fe6a5a9dea149e9a9c3086d5c17c8d15818a5c6a6453df6ff91b91596f9f4127d37f9ddce32 +MISC metadata.xml 377 SHA256 7650a410d9f57d775fc21f69c5c7573f2411e01ae8f317a48a5af8f8296cd868 SHA512 049289ae46dc53942d53d3a5782296f93c7be610986ee8f28b81d27287a56d10a01de80df81983daf1fe16a2f4431a43419fe906f374ada06b5eaacb88ca427b WHIRLPOOL 5ea2fd5ef18cf91b484909981803483afba3547df1cc3feb72ef85cdcd9994bec1cb9963c23a462f8572789893e67e4beeee8bae4ea0783ada7d8a5634ac0f4c 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..d0df61afb9e5 --- /dev/null +++ b/x11-misc/seetxt/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>dev-zero@gentoo.org</email> + <name>Tiziano Müller</name> + </maintainer> + <upstream> + <remote-id type="google-code">seetxt</remote-id> + <remote-id type="sourceforge">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..a61c7e234474 --- /dev/null +++ b/x11-misc/seetxt/seetxt-0.72-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="Clever, lightweight GUI text file and manual page viewer for X windows" +HOMEPAGE="https://code.google.com/p/seetxt/ http://seetxt.sourceforge.net/" +SRC_URI="https://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" +} |