* Add Multi-arch support.
* debian/control:
- Update Standards-Version to Debian Policy 3.9.6. (No changes)
Harshula Jayasuriya
8 years ago
0 | libotf (0.9.13-3) unstable; urgency=low | |
1 | ||
2 | * Enable Multi-arch support | |
3 | * debian/control: | |
4 | - Update Standards-Version to Debian Policy 3.9.6. (No changes) | |
5 | ||
6 | -- Harshula Jayasuriya <harshula@debian.org> Mon, 11 Jan 2016 01:28:43 +1100 | |
7 | ||
0 | 8 | libotf (0.9.13-2) unstable; urgency=low |
1 | 9 | |
2 | 10 | * debian/control: |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Harshula Jayasuriya <harshula@debian.org> |
4 | 4 | Build-Depends: debhelper (>= 9), dh-autoreconf, libtool, libfreetype6-dev, zlib1g-dev, libice-dev, libsm-dev, libx11-dev, libxaw7-dev, libxmu-dev, libxt-dev |
5 | Standards-Version: 3.9.5 | |
5 | Standards-Version: 3.9.6 | |
6 | 6 | Homepage: http://www.nongnu.org/m17n/ |
7 | 7 | Vcs-Git: git://anonscm.debian.org/pkg-ime/libotf.git |
8 | 8 | Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ime/libotf.git |
9 | 9 | |
10 | 10 | Package: libotf0 |
11 | 11 | Architecture: any |
12 | Multi-Arch: same | |
13 | Pre-Depends: ${misc:Pre-Depends} | |
12 | 14 | Depends: ${shlibs:Depends}, ${misc:Depends} |
13 | 15 | Description: Library for handling OpenType Font - runtime |
14 | 16 | The libotf library provides the following facilities: |
25 | 27 | Package: libotf-dev |
26 | 28 | Section: libdevel |
27 | 29 | Architecture: any |
28 | Depends: ${shlibs:Depends}, ${misc:Depends}, libotf0 (= ${binary:Version}) | |
30 | Multi-Arch: same | |
31 | Pre-Depends: ${misc:Pre-Depends} | |
32 | Depends: ${shlibs:Depends}, ${misc:Depends}, libotf0 (= ${binary:Version}), pkg-config | |
29 | 33 | Description: Library for handling OpenType Font - development |
30 | 34 | The libotf library provides the following facilities: |
31 | 35 | - Read Open Type Layout Tables from OTF file. Currently these |
43 | 47 | Section: debug |
44 | 48 | Priority: extra |
45 | 49 | Architecture: any |
50 | Multi-Arch: same | |
51 | Pre-Depends: ${misc:Pre-Depends} | |
46 | 52 | Depends: ${shlibs:Depends}, ${misc:Depends}, libotf0 (= ${binary:Version}) |
47 | 53 | Description: libotf libraries and debugging symbols |
48 | 54 | The libotf library provides the following facilities: |
64 | 70 | Package: libotf-bin |
65 | 71 | Section: utils |
66 | 72 | Architecture: any |
73 | Multi-Arch: foreign | |
67 | 74 | Depends: ${shlibs:Depends}, ${misc:Depends} |
68 | 75 | Conflicts: otf-trace |
69 | 76 | Description: Library for handling OpenType Font - utilities |
36 | 36 | write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, |
37 | 37 | Boston, MA 02110-1301, USA. |
38 | 38 | |
39 | The Debian packaging is Copyright (C) 2009-2012 Harshula Jayasuriya | |
39 | The Debian packaging is Copyright (C) 2009-2016 Harshula Jayasuriya | |
40 | 40 | <harshula@debian.org> and is licensed under the GPL, |
41 | 41 | see `/usr/share/common-licenses/GPL-3'. |
42 | 42 |
0 | 0 | usr/bin/libotf-config |
1 | usr/lib/pkgconfig/* | |
1 | usr/lib/*/pkgconfig/* | |
2 | 2 | usr/include/* |
3 | usr/lib/lib*.a | |
4 | usr/lib/lib*.so | |
3 | usr/lib/*/lib*.a | |
4 | usr/lib/*/lib*.so | |
5 | 5 | usr/share/man/man1/*.1 |
0 | # Modify libotif-config.in to support Multi-Arch | |
1 | --- a/libotf-config.in | |
2 | +++ b/libotf-config.in | |
3 | @@ -23,18 +23,10 @@ | |
4 | echo "@PACKAGE_VERSION@";; | |
5 | ||
6 | --libs) | |
7 | - if test "@libdir@" != "/usr/lib"; then | |
8 | - echo "@FREETYPE_LD_FLAGS@ -L@libdir@ -lotf" | |
9 | - else | |
10 | - echo "@FREETYPE_LD_FLAGS@ -lotf" | |
11 | - fi;; | |
12 | + pkg-config libotf --libs;; | |
13 | ||
14 | --cflags) | |
15 | - if test "@includedir@" != "/usr/include"; then | |
16 | - echo "@FREETYPE_INC@ -I@includedir@" | |
17 | - else | |
18 | - echo "@FREETYPE_INC@" | |
19 | - fi;; | |
20 | + pkg-config libotf --cflags;; | |
21 | ||
22 | *) | |
23 | help |
0 | 0001-libotf-config-modify-to-support-multi-arch.patch |
8 | 8 | SRC_PKG = libotf |
9 | 9 | LIB_PKG = libotf0 |
10 | 10 | INSTALLDIR = $(CURDIR)/debian/$(SRC_PKG) |
11 | INSTALLLIBDIR = $(CURDIR)/debian/$(LIB_PKG) | |
12 | 11 | |
13 | 12 | |
14 | 13 | dpkg_buildflags = DEB_LDFLAGS_MAINT_APPEND="-Wl,--as-needed -Wl,-z,defs" dpkg-buildflags |
17 | 16 | # These are used for cross-compiling and for saving the configure script |
18 | 17 | # from having to guess our platform (since we know it already) |
19 | 18 | DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
19 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) | |
20 | 20 | DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
21 | 21 | ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) |
22 | 22 | CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) |
41 | 41 | --prefix=/usr \ |
42 | 42 | --mandir=\$${prefix}/share/man \ |
43 | 43 | --infodir=\$${prefix}/share/info \ |
44 | --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ | |
44 | 45 | $(shell $(dpkg_buildflags) --export=configure) |
45 | 46 | |
46 | 47 | build-arch: build |
47 | 48 | build-indep: build |
48 | 49 | |
49 | 50 | build: build-stamp |
51 | ||
50 | 52 | build-stamp: config.status |
51 | 53 | dh_testdir |
52 | 54 | $(MAKE) |
83 | 85 | dh_installexamples |
84 | 86 | dh_install --sourcedir=$(INSTALLDIR) --list-missing |
85 | 87 | # dh_installmenu |
86 | # dh_installdebconf | |
88 | # dh_installdebconf | |
87 | 89 | # dh_installlogrotate |
88 | 90 | # dh_installemacsen |
89 | 91 | # dh_installcatalogs |