# HG changeset patch # User Hans-G?nter Theisgen # Date 1725110256 -3600 # Node ID 69515c4fa23b23b38ace1ee128517de567596071 # Parent bafd960b06335d90e8c5e5fb7289b0ebf80e9420 fixed recipe for dconf diff -r bafd960b0633 -r 69515c4fa23b dconf-dev/receipt --- a/dconf-dev/receipt Sat Aug 31 09:56:34 2024 +0100 +++ b/dconf-dev/receipt Sat Aug 31 14:17:36 2024 +0100 @@ -3,21 +3,17 @@ PACKAGE="dconf-dev" VERSION="0.13.0" CATEGORY="development" -SHORT_DESC="Development files for dconf" +SHORT_DESC="Dconf - development files." MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" -WEB_SITE="https://wiki.gnome.org/Projects/dconf" +WEB_SITE="https://wiki.gnome.org/action/show/Projects/dconf" +DEPENDS="dconf pkg-config" WANTED="dconf" -DEPENDS="dconf pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p \ - $fs/usr/lib \ - $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/share/vala $fs/usr/share + get_dev_files + cook_copy_folders vapi } diff -r bafd960b0633 -r 69515c4fa23b dconf/description.txt --- a/dconf/description.txt Sat Aug 31 09:56:34 2024 +0100 +++ b/dconf/description.txt Sat Aug 31 14:17:36 2024 +0100 @@ -1,3 +1,3 @@ -dconf is a low-level configuration system. Its main purpose is to provide a -backend to GSettings API in Glib for storing and retrieving application -settings. +dconf is a low-level configuration system. +Its main purpose is to provide a backend to GSettings API +in Glib for storing and retrieving application settings. diff -r bafd960b0633 -r 69515c4fa23b dconf/receipt --- a/dconf/receipt Sat Aug 31 09:56:34 2024 +0100 +++ b/dconf/receipt Sat Aug 31 14:17:36 2024 +0100 @@ -3,16 +3,17 @@ PACKAGE="dconf" VERSION="0.13.0" CATEGORY="system-tools" -SHORT_DESC="A low-level configuration system" +SHORT_DESC="A low-level configuration system." MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" -WEB_SITE="https://wiki.gnome.org/Projects/dconf" +WEB_SITE="https://wiki.gnome.org/action/show/Projects/dconf" + TARBALL="$PACKAGE-$VERSION.tar.xz" -HI_VERSION=$(echo $VERSION | cut -d. -f1,2) -WGET_URL="$GNOME_MIRROR/$PACKAGE/$HI_VERSION/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="dbus" -BUILD_DEPENDS="vala glib-dev dbus-dev gtk+3-dev libxml2-dev" +DEPENDS="dbus gtk+3" +BUILD_DEPENDS="dbus-dev glib-dev gtk+3-dev libgio-dev libxml2-dev vala" + GENERIC_MENUS="no" GENERIC_PIXMAPS="no" @@ -26,9 +27,13 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib \ + sed -i '24i#define _XOPEN_SOURCE' bin/dconf-update.c + + export CFLAGS="$CFLAGS -std=c99" + + ./configure \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ $CONFIGURE_ARGS && make && make install @@ -37,14 +42,9 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p \ - $fs/usr/bin \ - $fs/usr/lib \ - $fs/usr/share - cp -a $install/usr/bin/dconf $fs/usr/bin - cp -a $install/usr/lib/gio $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/dconf-service $fs/usr/lib - cp -a $install/usr/share/dbus* $fs/usr/share - cp -a $install/usr/share/glib* $fs/usr/share + cook_copy_folders bin + cook_copy_folders schemas + cook_copy_folders services + cook_copy_files dconf-service + cook_copy_files *.so* }