diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-07 15:10:29 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-07 15:10:29 +0100 |
commit | 4c4400925b792b694511bbbf2f645fb34495d5cf (patch) | |
tree | 86a3b3c62e75fdf9c536306d195bbbcbc7ac974c /extra/scim-pinyin | |
parent | 08adec2ac14efea1ef452e79ff86f024b9becaf3 (diff) | |
parent | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/bwbar/PKGBUILD
community/directfb/PKGBUILD
community/extremetuxracer/PKGBUILD
community/freedroidrpg/PKGBUILD
community/gnash/PKGBUILD
community/guake/PKGBUILD
community/pidgin-libnotify/PKGBUILD
community/png2ico/PKGBUILD
community/ruby-gtk2/PKGBUILD
community/torcs/PKGBUILD
community/virtualbox/PKGBUILD
extra/abiword/PKGBUILD
extra/alsaplayer/PKGBUILD
extra/automoc4/PKGBUILD
extra/cagibi/PKGBUILD
extra/fltk/PKGBUILD
extra/gnome-desktop2/PKGBUILD
extra/gnome-python/PKGBUILD
extra/gnome-sharp/PKGBUILD
extra/gnugo/PKGBUILD
extra/gstreamer0.10-good/PKGBUILD
extra/gtk2/PKGBUILD
extra/gtkmm/PKGBUILD
extra/imlib2/PKGBUILD
extra/koffice/PKGBUILD
extra/lcms/PKGBUILD
extra/libao/PKGBUILD
extra/libcue/PKGBUILD
extra/libdaemon/PKGBUILD
extra/libgnome-media-profiles/PKGBUILD
extra/libotf/PKGBUILD
extra/libotr/PKGBUILD
extra/libots/PKGBUILD
extra/libreoffice/PKGBUILD
extra/libtiff/PKGBUILD
extra/libwebkit/PKGBUILD
extra/libwmf/PKGBUILD
extra/libxfcegui4/PKGBUILD
extra/mjpegtools/PKGBUILD
extra/netpbm/PKGBUILD
extra/php/PKGBUILD
extra/plotutils/PKGBUILD
extra/poppler/PKGBUILD
extra/qrencode/PKGBUILD
extra/qt/PKGBUILD
extra/qtiplot/PKGBUILD
extra/rssh/PKGBUILD
extra/scim-chewing/PKGBUILD
extra/scim-m17n/PKGBUILD
extra/scim-pinyin/PKGBUILD
extra/scim-tables/PKGBUILD
extra/scim-uim/PKGBUILD
extra/tsocks/PKGBUILD
extra/vigra/PKGBUILD
extra/w3m/PKGBUILD
extra/wv/PKGBUILD
extra/xclip/PKGBUILD
extra/xfce4-datetime-plugin/PKGBUILD
extra/xfce4-notes-plugin/PKGBUILD
extra/xfce4-quicklauncher-plugin/PKGBUILD
extra/xfce4-sensors-plugin/PKGBUILD
extra/xorg-font-util/PKGBUILD
extra/xorg-setxkbmap/PKGBUILD
extra/xorg-xev/PKGBUILD
extra/xsane/PKGBUILD
extra/yakuake/PKGBUILD
extra/zvbi/PKGBUILD
multilib/lib32-cairo/PKGBUILD
multilib/lib32-gdk-pixbuf2/PKGBUILD
multilib/lib32-libcanberra/PKGBUILD
multilib/lib32-libcups/PKGBUILD
multilib/lib32-libglade/PKGBUILD
multilib/lib32-libpng/PKGBUILD
multilib/lib32-libtiff/PKGBUILD
multilib/lib32-pango/PKGBUILD
multilib/lib32-qt/PKGBUILD
multilib/lib32-sdl_image/PKGBUILD
multilib/wine/PKGBUILD
testing/vlc/PKGBUILD
testing/xulrunner/PKGBUILD
Diffstat (limited to 'extra/scim-pinyin')
-rw-r--r-- | extra/scim-pinyin/PKGBUILD | 44 | ||||
-rw-r--r-- | extra/scim-pinyin/gcc43.patch | 44 |
2 files changed, 67 insertions, 21 deletions
diff --git a/extra/scim-pinyin/PKGBUILD b/extra/scim-pinyin/PKGBUILD index 1a8220bbd..5f4f4220d 100644 --- a/extra/scim-pinyin/PKGBUILD +++ b/extra/scim-pinyin/PKGBUILD @@ -1,33 +1,35 @@ -# $Id: PKGBUILD 77980 2010-04-19 08:02:17Z allan $ -# Maintainer: +# $Id: PKGBUILD 149097 2012-02-05 17:19:20Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributer: Gan Lu <rhythm.gan@gmail.com> pkgname=scim-pinyin pkgver=0.5.91 -pkgrel=5 -pkgdesc="Chinese 拼音 (PinYin) input for SCIM" +pkgrel=6 +pkgdesc='Chinese pinyin input for SCIM' +url='http://www.scim-im.org/' arch=('i686' 'x86_64' 'mips64el') -url="http://www.scim-im.org/" -license=GPL -depends=('scim>=1.4.7') +license=('GPL') +depends=('scim') options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz - scim-pinyin-0.5.91-gcc43.patch) -md5sums=('fb96d3545090d7681ea03edaced4eccb' - 'ef84582d9bac7ac250d2d64cf260ad39') +source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz" + 'gcc43.patch') +sha1sums=('58bea437a211b7af8420057541a38933a41841c7' + 'b78ecec237ee0e04ec43604fcc344ff43ccfb7b3') build() { - cd $srcdir/$pkgname-$pkgver - patch -Np1 -i $srcdir/scim-pinyin-0.5.91-gcc43.patch - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --disable-static - make || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 -i ../gcc43.patch + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-static \ + + make } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } - - diff --git a/extra/scim-pinyin/gcc43.patch b/extra/scim-pinyin/gcc43.patch new file mode 100644 index 000000000..91a948d5d --- /dev/null +++ b/extra/scim-pinyin/gcc43.patch @@ -0,0 +1,44 @@ +diff -up scim-pinyin-0.5.91/src/scim_phrase.cpp.gcc43 scim-pinyin-0.5.91/src/scim_phrase.cpp +--- scim-pinyin-0.5.91/src/scim_phrase.cpp.gcc43 2008-02-25 16:27:05.000000000 +0800 ++++ scim-pinyin-0.5.91/src/scim_phrase.cpp 2008-02-25 16:26:41.000000000 +0800 +@@ -28,6 +28,7 @@ + #define SCIM_PHRASE_MAX_RELATION 1000 + + #include <scim.h> ++#include <cstring> + #include "scim_pinyin_private.h" + #include "scim_phrase.h" + +diff -up scim-pinyin-0.5.91/src/scim_special_table.cpp.gcc43 scim-pinyin-0.5.91/src/scim_special_table.cpp +--- scim-pinyin-0.5.91/src/scim_special_table.cpp.gcc43 2008-02-25 16:27:55.000000000 +0800 ++++ scim-pinyin-0.5.91/src/scim_special_table.cpp 2008-02-25 16:28:08.000000000 +0800 +@@ -22,6 +22,7 @@ + + #include <time.h> + #include <scim.h> ++#include <cstring> + #include "scim_pinyin_private.h" + #include "scim_special_table.h" + +diff -up scim-pinyin-0.5.91/src/scim_pinyin.cpp.gcc43 scim-pinyin-0.5.91/src/scim_pinyin.cpp +--- scim-pinyin-0.5.91/src/scim_pinyin.cpp.gcc43 2008-02-25 16:26:10.000000000 +0800 ++++ scim-pinyin-0.5.91/src/scim_pinyin.cpp 2008-02-25 16:26:26.000000000 +0800 +@@ -29,6 +29,7 @@ + #define Uses_SCIM_LOOKUP_TABLE + + #include <scim.h> ++#include <cstring> + #include "scim_pinyin.h" + + // Internal functions +diff -up scim-pinyin-0.5.91/src/scim_pinyin_phrase.cpp.gcc43 scim-pinyin-0.5.91/src/scim_pinyin_phrase.cpp +--- scim-pinyin-0.5.91/src/scim_pinyin_phrase.cpp.gcc43 2008-02-25 16:27:15.000000000 +0800 ++++ scim-pinyin-0.5.91/src/scim_pinyin_phrase.cpp 2008-02-25 16:27:28.000000000 +0800 +@@ -27,6 +27,7 @@ + #define Uses_SCIM_LOOKUP_TABLE + + #include <scim.h> ++#include <cstring> + #include "scim_pinyin_private.h" + #include "scim_phrase.h" + #include "scim_pinyin.h" |