Ticket #42443: patch-obsolete-epdfview.diff

File patch-obsolete-epdfview.diff, 2.2 KB (added by dbevans (David B. Evans), 11 years ago)

Proposed patch to obsolete epdfview

  • Portfile

     
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    3 PortSystem 1.0
     4PortSystem      1.0
    45
    5 name            epdfview
    6 version         0.1.8
    7 revision        2
    8 license         GPL-2
    9 description     ePDFview is a light weight PDF viewer.
    10 long_description ${description}
    11 maintainers     aero.org:scottm openmaintainer
    12 categories      print x11
    13 platforms       darwin
    14 homepage        http://trac.emma-soft.com/epdfview/
     6replaced_by     evince
     7PortGroup       obsolete 1.0
    158
    16 master_sites    http://trac.emma-soft.com/epdfview/chrome/site/releases/
    17 use_bzip2       yes
    18 checksums       md5     e50285b01612169b2594fea375f53ae4
    19 
    20 depends_build \
    21     port:pkgconfig
    22 depends_lib     \
    23     port:poppler \
    24     port:gtk2
    25 
    26 patchfiles      patch-epdfview.h \
    27                 patch-src-gtk-StockIcons.h.diff
    28 
    29 post-patch {
    30      move ${worksrcpath}/src/Config.h ${worksrcpath}/src/epdfConfig.h
    31 }
     9name            epdfview
     10version         0.1.8
     11revision        3
     12license         none
     13categories      print x11
  • files/patch-epdfview.h

     
    1 --- /tmp/epdfview.h     2007-07-18 13:10:03.000000000 -0700
    2 +++ src/epdfview.h      2007-07-18 13:10:06.000000000 -0700
    3 @@ -22,7 +22,7 @@
    4  #include <gettext.h>
    5  #include <glib.h>
    6  
    7 -#include <Config.h>
    8 +#include <epdfConfig.h>
    9  
    10  #include <DocumentRectangle.h>
    11  #include <IDocumentLink.h>
  • files/patch-src-gtk-StockIcons.h.diff

     
    1 --- src/gtk/StockIcons.h.orig   2012-07-30 14:34:47.000000000 -0700
    2 +++ src/gtk/StockIcons.h        2012-07-30 14:35:16.000000000 -0700
    3 @@ -18,7 +18,7 @@
    4  #if !defined (__STOCK_ICONS_H__)
    5  #define __STOCK_ICONS_H__
    6  
    7 -#include <glib/gmacros.h>
    8 +#include <glib.h>
    9  
    10  G_BEGIN_DECLS
    11