xlib_libpthread-stubs: Rename package to libpthread-stubs
PATCH v5 1/3 xlib_libpthread-stubs: Rename package to libpthread-stubs
---
v6: Moved legacy option to 2014.05 option block
v5: Moved patch changelog below --- (Arnout)
v4: Config.in.legacy:
move BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS to 2014.02 (Arnout)
v3: rebased v2
libdrm: rename to libpthread-stubs as well for bisectability
v2: http://patchwork.ozlabs.org/patch/304117/ (Paul Cercueil)
v1: http://patchwork.ozlabs.org/patch/278296/ (Spenser Gilliland)
Config.in.legacy | 14 +++++++++++---
package/Config.in | 1 +
package/libdrm/Config.in | 2 +-
package/libdrm/libdrm.mk | 2 +-
.../Config.in | 2 +-
package/libpthread-stubs/libpthread-stubs.mk | 20 ++++++++++++++++++++
package/x11r7/Config.in | 1 -
package/x11r7/libxcb/Config.in | 2 +-
package/x11r7/libxcb/libxcb.mk | 2 +-
.../xlib_libpthread-stubs/xlib_libpthread-stubs.mk | 20 --------------------
10 files changed, 37 insertions(+), 29 deletions(-)
rename package/{x11r7/xlib_libpthread-stubs => libpthread-stubs}/Config.in (88%)
create mode 100644 package/libpthread-stubs/libpthread-stubs.mk
delete mode 100644 package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mkConfig.in.legacy +11 -3
@@ -165,6 +165,15 @@ config BR2_PACKAGE_UDEV_ALL_EXTRAS the 'udev' providers if the dependencies are selected. For example, selecting 'libglib2' will trigger the build of gudev. +config BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS + bool "xlib-libpthread-stubs option has been renamed" + depends on BR2_PACKAGE_XORG7 + select BR2_LEGACY + select BR2_PACKAGE_LIBPTHREAD_STUBS + help + The pthread stubs neither depend on X11 nor Xlib. Thus the + package has been renamed BR2_PACKAGE_LIBPTHREAD_STUBS + ############################################################################### comment "Legacy options removed in 2014.02"
@@ -635,11 +644,10 @@ config BR2_PACKAGE_XSERVER_tinyx config BR2_PACKAGE_PTHREAD_STUBS bool "pthread-stubs option has been renamed" select BR2_LEGACY - select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS - depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_LIBPTHREAD_STUBS help For consistency reason, the pthread-stubs package has been - renamed to xlib_libpthread-stubs. + renamed to libpthread-stubs. ############################################################################### comment "Legacy options removed in 2012.08"
package/Config.in +1 -0
@@ -768,6 +768,7 @@ source "package/liblog4c-localtime/Config.in" source "package/libnspr/Config.in" source "package/libpfm4/Config.in" source "package/libplist/Config.in" +source "package/libpthread-stubs/Config.in" source "package/libpthsem/Config.in" source "package/libseccomp/Config.in" source "package/libsigc/Config.in"
package/libdrm/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_LIBDRM bool "libdrm" - select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS + select BR2_PACKAGE_LIBPTHREAD_STUBS depends on BR2_PACKAGE_XORG7 depends on BR2_LARGEFILE help
package/libdrm/libdrm.mk +1 -1
@@ -12,7 +12,7 @@ LIBDRM_LICENSE = MIT LIBDRM_INSTALL_STAGING = YES LIBDRM_DEPENDENCIES = \ - xlib_libpthread-stubs \ + libpthread-stubs \ host-pkgconf LIBDRM_CONF_OPT = \
package/libpthread-stubs/Config.in renamed from package/x11r7/xlib_libpthread-stubs/Config.in +1 -1
@@ -1,4 +1,4 @@ -config BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS +config BR2_PACKAGE_LIBPTHREAD_STUBS bool "libpthread-stubs" depends on BR2_TOOLCHAIN_HAS_THREADS help
package/libpthread-stubs/libpthread-stubs.mk new file +20 -0
@@ -0,0 +1,20 @@ +################################################################################ +# +# libpthread-stubs +# +################################################################################ + +LIBPTHREAD_STUBS_VERSION = 0.3 +LIBPTHREAD_STUBS_SOURCE = libpthread-stubs-$(LIBPTHREAD_STUBS_VERSION).tar.bz2 +LIBPTHREAD_STUBS_SITE = http://xcb.freedesktop.org/dist/ +LIBPTHREAD_STUBS_LICENSE = MIT +LIBPTHREAD_STUBS_LICENSE_FILES = COPYING + +LIBPTHREAD_STUBS_INSTALL_STAGING = YES + +ifeq ($(BR2_PREFER_STATIC_LIB),y) +LIBPTHREAD_STUBS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread" +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package))
package/x11r7/Config.in +0 -1
@@ -53,7 +53,6 @@ if BR2_PACKAGE_XORG7 source package/x11r7/xlib_libxkbfile/Config.in source package/x11r7/xlib_xtrans/Config.in source package/x11r7/xlib_libpciaccess/Config.in - source package/x11r7/xlib_libpthread-stubs/Config.in endmenu menu "X11R7 Applications" source package/x11r7/xapp_appres/Config.in
package/x11r7/libxcb/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_LIBXCB bool "libxcb" - select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS + select BR2_PACKAGE_LIBPTHREAD_STUBS select BR2_PACKAGE_XCB_PROTO select BR2_PACKAGE_XLIB_LIBXDMCP select BR2_PACKAGE_XLIB_LIBXAU
package/x11r7/libxcb/libxcb.mk +1 -1
@@ -13,7 +13,7 @@ LIBXCB_LICENSE_FILES = COPYING LIBXCB_INSTALL_STAGING = YES LIBXCB_DEPENDENCIES = \ - host-libxslt xlib_libpthread-stubs xcb-proto xlib_libXdmcp xlib_libXau \ + host-libxslt libpthread-stubs xcb-proto xlib_libXdmcp xlib_libXau \ host-xcb-proto host-python host-pkgconf LIBXCB_CONF_OPT = --disable-build-docs
package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk deleted +0 -20
@@ -1,20 +0,0 @@ -################################################################################ -# -# xlib_libpthread-stubs -# -################################################################################ - -XLIB_LIBPTHREAD_STUBS_VERSION = 0.3 -XLIB_LIBPTHREAD_STUBS_SOURCE = libpthread-stubs-$(XLIB_LIBPTHREAD_STUBS_VERSION).tar.bz2 -XLIB_LIBPTHREAD_STUBS_SITE = http://xcb.freedesktop.org/dist/ -XLIB_LIBPTHREAD_STUBS_LICENSE = MIT -XLIB_LIBPTHREAD_STUBS_LICENSE_FILES = COPYING - -XLIB_LIBPTHREAD_STUBS_INSTALL_STAGING = YES - -ifeq ($(BR2_PREFER_STATIC_LIB),y) -XLIB_LIBPTHREAD_STUBS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread" -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package))
Signature · 1 line
1.7.10.4
PATCH v5 1/3 xlib_libpthread-stubs: Rename package to libpthread-stubs
Dear Bernd Kuhls,
Quoted 4 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Signed-off-by Paul Cercueil <[email protected]>Signed-off-by Spenser Gilliland <[email protected]>
I've applied this patch, as well as PATCH 2/3 and 3/3 from this series.
From what I remember, these patches were preventing some other patches from getting merged, especially patches from Spenser. Would it be possible to dig those patches and resend them on top of the latest master?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v5 1/3 xlib_libpthread-stubs: Rename package to libpthread-stubs
Thomas Petazzoni
<[email protected]> wrote
in news:20140302150146.50593a9f at skate:
Quoted 2 lines
Would it be possible to dig those patches and resend them on top of the latest master?
Hi,
yes, of course ;)
The next step is to update mesa3d to 10.0.3 & xorg to 1.15.0:
http://patchwork.ozlabs.org/patch/316704/
http://patchwork.ozlabs.org/patch/316705/
http://patchwork.ozlabs.org/patch/316707/
http://patchwork.ozlabs.org/patch/316706/
while I?am also waiting for the drm-related autobuild fallout ;)
Now that the drm update made it into git I will update my patches for git master, but afaics the opengl support is up for a change, too:
http://patchwork.ozlabs.org/patch/316706/
http://patchwork.ozlabs.org/patch/325462/
Should I wait until the new code is merged? Mesa3d introduces a new opengl/libgl package.
FTR: sdl needs this patch to compile with libX11>= 1.5.99.902 on x86_64:
http://hg.libsdl.org/SDL/raw-rev/91ad7b43317a
This is already fixed here, I will include it in my next patch series.
Regards, Bernd
PATCH v5 1/3 xlib_libpthread-stubs: Rename package to libpthread-stubs
Dear Bernd Kuhls,
Quoted 6 lines · Bernd Kuhls
The next step is to update mesa3d to 10.0.3 & xorg to 1.15.0:
http://patchwork.ozlabs.org/patch/316704/
http://patchwork.ozlabs.org/patch/316705/
http://patchwork.ozlabs.org/patch/316707/
http://patchwork.ozlabs.org/patch/316706/
These patches have a number of comments that have not been addressed. Can you take them into account and resend updated versions?
Quoted 7 lines
while I?am also waiting for the drm-related autobuild fallout ;)
Now that the drm update made it into git I will update my patches for git master, but afaics the opengl support is up for a change, too:
http://patchwork.ozlabs.org/patch/316706/
http://patchwork.ozlabs.org/patch/325462/
Not sure how these two patches are related. What do you mean exactly here?
Quoted 2 lines
Should I wait until the new code is merged? Mesa3d introduces a new opengl/libgl package.
Which new code?
Quoted 4 lines
FTR: sdl needs this patch to compile with libX11>= 1.5.99.902 on
x86_64:
http://hg.libsdl.org/SDL/raw-rev/91ad7b43317aThis is already fixed here, I will include it in my next patch series.
Huh, have you looked at sdl-0002-fix-compilation-with-libx11.patch in package/sdl/ ?
It would be good if you could resend a complete patch series with all the patches that you believe are still pending on libdrm/mesa/X.org. Of course, make sure you take into account the comments that have been given on the patches already.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com