diff options
-rw-r--r-- | app-text/lv/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/lv/Manifest | 16 | ||||
-rw-r--r-- | app-text/lv/files/lv-4.51-xz.diff | 45 | ||||
-rw-r--r-- | app-text/lv/lv-4.51-r2.ebuild | 48 | ||||
-rw-r--r-- | app-text/lv/metadata.xml | 2 |
5 files changed, 105 insertions, 14 deletions
diff --git a/app-text/lv/ChangeLog b/app-text/lv/ChangeLog index 915262d3389f..41951ff50482 100644 --- a/app-text/lv/ChangeLog +++ b/app-text/lv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/lv # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/lv/ChangeLog,v 1.34 2010/08/25 18:16:10 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/lv/ChangeLog,v 1.35 2010/10/11 08:12:47 hattya Exp $ + +*lv-4.51-r2 (11 Oct 2010) + + 11 Oct 2010; Akinori Hattori <hattya@gentoo.org> +lv-4.51-r2.ebuild, + +files/lv-4.51-xz.diff, metadata.xml: + add filter for .lzma and .xz. 25 Aug 2010; Markus Meier <maekke@gentoo.org> lv-4.51-r1.ebuild: add ~arm, bug #333853 diff --git a/app-text/lv/Manifest b/app-text/lv/Manifest index 5f81d0ff0e14..94c0dc601bf1 100644 --- a/app-text/lv/Manifest +++ b/app-text/lv/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX lv-4.51-gentoo.patch 1385 RMD160 3eff69fd30d5dae96aa2668a08b06a75eb339cfa SHA1 89c42c0c08565eedf60a3c869ce2d93a83540fdc SHA256 84df1e1816664648d4dbbfb489ed3e4a815a58f6f8e2b205c8d823e5becb5fa8 +AUX lv-4.51-xz.diff 1545 RMD160 5ef954e3f968c10a22794bafe44822d2910976d2 SHA1 877fad1b06fd56fca3cdbed9f94283ed9ece39d1 SHA256 a9f428bb80db2e519e5f5a7db0607db9213df02c6ff9ac06237e78c569b5ba54 DIST lv451.tar.gz 605082 RMD160 ae0d58b52dbf714f8b371f51ac87490ecba1c994 SHA1 1a70299c27aa317a436976a557853858db4dcb5f SHA256 e1cd2e27109fbdbc6d435f2c3a99c8a6ef2898941f5d2f7bacf0c1ad70158bcf EBUILD lv-4.51-r1.ebuild 928 RMD160 553e4d8073a150bf240853cfd07c664e5e6f5cf6 SHA1 b2ee886d136d6aff293a31a9da4bd8e2fabd32fb SHA256 d7adb054cd953765aff20a8eeb7825e2f51d61b81e6fa83b60a98d0a01c89f67 -MISC ChangeLog 3699 RMD160 f7322a08f9868e8bebce909e30650f7657baacd4 SHA1 5e26cc4feeaf3f40891a146577a53cb905c07810 SHA256 071b067892c517431a3d7b843c74b160000e3f1f6a4a146f91f07911d2709c22 -MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAkx1XhcACgkQkKaRLQcq0GLxfwCcD6cFek1towHqa0RycVsdb3WA -U7QAoLZalSNRlBMcNQaFxQZ3keiXCKI8 -=vuwm ------END PGP SIGNATURE----- +EBUILD lv-4.51-r2.ebuild 965 RMD160 71e27aa3317e168aa21217a755afd3b27876e869 SHA1 bb254ced07fe77d434e8e6b49fe229845153ac46 SHA256 5b87900a8da36e2f8f63281f7eedcf0b76e07b449a1171aa3534edbecfba41b5 +MISC ChangeLog 3870 RMD160 02c9074e9a21e2f621e77567095cf4bdcf63f3fb SHA1 857fc9bb30d4ea4d2f2bb52e38d73ef77d25e351 SHA256 85b7b55b6c9ca0d1b55af704d0f77744d55afd21182e42ae18499bb73b60350a +MISC metadata.xml 158 RMD160 3852afaaf28a37630993c0442eeb16eaee47d0f7 SHA1 2eb582eae6a2477a9ed984ea45f3b5f649954e54 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8 diff --git a/app-text/lv/files/lv-4.51-xz.diff b/app-text/lv/files/lv-4.51-xz.diff new file mode 100644 index 000000000000..cb41d8b18603 --- /dev/null +++ b/app-text/lv/files/lv-4.51-xz.diff @@ -0,0 +1,45 @@ +diff -ur lv451.orig/index.html lv451/index.html +--- lv451.orig/index.html ++++ lv451/index.html +@@ -301,8 +301,11 @@ + <P> + Compressed files that have suffix ``gz'', ``z'', or ``GZ'', ``Z'' are + extracted by lv using <I>zcat</I> (1), +- and ``bz2'' or ``BZ2'' with <I>bzcat</I> (1). +- Please install <I>zcat</I> and <I>bzcat</I> that can expand all of them. ++ ``bz2'' or ``BZ2'' with <I>bzcat</I> (1). ++ ``lzma'' or ``LZMA'' with <I>lzcat</I> (1). ++ and ``xz'' or ``XZ'' with <I>xzcat</I> (1). ++ Please install <I>zcat</I>, <I>bzcat</I>, <I>lzcat</I> and <I>xzcat</I> ++ that can expand all of them. + <P> + In case that standard output is not connected to an ordinal terminal + but to redirect or pipe-line, +diff -ur lv451.orig/src/stream.c lv451/src/stream.c +--- lv451.orig/src/stream.c ++++ lv451/src/stream.c +@@ -43,6 +43,8 @@ + + private byte *gz_filter = "zcat"; + private byte *bz2_filter = "bzcat"; ++private byte *lzma_filter = "lzcat"; ++private byte *xz_filter = "xzcat"; + + private stream_t *StreamAlloc() + { +@@ -75,10 +77,14 @@ + filter = gz_filter; + else if( !strcmp( "bz2", exts ) || !strcmp( "BZ2", exts ) ) + filter = bz2_filter; ++ else if( !strcmp( "lzma", exts ) || !strcmp( "LZMA", exts ) ) ++ filter = lzma_filter; ++ else if( !strcmp( "xz", exts ) || !strcmp( "XZ", exts ) ) ++ filter = xz_filter; + } + if( NULL != filter ){ + /* +- * zcat or bzcat ++ * zcat or bzcat or lzcat or xzcat + */ + if( NULL == (st->fp = (FILE *)tmpfile()) ) + perror( "temporary file" ), exit( -1 ); diff --git a/app-text/lv/lv-4.51-r2.ebuild b/app-text/lv/lv-4.51-r2.ebuild new file mode 100644 index 000000000000..9c60558faf05 --- /dev/null +++ b/app-text/lv/lv-4.51-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/lv/lv-4.51-r2.ebuild,v 1.1 2010/10/11 08:12:47 hattya Exp $ + +EAPI="3" + +inherit eutils toolchain-funcs + +IUSE="" + +MY_P="${PN}${PV//./}" + +DESCRIPTION="Powerful Multilingual File Viewer" +HOMEPAGE="http://www.ff.iij4u.or.jp/~nrt/lv/" +SRC_URI="http://www.ff.iij4u.or.jp/~nrt/freeware/${MY_P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +SLOT="0" +S="${WORKDIR}/${MY_P}" + +RDEPEND="sys-libs/ncurses + !app-editors/levee" +DEPEND="${RDEPEND} + dev-lang/perl" + +src_prepare() { + + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-xz.diff + +} + +src_compile() { + + ECONF_SOURCE=src econf || die + emake CC="$(tc-getCC)" || die + +} + +src_install() { + + emake DESTDIR="${D}" install || die + + dodoc README hello.sample + dohtml index.html relnote.html hello.sample.gif + +} diff --git a/app-text/lv/metadata.xml b/app-text/lv/metadata.xml index 2d5852c16c60..cb36a2fd8c76 100644 --- a/app-text/lv/metadata.xml +++ b/app-text/lv/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>cjk</herd> + <herd>cjk</herd> </pkgmetadata> |