[arch-commits] Commit in terminator/repos/community-any (3 files)

Giancarlo Razzolini grazzolini at archlinux.org
Tue Apr 10 21:32:28 UTC 2018


    Date: Tuesday, April 10, 2018 @ 21:32:27
  Author: grazzolini
Revision: 315639

archrelease: copy trunk to community-any

Added:
  terminator/repos/community-any/001-custom_commands.patch
    (from rev 315638, terminator/trunk/001-custom_commands.patch)
  terminator/repos/community-any/PKGBUILD
    (from rev 315638, terminator/trunk/PKGBUILD)
Deleted:
  terminator/repos/community-any/PKGBUILD

---------------------------+
 001-custom_commands.patch |   12 ++++
 PKGBUILD                  |  106 +++++++++++++++++++++++---------------------
 2 files changed, 68 insertions(+), 50 deletions(-)

Copied: terminator/repos/community-any/001-custom_commands.patch (from rev 315638, terminator/trunk/001-custom_commands.patch)
===================================================================
--- 001-custom_commands.patch	                        (rev 0)
+++ 001-custom_commands.patch	2018-04-10 21:32:27 UTC (rev 315639)
@@ -0,0 +1,12 @@
+diff -ura terminator-1.91.orig/terminatorlib/plugins/custom_commands.py terminator-1.91.new/terminatorlib/plugins/custom_commands.py
+--- terminator-1.91.orig/terminatorlib/plugins/custom_commands.py	2017-02-26 14:45:29.000000000 -0300
++++ terminator-1.91.new/terminatorlib/plugins/custom_commands.py	2018-04-10 18:22:55.566435800 -0300
+@@ -127,7 +127,7 @@
+       if command[-1] != '\n':
+         command = command + '\n'
+       for terminal in data['terminals']:
+-        terminal.vte.feed_child(command,  len(command))
++        terminal.vte.feed_child(command)
+ 
+     def configure(self, widget, data = None):
+       ui = {}

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-10 21:31:42 UTC (rev 315638)
+++ PKGBUILD	2018-04-10 21:32:27 UTC (rev 315639)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
-# Contributor: Guillaume ALAUX <guillaume at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: fancris3 <fancris3 at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=terminator
-pkgver=1.91
-pkgrel=5
-pkgdesc='Terminal emulator that supports tabs and grids'
-arch=('any')
-url='https://gnometerminator.blogspot.com/p/introduction.html'
-license=('GPL2')
-depends=('gsettings-desktop-schemas' 'libkeybinder3' 'libnotify' 'python2-cairo' 'python2-dbus' 'python2-psutil' 'python2-gobject' 'vte3' 'xdg-utils')
-makedepends=('intltool')
-source=("https://launchpad.net/terminator/gtk3/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
-        "https://launchpad.net/terminator/gtk3/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz.asc")
-md5sums=('2eed999d7a41f2e18eaa511bbbf80f58'
-         'SKIP')
-sha512sums=('6feee96cda08f913601d3b01e51632bed87712ddb5ce577df1daa8a5fe4e8dc39075d5e21f87b865d1f007c7e1070ee2c0c814540c9c7786f0f24fbee762a03d'
-            'SKIP')
-validpgpkeys=('FE67C001C72200A71DE9EFA5DB69E1780B95EF32')
-
-prepare() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    # python2 fix
-    for file in terminatorlib/{,plugins/}*.py; do
-        sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
-        sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
-    done
-
-    # fix run without gconf
-    sed -i 's/except ImportError:/except ValueError:/' terminatorlib/config.py
-}
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    python2 setup.py build
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1
-
-    rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache"
-}

Copied: terminator/repos/community-any/PKGBUILD (from rev 315638, terminator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-10 21:32:27 UTC (rev 315639)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Guillaume ALAUX <guillaume at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: fancris3 <fancris3 at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=terminator
+pkgver=1.91
+pkgrel=6
+pkgdesc='Terminal emulator that supports tabs and grids'
+arch=('any')
+url='https://gnometerminator.blogspot.com/p/introduction.html'
+license=('GPL2')
+depends=('gsettings-desktop-schemas' 'libkeybinder3' 'libnotify' 'python2-cairo' 'python2-dbus' 'python2-psutil' 'python2-gobject' 'vte3' 'xdg-utils')
+makedepends=('intltool')
+source=("https://launchpad.net/terminator/gtk3/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
+        "https://launchpad.net/terminator/gtk3/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz.asc"
+        "001-custom_commands.patch")
+md5sums=('2eed999d7a41f2e18eaa511bbbf80f58'
+         'SKIP'
+         'd6c51930c0c741c327641de3adfe0aa1')
+sha512sums=('6feee96cda08f913601d3b01e51632bed87712ddb5ce577df1daa8a5fe4e8dc39075d5e21f87b865d1f007c7e1070ee2c0c814540c9c7786f0f24fbee762a03d'
+            'SKIP'
+            'db1e3bbc911afaedd07dae0d34301b15ae28ecec54f7ce10a9c0fd6e2ebd6eaac643e8b6c2a01942f76ba51a41c39eb164fa83e3c78f13ef8441c253a5408d4d')
+validpgpkeys=('FE67C001C72200A71DE9EFA5DB69E1780B95EF32')
+
+prepare() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    # python2 fix
+    for file in terminatorlib/{,plugins/}*.py; do
+        sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
+        sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
+    done
+
+    # fix run without gconf
+    sed -i 's/except ImportError:/except ValueError:/' terminatorlib/config.py
+
+    # patch the custom commands plugin
+    patch -Np1 -i "${srcdir}/001-custom_commands.patch"
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    python2 setup.py build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1
+
+    rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache"
+}



More information about the arch-commits mailing list