All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 1/3] xlib_libpthread-stubs: Rename package to libpthread-stubs
       [not found] <1391633362-30331-1-git-send-email-berndkuhls@hotmail.com>
@ 2014-02-05 20:49 ` Bernd Kuhls
  2014-02-06  6:20   ` Arnout Vandecappelle
  2014-02-05 20:49 ` [Buildroot] [PATCH v3 2/3] libdrm: Remove dependency towards X11 Bernd Kuhls
  2014-02-05 20:49 ` [Buildroot] [PATCH v3 3/3] libdrm: bump to version 2.4.52 Bernd Kuhls
  2 siblings, 1 reply; 5+ messages in thread
From: Bernd Kuhls @ 2014-02-05 20:49 UTC (permalink / raw)
  To: buildroot

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)

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 Config.in.legacy                                   |   15 ++++++++++++---
 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, 38 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.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 2fe9cf9..4ea3e8e 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -198,6 +198,16 @@ config BR2_PACKAGE_LUACJSON
 	help
 	  The option has been renamed BR2_PACKAGE_LUA_CJSON.
 
+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 do not depend on X11 nor Xlib. Thus the
+	  package has been renamed
+	  BR2_PACKAGE_LIBPTHREAD_STUBS
+
 ###############################################################################
 comment "Legacy options removed in 2013.11"
 
@@ -482,11 +492,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"
diff --git a/package/Config.in b/package/Config.in
index ee2a68e..f4903ba 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -744,6 +744,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"
diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index 205f47c..4d7646b 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -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
diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index f5efaf1..dd08af1 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -12,7 +12,7 @@ LIBDRM_LICENSE = MIT
 LIBDRM_INSTALL_STAGING = YES
 
 LIBDRM_DEPENDENCIES = \
-	xlib_libpthread-stubs \
+	libpthread-stubs \
 	host-pkgconf
 
 LIBDRM_CONF_OPT = \
diff --git a/package/x11r7/xlib_libpthread-stubs/Config.in b/package/libpthread-stubs/Config.in
similarity index 88%
rename from package/x11r7/xlib_libpthread-stubs/Config.in
rename to package/libpthread-stubs/Config.in
index 6ce1b94..a4ce1cb 100644
--- a/package/x11r7/xlib_libpthread-stubs/Config.in
+++ b/package/libpthread-stubs/Config.in
@@ -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
diff --git a/package/libpthread-stubs/libpthread-stubs.mk b/package/libpthread-stubs/libpthread-stubs.mk
new file mode 100644
index 0000000..b72e5a6
--- /dev/null
+++ b/package/libpthread-stubs/libpthread-stubs.mk
@@ -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))
diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
index 5eff2df..5ef118b 100644
--- a/package/x11r7/Config.in
+++ b/package/x11r7/Config.in
@@ -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
diff --git a/package/x11r7/libxcb/Config.in b/package/x11r7/libxcb/Config.in
index 1e1afb4..32569f7 100644
--- a/package/x11r7/libxcb/Config.in
+++ b/package/x11r7/libxcb/Config.in
@@ -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
diff --git a/package/x11r7/libxcb/libxcb.mk b/package/x11r7/libxcb/libxcb.mk
index fa8ed6d..9cd8bf9 100644
--- a/package/x11r7/libxcb/libxcb.mk
+++ b/package/x11r7/libxcb/libxcb.mk
@@ -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
diff --git a/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk b/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk
deleted file mode 100644
index 6343691..0000000
--- a/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk
+++ /dev/null
@@ -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))
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v3 2/3] libdrm: Remove dependency towards X11
       [not found] <1391633362-30331-1-git-send-email-berndkuhls@hotmail.com>
  2014-02-05 20:49 ` [Buildroot] [PATCH v3 1/3] xlib_libpthread-stubs: Rename package to libpthread-stubs Bernd Kuhls
@ 2014-02-05 20:49 ` Bernd Kuhls
  2014-02-06  6:23   ` Arnout Vandecappelle
  2014-02-05 20:49 ` [Buildroot] [PATCH v3 3/3] libdrm: bump to version 2.4.52 Bernd Kuhls
  2 siblings, 1 reply; 5+ messages in thread
From: Bernd Kuhls @ 2014-02-05 20:49 UTC (permalink / raw)
  To: buildroot

v4: remove unnecessary dependencies (Arnout)
v3: rebased v2
v2: http://patchwork.ozlabs.org/patch/304116/ (Paul Cercueil)
v1: http://patchwork.ozlabs.org/patch/278297/ (Spenser Gilliland)

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/libdrm/Config.in |    7 +------
 package/libdrm/libdrm.mk |    3 ---
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index 4d7646b..7192e94 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_LIBDRM
 	bool "libdrm"
 	select BR2_PACKAGE_LIBPTHREAD_STUBS
-	depends on BR2_PACKAGE_XORG7
 	depends on BR2_LARGEFILE
 	help
 	  Direct Rendering Manager
@@ -14,6 +13,7 @@ menu "DRM Drivers"
 
 config BR2_PACKAGE_LIBDRM_INTEL
 	bool "intel"
+	depends on BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_LIBATOMIC_OPS
 	select BR2_PACKAGE_XLIB_LIBPCIACCESS
 	depends on BR2_i386 || BR2_x86_64
@@ -22,22 +22,18 @@ config BR2_PACKAGE_LIBDRM_INTEL
 
 config BR2_PACKAGE_LIBDRM_RADEON
 	bool "radeon"
-	select BR2_PACKAGE_LIBATOMIC_OPS
-	select BR2_PACKAGE_XLIB_LIBPCIACCESS
 	depends on BR2_i386 || BR2_x86_64
 	help
 	  install AMD/ATI graphics driver
 
 config BR2_PACKAGE_LIBDRM_NOUVEAU
 	bool "nouveau"
-	select BR2_PACKAGE_XLIB_LIBPCIACCESS
 	depends on BR2_i386 || BR2_x86_64
 	help
 	  install Nvidia graphics driver
 
 config BR2_PACKAGE_LIBDRM_VMWGFX
 	bool "vmwgfx"
-	select BR2_PACKAGE_XLIB_LIBPCIACCESS
 	depends on BR2_i386 || BR2_x86_64
 	help
 	  installs Vmware graphics driver
@@ -65,5 +61,4 @@ endmenu
 endif
 
 comment "libdrm needs a toolchain w/ largefile"
-	depends on BR2_PACKAGE_XORG7
 	depends on !BR2_LARGEFILE
diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index dd08af1..cecb382 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -28,21 +28,18 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBDRM_RADEON),y)
 LIBDRM_CONF_OPT += --enable-radeon
-LIBDRM_DEPENDENCIES += xlib_libpciaccess
 else
 LIBDRM_CONF_OPT += --disable-radeon
 endif
 
 ifeq ($(BR2_PACKAGE_LIBDRM_NOUVEAU),y)
 LIBDRM_CONF_OPT += --enable-nouveau
-LIBDRM_DEPENDENCIES += xlib_libpciaccess
 else
 LIBDRM_CONF_OPT += --disable-nouveau
 endif
 
 ifeq ($(BR2_PACKAGE_LIBDRM_VMWGFX),y)
 LIBDRM_CONF_OPT += --enable-vmwgfx
-LIBDRM_DEPENDENCIES += xlib_libpciaccess
 else
 LIBDRM_CONF_OPT += --disable-vmwgfx
 endif
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v3 3/3] libdrm: bump to version 2.4.52
       [not found] <1391633362-30331-1-git-send-email-berndkuhls@hotmail.com>
  2014-02-05 20:49 ` [Buildroot] [PATCH v3 1/3] xlib_libpthread-stubs: Rename package to libpthread-stubs Bernd Kuhls
  2014-02-05 20:49 ` [Buildroot] [PATCH v3 2/3] libdrm: Remove dependency towards X11 Bernd Kuhls
@ 2014-02-05 20:49 ` Bernd Kuhls
  2 siblings, 0 replies; 5+ messages in thread
From: Bernd Kuhls @ 2014-02-05 20:49 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
---
 package/libdrm/libdrm.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index cecb382..5d109de 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBDRM_VERSION = 2.4.46
+LIBDRM_VERSION = 2.4.52
 LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.bz2
 LIBDRM_SITE = http://dri.freedesktop.org/libdrm/
 LIBDRM_LICENSE = MIT
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v3 1/3] xlib_libpthread-stubs: Rename package to libpthread-stubs
  2014-02-05 20:49 ` [Buildroot] [PATCH v3 1/3] xlib_libpthread-stubs: Rename package to libpthread-stubs Bernd Kuhls
