diff options
author | drochner <drochner@pkgsrc.org> | 2011-07-11 10:44:29 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-07-11 10:44:29 +0000 |
commit | 313428996ca202bb5a5f19738bfb24ab41060c61 (patch) | |
tree | d805e99c71124601a436ffd78889a6146d518ce1 /print/epdfview | |
parent | 96c61ac95c81b2a2ef49f35d99aa977e13e660c0 (diff) | |
download | pkgsrc-313428996ca202bb5a5f19738bfb24ab41060c61.tar.gz |
update to 0.1.8
changes:
-UI improvements
-new manpage
-bugfixes
-translation updates
Diffstat (limited to 'print/epdfview')
-rw-r--r-- | print/epdfview/Makefile | 5 | ||||
-rw-r--r-- | print/epdfview/PLIST | 8 | ||||
-rw-r--r-- | print/epdfview/distinfo | 13 | ||||
-rw-r--r-- | print/epdfview/patches/patch-aa | 45 | ||||
-rw-r--r-- | print/epdfview/patches/patch-ab | 18 | ||||
-rw-r--r-- | print/epdfview/patches/patch-ac | 31 | ||||
-rw-r--r-- | print/epdfview/patches/patch-ba | 50 | ||||
-rw-r--r-- | print/epdfview/patches/patch-bb | 22 |
8 files changed, 13 insertions, 179 deletions
diff --git a/print/epdfview/Makefile b/print/epdfview/Makefile index e104b64906d..f8bf780c6c3 100644 --- a/print/epdfview/Makefile +++ b/print/epdfview/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.20 2011/04/22 13:44:31 obache Exp $ +# $NetBSD: Makefile,v 1.21 2011/07/11 10:44:29 drochner Exp $ # -DISTNAME= epdfview-0.1.7 -PKGREVISION= 13 +DISTNAME= epdfview-0.1.8 CATEGORIES= print MASTER_SITES= http://trac.emma-soft.com/epdfview/chrome/site/releases/ EXTRACT_SUFX= .tar.bz2 diff --git a/print/epdfview/PLIST b/print/epdfview/PLIST index db0820c16f5..1cec87c9f87 100644 --- a/print/epdfview/PLIST +++ b/print/epdfview/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.5 2009/06/14 18:11:54 joerg Exp $ +@comment $NetBSD: PLIST,v 1.6 2011/07/11 10:44:29 drochner Exp $ bin/epdfview +man/man1/epdfview.1 share/applications/epdfview.desktop share/epdfview/pixmaps/icon_epdfview-24.png share/epdfview/pixmaps/icon_epdfview-32.png @@ -11,6 +12,7 @@ share/epdfview/pixmaps/stock_rotate-90.png share/epdfview/pixmaps/stock_zoom-page-width.png share/epdfview/ui/epdfview-ui-print.xml share/epdfview/ui/epdfview-ui.xml +share/locale/ar/LC_MESSAGES/epdfview.mo share/locale/ca/LC_MESSAGES/epdfview.mo share/locale/cs/LC_MESSAGES/epdfview.mo share/locale/de/LC_MESSAGES/epdfview.mo @@ -18,8 +20,12 @@ share/locale/el/LC_MESSAGES/epdfview.mo share/locale/es/LC_MESSAGES/epdfview.mo share/locale/eu/LC_MESSAGES/epdfview.mo share/locale/fr/LC_MESSAGES/epdfview.mo +share/locale/gl/LC_MESSAGES/epdfview.mo +share/locale/he_IL/LC_MESSAGES/epdfview.mo +share/locale/hu/LC_MESSAGES/epdfview.mo share/locale/it/LC_MESSAGES/epdfview.mo share/locale/ja/LC_MESSAGES/epdfview.mo +share/locale/nl_NL/LC_MESSAGES/epdfview.mo share/locale/pl/LC_MESSAGES/epdfview.mo share/locale/pt_BR/LC_MESSAGES/epdfview.mo share/locale/pt_PT/LC_MESSAGES/epdfview.mo diff --git a/print/epdfview/distinfo b/print/epdfview/distinfo index 0257b8259b0..df2eca80e4d 100644 --- a/print/epdfview/distinfo +++ b/print/epdfview/distinfo @@ -1,10 +1,5 @@ -$NetBSD: distinfo,v 1.7 2011/04/18 17:10:23 drochner Exp $ +$NetBSD: distinfo,v 1.8 2011/07/11 10:44:29 drochner Exp $ -SHA1 (epdfview-0.1.7.tar.bz2) = ff46942c285b8e2c28766a38cdfce1a018b4a015 -RMD160 (epdfview-0.1.7.tar.bz2) = 485399d1982a3f8128322ee7e13d46225573bae3 -Size (epdfview-0.1.7.tar.bz2) = 443609 bytes -SHA1 (patch-aa) = 6c5b2766836cf3610c92feb5fdcc5de0dd75534d -SHA1 (patch-ab) = 67ab5dd3c5c2d4af5e2aeddc77e4714c9e96b008 -SHA1 (patch-ac) = 64056116653246b5ae89af7247dfd790d4aab724 -SHA1 (patch-ba) = 92644aa2aa9012e2e97ee8e13f2964eb7cf96703 -SHA1 (patch-bb) = cf24cafa8460100a9ba6dd1d06d7205d10d28d3f +SHA1 (epdfview-0.1.8.tar.bz2) = 72da8958f58cf7ec55b55541f2e67895b402df3f +RMD160 (epdfview-0.1.8.tar.bz2) = f9444fe278863fdbb545543957a8777e1129ffed +Size (epdfview-0.1.8.tar.bz2) = 466270 bytes diff --git a/print/epdfview/patches/patch-aa b/print/epdfview/patches/patch-aa deleted file mode 100644 index cf57730cfee..00000000000 --- a/print/epdfview/patches/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2009/08/14 23:20:29 snj Exp $ - ---- src/gtk/MainView.cxx.orig 2009-02-28 13:00:55.000000000 -0800 -+++ src/gtk/MainView.cxx 2009-08-14 16:10:10.000000000 -0700 -@@ -77,7 +77,7 @@ static void main_window_zoom_in_cb (GtkW - static void main_window_zoom_out_cb (GtkWidget *, gpointer); - static void main_window_zoom_width_cb (GtkToggleAction *, gpointer); - static void main_window_set_page_mode (GtkRadioAction *, GtkRadioAction *, gpointer); --static void main_window_page_scrolled_cb (GtkWidget *widget, GdkEventScroll *event, gpointer data); -+static gboolean main_window_page_scrolled_cb (GtkWidget *widget, GdkEventScroll *event, gpointer data); - - #if defined (HAVE_CUPS) - static void main_window_print_cb (GtkWidget *, gpointer); -@@ -1479,18 +1479,25 @@ main_window_set_page_mode (GtkRadioActio - pter->setPageMode (mode); - } - --void -+gboolean - main_window_page_scrolled_cb (GtkWidget *widget, GdkEventScroll *event, gpointer data) - { - g_assert ( NULL != data && "The data parameter is NULL."); - - MainPter *pter = (MainPter *)data; - // Only zoom when the CTRL-Button is down... -- if ( !(event->state & GDK_CONTROL_MASK) ) return; -- if ( event->direction == GDK_SCROLL_UP ) { -- pter->zoomInActivated (); -- } else if ( event->direction == GDK_SCROLL_DOWN ) { -- pter->zoomOutActivated (); -+ if ( GDK_CONTROL_MASK == (event->state & GDK_CONTROL_MASK) ) -+ { -+ if ( event->direction == GDK_SCROLL_UP ) -+ { -+ pter->zoomInActivated (); -+ } -+ else if ( event->direction == GDK_SCROLL_DOWN ) -+ { -+ pter->zoomOutActivated (); -+ } -+ return TRUE; - } -+ return FALSE; - } - diff --git a/print/epdfview/patches/patch-ab b/print/epdfview/patches/patch-ab deleted file mode 100644 index 2d1f0331124..00000000000 --- a/print/epdfview/patches/patch-ab +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2009/08/14 23:20:29 snj Exp $ - ---- src/gtk/PageView.cxx.orig 2009-02-28 13:00:35.000000000 -0800 -+++ src/gtk/PageView.cxx 2009-08-14 16:10:46.000000000 -0700 -@@ -527,13 +527,6 @@ page_view_scrolled_cb (GtkWidget *widget - { - g_assert ( NULL != data && "The data parameter is NULL."); - -- // don't scroll when the CRTL-Button is down, because then the page should -- // actually be zoomed and not scrolled. Zooming is handelt by the MainView -- // class. -- if ( event->state & GDK_CONTROL_MASK ) -- { -- return FALSE; -- } - PagePter *pter = (PagePter *)data; - GtkAdjustment *adjustment = - gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (widget)); diff --git a/print/epdfview/patches/patch-ac b/print/epdfview/patches/patch-ac deleted file mode 100644 index 17401df1988..00000000000 --- a/print/epdfview/patches/patch-ac +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-ac,v 1.3 2011/04/18 17:10:23 drochner Exp $ - ---- src/PDFDocument.cxx.orig 2009-02-28 21:00:35.000000000 +0000 -+++ src/PDFDocument.cxx -@@ -324,7 +324,7 @@ PDFDocument::loadMetadata (void) - gchar *format = NULL; - gchar *keywords = NULL; - PopplerPageLayout layout = POPPLER_PAGE_LAYOUT_UNSET; -- gchar *linearized = NULL; -+ gboolean linearized = 0; - GTime modDate; - PopplerPageMode mode = POPPLER_PAGE_MODE_UNSET; - gchar *producer = NULL; -@@ -680,13 +680,13 @@ PDFDocument::setTextSelection (DocumentR - - //for get text we must exchange y coordinate, don't ask me where logic here. - PopplerRectangle textRect = { rect->getX1() / getZoom(), -- (pageHeight - rect->getY2() / getZoom()), -- rect->getX2() * getZoom() / getZoom(), -- (pageHeight - rect->getY1() / getZoom())}; -+ rect->getY1() / getZoom(), -+ rect->getX2() / getZoom(), -+ rect->getY2() / getZoom()}; - repairEmpty(textRect); - - #if defined (HAVE_POPPLER_0_6_0) -- gchar *text = poppler_page_get_text(page, POPPLER_SELECTION_GLYPH, -+ gchar *text = poppler_page_get_selected_text(page, POPPLER_SELECTION_GLYPH, - &textRect); - #else // !HAVE_POPPLER_0_6_0 - gchar *text = poppler_page_get_text(page, &textRect); diff --git a/print/epdfview/patches/patch-ba b/print/epdfview/patches/patch-ba deleted file mode 100644 index 519f6df266b..00000000000 --- a/print/epdfview/patches/patch-ba +++ /dev/null @@ -1,50 +0,0 @@ -$NetBSD: patch-ba,v 1.1 2011/04/18 17:10:23 drochner Exp $ - ---- src/IDocument.cxx.orig 2009-02-28 21:00:35.000000000 +0000 -+++ src/IDocument.cxx -@@ -135,7 +135,7 @@ IDocument::IDocument () - m_FindPage = 0; - m_Format = NULL; - m_Keywords = NULL; -- m_Linearized = NULL; -+ m_Linearized = 0; - m_ModifiedDate = NULL; - m_PageCache = NULL; - m_PageCacheAge = 0; -@@ -164,7 +164,6 @@ IDocument::~IDocument () - g_free (m_FileName); - g_free (m_Format); - g_free (m_Keywords); -- g_free (m_Linearized); - g_free (m_ModifiedDate); - g_free (m_Password); - g_free (m_Producer); -@@ -755,11 +754,11 @@ IDocument::setFormat (gchar *format) - const gchar * - IDocument::getLinearized () - { -- if ( NULL == m_Linearized ) -+ if ( !m_Linearized ) - { - return "No"; - } -- return m_Linearized; -+ return "Yes"; - } - - /// -@@ -769,12 +768,9 @@ IDocument::getLinearized () - /// otherwise. IDocument will free it. - /// - void --IDocument::setLinearized (gchar *linearized) -+IDocument::setLinearized (gboolean linearized) - { -- gchar *oldLinearized = m_Linearized; -- m_Linearized = g_strdup (linearized); -- g_free (oldLinearized); -- g_free (linearized); -+ m_Linearized = linearized; - } - - /// diff --git a/print/epdfview/patches/patch-bb b/print/epdfview/patches/patch-bb deleted file mode 100644 index 44673e7d939..00000000000 --- a/print/epdfview/patches/patch-bb +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-bb,v 1.1 2011/04/18 17:10:23 drochner Exp $ - ---- src/IDocument.h.orig 2009-02-28 21:00:35.000000000 +0000 -+++ src/IDocument.h -@@ -306,7 +306,7 @@ namespace ePDFView - const gchar *getFormat (void); - void setFormat (gchar *format); - const gchar *getLinearized (void); -- void setLinearized (gchar *linearized); -+ void setLinearized (gboolean linearized); - const gchar *getCreationDate (void); - void setCreationDate (gchar *date); - const gchar *getModifiedDate (void); -@@ -382,7 +382,7 @@ namespace ePDFView - /// The document's keyword. - gchar *m_Keywords; - /// Tells if the document is linearized or not. -- gchar *m_Linearized; -+ gboolean m_Linearized; - /// The document's modification date and time. - gchar *m_ModifiedDate; - /// @brief The list of classes that will receive notifications |