r52147 - in /desktop/experimental/glib2.0/debian: changelog patches/Install-gdb-Python-helpers-as-data-not-as-executable.patch patches/series

smcv at users.alioth.debian.org smcv at users.alioth.debian.org
Fri Mar 3 10:55:45 UTC 2017


Author: smcv
Date: Fri Mar  3 10:55:45 2017
New Revision: 52147

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=52147
Log:
Do not install glib_gdb.py, gobject_gdb.py executable

They are libraries to be imported by the gdb hooks, not scripts.

Added:
    desktop/experimental/glib2.0/debian/patches/Install-gdb-Python-helpers-as-data-not-as-executable.patch
Modified:
    desktop/experimental/glib2.0/debian/changelog
    desktop/experimental/glib2.0/debian/patches/series

Modified: desktop/experimental/glib2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/changelog?rev=52147&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/changelog	[utf-8] (original)
+++ desktop/experimental/glib2.0/debian/changelog	[utf-8] Fri Mar  3 10:55:45 2017
@@ -17,6 +17,8 @@
     no package actually seems to run it.
   * Add missing build-dependency on dh_python
   * Add Lintian overrides for some intentionally weird scripts used in tests
+  * Do not install glib_gdb.py, gobject_gdb.py executable. They are libraries
+    to be imported by the gdb hooks, not scripts.
 
  -- Simon McVittie <smcv at debian.org>  Thu, 02 Mar 2017 09:15:48 +0000
 

Added: desktop/experimental/glib2.0/debian/patches/Install-gdb-Python-helpers-as-data-not-as-executable.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/patches/Install-gdb-Python-helpers-as-data-not-as-executable.patch?rev=52147&op=file
==============================================================================
--- desktop/experimental/glib2.0/debian/patches/Install-gdb-Python-helpers-as-data-not-as-executable.patch	(added)
+++ desktop/experimental/glib2.0/debian/patches/Install-gdb-Python-helpers-as-data-not-as-executable.patch	[utf-8] Fri Mar  3 10:55:45 2017
@@ -0,0 +1,45 @@
+From d7e6c3adf959abebc061e7523fb3d5f969ff07a9 Mon Sep 17 00:00:00 2001
+From: Simon McVittie <smcv at debian.org>
+Date: Fri, 3 Mar 2017 10:53:52 +0000
+Subject: [PATCH] Install gdb Python helpers as data, not as executable scripts
+
+They do not start with the #!/usr/bin/python that would be necessary
+to make them run with Python rather than a shell, and they would
+not be useful to run anyway: they are libraries to be imported,
+not scripts to be run.
+
+Signed-off-by: Simon McVittie <smcv at debian.org>
+---
+ glib/Makefile.am    | 2 +-
+ gobject/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/glib/Makefile.am b/glib/Makefile.am
+index 82a7d3a2a..feee983c4 100644
+--- a/glib/Makefile.am
++++ b/glib/Makefile.am
+@@ -476,7 +476,7 @@ dist-hook: $(BUILT_EXTRA_DIST) $(top_builddir)/build/win32/vs9/glib.vcproj $(top
+ 
+ # install gdb scripts
+ gdbdir = $(datadir)/glib-2.0/gdb
+-dist_gdb_SCRIPTS = glib_gdb.py
++dist_gdb_DATA = glib_gdb.py
+ 
+ libglib-gdb.py: libglib-gdb.py.in
+ 	$(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/libglib-gdb.py.in > $(builddir)/libglib-gdb.py
+diff --git a/gobject/Makefile.am b/gobject/Makefile.am
+index 948e86974..c1b74488d 100644
+--- a/gobject/Makefile.am
++++ b/gobject/Makefile.am
+@@ -261,7 +261,7 @@ distclean-local:
+ 
+ # install gdb scripts
+ gdbdir = $(datadir)/glib-2.0/gdb
+-dist_gdb_SCRIPTS = gobject_gdb.py
++dist_gdb_DATA = gobject_gdb.py
+ 
+ libgobject-gdb.py: libgobject-gdb.py.in
+ 	$(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/libgobject-gdb.py.in > $(builddir)/libgobject-gdb.py
+-- 
+2.11.0
+

Modified: desktop/experimental/glib2.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/patches/series?rev=52147&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/patches/series	[utf-8] (original)
+++ desktop/experimental/glib2.0/debian/patches/series	[utf-8] Fri Mar  3 10:55:45 2017
@@ -12,3 +12,4 @@
 0001-timer-test-use-volatile-for-locals.patch
 skip-broken-timer-test.patch
 0001-Fix-trashing-on-overlayfs.patch
+Install-gdb-Python-helpers-as-data-not-as-executable.patch




More information about the pkg-gnome-commits mailing list