mirror of
https://github.com/outbackdingo/ports.git
synced 2026-03-21 22:44:59 +00:00
core/libappindicator: new port
This commit is contained in:
73
core/libappindicator/no-python.patch
Normal file
73
core/libappindicator/no-python.patch
Normal file
@@ -0,0 +1,73 @@
|
||||
From: Simon McVittie <smcv@debian.org>
|
||||
Date: Thu, 5 Jul 2018 23:51:25 +0100
|
||||
Subject: Disable legacy Python bindings
|
||||
|
||||
Forwarded: not-needed, Debian-specific
|
||||
---
|
||||
bindings/Makefile.am | 6 ------
|
||||
configure.ac | 29 -----------------------------
|
||||
2 files changed, 35 deletions(-)
|
||||
|
||||
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
|
||||
index d1f6d73..b4df7fe 100644
|
||||
--- a/bindings/Makefile.am
|
||||
+++ b/bindings/Makefile.am
|
||||
@@ -1,11 +1,5 @@
|
||||
-if USE_GTK3
|
||||
SUBDIRS = \
|
||||
vala
|
||||
-else
|
||||
-SUBDIRS = \
|
||||
- python \
|
||||
- vala
|
||||
-endif
|
||||
|
||||
if HAS_MONO
|
||||
SUBDIRS += mono
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 5a14c7f..4a7c964 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -181,33 +181,6 @@ AM_CONDITIONAL(BUILD_MONO_TEST, test x${have_nunit} = xyes)
|
||||
with_localinstall="no"
|
||||
AC_ARG_ENABLE(localinstall, AS_HELP_STRING([--enable-localinstall], [install all of the files localy instead of system directories (for distcheck)]), with_localinstall=$enableval, with_localinstall=no)
|
||||
|
||||
-###########################
|
||||
-# Python
|
||||
-###########################
|
||||
-
|
||||
-PYGTK_REQUIRED=2.14.0
|
||||
-PYGOBJECT_REQUIRED=0.22
|
||||
-
|
||||
-AM_PATH_PYTHON(2.3.5)
|
||||
-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
||||
-
|
||||
-PKG_CHECK_MODULES(APPINDICATOR_PYTHON,
|
||||
- [
|
||||
- pygtk-2.0 >= $PYGTK_REQUIRED
|
||||
- gtk+-2.0 >= $GTK_REQUIRED_VERSION
|
||||
- pygobject-2.0 >= $PYGOBJECT_REQUIRED
|
||||
- ])
|
||||
-
|
||||
-AC_MSG_CHECKING(for pygtk defs)
|
||||
-PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
|
||||
-AC_SUBST(PYGTK_DEFSDIR)
|
||||
-AC_MSG_RESULT($PYGTK_DEFSDIR)
|
||||
-
|
||||
-AC_MSG_CHECKING(for pygtk codegen)
|
||||
-PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
|
||||
-AC_SUBST(PYGTK_CODEGEN)
|
||||
-AC_MSG_RESULT($PYGTK_CODEGEN)
|
||||
-
|
||||
#########################
|
||||
# Check if build tests
|
||||
#########################
|
||||
@@ -226,8 +199,6 @@ src/Makefile
|
||||
src/appindicator-0.1.pc
|
||||
src/appindicator3-0.1.pc
|
||||
bindings/Makefile
|
||||
-bindings/python/Makefile
|
||||
-bindings/python/appindicator.override
|
||||
bindings/vala/Makefile
|
||||
bindings/vala/examples/Makefile
|
||||
tests/Makefile
|
||||
Reference in New Issue
Block a user