wok rev 25749
fixed recipe for dconf
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 31 14:17:36 2024 +0100 (9 months ago) |
parents | bafd960b0633 |
children | 506058500799 |
files | dconf-dev/receipt dconf/description.txt dconf/receipt |
line diff
1.1 --- a/dconf-dev/receipt Sat Aug 31 09:56:34 2024 +0100 1.2 +++ b/dconf-dev/receipt Sat Aug 31 14:17:36 2024 +0100 1.3 @@ -3,21 +3,17 @@ 1.4 PACKAGE="dconf-dev" 1.5 VERSION="0.13.0" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="Development files for dconf" 1.8 +SHORT_DESC="Dconf - development files." 1.9 MAINTAINER="al.bobylev@gmail.com" 1.10 LICENSE="LGPL2.1" 1.11 -WEB_SITE="https://wiki.gnome.org/Projects/dconf" 1.12 +WEB_SITE="https://wiki.gnome.org/action/show/Projects/dconf" 1.13 1.14 +DEPENDS="dconf pkg-config" 1.15 WANTED="dconf" 1.16 -DEPENDS="dconf pkg-config" 1.17 1.18 # Rules to gen a SliTaz package suitable for Tazpkg. 1.19 genpkg_rules() 1.20 { 1.21 - mkdir -p \ 1.22 - $fs/usr/lib \ 1.23 - $fs/usr/share 1.24 - cp -a $install/usr/include $fs/usr 1.25 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.26 - cp -a $install/usr/share/vala $fs/usr/share 1.27 + get_dev_files 1.28 + cook_copy_folders vapi 1.29 }
2.1 --- a/dconf/description.txt Sat Aug 31 09:56:34 2024 +0100 2.2 +++ b/dconf/description.txt Sat Aug 31 14:17:36 2024 +0100 2.3 @@ -1,3 +1,3 @@ 2.4 -dconf is a low-level configuration system. Its main purpose is to provide a 2.5 -backend to GSettings API in Glib for storing and retrieving application 2.6 -settings. 2.7 +dconf is a low-level configuration system. 2.8 +Its main purpose is to provide a backend to GSettings API 2.9 +in Glib for storing and retrieving application settings.
3.1 --- a/dconf/receipt Sat Aug 31 09:56:34 2024 +0100 3.2 +++ b/dconf/receipt Sat Aug 31 14:17:36 2024 +0100 3.3 @@ -3,16 +3,17 @@ 3.4 PACKAGE="dconf" 3.5 VERSION="0.13.0" 3.6 CATEGORY="system-tools" 3.7 -SHORT_DESC="A low-level configuration system" 3.8 +SHORT_DESC="A low-level configuration system." 3.9 MAINTAINER="al.bobylev@gmail.com" 3.10 LICENSE="LGPL2.1" 3.11 -WEB_SITE="https://wiki.gnome.org/Projects/dconf" 3.12 +WEB_SITE="https://wiki.gnome.org/action/show/Projects/dconf" 3.13 + 3.14 TARBALL="$PACKAGE-$VERSION.tar.xz" 3.15 -HI_VERSION=$(echo $VERSION | cut -d. -f1,2) 3.16 -WGET_URL="$GNOME_MIRROR/$PACKAGE/$HI_VERSION/$TARBALL" 3.17 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 3.18 3.19 -DEPENDS="dbus" 3.20 -BUILD_DEPENDS="vala glib-dev dbus-dev gtk+3-dev libxml2-dev" 3.21 +DEPENDS="dbus gtk+3" 3.22 +BUILD_DEPENDS="dbus-dev glib-dev gtk+3-dev libgio-dev libxml2-dev vala" 3.23 + 3.24 GENERIC_MENUS="no" 3.25 GENERIC_PIXMAPS="no" 3.26 3.27 @@ -26,9 +27,13 @@ 3.28 # Rules to configure and make the package. 3.29 compile_rules() 3.30 { 3.31 - ./configure \ 3.32 - --sysconfdir=/etc \ 3.33 - --libexecdir=/usr/lib \ 3.34 + sed -i '24i#define _XOPEN_SOURCE' bin/dconf-update.c 3.35 + 3.36 + export CFLAGS="$CFLAGS -std=c99" 3.37 + 3.38 + ./configure \ 3.39 + --sysconfdir=/etc \ 3.40 + --libexecdir=/usr/lib \ 3.41 $CONFIGURE_ARGS && 3.42 make && 3.43 make install 3.44 @@ -37,14 +42,9 @@ 3.45 # Rules to gen a SliTaz package suitable for Tazpkg. 3.46 genpkg_rules() 3.47 { 3.48 - mkdir -p \ 3.49 - $fs/usr/bin \ 3.50 - $fs/usr/lib \ 3.51 - $fs/usr/share 3.52 - cp -a $install/usr/bin/dconf $fs/usr/bin 3.53 - cp -a $install/usr/lib/gio $fs/usr/lib 3.54 - cp -a $install/usr/lib/*.so* $fs/usr/lib 3.55 - cp -a $install/usr/lib/dconf-service $fs/usr/lib 3.56 - cp -a $install/usr/share/dbus* $fs/usr/share 3.57 - cp -a $install/usr/share/glib* $fs/usr/share 3.58 + cook_copy_folders bin 3.59 + cook_copy_folders schemas 3.60 + cook_copy_folders services 3.61 + cook_copy_files dconf-service 3.62 + cook_copy_files *.so* 3.63 }