mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #4957 from heitbaum/dbus
dbus: drop unused package (replaced by dbussy)
This commit is contained in:
commit
ad3ea02feb
@ -1,27 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dbus-glib"
|
||||
PKG_VERSION="0.110"
|
||||
PKG_SHA256="7ce4760cf66c69148f6bd6c92feaabb8812dee30846b24cd0f7395c436d7e825"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://freedesktop.org/wiki/Software/dbus"
|
||||
PKG_URL="https://dbus.freedesktop.org/releases/dbus-glib/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain dbus glib expat"
|
||||
PKG_LONGDESC="A message bus, used for sending messages between applications."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="+pic +lto"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_have_abstract_sockets=yes \
|
||||
ac_cv_func_posix_getpwnam_r=yes \
|
||||
have_abstract_sockets=yes \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--disable-tests \
|
||||
--disable-bash-completion \
|
||||
--enable-asserts=no"
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}/usr/bin/dbus-binding-tool
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
From a45f914870e923741f3123799bd9e126b5da4aa0 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Saraev <stefan@saraev.ca>
|
||||
Date: Wed, 20 Aug 2014 22:43:28 +0300
|
||||
Subject: [PATCH] dont build tools / examples
|
||||
|
||||
---
|
||||
Makefile.am | 4 ++--
|
||||
dbus/Makefile.am | 2 +-
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index dd76c7e..78cb56f 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,8 +1,8 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
GLIB_PC=dbus-glib-1.pc
|
||||
|
||||
-SUBDIRS = dbus-gmain dbus tools test doc
|
||||
-DIST_SUBDIRS = dbus-gmain dbus tools test doc m4
|
||||
+SUBDIRS = dbus-gmain dbus test doc
|
||||
+DIST_SUBDIRS = dbus-gmain dbus test doc m4
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = $(GLIB_PC)
|
||||
diff --git a/dbus/Makefile.am b/dbus/Makefile.am
|
||||
index 6d885f9..8bc102d 100644
|
||||
--- a/dbus/Makefile.am
|
||||
+++ b/dbus/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-SUBDIRS = . examples
|
||||
+SUBDIRS = .
|
||||
|
||||
INCLUDES = \
|
||||
-I$(top_srcdir) \
|
||||
--
|
||||
1.7.2.5
|
||||
|
@ -8,7 +8,7 @@ PKG_SHA256="de2671c1527f76058dd9febfbcf1972273eee5a2dfa504a6a2463c2219b9ac96"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://libreelec.tv"
|
||||
PKG_URL="https://github.com/LibreELEC/service.libreelec.settings/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 connman pygobject dbus-python dbussy"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 connman dbussy"
|
||||
PKG_LONGDESC="LibreELEC-settings: is a settings dialog for LibreELEC"
|
||||
|
||||
PKG_MAKE_OPTS_TARGET="ADDON_VERSION=${OS_VERSION} \
|
||||
|
@ -1,26 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pygobject"
|
||||
PKG_VERSION="2.28.7"
|
||||
PKG_SHA256="bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.pygtk.org/"
|
||||
PKG_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/$(get_pkg_version_maj_min)/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 glib libffi"
|
||||
PKG_LONGDESC="A convenient wrapper for the GObject+ library for use in Python programs."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-thread --disable-introspection"
|
||||
|
||||
pre_configure_target() {
|
||||
export PYTHON_INCLUDES="$(${SYSROOT_PREFIX}/usr/bin/python3-config --includes)"
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
python_remove_source
|
||||
|
||||
rm -rf ${INSTALL}/usr/bin
|
||||
rm -rf ${INSTALL}/usr/share/pygobject
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
[PATCH] m4/python.m4: add PYTHON_INCLUDES override for cross compilation
|
||||
|
||||
As the configure script mixes up host/target python. Equivalent to the
|
||||
similar code in dbus-python.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
m4/python.m4 | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
Index: python-gobject-2.28.6/m4/python.m4
|
||||
===================================================================
|
||||
--- python-gobject-2.28.6.orig/m4/python.m4
|
||||
+++ python-gobject-2.28.6/m4/python.m4
|
||||
@@ -43,6 +43,9 @@
|
||||
[AC_REQUIRE([AM_PATH_PYTHON])
|
||||
AC_MSG_CHECKING(for headers required to compile python extensions)
|
||||
dnl deduce PYTHON_INCLUDES
|
||||
+if test "${PYTHON_INCLUDES+set}" = set; then
|
||||
+ AC_MSG_NOTICE([PYTHON_INCLUDES overridden to: $PYTHON_INCLUDES])
|
||||
+else
|
||||
py_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
|
||||
py_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
|
||||
PYTHON_CONFIG=`which $PYTHON`-config
|
||||
@@ -54,6 +57,7 @@
|
||||
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
|
||||
fi
|
||||
fi
|
||||
+fi
|
||||
AC_SUBST(PYTHON_INCLUDES)
|
||||
dnl check if the headers exist:
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
@ -1,20 +0,0 @@
|
||||
diff -Naur pygobject-2.28.6/configure.ac pygobject-2.28.6.patch/configure.ac
|
||||
--- pygobject-2.28.6/configure.ac 2011-06-13 18:33:56.000000000 +0200
|
||||
+++ pygobject-2.28.6.patch/configure.ac 2013-01-12 01:03:44.085557166 +0100
|
||||
@@ -35,7 +35,7 @@
|
||||
AC_DEFINE(PYGOBJECT_MICRO_VERSION, pygobject_micro_version, [pygobject micro version])
|
||||
AC_SUBST(PYGOBJECT_MICRO_VERSION, pygobject_micro_version)
|
||||
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
|
||||
AM_INIT_AUTOMAKE(foreign)
|
||||
AM_MAINTAINER_MODE
|
||||
@@ -82,7 +82,6 @@
|
||||
m4_ifdef([LT_OUTPUT], [LT_OUTPUT])
|
||||
AC_ISC_POSIX
|
||||
AC_PROG_CC
|
||||
-AM_PROG_CC_STDC
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
# check that we have the minimum version of python necisary to build
|
@ -1,23 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dbus-python"
|
||||
PKG_VERSION="1.2.16"
|
||||
PKG_SHA256="11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://freedesktop.org/wiki/Software/dbus"
|
||||
PKG_URL="https://dbus.freedesktop.org/releases/dbus-python/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 dbus dbus-glib"
|
||||
PKG_LONGDESC="D-BUS is a message bus, used for sending messages between applications."
|
||||
PKG_BUILD_FLAGS="+lto"
|
||||
|
||||
pre_configure_target() {
|
||||
export PYTHON_CONFIG="${SYSROOT_PREFIX}/usr/bin/python3-config"
|
||||
export PYTHON_INCLUDES="$(${SYSROOT_PREFIX}/usr/bin/python3-config --includes)"
|
||||
export PYTHON_LIBS="$(${SYSROOT_PREFIX}/usr/bin/python3-config --ldflags --embed)"
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
python_remove_source
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user