[packages/qt-im-hangul] - new, currently for qt4 only (qt3 requires patch, qt5 not supported yet)

qboosh qboosh at pld-linux.org
Mon Apr 4 17:35:35 CEST 2016


commit 84400d1f90529ee77a0bdf48b02680bb739fbc33
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 4 17:35:37 2016 +0200

    - new, currently for qt4 only (qt3 requires patch, qt5 not supported yet)

 qt-im-hangul-sh.patch | 11 ++++++++
 qt-im-hangul.spec     | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)
---
diff --git a/qt-im-hangul.spec b/qt-im-hangul.spec
new file mode 100644
index 0000000..7eab3ea
--- /dev/null
+++ b/qt-im-hangul.spec
@@ -0,0 +1,71 @@
+Summary:	Input module of Qt for Korean using Hangul engine
+Summary(pl.UTF-8):	Moduł wejściowy Qt dla języka koreańskiego wykorzystujący silnik Hangul
+Name:		qt-im-hangul
+Version:	0.2.0
+Release:	1
+License:	GPL v2+
+Group:		X11/Libraries
+#Source0Download: https://github.com/choehwanjin/qimhangul/releases
+Source0:	https://github.com/choehwanjin/qimhangul/archive/qimhangul-%{version}.tar.gz
+# Source0-md5:	c870f01b027b882d577cea98a55557c0
+Patch0:		%{name}-sh.patch
+URL:		https://github.com/choehwanjin/qimhangul
+BuildRequires:	QtGui-devel >= 4.0.0
+BuildRequires:	autoconf >= 2.65
+BuildRequires:	automake
+BuildRequires:	libhangul-devel >= 0.0.12
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRequires:	qt4-build >= 4.0.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Input module of Qt for Korean using Hangul engine.
+
+%description -l pl.UTF-8
+Moduł wejściowy Qt dla języka koreańskiego wykorzystujący silnik
+Hangul.
+
+%package -n QtGui-inputmethod-hangul
+Summary:	Input module of Qt 4 for Korean using Hangul engine
+Summary(pl.UTF-8):	Moduł wejściowy Qt 4 dla języka koreańskiego wykorzystujący silnik Hangul
+Group:		X11/Libraries
+Requires:	QtGui >= 4.0.0
+Requires:	libhangul >= 0.0.12
+
+%description -n QtGui-inputmethod-hangul
+Input module of Qt 4 for Korean using Hangul engine.
+
+%description -n QtGui-inputmethod-hangul -l pl.UTF-8
+Moduł wejściowy Qt 4 dla języka koreańskiego wykorzystujący silnik
+Hangul.
+
+%prep
+%setup -q -n qimhangul-qimhangul-%{version}
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+PATH="%{_libdir}/qt4/bin:$PATH"
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/inputmethods/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n QtGui-inputmethod-hangul
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{_libdir}/qt4/plugins/inputmethods/libqimhangul.so
diff --git a/qt-im-hangul-sh.patch b/qt-im-hangul-sh.patch
new file mode 100644
index 0000000..3855563
--- /dev/null
+++ b/qt-im-hangul-sh.patch
@@ -0,0 +1,11 @@
+--- qimhangul-qimhangul-0.2.0/configure.ac.orig	2011-07-05 15:47:35.000000000 +0200
++++ qimhangul-qimhangul-0.2.0/configure.ac	2016-04-04 16:48:47.893056279 +0200
+@@ -46,7 +46,7 @@
+ 
+ # Check whether Qt is configured with X11
+ AC_MSG_CHECKING(whether Qt is configured with X11)
+-if pkg-config QtGui --variable=qt_config | grep x11 >& /dev/null; then
++if pkg-config QtGui --variable=qt_config | grep -q x11 2> /dev/null; then
+ 	qt_have_X11=yes
+ else
+ 	qt_have_X11=no
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt-im-hangul.git/commitdiff/84400d1f90529ee77a0bdf48b02680bb739fbc33



More information about the pld-cvs-commit mailing list