Add 0.4.0
authorDaniel Gryniewicz <dang@gentoo.org>
Tue, 30 Aug 2005 19:40:24 +0000 (19:40 +0000)
committerDaniel Gryniewicz <dang@gentoo.org>
Tue, 30 Aug 2005 19:40:24 +0000 (19:40 +0000)
Package-Manager: portage-2.0.51.22-r2

app-text/evince/ChangeLog
app-text/evince/Manifest
app-text/evince/evince-0.4.0.ebuild [new file with mode: 0644]
app-text/evince/files/digest-evince-0.4.0 [new file with mode: 0644]
app-text/evince/files/evince-0.4.0-t1lib_is_t1.patch [new file with mode: 0644]

index da9291092b1b1fd5e01cbffbd81727111fe6a030..b7f2748fde6f2fc24cfabcc9e5d4bc00fc018f6f 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for app-text/evince
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/evince/ChangeLog,v 1.7 2005/08/04 21:37:17 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/evince/ChangeLog,v 1.8 2005/08/30 19:40:24 dang Exp $
+
+*evince-0.4.0 (30 Aug 2005)
+
+  30 Aug 2005; <dang@gentoo.org> +files/evince-0.4.0-t1lib_is_t1.patch,
+  +evince-0.4.0.ebuild:
+  Add evince 0.4.0. Two things are missing from this ebuild: the nautilus
+  plugin (was cauing -fPIC errors), and djvu support (still waiting on a
+  revbump for that). Will revbump when those are fixed.
 
   04 Aug 2005; <dang@gentoo.org> evince-0.3.2.ebuild:
   Remove djvu support until new version of djvu is released. bug #101108
index 1cb5e1796be1b18ea5e644b70ad337a4a25a8404..ea2cd9736bb499a7ba1e7db0993ec994f2994417 100644 (file)
@@ -1,19 +1,22 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+MD5 52069416ee02cc54163f313df19ecba8 evince-0.4.0.ebuild 1587
 MD5 21eb73a36d506073e6684498ebfb34b6 evince-0.3.1.ebuild 1524
-MD5 d14a0e649201e462bfb31d21bf8e5f43 ChangeLog 1155
+MD5 f669c12d103f0a7bb8da3977ea33ea6b ChangeLog 1484
 MD5 80e3213c196ad3e4d107694f8064aad3 metadata.xml 220
 MD5 8045fd83007414f43da18ac9a3e705da evince-0.3.2.ebuild 1384
 MD5 cb282319216c1397d7e84b39d6cc0e6f files/evince-0.3.1-t1lib_is_t1.patch 1175
+MD5 755b327b4928ab9492b7c2aab72ef52d files/evince-0.4.0-t1lib_is_t1.patch 976
 MD5 cb282319216c1397d7e84b39d6cc0e6f files/evince-0.3.2-t1lib_is_t1.patch 1175
 MD5 5657db834dcf44bba4220ca2eff0373d files/digest-evince-0.3.1 65
 MD5 12dbf8f19f265cd6fd91fb3450e8c0ed files/digest-evince-0.3.2 65
+MD5 a8bcc7dab66f7a60936b49f43bc4e9a9 files/digest-evince-0.4.0 65
 MD5 09fa043eb4188cd63be7d39f0661ef8b files/evince-0.3.1-64bit.patch 492
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFC8orBomPajV0RnrERAr4jAKCDk+FEbhPkXUkvVu4Fr7eOzINbmgCfR083
-COrS3Ys/mVaxwpTsJI7JvF0=
-=zcmQ
+iD8DBQFDFLZFomPajV0RnrERAqkAAJ0eN57qXdx3VzE/8dvAzWJsZYrlggCdFk+0
+GbZdYFc27Z+ToFcp5UZzS98=
+=blQV
 -----END PGP SIGNATURE-----
