Hi, It seems setuplibdir in config.py is not used at all.
That is why this strange value did not cause problem. | pkglibdir = '/usr/lib/x86_64-linux-gnu/ibus-hangul' | setuplibdir = pkglibdir + '/setup Actual files are /usr/lib/ibus/ibus-engine-hangul /usr/lib/ibus/ibus-setup-hangul I sugest attached as possible fix. Please note this also fix missing dh-python dependency recommended while building with newer debhelper. Osamu
>From e1eda085ba69d349d9ac05572a9146ba8aebcc76 Mon Sep 17 00:00:00 2001 From: Osamu Aoki <[email protected]> Date: Wed, 5 Nov 2014 23:08:28 +0900 Subject: [PATCH] Fix arch dep file in /usr/share * Fix arch dep file in /usr/share. Closes: #768061 * Add dh-python to depends. --- debian/changelog | 7 +++++ debian/control | 1 + .../0002-Fix-remaining-s-libdir-libexecdir-g.patch | 31 ++++++++++++++++++++++ debian/patches/series | 1 + 4 files changed, 40 insertions(+) create mode 100644 debian/patches/0002-Fix-remaining-s-libdir-libexecdir-g.patch diff --git a/debian/changelog b/debian/changelog index 6792937..76c36b3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ibus-hangul (1.5.0-2) unstable; urgency=medium + + * Fix arch dep file in /usr/share. Closes: #768061 + * Add dh-python to depends. + + -- Osamu Aoki <[email protected]> Wed, 05 Nov 2014 23:06:43 +0900 + ibus-hangul (1.5.0-1) unstable; urgency=medium * New upstream release diff --git a/debian/control b/debian/control index bc20a13..9755d4a 100644 --- a/debian/control +++ b/debian/control @@ -13,6 +13,7 @@ Build-Depends: autopoint, autotools-dev, debhelper (>= 9~), dh-autoreconf, + dh-python, intltool, libhangul-dev (>= 0.1.0), libibus-1.0-dev (>= 1.4.0), diff --git a/debian/patches/0002-Fix-remaining-s-libdir-libexecdir-g.patch b/debian/patches/0002-Fix-remaining-s-libdir-libexecdir-g.patch new file mode 100644 index 0000000..f0d7177 --- /dev/null +++ b/debian/patches/0002-Fix-remaining-s-libdir-libexecdir-g.patch @@ -0,0 +1,31 @@ +From: Osamu Aoki <[email protected]> +Date: Wed, 5 Nov 2014 22:30:21 +0900 +Subject: Fix remaining s/libdir/libexecdir/g + +--- + setup/Makefile.am | 6 +++--- + setup/config.py.in | 4 ++-- + setup/main.py | 2 +- + 3 files changed, 6 insertions(+), 6 deletions(-) + +--- a/setup/Makefile.am ++++ b/setup/Makefile.am +@@ -64,8 +64,7 @@ + config.py: config.py.in Makefile + sed -e 's&@SETUP_GETTEXT_PACKAGE@&$(GETTEXT_PACKAGE)&g' \ + -e 's&@SETUP_LOCALEDIR@&$(localedir)&g' \ +- -e 's&@SETUP_PKGDATADIR@&$(pkgdatadir)&g' \ +- -e 's&@SETUP_PKGLIBDIR@&$(pkglibdir)&g' $< > $@ ++ -e 's&@SETUP_PKGDATADIR@&$(pkgdatadir)&g' $< > $@ + + ibus-setup-hangul: ibus-setup-hangul.in config.py Makefile + sed -e 's&@SETUP_PKGDATADIR@&$(pkgdatadir)&g' \ +--- a/setup/config.py.in ++++ b/setup/config.py.in +@@ -21,6 +21,4 @@ + gettext_package = '@SETUP_GETTEXT_PACKAGE@' + localedir = '@SETUP_LOCALEDIR@' + pkgdatadir = '@SETUP_PKGDATADIR@' +-pkglibdir = '@SETUP_PKGLIBDIR@' + setupdatadir = pkgdatadir + '/setup' +-setuplibdir = pkglibdir + '/setup' diff --git a/debian/patches/series b/debian/patches/series index a2fba86..8b09165 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ python3.patch +0002-Fix-remaining-s-libdir-libexecdir-g.patch -- 2.1.3

