[arch-commits] Commit in appstream-generator/repos (6 files)

Antonio Rojas arojas at archlinux.org
Sat Oct 15 19:33:06 UTC 2016


    Date: Saturday, October 15, 2016 @ 19:33:05
  Author: arojas
Revision: 192318

archrelease: copy trunk to community-i686, community-x86_64

Added:
  appstream-generator/repos/community-i686/PKGBUILD
    (from rev 192317, appstream-generator/trunk/PKGBUILD)
  appstream-generator/repos/community-i686/metainfo-no-summary-warning.patch
    (from rev 192317, appstream-generator/trunk/metainfo-no-summary-warning.patch)
  appstream-generator/repos/community-x86_64/PKGBUILD
    (from rev 192317, appstream-generator/trunk/PKGBUILD)
  appstream-generator/repos/community-x86_64/metainfo-no-summary-warning.patch
    (from rev 192317, appstream-generator/trunk/metainfo-no-summary-warning.patch)
Deleted:
  appstream-generator/repos/community-i686/PKGBUILD
  appstream-generator/repos/community-x86_64/PKGBUILD

----------------------------------------------------+
 /PKGBUILD                                          |   74 +++++++++++++++++++
 community-i686/PKGBUILD                            |   32 --------
 community-i686/metainfo-no-summary-warning.patch   |   11 ++
 community-x86_64/PKGBUILD                          |   32 --------
 community-x86_64/metainfo-no-summary-warning.patch |   11 ++
 5 files changed, 96 insertions(+), 64 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-10-15 19:32:41 UTC (rev 192317)
+++ community-i686/PKGBUILD	2016-10-15 19:33:05 UTC (rev 192318)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=appstream-generator
-pkgver=0.6.0
-pkgrel=1
-pkgdesc="A fast AppStream metadata generator"
-arch=(i686 x86_64)
-url="https://github.com/ximion/appstream-generator"
-license=(GPL3)
-depends=(appstream libarchive librsvg lmdb)
-makedepends=(dmd meson ninja mustache-d curl)
-source=("https://github.com/ximion/appstream-generator/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
-sha256sums=('68f538f2163004b8e2171c694233af401c2cd47a9ea1472265753a48b20600e3')
-
-prepare() {
-  mkdir -p build
-
-# fix build
-  sed -e 's/core.sys.linux.stdio/core.sys.posix.stdio/' -i $pkgname-$pkgver/src/asgen/utils.d
-}
-
-build() {
-  cd build
-  meson ../$pkgname-$pkgver -Ddownload_js=false --prefix=/usr
-  ninja -j1
-}
-
-package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-}

