mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libpciaccess: Version bump. 0.17 -> 0.18
@ 2024-02-05 19:59 Christian Melki
  2024-02-09 16:11 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2024-02-05 19:59 UTC (permalink / raw)
  To: ptxdist

Some minor bugfixes and a dropped autotools build system.

* Convert to meson.

* Remove MTRR overrides. Don't think there are x86s without
MTRR/PATs this side of the millenia. It should be automatically
detected just fine.

* Explicitly enable HWDATA dependency.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 rules/libpciaccess.in   | 16 ++--------------
 rules/libpciaccess.make | 27 ++++++++-------------------
 2 files changed, 10 insertions(+), 33 deletions(-)

diff --git a/rules/libpciaccess.in b/rules/libpciaccess.in
index b6f3e7340..efbd52913 100644
--- a/rules/libpciaccess.in
+++ b/rules/libpciaccess.in
@@ -3,20 +3,8 @@
 menuconfig LIBPCIACCESS
 	tristate
 	prompt "libpciaccess                  "
+	select HOST_MESON
+	select HWDATA
 	help
 	  libpciaccess contains low level access functions to be used by
 	  the xorg servers and video drivers.
-
-if LIBPCIACCESS
-
-config LIBPCIACCESS_MTRR
-	bool
-	prompt "MTRR support"
-	help
-	  You should carefully check if your x86 target CPU supports MTRRs,
-	  and if so enable this menuentry.
-	  BTW: MTRR stands for "memory type range registers" and its used to
-	  optimize accesses to various memory types, like main memory
-	  or memory accessible via buses like video memory on PCI cards.
-
-endif
diff --git a/rules/libpciaccess.make b/rules/libpciaccess.make
index fb0b46a8e..7ab035ab5 100644
--- a/rules/libpciaccess.make
+++ b/rules/libpciaccess.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBPCIACCESS) += libpciaccess
 #
 # Paths and names
 #
-LIBPCIACCESS_VERSION	:= 0.17
-LIBPCIACCESS_MD5	:= 1466cf950c914ad2db1dbb76c9a724db
+LIBPCIACCESS_VERSION	:= 0.18
+LIBPCIACCESS_MD5	:= 54f48367e37666f9e0f12571d1ee3620
 LIBPCIACCESS		:= libpciaccess-$(LIBPCIACCESS_VERSION)
 LIBPCIACCESS_SUFFIX	:= tar.xz
 LIBPCIACCESS_URL	:= $(call ptx/mirror, XORG, individual/lib/$(LIBPCIACCESS).$(LIBPCIACCESS_SUFFIX))
@@ -27,26 +27,15 @@ LIBPCIACCESS_LICENSE	:= MIT
 # Prepare
 # ----------------------------------------------------------------------------
 
-LIBPCIACCESS_CONF_ENV	:= $(CROSS_ENV)
-
-ifdef PTXCONF_LIBPCIACCESS_MTRR
-LIBPCIACCESS_CONF_ENV += ac_cv_file__usr_include_asm_mtrr_h=yes
-else
-LIBPCIACCESS_CONF_ENV += ac_cv_file__usr_include_asm_mtrr_h=no
-endif
-
 #
-# autoconf
+# meson
 #
-LIBPCIACCESS_CONF_TOOL	:= autoconf
+LIBPCIACCESS_CONF_TOOL	:= meson
 LIBPCIACCESS_CONF_OPT	:= \
-	$(CROSS_AUTOCONF_USR) \
-	--disable-selective-werror \
-	--disable-strict-compilation \
-	--disable-linux-rom-fallback \
-	$(GLOBAL_LARGE_FILE_OPTION) \
-	--with-pciids-path=/usr/share \
-	--without-zlib
+	$(CROSS_MESON_USR) \
+	-Dlinux-rom-fallback=false \
+	-Dpci-ids=/usr/share \
+	-Dzlib=disabled
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.34.1




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

* Re: [ptxdist] [APPLIED] libpciaccess: Version bump. 0.17 -> 0.18
  2024-02-05 19:59 [ptxdist] [PATCH] libpciaccess: Version bump. 0.17 -> 0.18 Christian Melki
@ 2024-02-09 16:11 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-02-09 16:11 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