diff --git a/app-text/evince/evince-0.4.0.ebuild b/app-text/evince/evince-0.4.0.ebuild
new file mode 100644 (file)
index 0000000..bd2fc02
--- /dev/null
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/evince/evince-0.4.0.ebuild,v 1.1 2005/08/30 19:40:24 dang Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="Simple document viewer for GNOME"
+HOMEPAGE="http://www.gnome.org/projects/evince/"
+LICENSE="GPL-2"
+
+IUSE="dbus doc dvi t1lib tiff"
+# For use.local.desc:
+# app-text/evince:t1lib - Enable Type1 fonts support in .dvi files
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+       dvi? ( app-text/tetex )
+       dvi? ( t1lib? ( >=media-libs/t1lib-5.0.0 ) )
+       dbus? ( >=sys-apps/dbus-0.33 )
+       tiff? ( media-libs/tiff )
+       >=app-text/poppler-0.4.1
+       >=app-text/gnome-doc-utils-0.3.2
+       >=dev-libs/glib-2
+       >=gnome-base/gnome-vfs-2.0
+       gnome-base/libgnome
+       >=gnome-base/libgnomeprintui-2.6
+       >=gnome-base/libgnomeui-2.6
+       >=x11-libs/gtk+-2.8
+       virtual/x11
+       "
+
+
+DEPEND="${RDEPEND}
+       app-text/scrollkeeper
+       >=dev-util/pkgconfig-0.12.0
+       >=dev-util/intltool-0.30"
+
+PROVIDE="virtual/pdfviewer
+       virtual/psviewer"
+
+G2CONF="${G2CONF} \
+       $(use_enable dvi) \
+       $(use_enable t1lib) \
+       $(use_enable dbus) \
+       $(use_enable tiff) \
+       --disable-nautilus
+       --disable-deprecated"
+
+USE_DESTDIR="yes"
+ELTCONF="--portage"
+
+src_unpack(){
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${P}-t1lib_is_t1.patch
+       automake || die "automake failed"
+       gnome2_omf_fix ${S}/help/Makefile.in
+       autoconf || die "autoconf failed"
+       libtoolize --force || die "libtoolize failed"
+}
+
+src_install() {
+       gnome2_src_install scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/
+}
+
+
+DOCS="AUTHORS ChangeLog NEWS README"
diff --git a/app-text/evince/files/digest-evince-0.4.0 b/app-text/evince/files/digest-evince-0.4.0
new file mode 100644 (file)
index 0000000..c35b49a
--- /dev/null
@@ -0,0 +1 @@
+MD5 cc41e30108bc54a345bd6ca2556ab857 evince-0.4.0.tar.bz2 891605
diff --git a/app-text/evince/files/evince-0.4.0-t1lib_is_t1.patch b/app-text/evince/files/evince-0.4.0-t1lib_is_t1.patch
new file mode 100644 (file)
index 0000000..b891f74
--- /dev/null
@@ -0,0 +1,22 @@
+diff --exclude-from=/home/dang/.diffrc -u -ruN evince-0.4.0.orig/configure.ac evince-0.4.0/configure.ac
+--- evince-0.4.0.orig/configure.ac     2005-08-26 00:04:22.000000000 -0400
++++ evince-0.4.0/configure.ac  2005-08-29 22:20:12.000000000 -0400
+@@ -234,7 +234,7 @@
+ 
+ if test "x$enable_dvi" = "xyes"; then
+     if test "x$enable_type1_fonts" = "xyes"; then
+-      AC_CHECK_LIB([t1lib],T1_InitLib,enable_type1_fonts=yes,enable_type1_fonts=no)
++      AC_CHECK_LIB([t1],T1_InitLib,enable_type1_fonts=yes,enable_type1_fonts=no)
+     fi
+ 
+     if test "x$enable_type1_fonts" = xyes; then
+diff --exclude-from=/home/dang/.diffrc -u -ruN evince-0.4.0.orig/dvi/mdvi-lib/Makefile.am evince-0.4.0/dvi/mdvi-lib/Makefile.am
+--- evince-0.4.0.orig/dvi/mdvi-lib/Makefile.am 2005-08-25 18:40:58.000000000 -0400
++++ evince-0.4.0/dvi/mdvi-lib/Makefile.am      2005-08-29 22:21:44.000000000 -0400
+@@ -42,5 +42,5 @@
+       -lkpathsea
+ 
+ if WITH_TYPE1_FONTS
+-libmdvi_la_LIBADD += -lt1lib
++libmdvi_la_LIBADD += -lt1
+ endif