gdk-pixbuf2: Build without X11 support.

Message ID 20220706152637.1907-1-stefan.schantl@ipfire.org
State Accepted
Commit 6f62108b30d3a3c370e6bcc8ab38fc2d69fcf06b
Headers
Series gdk-pixbuf2: Build without X11 support. |

Commit Message

Stefan Schantl July 6, 2022, 3:26 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 gdk-pixbuf2/gdk-pixbuf2.nm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
  

Comments

Adolf Belka July 9, 2022, 2:38 p.m. UTC | #1
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>

On 06/07/2022 17:26, Stefan Schantl wrote:
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
>   gdk-pixbuf2/gdk-pixbuf2.nm | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/gdk-pixbuf2/gdk-pixbuf2.nm b/gdk-pixbuf2/gdk-pixbuf2.nm
> index 47f6d90ab..7c39db0de 100644
> --- a/gdk-pixbuf2/gdk-pixbuf2.nm
> +++ b/gdk-pixbuf2/gdk-pixbuf2.nm
> @@ -7,7 +7,7 @@ name       = gdk-pixbuf2
>   version    = %{ver_major}.%{ver_minor}
>   ver_major  = 2.33
>   ver_minor  = 2
> -release    = 2
> +release    = 3
>   
>   groups     = System/Libraries
>   url        = http://www.gtk.org/
> @@ -31,13 +31,12 @@ build
>   		libpng-devel
>   		libjpeg-devel
>   		libtiff-devel
> -		libX11-devel
>   	end
>   
>   	export LD_LIBRARY_PATH = %{DIR_APP}/gdk-pixbuf/.libs
>   
>   	configure_options += \
> -		--with-x11 \
> +		--without-x11 \
>   		--with-included-loaders=png
>   
>   	make_install_targets += RUN_QUERY_LOADER_TEST=false
  

Patch

diff --git a/gdk-pixbuf2/gdk-pixbuf2.nm b/gdk-pixbuf2/gdk-pixbuf2.nm
index 47f6d90ab..7c39db0de 100644
--- a/gdk-pixbuf2/gdk-pixbuf2.nm
+++ b/gdk-pixbuf2/gdk-pixbuf2.nm
@@ -7,7 +7,7 @@  name       = gdk-pixbuf2
 version    = %{ver_major}.%{ver_minor}
 ver_major  = 2.33
 ver_minor  = 2
-release    = 2
+release    = 3
 
 groups     = System/Libraries
 url        = http://www.gtk.org/
@@ -31,13 +31,12 @@  build
 		libpng-devel
 		libjpeg-devel
 		libtiff-devel
-		libX11-devel
 	end
 
 	export LD_LIBRARY_PATH = %{DIR_APP}/gdk-pixbuf/.libs
 
 	configure_options += \
-		--with-x11 \
+		--without-x11 \
 		--with-included-loaders=png
 
 	make_install_targets += RUN_QUERY_LOADER_TEST=false