Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F10845081
D7470.id18646.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Referenced Files
None
Subscribers
None
D7470.id18646.diff
View Options
Index: Makefile
===================================================================
--- /dev/null
+++ Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
Index: abi_used_libs
===================================================================
--- /dev/null
+++ abi_used_libs
@@ -0,0 +1,19 @@
+ld-linux-x86-64.so.2
+libQt5Core.so.5
+libQt5Gui.so.5
+libQt5Widgets.so.5
+libc.so.6
+libcairo.so.2
+libgcc_s.so.1
+libgdk-x11-2.0.so.0
+libgio-2.0.so.0
+libglib-2.0.so.0
+libgobject-2.0.so.0
+libgtk-x11-2.0.so.0
+libibus-1.0.so.5
+libm.so.6
+libpango-1.0.so.0
+libpthread.so.0
+libstdc++.so.6
+libxcb-xfixes.so.0
+libxcb.so.1
Index: files/mozc.patch
===================================================================
--- /dev/null
+++ files/mozc.patch
@@ -0,0 +1,20 @@
+--- mozc/src/prediction/zero_query_dict.h 2019-10-21 00:07:56.000000000 +0900
++++ mozc/src/prediction/zero_query_dict.h 2019-10-20 21:27:24.814046862 +0900
+@@ -132,6 +132,17 @@ class ZeroQueryDict {
+ return tmp;
+ }
+
++ iterator &operator--() {
++ ptr_ -= kTokenByteSize;
++ return *this;
++ }
++
++ iterator operator--(int) {
++ const iterator tmp(ptr_, string_array_);
++ ptr_ -= kTokenByteSize;
++ return tmp;
++ }
++
+ iterator &operator+=(ptrdiff_t n) {
+ ptr_ += n * kTokenByteSize;
+ return *this;
Index: package.yml
===================================================================
--- /dev/null
+++ package.yml
@@ -0,0 +1,40 @@
+name : ibus-mozc
+version : 2.23.2815
+release : 1
+source :
+ - git|https://github.com/google/mozc : afb03ddfe72dde4cf2409863a3bfea160f7a66d8
+license : BSD-3-Clause
+component : desktop.core
+summary : Mozc engine for IBus.
+description: |
+ Japanese Input Method Editor for IBus.
+builddeps :
+ - pkgconfig(Qt5Gui)
+ - pkgconfig(gtk+-2.0)
+ - pkgconfig(ibus-1.0)
+setup : |
+ %patch -p1 < $pkgfiles/mozc.patch
+build : |
+ cd src
+ GYP_DEFINES="ibus_mozc_path=/usr/lib64/ibus-mozc/ibus-engine-mozc server_dir=/usr/lib64/mozc" \
+ python build_mozc.py gyp
+ python build_mozc.py build -c Release unix/ibus/ibus.gyp:ibus_mozc server/server.gyp:mozc_server \
+ gui/gui.gyp:mozc_tool renderer/renderer.gyp:mozc_renderer
+install : |
+ pushd src/out_linux/Release
+ mv ibus_mozc ibus-engine-mozc
+ for bin in ibus-engine-mozc; do
+ install -Dm00755 $bin $installdir/usr/lib/ibus-mozc/$bin
+ done
+ for bin in mozc_renderer mozc_server mozc_tool; do
+ install -Dm00755 $bin $installdir/usr/lib/mozc/$bin
+ done
+ for xml in gen/unix/ibus/mozc.xml; do
+ install -Dm00644 $xml $installdir/usr/share/ibus/component/${xml##*/}
+ done
+ popd
+ pushd src/data/images/unix
+ mv ime_product_icon_opensource-32.png product_icon.png
+ for icon in *.png; do
+ install -Dm00644 $icon $installdir/usr/share/ibus-mozc/${icon#ui-}
+ done
Index: pspec_x86_64.xml
===================================================================
--- /dev/null
+++ pspec_x86_64.xml
@@ -0,0 +1,48 @@
+<PISI>
+ <Source>
+ <Name>ibus-mozc</Name>
+ <Packager>
+ <Name>PG_MANA</Name>
+ <Email>pg_mana@taprix.org</Email>
+ </Packager>
+ <License>BSD-3-Clause</License>
+ <PartOf>desktop.core</PartOf>
+ <Summary xml:lang="en">Mozc engine for IBus.</Summary>
+ <Description xml:lang="en">Japanese Input Method Editor for IBus.</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">
+ https://getsol.us/sources/README.Solus
+ </Archive>
+ </Source>
+ <Package>
+ <Name>ibus-mozc</Name>
+ <Summary xml:lang="en">Mozc engine for IBus.</Summary>
+ <Description xml:lang="en">Japanese Input Method Editor for IBus.</Description>
+ <PartOf>desktop.core</PartOf>
+ <Files>
+ <Path fileType="library">/usr/lib/ibus-mozc/ibus-engine-mozc</Path>
+ <Path fileType="library">/usr/lib/mozc/mozc_renderer</Path>
+ <Path fileType="library">/usr/lib/mozc/mozc_server</Path>
+ <Path fileType="library">/usr/lib/mozc/mozc_tool</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/alpha_full.png</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/alpha_half.png</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/dictionary.png</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/direct.png</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/hiragana.png</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/katakana_full.png</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/katakana_half.png</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/product_icon.png</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/properties.png</Path>
+ <Path fileType="data">/usr/share/ibus-mozc/tool.png</Path>
+ <Path fileType="data">/usr/share/ibus/component/mozc.xml</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2019-11-02</Date>
+ <Version>2.23.2815</Version>
+ <Comment>First packaging</Comment>
+ <Name>PG_MANA</Name>
+ <Email>pg_mana@taprix.org</Email>
+ </Update>
+ </History>
+</PISI>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 11 2023, 10:58 PM (8 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5855121
Default Alt Text
D7470.id18646.diff (5 KB)
Attached To
Mode
D7470: Initial working ibus-mozc
Attached
Detach File
Event Timeline
Log In to Comment