[arch-commits] Commit in scim-anthy/trunk (PKGBUILD scim-anthy-fix-build.patch)
Antonio Rojas
arojas at archlinux.org
Thu Jun 7 07:57:26 UTC 2018
Date: Thursday, June 7, 2018 @ 07:57:25
Author: arojas
Revision: 326194
BUILDINFO rebuild
Added:
scim-anthy/trunk/scim-anthy-fix-build.patch
Modified:
scim-anthy/trunk/PKGBUILD
----------------------------+
PKGBUILD | 23 ++++++++++-----
scim-anthy-fix-build.patch | 62 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-07 07:55:47 UTC (rev 326193)
+++ PKGBUILD 2018-06-07 07:57:25 UTC (rev 326194)
@@ -4,7 +4,7 @@
pkgname=scim-anthy
pkgver=1.2.7
-pkgrel=5
+pkgrel=6
_filecode=37309
pkgdesc='Japanese input method module for SCIM'
url='http://sourceforge.jp/projects/scim-imengine/'
@@ -11,16 +11,23 @@
arch=('x86_64')
license=('GPL')
depends=('scim' 'anthy')
-source=("http://osdn.dl.sourceforge.jp/scim-imengine/${_filecode}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('cb60070d8f6ff281a99d329c9d731f02ae16893083c9efa9970ccd7287365198')
+source=("http://osdn.dl.sourceforge.jp/scim-imengine/${_filecode}/${pkgname}-${pkgver}.tar.gz"
+ scim-anthy-fix-build.patch)
+sha256sums=('cb60070d8f6ff281a99d329c9d731f02ae16893083c9efa9970ccd7287365198'
+ '30d025963eab608295415bdb19b5baf65c650ecdfec639414ee29d3422f35a64')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../scim-anthy-fix-build.patch # Fedora patch
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}
Added: scim-anthy-fix-build.patch
===================================================================
--- scim-anthy-fix-build.patch (rev 0)
+++ scim-anthy-fix-build.patch 2018-06-07 07:57:25 UTC (rev 326194)
@@ -0,0 +1,62 @@
+diff -pruN scim-anthy-1.2.7.orig/src/scim_anthy_prefs.cpp scim-anthy-1.2.7/src/scim_anthy_prefs.cpp
+--- scim-anthy-1.2.7.orig/src/scim_anthy_prefs.cpp 2008-04-24 12:49:53.000000000 +0900
++++ scim-anthy-1.2.7/src/scim_anthy_prefs.cpp 2016-02-16 19:04:49.000191000 +0900
+@@ -95,6 +95,7 @@ BoolConfigData config_bool_common [] =
+ N_("A_llow spliting romaji on editing preedit string"),
+ NULL,
+ N_("If this check is enabled, you can delete each letter."),
++ NULL,
+ false,
+ },
+ {
+@@ -104,6 +105,7 @@ BoolConfigData config_bool_common [] =
+ N_("_Entering the pseudo ASCII input mode with capital letters."),
+ NULL,
+ N_("If this check is enabled, capital letters will becomes a trigger to enter the pseudo ASCII input mode."),
++ NULL,
+ false,
+ },
+ {
+@@ -113,6 +115,7 @@ BoolConfigData config_bool_common [] =
+ N_("Insert a _blank with a blank key."),
+ NULL,
+ N_("If this check is enabled, a blank key will works to insert a blank when entering the pseudo ASCII input mode."),
++ NULL,
+ false,
+ },
+ {
+@@ -122,6 +125,7 @@ BoolConfigData config_bool_common [] =
+ N_("_Show predicted candidates while inputting letters"),
+ NULL,
+ NULL,
++ NULL,
+ false,
+ },
+ {
+@@ -131,6 +135,7 @@ BoolConfigData config_bool_common [] =
+ N_("Use _direct select keys while predicting"),
+ NULL,
+ NULL,
++ NULL,
+ false,
+ },
+ {
+@@ -215,8 +220,8 @@ BoolConfigData config_bool_common [] =
+ },
+ {
+ NULL,
+- "",
+- "",
++ false,
++ false,
+ NULL,
+ NULL,
+ NULL,
+@@ -272,6 +277,7 @@ IntConfigData config_int_common [] =
+ NULL,
+ NULL,
+ NULL,
++ NULL,
+ NULL,
+ false,
+ },
More information about the arch-commits
mailing list