From b2e9b7dedc8fab52d158251db2e5ed796d0991ab Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 4 May 2018 15:14:42 +0100 Subject: dev-cpp/glibmm, dev-libs/glib, dev-util/glib-codegen : version bump (needed for gimp 2.10) --- .../files/gdbus-codegen-2.54.3-sitedir.patch | 22 ++++++++++++++++++++++ dev-util/gdbus-codegen/files/setup.py-2.32.4 | 6 ++++++ 2 files changed, 28 insertions(+) create mode 100644 dev-util/gdbus-codegen/files/gdbus-codegen-2.54.3-sitedir.patch create mode 100644 dev-util/gdbus-codegen/files/setup.py-2.32.4 (limited to 'dev-util/gdbus-codegen/files') diff --git a/dev-util/gdbus-codegen/files/gdbus-codegen-2.54.3-sitedir.patch b/dev-util/gdbus-codegen/files/gdbus-codegen-2.54.3-sitedir.patch new file mode 100644 index 00000000..f739026d --- /dev/null +++ b/dev-util/gdbus-codegen/files/gdbus-codegen-2.54.3-sitedir.patch @@ -0,0 +1,22 @@ +diff --git a/gio/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in +index 8050981..932410a 100644 +--- a/gdbus-codegen.in ++++ b/gdbus-codegen.in +@@ -28,16 +28,7 @@ filedir = os.path.dirname(__file__) + + if srcdir is not None: + path = os.path.join(srcdir, 'gio', 'gdbus-2.0') +-elif os.path.basename(filedir) == 'bin': +- # Make the prefix containing gdbus-codegen 'relocatable' at runtime by +- # adding /some/prefix/bin/../share/glib-2.0 to the python path +- path = os.path.join(filedir, '..', 'share', 'glib-2.0') + else: +- # Assume that the modules we need are in the current directory and add the +- # parent directory to the python path. +- path = os.path.join(filedir, '..') +- +-sys.path.insert(0, os.path.abspath(path)) +-from codegen import codegen_main ++ from gdbus_codegen import codegen_main + + sys.exit(codegen_main.codegen_main()) diff --git a/dev-util/gdbus-codegen/files/setup.py-2.32.4 b/dev-util/gdbus-codegen/files/setup.py-2.32.4 new file mode 100644 index 00000000..c5318e30 --- /dev/null +++ b/dev-util/gdbus-codegen/files/setup.py-2.32.4 @@ -0,0 +1,6 @@ +from distutils.core import setup +setup(name="gdbus_codegen", + version="@PV@", + packages=["gdbus_codegen"], + package_dir={"gdbus_codegen" : ""}, + scripts=["gdbus-codegen"]) -- cgit v1.2.3