diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2012-05-16 06:34:17 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2012-05-16 06:34:17 +0000 |
commit | 2fba924ea10e7f4daa460c7b8f8bd4c257151d5c (patch) | |
tree | c44ddbc81e383280a6ba47cd3cb4a0d8aad2ba62 /x11-misc/seetxt | |
parent | Warn the user if /run is not mounted tmpfs (diff) | |
download | gentoo-2-2fba924ea10e7f4daa460c7b8f8bd4c257151d5c.tar.gz gentoo-2-2fba924ea10e7f4daa460c7b8f8bd4c257151d5c.tar.bz2 gentoo-2-2fba924ea10e7f4daa460c7b8f8bd4c257151d5c.zip |
Version bump and pkgmove (bug #416107).
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/seetxt')
-rw-r--r-- | x11-misc/seetxt/ChangeLog | 21 | ||||
-rw-r--r-- | x11-misc/seetxt/files/0.6-respect_destdir.patch | 51 | ||||
-rw-r--r-- | x11-misc/seetxt/metadata.xml | 11 | ||||
-rw-r--r-- | x11-misc/seetxt/seetxt-0.6.ebuild | 34 | ||||
-rw-r--r-- | x11-misc/seetxt/seetxt-0.72.ebuild | 18 |
5 files changed, 135 insertions, 0 deletions
diff --git a/x11-misc/seetxt/ChangeLog b/x11-misc/seetxt/ChangeLog new file mode 100644 index 000000000000..8da42e3fbe21 --- /dev/null +++ b/x11-misc/seetxt/ChangeLog @@ -0,0 +1,21 @@ +# ChangeLog for x11-misc/seetxt +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/seetxt/ChangeLog,v 1.1 2012/05/16 06:34:17 dev-zero Exp $ + +*seetxt-0.72 (16 May 2012) +*seetxt-0.6 (16 May 2012) + + 16 May 2012; Tiziano Müller <dev-zero@gentoo.org> + +files/0.6-respect_destdir.patch, +seetxt-0.6.ebuild, +seetxt-0.72.ebuild, + +metadata.xml: + Version bump and pkgmove (bug #416107). + + 05 May 2012; Jeff Horelick <jdhore@gentoo.org> see-0.6.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + +*see-0.6 (20 Oct 2010) + + 20 Oct 2010; Tiziano Müller <dev-zero@gentoo.org> + +files/0.6-respect_destdir.patch, +see-0.6.ebuild, +metadata.xml: + Initial commit (ebuild written by me). + diff --git a/x11-misc/seetxt/files/0.6-respect_destdir.patch b/x11-misc/seetxt/files/0.6-respect_destdir.patch new file mode 100644 index 000000000000..ea4b99888aab --- /dev/null +++ b/x11-misc/seetxt/files/0.6-respect_destdir.patch @@ -0,0 +1,51 @@ +diff --git a/Makefile.am b/Makefile.am +index d3ce419..9983d6a 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -2,23 +2,12 @@ SUBDIRS = src + buildextra = @builddir@/extra + pkgdatadir = $(datadir)/seetxt-runtime + +-install-data-am: +- -cp -f $(buildextra)/seetxt.1 $(mandir)/man1/ +- -ln -s $(mandir)/man1/seetxt.1 $(mandir)/man1/seeman.1 +- -ln -s $(bindir)/seetxt $(bindir)/seeman +- @echo " - enjoy see -" +- @echo " Installing some additional files in $(pkgdatadir)..." +- -mkdir $(pkgdatadir) +- -cp -f $(buildextra)/seeon.png $(buildextra)/seeoff.png $(buildextra)/.seeconfig $(pkgdatadir) +- -cp $(buildextra)/filelist $(pkgdatadir) +- -chmod 666 $(pkgdatadir)/filelist +- -strip --strip-all $(bindir)/seetxt ++dist_man_MANS = $(buildextra)/seetxt.1 ++pkgdata_DATA = $(buildextra)/seeon.png $(buildextra)/seeoff.png $(buildextra)/.seeconfig $(buildextra)/filelist ++ ++install-data-hook: ++ $(LN_S) seetxt.1 "$(DESTDIR)$(mandir)/man1/seeman.1" ++ ++uninstall-hook: ++ $(RM) "$(DESTDIR)$(mandir)/man1/seeman.1" + +-uninstall: uninstall-recursive +- @echo "Thanks for trying SEE!" +- -rm $(pkgdatadir)/* +- -rm $(pkgdatadir)/.seeconfig +- -rm $(mandir)/man1/seetxt.1 +- -rm $(mandir)/man1/seeman.1 +- -rm $(bindir)/seeman +- -rmdir $(pkgdatadir) +diff --git a/src/Makefile.am b/src/Makefile.am +index 5181bf2..0d952db 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -3,3 +3,10 @@ seetxt_CFLAGS = -D SDIR=\"$(datadir)/seetxt-runtime\" + seetxt_LDFLAGS = `pkg-config --libs gtk+-2.0` + INCLUDES = `pkg-config --cflags gtk+-2.0` + seetxt_SOURCES = see.c see.h ++ ++install-exec-hook: ++ $(LN_S) seetxt "$(DESTDIR)$(bindir)/seeman" ++ ++uninstall-hook: ++ $(RM) "$(DESTDIR)$(bindir)/seeman" ++ 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.6.ebuild b/x11-misc/seetxt/seetxt-0.6.ebuild new file mode 100644 index 000000000000..ced516a316ac --- /dev/null +++ b/x11-misc/seetxt/seetxt-0.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/seetxt/seetxt-0.6.ebuild,v 1.1 2012/05/16 06:34:17 dev-zero Exp $ + +EAPI=3 + +inherit autotools eutils + +MY_P="see-${PV}" + +DESCRIPTION="Clever, lightweight GUI text file and manual page viewer for X windows." +HOMEPAGE="http://code.google.com/p/seetxt/" +SRC_URI="http://seetxt.googlecode.com/files/${MY_P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${PV}-respect_destdir.patch" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS +} diff --git a/x11-misc/seetxt/seetxt-0.72.ebuild b/x11-misc/seetxt/seetxt-0.72.ebuild new file mode 100644 index 000000000000..45cc43edd442 --- /dev/null +++ b/x11-misc/seetxt/seetxt-0.72.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/seetxt/seetxt-0.72.ebuild,v 1.1 2012/05/16 06:34:17 dev-zero Exp $ + +EAPI=4 + +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" |