All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/wine: bump to version 7.0
@ 2022-06-07 13:18 André Zwing
  2022-07-23 16:51 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: André Zwing @ 2022-06-07 13:18 UTC (permalink / raw)
  To: buildroot

Multiple library checks are obsolete, either due to removal or due to built-in solutions.

Signed-off-by: André Zwing <nerv@dawncrow.de>
---
 ...a-avoid-mpg123-functions-with-suffix.patch | 21 ++++++
 ...d-avoid-mpg123-functions-with-suffix.patch | 21 ++++++
 package/wine/wine.hash                        |  4 +-
 package/wine/wine.mk                          | 68 +------------------
 4 files changed, 46 insertions(+), 68 deletions(-)
 create mode 100644 package/wine/0001-l3codeca-avoid-mpg123-functions-with-suffix.patch
 create mode 100644 package/wine/0002-mp3dmod-avoid-mpg123-functions-with-suffix.patch

diff --git a/package/wine/0001-l3codeca-avoid-mpg123-functions-with-suffix.patch b/package/wine/0001-l3codeca-avoid-mpg123-functions-with-suffix.patch
new file mode 100644
index 0000000000..8332db4b38
--- /dev/null
+++ b/package/wine/0001-l3codeca-avoid-mpg123-functions-with-suffix.patch
@@ -0,0 +1,21 @@
+commit 75b70efdaa2d4baa064271098878b79f66df155f
+Author: André Zwing <nerv@dawncrow.de>
+Date:   Sat May 21 17:53:07 2022 +0200
+
+    l3codeca.acm: Avoid mpg123 functions with suffix.
+
+[Upstream commit: https://source.winehq.org/git/wine.git/commit/75b70efdaa2d4baa064271098878b79f66df155f]
+Signed-off-by: André Zwing <nerv@dawncrow.de>
+
+diff --git a/dlls/l3codeca.acm/Makefile.in b/dlls/l3codeca.acm/Makefile.in
+index 451794b2624..31765766d4e 100644
+--- a/dlls/l3codeca.acm/Makefile.in
++++ b/dlls/l3codeca.acm/Makefile.in
+@@ -1,6 +1,7 @@
+ MODULE    = l3codeca.acm
+ IMPORTS   = $(MPG123_PE_LIBS) winmm user32 kernelbase
+ EXTRAINCL = $(MPG123_PE_CFLAGS)
++EXTRADEFS = -DMPG123_NO_LARGENAME
+ 
+ C_SRCS = \
+        mpegl3.c
diff --git a/package/wine/0002-mp3dmod-avoid-mpg123-functions-with-suffix.patch b/package/wine/0002-mp3dmod-avoid-mpg123-functions-with-suffix.patch
new file mode 100644
index 0000000000..16f2ba2898
--- /dev/null
+++ b/package/wine/0002-mp3dmod-avoid-mpg123-functions-with-suffix.patch
@@ -0,0 +1,21 @@
+commit 8d441659f7c7ae359e06a99e7abaae57792356a0
+Author: André Zwing <nerv@dawncrow.de>
+Date:   Sat May 21 17:53:07 2022 +0200
+
+    mp3dmod: Avoid mpg123 functions with suffix.
+
+[Upstream commit: https://source.winehq.org/git/wine.git/commit/8d441659f7c7ae359e06a99e7abaae57792356a0]
+Signed-off-by: André Zwing <nerv@dawncrow.de>
+
+diff --git a/dlls/mp3dmod/Makefile.in b/dlls/mp3dmod/Makefile.in
+index dabbb1dfeae..3ba343a4d34 100644
+--- a/dlls/mp3dmod/Makefile.in
++++ b/dlls/mp3dmod/Makefile.in
+@@ -1,6 +1,7 @@
+ MODULE    = mp3dmod.dll
+ IMPORTS   = $(MPG123_PE_LIBS) dmoguids msdmo ole32 uuid wmcodecdspuuid kernelbase
+ EXTRAINCL = $(MPG123_PE_CFLAGS)
++EXTRADEFS = -DMPG123_NO_LARGENAME
+ 
+ C_SRCS = \
+        mp3dmod.c
diff --git a/package/wine/wine.hash b/package/wine/wine.hash
index 083e3dd3eb..9a7a1c342a 100644
--- a/package/wine/wine.hash
+++ b/package/wine/wine.hash
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-sha256  b493065f2f83ee429c62e2ec58698a3cf63ef78722e1b20765823152e8582c56  wine-6.0.tar.xz
+sha256  5b43e27d5c085cb18f97394e46180310d5eef7c1d91c6895432a3889b2de086b  wine-7.0.tar.xz
 # Locally calculated
 sha256  e237fa56668030e928551ddd60f05df5fe957f75eab874bbd017e085ed722e7c  COPYING.LIB
-sha256  111398f1be25b1ae1f124512fe61569e6b4555408e2feb9bc82f9fe57d39b302  LICENSE
+sha256  7c360930e51d56c8fa12fe1df8ed348ac77a9ad73f9582a303919469399b3ce4  LICENSE
diff --git a/package/wine/wine.mk b/package/wine/wine.mk
index c925a58632..5f4d2ef6e3 100644
--- a/package/wine/wine.mk
+++ b/package/wine/wine.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-WINE_VERSION = 6.0
+WINE_VERSION = 7.0
 WINE_SOURCE = wine-$(WINE_VERSION).tar.xz
-WINE_SITE = https://dl.winehq.org/wine/source/6.0
+WINE_SITE = https://dl.winehq.org/wine/source/7.0
 WINE_LICENSE = LGPL-2.1+
 WINE_LICENSE_FILES = COPYING.LIB LICENSE
 WINE_CPE_ID_VENDOR = winehq
@@ -21,12 +21,9 @@ WINE_CONF_OPTS = \
 	--disable-win64 \
 	--without-capi \
 	--without-coreaudio \
-	--without-faudio \
 	--without-gettext \
 	--without-gettextpo \
 	--without-gphoto \
-	--without-gsm \
-	--without-hal \
 	--without-mingw \
 	--without-opencl \
 	--without-oss \
@@ -99,20 +96,6 @@ else
 WINE_CONF_OPTS += --without-gstreamer
 endif
 
-ifeq ($(BR2_PACKAGE_JPEG),y)
-WINE_CONF_OPTS += --with-jpeg
-WINE_DEPENDENCIES += jpeg
-else
-WINE_CONF_OPTS += --without-jpeg
-endif
-
-ifeq ($(BR2_PACKAGE_LCMS2),y)
-WINE_CONF_OPTS += --with-cms
-WINE_DEPENDENCIES += lcms2
-else
-WINE_CONF_OPTS += --without-cms
-endif
-
 ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
 WINE_CONF_OPTS += --with-opengl
 WINE_DEPENDENCIES += libgl
@@ -134,13 +117,6 @@ else
 WINE_CONF_OPTS += --without-pcap
 endif
 
-ifeq ($(BR2_PACKAGE_LIBPNG),y)
-WINE_CONF_OPTS += --with-png
-WINE_DEPENDENCIES += libpng
-else
-WINE_CONF_OPTS += --without-png
-endif
-
 ifeq ($(BR2_PACKAGE_LIBUSB),y)
 WINE_CONF_OPTS += --with-usb
 WINE_DEPENDENCIES += libusb
@@ -155,29 +131,6 @@ else
 WINE_CONF_OPTS += --without-v4l2
 endif
 
-ifeq ($(BR2_PACKAGE_LIBXML2),y)
-WINE_CONF_OPTS += --with-xml
-WINE_DEPENDENCIES += libxml2
-WINE_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
-else
-WINE_CONF_OPTS += --without-xml
-endif
-
-ifeq ($(BR2_PACKAGE_LIBXSLT),y)
-WINE_CONF_OPTS += --with-xslt
-WINE_DEPENDENCIES += libxslt
-WINE_CONF_ENV += XSLT_CONFIG=$(STAGING_DIR)/usr/bin/xslt-config
-else
-WINE_CONF_OPTS += --without-xslt
-endif
-
-ifeq ($(BR2_PACKAGE_MPG123),y)
-WINE_CONF_OPTS += --with-mpg123
-WINE_DEPENDENCIES += mpg123
-else
-WINE_CONF_OPTS += --without-mpg123
-endif
-
 ifeq ($(BR2_PACKAGE_OPENAL),y)
 WINE_CONF_OPTS += --with-openal
 WINE_DEPENDENCIES += openal
@@ -228,13 +181,6 @@ else
 WINE_CONF_OPTS += --without-sdl
 endif
 
-ifeq ($(BR2_PACKAGE_TIFF),y)
-WINE_CONF_OPTS += --with-tiff
-WINE_DEPENDENCIES += tiff
-else
-WINE_CONF_OPTS += --without-tiff
-endif
-
 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
 WINE_CONF_OPTS += --with-udev
 WINE_DEPENDENCIES += udev
@@ -349,23 +295,17 @@ HOST_WINE_CONF_OPTS += \
 	--disable-win16 \
 	--without-alsa \
 	--without-capi \
-	--without-cms \
 	--without-coreaudio \
-	--without-faudio \
 	--without-cups \
 	--without-dbus \
 	--without-fontconfig \
 	--without-gphoto \
 	--without-gnutls \
-	--without-gsm \
 	--without-gssapi \
 	--without-gstreamer \
-	--without-hal \
-	--without-jpeg \
 	--without-krb5 \
 	--without-ldap \
 	--without-mingw \
-	--without-mpg123 \
 	--without-netapi \
 	--without-openal \
 	--without-opencl \
@@ -374,10 +314,8 @@ HOST_WINE_CONF_OPTS += \
 	--without-oss \
 	--without-pcap \
 	--without-pulse \
-	--without-png \
 	--without-sane \
 	--without-sdl \
-	--without-tiff \
 	--without-usb \
 	--without-v4l2 \
 	--without-vkd3d \
@@ -388,12 +326,10 @@ HOST_WINE_CONF_OPTS += \
 	--without-xinerama \
 	--without-xinput \
 	--without-xinput2 \
-	--without-xml \
 	--without-xrandr \
 	--without-xrender \
 	--without-xshape \
 	--without-xshm \
-	--without-xslt \
 	--without-xxf86vm
 
 $(eval $(autotools-package))
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/wine: bump to version 7.0
  2022-06-07 13:18 [Buildroot] [PATCH] package/wine: bump to version 7.0 André Zwing
@ 2022-07-23 16:51 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2022-07-23 16:51 UTC (permalink / raw)
  To: André Zwing, buildroot



On 07/06/2022 15:18, André Zwing wrote:
> Multiple library checks are obsolete, either due to removal or due to built-in solutions.
> 
> Signed-off-by: André Zwing <nerv@dawncrow.de>
> ---

[snip]
> diff --git a/package/wine/wine.hash b/package/wine/wine.hash
> index 083e3dd3eb..9a7a1c342a 100644
> --- a/package/wine/wine.hash
> +++ b/package/wine/wine.hash
> @@ -1,5 +1,5 @@
>   # Locally calculated after checking pgp signature
> -sha256  b493065f2f83ee429c62e2ec58698a3cf63ef78722e1b20765823152e8582c56  wine-6.0.tar.xz
> +sha256  5b43e27d5c085cb18f97394e46180310d5eef7c1d91c6895432a3889b2de086b  wine-7.0.tar.xz
>   # Locally calculated
>   sha256  e237fa56668030e928551ddd60f05df5fe957f75eab874bbd017e085ed722e7c  COPYING.LIB
> -sha256  111398f1be25b1ae1f124512fe61569e6b4555408e2feb9bc82f9fe57d39b302  LICENSE
> +sha256  7c360930e51d56c8fa12fe1df8ed348ac77a9ad73f9582a303919469399b3ce4  LICENSE

  When the license hash changes, you should explain in the commit message what 
changed. We use this to detect changes in the license (which sometimes does 
happen!).

  In this case, it's just an update of copyright year, so I added that and 
applied to master, thanks.

  Regards,
  Arnout

> diff --git a/package/wine/wine.mk b/package/wine/wine.mk
> index c925a58632..5f4d2ef6e3 100644
> --- a/package/wine/wine.mk
> +++ b/package/wine/wine.mk
> @@ -4,9 +4,9 @@
>   #
>   ################################################################################
>   
> -WINE_VERSION = 6.0
> +WINE_VERSION = 7.0
>   WINE_SOURCE = wine-$(WINE_VERSION).tar.xz
> -WINE_SITE = https://dl.winehq.org/wine/source/6.0
> +WINE_SITE = https://dl.winehq.org/wine/source/7.0
>   WINE_LICENSE = LGPL-2.1+
>   WINE_LICENSE_FILES = COPYING.LIB LICENSE
>   WINE_CPE_ID_VENDOR = winehq
> @@ -21,12 +21,9 @@ WINE_CONF_OPTS = \
>   	--disable-win64 \
>   	--without-capi \
>   	--without-coreaudio \
> -	--without-faudio \
>   	--without-gettext \
>   	--without-gettextpo \
>   	--without-gphoto \
> -	--without-gsm \
> -	--without-hal \
>   	--without-mingw \
>   	--without-opencl \
>   	--without-oss \
> @@ -99,20 +96,6 @@ else
>   WINE_CONF_OPTS += --without-gstreamer
>   endif
>   
> -ifeq ($(BR2_PACKAGE_JPEG),y)
> -WINE_CONF_OPTS += --with-jpeg
> -WINE_DEPENDENCIES += jpeg
> -else
> -WINE_CONF_OPTS += --without-jpeg
> -endif
> -
> -ifeq ($(BR2_PACKAGE_LCMS2),y)
> -WINE_CONF_OPTS += --with-cms
> -WINE_DEPENDENCIES += lcms2
> -else
> -WINE_CONF_OPTS += --without-cms
> -endif
> -
>   ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
>   WINE_CONF_OPTS += --with-opengl
>   WINE_DEPENDENCIES += libgl
> @@ -134,13 +117,6 @@ else
>   WINE_CONF_OPTS += --without-pcap
>   endif
>   
> -ifeq ($(BR2_PACKAGE_LIBPNG),y)
> -WINE_CONF_OPTS += --with-png
> -WINE_DEPENDENCIES += libpng
> -else
> -WINE_CONF_OPTS += --without-png
> -endif
> -
>   ifeq ($(BR2_PACKAGE_LIBUSB),y)
>   WINE_CONF_OPTS += --with-usb
>   WINE_DEPENDENCIES += libusb
> @@ -155,29 +131,6 @@ else
>   WINE_CONF_OPTS += --without-v4l2
>   endif
>   
> -ifeq ($(BR2_PACKAGE_LIBXML2),y)
> -WINE_CONF_OPTS += --with-xml
> -WINE_DEPENDENCIES += libxml2
> -WINE_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
> -else
> -WINE_CONF_OPTS += --without-xml
> -endif
> -
> -ifeq ($(BR2_PACKAGE_LIBXSLT),y)
> -WINE_CONF_OPTS += --with-xslt
> -WINE_DEPENDENCIES += libxslt
> -WINE_CONF_ENV += XSLT_CONFIG=$(STAGING_DIR)/usr/bin/xslt-config
> -else
> -WINE_CONF_OPTS += --without-xslt
> -endif
> -
> -ifeq ($(BR2_PACKAGE_MPG123),y)
> -WINE_CONF_OPTS += --with-mpg123
> -WINE_DEPENDENCIES += mpg123
> -else
> -WINE_CONF_OPTS += --without-mpg123
> -endif
> -
>   ifeq ($(BR2_PACKAGE_OPENAL),y)
>   WINE_CONF_OPTS += --with-openal
>   WINE_DEPENDENCIES += openal
> @@ -228,13 +181,6 @@ else
>   WINE_CONF_OPTS += --without-sdl
>   endif
>   
> -ifeq ($(BR2_PACKAGE_TIFF),y)
> -WINE_CONF_OPTS += --with-tiff
> -WINE_DEPENDENCIES += tiff
> -else
> -WINE_CONF_OPTS += --without-tiff
> -endif
> -
>   ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
>   WINE_CONF_OPTS += --with-udev
>   WINE_DEPENDENCIES += udev
> @@ -349,23 +295,17 @@ HOST_WINE_CONF_OPTS += \
>   	--disable-win16 \
>   	--without-alsa \
>   	--without-capi \
> -	--without-cms \
>   	--without-coreaudio \
> -	--without-faudio \
>   	--without-cups \
>   	--without-dbus \
>   	--without-fontconfig \
>   	--without-gphoto \
>   	--without-gnutls \
> -	--without-gsm \
>   	--without-gssapi \
>   	--without-gstreamer \
> -	--without-hal \
> -	--without-jpeg \
>   	--without-krb5 \
>   	--without-ldap \
>   	--without-mingw \
> -	--without-mpg123 \
>   	--without-netapi \
>   	--without-openal \
>   	--without-opencl \
> @@ -374,10 +314,8 @@ HOST_WINE_CONF_OPTS += \
>   	--without-oss \
>   	--without-pcap \
>   	--without-pulse \
> -	--without-png \
>   	--without-sane \
>   	--without-sdl \
> -	--without-tiff \
>   	--without-usb \
>   	--without-v4l2 \
>   	--without-vkd3d \
> @@ -388,12 +326,10 @@ HOST_WINE_CONF_OPTS += \
>   	--without-xinerama \
>   	--without-xinput \
>   	--without-xinput2 \
> -	--without-xml \
>   	--without-xrandr \
>   	--without-xrender \
>   	--without-xshape \
>   	--without-xshm \
> -	--without-xslt \
>   	--without-xxf86vm
>   
>   $(eval $(autotools-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-07-23 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07 13:18 [Buildroot] [PATCH] package/wine: bump to version 7.0 André Zwing
2022-07-23 16:51 ` Arnout Vandecappelle

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.