depends: libxcb_util_image: cleanup patch

This commit is contained in:
tobtoht
2025-11-12 11:57:39 +01:00
parent 4eaf9300a4
commit c43785d02e
2 changed files with 3 additions and 40 deletions
@@ -4,7 +4,6 @@ $(package)_download_path=https://xcb.freedesktop.org/dist
$(package)_file_name=xcb-util-image-$($(package)_version).tar.xz
$(package)_sha256_hash=ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d
$(package)_dependencies=libxcb libxcb_util
$(package)_patches = no-tests.patch
define $(package)_set_vars
$(package)_config_opts=--disable-shared --disable-devel-docs --without-doxygen
@@ -12,9 +11,7 @@ $(package)_config_opts+= --disable-dependency-tracking --enable-option-checking
endef
define $(package)_preprocess_cmds
rm -rf test && \
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . && \
patch -p1 -i $($(package)_patch_dir)/no-tests.patch
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
endef
define $(package)_config_cmds
@@ -22,11 +19,11 @@ define $(package)_config_cmds
endef
define $(package)_build_cmds
$(MAKE)
$(MAKE) -C image
endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
$(MAKE) DESTDIR=$($(package)_staging_dir) -C image install
endef
define $(package)_postprocess_cmds
@@ -1,34 +0,0 @@
diff --git a/Makefile.in b/Makefile.in
index 03316e8..b5c6f49 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -361,7 +361,7 @@ top_srcdir = @top_srcdir@
xcbincludedir = @xcbincludedir@
ACLOCAL_AMFLAGS = -I m4
MAINTAINERCLEANFILES = ChangeLog INSTALL
-SUBDIRS = image test
+SUBDIRS = image
EXTRA_DIST = autogen.sh README.md
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
diff --git a/configure b/configure
index 3756ffc..46fcbc4 100755
--- a/configure
+++ b/configure
@@ -19952,7 +19952,7 @@ printf "%s\n" "yes" >&6; }
fi
-ac_config_files="$ac_config_files Makefile image/Makefile test/Makefile image/xcb-image.pc"
+ac_config_files="$ac_config_files Makefile image/Makefile image/xcb-image.pc"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -20980,7 +20980,6 @@ do
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"image/Makefile") CONFIG_FILES="$CONFIG_FILES image/Makefile" ;;
- "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
"image/xcb-image.pc") CONFIG_FILES="$CONFIG_FILES image/xcb-image.pc" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;