Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
This is a pre-approval for unblocking uim/1:1.8.8-4. Please unblock package uim. When upgrading from stretch to buster, input methods setting is broke due to dropping uim-{byeoru,ipa-x-sampa,latin,look,m17nlib,pinyin,viqr} packages previously. So this uploading ressurects their packages for normally upgrading. diff -Nru uim-1.8.8/debian/NEWS uim-1.8.8/debian/NEWS --- uim-1.8.8/debian/NEWS 2017-10-01 11:24:34.000000000 +0900 +++ uim-1.8.8/debian/NEWS 2019-03-27 23:08:38.000000000 +0900 @@ -1,15 +1,5 @@ uim (1:1.8.6+gh20161003.0.d63dadd-5) unstable; urgency=medium - automatically register/unregister input methods: - - - byeoru : byeoru hangul input method - - ipa-x-sampa: X-SAMPA IPA input method - - latin : Latin script input method - - look : dictionary-based completion input method - - m17nlib : m17nlib multilingual input method - - pinyin : pinyin input method - - viqr : Vietnamese Quoted-Readable input method - drop applet packages. - uim-applet-gnome diff -Nru uim-1.8.8/debian/changelog uim-1.8.8/debian/changelog --- uim-1.8.8/debian/changelog 2018-08-03 21:26:06.000000000 +0900 +++ uim-1.8.8/debian/changelog 2019-03-28 09:31:18.000000000 +0900 @@ -1,3 +1,23 @@ +uim (1:1.8.8-4) unstable; urgency=medium + + [ YOSHINO Yoshihito ] + * Non-maintainer upload. + * d/{uim.{postinst,prerm},NEWS}: Do not auto-register/unregister plugins of + the following input methods: + byeoru, ipa-x-sampa, latin, look, m17nlib, pinyin, viqr + When upgrading from stretch this behaved badly and they took precedence + over other popular plugins many people use. + * d/{control,rules,uim-*.{postinst,prerm}}: Resurrect packages + uim-{byeoru,ipa-x-sampa,latin,look,m17nlib,pinyin,viqr} for those plugins. + All of them exist in stretch and should upgrade normally. + Dear testing/sid users, + If you are using some of the input methods above, you have to manually + install the respective package(s). Sorry for any inconvenience. + * d/{uim.preinst,control}: Unregister those plugins on upgrade from + testing/sid. Make uim Pre-Depends: uim-data accordingly. + + -- HIGUCHI Daisuke (VDR dai) <d...@debian.org> Thu, 28 Mar 2019 09:31:18 +0900 + uim (1:1.8.8-3) unstable; urgency=medium [ HIGUCHI Daisuke (VDR dai) ] diff -Nru uim-1.8.8/debian/control uim-1.8.8/debian/control --- uim-1.8.8/debian/control 2018-08-03 18:40:41.000000000 +0900 +++ uim-1.8.8/debian/control 2019-03-27 23:08:38.000000000 +0900 @@ -40,9 +40,9 @@ Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends}, - uim-data (>= ${source:Version}), uim-plugins (>= ${source:Version}) -Pre-Depends: dpkg (>= 1.15.7.2) +Pre-Depends: dpkg (>= 1.15.7.2), + uim-data (>= ${source:Version}) Breaks: uim-common (<< 1:1.8.6+gh20161003.0.d63dadd-5~), libuim-data (<< 1:1.8.6+gh20161003.0.d63dadd-5~), uim-utils (<< 1:1.8.6+gh20161003.0.d63dadd-5~), @@ -92,9 +92,23 @@ Architecture: all Breaks: libuim-data (<< 1:1.8.6+gh20161003.0.d63dadd-5~), uim-anthy (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-m17nlib (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-byeoru (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-latin (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-pinyin (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-viqr (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-ipa-x-sampa (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-look (<< 1:1.8.6+gh20161003.0.d63dadd-5~), uim-common (<< 1:1.8.6+gh20161003.0.d63dadd-5~) Replaces: libuim-data (<< 1:1.8.6+gh20161003.0.d63dadd-5~), uim-anthy (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-m17nlib (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-byeoru (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-latin (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-pinyin (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-viqr (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-ipa-x-sampa (<< 1:1.8.6+gh20161003.0.d63dadd-5~), + uim-look (<< 1:1.8.6+gh20161003.0.d63dadd-5~), uim-common (<< 1:1.8.6+gh20161003.0.d63dadd-5~) Depends: m17n-db, ${misc:Depends} @@ -344,6 +358,23 @@ This package contains a plugin for uim to support the use of the Japanese input method SKK. +Package: uim-m17nlib +Section: utils +Architecture: all +Depends: ${misc:Depends}, + uim (>= ${source:Version}), + uim-data (>= ${source:Version}) +Multi-Arch: foreign +Description: Universal Input Method - m17nlib plugin metapackage + Uim is an input method module library which supports various scripts and can + act as a front end for a range of input methods, including Anthy, Canna, + or SKK (for Japanese), Pinyin (for Chinese), Byeoru (for Korean), and + M17n (for many other languages). Most of its functions are implemented in + Scheme, so it's very simple and flexible. + . + This package contains a plugin for uim to support the use of the + general-purpose input method M17n (for "Multilingualization"). + Package: uim-el Section: lisp Architecture: any @@ -361,6 +392,58 @@ . This package contains an Emacs front end for uim. +Package: uim-byeoru +Section: utils +Architecture: all +Depends: ${misc:Depends}, + uim (>= ${source:Version}), + uim-data (>= ${source:Version}) +Multi-Arch: foreign +Description: Universal Input Method - byeoru hangul input support metapackage + Uim is an input method module library which supports various scripts and can + act as a front end for a range of input methods, including Anthy, Canna, + or SKK (for Japanese), Pinyin (for Chinese), Byeoru (for Korean), and + M17n (for many other languages). Most of its functions are implemented in + Scheme, so it's very simple and flexible. + . + This package contains a plugin for uim to support the use of the Byeoru input + module for hangul. + +Package: uim-latin +Section: utils +Architecture: all +Depends: ${misc:Depends}, + uim (>= ${source:Version}), + uim-data (>= ${source:Version}) +Multi-Arch: foreign +Description: Universal Input Method - Latin script input support metapackage + Uim is an input method module library which supports various scripts and can + act as a front end for a range of input methods, including Anthy, Canna, + or SKK (for Japanese), Pinyin (for Chinese), Byeoru (for Korean), and + M17n (for many other languages). Most of its functions are implemented in + Scheme, so it's very simple and flexible. + . + This package contains a plugin for uim to support the use of the (Emacs) + Latin input method, which provides composing sequences for accented and + otherwise modified Roman-alphabet letters. + +Package: uim-pinyin +Section: utils +Architecture: all +Depends: ${misc:Depends}, + uim (>= ${source:Version}), + uim-data (>= ${source:Version}) +Multi-Arch: foreign +Description: Universal Input Method - pinyin input support metapackage + Uim is an input method module library which supports various scripts and can + act as a front end for a range of input methods, including Anthy, Canna, + or SKK (for Japanese), Pinyin (for Chinese), Byeoru (for Korean), and + M17n (for many other languages). Most of its functions are implemented in + Scheme, so it's very simple and flexible. + . + This package provides uim support for the (Traditional and Simplified) + Chinese input methods py, pyunihan, and pinyin-big5. + Package: uim-tcode Section: utils Architecture: all @@ -380,3 +463,56 @@ This package provides uim support for TUT-Code (or "T-Code"), a Japanese input method mapping pairs of alphanumeric codes to individual kanji - see http://openlab.jp/tcode/ (in Japanese). + +Package: uim-viqr +Section: utils +Architecture: all +Depends: ${misc:Depends}, + uim (>= ${source:Version}), + uim-data (>= ${source:Version}) +Multi-Arch: foreign +Description: Universal Input Method - Vietnamese Quoted-Readable support metapackage + Uim is an input method module library which supports various scripts and can + act as a front end for a range of input methods, including Anthy, Canna, + or SKK (for Japanese), Pinyin (for Chinese), Byeoru (for Korean), and + M17n (for many other languages). Most of its functions are implemented in + Scheme, so it's very simple and flexible. + . + This package provides uim support for VIQR (Vietnamese Quoted-Readable) + input. VIQR is a mnemonic encoding of Vietnamese characters into US ASCII + for use on 7-bit systems - see RFC1456. + +Package: uim-ipa-x-sampa +Section: utils +Architecture: all +Depends: ${misc:Depends}, + uim (>= ${source:Version}), + uim-data (>= ${source:Version}) +Multi-Arch: foreign +Description: Universal Input Method - X-SAMPA IPA input support metapackage + Uim is an input method module library which supports various scripts and can + act as a front end for a range of input methods, including Anthy, Canna, + or SKK (for Japanese), Pinyin (for Chinese), Byeoru (for Korean), and + M17n (for many other languages). Most of its functions are implemented in + Scheme, so it's very simple and flexible. + . + This package provides uim support for the International Phonetic Alphabet, + using the 7-bit extended-SAMPA system - see + http://www.phon.ucl.ac.uk/home/sampa/x-sampa.htm + +Package: uim-look +Section: utils +Architecture: all +Depends: ${misc:Depends}, + uim (>= ${source:Version}), + uim-data (>= ${source:Version}) +Recommends: wordlist +Multi-Arch: foreign +Description: Universal Input Method - Dictionary-based completion input support metapackage + Uim is an input method module library which supports various scripts and can + act as a front end for a range of input methods, including Anthy, Canna, + or SKK (for Japanese), Pinyin (for Chinese), Byeoru (for Korean), and + M17n (for many other languages). Most of its functions are implemented in + Scheme, so it's very simple and flexible. + . + This package contains Dictionary-based completion input style for uim. diff -Nru uim-1.8.8/debian/rules uim-1.8.8/debian/rules --- uim-1.8.8/debian/rules 2018-05-12 11:36:19.000000000 +0900 +++ uim-1.8.8/debian/rules 2019-03-27 23:08:38.000000000 +0900 @@ -103,7 +103,9 @@ rm -f $(CURDIR)/debian/uim.docs # arch:all dh_installdocs --link-doc uim-data \ - -puim-anthy -puim-skk -puim-tcode + -puim-anthy -puim-skk -puim-m17nlib \ + -puim-byeoru -puim-latin -puim-pinyin \ + -puim-tcode -puim-viqr -puim-ipa-x-sampa -puim-look # arch:any dh_installdocs --link-doc uim \ -puim-gtk2.0 -puim-gtk2.0-immodule \ diff -Nru uim-1.8.8/debian/uim-byeoru.postinst uim-1.8.8/debian/uim-byeoru.postinst --- uim-1.8.8/debian/uim-byeoru.postinst 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-byeoru.postinst 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,50 @@ +#! /bin/sh +# postinst script for uim +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --register byeoru --path /var/lib/uim + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-byeoru.prerm uim-1.8.8/debian/uim-byeoru.prerm --- uim-1.8.8/debian/uim-byeoru.prerm 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-byeoru.prerm 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,41 @@ +#!/bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --unregister byeoru --path /var/lib/uim + fi + ;; + upgrade|failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-ipa-x-sampa.postinst uim-1.8.8/debian/uim-ipa-x-sampa.postinst --- uim-1.8.8/debian/uim-ipa-x-sampa.postinst 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-ipa-x-sampa.postinst 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,50 @@ +#! /bin/sh +# postinst script for uim +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --register ipa-x-sampa --path /var/lib/uim + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-ipa-x-sampa.prerm uim-1.8.8/debian/uim-ipa-x-sampa.prerm --- uim-1.8.8/debian/uim-ipa-x-sampa.prerm 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-ipa-x-sampa.prerm 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,41 @@ +#!/bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --unregister ipa-x-sampa --path /var/lib/uim + fi + ;; + upgrade|failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-latin.postinst uim-1.8.8/debian/uim-latin.postinst --- uim-1.8.8/debian/uim-latin.postinst 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-latin.postinst 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,51 @@ +#! /bin/sh +# postinst script for uim +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --register latin elatin \ + --path /var/lib/uim + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-latin.prerm uim-1.8.8/debian/uim-latin.prerm --- uim-1.8.8/debian/uim-latin.prerm 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-latin.prerm 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,42 @@ +#!/bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --unregister latin elatin \ + --path /var/lib/uim + fi + ;; + upgrade|failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-look.postinst uim-1.8.8/debian/uim-look.postinst --- uim-1.8.8/debian/uim-look.postinst 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-look.postinst 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,50 @@ +#! /bin/sh +# postinst script for uim +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --register look --path /var/lib/uim + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-look.prerm uim-1.8.8/debian/uim-look.prerm --- uim-1.8.8/debian/uim-look.prerm 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-look.prerm 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,41 @@ +#!/bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --unregister look --path /var/lib/uim + fi + ;; + upgrade|failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-m17nlib.postinst uim-1.8.8/debian/uim-m17nlib.postinst --- uim-1.8.8/debian/uim-m17nlib.postinst 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-m17nlib.postinst 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,50 @@ +#! /bin/sh +# postinst script for uim +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --register m17nlib --path /var/lib/uim + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-m17nlib.prerm uim-1.8.8/debian/uim-m17nlib.prerm --- uim-1.8.8/debian/uim-m17nlib.prerm 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-m17nlib.prerm 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,41 @@ +#!/bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --unregister m17nlib --path /var/lib/uim + fi + ;; + upgrade|failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-pinyin.postinst uim-1.8.8/debian/uim-pinyin.postinst --- uim-1.8.8/debian/uim-pinyin.postinst 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-pinyin.postinst 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,50 @@ +#! /bin/sh +# postinst script for uim +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --register pyload --path /var/lib/uim + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-pinyin.prerm uim-1.8.8/debian/uim-pinyin.prerm --- uim-1.8.8/debian/uim-pinyin.prerm 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-pinyin.prerm 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,41 @@ +#!/bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --unregister pyload --path /var/lib/uim + fi + ;; + upgrade|failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-viqr.postinst uim-1.8.8/debian/uim-viqr.postinst --- uim-1.8.8/debian/uim-viqr.postinst 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-viqr.postinst 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,50 @@ +#! /bin/sh +# postinst script for uim +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --register viqr --path /var/lib/uim + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim-viqr.prerm uim-1.8.8/debian/uim-viqr.prerm --- uim-1.8.8/debian/uim-viqr.prerm 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim-viqr.prerm 2019-03-27 23:08:38.000000000 +0900 @@ -0,0 +1,41 @@ +#!/bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + if which uim-module-manager >/dev/null 2>&1; then + uim-module-manager --unregister viqr --path /var/lib/uim + fi + ;; + upgrade|failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -Nru uim-1.8.8/debian/uim.postinst uim-1.8.8/debian/uim.postinst --- uim-1.8.8/debian/uim.postinst 2017-10-01 11:24:34.000000000 +0900 +++ uim-1.8.8/debian/uim.postinst 2019-03-27 23:08:38.000000000 +0900 @@ -20,8 +20,6 @@ # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. -SUPPORTED_MODULES="byeoru ipa-x-sampa latin elatin look m17nlib pyload viqr" - case "$1" in configure) if [ ! -e /var/lib/uim/installed-modules.scm -o \ @@ -30,11 +28,6 @@ uim-module-manager --unregister-all --path /var/lib/uim fi fi - - for i in $SUPPORTED_MODULES; do - uim-module-manager --register $i --path /var/lib/uim - done - update-alternatives --install /usr/bin/uim-toolbar uim-toolbar \ /bin/true -100 ;; diff -Nru uim-1.8.8/debian/uim.preinst uim-1.8.8/debian/uim.preinst --- uim-1.8.8/debian/uim.preinst 1970-01-01 09:00:00.000000000 +0900 +++ uim-1.8.8/debian/uim.preinst 2019-03-28 09:31:09.000000000 +0900 @@ -0,0 +1,37 @@ +#! /bin/sh +# preinst script for uim +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + upgrade) + if which uim-module-manager >/dev/null 2>&1; then + if dpkg --compare-versions "$2" lt-nl "1:1.8.8-3.1" && \ + dpkg --compare-versions "$2" gt "1:1.8.6+gh20161003.0.d63dadd-3~exp1"; then + cat <<EOF +Unregistering the following input methods ... +byeoru, ipa-x-sampa, latin, look, m17nlib, pinyin, viqr +If you are using some of the input methods above, you have to manually +install the respective package(s). Sorry for any inconvenience. +EOF + for i in byeoru ipa-x-sampa latin elatin look m17nlib pyload viqr; do + uim-module-manager --unregister $i --path /var/lib/uim + done + fi + fi + ;; + + install|abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff -Nru uim-1.8.8/debian/uim.prerm uim-1.8.8/debian/uim.prerm --- uim-1.8.8/debian/uim.prerm 2017-10-01 11:24:34.000000000 +0900 +++ uim-1.8.8/debian/uim.prerm 2019-03-27 23:08:38.000000000 +0900 @@ -1,14 +1,8 @@ #!/bin/sh set -e -SUPPORTED_MODULES="byeoru ipa-x-sampa latin elatin look m17nlib pyload viqr" - case "$1" in remove|deconfigure) - for i in $SUPPORTED_MODULES; do - uim-module-manager --unregister $i --path /var/lib/uim - done - update-alternatives --remove uim-toolbar \ /bin/true ;; unblock uim/1:1.8.8-4 -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
signature.asc
Description: PGP signature