[Lunar-commits] <moonbase> epdfview: fix compilation with poppler 0.16.0

Paul Bredbury brebs at lunar-linux.org
Mon Jan 17 17:32:08 CET 2011


commit 9774c4ce4e231ccbd6319981d37e2d6cf3e99a2a
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Mon Jan 17 23:32:08 2011 +0700

    epdfview: fix compilation with poppler 0.16.0
    
    And other small improvements.
---
 x11-apps/epdfview/BUILD   |   10 +++++++++-
 x11-apps/epdfview/DETAILS |    9 ++++++---
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/x11-apps/epdfview/BUILD b/x11-apps/epdfview/BUILD
index 027bee4..b7b60f8 100644
--- a/x11-apps/epdfview/BUILD
+++ b/x11-apps/epdfview/BUILD
@@ -1,6 +1,14 @@
 (
 
-  sedit "s:Icon=:Icon=/usr/share/epdfview/pixmaps/:" data/epdfview.desktop &&
+  # Fix compilation with poppler 0.16.0, and miscellaneous bugs
+  patch_it $SOURCE2 1 &&
+
+  # XFCE 4.6 needs the .png file extension specified
+  sedit "/^Icon=/s/.*/Icon=\/usr\/share\/epdfview\/pixmaps\/icon_epdfview-48.png/" data/epdfview.desktop &&
+
+  # Makefile.am: required file `./ChangeLog' not found
+  touch ChangeLog &&
+  autoreconf -fi &&
 
   default_build
 
diff --git a/x11-apps/epdfview/DETAILS b/x11-apps/epdfview/DETAILS
index 619dfd9..7bc5459 100644
--- a/x11-apps/epdfview/DETAILS
+++ b/x11-apps/epdfview/DETAILS
@@ -1,11 +1,14 @@
           MODULE=epdfview
          VERSION=0.1.7
           SOURCE=$MODULE-$VERSION.tar.bz2
-      SOURCE_URL=http://www.emma-soft.com/projects/epdfview/chrome/site/releases
+         SOURCE2=epdfview-0.1.7-poppler-0.16.0.patch.bz2
+      SOURCE_URL=http://trac.emma-soft.com/epdfview/chrome/site/releases
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:ff46942c285b8e2c28766a38cdfce1a018b4a015
-        WEB_SITE=http://www.emma-soft.com/projects/epdfview
+     SOURCE2_VFY=sha1:ccc9f5d616860a4776dbcd0a02c2296028a9e2e7
+        WEB_SITE=http://trac.emma-soft.com/epdfview
          ENTERED=20060417
-         UPDATED=20090515
+         UPDATED=20110116
            SHORT="A lightweight PDF document viewer"
 
 cat << EOF


More information about the Lunar-commits mailing list