mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
anjuta: drop gnome-common dependency
This commit is contained in:
parent
7bec4d3b27
commit
5ddca988ce
4 changed files with 45 additions and 2 deletions
21
srcpkgs/anjuta/patches/no-gnome-common.patch
Normal file
21
srcpkgs/anjuta/patches/no-gnome-common.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
--- a/autogen.sh
|
||||
+++ b/autogen.sh
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
-GNOMEDOC=`which yelp-build`
|
||||
+GNOMEDOC=`command -v yelp-build`
|
||||
if test -z $GNOMEDOC; then
|
||||
echo "*** The tools to build the documentation are not found,"
|
||||
echo " please intall the yelp-tool package ***"
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -92,7 +92,6 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])]
|
||||
AC_MSG_ERROR([C++ Compiler required to compile Anjuta]))
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
-GNOME_COMPILE_WARNINGS([yes])
|
||||
AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS"
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS $WARN_CXXFLAGS"
|
||||
|
22
srcpkgs/anjuta/patches/vala-050.patch
Normal file
22
srcpkgs/anjuta/patches/vala-050.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
commit 8f8fa97
|
||||
Author: Rico Tzschichholz <ricotz@ubuntu.com>
|
||||
Date: Fri Aug 20 08:26:49 2021 +0200
|
||||
|
||||
build: Allow building with vala 0.50
|
||||
|
||||
diff --git a/plugins/language-support-vala/plugin.vala b/plugins/language-support-vala/plugin.vala
|
||||
index 718d74c..d94634c 100644
|
||||
--- a/plugins/language-support-vala/plugin.vala
|
||||
+++ b/plugins/language-support-vala/plugin.vala
|
||||
@@ -78,7 +78,11 @@ public class ValaPlugin : Plugin, IAnjuta.Preferences {
|
||||
|
||||
void init_context () {
|
||||
context = new Vala.CodeContext();
|
||||
+#if VALA_0_50
|
||||
+ context.set_target_profile (Vala.Profile.GOBJECT);
|
||||
+#else
|
||||
context.profile = Vala.Profile.GOBJECT;
|
||||
+#endif
|
||||
context.report = report;
|
||||
report.clear_error_indicators ();
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
AC_MSG_RESULT(no)
|
||||
AC_MSG_CHECKING(if libvala is available)
|
||||
- m4_foreach([VERSION], [[0.44], [0.42], [0.40], [0.38], [0.36], [0.34], [0.32], [0.30], [0.28], [0.26], [0.24], [0.22], [0.20], [0.18]],
|
||||
+ m4_foreach([VERSION], [[0.48], [0.46], [0.44], [0.42], [0.40], [0.38], [0.36], [0.34], [0.32], [0.30], [0.28], [0.26], [0.24], [0.22], [0.20], [0.18]],
|
||||
+ m4_foreach([VERSION], [[0.56], [0.54], [0.52], [0.50], [0.48], [0.46], [0.44], [0.42], [0.40], [0.38], [0.36], [0.34], [0.32], [0.30], [0.28], [0.26], [0.24], [0.22], [0.20], [0.18]],
|
||||
[PKG_CHECK_EXISTS([ libvala-VERSION ],
|
||||
[ valaver="-VERSION" ])
|
||||
])
|
||||
|
|
|
@ -9,7 +9,7 @@ configure_args="--disable-compile-warnings --disable-schemas-compile
|
|||
SVN_INCLUDES=$XBPS_CROSS_BASE/usr/include SVN_LIBS=$XBPS_CROSS_BASE/usr/lib
|
||||
$(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config intltool flex itstool python3 autogen glib-devel
|
||||
libtool automake gettext-devel gnome-common yelp-tools which gtk-doc
|
||||
libtool automake gettext-devel yelp-tools gtk-doc
|
||||
vala-devel $(vopt_if gir gobject-introspection)"
|
||||
makedepends="gtksourceview-devel libxml2-devel vte3-devel gjs-devel
|
||||
libxslt-devel glade3-devel graphviz-devel vala-devel
|
||||
|
|
Loading…
Add table
Reference in a new issue