libedbus: Add new package
PATCH 14/14 libedbus: Add new package
--- package/efl/Config.in | 1 + package/efl/libedbus/Config.in | 8 ++++++++ package/efl/libedbus/libedbus.mk | 16 ++++++++++++++++ 3 files changed, 25 insertions(+), 0 deletions(-) create mode 100644 package/efl/libedbus/Config.in create mode 100644 package/efl/libedbus/libedbus.mk
package/efl/Config.in +1 -0
@@ -18,6 +18,7 @@ source "package/efl/libembryo/Config.in" source "package/efl/libedje/Config.in" source "package/efl/libethumb/Config.in" source "package/efl/libelementary/Config.in" +source "package/efl/libedbus/Config.in" endif # BR2_PACKAGE_EFL
package/efl/libedbus/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBEDBUS + bool "libedbus" + select BR2_PACKAGE_LIBEINA + select BR2_PACKAGE_DBUS + help + E_Dbus is a set of wrappers around DBus APIs by third party, so + they can be easily used by EFL applications, automatically + providing Ecore/main loop integration, as well as Eina data types.
package/efl/libedbus/libedbus.mk new file +16 -0
@@ -0,0 +1,16 @@ +############################################################# +# +# libedbus +# +############################################################# + +LIBEDBUS_VERSION = 1.1.0 +LIBEDBUS_SOURCE = e_dbus-$(LIBEDBUS_VERSION).tar.bz2 +LIBEDBUS_SITE = http://download.enlightenment.org/releases/ +LIBEDBUS_AUTORECONF = YES +LIBEDBUS_LIBTOOL_PATCH = YES +LIBEDBUS_INSTALL_STAGING = YES + +LIBEDBUS_DEPENDENCIES = host-pkg-config dbus libeina + +$(eval $(call AUTOTARGETS))
Signature · 2 lines
1.7.1 -------------- next part --------------
PATCH 14/14 libedbus: Add new package
Quoted 1 line · On Monday 23 January 2012 17:36:27 Will Newton wrote:
Signed-off-by Will Newton <[email protected]>
[snip]
package/efl/libedbus/Config.in line 4
Quoted 10 lines
package/efl/libedbus/Config.in new file +4
-0@@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBEDBUS + bool "libedbus" + select BR2_PACKAGE_LIBEINA + select BR2_PACKAGE_DBUS
DBUS depends on BR2_PACKAGE_EXPAT || BR2_PACKAGE_LIBXML2
so you have to repeat that here.
BTW, it's advisable to compile-test your patches against a minimal
uclibc-based 32-bit and 64-bit cross-toolchain. That helps detecting dependencies on USE_WCHAR and USE_LARGEFILE.
package/efl/libedbus/Config.in line 6
Quoted 2 lines
package/efl/libedbus/Config.in new file +2
-0+ help + E_Dbus is a set of wrappers around DBus APIs by third party, so
I believe the official name is D-Bus.
Quoted 9 lines
package/efl/libedbus/Config.in new file +2
-0+ they can be easily used by EFL applications, automatically + providing Ecore/main loop integration, as well as Eina data types.package/efl/libedbus/libedbus.mk new file +1
-0@@ -0,0 +1,16 @@ +#############################################################
package/efl/libedbus/libedbus.mk line 11
Quoted 10 lines
package/efl/libedbus/libedbus.mk new file +10
-0+# +# libedbus +# +############################################################# + +LIBEDBUS_VERSION = 1.1.0 +LIBEDBUS_SOURCE = e_dbus-$(LIBEDBUS_VERSION).tar.bz2 +LIBEDBUS_SITE = http://download.enlightenment.org/releases/ +LIBEDBUS_AUTORECONF = YES +LIBEDBUS_LIBTOOL_PATCH = YES
Libtool patching is enabled by default.
package/efl/libedbus/libedbus.mk line 16
Quoted 5 lines
package/efl/libedbus/libedbus.mk new file +5
-0+LIBEDBUS_INSTALL_STAGING = YES + +LIBEDBUS_DEPENDENCIES = host-pkg-config dbus libeina + +$(eval $(call AUTOTARGETS))
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 14/14 libedbus: Add new package
Quoted 5 lines · Arnout Vandecappelle
Quoted 1 line · On Monday 23 January 2012 17:36:27 Will Newton wrote:
Signed-off-by Will Newton <[email protected]>[snip]
Quoted 12 lines
package/efl/libedbus/Config.in line 4
Quoted 10 lines
package/efl/libedbus/Config.in new file +4
-0@@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBEDBUS + ? ? bool "libedbus" + ? ? select BR2_PACKAGE_LIBEINA + ? ? select BR2_PACKAGE_DBUS?DBUS depends on
BR2_PACKAGE_EXPAT||BR2_PACKAGE_LIBXML2so you have to repeat that here.
Hmm, would it be better just to add a comment asking the user to enable dbus rather than adding the select for the XML library? I'm not sure what the best way to handle that is.
Quoted 3 lines
?BTW, it's advisable to compile-test your patches against a minimal uclibc-based 32-bit and 64-bit cross-toolchain. ?That helps detecting dependencies on
USE_WCHARandUSE_LARGEFILE.
There is a top-level dependency on WCHAR for all of EFL, I'll test with LARGEFILE enabled too.
Quoted 16 lines
package/efl/libedbus/Config.in line 6
Quoted 2 lines
package/efl/libedbus/Config.in new file +2
-0+ ? ? help + ? ? ? E_Dbus is a set of wrappers around DBus APIs by third party, so?I believe the official name is D-Bus.
Quoted 12 lines
package/efl/libedbus/Config.in new file +2
-0+ ? ? ? they can be easily used by EFL applications, automatically + ? ? ? providing Ecore/main loop integration, as well as Eina data types.package/efl/libedbus/libedbus.mk new file +4
-0@@ -0,0 +1,16 @@ +############################################################# +# +# libedbus +#
Quoted 8 lines
package/efl/libedbus/libedbus.mk line 11
Quoted 7 lines
package/efl/libedbus/libedbus.mk new file +7
-0+############################################################# + +LIBEDBUS_VERSION = 1.1.0 +LIBEDBUS_SOURCE = e_dbus-$(LIBEDBUS_VERSION).tar.bz2 +LIBEDBUS_SITE = http://download.enlightenment.org/releases/ +LIBEDBUS_AUTORECONF = YES +LIBEDBUS_LIBTOOL_PATCH = YES?Libtool patching is enabled by default.
Thanks for the review, I'll fix these.
PATCH 14/14 libedbus: Add new package
Quoted 19 lines · On Tuesday 24 January 2012 11:32:50 Will Newton wrote:
Quoted 5 lines · Arnout Vandecappelle
Quoted 1 line · On Monday 23 January 2012 17:36:27 Will Newton wrote:
Signed-off-by Will Newton <[email protected]>[snip]
Quoted 12 lines
package/efl/libedbus/Config.in line 4
Quoted 10 lines
package/efl/libedbus/Config.in new file +4
-0@@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBEDBUS + bool "libedbus" + select BR2_PACKAGE_LIBEINA + select BR2_PACKAGE_DBUSDBUS depends on
BR2_PACKAGE_EXPAT||BR2_PACKAGE_LIBXML2
so you have to repeat that here.
Quoted 3 lines
Hmm, would it be better just to add a comment asking the user to enable dbus rather than adding the select for the XML library? I'm not sure what the best way to handle that is.
dbus itself has depends on, not select. So either you take that over
(and libedbus is not available unless one of the two XML packages is selected). Alternatively, you can use depends on BR2_PACKAGE_DBUS instead of a select. Or ideally, you add a choice for the XML library to DBUS itself, so that the dependency is removed completely. Patch follows.
Quoted 6 lines
Quoted 3 lines
BTW, it's advisable to compile-test your patches against a minimal
uclibc-based 32-bit and 64-bit cross-toolchain. That helps detecting dependencies onUSE_WCHARandUSE_LARGEFILE.There is a top-level dependency on WCHAR for all of EFL, I'll test with LARGEFILE enabled too.
Oops my bad.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/6 dbus: make it easier to select an XML library (select rather than depends on)
In reply to Will NewtonFrom: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
D-Bus requires an XML library, expat or libxml2. There already is a choice between them in the config menu, but it requires the user to first select one of the libraries, and then select dbus. With this patch, the choice automatically selects the XML library. Note that this removes the automatic choice of libxml2 for dbus if libxml2 had already been selected, i.e. in that case both libxml2 and expat will be selected unless the user takes action.
An alternative would be to remove the choice completely, and to take the path of bluez-utils: select BR2_PACKAGE_EXPAT if !BR2_PACKAGE_DBUS_LIBXML2
--- package/dbus/Config.in | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-)
package/dbus/Config.in +2 -7
@@ -1,18 +1,13 @@ config BR2_PACKAGE_DBUS bool "dbus" - depends on BR2_PACKAGE_EXPAT || BR2_PACKAGE_LIBXML2 help The D-Bus message bus system. http://www.freedesktop.org/wiki/Software/dbus -comment "dbus not available (need expat or libxml2)" - depends on !BR2_PACKAGE_EXPAT && !BR2_PACKAGE_LIBXML2 - choice prompt "XML library to use" depends on BR2_PACKAGE_DBUS - default BR2_DBUS_LIBXML2 if (BR2_PACKAGE_LIBXML2 && !BR2_PACKAGE_EXPAT) default BR2_DBUS_EXPAT help Select the XML library to use with D-Bus. Select Expat
@@ -21,10 +16,10 @@ choice config BR2_DBUS_EXPAT bool "Expat" - depends on BR2_PACKAGE_EXPAT + select BR2_PACKAGE_EXPAT config BR2_DBUS_LIBXML2 bool "libxml2" - depends on BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBXML2 endchoice
Signature · 1 line
1.7.8.3
PATCH 2/6 bluez_utils: remove redundant selection of expat
From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
expat/libxml2 is selected by dbus.
--- package/bluez_utils/Config.in | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
package/bluez_utils/Config.in +0 -1
@@ -2,7 +2,6 @@ config BR2_PACKAGE_BLUEZ_UTILS bool "bluez-utils" depends on BR2_USE_WCHAR # libglib2 select BR2_PACKAGE_DBUS - select BR2_PACKAGE_EXPAT if !BR2_PACKAGE_DBUS_LIBXML2 select BR2_PACKAGE_LIBGLIB2 help bluez utils
Signature · 1 line
1.7.8.3
PATCH 3/6 samba: avahi: replace dependency on dbus by select
In reply to Arnout Vandecappelle (Essensium/Mind)From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
--- package/samba/Config.in | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
package/samba/Config.in +3 -3
@@ -249,12 +249,12 @@ config BR2_PACKAGE_SAMBA_AVAHI default y depends on BR2_PACKAGE_SAMBA depends on BR2_PACKAGE_AVAHI_DAEMON - depends on BR2_PACKAGE_DBUS + select BR2_PACKAGE_DBUS help Include support for avahi -comment "support avahi - disabled (requires avahi-daemon/dbus)" - depends on !BR2_PACKAGE_AVAHI_DAEMON || !BR2_PACKAGE_DBUS +comment "support avahi - disabled (requires avahi-daemon)" + depends on !BR2_PACKAGE_AVAHI_DAEMON config BR2_PACKAGE_SAMBA_GAMIN bool "support gamin"
Signature · 1 line
1.7.8.3
PATCH 4/6 qt: qt-dbus: replace dependency on dbus by select
In reply to Arnout Vandecappelle (Essensium/Mind)From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
--- package/qt/Config.in | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
package/qt/Config.in +1 -4
@@ -280,12 +280,9 @@ config BR2_PACKAGE_QT_PHONON_BACKEND If unsure, say n. endif -comment "Qt Dbus module not available (needs dbus)" - depends on !BR2_PACKAGE_DBUS - config BR2_PACKAGE_QT_DBUS bool "DBus Module" - depends on BR2_PACKAGE_DBUS + select BR2_PACKAGE_DBUS help Build the Qt DBus module.
Signature · 1 line
1.7.8.3
PATCH 5/6 network-manager: replace dependency on dbus by select
In reply to Arnout Vandecappelle (Essensium/Mind)From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
--- package/network-manager/Config.in | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
package/network-manager/Config.in +3 -3
@@ -1,7 +1,7 @@ config BR2_PACKAGE_NETWORK_MANAGER bool "NetworkManager" depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV - depends on BR2_PACKAGE_DBUS + select BR2_PACKAGE_DBUS depends on BR2_INET_IPV6 depends on BR2_LARGEFILE # acl depends on BR2_USE_WCHAR # libglib2
@@ -25,6 +25,6 @@ config BR2_PACKAGE_NETWORK_MANAGER http://projects.gnome.org/NetworkManager/ -comment "NetworkManager requires DBus and a toolchain with IPV6, LARGEFILE and WCHAR support" - depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_PACKAGE_DBUS +comment "NetworkManager requires a toolchain with IPV6, LARGEFILE and WCHAR support" + depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR
Signature · 1 line
1.7.8.3
PATCH 6/6 connman: replace dependency on dbus by select
In reply to Arnout Vandecappelle (Essensium/Mind)From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
--- package/connman/Config.in | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
package/connman/Config.in +3 -3
@@ -1,6 +1,6 @@ config BR2_PACKAGE_CONNMAN bool "connman" - depends on BR2_PACKAGE_DBUS + select BR2_PACKAGE_DBUS select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_IPTABLES depends on BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_EXTERNAL_GLIBC || BR2_TOOLCHAIN_CTNG_eglibc || BR2_TOOLCHAIN_CTNG_eglibc
@@ -43,5 +43,5 @@ config BR2_PACKAGE_CONNMAN_CLIENT endif # BR2_PACKAGE_CONNMAN -comment "connman needs DBus enabled and a toolchain with resolver support" - depends on !BR2_PACKAGE_DBUS || !(BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_EXTERNAL_GLIBC || BR2_TOOLCHAIN_CTNG_eglibc || BR2_TOOLCHAIN_CTNG_eglibc) +comment "connman needs a toolchain with resolver support" + depends on !(BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_EXTERNAL_GLIBC || BR2_TOOLCHAIN_CTNG_eglibc || BR2_TOOLCHAIN_CTNG_eglibc)
Signature · 1 line
1.7.8.3
PATCH 1/6 dbus: make it easier to select an XML library (select rather than depends on)
In reply to Arnout Vandecappelle (Essensium/Mind)Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:
Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
Arnout> D-Bus requires an XML library, expat or libxml2. There already Arnout> is a choice between them in the config menu, but it requires Arnout> the user to first select one of the libraries, and then select Arnout> dbus. With this patch, the choice automatically selects the Arnout> XML library. Note that this removes the automatic choice of Arnout> libxml2 for dbus if libxml2 had already been selected, i.e. in Arnout> that case both libxml2 and expat will be selected unless the Arnout> user takes action.
Committed entire series, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/6 dbus: make it easier to select an XML library (select rather than depends on)
Quoted 13 lines · On Tuesday 31 January 2012 12:26:40 Peter Korsgaard wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:
Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
Arnout> D-Bus requires an XML library, expat or libxml2. There already Arnout> is a choice between them in the config menu, but it requires Arnout> the user to first select one of the libraries, and then select Arnout> dbus. With this patch, the choice automatically selects the Arnout> XML library. Note that this removes the automatic choice of Arnout> libxml2 for dbus if libxml2 had already been selected, i.e. in Arnout> that case both libxml2 and expat will be selected unless the Arnout> user takes action.
Quoted 1 line
Committed entire series, thanks.
What does everybody think of the alternative (which Peter snipped here):
An alternative would be to remove the choice completely, and to take the path of bluez-utils: select BR2_PACKAGE_EXPAT if !BR2_PACKAGE_DBUS_LIBXML2
Advantage: no redundant expat library if the user has selected libxml2
Disadvantage: what happens when the user has selected both libxml2 and
expat? (My answer: dbus will use libxml2)
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/6 dbus: make it easier to select an XML library (select rather than depends on)
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Hi,
Arnout> What does everybody think of the alternative (which Peter Arnout> snipped here):
Arnout> An alternative would be to remove the choice completely, and Arnout> to take the path of bluez-utils: select BR2_PACKAGE_EXPAT if Arnout> !BR2_PACKAGE_DBUS_LIBXML2
Arnout> Advantage: no redundant expat library if the user has selected Arnout> libxml2
Arnout> Disadvantage: what happens when the user has selected both Arnout> libxml2 and expat? (My answer: dbus will use libxml2)
Or alternatively drop the libxml2 option. It's deprecated upstream and not commonly used:
https://bugs.freedesktop.org/show_bug.cgi?id=20253
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 dbus: deprecate libxml2 support
From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
--- package/dbus/Config.in | 23 +++++++++++++++++------ 1 files changed, 17 insertions(+), 6 deletions(-)
package/dbus/Config.in +17 -6
@@ -1,25 +1,36 @@ config BR2_PACKAGE_DBUS bool "dbus" + select BR2_DBUS_EXPAT if !BR2_DEPRECATED help The D-Bus message bus system. http://www.freedesktop.org/wiki/Software/dbus +config BR2_DBUS_EXPAT + bool + select BR2_PACKAGE_EXPAT + +if BR2_DEPRECATED choice prompt "XML library to use" depends on BR2_PACKAGE_DBUS - default BR2_DBUS_EXPAT + default BR2_DBUS_CHOICE_EXPAT help Select the XML library to use with D-Bus. Select Expat unless you have specific reasons for using libxml2 as Expat is significant smaller. - config BR2_DBUS_EXPAT + config BR2_DBUS_CHOICE_EXPAT bool "Expat" - select BR2_PACKAGE_EXPAT + select BR2_DBUS_EXPAT - config BR2_DBUS_LIBXML2 + config BR2_DBUS_CHOICE_LIBXML2 bool "libxml2" - select BR2_PACKAGE_LIBXML2 - + select BR2_DBUS_LIBXML2 endchoice + +config BR2_DBUS_LIBXML2 + bool + select BR2_PACKAGE_LIBXML2 + +endif
Signature · 1 line
1.7.8.3