[arch-commits] Commit in deepin-terminal/trunk (3 files)
Felix Yan
felixonmars at archlinux.org
Wed Aug 24 06:07:58 UTC 2016
Date: Wednesday, August 24, 2016 @ 06:07:57
Author: felixonmars
Revision: 187444
upgpkg: deepin-terminal 2.0.2-1
Modified:
deepin-terminal/trunk/PKGBUILD
Deleted:
deepin-terminal/trunk/deepin-terminal.install
deepin-terminal/trunk/use-deepinvte.patch
---------------------+
PKGBUILD | 37 +++++++++++-------------------
use-deepinvte.patch | 60 --------------------------------------------------
2 files changed, 14 insertions(+), 83 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-24 04:48:39 UTC (rev 187443)
+++ PKGBUILD 2016-08-24 06:07:57 UTC (rev 187444)
@@ -4,38 +4,29 @@
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
pkgname=deepin-terminal
-pkgver=1.1.7
+pkgver=2.0.2
pkgrel=1
-pkgdesc='Awesome terminal for Linux Deepin'
-arch=('any')
-url="https://gitcafe.com/Deepin/deepin-terminal"
+pkgdesc='Default terminal emulation application for Deepin.'
+arch=('i686' 'x86_64')
+url="https://github.com/manateelazycat/deepin-terminal"
license=('GPL3')
-depends=('python2-deepin-vte' 'desktop-file-utils' 'expect' 'hicolor-icon-theme'
- 'python2-dbus' 'python2-deepin-ui' 'xdotool' 'ttf-dejavu')
-makedepends=('deepin-gettext-tools' 'git')
+depends=('vte3' 'libsecret' 'libgee' 'libwnck3' 'expect')
+makedepends=('git' 'vala')
+options=(!emptydirs)
groups=('deepin-extra')
-install="$pkgname.install"
-source=("git+https://cr.deepin.io/deepin-terminal.git#tag=$pkgver"
- use-deepinvte.patch)
-sha256sums=('SKIP'
- 'b1d0d3a1ac3ea78d235cd721d757ad00715267775e2c219a5ba0474119c2bb3c')
-
-prepare(){
- cd deepin-terminal
+source=("git+https://github.com/manateelazycat/deepin-terminal.git#tag=$pkgver")
+sha256sums=('SKIP')
- # use deepinvte
- patch -p1 --no-backup-if-mismatch -i ../use-deepinvte.patch
-
- # fix python version
- find "$srcdir" -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+prepare() {
+ sed -i 's|return __FILE__;|return "/usr/share/deepin-terminal/project_path.c";|' deepin-terminal/project_path.c
}
-
+
build() {
cd deepin-terminal
- deepin-generate-mo tools/locale_config.ini
+ make PREFIX=/usr
}
package() {
cd deepin-terminal
- make DESTDIR="$pkgdir" PREFIX="/usr" install
+ make DESTDIR="$pkgdir" PREFIX=/usr install
}
Deleted: deepin-terminal.install
===================================================================
Deleted: use-deepinvte.patch
===================================================================
--- use-deepinvte.patch 2016-08-24 04:48:39 UTC (rev 187443)
+++ use-deepinvte.patch 2016-08-24 06:07:57 UTC (rev 187444)
@@ -1,60 +0,0 @@
-diff --git a/src/main.py b/src/main.py
-index bfb7005..3ef77ee 100755
---- a/src/main.py
-+++ b/src/main.py
-@@ -57,7 +57,7 @@ import subprocess
- import sys
- import traceback
- import urllib
--import vte
-+import deepinvte
- import shlex
-
- PROJECT_NAME = "deepin-terminal"
-@@ -1324,9 +1324,9 @@ class Terminal(object):
-
- gtk.main()
-
--class TerminalWrapper(vte.Terminal):
-+class TerminalWrapper(deepinvte.Terminal):
- """
-- Wrapper class for vte.Terminal. Propagate keys. Make some customize as well.
-+ Wrapper class for deepinvte.Terminal. Propagate keys. Make some customize as well.
- """
-
- def __init__(self,
-@@ -1340,7 +1340,7 @@ class TerminalWrapper(vte.Terminal):
- Initial values.
- :param parent_widget: which grid this widget belongs to.
- """
-- vte.Terminal.__init__(self)
-+ deepinvte.Terminal.__init__(self)
- self.parent_widget = parent_widget
- self.press_q_quit = press_q_quit
- self.set_word_chars("-A-Za-z0-9,./?%&#:_")
-@@ -1582,19 +1582,19 @@ class TerminalWrapper(vte.Terminal):
-
- def change_cursor_shape(self, cursor_shape):
- if cursor_shape == "block":
-- self.set_cursor_shape(vte.CURSOR_SHAPE_BLOCK)
-+ self.set_cursor_shape(deepinvte.CURSOR_SHAPE_BLOCK)
- elif cursor_shape == "ibeam":
-- self.set_cursor_shape(vte.CURSOR_SHAPE_IBEAM)
-+ self.set_cursor_shape(deepinvte.CURSOR_SHAPE_IBEAM)
- elif cursor_shape == "underline":
-- self.set_cursor_shape(vte.CURSOR_SHAPE_UNDERLINE)
-+ self.set_cursor_shape(deepinvte.CURSOR_SHAPE_UNDERLINE)
-
- def change_cursor_blink_mode(self, cursor_blink_mode):
- if cursor_blink_mode == "system":
-- self.set_cursor_blink_mode(vte.CURSOR_BLINK_SYSTEM)
-+ self.set_cursor_blink_mode(deepinvte.CURSOR_BLINK_SYSTEM)
- elif cursor_blink_mode == "on":
-- self.set_cursor_blink_mode(vte.CURSOR_BLINK_ON)
-+ self.set_cursor_blink_mode(deepinvte.CURSOR_BLINK_ON)
- elif cursor_blink_mode == "off":
-- self.set_cursor_blink_mode(vte.CURSOR_BLINK_OFF)
-+ self.set_cursor_blink_mode(deepinvte.CURSOR_BLINK_OFF)
-
- def change_encoding(self, encoding):
- self.set_encoding(encoding)
More information about the arch-commits
mailing list