Copied: appstream-generator/repos/community-i686/PKGBUILD (from rev 192317, appstream-generator/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-15 19:33:05 UTC (rev 192318)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=appstream-generator
+pkgver=0.6.0
+pkgrel=2
+pkgdesc="A fast AppStream metadata generator"
+arch=(i686 x86_64)
+url="https://github.com/ximion/appstream-generator"
+license=(GPL3)
+depends=(appstream libarchive librsvg lmdb)
+makedepends=(dmd meson ninja mustache-d curl)
+source=("https://github.com/ximion/appstream-generator/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz" metainfo-no-summary-warning.patch)
+sha256sums=('68f538f2163004b8e2171c694233af401c2cd47a9ea1472265753a48b20600e3'
+            'ca060c10da22acaf572c78917b7a9587fa989757bfed26f468280ce1f078dc81')
+
+prepare() {
+  mkdir -p build
+
+# fix build
+  sed -e 's/core.sys.linux.stdio/core.sys.posix.stdio/' -i $pkgname-$pkgver/src/asgen/utils.d
+
+# Don't treat 'metainfo-no-summary' hints as errors, it excludes too many packages
+  cd $pkgname-$pkgver
+  patch -p1 -i ../metainfo-no-summary-warning.patch
+}
+
+build() {
+  cd build
+  meson ../$pkgname-$pkgver -Ddownload_js=false --prefix=/usr
+  ninja -j1
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}

Copied: appstream-generator/repos/community-i686/metainfo-no-summary-warning.patch (from rev 192317, appstream-generator/trunk/metainfo-no-summary-warning.patch)
===================================================================
--- community-i686/metainfo-no-summary-warning.patch	                        (rev 0)
+++ community-i686/metainfo-no-summary-warning.patch	2016-10-15 19:33:05 UTC (rev 192318)
@@ -0,0 +1,11 @@
+--- appstream-generator-0.6.0/data/asgen-hints.json.orig	2016-10-15 21:12:11.009366464 +0200
++++ appstream-generator-0.6.0/data/asgen-hints.json	2016-10-15 21:12:31.606032759 +0200
+@@ -140,7 +140,7 @@
+            "has a <code>Comment=</code> field set.<br/>",
+            "More information can be found in the <a href=\"http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html\">Desktop Entry specification</a>",
+            "and the <a href=\"https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html#tag-dapp-summary\">MetaInfo specification</a>."],
+-  "severity": "error"
++  "severity": "warning"
+ },
+ 
+ "metainfo-duplicate-id": {

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-10-15 19:32:41 UTC (rev 192317)
+++ community-x86_64/PKGBUILD	2016-10-15 19:33:05 UTC (rev 192318)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=appstream-generator
-pkgver=0.6.0
-pkgrel=1
-pkgdesc="A fast AppStream metadata generator"
-arch=(i686 x86_64)
-url="https://github.com/ximion/appstream-generator"
-license=(GPL3)
-depends=(appstream libarchive librsvg lmdb)
-makedepends=(dmd meson ninja mustache-d curl)
-source=("https://github.com/ximion/appstream-generator/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
-sha256sums=('68f538f2163004b8e2171c694233af401c2cd47a9ea1472265753a48b20600e3')
-
-prepare() {
-  mkdir -p build
-
-# fix build
-  sed -e 's/core.sys.linux.stdio/core.sys.posix.stdio/' -i $pkgname-$pkgver/src/asgen/utils.d
-}
-
-build() {
-  cd build
-  meson ../$pkgname-$pkgver -Ddownload_js=false --prefix=/usr
-  ninja -j1
-}
-
-package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-}

Copied: appstream-generator/repos/community-x86_64/PKGBUILD (from rev 192317, appstream-generator/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-15 19:33:05 UTC (rev 192318)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=appstream-generator
+pkgver=0.6.0
+pkgrel=2
+pkgdesc="A fast AppStream metadata generator"
+arch=(i686 x86_64)
+url="https://github.com/ximion/appstream-generator"
+license=(GPL3)
+depends=(appstream libarchive librsvg lmdb)
+makedepends=(dmd meson ninja mustache-d curl)
+source=("https://github.com/ximion/appstream-generator/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz" metainfo-no-summary-warning.patch)
+sha256sums=('68f538f2163004b8e2171c694233af401c2cd47a9ea1472265753a48b20600e3'
+            'ca060c10da22acaf572c78917b7a9587fa989757bfed26f468280ce1f078dc81')
+
+prepare() {
+  mkdir -p build
+
+# fix build
+  sed -e 's/core.sys.linux.stdio/core.sys.posix.stdio/' -i $pkgname-$pkgver/src/asgen/utils.d
+
+# Don't treat 'metainfo-no-summary' hints as errors, it excludes too many packages
+  cd $pkgname-$pkgver
+  patch -p1 -i ../metainfo-no-summary-warning.patch
+}
+
+build() {
+  cd build
+  meson ../$pkgname-$pkgver -Ddownload_js=false --prefix=/usr
+  ninja -j1
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}

Copied: appstream-generator/repos/community-x86_64/metainfo-no-summary-warning.patch (from rev 192317, appstream-generator/trunk/metainfo-no-summary-warning.patch)
===================================================================
--- community-x86_64/metainfo-no-summary-warning.patch	                        (rev 0)
+++ community-x86_64/metainfo-no-summary-warning.patch	2016-10-15 19:33:05 UTC (rev 192318)
@@ -0,0 +1,11 @@
+--- appstream-generator-0.6.0/data/asgen-hints.json.orig	2016-10-15 21:12:11.009366464 +0200
++++ appstream-generator-0.6.0/data/asgen-hints.json	2016-10-15 21:12:31.606032759 +0200
+@@ -140,7 +140,7 @@
+            "has a <code>Comment=</code> field set.<br/>",
+            "More information can be found in the <a href=\"http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html\">Desktop Entry specification</a>",
+            "and the <a href=\"https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html#tag-dapp-summary\">MetaInfo specification</a>."],
+-  "severity": "error"
++  "severity": "warning"
+ },
+ 
+ "metainfo-duplicate-id": {



More information about the arch-commits mailing list