[arch-commits] Commit in mcomix/trunk (PKGBUILD zoom.patch)

Jakob Gruber schuay at archlinux.org
Tue Feb 3 09:25:56 UTC 2015


    Date: Tuesday, February 3, 2015 @ 10:25:56
  Author: schuay
Revision: 127026

mcomix-1.01

Modified:
  mcomix/trunk/PKGBUILD
Deleted:
  mcomix/trunk/zoom.patch

------------+
 PKGBUILD   |   14 ++++----------
 zoom.patch |   17 -----------------
 2 files changed, 4 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-03 09:20:15 UTC (rev 127025)
+++ PKGBUILD	2015-02-03 09:25:56 UTC (rev 127026)
@@ -3,8 +3,8 @@
 # Contributor: Ray Powell <ray_al at xphoniexx.net>
 
 pkgname=mcomix
-pkgver=1.00
-pkgrel=6
+pkgver=1.01
+pkgrel=1
 pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
 arch=('any')
 url="http://sourceforge.net/projects/mcomix/"
@@ -16,8 +16,7 @@
 conflicts=('comix')
 replaces=('comix')
 install='mcomix.install'
-source=("http://downloads.sourceforge.net/project/mcomix/MComix-${pkgver}/mcomix-${pkgver}.tar.bz2"
-        'zoom.patch')
+source=("http://downloads.sourceforge.net/project/mcomix/MComix-${pkgver}/mcomix-${pkgver}.tar.bz2")
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -30,10 +29,6 @@
   do
     sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
   done
-
-  # Fix zoom in, zoom out keyboard shortcuts:
-  # https://sourceforge.net/p/mcomix/bugs/62/
-  patch -Np1 < ${srcdir}/zoom.patch
 }
 
 package() {
@@ -50,5 +45,4 @@
   install -Dm644 mime/comicbook.schemas ${pkgdir}/usr/share/gconf/schemas/mcomix.schemas
 }
 
-md5sums=('3a916dd9da17043ab59ccd17e26eb932'
-         'c80705bf6f132bfba20dcb84b79c9cb7')
+md5sums=('c2837c3baf226798246db834d22d1de8')

Deleted: zoom.patch
===================================================================
--- zoom.patch	2015-02-03 09:20:15 UTC (rev 127025)
+++ zoom.patch	2015-02-03 09:25:56 UTC (rev 127026)
@@ -1,17 +0,0 @@
-diff --git a/mcomix-1.00/mcomix/event.py b/mcomix-1.00-mod/mcomix/event.py
-index bc8cf79..bf80ec2 100644
---- a/mcomix/event.py
-+++ b/mcomix/event.py
-@@ -117,8 +117,11 @@ class EventHandler:
- 
-         # Zooming commands for manual zoom mode
-         manager.register('zoom in',
--            ['equal'],
-+            ['plus', 'KP_Add', 'equal'],
-             self._window.actiongroup.get_action('zoom_in').activate)
-+        manager.register('zoom out',
-+            ['minus', 'KP_Subtract'],
-+            self._window.actiongroup.get_action('zoom_out').activate)
-         # Zoom out is already defined as GTK menu hotkey
-         manager.register('zoom original',
-             ['KP_0'],



More information about the arch-commits mailing list