@ 2014-02-06  6:20   ` Arnout Vandecappelle
  0 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2014-02-06  6:20 UTC (permalink / raw)
  To: buildroot

On 05/02/14 21:49, Bernd Kuhls wrote:
> 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)

 The patch changelog should go below the SoB and ---. See
buildroot.net/downloads/manual/manual.html#submitting-patches

> 
> Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
> Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>


 Regards,
 Arnout

> ---
>  Config.in.legacy                                   |   15 ++++++++++++---
>  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, 38 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.mk
> 
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 2fe9cf9..4ea3e8e 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -198,6 +198,16 @@ config BR2_PACKAGE_LUACJSON
>  	help
>  	  The option has been renamed BR2_PACKAGE_LUA_CJSON.
>  
> +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 do not depend on X11 nor Xlib. Thus the
> +	  package has been renamed
> +	  BR2_PACKAGE_LIBPTHREAD_STUBS
> +
>  ###############################################################################
>  comment "Legacy options removed in 2013.11"
>  
> @@ -482,11 +492,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"
> diff --git a/package/Config.in b/package/Config.in
> index ee2a68e..f4903ba 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -744,6 +744,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"
> diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
> index 205f47c..4d7646b 100644
> --- a/package/libdrm/Config.in
> +++ b/package/libdrm/Config.in
> @@ -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
> diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
> index f5efaf1..dd08af1 100644
> --- a/package/libdrm/libdrm.mk
> +++ b/package/libdrm/libdrm.mk
> @@ -12,7 +12,7 @@ LIBDRM_LICENSE = MIT
>  LIBDRM_INSTALL_STAGING = YES
>  
>  LIBDRM_DEPENDENCIES = \
> -	xlib_libpthread-stubs \
> +	libpthread-stubs \
>  	host-pkgconf
>  
>  LIBDRM_CONF_OPT = \
> diff --git a/package/x11r7/xlib_libpthread-stubs/Config.in b/package/libpthread-stubs/Config.in
> similarity index 88%
> rename from package/x11r7/xlib_libpthread-stubs/Config.in
> rename to package/libpthread-stubs/Config.in
> index 6ce1b94..a4ce1cb 100644
> --- a/package/x11r7/xlib_libpthread-stubs/Config.in
> +++ b/package/libpthread-stubs/Config.in
> @@ -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
> diff --git a/package/libpthread-stubs/libpthread-stubs.mk b/package/libpthread-stubs/libpthread-stubs.mk
> new file mode 100644
> index 0000000..b72e5a6
> --- /dev/null
> +++ b/package/libpthread-stubs/libpthread-stubs.mk
> @@ -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))
> diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
> index 5eff2df..5ef118b 100644
> --- a/package/x11r7/Config.in
> +++ b/package/x11r7/Config.in
> @@ -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
> diff --git a/package/x11r7/libxcb/Config.in b/package/x11r7/libxcb/Config.in
> index 1e1afb4..32569f7 100644
> --- a/package/x11r7/libxcb/Config.in
> +++ b/package/x11r7/libxcb/Config.in
> @@ -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
> diff --git a/package/x11r7/libxcb/libxcb.mk b/package/x11r7/libxcb/libxcb.mk
> index fa8ed6d..9cd8bf9 100644
> --- a/package/x11r7/libxcb/libxcb.mk
> +++ b/package/x11r7/libxcb/libxcb.mk
> @@ -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
> diff --git a/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk b/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk
> deleted file mode 100644
> index 6343691..0000000
> --- a/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk
> +++ /dev/null
> @@ -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))
> 


-- 
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:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v3 2/3] libdrm: Remove dependency towards X11
  2014-02-05 20:49 ` [Buildroot] [PATCH v3 2/3] libdrm: Remove dependency towards X11 Bernd Kuhls
