Index: head/graphics/epdfview/files/patch-PrintPtr.cxx =================================================================== --- head/graphics/epdfview/files/patch-PrintPtr.cxx (revision 230757) +++ head/graphics/epdfview/files/patch-PrintPtr.cxx (nonexistent) @@ -1,103 +0,0 @@ -diff -Naur ./src/PrintPter.cxx ../epdfview-0.1.6/src/PrintPter.cxx ---- ./src/PrintPter.cxx 2008-08-28 15:27:16.000000000 +0200 -+++ ../epdfview-0.1.6/src/PrintPter.cxx 2008-08-28 15:27:32.000000000 +0200 -@@ -230,20 +230,27 @@ - ppdFindOption (printerPPD, "PageSize"); - view.clearPageSizeList (); - int pageSizeToSelect = 0; -- ppd_choice_t *pageSizeChoice = pageSizeOption->choices; -- for ( int currentSize = 0 ; -- currentSize < pageSizeOption->num_choices ; -- ++currentSize, ++pageSizeChoice ) -+ if ( 0 != pageSizeOption ) - { -- const gchar *sizeName = pageSizeChoice->text; -- const gchar *sizeValue = pageSizeChoice->choice; -- -- view.addPageSize (_(sizeName), sizeValue); -- if ( pageSizeChoice->marked ) -+ 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); - - // Get the resolutions. -@@ -251,29 +258,36 @@ - ppdFindOption (printerPPD, "Resolution"); - view.clearResolutionList (); - int resolutionToSelect = 0; -- ppd_choice_t *resolutionChoice = resolutionOption->choices; -- for ( int currentRes = 0 ; -- currentRes < resolutionOption->num_choices ; -- ++currentRes, ++resolutionChoice ) -+ if ( 0 != resolutionOption ) - { -- const gchar *resName = resolutionChoice->text; -- const gchar *resValue = resolutionChoice->choice; -- -- view.addResolution (_(resName), resValue); -- if ( resolutionChoice->marked ) -+ 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); - - // Get the color models. - ppd_option_t *colorModelOption = - ppdFindOption (printerPPD, "ColorModel"); - view.clearColorModelList (); -+ int colorModelToSelect = 0; - if ( NULL != colorModelOption ) - { -- int colorModelToSelect = 0; - ppd_choice_t *colorModelChoice = colorModelOption->choices; - for ( int currentColor = 0 ; - currentColor < colorModelOption->num_choices ; -@@ -288,12 +302,12 @@ - colorModelToSelect = currentColor; - } - } -- view.selectColorModel (colorModelToSelect); - } - else - { - view.addColorModel (_("Grayscale"), "Gray"); - } -+ view.selectColorModel (colorModelToSelect); - ppdClose (printerPPD); - } - } Property changes on: head/graphics/epdfview/files/patch-PrintPtr.cxx ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/graphics/epdfview/Makefile =================================================================== --- head/graphics/epdfview/Makefile (revision 230757) +++ head/graphics/epdfview/Makefile (revision 230758) @@ -1,58 +1,57 @@ # New ports collection makefile for: epdfview # Date created: 2006/06/01 # Whom: chinsan # # $FreeBSD$ # PORTNAME= epdfview -PORTVERSION= 0.1.6 -PORTREVISION= 7 +PORTVERSION= 0.1.7 CATEGORIES= graphics print gnome MASTER_SITES= http://trac.emma-soft.com/epdfview/chrome/site/releases/ \ LOCAL/chinsan MAINTAINER= chinsan@FreeBSD.org COMMENT= A lightweight PDF document viewer BUILD_DEPENDS= cppunit-config:${PORTSDIR}/devel/cppunit LIB_DEPENDS= poppler-glib.3:${PORTSDIR}/graphics/poppler-gtk USE_BZIP2= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_ICONV= yes USE_GMAKE= yes USE_GNOME= gtk20 intlhack CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" OPTIONS= CUPS "Use cups printing system" off \ NLS "Native language support" on .include .if defined(WITH_CUPS) CONFIGURE_ARGS+=--with-cups LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base .else CONFIGURE_ARGS+=--without-cups .endif .if !defined(WITHOUT_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS="" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif post-install: ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${PREFIX}/share/applications/ @-update-desktop-database .include Property changes on: head/graphics/epdfview/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.17 \ No newline at end of property +1.18 \ No newline at end of property Index: head/graphics/epdfview/distinfo =================================================================== --- head/graphics/epdfview/distinfo (revision 230757) +++ head/graphics/epdfview/distinfo (revision 230758) @@ -1,3 +1,3 @@ -MD5 (epdfview-0.1.6.tar.bz2) = cce9edb41b4a8308e0ef0eea24b5a1ab -SHA256 (epdfview-0.1.6.tar.bz2) = 61d041afc953e0570ddae934179e92edf800f69f043d78058073806504e4137f -SIZE (epdfview-0.1.6.tar.bz2) = 406037 +MD5 (epdfview-0.1.7.tar.bz2) = 1919bb19c16ef0a97d48b0a8303d3c7b +SHA256 (epdfview-0.1.7.tar.bz2) = 0afbb0f348d4ba916cf58da48b4749b7cca6a9038136b27dc652161913704ae8 +SIZE (epdfview-0.1.7.tar.bz2) = 443609 Property changes on: head/graphics/epdfview/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/graphics/epdfview/pkg-plist =================================================================== --- head/graphics/epdfview/pkg-plist (revision 230757) +++ head/graphics/epdfview/pkg-plist (revision 230758) @@ -1,25 +1,33 @@ bin/epdfview %%NLS%%share/locale/ca/LC_MESSAGES/epdfview.mo +%%NLS%%share/locale/cs/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/de/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/el/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/es/LC_MESSAGES/epdfview.mo +%%NLS%%share/locale/eu/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/fr/LC_MESSAGES/epdfview.mo +%%NLS%%share/locale/it/LC_MESSAGES/epdfview.mo +%%NLS%%share/locale/ja/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/pl/LC_MESSAGES/epdfview.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/epdfview.mo +%%NLS%%share/locale/pt_PT/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/ru/LC_MESSAGES/epdfview.mo +%%NLS%%share/locale/sv/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/vi/LC_MESSAGES/epdfview.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/epdfview.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/epdfview.mo share/applications/epdfview.desktop %%DATADIR%%/pixmaps/icon_epdfview-24.png %%DATADIR%%/pixmaps/icon_epdfview-32.png %%DATADIR%%/pixmaps/icon_epdfview-48.png %%DATADIR%%/pixmaps/stock_find_next_24.png %%DATADIR%%/pixmaps/stock_find_previous_24.png %%DATADIR%%/pixmaps/stock_rotate-90.png %%DATADIR%%/pixmaps/stock_rotate-270.png %%DATADIR%%/pixmaps/stock_zoom-page-width.png %%DATADIR%%/ui/epdfview-ui-print.xml %%DATADIR%%/ui/epdfview-ui.xml @dirrmtry share/applications @dirrmtry %%DATADIR%%/pixmaps @dirrmtry %%DATADIR%%/ui @dirrmtry %%DATADIR%% Property changes on: head/graphics/epdfview/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property