[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2020-05-25 Thread Felix Yan via arch-commits
Date: Monday, May 25, 2020 @ 13:25:15
  Author: felixonmars
Revision: 634280

upgpkg: fcitx-libpinyin 0.5.3-3: Buildinfo Format 1 rebuild

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-25 13:24:17 UTC (rev 634279)
+++ PKGBUILD2020-05-25 13:25:15 UTC (rev 634280)
@@ -4,7 +4,7 @@
 pkgname=fcitx-libpinyin
 pkgver=0.5.3
 _model=model.text.20161206.tar.gz
-pkgrel=2
+pkgrel=3
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2018-01-07 Thread Eli Schwartz via arch-commits
Date: Monday, January 8, 2018 @ 06:48:15
  Author: eschwartz
Revision: 280398

upgpkg: fcitx-libpinyin 0.5.3-2

Add PGP signatures

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |   13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-08 06:48:04 UTC (rev 280397)
+++ PKGBUILD2018-01-08 06:48:15 UTC (rev 280398)
@@ -5,7 +5,7 @@
 pkgname=fcitx-libpinyin
 pkgver=0.5.3
 _model=model.text.20161206.tar.gz
-pkgrel=1
+pkgrel=2
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;
@@ -12,10 +12,13 @@
 license=('GPL')
 depends=('fcitx' 'libpinyin' 'fcitx-qt5' 'qt5-webengine')
 makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx-libpinyin/archive/$pkgver.tar.gz;
-"$pkgname-$_model::http://download.fcitx-im.org/data/$_model;)
-sha512sums=('133612c928de87cf7e37ccf896e2362dfa39ec0b43741f25b4dd0b73f1e09095517ade4a0a0e503acf3abab0a7b24f2a8a63e02211f560ba22cb3029f7b0f3ef'
-
'26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429')
+source=("https://download.fcitx-im.org/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
+"https://download.fcitx-im.org/data/$_model"{,.sig})
+sha512sums=('55e728b02197a5f17bb93b8c07c1f2c19f20c3cb9f762069df427bb2322a571ac11a037ff11e4cd229287942af096c8e3c1f250214f6b0f6eb0d94654d06cfcf'
+'SKIP'
+
'26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429'
+'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian 

 
 prepare() {
   mkdir build


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2017-09-15 Thread Felix Yan
Date: Friday, September 15, 2017 @ 07:21:08
  Author: felixonmars
Revision: 257642

upgpkg: fcitx-libpinyin 0.5.3-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-15 07:20:53 UTC (rev 257641)
+++ PKGBUILD2017-09-15 07:21:08 UTC (rev 257642)
@@ -3,7 +3,7 @@
 # Contributor: poplarch 
 
 pkgname=fcitx-libpinyin
-pkgver=0.5.2
+pkgver=0.5.3
 _model=model.text.20161206.tar.gz
 pkgrel=1
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
@@ -14,7 +14,7 @@
 makedepends=('cmake')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx-libpinyin/archive/$pkgver.tar.gz;
 "$pkgname-$_model::http://download.fcitx-im.org/data/$_model;)
-sha512sums=('c74628613445afda7cbadc9f0f475d8a6fbf34add25f5a86f9ede9e3948604b50def841293201914608d2993835bd356dfa0acf95e4d7a68977b38c9c113e7ae'
+sha512sums=('133612c928de87cf7e37ccf896e2362dfa39ec0b43741f25b4dd0b73f1e09095517ade4a0a0e503acf3abab0a7b24f2a8a63e02211f560ba22cb3029f7b0f3ef'
 
'26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429')
 
 prepare() {


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2017-08-31 Thread Felix Yan
Date: Thursday, August 31, 2017 @ 12:47:57
  Author: felixonmars
Revision: 255179

upgpkg: fcitx-libpinyin 0.5.2-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-31 12:37:40 UTC (rev 255178)
+++ PKGBUILD2017-08-31 12:47:57 UTC (rev 255179)
@@ -3,9 +3,9 @@
 # Contributor: poplarch 
 
 pkgname=fcitx-libpinyin
-pkgver=0.5.1
+pkgver=0.5.2
 _model=model.text.20161206.tar.gz
-pkgrel=5
+pkgrel=1
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;
@@ -14,14 +14,12 @@
 makedepends=('cmake')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx-libpinyin/archive/$pkgver.tar.gz;
 "$pkgname-$_model::http://download.fcitx-im.org/data/$_model;)
-sha512sums=('5847d98c639584aa53be630c7d96f529fa03f5c88f2e2dc657256c7192d09e93abc36be5c77da2a3b6f57674a4a9e0f666df9da9d5b18e02a42d914c5cc4aacf'
+sha512sums=('c74628613445afda7cbadc9f0f475d8a6fbf34add25f5a86f9ede9e3948604b50def841293201914608d2993835bd356dfa0acf95e4d7a68977b38c9c113e7ae'
 
'26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429')
 
 prepare() {
   mkdir build
   ln -s "$srcdir"/$pkgname-$_model fcitx-libpinyin-$pkgver/data/$_model
-
-  sed -i 's/pinyin_guess_candidates(m_inst, 
pinyinOffset());/pinyin_guess_candidates(m_inst, pinyinOffset(), 
SORT_BY_PHRASE_LENGTH_AND_FREQUENCY);/' fcitx-libpinyin-$pkgver/src/eim.cpp
 }
 
 build() {


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2017-08-24 Thread Felix Yan
Date: Thursday, August 24, 2017 @ 15:50:15
  Author: felixonmars
Revision: 253305

upgpkg: fcitx-libpinyin 0.5.1-5

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-24 15:45:14 UTC (rev 253304)
+++ PKGBUILD2017-08-24 15:50:15 UTC (rev 253305)
@@ -5,7 +5,7 @@
 pkgname=fcitx-libpinyin
 pkgver=0.5.1
 _model=model.text.20161206.tar.gz
-pkgrel=4
+pkgrel=5
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;
@@ -20,6 +20,8 @@
 prepare() {
   mkdir build
   ln -s "$srcdir"/$pkgname-$_model fcitx-libpinyin-$pkgver/data/$_model
+
+  sed -i 's/pinyin_guess_candidates(m_inst, 
pinyinOffset());/pinyin_guess_candidates(m_inst, pinyinOffset(), 
SORT_BY_PHRASE_LENGTH_AND_FREQUENCY);/' fcitx-libpinyin-$pkgver/src/eim.cpp
 }
 
 build() {


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2017-06-11 Thread Felix Yan
Date: Sunday, June 11, 2017 @ 09:59:49
  Author: felixonmars
Revision: 236188

upgpkg: fcitx-libpinyin 0.5.1-4

rebuild with new libpinyin

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-11 09:57:05 UTC (rev 236187)
+++ PKGBUILD2017-06-11 09:59:49 UTC (rev 236188)
@@ -5,7 +5,7 @@
 pkgname=fcitx-libpinyin
 pkgver=0.5.1
 _model=model.text.20161206.tar.gz
-pkgrel=3
+pkgrel=4
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2017-04-27 Thread Felix Yan
Date: Thursday, April 27, 2017 @ 14:01:23
  Author: felixonmars
Revision: 226042

upgpkg: fcitx-libpinyin 0.5.1-3

rebuild with new libpinyin

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |   16 
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-27 13:53:30 UTC (rev 226041)
+++ PKGBUILD2017-04-27 14:01:23 UTC (rev 226042)
@@ -5,31 +5,31 @@
 pkgname=fcitx-libpinyin
 pkgver=0.5.1
 _model=model.text.20161206.tar.gz
-pkgrel=2
+pkgrel=3
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;
 license=('GPL')
 depends=('fcitx' 'libpinyin' 'fcitx-qt5' 'qt5-webengine')
-makedepends=('cmake' 'git')
-source=("git+https://github.com/fcitx/fcitx-libpinyin.git#tag=$pkgver;
-"http://download.fcitx-im.org/data/$_model;)
-sha512sums=('SKIP'
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx-libpinyin/archive/$pkgver.tar.gz;
+"$pkgname-$_model::http://download.fcitx-im.org/data/$_model;)
+sha512sums=('5847d98c639584aa53be630c7d96f529fa03f5c88f2e2dc657256c7192d09e93abc36be5c77da2a3b6f57674a4a9e0f666df9da9d5b18e02a42d914c5cc4aacf'
 
'26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429')
 
 prepare() {
   mkdir build
-  ln -s "$srcdir"/$_model fcitx-libpinyin/data/
+  ln -s "$srcdir"/$pkgname-$_model fcitx-libpinyin-$pkgver/data/$_model
 }
 
 build() {
   cd build
 
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../$pkgname
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 
../$pkgname-$pkgver
   make
 }
 
 package() {
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2017-04-22 Thread Antonio Rojas
Date: Saturday, April 22, 2017 @ 18:56:08
  Author: arojas
Revision: 224423

qt5-webengine 5.8.0-6 rebuild

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-22 18:50:48 UTC (rev 224422)
+++ PKGBUILD2017-04-22 18:56:08 UTC (rev 224423)
@@ -5,7 +5,7 @@
 pkgname=fcitx-libpinyin
 pkgver=0.5.1
 _model=model.text.20161206.tar.gz
-pkgrel=1
+pkgrel=2
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2017-02-23 Thread Felix Yan
Date: Friday, February 24, 2017 @ 07:41:22
  Author: felixonmars
Revision: 213680

upgpkg: fcitx-libpinyin 0.5.1-1

libpinyin 1.9.91 rebuild

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-24 07:37:08 UTC (rev 213679)
+++ PKGBUILD2017-02-24 07:41:22 UTC (rev 213680)
@@ -3,8 +3,7 @@
 # Contributor: poplarch 
 
 pkgname=fcitx-libpinyin
-pkgver=0.5.0
-_commit=f403aa9d3beb62b3edd89febc2c456f21c5e6012
+pkgver=0.5.1
 _model=model.text.20161206.tar.gz
 pkgrel=1
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
@@ -13,7 +12,7 @@
 license=('GPL')
 depends=('fcitx' 'libpinyin' 'fcitx-qt5' 'qt5-webengine')
 makedepends=('cmake' 'git')
-source=("git+https://github.com/fcitx/fcitx-libpinyin.git#commit=$_commit;
+source=("git+https://github.com/fcitx/fcitx-libpinyin.git#tag=$pkgver;
 "http://download.fcitx-im.org/data/$_model;)
 sha512sums=('SKIP'
 
'26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429')


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD qt5-port.patch)

2017-02-08 Thread Felix Yan
Date: Thursday, February 9, 2017 @ 02:39:38
  Author: felixonmars
Revision: 211334

upgpkg: fcitx-libpinyin 0.5.0-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD
Deleted:
  fcitx-libpinyin/trunk/qt5-port.patch

+
 PKGBUILD   |   24 +-
 qt5-port.patch |  468 ---
 2 files changed, 11 insertions(+), 481 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-09 02:38:31 UTC (rev 211333)
+++ PKGBUILD2017-02-09 02:39:38 UTC (rev 211334)
@@ -3,32 +3,30 @@
 # Contributor: poplarch 
 
 pkgname=fcitx-libpinyin
-pkgver=0.4.1
-pkgrel=2
+pkgver=0.5.0
+_commit=f403aa9d3beb62b3edd89febc2c456f21c5e6012
+_model=model.text.20161206.tar.gz
+pkgrel=1
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;
 license=('GPL')
 depends=('fcitx' 'libpinyin' 'fcitx-qt5' 'qt5-webengine')
-makedepends=('cmake' 'intltool' 'wget')
-source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;
-"qt5-port.patch")
-sha512sums=('61c11b099f81b76a78b114762a182b74eee44fa8e0a260b8b654cccd08d5f5f7a7ac9e8f61ebcfa99e3f216c6cb0b4586b7528ae4265ea196e00a2ab2d5953f0'
-
'c39a179aab4af71f8d773a5e4d02c8810239165a22cf0b5ff3e518c65a8eb9c3f3ddff7dcd23d19f4fcc3ed6cb545169952839cd44a892012f5fd1a1174d5b4b')
+makedepends=('cmake' 'git')
+source=("git+https://github.com/fcitx/fcitx-libpinyin.git#commit=$_commit;
+"http://download.fcitx-im.org/data/$_model;)
+sha512sums=('SKIP'
+
'26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429')
 
 prepare() {
   mkdir build
-
-  cd $pkgname-$pkgver
-
-  # Port to Qt5
-  patch -Np1 -i ../qt5-port.patch
+  ln -s "$srcdir"/$_model fcitx-libpinyin/data/
 }
 
 build() {
   cd build
 
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 
../$pkgname-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../$pkgname
   make
 }
 

Deleted: qt5-port.patch
===
--- qt5-port.patch  2017-02-09 02:38:31 UTC (rev 211333)
+++ qt5-port.patch  2017-02-09 02:39:38 UTC (rev 211334)
@@ -1,468 +0,0 @@
-From dbfeca848b15f93afdb6caf09d633ac99f7cdb4f Mon Sep 17 00:00:00 2001
-From: Weng Xuetian 
-Date: Sat, 4 Feb 2017 11:21:23 -0800
-Subject: [PATCH] [libpinyin] port dictmanager to qt5
-
-Fix #22

- dictmanager/CMakeLists.txt | 20 +-
- dictmanager/browserdialog.cpp  | 39 +++
- dictmanager/browserdialog.h|  7 -
- dictmanager/browserdialog.ui   |  2 +-
- dictmanager/filedownloader.cpp |  2 +-
- dictmanager/filelistmodel.cpp  |  2 +-
- dictmanager/libpinyin.json |  2 ++
- dictmanager/main.cpp   | 60 ++
- dictmanager/main.h | 58 
- 9 files changed, 129 insertions(+), 63 deletions(-)
- create mode 100644 dictmanager/libpinyin.json
- create mode 100644 dictmanager/main.h
-
-diff --git a/dictmanager/CMakeLists.txt b/dictmanager/CMakeLists.txt
-index 5eaa400..06c18ae 100644
 a/dictmanager/CMakeLists.txt
-+++ b/dictmanager/CMakeLists.txt
-@@ -12,21 +12,17 @@ fcitx_translate_add_sources(
- ${DICT_MANAGER_SRCS})
- 
- if (ENABLE_QT)
--find_package(Qt4 4.8 REQUIRED COMPONENTS QtCore QtGui QtWebkit QtNetwork)
-+find_package(Qt5 5.7 REQUIRED COMPONENTS Core Gui WebEngineWidgets Network 
DBus)
-+find_package(FcitxQt5WidgetsAddons REQUIRED)
-+find_package(FcitxQt5DBusAddons REQUIRED)
- pkg_check_modules(FCITX_QT "fcitx-qt>=4.2.8" REQUIRED )
- endif (ENABLE_QT)
- 
--if (NOT QT_FOUND OR NOT ENABLE_QT)
-+if (NOT ENABLE_QT)
- return()
--endif (NOT QT_FOUND OR NOT ENABLE_QT)
-+endif ()
- 
- include_directories(
--${FCITX_QT_INCLUDE_DIRS}
--${QT_QTCORE_INCLUDE_DIR}
--${QT_QTGUI_INCLUDE_DIR}
--${QT_QTWEBKIT_INCLUDE_DIR}
--${QT_QTNETWORK_INCLUDE_DIR}
--${QT_QTDBUS_INCLUDE_DIR}
- ${CMAKE_CURRENT_BINARY_DIR}
- ../src/
- )
-@@ -46,18 +42,16 @@ include_directories (
- link_directories(
- ${FCITX4_FCITX_UTILS_LIBRARY_DIRS}
- ${FCITX4_FCITX_CONFIG_LIBRARY_DIRS}
--${FCITX_QT_LIBRARY_DIRS}
- )
- 
--qt4_wrap_ui(DICT_MANAGER_SRCS dictmanager.ui browserdialog.ui)
-+qt5_wrap_ui(DICT_MANAGER_SRCS dictmanager.ui browserdialog.ui)
- 
- add_library(fcitx-libpinyin-dictmanager MODULE ${DICT_MANAGER_SRCS})
- set_target_properties(fcitx-libpinyin-dictmanager PROPERTIES
-   LINK_FLAGS "-Wl,--no-undefined" AUTOMOC TRUE)
- 
- target_link_libraries(fcitx-libpinyin-dictmanager
--${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDBUS_LIBRARY} 
${QT_QTNETWORK_LIBRARY} ${QT_QTWEBKIT_LIBRARY}
--${FCITX_QT_LIBRARIES}
-+Qt5::Core Qt5::Gui Qt5::DBus Qt5::Network Qt5::WebEngineWidgets 

[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD qt5-port.patch)

2017-02-07 Thread Balló György
Date: Wednesday, February 8, 2017 @ 04:03:58
  Author: bgyorgy
Revision: 211096

upgpkg: fcitx-libpinyin 0.4.1-2

Build with Qt5

Added:
  fcitx-libpinyin/trunk/qt5-port.patch
Modified:
  fcitx-libpinyin/trunk/PKGBUILD

+
 PKGBUILD   |   15 +
 qt5-port.patch |  468 +++
 2 files changed, 479 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-08 03:13:14 UTC (rev 211095)
+++ PKGBUILD2017-02-08 04:03:58 UTC (rev 211096)
@@ -4,18 +4,25 @@
 
 pkgname=fcitx-libpinyin
 pkgver=0.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;
 license=('GPL')
-depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
+depends=('fcitx' 'libpinyin' 'fcitx-qt5' 'qt5-webengine')
 makedepends=('cmake' 'intltool' 'wget')
-source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
-sha512sums=('61c11b099f81b76a78b114762a182b74eee44fa8e0a260b8b654cccd08d5f5f7a7ac9e8f61ebcfa99e3f216c6cb0b4586b7528ae4265ea196e00a2ab2d5953f0')
+source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;
+"qt5-port.patch")
+sha512sums=('61c11b099f81b76a78b114762a182b74eee44fa8e0a260b8b654cccd08d5f5f7a7ac9e8f61ebcfa99e3f216c6cb0b4586b7528ae4265ea196e00a2ab2d5953f0'
+
'c39a179aab4af71f8d773a5e4d02c8810239165a22cf0b5ff3e518c65a8eb9c3f3ddff7dcd23d19f4fcc3ed6cb545169952839cd44a892012f5fd1a1174d5b4b')
 
 prepare() {
   mkdir build
+
+  cd $pkgname-$pkgver
+
+  # Port to Qt5
+  patch -Np1 -i ../qt5-port.patch
 }
 
 build() {

Added: qt5-port.patch
===
--- qt5-port.patch  (rev 0)
+++ qt5-port.patch  2017-02-08 04:03:58 UTC (rev 211096)
@@ -0,0 +1,468 @@
+From dbfeca848b15f93afdb6caf09d633ac99f7cdb4f Mon Sep 17 00:00:00 2001
+From: Weng Xuetian 
+Date: Sat, 4 Feb 2017 11:21:23 -0800
+Subject: [PATCH] [libpinyin] port dictmanager to qt5
+
+Fix #22
+---
+ dictmanager/CMakeLists.txt | 20 +-
+ dictmanager/browserdialog.cpp  | 39 +++
+ dictmanager/browserdialog.h|  7 -
+ dictmanager/browserdialog.ui   |  2 +-
+ dictmanager/filedownloader.cpp |  2 +-
+ dictmanager/filelistmodel.cpp  |  2 +-
+ dictmanager/libpinyin.json |  2 ++
+ dictmanager/main.cpp   | 60 ++
+ dictmanager/main.h | 58 
+ 9 files changed, 129 insertions(+), 63 deletions(-)
+ create mode 100644 dictmanager/libpinyin.json
+ create mode 100644 dictmanager/main.h
+
+diff --git a/dictmanager/CMakeLists.txt b/dictmanager/CMakeLists.txt
+index 5eaa400..06c18ae 100644
+--- a/dictmanager/CMakeLists.txt
 b/dictmanager/CMakeLists.txt
+@@ -12,21 +12,17 @@ fcitx_translate_add_sources(
+ ${DICT_MANAGER_SRCS})
+ 
+ if (ENABLE_QT)
+-find_package(Qt4 4.8 REQUIRED COMPONENTS QtCore QtGui QtWebkit QtNetwork)
++find_package(Qt5 5.7 REQUIRED COMPONENTS Core Gui WebEngineWidgets Network 
DBus)
++find_package(FcitxQt5WidgetsAddons REQUIRED)
++find_package(FcitxQt5DBusAddons REQUIRED)
+ pkg_check_modules(FCITX_QT "fcitx-qt>=4.2.8" REQUIRED )
+ endif (ENABLE_QT)
+ 
+-if (NOT QT_FOUND OR NOT ENABLE_QT)
++if (NOT ENABLE_QT)
+ return()
+-endif (NOT QT_FOUND OR NOT ENABLE_QT)
++endif ()
+ 
+ include_directories(
+-${FCITX_QT_INCLUDE_DIRS}
+-${QT_QTCORE_INCLUDE_DIR}
+-${QT_QTGUI_INCLUDE_DIR}
+-${QT_QTWEBKIT_INCLUDE_DIR}
+-${QT_QTNETWORK_INCLUDE_DIR}
+-${QT_QTDBUS_INCLUDE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ../src/
+ )
+@@ -46,18 +42,16 @@ include_directories (
+ link_directories(
+ ${FCITX4_FCITX_UTILS_LIBRARY_DIRS}
+ ${FCITX4_FCITX_CONFIG_LIBRARY_DIRS}
+-${FCITX_QT_LIBRARY_DIRS}
+ )
+ 
+-qt4_wrap_ui(DICT_MANAGER_SRCS dictmanager.ui browserdialog.ui)
++qt5_wrap_ui(DICT_MANAGER_SRCS dictmanager.ui browserdialog.ui)
+ 
+ add_library(fcitx-libpinyin-dictmanager MODULE ${DICT_MANAGER_SRCS})
+ set_target_properties(fcitx-libpinyin-dictmanager PROPERTIES
+   LINK_FLAGS "-Wl,--no-undefined" AUTOMOC TRUE)
+ 
+ target_link_libraries(fcitx-libpinyin-dictmanager
+-${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDBUS_LIBRARY} 
${QT_QTNETWORK_LIBRARY} ${QT_QTWEBKIT_LIBRARY}
+-${FCITX_QT_LIBRARIES}
++Qt5::Core Qt5::Gui Qt5::DBus Qt5::Network Qt5::WebEngineWidgets 
FcitxQt5::WidgetsAddons FcitxQt5::DBusAddons
+ ${FCITX4_FCITX_UTILS_LIBRARIES}
+ ${FCITX4_FCITX_CONFIG_LIBRARIES}
+ ${LIBINTL_LIBRARIES}
+diff --git a/dictmanager/browserdialog.cpp b/dictmanager/browserdialog.cpp
+index 88baf2f..77a3c65 100644
+--- a/dictmanager/browserdialog.cpp
 b/dictmanager/browserdialog.cpp
+@@ -22,6 +22,9 @@
+ #include 
+ #include 
+ #include 
++#include 
++#include 
++#include 
+ #include 
+ 
+ 

[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2017-01-27 Thread Felix Yan
Date: Saturday, January 28, 2017 @ 03:43:17
  Author: felixonmars
Revision: 209272

upgpkg: fcitx-libpinyin 0.4.1-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-28 03:33:08 UTC (rev 209271)
+++ PKGBUILD2017-01-28 03:43:17 UTC (rev 209272)
@@ -3,7 +3,7 @@
 # Contributor: poplarch 
 
 pkgname=fcitx-libpinyin
-pkgver=0.4.0
+pkgver=0.4.1
 pkgrel=1
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
 makedepends=('cmake' 'intltool' 'wget')
 source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
-sha512sums=('34a2efffbcfd926a3180276681cff53b5d59fc306e82359b6ecd288f8f04fc1078a9dc296ac643b2ea3a8787552dcefb95c26de6cadd93a8a409929d1b85c125')
+sha512sums=('61c11b099f81b76a78b114762a182b74eee44fa8e0a260b8b654cccd08d5f5f7a7ac9e8f61ebcfa99e3f216c6cb0b4586b7528ae4265ea196e00a2ab2d5953f0')
 
 prepare() {
   mkdir build


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2016-12-08 Thread Felix Yan
Date: Friday, December 9, 2016 @ 02:46:37
  Author: felixonmars
Revision: 198517

upgpkg: fcitx-libpinyin 0.4.0-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-09 02:44:52 UTC (rev 198516)
+++ PKGBUILD2016-12-09 02:46:37 UTC (rev 198517)
@@ -3,8 +3,8 @@
 # Contributor: poplarch 
 
 pkgname=fcitx-libpinyin
-pkgver=0.3.91
-pkgrel=2
+pkgver=0.4.0
+pkgrel=1
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;
@@ -12,7 +12,7 @@
 depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
 makedepends=('cmake' 'intltool' 'wget')
 source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
-sha512sums=('ddf9f220cd2438c49691dbcd92e6904e9bb313efbb58046f442160c94dbf43c43a520c35f731e744d8dfbad5578420f26a143987c10af2d5e0aa2e7abb5338d3')
+sha512sums=('34a2efffbcfd926a3180276681cff53b5d59fc306e82359b6ecd288f8f04fc1078a9dc296ac643b2ea3a8787552dcefb95c26de6cadd93a8a409929d1b85c125')
 
 prepare() {
   mkdir build


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2016-08-02 Thread Felix Yan
Date: Tuesday, August 2, 2016 @ 16:26:10
  Author: felixonmars
Revision: 184858

upgpkg: fcitx-libpinyin 0.3.91-2

rebuild with libpinyin 1.5.92

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-02 16:24:50 UTC (rev 184857)
+++ PKGBUILD2016-08-02 16:26:10 UTC (rev 184858)
@@ -4,7 +4,7 @@
 
 pkgname=fcitx-libpinyin
 pkgver=0.3.91
-pkgrel=1
+pkgrel=2
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2016-07-20 Thread Felix Yan
Date: Wednesday, July 20, 2016 @ 07:51:37
  Author: felixonmars
Revision: 183600

upgpkg: fcitx-libpinyin 0.3.91-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-20 07:48:45 UTC (rev 183599)
+++ PKGBUILD2016-07-20 07:51:37 UTC (rev 183600)
@@ -3,8 +3,8 @@
 # Contributor: poplarch 
 
 pkgname=fcitx-libpinyin
-pkgver=0.3.3
-pkgrel=3
+pkgver=0.3.91
+pkgrel=1
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;
@@ -12,7 +12,7 @@
 depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
 makedepends=('cmake' 'intltool' 'wget')
 source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
-sha512sums=('1d77bb0a73ef2f94058ad8f991c628097c87b0ea9c7c4480d23c972ff20ea8ea2653113c8100f1611911606fe84a470650e1a2e9cc6d596d3e80960bb00900c2')
+sha512sums=('ddf9f220cd2438c49691dbcd92e6904e9bb313efbb58046f442160c94dbf43c43a520c35f731e744d8dfbad5578420f26a143987c10af2d5e0aa2e7abb5338d3')
 
 prepare() {
   mkdir build


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD fcitx-libpinyin.install)

2016-04-27 Thread Felix Yan
Date: Wednesday, April 27, 2016 @ 19:05:16
  Author: fyan
Revision: 172094

upgpkg: fcitx-libpinyin 0.3.3-3

Hooks rebuild (part 1)

Modified:
  fcitx-libpinyin/trunk/PKGBUILD
Deleted:
  fcitx-libpinyin/trunk/fcitx-libpinyin.install

-+
 PKGBUILD|3 +--
 fcitx-libpinyin.install |   11 ---
 2 files changed, 1 insertion(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-27 17:04:42 UTC (rev 172093)
+++ PKGBUILD2016-04-27 17:05:16 UTC (rev 172094)
@@ -4,7 +4,7 @@
 
 pkgname=fcitx-libpinyin
 pkgver=0.3.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;
@@ -11,7 +11,6 @@
 license=('GPL')
 depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
 makedepends=('cmake' 'intltool' 'wget')
-install=$pkgname.install
 source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
 
sha512sums=('1d77bb0a73ef2f94058ad8f991c628097c87b0ea9c7c4480d23c972ff20ea8ea2653113c8100f1611911606fe84a470650e1a2e9cc6d596d3e80960bb00900c2')
 

Deleted: fcitx-libpinyin.install
===
--- fcitx-libpinyin.install 2016-04-27 17:04:42 UTC (rev 172093)
+++ fcitx-libpinyin.install 2016-04-27 17:05:16 UTC (rev 172094)
@@ -1,11 +0,0 @@
-post_install() {
-gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
-post_install
-}
-
-post_remove() {
-post_install
-}


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2015-12-07 Thread Felix Yan
Date: Monday, December 7, 2015 @ 14:07:55
  Author: fyan
Revision: 149865

C++11 ABI rebuild

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-07 13:05:39 UTC (rev 149864)
+++ PKGBUILD2015-12-07 13:07:55 UTC (rev 149865)
@@ -4,7 +4,7 @@
 
 pkgname=fcitx-libpinyin
 pkgver=0.3.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/fcitx/fcitx-libpinyin;


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2015-11-17 Thread Felix Yan
Date: Tuesday, November 17, 2015 @ 11:15:56
  Author: fyan
Revision: 146962

upgpkg: fcitx-libpinyin 0.3.3-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-11-17 10:02:29 UTC (rev 146961)
+++ PKGBUILD2015-11-17 10:15:56 UTC (rev 146962)
@@ -3,7 +3,7 @@
 # Contributor: poplarch 
 
 pkgname=fcitx-libpinyin
-pkgver=0.3.2
+pkgver=0.3.3
 pkgrel=1
 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
 arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@
 makedepends=('cmake' 'intltool' 'wget')
 install=$pkgname.install
 source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
-sha512sums=('20e4a46b52aabc96db200bf80afc914fb28312d8b8dfaa670e77086f8e52d68e3812ce335057889fec0e6e48a9136699d422dfa7549a3bc0f71e35874f31e5a0')
+sha512sums=('1d77bb0a73ef2f94058ad8f991c628097c87b0ea9c7c4480d23c972ff20ea8ea2653113c8100f1611911606fe84a470650e1a2e9cc6d596d3e80960bb00900c2')
 
 prepare() {
   mkdir build


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2015-07-14 Thread Felix Yan
Date: Tuesday, July 14, 2015 @ 10:21:26
  Author: fyan
Revision: 136822

upgpkg: fcitx-libpinyin 0.3.2-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |   23 ++-
 1 file changed, 10 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-14 08:09:32 UTC (rev 136821)
+++ PKGBUILD2015-07-14 08:21:26 UTC (rev 136822)
@@ -3,8 +3,8 @@
 # Contributor: poplarch popla...@gmail.com
 
 pkgname=fcitx-libpinyin
-pkgver=0.3.1
-pkgrel=2
+pkgver=0.3.2
+pkgrel=1
 pkgdesc=Fcitx Wrapper for libpinyin, Library to deal with pinyin
 arch=('i686' 'x86_64')
 url=https://github.com/fcitx/fcitx-libpinyin;
@@ -11,25 +11,22 @@
 license=('GPL')
 depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
 makedepends=('cmake' 'intltool' 'wget')
+install=$pkgname.install
 source=(http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
-install=$pkgname.install
+sha512sums=('20e4a46b52aabc96db200bf80afc914fb28312d8b8dfaa670e77086f8e52d68e3812ce335057889fec0e6e48a9136699d422dfa7549a3bc0f71e35874f31e5a0')
 
+prepare() {
+  mkdir build
+}
+
 build() {
-  cd $srcdir/${pkgname}-${pkgver}
-
-  rm -rf build
-  mkdir build
   cd build
 
-  msg Starting make...
-
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 
../$pkgname-$pkgver
   make
 }
 
 package() {
-  cd $srcdir/${pkgname}-${pkgver}/build
+  cd build
   make DESTDIR=${pkgdir} install
 }
-
-sha512sums=('3b7501a75dab2f5b83541c71ccac93709f3354f390f322d7b95e4b94e0c4dc6963522759ab52eb77203d787d6d14d3ce1c838dd92ecd0db041a3b7a25008eaa4')


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2015-02-12 Thread Felix Yan
Date: Thursday, February 12, 2015 @ 15:08:45
  Author: fyan
Revision: 127606

upgpkg: fcitx-libpinyin 0.3.1-2

rebuild for new libpinyin

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-02-12 13:56:38 UTC (rev 127605)
+++ PKGBUILD2015-02-12 14:08:45 UTC (rev 127606)
@@ -1,10 +1,10 @@
 # $Id$
-# Maintainer: Felix Yan felixonm...@gmail.com
+# Maintainer: Felix Yan felixonm...@archlinux.org
 # Contributor: poplarch popla...@gmail.com
 
 pkgname=fcitx-libpinyin
 pkgver=0.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc=Fcitx Wrapper for libpinyin, Library to deal with pinyin
 arch=('i686' 'x86_64')
 url=https://github.com/fcitx/fcitx-libpinyin;


[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2013-07-16 Thread Felix Yan
Date: Tuesday, July 16, 2013 @ 18:29:13
  Author: fyan
Revision: 94201

upgpkg: fcitx-libpinyin 0.3.1-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |   13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-16 16:25:08 UTC (rev 94200)
+++ PKGBUILD2013-07-16 16:29:13 UTC (rev 94201)
@@ -3,24 +3,20 @@
 # Contributor: poplarch popla...@gmail.com
 
 pkgname=fcitx-libpinyin
-pkgver=0.3.0
-pkgrel=2
+pkgver=0.3.1
+pkgrel=1
 pkgdesc=Fcitx Wrapper for libpinyin, Library to deal with pinyin
 arch=('i686' 'x86_64')
 url=https://github.com/fcitx/fcitx-libpinyin;
 license=('GPL')
 depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
 makedepends=('cmake' 'intltool' 'wget')
-source=(http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;
-
https://github.com/fcitx/fcitx-libpinyin/commit/7a68b40e36bd3425dae847a3860057a951ec5e78.patch;)
+source=(http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
 install=$pkgname.install
 
 build() {
   cd $srcdir/${pkgname}-${pkgver}
 
-  # Fix importdict
-  patch -p1 -i ../7a68b40e36bd3425dae847a3860057a951ec5e78.patch
-
   rm -rf build
   mkdir build
   cd build
@@ -36,5 +32,4 @@
   make DESTDIR=${pkgdir} install
 }
 
-sha512sums=('e80e15a51f0d7de20abc4877d32796bbd93f30a2e4383bd64bccf1075696dddb2d0ea0180fff44ebee0e94988ab60e3d2526dd3f80bb99f4186e1bf4e3437762'
-
'0b4776d348db9616d9bd4485fe7950a5c88f349388a4dc97e0ec62beaf0d6729ba88c645b1f83d415af8c5808cde3aae4b8306fd65e21bd404e9a8105d5bcae0')
+sha512sums=('3b7501a75dab2f5b83541c71ccac93709f3354f390f322d7b95e4b94e0c4dc6963522759ab52eb77203d787d6d14d3ce1c838dd92ecd0db041a3b7a25008eaa4')



[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2013-07-02 Thread Felix Yan
Date: Wednesday, July 3, 2013 @ 06:07:35
  Author: fyan
Revision: 93397

upgpkg: fcitx-libpinyin 0.3.0-2

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-02 21:32:48 UTC (rev 93396)
+++ PKGBUILD2013-07-03 04:07:35 UTC (rev 93397)
@@ -4,19 +4,23 @@
 
 pkgname=fcitx-libpinyin
 pkgver=0.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc=Fcitx Wrapper for libpinyin, Library to deal with pinyin
 arch=('i686' 'x86_64')
 url=https://github.com/fcitx/fcitx-libpinyin;
 license=('GPL')
 depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
 makedepends=('cmake' 'intltool' 'wget')
-source=(http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
+source=(http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;
+
https://github.com/fcitx/fcitx-libpinyin/commit/7a68b40e36bd3425dae847a3860057a951ec5e78.patch;)
 install=$pkgname.install
 
 build() {
   cd $srcdir/${pkgname}-${pkgver}
 
+  # Fix importdict
+  patch -p1 -i ../7a68b40e36bd3425dae847a3860057a951ec5e78.patch
+
   rm -rf build
   mkdir build
   cd build
@@ -32,4 +36,5 @@
   make DESTDIR=${pkgdir} install
 }
 
-sha512sums=('e80e15a51f0d7de20abc4877d32796bbd93f30a2e4383bd64bccf1075696dddb2d0ea0180fff44ebee0e94988ab60e3d2526dd3f80bb99f4186e1bf4e3437762')
+sha512sums=('e80e15a51f0d7de20abc4877d32796bbd93f30a2e4383bd64bccf1075696dddb2d0ea0180fff44ebee0e94988ab60e3d2526dd3f80bb99f4186e1bf4e3437762'
+
'0b4776d348db9616d9bd4485fe7950a5c88f349388a4dc97e0ec62beaf0d6729ba88c645b1f83d415af8c5808cde3aae4b8306fd65e21bd404e9a8105d5bcae0')



[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2013-07-01 Thread Felix Yan
Date: Monday, July 1, 2013 @ 10:17:11
  Author: fyan
Revision: 93296

upgpkg: fcitx-libpinyin 0.3.0-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-01 07:50:25 UTC (rev 93295)
+++ PKGBUILD2013-07-01 08:17:11 UTC (rev 93296)
@@ -3,15 +3,15 @@
 # Contributor: poplarch popla...@gmail.com
 
 pkgname=fcitx-libpinyin
-pkgver=0.2.92
+pkgver=0.3.0
 pkgrel=1
 pkgdesc=Fcitx Wrapper for libpinyin, Library to deal with pinyin
 arch=('i686' 'x86_64')
 url=https://github.com/fcitx/fcitx-libpinyin;
 license=('GPL')
-depends=('fcitx' 'libpinyin')
+depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
 makedepends=('cmake' 'intltool' 'wget')
-source=(https://fcitx.googlecode.com/files/${pkgname}-${pkgver}_dict.tar.xz;)
+source=(http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz;)
 install=$pkgname.install
 
 build() {
@@ -31,4 +31,5 @@
   cd $srcdir/${pkgname}-${pkgver}/build
   make DESTDIR=${pkgdir} install
 }
-sha512sums=('bea86b1041fa311a9bbcd2a6d74ab36d9659ebb6c92122307d3bd4dc44bcb0567d4aeafe62f3b6fe6a85160b369722f391063b47765dc88ec9a9b569cfca640f')
+
+sha512sums=('e80e15a51f0d7de20abc4877d32796bbd93f30a2e4383bd64bccf1075696dddb2d0ea0180fff44ebee0e94988ab60e3d2526dd3f80bb99f4186e1bf4e3437762')



[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2013-04-30 Thread Felix Yan
Date: Tuesday, April 30, 2013 @ 08:59:41
  Author: fyan
Revision: 89581

upgpkg: fcitx-libpinyin 0.2.92-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-30 06:45:43 UTC (rev 89580)
+++ PKGBUILD2013-04-30 06:59:41 UTC (rev 89581)
@@ -3,7 +3,7 @@
 # Contributor: poplarch popla...@gmail.com
 
 pkgname=fcitx-libpinyin
-pkgver=0.2.91
+pkgver=0.2.92
 pkgrel=1
 pkgdesc=Fcitx Wrapper for libpinyin, Library to deal with pinyin
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 license=('GPL')
 depends=('fcitx' 'libpinyin')
 makedepends=('cmake' 'intltool' 'wget')
-source=(https://github.com/fcitx/$pkgname/archive/$pkgver.tar.gz;)
+source=(https://fcitx.googlecode.com/files/${pkgname}-${pkgver}_dict.tar.xz;)
 install=$pkgname.install
 
 build() {
@@ -31,4 +31,4 @@
   cd $srcdir/${pkgname}-${pkgver}/build
   make DESTDIR=${pkgdir} install
 }
-md5sums=('060707cb5a296b2cc10542a01fe40de9')
+sha512sums=('bea86b1041fa311a9bbcd2a6d74ab36d9659ebb6c92122307d3bd4dc44bcb0567d4aeafe62f3b6fe6a85160b369722f391063b47765dc88ec9a9b569cfca640f')



[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2013-03-24 Thread Felix Yan
Date: Sunday, March 24, 2013 @ 13:43:49
  Author: fyan
Revision: 86912

upgpkg: fcitx-libpinyin 0.2.91-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-24 12:00:12 UTC (rev 86911)
+++ PKGBUILD2013-03-24 12:43:49 UTC (rev 86912)
@@ -3,7 +3,7 @@
 # Contributor: poplarch popla...@gmail.com
 
 pkgname=fcitx-libpinyin
-pkgver=0.2.90
+pkgver=0.2.91
 pkgrel=1
 pkgdesc=Fcitx Wrapper for libpinyin, Library to deal with pinyin
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 license=('GPL')
 depends=('fcitx' 'libpinyin')
 makedepends=('cmake' 'intltool' 'wget')
-source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz;)
+source=(https://github.com/fcitx/$pkgname/archive/$pkgver.tar.gz;)
 install=$pkgname.install
 
 build() {
@@ -31,4 +31,4 @@
   cd $srcdir/${pkgname}-${pkgver}/build
   make DESTDIR=${pkgdir} install
 }
-md5sums=('b19526c18102d8c240f2933d21bbbc81')
+md5sums=('060707cb5a296b2cc10542a01fe40de9')



[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)

2013-03-18 Thread Felix Yan
Date: Monday, March 18, 2013 @ 15:13:11
  Author: fyan
Revision: 86520

upgpkg: fcitx-libpinyin 0.2.90-1

Modified:
  fcitx-libpinyin/trunk/PKGBUILD

--+
 PKGBUILD |   11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-18 13:54:45 UTC (rev 86519)
+++ PKGBUILD2013-03-18 14:13:11 UTC (rev 86520)
@@ -3,17 +3,16 @@
 # Contributor: poplarch popla...@gmail.com
 
 pkgname=fcitx-libpinyin
-pkgver=0.2.1
-pkgrel=3
+pkgver=0.2.90
+pkgrel=1
 pkgdesc=Fcitx Wrapper for libpinyin, Library to deal with pinyin
 arch=('i686' 'x86_64')
 url=https://github.com/fcitx/fcitx-libpinyin;
 license=('GPL')
-depends=('fcitx=4.2.0' 'libpinyin=0.3.0')
+depends=('fcitx' 'libpinyin')
 makedepends=('cmake' 'intltool' 'wget')
-provides=('fcitx-libpinyin')
 source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz;)
-install='fcitx-libpinyin.install'
+install=$pkgname.install
 
 build() {
   cd $srcdir/${pkgname}-${pkgver}
@@ -32,4 +31,4 @@
   cd $srcdir/${pkgname}-${pkgver}/build
   make DESTDIR=${pkgdir} install
 }
-md5sums=('9ff621f6f16ab426ff01652b1ffc06a7')
+md5sums=('b19526c18102d8c240f2933d21bbbc81')