Remove obsolete mozc pkgs.

This commit is contained in:
Gabriel Ebner 2022-02-02 20:16:06 +01:00
parent 8df002a49c
commit b8b73689aa
6 changed files with 0 additions and 206 deletions

View File

@ -1,23 +0,0 @@
pkgbase = ibus-mozc-ut
pkgdesc = Mozc module for IBus bundled with the UT dictionary
pkgver = 2.26.4577.102.20211205
pkgrel = 1
url = https://github.com/google/mozc
arch = i686
arch = x86_64
license = custom
makedepends = bazel
makedepends = git
makedepends = pkgconf
makedepends = python-six
makedepends = qt5-base
depends = ibus>=1.4.1
depends = mozc-ut-common
provides = ibus-mozc=2.26.4577.102
conflicts = ibus-mozc
conflicts = ibus-mozc-ut2
conflicts = ibus-mozc-ut-united
source = ibus-mozc-ut-git::git+https://github.com/google/mozc.git#commit=01306d0c67c5faa203994bab281c515b9d1248fa
sha256sums = SKIP
pkgname = ibus-mozc-ut

View File

@ -1,12 +0,0 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/ibus-mozc-ut.git
branch = master
commit = 202b2c689fb45096d072697173f2385882f39f2d
parent = c3091d10906fa845390642338f5a5e5d766aec80
method = merge
cmdver = 0.4.3

View File

@ -1,72 +0,0 @@
# Maintainer: Nocifer <apmichalopoulos at gmail dot com>
# Based on original PKGBUILD by: UTUMI Hirosi <utuhiro78 at yahoo dot co dot jp>
# Contributor: Felix Yan <felixonmars@gmail.com>
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
## The UT dictionary's project page: http://linuxplayers.g1.xrea.com/mozc-ut.html
## Helpful internal stuff
_commit=01306d0c67c5faa203994bab281c515b9d1248fa
_mozcver=2.26.4577.102
_utdicver=20211205
pkgname='ibus-mozc-ut'
pkgver=${_mozcver}.${_utdicver}
pkgrel=1
pkgdesc='Mozc module for IBus bundled with the UT dictionary'
arch=('i686' 'x86_64')
url='https://github.com/google/mozc'
license=('custom')
depends=('ibus>=1.4.1' 'mozc-ut-common')
makedepends=('bazel' 'git' 'pkgconf' 'python-six' 'qt5-base')
conflicts=('ibus-mozc' 'ibus-mozc-ut2' 'ibus-mozc-ut-united')
provides=("ibus-mozc=${_mozcver}")
source=("${pkgname}-git::git+https://github.com/google/mozc.git#commit=${_commit}")
sha256sums=('SKIP')
prepare() {
cd ${pkgname}-git
git submodule update --init --recursive
# Fix the Qt5 include path
sed -i -e 's/x86_64-linux-gnu\/qt5/qt/' src/config.bzl
# Fix the GLib include path
sed -i -e 's/x86_64-linux-gnu\/glib/glib/' src/BUILD.ibus.bazel
}
build() {
cd ${pkgname}-git/src
env PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH" bazel build renderer:mozc_renderer unix/ibus:ibus_mozc unix/icons --config oss_linux --compilation_mode opt
}
package() {
cd ${pkgname}-git/src
install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/mozc/ibus-mozc
install -Dm644 data/installer/credits_en.html ${pkgdir}/usr/share/licenses/mozc/ibus-mozc-submodules
install -Dm755 bazel-bin/renderer/mozc_renderer ${pkgdir}/usr/lib/mozc/mozc_renderer
install -Dm755 bazel-bin/unix/ibus/ibus_mozc ${pkgdir}/usr/lib/ibus-mozc/ibus-engine-mozc
install -Dm644 bazel-bin/unix/ibus/mozc.xml ${pkgdir}/usr/share/ibus/component/mozc.xml
cd bazel-bin/unix
unzip -o icons.zip
install -Dm644 mozc.png ${pkgdir}/usr/share/ibus-mozc/product_icon.png
install -Dm644 alpha_full.svg ${pkgdir}/usr/share/ibus-mozc/alpha_full.svg
install -Dm644 alpha_half.svg ${pkgdir}/usr/share/ibus-mozc/alpha_half.svg
install -Dm644 direct.svg ${pkgdir}/usr/share/ibus-mozc/direct.svg
install -Dm644 hiragana.svg ${pkgdir}/usr/share/ibus-mozc/hiragana.svg
install -Dm644 katakana_full.svg ${pkgdir}/usr/share/ibus-mozc/katakana_full.svg
install -Dm644 katakana_half.svg ${pkgdir}/usr/share/ibus-mozc/katakana_half.svg
install -Dm644 outlined/dictionary.svg ${pkgdir}/usr/share/ibus-mozc/dictionary.svg
install -Dm644 outlined/properties.svg ${pkgdir}/usr/share/ibus-mozc/properties.svg
install -Dm644 outlined/tool.svg ${pkgdir}/usr/share/ibus-mozc/tool.svg
}