@ 2014-02-06  6:23   ` Arnout Vandecappelle
  0 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2014-02-06  6:23 UTC (permalink / raw)
  To: buildroot

On 05/02/14 21:49, Bernd Kuhls wrote:
> v4: remove unnecessary dependencies (Arnout)
> v3: rebased v2
> v2: http://patchwork.ozlabs.org/patch/304116/ (Paul Cercueil)
> v1: http://patchwork.ozlabs.org/patch/278297/ (Spenser Gilliland)

 Same comment about the place of the patch changelog.

 Also, for this one you should put in the commit message your proof that
these dependencies can be removed. Basically, the body of the mail you
sent earlier.

> 
> Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
> Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 Regards,
 Arnout

> ---
>  package/libdrm/Config.in |    7 +------
>  package/libdrm/libdrm.mk |    3 ---
>  2 files changed, 1 insertion(+), 9 deletions(-)
> 
> diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
> index 4d7646b..7192e94 100644
> --- a/package/libdrm/Config.in
> +++ b/package/libdrm/Config.in
> @@ -1,7 +1,6 @@
>  config BR2_PACKAGE_LIBDRM
>  	bool "libdrm"
>  	select BR2_PACKAGE_LIBPTHREAD_STUBS
> -	depends on BR2_PACKAGE_XORG7
>  	depends on BR2_LARGEFILE
>  	help
>  	  Direct Rendering Manager
> @@ -14,6 +13,7 @@ menu "DRM Drivers"
>  
>  config BR2_PACKAGE_LIBDRM_INTEL
>  	bool "intel"
> +	depends on BR2_PACKAGE_XORG7
>  	select BR2_PACKAGE_LIBATOMIC_OPS
>  	select BR2_PACKAGE_XLIB_LIBPCIACCESS
>  	depends on BR2_i386 || BR2_x86_64
> @@ -22,22 +22,18 @@ config BR2_PACKAGE_LIBDRM_INTEL
>  
>  config BR2_PACKAGE_LIBDRM_RADEON
>  	bool "radeon"
> -	select BR2_PACKAGE_LIBATOMIC_OPS
> -	select BR2_PACKAGE_XLIB_LIBPCIACCESS
>  	depends on BR2_i386 || BR2_x86_64
>  	help
>  	  install AMD/ATI graphics driver
>  
>  config BR2_PACKAGE_LIBDRM_NOUVEAU
>  	bool "nouveau"
> -	select BR2_PACKAGE_XLIB_LIBPCIACCESS
>  	depends on BR2_i386 || BR2_x86_64
>  	help
>  	  install Nvidia graphics driver
>  
>  config BR2_PACKAGE_LIBDRM_VMWGFX
>  	bool "vmwgfx"
> -	select BR2_PACKAGE_XLIB_LIBPCIACCESS
>  	depends on BR2_i386 || BR2_x86_64
>  	help
>  	  installs Vmware graphics driver
> @@ -65,5 +61,4 @@ endmenu
>  endif
>  
>  comment "libdrm needs a toolchain w/ largefile"
> -	depends on BR2_PACKAGE_XORG7
>  	depends on !BR2_LARGEFILE
> diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
> index dd08af1..cecb382 100644
> --- a/package/libdrm/libdrm.mk
> +++ b/package/libdrm/libdrm.mk
> @@ -28,21 +28,18 @@ endif
>  
>  ifeq ($(BR2_PACKAGE_LIBDRM_RADEON),y)
>  LIBDRM_CONF_OPT += --enable-radeon
> -LIBDRM_DEPENDENCIES += xlib_libpciaccess
>  else
>  LIBDRM_CONF_OPT += --disable-radeon
>  endif
>  
>  ifeq ($(BR2_PACKAGE_LIBDRM_NOUVEAU),y)
>  LIBDRM_CONF_OPT += --enable-nouveau
> -LIBDRM_DEPENDENCIES += xlib_libpciaccess
>  else
>  LIBDRM_CONF_OPT += --disable-nouveau
>  endif
>  
>  ifeq ($(BR2_PACKAGE_LIBDRM_VMWGFX),y)
>  LIBDRM_CONF_OPT += --enable-vmwgfx
> -LIBDRM_DEPENDENCIES += xlib_libpciaccess
>  else
>  LIBDRM_CONF_OPT += --disable-vmwgfx
>  endif
> 


-- 
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:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-06  6:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1391633362-30331-1-git-send-email-berndkuhls@hotmail.com>
2014-02-05 20:49 ` [Buildroot] [PATCH v3 1/3] xlib_libpthread-stubs: Rename package to libpthread-stubs Bernd Kuhls
2014-02-06  6:20   ` Arnout Vandecappelle
2014-02-05 20:49 ` [Buildroot] [PATCH v3 2/3] libdrm: Remove dependency towards X11 Bernd Kuhls
2014-02-06  6:23   ` Arnout Vandecappelle
2014-02-05 20:49 ` [Buildroot] [PATCH v3 3/3] libdrm: bump to version 2.4.52 Bernd Kuhls

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.