Skip to contentSkip to conversation

gconf: new package

PATCH New Joseph Kogut 3 participants 4 messages Nov 21, 2017 – Jan 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gconf: new package

---
 DEVELOPERS               |  1 +
 package/Config.in        |  1 +
 package/gconf/Config.in  | 10 ++++++++++
 package/gconf/gconf.hash |  4 ++++
 package/gconf/gconf.mk   | 10 ++++++++++
 5 files changed, 26 insertions(+)
 create mode 100644 package/gconf/Config.in
 create mode 100644 package/gconf/gconf.hash
 create mode 100644 package/gconf/gconf.mk
DEVELOPERS +1 -0
index bb81a19883..0131f21a1f 100644
@@ -794,6 +794,7 @@ F:	board/qemu/ppc64le-pseries/
 F:	configs/qemu_ppc64le_pseries_defconfig
 
 N:	Joseph Kogut <[email protected]>
+F:	package/gconf/
 F:	package/python-websockets/
 
 N:	Johan Derycke <[email protected]>
package/Config.in +1 -0
index fe5ccc434e..b28e656907 100644
@@ -1433,6 +1433,7 @@ menu "Other"
 	source "package/elfutils/Config.in"
 	source "package/fftw/Config.in"
 	source "package/flann/Config.in"
+	source "package/gconf/Config.in"
 	source "package/gflags/Config.in"
 	source "package/glibmm/Config.in"
 	source "package/glm/Config.in"
package/gconf/Config.in new file +10 -0
new file mode 100644
index 0000000000..364caea1ca
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_GCONF
+	bool "gconf"
+	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_DBUS_GLIB
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBXML2
+	help
+	  GConf was a system used by the GNOME desktop environment for storing
+	  configuration settings for the desktop and applications. It is similar
+	  to the Windows Registry.
package/gconf/gconf.hash new file +4 -0
new file mode 100644
index 0000000000..24d0cf9b17
@@ -0,0 +1,4 @@
+# http://ftp.acc.umu.se/pub/gnome/sources/GConf/3.2/GConf-3.2.6.sha256sum
+sha256 1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c  GConf-3.2.6.tar.xz
+# License files, locally calculated
+sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23  COPYING
package/gconf/gconf.mk new file +10 -0
new file mode 100644
index 0000000000..5f33290d7a
@@ -0,0 +1,10 @@
+GCONF_VERSION = 3.2.6
+GCONF_SOURCE = GConf-${GCONF_VERSION}.tar.xz
+GCONF_SITE = http://ftp.gnome.org/pub/gnome/sources/GConf/3.2
+GCONF_CONF_OPTS = --disable-orbit --disable-nls --disable-dependency-tracking
+GCONF_DEPENDENCIES = dbus dbus-glib libglib2 libxml2
+
+GCONF_LICENSE = GPL-2.0
+GCONF_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
Signature · 1 line
2.15.0
#1 lore raw

PATCH 1/1 gconf: new package

Hi,

package/gconf/Config.in

Quoted 6 lines · Joseph Kogut
package/gconf/Config.in new file +0 -0
new file mode 100644
index 0000000000..364caea1ca
@@ -0,0 +1,10 @@

You need to propagate some dependencies from packages gconf depends on.

package/gconf/Config.in line 3

Quoted 3 lines
package/gconf/Config.in new file +3 -0
+config BR2_PACKAGE_GCONF
+	bool "gconf"
+	select BR2_PACKAGE_DBUS

dbus contains:
depends on BR2_TOOLCHAIN_HAS_THREADS
# uses fork()
depends on BR2_USE_MMU

package/gconf/Config.in line 4

Quoted 1 line
package/gconf/Config.in new file +1 -0
+	select BR2_PACKAGE_DBUS_GLIB

dbus-glib contains:
depends on BR2_PACKAGE_DBUS
depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_USE_MMU # glib2

package/gconf/Config.in line 5

Quoted 1 line
package/gconf/Config.in new file +1 -0
+	select BR2_PACKAGE_LIBGLIB2

libglib2 contains:
depends on BR2_USE_WCHAR # gettext
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()

Quoted 24 lines
package/gconf/Config.in new file +5 -0
+	select BR2_PACKAGE_LIBXML2
 
 
 
