xutil_util-macros: move outside x11r7 scope
PATCH 1/1 xutil_util-macros: move outside x11r7 scope
Move to package/util-macros and rename all symbols.
They don't really require x11r7 infrastructure and are in fact needed by libepoxy which can be made x11r7-less.
Also add missing select in xfont_encoding for util-macros.
---
package/Config.in | 1 +
package/util-macros/Config.in | 4 ++++
.../util-macros.hash} | 0
package/util-macros/util-macros.mk | 16 ++++++++++++++++
package/x11r7/Config.in | 1 -
package/x11r7/libepoxy/Config.in | 2 +-
package/x11r7/libepoxy/libepoxy.mk | 2 +-
package/x11r7/xfont_encodings/Config.in | 1 +
package/x11r7/xfont_encodings/xfont_encodings.mk | 2 +-
package/x11r7/xlib_libX11/Config.in | 2 +-
package/x11r7/xlib_libX11/xlib_libX11.mk | 2 +-
package/x11r7/xlib_libXau/Config.in | 2 +-
package/x11r7/xlib_libXau/xlib_libXau.mk | 2 +-
package/x11r7/xlib_libXdmcp/Config.in | 2 +-
package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk | 2 +-
package/x11r7/xproto_presentproto/Config.in | 2 +-
.../x11r7/xproto_presentproto/xproto_presentproto.mk | 2 +-
package/x11r7/xserver_xorg-server/Config.in | 2 +-
.../x11r7/xserver_xorg-server/xserver_xorg-server.mk | 2 +-
package/x11r7/xutil_util-macros/Config.in | 4 ----
package/x11r7/xutil_util-macros/xutil_util-macros.mk | 17 -----------------
21 files changed, 35 insertions(+), 35 deletions(-)
create mode 100644 package/util-macros/Config.in
rename package/{x11r7/xutil_util-macros/xutil_util-macros.hash => util-macros/util-macros.hash} (100%)
create mode 100644 package/util-macros/util-macros.mk
delete mode 100644 package/x11r7/xutil_util-macros/Config.in
delete mode 100644 package/x11r7/xutil_util-macros/xutil_util-macros.mkpackage/Config.in +1 -0
@@ -1222,6 +1222,7 @@ menu "Miscellaneous" source "package/qpdf/Config.in" source "package/shared-mime-info/Config.in" source "package/snowball-init/Config.in" + source "package/util-macros/Config.in" source "package/wine/Config.in" endmenu
package/util-macros/Config.in new file +4 -0
@@ -0,0 +1,4 @@ +config BR2_PACKAGE_UTIL_MACROS + bool "util-macros" + help + X.Org autotools utility macros
package/util-macros/util-macros.hash renamed from package/x11r7/xutil_util-macros/xutil_util-macros.hash +0 -0
package/util-macros/util-macros.mk new file +16 -0
@@ -0,0 +1,16 @@ +################################################################################ +# +# util-macros +# +################################################################################ + +UTIL_MACROS_VERSION = 1.19.0 +UTIL_MACROS_SOURCE = util-macros-$(UTIL_MACROS_VERSION).tar.bz2 +UTIL_MACROS_SITE = http://xorg.freedesktop.org/releases/individual/util +UTIL_MACROS_LICENSE = MIT +UTIL_MACROS_LICENSE_FILES = COPYING +UTIL_MACROS_INSTALL_STAGING = YES +UTIL_MACROS_INSTALL_TARGET = NO + +$(eval $(autotools-package)) +$(eval $(host-autotools-package))
package/x11r7/Config.in +0 -1
@@ -264,7 +264,6 @@ if BR2_PACKAGE_XORG7 endmenu menu "X11R7 Utilities" source package/x11r7/xutil_makedepend/Config.in - source package/x11r7/xutil_util-macros/Config.in source package/x11r7/mcookie/Config.in endmenu menu "X11R7 Other data"
package/x11r7/libepoxy/Config.in +1 -1
@@ -1,7 +1,7 @@ config BR2_PACKAGE_LIBEPOXY bool "epoxy" select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XUTIL_UTIL_MACROS + select BR2_PACKAGE_UTIL_MACROS depends on BR2_PACKAGE_HAS_LIBEGL help Epoxy is a library for handling OpenGL function pointer
package/x11r7/libepoxy/libepoxy.mk +1 -1
@@ -8,7 +8,7 @@ LIBEPOXY_VERSION = v1.2 LIBEPOXY_SITE = $(call github,anholt,libepoxy,$(LIBEPOXY_VERSION)) LIBEPOXY_INSTALL_STAGING = YES LIBEPOXY_AUTORECONF = YES -LIBEPOXY_DEPENDENCIES = xlib_libX11 xutil_util-macros libegl \ +LIBEPOXY_DEPENDENCIES = xlib_libX11 util-macros libegl \ $(if $(BR2_PACKAGE_HAS_LIBGL),libgl) LIBEPOXY_LICENSE = MIT LIBEPOXY_LICENSE_FILES = COPYING
package/x11r7/xfont_encodings/Config.in +1 -0
@@ -1,4 +1,5 @@ config BR2_PACKAGE_XFONT_ENCODINGS bool "encodings" + select BR2_PACKAGE_UTIL_MACROS help No description available
package/x11r7/xfont_encodings/xfont_encodings.mk +1 -1
@@ -10,7 +10,7 @@ XFONT_ENCODINGS_SITE = http://xorg.freedesktop.org/releases/individual/font XFONT_ENCODINGS_LICENSE = Public Domain XFONT_ENCODINGS_LICENSE_FILES = COPYING -XFONT_ENCODINGS_DEPENDENCIES = host-xapp_mkfontscale host-pkgconf xutil_util-macros +XFONT_ENCODINGS_DEPENDENCIES = host-xapp_mkfontscale host-pkgconf util-macros $(eval $(autotools-package)) $(eval $(host-autotools-package))
package/x11r7/xlib_libX11/Config.in +1 -1
@@ -1,7 +1,7 @@ config BR2_PACKAGE_XLIB_LIBX11 bool "libX11" select BR2_PACKAGE_LIBXCB - select BR2_PACKAGE_XUTIL_UTIL_MACROS + select BR2_PACKAGE_UTIL_MACROS select BR2_PACKAGE_XLIB_XTRANS select BR2_PACKAGE_XLIB_LIBXAU select BR2_PACKAGE_XLIB_LIBXDMCP
package/x11r7/xlib_libX11/xlib_libX11.mk +1 -1
@@ -12,7 +12,7 @@ XLIB_LIBX11_LICENSE_FILES = COPYING XLIB_LIBX11_INSTALL_STAGING = YES XLIB_LIBX11_DEPENDENCIES = \ libxcb \ - xutil_util-macros \ + util-macros \ xlib_xtrans \ xlib_libXau \ xlib_libXdmcp \
package/x11r7/xlib_libXau/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_XLIB_LIBXAU bool "libXau" select BR2_PACKAGE_XPROTO_XPROTO - select BR2_PACKAGE_XUTIL_UTIL_MACROS + select BR2_PACKAGE_UTIL_MACROS help X.Org Xau library
package/x11r7/xlib_libXau/xlib_libXau.mk +1 -1
@@ -10,7 +10,7 @@ XLIB_LIBXAU_SITE = http://xorg.freedesktop.org/releases/individual/lib XLIB_LIBXAU_LICENSE = MIT XLIB_LIBXAU_LICENSE_FILES = COPYING XLIB_LIBXAU_INSTALL_STAGING = YES -XLIB_LIBXAU_DEPENDENCIES = host-pkgconf xutil_util-macros xproto_xproto +XLIB_LIBXAU_DEPENDENCIES = host-pkgconf util-macros xproto_xproto $(eval $(autotools-package)) $(eval $(host-autotools-package))
package/x11r7/xlib_libXdmcp/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_XLIB_LIBXDMCP bool "libXdmcp" - select BR2_PACKAGE_XUTIL_UTIL_MACROS + select BR2_PACKAGE_UTIL_MACROS select BR2_PACKAGE_XPROTO_XPROTO help X.Org Xdmcp library
package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk +1 -1
@@ -10,7 +10,7 @@ XLIB_LIBXDMCP_SITE = http://xorg.freedesktop.org/releases/individual/lib XLIB_LIBXDMCP_LICENSE = MIT XLIB_LIBXDMCP_LICENSE_FILES = COPYING XLIB_LIBXDMCP_INSTALL_STAGING = YES -XLIB_LIBXDMCP_DEPENDENCIES = xutil_util-macros xproto_xproto +XLIB_LIBXDMCP_DEPENDENCIES = util-macros xproto_xproto $(eval $(autotools-package)) $(eval $(host-autotools-package))
package/x11r7/xproto_presentproto/Config.in +1 -1
@@ -1,5 +1,5 @@ config BR2_PACKAGE_XPROTO_PRESENTPROTO bool "presentproto" - select BR2_PACKAGE_XUTIL_UTIL_MACROS + select BR2_PACKAGE_UTIL_MACROS help X.Org Present extension headers
package/x11r7/xproto_presentproto/xproto_presentproto.mk +1 -1
@@ -9,7 +9,7 @@ XPROTO_PRESENTPROTO_SOURCE = presentproto-$(XPROTO_PRESENTPROTO_VERSION).tar.bz2 XPROTO_PRESENTPROTO_SITE = http://xorg.freedesktop.org/releases/individual/proto XPROTO_PRESENTPROTO_LICENSE = MIT XPROTO_PRESENTPROTO_LICENSE_FILES = presentproto.h -XPROTO_PRESENTPROTO_DEPENDENCIES = host-pkgconf xutil_util-macros +XPROTO_PRESENTPROTO_DEPENDENCIES = host-pkgconf util-macros XPROTO_PRESENTPROTO_INSTALL_STAGING = YES XPROTO_PRESENTPROTO_INSTALL_TARGET = NO
package/x11r7/xserver_xorg-server/Config.in +1 -1
@@ -45,7 +45,7 @@ config BR2_PACKAGE_XSERVER_XORG_SERVER select BR2_PACKAGE_XPROTO_XF86DGAPROTO select BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO select BR2_PACKAGE_XPROTO_XPROTO - select BR2_PACKAGE_XUTIL_UTIL_MACROS + select BR2_PACKAGE_UTIL_MACROS select BR2_PACKAGE_XKEYBOARD_CONFIG depends on BR2_USE_MMU # fork() help
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +1 -1
@@ -14,7 +14,7 @@ XSERVER_XORG_SERVER_INSTALL_STAGING = YES XSERVER_XORG_SERVER_AUTORECONF = YES XSERVER_XORG_SERVER_DEPENDENCIES = \ xfont_font-util \ - xutil_util-macros \ + util-macros \ xlib_libXfont \ xlib_libX11 \ xlib_libXau \
package/x11r7/xutil_util-macros/Config.in deleted +0 -4
@@ -1,4 +0,0 @@ -config BR2_PACKAGE_XUTIL_UTIL_MACROS - bool "util-macros" - help - No description available
package/x11r7/xutil_util-macros/xutil_util-macros.mk deleted +0 -17
@@ -1,17 +0,0 @@ -################################################################################ -# -# xutil_util-macros -# -################################################################################ - -XUTIL_UTIL_MACROS_VERSION = 1.19.0 -XUTIL_UTIL_MACROS_SOURCE = util-macros-$(XUTIL_UTIL_MACROS_VERSION).tar.bz2 -XUTIL_UTIL_MACROS_SITE = http://xorg.freedesktop.org/releases/individual/util -XUTIL_UTIL_MACROS_LICENSE = MIT -XUTIL_UTIL_MACROS_LICENSE_FILES = COPYING - -XUTIL_UTIL_MACROS_INSTALL_STAGING = YES -XUTIL_UTIL_MACROS_INSTALL_TARGET = NO - -$(eval $(autotools-package)) -$(eval $(host-autotools-package))
Signature · 1 line
2.4.10
PATCH 1/1 xutil_util-macros: move outside x11r7 scope
Gustavo,
Quoted 7 lines · Gustavo Zacarias
Move to package/util-macros and rename all symbols.
They don't really require x11r7 infrastructure and are in fact needed by libepoxy which can be made x11r7-less.Also add missing select in
xfont_encodingfor util-macros.Signed-off-by Gustavo Zacarias <[email protected]>
Since you're renaming the Config.in option, some Config.in.legacy handling is needed.
package/util-macros/Config.in line 4
Quoted 10 lines
package/util-macros/Config.in new file +4
-0@@ -0,0 +1,4 @@ +config BR2_PACKAGE_UTIL_MACROS + bool "util-macros" + help + X.Org autotools utility macros
I am wondering if util-macros isn't too generic. Should we name it xorg-util-macros ? xorg-autotools-macros ? But admittedly, that's not matching the upstream name.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 xutil_util-macros: move outside x11r7 scope
Quoted 2 lines · Thomas Petazzoni
Since you're renaming the Config.in option, some Config.in.legacy handling is needed.
Hi.
True, however much i doubt anybody is using it in their packages.
Quoted 3 lines
I am wondering if util-macros isn't too generic. Should we name it xorg-util-macros ? xorg-autotools-macros ? But admittedly, that's not matching the upstream name.
In gentoo there's only one util-macros which has far more packages than buildroot, however in the future some other util-macros might appear so yes, xorg-util-macros sounds about right.
This is just the tip of getting wayland/weston/gtk3 support back in shape, it's still WIP in some aspects but i want to push as many as the little bits as possible since they don't hurt and i don't want to pile up patches.
I'll respin a v2.
Regards.
PATCH 1/1 xutil_util-macros: move outside x11r7 scope
Quoted 8 lines · Gustavo Zacarias
Quoted 2 lines · Thomas Petazzoni
Since you're renaming the Config.in option, some Config.in.legacy handling is needed.
Hi.
True, however much i doubt anybody is using it in their packages.
Quoted 7 lines
Quoted 3 lines
I am wondering if util-macros isn't too generic. Should we name it xorg-util-macros ? xorg-autotools-macros ? But admittedly, that's not matching the upstream name.
In gentoo there's only one util-macros which has far more packages than buildroot, however in the future some other util-macros might appear so yes, xorg-util-macros sounds about right.
I think renaming xutil_util-macros to xorg-util-macros is a lot of churn for
little gain. Wouldn't it be better to keep calling it xutil_util-macros and just move the directory?
Regards,
Arnout
Quoted 10 lines
This is just the tip of getting wayland/weston/gtk3 support back in shape, it's still WIP in some aspects but i want to push as many as the little bits as possible since they don't hurt and i don't want to pile up patches. I'll respin a v2.
Regards.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 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: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF