summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2005-06-17 20:15:11 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2005-06-17 20:15:11 +0000
commit711f68e7186c2df1dca87a45d595af75e0f44498 (patch)
treead3fdda6129ee3b5f804191805696e93386d9d54 /app-text
parentStable on ppc. (diff)
downloadgentoo-2-711f68e7186c2df1dca87a45d595af75e0f44498.tar.gz
gentoo-2-711f68e7186c2df1dca87a45d595af75e0f44498.tar.bz2
gentoo-2-711f68e7186c2df1dca87a45d595af75e0f44498.zip
Initial portage version
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/evince/ChangeLog11
-rw-r--r--app-text/evince/Manifest5
-rw-r--r--app-text/evince/evince-0.3.1.ebuild85
-rw-r--r--app-text/evince/files/digest-evince-0.3.11
-rw-r--r--app-text/evince/files/evince-0.3.1-t1lib_is_t1.patch33
-rw-r--r--app-text/evince/metadata.xml8
6 files changed, 143 insertions, 0 deletions
diff --git a/app-text/evince/ChangeLog b/app-text/evince/ChangeLog
new file mode 100644
index 000000000000..68af2bc9807d
--- /dev/null
+++ b/app-text/evince/ChangeLog
@@ -0,0 +1,11 @@
+# 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.1 2005/06/17 20:15:11 dang Exp $
+
+*evince-0.3.1 (17 Jun 2005)
+
+ 17 Jun 2005; <dang@gentoo.org> +files/evince-0.3.1-t1lib_is_t1.patch,
+ +evince-0.3.1.ebuild:
+ Initial version of evince in portage. Thanks to numerous people in
+ bug #78956 for the initial ebuild and comments.
+
diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest
new file mode 100644
index 000000000000..c550a094d00e
--- /dev/null
+++ b/app-text/evince/Manifest
@@ -0,0 +1,5 @@
+MD5 3c9e4da2fac43f3b33a19bd00c2c2add evince-0.3.1.ebuild 1823
+MD5 b15cb36fe84782bc8abbbd5bb2fc8bfc ChangeLog 363
+MD5 80e3213c196ad3e4d107694f8064aad3 metadata.xml 220
+MD5 cb282319216c1397d7e84b39d6cc0e6f files/evince-0.3.1-t1lib_is_t1.patch 1175
+MD5 5657db834dcf44bba4220ca2eff0373d files/digest-evince-0.3.1 65
diff --git a/app-text/evince/evince-0.3.1.ebuild b/app-text/evince/evince-0.3.1.ebuild
new file mode 100644
index 000000000000..4cbefb493350
--- /dev/null
+++ b/app-text/evince/evince-0.3.1.ebuild
@@ -0,0 +1,85 @@
+# 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.3.1.ebuild,v 1.1 2005/06/17 20:15:11 dang Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="Simple document viewer for GNOME"
+HOMEPAGE="http://www.gnome.org/projects/evince/"
+LICENSE="GPL-2"
+
+IUSE="djvu doc dvi t1lib"
+# For use.local.desc:
+# app-text/evince:djvu - Enable DjVu files support
+# app-text/evince:t1lib - Enable Type1 fonts support in .dvi files
+
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND="
+ djvu? ( app-text/djvu )
+ >=app-text/poppler-0.3.0
+ >=dev-libs/atk-1.9
+ >=dev-libs/expat-1.95
+ >=dev-libs/glib-2
+ dev-libs/libxml2
+ dev-libs/openssl
+ dev-libs/popt
+ >=gnome-base/gconf-2.0
+ >=gnome-base/gnome-keyring-0.4
+ >=gnome-base/gnome-vfs-2.0
+ gnome-base/libbonobo
+ gnome-base/libbonoboui
+ >=gnome-base/libglade-2.0
+ gnome-base/libgnome
+ gnome-base/libgnomecanvas
+ >=gnome-base/libgnomeprint-2.2
+ >=gnome-base/libgnomeprintui-2.2
+ >=gnome-base/libgnomeui-2.4
+ >=gnome-base/orbit-2
+ media-libs/audiofile
+ media-libs/fontconfig
+ >=media-libs/freetype-2
+ media-libs/jpeg
+ media-libs/libart_lgpl
+ dvi? ( t1lib? ( >=media-libs/t1lib-5.0.0 ) )
+ media-sound/esound
+ net-misc/howl
+ virtual/x11
+ >=x11-libs/gtk+-2.6.1
+ x11-libs/pango
+ dvi? ( app-text/tetex )
+ "
+
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.12.0
+ >=dev-util/intltool-0.30"
+
+PROVIDE="virtual/pdfviewer
+ virtual/psviewer"
+
+G2CONF="${G2CONF} \
+ $(use_enable djvu) \
+ $(use_enable dvi) \
+ $(use_enable t1lib) \
+ --disable-deprecated"
+
+USE_DESTDIR="yes"
+ELTCONF="--portage"
+
+src_unpack(){
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-t1lib_is_t1.patch
+ autoconf || die "autoconf failed"
+ automake || die "automake 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.3.1 b/app-text/evince/files/digest-evince-0.3.1
new file mode 100644
index 000000000000..fb2e926dad80
--- /dev/null
+++ b/app-text/evince/files/digest-evince-0.3.1
@@ -0,0 +1 @@
+MD5 9338ba260855188cfebf3bfabf3a861a evince-0.3.1.tar.bz2 674654
diff --git a/app-text/evince/files/evince-0.3.1-t1lib_is_t1.patch b/app-text/evince/files/evince-0.3.1-t1lib_is_t1.patch
new file mode 100644
index 000000000000..979735a45a2c
--- /dev/null
+++ b/app-text/evince/files/evince-0.3.1-t1lib_is_t1.patch
@@ -0,0 +1,33 @@
+--- evince-0.3.0.orig/configure.ac 2005-05-08 20:44:46.000000000 +0200
++++ evince-0.3.0/configure.ac 2005-05-08 20:45:21.000000000 +0200
+@@ -149,7 +149,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,-lm)
+ fi
+
+ if test "x$enable_type1_fonts" = xyes; then
+--- evince-0.3.0.orig/dvi/Makefile.am 2005-05-08 20:39:09.000000000 +0200
++++ evince-0.3.0/dvi/Makefile.am 2005-05-08 20:46:03.000000000 +0200
+@@ -21,7 +21,7 @@
+ $(DVI_LIBS) -lkpathsea
+
+ if WITH_TYPE1_FONTS
+-libgtkdvi_la_LIBADD += -lt1lib
++libgtkdvi_la_LIBADD += -lt1 -lm
+ endif
+
+
+--- evince-0.3.0/dvi/mdvi-lib/t1.c.orig 2005-05-09 12:31:20.000000000 +0200
++++ evince-0.3.0/dvi/mdvi-lib/t1.c 2005-05-09 12:31:46.000000000 +0200
+@@ -174,7 +174,7 @@
+ DEBUG((DBG_TYPE1, "(t1) resetting device resolution (current: (%d,%d))\n",
+ t1lib_xdpi, t1lib_ydpi));
+
+- nfonts = T1_Get_no_fonts();
++ nfonts = T1_GetNoFonts();
+ for(i = 0; i < nfonts; i++)
+ T1_DeleteAllSizes(i);
+ /* reset device resolutions */
diff --git a/app-text/evince/metadata.xml b/app-text/evince/metadata.xml
new file mode 100644
index 000000000000..f86239598971
--- /dev/null
+++ b/app-text/evince/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>dang@gentoo.org</email>
+</maintainer>
+</pkgmetadata>