wok-next view font-manager/receipt @ rev 19778
glib: no more libgio package:
As ldd show, libgio-2.0.so (from former libgio package) depends on libgobject-2.0.so.0, libgmodule-2.0.so.0, libglib-2.0.so.0 (from former glib package): libgio package depends on glib package.
In other hand, binaries from former glib package (gsettings, gapplication, gresource, gio-querymodules, glib-compile-resources, gdbus, gio) depends on libglib-2.0.so.0: glib package depends on libgio package.
Solution: packages was combined. Use 'glib' instead of 'libgio', as well as glib-dev instead of libgio-dev.
As ldd show, libgio-2.0.so (from former libgio package) depends on libgobject-2.0.so.0, libgmodule-2.0.so.0, libglib-2.0.so.0 (from former glib package): libgio package depends on glib package.
In other hand, binaries from former glib package (gsettings, gapplication, gresource, gio-querymodules, glib-compile-resources, gdbus, gio) depends on libglib-2.0.so.0: glib package depends on libgio package.
Solution: packages was combined. Use 'glib' instead of 'libgio', as well as glib-dev instead of libgio-dev.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 16 14:56:07 2017 +0300 (2017-06-16) |
parents | 2b9f96603415 |
children | 2809ecb8c754 |
line source
1 # SliTaz package receipt.
3 PACKAGE="font-manager"
4 VERSION="0.5.7"
5 CATEGORY="utilities"
6 SHORT_DESC="A font management application for the GNOME desktop"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://code.google.com/p/font-manager/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="python pygtk pygobject pycairo libxml2-python fontconfig freetype \
14 sqlite"
15 BUILD_DEPENDS="bash python-dev fontconfig-dev freetype-dev glib-dev pango-dev \
16 sqlite-dev intltool gnome-doc-utils"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/FT_XFREE86_H/&\n#define W_OK (2)/' src/lib/fm-fontutils.c
23 ./configure --enable-bytecode --enable-nls $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$install install
27 # fix translations
28 for p in $(ls po | grep -e '.po$'); do
29 msgfmt $src/po/$p -o $install/usr/share/locale/${p%.po}/LC_MESSAGES/font-manager.mo
30 done
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 # fix paths
38 sed -i "s|$install||g" $fs/usr/bin/* $fs/usr/share/font-manager/*.py
39 # remove help (need absent yelp to show)
40 rm -rf $fs/usr/share/font-manager/help
41 }