Date: Thursday, June 13, 2013 @ 08:52:43 Author: bisson Revision: 188222
archrelease: copy trunk to testing-i686, testing-x86_64 Added: scim-hangul/repos/testing-i686/ scim-hangul/repos/testing-i686/2012.patch (from rev 188221, scim-hangul/trunk/2012.patch) scim-hangul/repos/testing-i686/PKGBUILD (from rev 188221, scim-hangul/trunk/PKGBUILD) scim-hangul/repos/testing-x86_64/ scim-hangul/repos/testing-x86_64/2012.patch (from rev 188221, scim-hangul/trunk/2012.patch) scim-hangul/repos/testing-x86_64/PKGBUILD (from rev 188221, scim-hangul/trunk/PKGBUILD) ---------------------------+ testing-i686/2012.patch | 23 +++++++++++++++++++++++ testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ testing-x86_64/2012.patch | 23 +++++++++++++++++++++++ testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 114 insertions(+) Copied: scim-hangul/repos/testing-i686/2012.patch (from rev 188221, scim-hangul/trunk/2012.patch) =================================================================== --- testing-i686/2012.patch (rev 0) +++ testing-i686/2012.patch 2013-06-13 06:52:43 UTC (rev 188222) @@ -0,0 +1,23 @@ +diff -aur old/src/scim_hangul_imengine.cpp new/src/scim_hangul_imengine.cpp +--- old/src/scim_hangul_imengine.cpp 2012-08-16 01:33:25.996258740 +1000 ++++ new/src/scim_hangul_imengine.cpp 2012-08-16 01:33:41.932950046 +1000 +@@ -33,6 +33,7 @@ + #include <config.h> + #endif + ++#include <unistd.h> + #include <cstring> + #include <scim.h> + #include "scim_hangul_imengine.h" +diff -aur old/src/scim_hangul_imengine_setup.cpp new/src/scim_hangul_imengine_setup.cpp +--- old/src/scim_hangul_imengine_setup.cpp 2012-08-16 01:33:25.996258740 +1000 ++++ new/src/scim_hangul_imengine_setup.cpp 2012-08-16 01:43:39.823860324 +1000 +@@ -346,7 +346,7 @@ + for (i = 0; i < n; i++) { + const char* name = hangul_ic_get_keyboard_name(i); + #if GTK_CHECK_VERSION(2, 24, 0) +- gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(combo_box), NULL, name); ++ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo_box), name); + #else + gtk_combo_box_append_text(GTK_COMBO_BOX(combo_box), name); + #endif Copied: scim-hangul/repos/testing-i686/PKGBUILD (from rev 188221, scim-hangul/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-06-13 06:52:43 UTC (rev 188222) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: damir <da...@archlinux.org> + +pkgname=scim-hangul +pkgver=0.4.0 +pkgrel=2 +pkgdesc='Korean input method module for SCIM' +url='http://www.scim-im.org/' +license=('GPL') +arch=('i686' 'x86_64') +depends=('libhangul' 'scim') +source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz" + '2012.patch') +sha1sums=('2ba06a6d851a1d86c5a9b659c573bfd87e6a7555' + 'a046c40b78521f85418b8ad2138b51815d47abec') + +options=('!libtool') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../2012.patch +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --enable-skim-support + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} Copied: scim-hangul/repos/testing-x86_64/2012.patch (from rev 188221, scim-hangul/trunk/2012.patch) =================================================================== --- testing-x86_64/2012.patch (rev 0) +++ testing-x86_64/2012.patch 2013-06-13 06:52:43 UTC (rev 188222) @@ -0,0 +1,23 @@ +diff -aur old/src/scim_hangul_imengine.cpp new/src/scim_hangul_imengine.cpp +--- old/src/scim_hangul_imengine.cpp 2012-08-16 01:33:25.996258740 +1000 ++++ new/src/scim_hangul_imengine.cpp 2012-08-16 01:33:41.932950046 +1000 +@@ -33,6 +33,7 @@ + #include <config.h> + #endif + ++#include <unistd.h> + #include <cstring> + #include <scim.h> + #include "scim_hangul_imengine.h" +diff -aur old/src/scim_hangul_imengine_setup.cpp new/src/scim_hangul_imengine_setup.cpp +--- old/src/scim_hangul_imengine_setup.cpp 2012-08-16 01:33:25.996258740 +1000 ++++ new/src/scim_hangul_imengine_setup.cpp 2012-08-16 01:43:39.823860324 +1000 +@@ -346,7 +346,7 @@ + for (i = 0; i < n; i++) { + const char* name = hangul_ic_get_keyboard_name(i); + #if GTK_CHECK_VERSION(2, 24, 0) +- gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(combo_box), NULL, name); ++ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo_box), name); + #else + gtk_combo_box_append_text(GTK_COMBO_BOX(combo_box), name); + #endif Copied: scim-hangul/repos/testing-x86_64/PKGBUILD (from rev 188221, scim-hangul/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2013-06-13 06:52:43 UTC (rev 188222) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: damir <da...@archlinux.org> + +pkgname=scim-hangul +pkgver=0.4.0 +pkgrel=2 +pkgdesc='Korean input method module for SCIM' +url='http://www.scim-im.org/' +license=('GPL') +arch=('i686' 'x86_64') +depends=('libhangul' 'scim') +source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz" + '2012.patch') +sha1sums=('2ba06a6d851a1d86c5a9b659c573bfd87e6a7555' + 'a046c40b78521f85418b8ad2138b51815d47abec') + +options=('!libtool') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../2012.patch +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --enable-skim-support + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +}