summaryrefslogtreecommitdiff
path: root/app-text
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/epdfview/Manifest7
-rw-r--r--app-text/epdfview/epdfview-0.1.6-r1.ebuild49
-rw-r--r--app-text/epdfview/files/applymypatches.ebuild.patch14
-rw-r--r--app-text/epdfview/files/epdfview-0.1.6-gcc-4.3.patch11
-rw-r--r--app-text/epdfview/files/epdfview-0.1.6-print-segfault.patch95
-rw-r--r--app-text/epdfview/files/nofitfullscreen.patch14
-rw-r--r--app-text/epdfview/files/vikeybindings.patch42
7 files changed, 0 insertions, 232 deletions
diff --git a/app-text/epdfview/Manifest b/app-text/epdfview/Manifest
deleted file mode 100644
index e475577..0000000
--- a/app-text/epdfview/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-EBUILD epdfview-0.1.6-r1.ebuild 1259 RMD160 39fd26c61a7670d0704075f1d7bb882fa0ff5937 SHA1 da993821a07e95112a45b67f289396b9d1b88f29 SHA256 c3cfdefe6b9b45d3e2feb9db14fbad24170589de13f29fdc109932e8b4ca499e
-AUX applymypatches.ebuild.patch 447 RMD160 cefceb647ed07657d70713b0ae1200ebb7746d94 SHA1 c920f9f6a2286438ff221f967a347c4149c42c4b SHA256 20dfa808dd7f2a7fccd37840d81024260609451cbe84cc4eb08508e4f41b5c90
-AUX epdfview-0.1.6-gcc-4.3.patch 461 RMD160 762e02e1ec8362ec3d02ea9f66a6cd2754996b80 SHA1 31a379f94acd69ee475a718b011aaf559a5a4b55 SHA256 811b7f3226507594407e93c4509a6e4cf57a3d0d9f7caaf2f111d781e1892ae2
-AUX epdfview-0.1.6-print-segfault.patch 4188 RMD160 1688d3fc61e6f980be79c52cbf80c399d7f583f7 SHA1 04dbf1ebb27279446980a22f276553fc71f18772 SHA256 cd23bc65d175a6757eab6d5eb854ddd8c39d69bc959ba6fc7dbc27a3415b7472
-AUX nofitfullscreen.patch 524 RMD160 83d7bea15c2036c783a5d1781642a197b089bc10 SHA1 e1e9739cefe45ec0c956cf5d3abb85e1f76819c5 SHA256 34f2d6e4c74573e81b9ba866d4846762dbbd7a064e0266c92219d9bcb93db402
-AUX vikeybindings.patch 1169 RMD160 9d77eab822071d4ffbf70d48278e1b3625cb4672 SHA1 8c1d9e5d68ae42190c5a42b7acbf1979b788ef13 SHA256 4ad3ed2f78ba98e04cbd29ef128b2bcdca15ca91c8721bd8c1d87a1e8f929bdb
-DIST epdfview-0.1.6.tar.bz2 406037 RMD160 69484cd68c1d344dfc38d321abd1e07fd22521e3 SHA1 1bb3a1d85b1d5b13c24a38c144910ddc329e0f0e SHA256 61d041afc953e0570ddae934179e92edf800f69f043d78058073806504e4137f
diff --git a/app-text/epdfview/epdfview-0.1.6-r1.ebuild b/app-text/epdfview/epdfview-0.1.6-r1.ebuild
deleted file mode 100644
index a293982..0000000
--- a/app-text/epdfview/epdfview-0.1.6-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/epdfview-0.1.6-r1.ebuild,v 1.13 2009/04/10 23:20:31 loki_val Exp $
-
-EAPI="2"
-inherit eutils
-
-DESCRIPTION="Lightweight PDF viewer using Poppler and GTK+ libraries."
-HOMEPAGE="http://trac.emma-soft.com/epdfview/"
-SRC_URI="http://trac.emma-soft.com/epdfview/chrome/site/releases/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="cups nls test"
-
-COMMON_DEPEND=">=app-text/poppler-0.12.3-r3[cairo]
- >=x11-libs/gtk+-2.6:2
- cups? ( >=net-print/cups-1.1 )"
-DEPEND="${COMMON_DEPEND}
- >=dev-util/pkgconfig-0.9
- nls? ( sys-devel/gettext )
- test? ( dev-util/cppunit )"
-RDEPEND="${COMMON_DEPEND}
- nls? ( virtual/libintl )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-gcc-4.3.patch"
- epatch "${FILESDIR}/${P}-print-segfault.patch"
-
- # other useful patches
- epatch "${FILESDIR}/vikeybindings.patch"
- # my patches
- epatch "${FILESDIR}/nofitfullscreen.patch"
-}
-
-src_configure() {
- econf \
- $(use_enable cups) \
- $(use_with nls)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS NEWS README THANKS
-}
diff --git a/app-text/epdfview/files/applymypatches.ebuild.patch b/app-text/epdfview/files/applymypatches.ebuild.patch
deleted file mode 100644
index 12905c1..0000000
--- a/app-text/epdfview/files/applymypatches.ebuild.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- epdfview-0.1.6-r1.ebuild 2009-04-11 00:40:27.000000000 +0100
-+++ epdfview-0.1.6-r1.ebuild 2009-06-12 14:03:18.000000000 +0100
-@@ -30,6 +30,11 @@ src_unpack() {
-
- epatch "${FILESDIR}/${P}-gcc-4.3.patch"
- epatch "${FILESDIR}/${P}-print-segfault.patch"
-+
-+ # other useful patches
-+ epatch "${FILESDIR}/vikeybindings.patch"
-+ # my patches
-+ epatch "${FILESDIR}/nofitfullscreen.patch"
- }
-
- src_configure() {
diff --git a/app-text/epdfview/files/epdfview-0.1.6-gcc-4.3.patch b/app-text/epdfview/files/epdfview-0.1.6-gcc-4.3.patch
deleted file mode 100644
index a8835a9..0000000
--- a/app-text/epdfview/files/epdfview-0.1.6-gcc-4.3.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- IDocumentLink.h 2008-03-20 19:16:03.000000000 +0100
-+++ epdfview-1.6-r1/src/IDocumentLink.h 2008-03-20 19:16:43.000000000 +0100
-@@ -33,7 +33,7 @@
- class IDocumentLink
- {
- public:
-- IDocumentLink (gdouble x1, gdouble y1, gdouble x2, gdouble y1);
-+ IDocumentLink (gdouble x1, gdouble y1, gdouble x2, gdouble y2);
- virtual ~IDocumentLink (void);
-
- virtual void activate (IDocument *document) = 0;
diff --git a/app-text/epdfview/files/epdfview-0.1.6-print-segfault.patch b/app-text/epdfview/files/epdfview-0.1.6-print-segfault.patch
deleted file mode 100644
index 498febb..0000000
--- a/app-text/epdfview/files/epdfview-0.1.6-print-segfault.patch
+++ /dev/null
@@ -1,95 +0,0 @@
---- src/PrintPter.cxx (revision 262)
-+++ src/PrintPter.cxx (revision 281)
-@@ -231,17 +231,24 @@
- view.clearPageSizeList ();
- int pageSizeToSelect = 0;
-- ppd_choice_t *pageSizeChoice = pageSizeOption->choices;
-- for ( int currentSize = 0 ;
-- currentSize < pageSizeOption->num_choices ;
-- ++currentSize, ++pageSizeChoice )
-- {
-- const gchar *sizeName = pageSizeChoice->text;
-- const gchar *sizeValue = pageSizeChoice->choice;
--
-- view.addPageSize (_(sizeName), sizeValue);
-- if ( pageSizeChoice->marked )
-+ if ( 0 != pageSizeOption )
-+ {
-+ ppd_choice_t *pageSizeChoice = pageSizeOption->choices;
-+ for ( int currentSize = 0 ;
-+ currentSize < pageSizeOption->num_choices ;
-+ ++currentSize, ++pageSizeChoice )
- {
-- pageSizeToSelect = currentSize;
-+ const gchar *sizeName = pageSizeChoice->text;
-+ const gchar *sizeValue = pageSizeChoice->choice;
-+
-+ view.addPageSize (_(sizeName), sizeValue);
-+ if ( pageSizeChoice->marked )
-+ {
-+ pageSizeToSelect = currentSize;
-+ }
- }
-+ }
-+ else
-+ {
-+ view.addPageSize (_("A4"), "A4");
- }
- view.selectPageSize (pageSizeToSelect);
-@@ -252,17 +259,24 @@
- view.clearResolutionList ();
- int resolutionToSelect = 0;
-- ppd_choice_t *resolutionChoice = resolutionOption->choices;
-- for ( int currentRes = 0 ;
-- currentRes < resolutionOption->num_choices ;
-- ++currentRes, ++resolutionChoice )
-- {
-- const gchar *resName = resolutionChoice->text;
-- const gchar *resValue = resolutionChoice->choice;
--
-- view.addResolution (_(resName), resValue);
-- if ( resolutionChoice->marked )
-+ if ( 0 != resolutionOption )
-+ {
-+ ppd_choice_t *resolutionChoice = resolutionOption->choices;
-+ for ( int currentRes = 0 ;
-+ currentRes < resolutionOption->num_choices ;
-+ ++currentRes, ++resolutionChoice )
- {
-- resolutionToSelect = currentRes;
-+ const gchar *resName = resolutionChoice->text;
-+ const gchar *resValue = resolutionChoice->choice;
-+
-+ view.addResolution (_(resName), resValue);
-+ if ( resolutionChoice->marked )
-+ {
-+ resolutionToSelect = currentRes;
-+ }
- }
-+ }
-+ else
-+ {
-+ view.addResolution (_("300 DPI"), "300x300dpi");
- }
- view.selectResolution (resolutionToSelect);
-@@ -272,7 +286,7 @@
- ppdFindOption (printerPPD, "ColorModel");
- view.clearColorModelList ();
-+ int colorModelToSelect = 0;
- if ( NULL != colorModelOption )
- {
-- int colorModelToSelect = 0;
- ppd_choice_t *colorModelChoice = colorModelOption->choices;
- for ( int currentColor = 0 ;
-@@ -289,5 +303,4 @@
- }
- }
-- view.selectColorModel (colorModelToSelect);
- }
- else
-@@ -295,4 +308,5 @@
- view.addColorModel (_("Grayscale"), "Gray");
- }
-+ view.selectColorModel (colorModelToSelect);
- ppdClose (printerPPD);
- }
diff --git a/app-text/epdfview/files/nofitfullscreen.patch b/app-text/epdfview/files/nofitfullscreen.patch
deleted file mode 100644
index 72540e4..0000000
--- a/app-text/epdfview/files/nofitfullscreen.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: src/gtk/MainView.cxx
-===================================================================
---- src/gtk/MainView.cxx (revision 312)
-+++ src/gtk/MainView.cxx (working copy)
-@@ -699,9 +699,6 @@
- gtk_widget_hide (toolBar);
- gtk_widget_hide (m_StatusBar);
- gtk_widget_hide (m_Sidebar);
-- gtk_toggle_action_set_active (
-- GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager,
-- "/MenuBar/ViewMenu/ZoomFit")), TRUE);
- }
- else
- {
diff --git a/app-text/epdfview/files/vikeybindings.patch b/app-text/epdfview/files/vikeybindings.patch
deleted file mode 100644
index 2e4b4d4..0000000
--- a/app-text/epdfview/files/vikeybindings.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Index: src/gtk/PageView.cxx
-===================================================================
---- src/gtk/PageView.cxx (revision 296)
-+++ src/gtk/PageView.cxx (revision 300)
-@@ -572,23 +572,37 @@
- {
- case GDK_Left:
- case GDK_KP_Left:
-+ case GDK_h:
- direction = GTK_SCROLL_STEP_LEFT;
- horizontal = TRUE;
- break;
-
- case GDK_Right:
- case GDK_KP_Right:
-+ case GDK_l:
- horizontal = TRUE;
- direction = GTK_SCROLL_STEP_RIGHT;
- break;
-
- case GDK_Up:
- case GDK_KP_Up:
-+ case GDK_k:
-+ if ( position == adjustment->lower )
-+ {
-+ pter->scrollToPreviousPage ();
-+ return TRUE;
-+ }
- direction = GTK_SCROLL_STEP_UP;
- break;
-
- case GDK_Down:
- case GDK_KP_Down:
-+ case GDK_j:
-+ if ( position == ( adjustment->upper - adjustment->page_size) )
-+ {
-+ pter->scrollToNextPage ();
-+ return TRUE;
-+ }
- direction = GTK_SCROLL_STEP_DOWN;
- break;
-