summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-05-15 10:17:48 +0100
committerJames Le Cuirot <chewi@gentoo.org>2022-05-15 10:18:21 +0100
commit0f3bfbf51f26652ed81a88717be7e5035350bda6 (patch)
tree4271d548c70715f94f8a1f73142b9b0d2c5b4414 /dev-util/anjuta/files
parentdev-python/immutables: Stabilize 0.17 arm64, #844793 (diff)
downloadgentoo-0f3bfbf51f26652ed81a88717be7e5035350bda6.tar.gz
gentoo-0f3bfbf51f26652ed81a88717be7e5035350bda6.tar.bz2
gentoo-0f3bfbf51f26652ed81a88717be7e5035350bda6.zip
dev-util/anjuta: Strip package down to base library for running apps
The project is now largely defunct upstream, so we only want to keep the base library for running applications such as app-pda/gtkpod. Fixes: https://bugs.gentoo.org/831521 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-util/anjuta/files')
-rw-r--r--dev-util/anjuta/files/3.34.0-minimal.patch72
1 files changed, 72 insertions, 0 deletions
diff --git a/dev-util/anjuta/files/3.34.0-minimal.patch b/dev-util/anjuta/files/3.34.0-minimal.patch
new file mode 100644
index 000000000000..e3aae39fb377
--- /dev/null
+++ b/dev-util/anjuta/files/3.34.0-minimal.patch
@@ -0,0 +1,72 @@
+Stubs out parts of configure not needed for the base library to avoid
+additional build dependencies. Some can be avoided by setting environment
+variables, but not all.
+
+-- Chewi
+
+diff -Naur a/configure b/configure
+--- a/configure 2019-09-08 19:32:47.000000000 +0100
++++ b/configure 2022-05-15 09:45:11.158669066 +0100
+@@ -4894,6 +4894,7 @@
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
++: <<'END'
+ for ac_prog in flex lex
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+@@ -5106,6 +5107,7 @@
+ as_fn_error $? "bison is required" "$LINENO" 5
+ ;;
+ esac
++END
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -17726,6 +17728,7 @@
+ fi
+
+
++: <<'END'
+ pkg_failed=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDA" >&5
+ $as_echo_n "checking for GDA... " >&6; }
+@@ -19533,6 +19536,7 @@
+ $as_echo "#define ENABLE_PACKAGEKIT 1" >>confdefs.h
+
+ fi
++END
+
+ LIBANJUTA_CFLAGS='$(ANJUTA_CFLAGS) $(GDL_CFLAGS) $(DEPRECATED_FLAGS) -I$(top_srcdir) -I$(top_builddir)/libanjuta -DPACKAGE_PIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)"\" -DPACKAGE_LIB_DIR=\""$(pkglibdir)"\" -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\"'
+ LIBANJUTA_LIBS='$(top_builddir)/libanjuta/libanjuta-3.la'
+@@ -19624,6 +19628,7 @@
+
+
+
++: <<'END'
+ case "$am__api_version" in
+ 1.01234)
+ as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
+@@ -20441,6 +20446,7 @@
+
+
+ ac_config_commands="$ac_config_commands po-directories"
++END
+
+
+
+@@ -24091,6 +24097,14 @@
+ am__EXEEXT_FALSE=
+ fi
+
++HAVE_PLUGIN_TERMINAL_TRUE='#'
++HAVE_PLUGIN_DEVHELP_TRUE='#'
++HAVE_PLUGIN_GLADE_TRUE='#'
++ENABLE_GLADE_CATALOG_TRUE='#'
++HAVE_SQLITE_TRUE='#'
++ENABLE_VALA_TRUE='#'
++HAVE_PYTHON_TRUE='#'
++
+ if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
+ as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
+ Usually this means the macro was only invoked conditionally." "$LINENO" 5