+	help
+	  GConf was a system used by the GNOME desktop environment for storing
+	  configuration settings for the desktop and applications. It is similar
+	  to the Windows Registry.
package/gconf/gconf.hash new file +4 -0
new file mode 100644
index 0000000000..24d0cf9b17
@@ -0,0 +1,4 @@
+# http://ftp.acc.umu.se/pub/gnome/sources/GConf/3.2/GConf-3.2.6.sha256sum
+sha256 1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c  GConf-3.2.6.tar.xz
+# License files, locally calculated
+sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23  COPYING
package/gconf/gconf.mk new file +0 -0
new file mode 100644
index 0000000000..5f33290d7a

package/gconf/gconf.mk line 7

Quoted 7 lines
package/gconf/gconf.mk new file +7 -0
@@ -0,0 +1,10 @@
+GCONF_VERSION = 3.2.6
+GCONF_SOURCE = GConf-${GCONF_VERSION}.tar.xz
+GCONF_SITE = http://ftp.gnome.org/pub/gnome/sources/GConf/3.2
+GCONF_CONF_OPTS = --disable-orbit --disable-nls --disable-dependency-tracking
+GCONF_DEPENDENCIES = dbus dbus-glib libglib2 libxml2
+
+GCONF_LICENSE = GPL-2.0

The license is LGPL-2.0 (+ ?)

Best regards
Marcus Folkesson

#2 lore raw

PATCH 1/1 gconf: new package

In reply to Joseph Kogut

Hello,

Quoted 11 lines · Joseph Kogut
---
 DEVELOPERS               |  1 +
 package/Config.in        |  1 +
 package/gconf/Config.in  | 10 ++++++++++
 package/gconf/gconf.hash |  4 ++++
 package/gconf/gconf.mk   | 10 ++++++++++
 5 files changed, 26 insertions(+)
 create mode 100644 package/gconf/Config.in
 create mode 100644 package/gconf/gconf.hash
 create mode 100644 package/gconf/gconf.mk

Thanks for your contribution. I've applied, after fixing a number of issues:

[Thomas:
- propagate dependencies of selected packages in Config.in
- add missing Config.in comment about dependencies
- add missing upstream URL in Config.in
- add missing comment header in .mk file
- remove --disable-nls from configuration options, it is taken care of by the package infrastructure
- remove --disable-dependency-tracking, it is taken care of in the package infrastructure
- add $(TARGET_NLS_DEPENDENCIES) to <pkg>_DEPENDENCIES, since gconf has optional NLS support
- add host-intltool to <pkg>_DEPENDENCIES, since gconf needs intltool-update
- fix license: it's LGPL-2.0+, not GPL-2.0.]

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 gconf: new package

Hi,

On Jan 1, 2018 3:34 AM, "Thomas Petazzoni" <
[email protected]> wrote:

Hello,

Quoted 11 lines · Joseph Kogut
---
 DEVELOPERS               |  1 +
 package/Config.in        |  1 +
 package/gconf/Config.in  | 10 ++++++++++
 package/gconf/gconf.hash |  4 ++++
 package/gconf/gconf.mk   | 10 ++++++++++
 5 files changed, 26 insertions(+)
 create mode 100644 package/gconf/Config.in
 create mode 100644 package/gconf/gconf.hash
 create mode 100644 package/gconf/gconf.mk

Thanks for your contribution. I've applied, after fixing a number of issues:

[Thomas:
- propagate dependencies of selected packages in Config.in
- add missing Config.in comment about dependencies
- add missing upstream URL in Config.in
- add missing comment header in .mk file
- remove --disable-nls from configuration options, it is taken care of by the package infrastructure
- remove --disable-dependency-tracking, it is taken care of in the package infrastructure
- add $(TARGET_NLS_DEPENDENCIES) to <pkg>_DEPENDENCIES, since gconf has optional NLS support
- add host-intltool to <pkg>_DEPENDENCIES, since gconf needs intltool-update
- fix license: it's LGPL-2.0+, not GPL-2.0.]

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Thanks, Thomas! I meant to fix this one, but I've been busy with other work.

Best,

Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180101/350dec74/attachment.html>