epdfview: updated to 0.1.8.
This commit is contained in:
parent
2c19438c7a
commit
6e73643d0a
@ -1,6 +1,9 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/epdfview
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/epdfview.1.gz
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/epdfview.desktop
|
||||
|
@ -1,2 +1 @@
|
||||
1919bb19c16ef0a97d48b0a8303d3c7b epdfview-0.1.7.tar.bz2
|
||||
b1d6f2bd39446fe23f8a279b66bcb1d7 epdfview.diff
|
||||
e50285b01612169b2594fea375f53ae4 epdfview-0.1.8.tar.bz2
|
||||
|
@ -1,20 +1,16 @@
|
||||
# Description: a GTK based pdf viewer
|
||||
# URL: http://www.emma-soft.com/projects/epdfview
|
||||
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
||||
# Depends on: poppler
|
||||
# Depends on: poppler poppler-glib
|
||||
|
||||
name=epdfview
|
||||
version=0.1.7
|
||||
release=2
|
||||
source=(http://www.emma-soft.com/projects/epdfview/chrome/site/releases/$name-$version.tar.bz2
|
||||
$name.diff)
|
||||
version=0.1.8
|
||||
release=1
|
||||
source=(http://www.emma-soft.com/projects/epdfview/chrome/site/releases/$name-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -p1 -i $SRC/$name.diff
|
||||
|
||||
./configure --prefix=/usr --disable-nls
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
./configure --prefix=/usr --disable-nls --mandir=/usr/man
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
@ -1,35 +0,0 @@
|
||||
Fixes CRUX bug #442. Patch taken from Arch Linux, I think.
|
||||
|
||||
--- ./src/gtk/MainView.cxx.old 2009-02-28 22:00:55.000000000 +0100
|
||||
+++ ./src/gtk/MainView.cxx 2009-03-20 03:12:10.000000000 +0100
|
||||
@@ -77,7 +77,7 @@
|
||||
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,19 @@
|
||||
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->state & GDK_CONTROL_MASK) ) return FALSE;
|
||||
if ( event->direction == GDK_SCROLL_UP ) {
|
||||
pter->zoomInActivated ();
|
||||
} else if ( event->direction == GDK_SCROLL_DOWN ) {
|
||||
pter->zoomOutActivated ();
|
||||
}
|
||||
+ return TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user