Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "GNOME configuration system" |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame] | 2 | DESCRIPTION = "GConf is a system for storing application preferences. \ |
| 3 | It is intended for user preferences; not configuration of something like \ |
| 4 | Apache, or arbitrary data storage." |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | SECTION = "x11/gnome" |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 6 | HOMEPAGE = "https://gitlab.gnome.org/Archive/gconf" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | LICENSE = "LGPLv2+" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" |
| 9 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 10 | DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 12 | inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | |
| 14 | SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \ |
| 15 | file://remove_plus_from_invalid_characters_list.patch \ |
| 16 | file://unable-connect-dbus.patch \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | file://create_config_directory.patch \ |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 18 | file://python3.patch \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | " |
| 20 | |
| 21 | SRC_URI[archive.md5sum] = "2b16996d0e4b112856ee5c59130e822c" |
| 22 | SRC_URI[archive.sha256sum] = "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c" |
| 23 | |
| 24 | S = "${WORKDIR}/GConf-${PV}" |
| 25 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 26 | EXTRA_OECONF = "--enable-shared --disable-static \ |
| 27 | --disable-orbit --with-openldap=no --disable-gtk" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 29 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" |
| 30 | # We really don't want Polkit for native |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | PACKAGECONFIG:class-native = "" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 32 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 33 | PACKAGECONFIG[polkit] = "--enable-defaults-service,--disable-defaults-service,polkit" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 34 | PACKAGECONFIG[debug] = "--enable-debug=yes, --enable-debug=minimum" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 35 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 36 | do_install:append() { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 37 | # this directory need to be created to avoid an Error 256 at gdm launch |
| 38 | install -d ${D}${sysconfdir}/gconf/gconf.xml.system |
| 39 | |
| 40 | # this stuff is unusable |
| 41 | rm -f ${D}${libdir}/GConf/*/*.*a |
| 42 | rm -f ${D}${libdir}/gio/*/*.*a |
| 43 | } |
| 44 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 45 | do_install:append:class-native() { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 46 | create_wrapper ${D}/${bindir}/gconftool-2 \ |
| 47 | GCONF_BACKEND_DIR=${STAGING_LIBDIR_NATIVE}/GConf/2 |
| 48 | } |
| 49 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 50 | FILES:${PN} += "${libdir}/GConf/* \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 51 | ${libdir}/gio/*/*.so \ |
| 52 | ${datadir}/polkit* \ |
| 53 | ${datadir}/dbus-1/services/*.service \ |
| 54 | ${datadir}/dbus-1/system-services/*.service \ |
| 55 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 56 | RDEPENDS:${PN} = "python3-xml" |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 57 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 58 | FILES:${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 59 | |
| 60 | BBCLASSEXTEND = "native" |