about summary refs log tree commit diff
path: root/contrib/scripts
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-02-28 17:38:27 +0100
committerMichael Biebl <biebl@debian.org>2025-02-28 17:38:27 +0100
commit9685be6ccea0ce642656fae43963fdd2a0b910a5 (patch)
tree5e4ac7639446e83a681429758732c4144d04f9a6 /contrib/scripts
parent38da8d26340307e811b3e09c6a6adf278cd5a792 (diff)
parent625e8ce60e826bde943487b8238884a9232e4562 (diff)
Update upstream source from tag 'upstream/1.52.0'
Update to upstream version '1.52.0'
with Debian dir f67ffc37a3e729d7b0a68693e9272295f6648094
Diffstat (limited to 'contrib/scripts')
-rwxr-xr-xcontrib/scripts/nm-ci-patch-gtkdoc.sh40
1 files changed, 0 insertions, 40 deletions
diff --git a/contrib/scripts/nm-ci-patch-gtkdoc.sh b/contrib/scripts/nm-ci-patch-gtkdoc.sh
deleted file mode 100755
index e72a0a8f..00000000
--- a/contrib/scripts/nm-ci-patch-gtkdoc.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-# patch gtk-doc for https://gitlab.gnome.org/GNOME/gtk-doc/merge_requests/2
-
-cd /
-
-patch -f -p 1 --fuzz 0 --reject-file=- <<EOF
-diff --git a/usr/share/gtk-doc/python/gtkdoc/scan.py b/usr/share/gtk-doc/python/gtkdoc/scan.py
-index f1f167235ab2e4c62676fbcfb87ebbe55c95b944..b59dd17abfa5f42b7bb06d239f9c78e5efffbf5d 100644
---- a/usr/share/gtk-doc/python/gtkdoc/scan.py
-+++ b/usr/share/gtk-doc/python/gtkdoc/scan.py
-@@ -427,20 +427,26 @@ def ScanHeader(input_file, section_list, decl_list, get_types, options):
-             elif m9:
-                 # We've found a 'typedef struct _<name> <name>;'
-                 # This could be an opaque data structure, so we output an
-                 # empty declaration. If the structure is actually found that
-                 # will override this.
-                 structsym = m9.group(1).upper()
-                 logging.info('%s typedef: "%s"', structsym, m9.group(2))
-                 forward_decls[m9.group(2)] = '<%s>\n<NAME>%s</NAME>\n%s</%s>\n' % (
-                     structsym, m9.group(2), deprecated, structsym)
- 
-+                bm = re.search(r'^(\S+)(Class|Iface|Interface)\b', m9.group(2))
-+                if bm:
-+                    objectname = bm.group(1)
-+                    logging.info('Found object: "%s"', objectname)
-+                    title = '<TITLE>%s</TITLE>' % objectname
-+
-             elif re.search(r'^\s*(?:struct|union)\s+_(\w+)\s*;', line):
-                 # Skip private structs/unions.
-                 logging.info('private struct/union')
- 
-             elif m10:
-                 # Do a similar thing for normal structs as for typedefs above.
-                 # But we output the declaration as well in this case, so we
-                 # can differentiate it from a typedef.
-                 structsym = m10.group(1).upper()
-                 logging.info('%s:%s', structsym, m10.group(2))
-EOF
-