[arch-commits] Commit in gtk-doc/repos/extra-any (PKGBUILD PKGBUILD fix.diff fix.diff)
Date: Tuesday, November 17, 2020 @ 22:40:19 Author: heftig Revision: 401328 archrelease: copy trunk to extra-any Added: gtk-doc/repos/extra-any/PKGBUILD (from rev 401327, gtk-doc/trunk/PKGBUILD) gtk-doc/repos/extra-any/fix.diff (from rev 401327, 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 === --- PKGBUILD2020-11-17 22:40:10 UTC (rev 401327) +++ PKGBUILD2020-11-17 22:40:19 UTC (rev 401328) @@ -1,45 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) -# Contributor: Jan de Groot - -pkgname=gtk-doc -pkgver=1.33.0 -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=cb88c112346c3224ce1e903d84c864e1af1d7e9c # tags/1.33.0^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 401327, gtk-doc/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-11-17 22:40:19 UTC (rev 401328) @@ -0,0 +1,45 @@ +# Maintainer: Jan Alexander Steffens (heftig) +# Contributor: Jan de Groot + +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" +} Deleted: fix.diff === --- fix.diff2020-11-17 22:40:10 UTC (rev 401327) +++ fix.diff2020-11-17 22:40:19 UTC (rev 401328) @@ -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 401327, gtk-doc/trunk/fix.diff) ===
[arch-commits] Commit in gtk-doc/repos/extra-any (PKGBUILD PKGBUILD fix.diff fix.diff)
Date: Thursday, October 1, 2020 @ 20:34:59 Author: heftig Revision: 397046 archrelease: copy trunk to extra-any Added: gtk-doc/repos/extra-any/PKGBUILD (from rev 397045, gtk-doc/trunk/PKGBUILD) gtk-doc/repos/extra-any/fix.diff (from rev 397045, 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 === --- PKGBUILD2020-10-01 20:34:47 UTC (rev 397045) +++ PKGBUILD2020-10-01 20:34:59 UTC (rev 397046) @@ -1,45 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) -# Contributor: Jan de Groot - -pkgname=gtk-doc -pkgver=1.32+52+gb209222 -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=b2092227f5b6718c27380d6a7bd6842ffa008d56 # master -source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit"; - fix.diff) -sha256sums=('SKIP' -'0391f47af6bd11bdc870ba826836612c68f538a12bc12fe0b4f34e6c11482baf') - -pkgver() { - cd $pkgname - git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e '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 397045, gtk-doc/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-10-01 20:34:59 UTC (rev 397046) @@ -0,0 +1,45 @@ +# Maintainer: Jan Alexander Steffens (heftig) +# Contributor: Jan de Groot + +pkgname=gtk-doc +pkgver=1.33.0 +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=cb88c112346c3224ce1e903d84c864e1af1d7e9c # tags/1.33.0^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" +} Deleted: fix.diff === --- fix.diff2020-10-01 20:34:47 UTC (rev 397045) +++ fix.diff2020-10-01 20:34:59 UTC (rev 397046) @@ -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 397045, gtk-doc/trunk/fix.diff)
[arch-commits] Commit in gtk-doc/repos/extra-any (PKGBUILD PKGBUILD fix.diff fix.diff)
Date: Thursday, September 17, 2020 @ 18:39:15 Author: heftig Revision: 396231 archrelease: copy trunk to extra-any Added: gtk-doc/repos/extra-any/PKGBUILD (from rev 396230, gtk-doc/trunk/PKGBUILD) gtk-doc/repos/extra-any/fix.diff (from rev 396230, 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 === --- PKGBUILD2020-09-17 18:39:01 UTC (rev 396230) +++ PKGBUILD2020-09-17 18:39:15 UTC (rev 396231) @@ -1,45 +0,0 @@ -# Maintainer: Jan de Groot - -pkgname=gtk-doc -pkgver=1.32+37+gefc3644 -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=efc3644e41b40f605c5f5e9075173d6ab1bd1950 # master -source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit"; - fix.diff) -sha256sums=('SKIP' -'0391f47af6bd11bdc870ba826836612c68f538a12bc12fe0b4f34e6c11482baf') - -pkgver() { - cd $pkgname - git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g' -} - -prepare() { - cd $pkgname - patch -Np1 -i ../fix.diff -} - -build() { - arch-meson $pkgname build - ninja -C build -} - -check() { - # Tests don't work yet - 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 396230, gtk-doc/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-09-17 18:39:15 UTC (rev 396231) @@ -0,0 +1,45 @@ +# Maintainer: Jan Alexander Steffens (heftig) +# Contributor: Jan de Groot + +pkgname=gtk-doc +pkgver=1.32+52+gb209222 +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=b2092227f5b6718c27380d6a7bd6842ffa008d56 # master +source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit"; + fix.diff) +sha256sums=('SKIP' +'0391f47af6bd11bdc870ba826836612c68f538a12bc12fe0b4f34e6c11482baf') + +pkgver() { + cd $pkgname + git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e '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.diff2020-09-17 18:39:01 UTC (rev 396230) +++ fix.diff2020-09-17 18:39:15 UTC (rev 396231) @@ -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 396230, gtk-doc/trunk/fix.diff) ===
[arch-commits] Commit in gtk-doc/repos/extra-any (PKGBUILD PKGBUILD fix.diff fix.diff)
Date: Thursday, February 27, 2020 @ 22:11:44 Author: heftig Revision: 376334 archrelease: copy trunk to extra-any Added: gtk-doc/repos/extra-any/PKGBUILD (from rev 376333, gtk-doc/trunk/PKGBUILD) gtk-doc/repos/extra-any/fix.diff (from rev 376333, gtk-doc/trunk/fix.diff) Deleted: gtk-doc/repos/extra-any/PKGBUILD gtk-doc/repos/extra-any/fix.diff --+ PKGBUILD | 88 +++-- fix.diff | 60 - 2 files changed, 75 insertions(+), 73 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-27 22:10:41 UTC (rev 376333) +++ PKGBUILD2020-02-27 22:11:44 UTC (rev 376334) @@ -1,43 +0,0 @@ -# Maintainer: Jan de Groot - -pkgname=gtk-doc -pkgver=1.32 -pkgrel=2 -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=7fce5688c973fca10951bfdbeab9acca034aa095 # tags/GTK_DOC_1_32^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 -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g' -} - -prepare() { - cd $pkgname - patch -Np1 -i ../fix.diff -} - -build() { - arch-meson $pkgname build - ninja -C build -} - -check() { - # Tests don't work yet - meson test -C build --print-errorlogs || : -} - -package() { - DESTDIR="$pkgdir" meson install -C build -} Copied: gtk-doc/repos/extra-any/PKGBUILD (from rev 376333, gtk-doc/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-27 22:11:44 UTC (rev 376334) @@ -0,0 +1,45 @@ +# Maintainer: Jan de Groot + +pkgname=gtk-doc +pkgver=1.32+37+gefc3644 +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=efc3644e41b40f605c5f5e9075173d6ab1bd1950 # master +source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit"; + fix.diff) +sha256sums=('SKIP' +'0391f47af6bd11bdc870ba826836612c68f538a12bc12fe0b4f34e6c11482baf') + +pkgver() { + cd $pkgname + git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g' +} + +prepare() { + cd $pkgname + patch -Np1 -i ../fix.diff +} + +build() { + arch-meson $pkgname build + ninja -C build +} + +check() { + # Tests don't work yet + 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.diff2020-02-27 22:10:41 UTC (rev 376333) +++ fix.diff2020-02-27 22:11:44 UTC (rev 376334) @@ -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 376333, gtk-doc/trunk/fix.diff) === --- fix.diff(rev 0) +++ fix.diff2020-02-27 22:11:44 UTC (rev 376334) @@ -0,0 +1,30 @@ +
[arch-commits] Commit in gtk-doc/repos/extra-any (PKGBUILD PKGBUILD fix.diff)
Date: Tuesday, November 12, 2019 @ 18:23:03 Author: arojas Revision: 367998 archrelease: copy trunk to extra-any Added: gtk-doc/repos/extra-any/PKGBUILD (from rev 367997, gtk-doc/trunk/PKGBUILD) gtk-doc/repos/extra-any/fix.diff (from rev 367997, gtk-doc/trunk/fix.diff) Deleted: gtk-doc/repos/extra-any/PKGBUILD --+ PKGBUILD | 79 + fix.diff | 30 +++ 2 files changed, 73 insertions(+), 36 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-12 18:22:30 UTC (rev 367997) +++ PKGBUILD2019-11-12 18:23:03 UTC (rev 367998) @@ -1,36 +0,0 @@ -# Maintainer: Jan de Groot - -pkgname=gtk-doc -pkgver=1.32 -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=7fce5688c973fca10951bfdbeab9acca034aa095 # tags/GTK_DOC_1_32^0 -source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit";) -sha256sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g' -} - -build() { - arch-meson $pkgname build - ninja -C build -} - -check() { - # Tests don't work yet - meson test -C build --print-errorlogs || : -} - -package() { - DESTDIR="$pkgdir" meson install -C build -} Copied: gtk-doc/repos/extra-any/PKGBUILD (from rev 367997, gtk-doc/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-12 18:23:03 UTC (rev 367998) @@ -0,0 +1,43 @@ +# Maintainer: Jan de Groot + +pkgname=gtk-doc +pkgver=1.32 +pkgrel=2 +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=7fce5688c973fca10951bfdbeab9acca034aa095 # tags/GTK_DOC_1_32^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 -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g' +} + +prepare() { + cd $pkgname + patch -Np1 -i ../fix.diff +} + +build() { + arch-meson $pkgname build + ninja -C build +} + +check() { + # Tests don't work yet + meson test -C build --print-errorlogs || : +} + +package() { + DESTDIR="$pkgdir" meson install -C build +} Copied: gtk-doc/repos/extra-any/fix.diff (from rev 367997, gtk-doc/trunk/fix.diff) === --- fix.diff(rev 0) +++ fix.diff2019-11-12 18:23:03 UTC (rev 367998) @@ -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 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()):
[arch-commits] Commit in gtk-doc/repos/extra-any (PKGBUILD PKGBUILD fix.diff)
Date: Saturday, November 9, 2019 @ 14:08:29 Author: arojas Revision: 367265 archrelease: copy trunk to extra-any Added: gtk-doc/repos/extra-any/PKGBUILD (from rev 367264, gtk-doc/trunk/PKGBUILD) Deleted: gtk-doc/repos/extra-any/PKGBUILD gtk-doc/repos/extra-any/fix.diff --+ PKGBUILD | 79 +++-- fix.diff | 41 --- 2 files changed, 36 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-09 14:08:11 UTC (rev 367264) +++ PKGBUILD2019-11-09 14:08:29 UTC (rev 367265) @@ -1,43 +0,0 @@ -# Maintainer: Jan de Groot - -pkgname=gtk-doc -pkgver=1.31 -pkgrel=2 -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=c268fa535424d193953487c694e2a8f770d3255f # tags/GTK_DOC_1_31^0 -source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit"; -fix.diff) -sha256sums=('SKIP' -'25362c503667167f71f6991dc3d42d6a2a0bae4e6ecd128d9d2f9c62c4f5c74b') - -pkgver() { - cd $pkgname - git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g' -} - -prepare() { - cd $pkgname - patch -Np1 -i ../fix.diff -} - -build() { - arch-meson $pkgname build - ninja -C build -} - -check() { - # Tests don't work yet - meson test -C build --print-errorlogs || : -} - -package() { - DESTDIR="$pkgdir" meson install -C build -} Copied: gtk-doc/repos/extra-any/PKGBUILD (from rev 367264, gtk-doc/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-09 14:08:29 UTC (rev 367265) @@ -0,0 +1,36 @@ +# Maintainer: Jan de Groot + +pkgname=gtk-doc +pkgver=1.32 +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=7fce5688c973fca10951bfdbeab9acca034aa095 # tags/GTK_DOC_1_32^0 +source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit";) +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g' +} + +build() { + arch-meson $pkgname build + ninja -C build +} + +check() { + # Tests don't work yet + meson test -C build --print-errorlogs || : +} + +package() { + DESTDIR="$pkgdir" meson install -C build +} Deleted: fix.diff === --- fix.diff2019-11-09 14:08:11 UTC (rev 367264) +++ fix.diff2019-11-09 14:08:29 UTC (rev 367265) @@ -1,41 +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()): -diff --git i/meson.build w/meson.build -index 85e83ca..5e4d288 100644 i/meson.build -+++ w/meson.build -@@ -1,5 +1,5 @@ - project('gtk-doc', 'c', -- version: '1.30.1', -+ version: '1.31', - license: 'GPL2+', - meson_version: '>= 0.50.0', # needed for https://mesonbuild.com/Python-module.html#path - )