Thanks, applied as 517b787316b003192fc3627798d0c667a21c109a.

Michael

[sent from post-receive hook]

On Fri, 09 Feb 2024 17:11:22 +0100, Christian Melki <christian.melki@t2data.com> wrote:
> Some minor bugfixes and a dropped autotools build system.
> 
> * Convert to meson.
> 
> * Remove MTRR overrides. Don't think there are x86s without
> MTRR/PATs this side of the millenia. It should be automatically
> detected just fine.
> 
> * Explicitly enable HWDATA dependency.
> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20240205195905.768303-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/libpciaccess.in b/rules/libpciaccess.in
> index b6f3e7340f26..efbd529131ab 100644
> --- a/rules/libpciaccess.in
> +++ b/rules/libpciaccess.in
> @@ -3,20 +3,8 @@
>  menuconfig LIBPCIACCESS
>  	tristate
>  	prompt "libpciaccess                  "
> +	select HOST_MESON
> +	select HWDATA
>  	help
>  	  libpciaccess contains low level access functions to be used by
>  	  the xorg servers and video drivers.
> -
> -if LIBPCIACCESS
> -
> -config LIBPCIACCESS_MTRR
> -	bool
> -	prompt "MTRR support"
> -	help
> -	  You should carefully check if your x86 target CPU supports MTRRs,
> -	  and if so enable this menuentry.
> -	  BTW: MTRR stands for "memory type range registers" and its used to
> -	  optimize accesses to various memory types, like main memory
> -	  or memory accessible via buses like video memory on PCI cards.
> -
> -endif
> diff --git a/rules/libpciaccess.make b/rules/libpciaccess.make
> index fb0b46a8eb4a..7ab035ab51cb 100644
> --- a/rules/libpciaccess.make
> +++ b/rules/libpciaccess.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBPCIACCESS) += libpciaccess
>  #
>  # Paths and names
>  #
> -LIBPCIACCESS_VERSION	:= 0.17
> -LIBPCIACCESS_MD5	:= 1466cf950c914ad2db1dbb76c9a724db
> +LIBPCIACCESS_VERSION	:= 0.18
> +LIBPCIACCESS_MD5	:= 54f48367e37666f9e0f12571d1ee3620
>  LIBPCIACCESS		:= libpciaccess-$(LIBPCIACCESS_VERSION)
>  LIBPCIACCESS_SUFFIX	:= tar.xz
>  LIBPCIACCESS_URL	:= $(call ptx/mirror, XORG, individual/lib/$(LIBPCIACCESS).$(LIBPCIACCESS_SUFFIX))
> @@ -27,26 +27,15 @@ LIBPCIACCESS_LICENSE	:= MIT
>  # Prepare
>  # ----------------------------------------------------------------------------
>  
> -LIBPCIACCESS_CONF_ENV	:= $(CROSS_ENV)
> -
> -ifdef PTXCONF_LIBPCIACCESS_MTRR
> -LIBPCIACCESS_CONF_ENV += ac_cv_file__usr_include_asm_mtrr_h=yes
> -else
> -LIBPCIACCESS_CONF_ENV += ac_cv_file__usr_include_asm_mtrr_h=no
> -endif
> -
>  #
> -# autoconf
> +# meson
>  #
> -LIBPCIACCESS_CONF_TOOL	:= autoconf
> +LIBPCIACCESS_CONF_TOOL	:= meson
>  LIBPCIACCESS_CONF_OPT	:= \
> -	$(CROSS_AUTOCONF_USR) \
> -	--disable-selective-werror \
> -	--disable-strict-compilation \
> -	--disable-linux-rom-fallback \
> -	$(GLOBAL_LARGE_FILE_OPTION) \
> -	--with-pciids-path=/usr/share \
> -	--without-zlib
> +	$(CROSS_MESON_USR) \
> +	-Dlinux-rom-fallback=false \
> +	-Dpci-ids=/usr/share \
> +	-Dzlib=disabled
>  
>  # ----------------------------------------------------------------------------
>  # Target-Install



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

end of thread, other threads:[~2024-02-09 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-05 19:59 [ptxdist] [PATCH] libpciaccess: Version bump. 0.17 -> 0.18 Christian Melki
2024-02-09 16:11 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox