[arch-commits] Commit in deepin-icon-theme/trunk (PKGBUILD input-keyboard.patch)

Felix Yan felixonmars at archlinux.org
Tue Nov 6 18:23:06 UTC 2018


    Date: Tuesday, November 6, 2018 @ 18:23:06
  Author: felixonmars
Revision: 401811

upgpkg: deepin-icon-theme 15.12.60-2

add input-keyboard symlinks for fcitx

Added:
  deepin-icon-theme/trunk/input-keyboard.patch
Modified:
  deepin-icon-theme/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   13 ++++++++--
 input-keyboard.patch |   60 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 18:22:48 UTC (rev 401810)
+++ PKGBUILD	2018-11-06 18:23:06 UTC (rev 401811)
@@ -4,7 +4,7 @@
 
 pkgname=deepin-icon-theme
 pkgver=15.12.60
-pkgrel=1
+pkgrel=2
 pkgdesc="Deepin Icons"
 arch=('any')
 url="https://github.com/linuxdeepin/deepin-icon-theme"
@@ -12,9 +12,16 @@
 depends=('papirus-icon-theme')
 replaces=('deepin-cursor-theme')
 conflicts=('deepin-cursor-theme')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-icon-theme/archive/$pkgver.tar.gz")
-sha512sums=('235346ff4bcb93766a10d6a4297f3ca3f697178bbb32bca8bebaf92975d5a108d5cb16595cdbe87b031f457d13f85d6c4bdebbd2a7e127db28d8de81a8387376')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-icon-theme/archive/$pkgver.tar.gz"
+        input-keyboard.patch)
+sha512sums=('235346ff4bcb93766a10d6a4297f3ca3f697178bbb32bca8bebaf92975d5a108d5cb16595cdbe87b031f457d13f85d6c4bdebbd2a7e127db28d8de81a8387376'
+            '17f880ea00ec40b1bd5de9eff98e89110f70320ec737ec220141c3d20ba38e4f780ba994bf185186c1e5c18944984fc666c31831926f899ad319debd2482b2d2')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../input-keyboard.patch
+}
+
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install

Added: input-keyboard.patch
===================================================================
--- input-keyboard.patch	                        (rev 0)
+++ input-keyboard.patch	2018-11-06 18:23:06 UTC (rev 401811)
@@ -0,0 +1,60 @@
+commit 0227a145cb5719b0edd244ee50e153e34f2dc4e5
+Author: Felix Yan <felixonmars at archlinux.org>
+Date:   Tue Nov 6 17:44:46 2018 +0800
+
+    add: input-keyboard symlink to fcitx-kbd
+    
+    fcitx actually uses the name "input-keyboard" to lookup the default
+    icon. Adding the symlink fixes icon theme issues under Arch (and
+    possibly others that follow upstream).
+    
+    Change-Id: I3a71ba446cfe9bb3eb0ff38308a4a8e309b452fa
+
+diff --git a/deepin/devices/16/input-keyboard.svg b/deepin/devices/16/input-keyboard.svg
+new file mode 120000
+index 0000000..b983471
+--- /dev/null
++++ b/deepin/devices/16/input-keyboard.svg
+@@ -0,0 +1 @@
++../../apps/16/fcitx-kbd.svg
+\ No newline at end of file
+diff --git a/deepin/devices/22/input-keyboard.svg b/deepin/devices/22/input-keyboard.svg
+new file mode 120000
+index 0000000..3a67707
+--- /dev/null
++++ b/deepin/devices/22/input-keyboard.svg
+@@ -0,0 +1 @@
++../../apps/24/fcitx-kbd.svg
+\ No newline at end of file
+diff --git a/deepin/devices/24/input-keyboard.svg b/deepin/devices/24/input-keyboard.svg
+new file mode 120000
+index 0000000..3a67707
+--- /dev/null
++++ b/deepin/devices/24/input-keyboard.svg
+@@ -0,0 +1 @@
++../../apps/24/fcitx-kbd.svg
+\ No newline at end of file
+diff --git a/deepin/devices/32/input-keyboard.svg b/deepin/devices/32/input-keyboard.svg
+new file mode 120000
+index 0000000..fa35cd3
+--- /dev/null
++++ b/deepin/devices/32/input-keyboard.svg
+@@ -0,0 +1 @@
++../../apps/32/fcitx-kbd.svg
+\ No newline at end of file
+diff --git a/deepin/devices/48/input-keyboard.svg b/deepin/devices/48/input-keyboard.svg
+new file mode 120000
+index 0000000..fa35cd3
+--- /dev/null
++++ b/deepin/devices/48/input-keyboard.svg
+@@ -0,0 +1 @@
++../../apps/32/fcitx-kbd.svg
+\ No newline at end of file
+diff --git a/deepin/devices/64/input-keyboard.svg b/deepin/devices/64/input-keyboard.svg
+new file mode 120000
+index 0000000..fa35cd3
+--- /dev/null
++++ b/deepin/devices/64/input-keyboard.svg
+@@ -0,0 +1 @@
++../../apps/32/fcitx-kbd.svg
+\ No newline at end of file



More information about the arch-commits mailing list