View File

@ -1,28 +0,0 @@
pkgbase = mozc-ut-common
pkgdesc = The Open Source edition of Google Japanese Input bundled with the UT dictionary
pkgver = 2.26.4486.102.20210907
pkgrel = 1
url = https://github.com/google/mozc
arch = i686
arch = x86_64
license = custom
makedepends = bazel
makedepends = git
makedepends = pkgconf
makedepends = python-six
depends = qt5-base
provides = mozc=2.26.4486.102
provides = mozc-ut=2.26.4486.102.20210907
conflicts = mozc
conflicts = mozc-ut
conflicts = mozc-ut2
conflicts = mozc-neologd-ut
conflicts = mozc-neologd-ut+ut2
conflicts = mozc-ut-unified
conflicts = mozc-ut-united
source = mozc-ut-common-git::git+https://github.com/google/mozc.git#commit=7e8beed3ddad4f8d1065cbab52f24c16d31f5898
source = https://osdn.net/downloads/users/32/32939/mozcdic-ut-20210907.tar.bz2
sha256sums = SKIP
sha256sums = 8a3642e12f26b63c93547a037e1910d1462863bc44c821fbe05a6f86197a5a93
pkgname = mozc-ut-common

View File

@ -1,12 +0,0 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/mozc-ut-common.git
branch = master
commit = 07e5c3c752fbe0ee8a9279c3f35398c2453436a8
parent = ea4cecc53474df92bc30d0cabf4e8dae3f5ded05
method = merge
cmdver = 0.4.3

View File

@ -1,59 +0,0 @@
# Maintainer: Nocifer <apmichalopoulos at gmail dot com>
# Based on original PKGBUILD by: UTUMI Hirosi <utuhiro78 at yahoo dot co dot jp>
# Contributor: Felix Yan <felixonmars@gmail.com>
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
## The UT dictionary's project page: http://linuxplayers.g1.xrea.com/mozc-ut.html
## Helpful internal stuff
_commit=7e8beed3ddad4f8d1065cbab52f24c16d31f5898
_mozcver=2.26.4486.102
_utdicver=20210907
pkgname='mozc-ut-common'
pkgver=${_mozcver}.${_utdicver}
pkgrel=1
pkgdesc='The Open Source edition of Google Japanese Input bundled with the UT dictionary'
arch=('i686' 'x86_64')
url='https://github.com/google/mozc'
license=('custom')
depends=('qt5-base')
makedepends=('bazel' 'git' 'pkgconf' 'python-six')
conflicts=('mozc' 'mozc-ut' 'mozc-ut2' 'mozc-neologd-ut' 'mozc-neologd-ut+ut2' 'mozc-ut-unified' 'mozc-ut-united')
provides=("mozc=${_mozcver}" "mozc-ut=${_mozcver}.${_utdicver}")
source=("${pkgname}-git::git+https://github.com/google/mozc.git#commit=${_commit}"
"https://osdn.net/downloads/users/32/32939/mozcdic-ut-${_utdicver}.tar.bz2")
sha256sums=('SKIP'
'8a3642e12f26b63c93547a037e1910d1462863bc44c821fbe05a6f86197a5a93')
prepare() {
cd ${pkgname}-git
git submodule update --init --recursive
# Fix the Qt5 include path
sed -i -e 's/x86_64-linux-gnu\/qt5/qt/' src/config.bzl
# Add the UT dictionary
cat ${srcdir}/mozcdic-ut-${_utdicver}/mozcdic-ut-${_utdicver}.txt >> src/data/dictionary_oss/dictionary00.txt
}
build() {
cd ${pkgname}-git/src
env PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH" bazel build server:mozc_server gui/tool:mozc_tool --config oss_linux --compilation_mode opt
}
package() {
#install -Dm644 mozcdic-ut-${_utdicver}/COPYING ${pkgdir}/usr/share/licenses/mozc/ut-dictionary
cd ${pkgname}-git/src
install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/mozc/mozc
install -Dm644 data/installer/credits_en.html ${pkgdir}/usr/share/licenses/mozc/mozc-submodules
install -Dm755 bazel-bin/server/mozc_server ${pkgdir}/usr/lib/mozc/mozc_server
install -Dm755 bazel-bin/gui/tool/mozc_tool ${pkgdir}/usr/lib/mozc/mozc_tool
}