Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F10719830
D7470.id.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.id.diff
View Options
diff --git a/Makefile b/Makefile
new file mode 100644
--- /dev/null
+++ b/Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
diff --git a/abi_used_libs b/abi_used_libs
new file mode 100644
--- /dev/null
+++ b/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
diff --git a/files/mozc.patch b/files/mozc.patch
new file mode 100644
--- /dev/null
+++ b/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;
diff --git a/package.yml b/package.yml
new file mode 100644
--- /dev/null
+++ b/package.yml
@@ -0,0 +1,35 @@
+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
+ install -Dm00755 ibus_mozc $installdir/usr/lib/ibus-mozc/ibus-engine-mozc
+ for bin in mozc_renderer mozc_server mozc_tool; do
+ install -Dm00755 $bin $installdir/usr/lib/mozc/$bin
+ done
+ install -Dm00644 gen/unix/ibus/mozc.xml $installdir/usr/share/ibus/component/mozc.xml
+ 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
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
--- /dev/null
+++ b/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
May 6 2023, 2:29 PM (13 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5809050
Default Alt Text
D7470.id.diff (5 KB)
Attached To
Mode
D7470: Initial working ibus-mozc
Attached
Detach File
Event Timeline
Log In to Comment