[arch-commits] Commit in gtk-doc/repos/extra-any (PKGBUILD PKGBUILD fix.diff fix.diff)

Jan Steffens heftig at archlinux.org
Tue Jan 19 22:31:02 UTC 2021


    Date: Tuesday, January 19, 2021 @ 22:31:01
  Author: heftig
Revision: 406441

archrelease: copy trunk to extra-any

Added:
  gtk-doc/repos/extra-any/PKGBUILD
    (from rev 406440, gtk-doc/trunk/PKGBUILD)
  gtk-doc/repos/extra-any/fix.diff
    (from rev 406440, gtk-doc/trunk/fix.diff)
Deleted:
  gtk-doc/repos/extra-any/PKGBUILD
  gtk-doc/repos/extra-any/fix.diff

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 fix.diff |   60 ++++++++++++++++++++--------------------
 2 files changed, 75 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-19 22:30:51 UTC (rev 406440)
+++ PKGBUILD	2021-01-19 22:31:01 UTC (rev 406441)
@@ -1,45 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gtk-doc
-pkgver=1.33.1
-pkgrel=1
-pkgdesc="Documentation tool for public library API"
-url="https://www.gtk.org/gtk-doc/"
-arch=(any)
-license=(GPL FDL)
-depends=(docbook-xsl docbook-xml glib2-docs python-lxml python-pygments
-         python-anytree)
-makedepends=(dblatex git yelp-tools meson)
-checkdepends=(bc gtk3 python-six python-parameterized)
-optdepends=('dblatex: PDF support')
-_commit=fbc159c5d1c53d6e957dde9e27e8d4df40be67d3  # tags/1.33.1^0
-source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit"
-         fix.diff)
-sha256sums=('SKIP'
-            '0391f47af6bd11bdc870ba826836612c68f538a12bc12fe0b4f34e6c11482baf')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/GTK_DOC_//;s/_/\./g;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  patch -Np1 -i ../fix.diff
-}
-
-build() {
-  arch-meson $pkgname build
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  DESTDIR="$pkgdir" meson install -C build
-  python -m compileall -d /usr/lib "$pkgdir/usr/lib"
-  python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
-}

Copied: gtk-doc/repos/extra-any/PKGBUILD (from rev 406440, gtk-doc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-19 22:31:01 UTC (rev 406441)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gtk-doc
+pkgver=1.33.2
+pkgrel=1
+pkgdesc="Documentation tool for public library API"
+url="https://www.gtk.org/gtk-doc/"
+arch=(any)
+license=(GPL FDL)
+depends=(docbook-xsl docbook-xml glib2-docs python-lxml python-pygments
+         python-anytree)
+makedepends=(dblatex git yelp-tools meson)
+checkdepends=(bc gtk3 python-six python-parameterized)
+optdepends=('dblatex: PDF support')
+_commit=14391142ee9d43da116f0f530746ae34cc46930a  # tags/1.33.2^0
+source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit"
+        fix.diff)
+sha256sums=('SKIP'
+            '120d6d92fe2040b3500fee17a9c52e3f427cec70637d7aa71dbd561226103237')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/GTK_DOC_//;s/_/\./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  patch -Np1 -i ../fix.diff
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+  python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}

Deleted: fix.diff
===================================================================
--- fix.diff	2021-01-19 22:30:51 UTC (rev 406440)
+++ fix.diff	2021-01-19 22:31:01 UTC (rev 406441)
@@ -1,30 +0,0 @@
-diff --git i/gtkdoc/highlight.py w/gtkdoc/highlight.py
-index ba1c601..226aa12 100644
---- i/gtkdoc/highlight.py
-+++ w/gtkdoc/highlight.py
-@@ -46,6 +46,9 @@ def highlight_code(code, lang='c'):
- 
- 
- def append_style_defs(css_file_name):
--    os.chmod(css_file_name, 0o644)
-+    try:
-+        os.chmod(css_file_name, 0o644)
-+    except OSError:
-+        pass
-     with open(css_file_name, 'at', newline='\n', encoding='utf-8') as css:
-         css.write(HTML_FORMATTER.get_style_defs())
-diff --git i/gtkdoc/scan.py w/gtkdoc/scan.py
-index d04d4d4..2103d02 100644
---- i/gtkdoc/scan.py
-+++ w/gtkdoc/scan.py
-@@ -961,8 +961,8 @@ def ScanHeaderContent(input_lines, decl_list, get_types, options):
-                 logging.info('struct/union level : %d', level)
- 
-     # here we want in_declaration=='', otherwise we have a partial declaration
--    if in_declaration != '':
--        raise RuntimeError('partial declaration (%s) : %s ' % (in_declaration, decl))
-+    #if in_declaration != '':
-+    #    raise RuntimeError('partial declaration (%s) : %s ' % (in_declaration, decl))
- 
-     # print remaining forward declarations
-     for symbol in sorted(forward_decls.keys()):

Copied: gtk-doc/repos/extra-any/fix.diff (from rev 406440, gtk-doc/trunk/fix.diff)
===================================================================
--- fix.diff	                        (rev 0)
+++ fix.diff	2021-01-19 22:31:01 UTC (rev 406441)
@@ -0,0 +1,30 @@
+diff --git i/gtkdoc/highlight.py w/gtkdoc/highlight.py
+index ba1c601..226aa12 100644
+--- i/gtkdoc/highlight.py
++++ w/gtkdoc/highlight.py
+@@ -46,6 +46,9 @@ def highlight_code(code, lang='c'):
+ 
+ 
+ def append_style_defs(css_file_name):
+-    os.chmod(css_file_name, 0o644)
++    try:
++        os.chmod(css_file_name, 0o644)
++    except OSError:
++        pass
+     with open(css_file_name, 'at', newline='\n', encoding='utf-8') as css:
+         css.write(HTML_FORMATTER.get_style_defs())
+diff --git i/gtkdoc/scan.py w/gtkdoc/scan.py
+index 4b5b8a9..7963840 100644
+--- i/gtkdoc/scan.py
++++ w/gtkdoc/scan.py
+@@ -978,8 +978,8 @@ def ScanHeaderContent(input_lines, decl_list, get_types, options):
+                 logging.info('struct/union level : %d', level)
+ 
+     # here we want in_declaration=='', otherwise we have a partial declaration
+-    if in_declaration != '':
+-        raise RuntimeError('partial declaration (%s) : %s ' % (in_declaration, decl))
++    #if in_declaration != '':
++    #    raise RuntimeError('partial declaration (%s) : %s ' % (in_declaration, decl))
+ 
+     # print remaining forward declarations
+     for symbol in sorted(forward_decls.keys()):



More information about the arch-commits mailing list