~ubuntu-branches/ubuntu/utopic/ibus-cangjie/utopic-updates

« back to all changes in this revision

Viewing changes to debian/patches/0001-install-engine-to-correct-dir.diff

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2015-05-26 09:19:14 UTC
  • mfrom: (6.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20150526091914-bterkby7t7a62eux
Tags: 2.4-1~utopic1
Backporting wily release sync to utopic to fix multiple UX issues
as per upstream request (LP: #1452376)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: ibus-engine-cangjie should be in /usr/lib/ibus
 
2
 Per Debian's ibus policy, ibus engines should be installed to
 
3
 /usr/lib/ibus.
 
4
Author: Anthony Wong <yp@anthonywong.net>
 
5
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746978
 
6
Last-Update: 2014-08-24
 
7
---
 
8
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 
9
--- a/Makefile.am
 
10
+++ b/Makefile.am
 
11
@@ -8,8 +8,8 @@
 
12
 # -- scripts/ ------------------------
 
13
 bin_SCRIPTS = scripts/ibus-setup-cangjie
 
14
 
 
15
-pkglibexec_SCRIPTS = scripts/ibus-engine-cangjie
 
16
-libexecdir = $(prefix)/lib
 
17
+libexec_SCRIPTS = scripts/ibus-engine-cangjie
 
18
+libexecdir = $(prefix)/lib/ibus
 
19
 
 
20
 scripts/ibus-%-cangjie: scripts/ibus-%-cangjie.in Makefile
 
21
        $(AM_V_GEN) \
 
22
@@ -38,7 +38,7 @@
 
23
        sed -e 's&@_VERSION@&$(VERSION)&g' \
 
24
            -e 's&@BINDIR@&$(bindir)&g' \
 
25
            -e 's&@ICON16DIR@&$(icon16dir)&g' \
 
26
-           -e 's&@PKGLIBEXECDIR@&$(pkglibexecdir)&g' $< > $@
 
27
+           -e 's&@PKGLIBEXECDIR@&$(libexecdir)&g' $< > $@
 
28
 
 
29
 gsettings_in_files = data/org.cangjians.ibus.cangjie.gschema.xml.in data/org.cangjians.ibus.quick.gschema.xml.in
 
30
 gsettings_SCHEMAS = $(gsettings_in_files:.xml.in=.xml)
 
31
@@ -115,7 +115,7 @@
 
32
        $(desktop_in_files) \
 
33
        $(gsettings_SCHEMAS) \
 
34
        $(bin_SCRIPTS) \
 
35
-       $(pkglibexec_SCRIPTS) \
 
36
+       $(libexec_SCRIPTS) \
 
37
        src/*.pyc \
 
38
        tests/run_tests \
 
39
        data/gschemas.compiled \