* [gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/
@ 2016-11-06 19:33 David Seifert
0 siblings, 0 replies; 5+ messages in thread
From: David Seifert @ 2016-11-06 19:33 UTC (permalink / raw
To: gentoo-commits
commit: b3acba4b258ed7ec24c96b4f07d5527e4a359111
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Sep 3 15:50:38 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 6 19:32:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3acba4b
dev-libs/glib: remove unused file
Closes: https://github.com/gentoo/gentoo/pull/2226
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-libs/glib/files/glib-2.48.0-gobject.stp.in | 199 -------------------------
1 file changed, 199 deletions(-)
diff --git a/dev-libs/glib/files/glib-2.48.0-gobject.stp.in b/dev-libs/glib/files/glib-2.48.0-gobject.stp.in
deleted file mode 100644
index edcdb50..00000000
--- a/dev-libs/glib/files/glib-2.48.0-gobject.stp.in
+++ /dev/null
@@ -1,199 +0,0 @@
-global gtypes
-global gtypenames
-global gsignalnames
-
-/* These are needed to keep track of gtype and signal names for the below
- * probes.
- */
-probe process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("type__new")
-{
- gtypes[pid(),user_string($arg1)] = $arg3;
- gtypenames[pid(),$arg3] = user_string($arg1);
-}
-probe process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("signal__new")
-{
- gsignalnames[pid(),$arg1] = user_string($arg2);
-}
-
-/**
- * probe gobject.type_new - Called when any entity registered with the #GType system is created
- * @name: String name of type
- * @parent_gtype: The parent #GType of this type
- * @gtype: The #GType for this type
- */
-probe gobject.type_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("type__new")
-{
- name = user_string($arg1);
- parent_gtype = $arg2;
- gtype = $arg3;
- probestr = sprintf("gobject.type_new(%s, %d) -> %d", name, parent_gtype, gtype);
-}
-
-/**
- * probe gobject.object_new - Called when a #GObject is created
- * @object: Raw pointer to object
- * @gtype: #GType for this object
- * @type: String name of object type
- */
-probe gobject.object_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("object__new")
-{
- object = $arg1;
- gtype = $arg2;
- type = gtypenames[pid(),$arg2];
- probestr = sprintf("gobject.object_new(%s) -> %p", type, object);
-}
-
-/**
- * probe gobject.object_ref - Called when a new reference is added to a #GObject
- * @object: Raw pointer to object
- * @gtype: #GType for this object
- * @type: String name of object type
- * @old_refcount: Original value of the reference count
- * @refcount: New value of the reference count
- */
-probe gobject.object_ref = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("object__ref")
-{
- object = $arg1;
- gtype = $arg2;
- type = gtypenames[pid(),gtype];
- old_refcount = $arg3;
- refcount = old_refcount+1;
- probestr = sprintf("gobject.object_ref(%p[%s]) -> %d", object, type, refcount);
-}
-
-/**
- * probe gobject.object_unref - Called when a reference is removed from a #GObject
- * @object: Raw pointer to object
- * @gtype: #GType for this object
- * @type: String name of object type
- * @old_refcount: Original value of the reference count
- */
-probe gobject.object_unref = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("object__unref")
-{
- object = $arg1;
- gtype = $arg2;
- type = gtypenames[pid(),gtype];
- old_refcount = $arg3;
- refcount = old_refcount-1;
- probestr = sprintf("gobject.object_unref(%p [%s]) -> %d", object, type, refcount);
-}
-
-/**
- * probe gobject.object_dispose - Called when a g_object_dispose() run for a #GObject is initiated
- * @object: Raw pointer to object
- * @gtype: #GType for this object
- * @type: String name of object type
- * @last_unref: FIXME
- */
-probe gobject.object_dispose = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("object__dispose")
-{
- object = $arg1;
- gtype = $arg2;
- type = gtypenames[pid(),$arg2];
- last_unref = $arg3;
- probestr = sprintf("gobject.object_dispose(%p[%s])", object, type);
-}
-
-/**
- * probe gobject.object_dispose_end - Called when a g_object_dispose() run for a #GObject is completed
- * @object: Raw pointer to object
- * @gtype: #GType for this object
- * @type: String name of object type
- * @last_unref: FIXME
- */
-probe gobject.object_dispose_end = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("object__dispose__end")
-{
- object = $arg1;
- gtype = $arg2;
- type = gtypenames[pid(),$arg2];
- last_unref = $arg3;
- probestr = sprintf("gobject.object_dispose_end(%p[%s])", object, type);
-}
-
-/**
- * probe gobject.object_finalize - Called when finalization for a #GObject is started
- * @object: Raw pointer to object
- * @gtype: #GType for this object
- * @type: String name of object type
- */
-probe gobject.object_finalize = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("object__finalize")
-{
- object = $arg1;
- gtype = $arg2;
- type = gtypenames[pid(),$arg2];
- probestr = sprintf("gobject.object_finalize(%p[%s])", object, type);
-}
-
-/**
- * probe gobject.object_finalize - Called when finalization for a #GObject is completed
- * @object: Raw pointer to object
- * @gtype: #GType for this object
- * @type: String name of object type
- */
-probe gobject.object_finalize_end = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("object__finalize__end")
-{
- object = $arg1;
- gtype = $arg2;
- type = gtypenames[pid(),$arg2];
- probestr = sprintf("gobject.object_finalize_end(%p[%s])", object, type);
-}
-
-/**
- * probe gobject.signal_new - Called when a new signal is registered for a #GObject
- * @gsignal: Integer value for this signal
- * @name: String name for this signal
- * @gtype: #GType for the type which will gain the new signal
- * @type: String name of the type which will gain the new signal
- */
-probe gobject.signal_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("signal__new")
-{
- gsignal = $arg1;
- name = user_string($arg2);
- gtype = $arg3;
- type = gtypenames[pid(),$arg3];
- probestr = sprintf("gobject.signal_new(%s, %s) -> %d", name, type, gsignal);
-}
-
-/**
- * probe gobject.signal_emit - Called when a signal emission for a #GObject is started
- * @gsignal: Integer value for this signal
- * @detail: String containing signal "detail"
- * @signal: String name of the signal
- * @object: Raw pointer for object emitting signal
- * @gtype: #GType for the type emitting the signal
- * @type: String name of the type emitting the signal
- */
-probe gobject.signal_emit = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("signal__emit")
-{
- gsignal = $arg1;
- detail = $arg2;
- signal = gsignalnames[pid(),$arg1];
- if (detail != 0)
- signal = signal . "::" . gquarks[pid(), detail]
- object = $arg3;
- gtype = $arg4;
- type = gtypenames[pid(),$arg4];
- probestr = sprintf("gobject.signal_emit(%p[%s], %s)", object, type, signal);
-}
-
-/**
- * probe gobject.signal_emit_end - Called when a signal emission for a #GObject is completed
- * @gsignal: Integer value for this signal
- * @detail: String containing signal "detail"
- * @signal: String name of the signal
- * @object: Raw pointer for object emitting signal
- * @gtype: #GType for the type emitting the signal
- * @type: String name of the type emitting the signal
- */
-probe gobject.signal_emit_end = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("signal__emit__end")
-{
- gsignal = $arg1;
- detail = $arg2;
- signal = gsignalnames[pid(),$arg1];
- if (detail != 0)
- signal = signal . "::" . gquarks[pid(), detail]
- object = $arg3;
- gtype = $arg4;
- type = gtypenames[pid(),$arg4];
- probestr = sprintf("gobject.signal_emit_end(%p[%s], %s)", object, type, signal);
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/
@ 2018-01-13 8:33 Dennis Lamm
0 siblings, 0 replies; 5+ messages in thread
From: Dennis Lamm @ 2018-01-13 8:33 UTC (permalink / raw
To: gentoo-commits
commit: faacf4dd4e97771b65a8b4d896bec282a35802ff
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 08:32:28 2018 +0000
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 08:33:03 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faacf4dd
dev-libs/glib: reverted deletion by mistake
Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --force
dev-libs/glib/files/gengiotypefuncs.py | 45 ++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/dev-libs/glib/files/gengiotypefuncs.py b/dev-libs/glib/files/gengiotypefuncs.py
new file mode 100755
index 00000000000..9732d7892d9
--- /dev/null
+++ b/dev-libs/glib/files/gengiotypefuncs.py
@@ -0,0 +1,45 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+
+import sys
+import re
+import os
+
+debug = os.getenv('GIO_GENTYPEFUNCS_DEBUG') is not None
+
+out_file = sys.argv[1]
+in_files = sys.argv[2:]
+
+funcs = []
+
+
+if debug: print ('Output file: ', out_file)
+
+if debug: print (len(in_files), 'input files')
+
+for filename in in_files:
+ if debug: print ('Input file: ', filename)
+ with open(filename, "r") as f:
+ for line in f:
+ line = line.rstrip('\n').rstrip('\r')
+ # print line
+ match = re.search(r'\bg_[a-zA-Z0-9_]*_get_type\b', line)
+ if match:
+ func = match.group(0)
+ if not func in funcs:
+ funcs.append(func)
+ if debug: print ('Found ', func)
+
+file_output = 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS\n'
+
+funcs = sorted(funcs)
+
+for f in funcs:
+ if f not in ['g_io_extension_get_type', 'g_settings_backend_get_type']:
+ file_output += '*tp++ = {0} ();\n'.format(f)
+
+if debug: print (len(funcs), 'functions')
+
+ofile = open(out_file, "w")
+ofile.write(file_output)
+ofile.close()
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/
@ 2018-01-13 8:37 Dennis Lamm
0 siblings, 0 replies; 5+ messages in thread
From: Dennis Lamm @ 2018-01-13 8:37 UTC (permalink / raw
To: gentoo-commits
commit: 725bba8d6b84dd6c2740b5de743397a642eb679a
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 08:36:57 2018 +0000
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 08:36:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=725bba8d
dev-libs/glib: reverted deletion of scrtipt by mistake
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-libs/glib/files/gengiotypefuncs.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/dev-libs/glib/files/gengiotypefuncs.py b/dev-libs/glib/files/gengiotypefuncs.py
index 9732d7892d9..fa26d8ed1ed 100755
--- a/dev-libs/glib/files/gengiotypefuncs.py
+++ b/dev-libs/glib/files/gengiotypefuncs.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
import sys
import re
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/
@ 2018-01-13 23:12 Mart Raudsepp
0 siblings, 0 replies; 5+ messages in thread
From: Mart Raudsepp @ 2018-01-13 23:12 UTC (permalink / raw
To: gentoo-commits
commit: 48222c9cdd4b8f02edd1333cc6de1d239e06c74e
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 23:11:14 2018 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 23:12:20 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48222c9c
dev-libs/glib: remove unused file
commit faacf4dd4e added a file with the comment of adding back what
was removed by mistake. But this has never been in the main tree and
must have been a mixup between looking at ::gentoo instead of ::gnome,
where it's still there (and only needed there right now).
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-libs/glib/files/gengiotypefuncs.py | 44 ----------------------------------
1 file changed, 44 deletions(-)
diff --git a/dev-libs/glib/files/gengiotypefuncs.py b/dev-libs/glib/files/gengiotypefuncs.py
deleted file mode 100755
index fa26d8ed1ed..00000000000
--- a/dev-libs/glib/files/gengiotypefuncs.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/env python3
-
-import sys
-import re
-import os
-
-debug = os.getenv('GIO_GENTYPEFUNCS_DEBUG') is not None
-
-out_file = sys.argv[1]
-in_files = sys.argv[2:]
-
-funcs = []
-
-
-if debug: print ('Output file: ', out_file)
-
-if debug: print (len(in_files), 'input files')
-
-for filename in in_files:
- if debug: print ('Input file: ', filename)
- with open(filename, "r") as f:
- for line in f:
- line = line.rstrip('\n').rstrip('\r')
- # print line
- match = re.search(r'\bg_[a-zA-Z0-9_]*_get_type\b', line)
- if match:
- func = match.group(0)
- if not func in funcs:
- funcs.append(func)
- if debug: print ('Found ', func)
-
-file_output = 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS\n'
-
-funcs = sorted(funcs)
-
-for f in funcs:
- if f not in ['g_io_extension_get_type', 'g_settings_backend_get_type']:
- file_output += '*tp++ = {0} ();\n'.format(f)
-
-if debug: print (len(funcs), 'functions')
-
-ofile = open(out_file, "w")
-ofile.write(file_output)
-ofile.close()
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/
@ 2018-06-10 8:25 Mart Raudsepp
0 siblings, 0 replies; 5+ messages in thread
From: Mart Raudsepp @ 2018-06-10 8:25 UTC (permalink / raw
To: gentoo-commits
commit: 227afccd67fd4ac16cebe8eb0bb36d0e78cca0a5
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 10 07:05:35 2018 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Jun 10 08:25:20 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227afccd
dev-libs/glib-2.54: remove unnecessary chunk from gdbus-codegen patch
Bug: https://bugs.gentoo.org/651830
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-libs/glib/files/glib-2.54.3-external-gdbus-codegen.patch | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/dev-libs/glib/files/glib-2.54.3-external-gdbus-codegen.patch b/dev-libs/glib/files/glib-2.54.3-external-gdbus-codegen.patch
index 4f3e1784c88..a27966e0391 100644
--- a/dev-libs/glib/files/glib-2.54.3-external-gdbus-codegen.patch
+++ b/dev-libs/glib/files/glib-2.54.3-external-gdbus-codegen.patch
@@ -8,8 +8,8 @@ Subject: [PATCH] glib-2.54.3-external-gdbus-codegen-for-autotools
docs/reference/gio/Makefile.am | 1 -
gio/Makefile.am | 2 +-
gio/tests/Makefile.am | 6 ++----
- gio/tests/gdbus-object-manager-example/Makefile.am | 8 +++-----
- 5 files changed, 6 insertions(+), 12 deletions(-)
+ gio/tests/gdbus-object-manager-example/Makefile.am | 6 ++----
+ 5 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0457c90..07166c9 100644
@@ -81,13 +81,6 @@ index 1d0464c..f390dca 100644
--interface-prefix org.gtk.GDBus.Example.ObjectManager. \
--c-namespace Example \
--c-generate-object-manager \
-@@ -46,4 +44,4 @@ EXTRA_DIST += gdbus-example-objectmanager.xml
-
- CLEANFILES += $(GDBUS_GENERATED)
-
--check-TESTS:
-\ No newline at end of file
-+check-TESTS:
--
2.16.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-06-10 8:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-13 8:37 [gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/ Dennis Lamm
-- strict thread matches above, loose matches on Subject: below --
2018-06-10 8:25 Mart Raudsepp
2018-01-13 23:12 Mart Raudsepp
2018-01-13 8:33 Dennis Lamm
2016-11-06 19:33 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox