[arch-commits] Commit in shared-mime-info/repos/extra-x86_64 (6 files)

Andreas Radke andyrtr at archlinux.org
Sun Sep 15 13:31:26 UTC 2019


    Date: Sunday, September 15, 2019 @ 13:31:26
  Author: andyrtr
Revision: 362866

archrelease: copy trunk to extra-x86_64

Added:
  shared-mime-info/repos/extra-x86_64/PKGBUILD
    (from rev 362865, shared-mime-info/trunk/PKGBUILD)
  shared-mime-info/repos/extra-x86_64/shared-mime-info.install
    (from rev 362865, shared-mime-info/trunk/shared-mime-info.install)
  shared-mime-info/repos/extra-x86_64/update-mime-database.hook
    (from rev 362865, shared-mime-info/trunk/update-mime-database.hook)
Deleted:
  shared-mime-info/repos/extra-x86_64/PKGBUILD
  shared-mime-info/repos/extra-x86_64/shared-mime-info.install
  shared-mime-info/repos/extra-x86_64/update-mime-database.hook

---------------------------+
 PKGBUILD                  |   79 ++++++++++++++++++++++----------------------
 shared-mime-info.install  |   14 +++----
 update-mime-database.hook |   22 ++++++------
 3 files changed, 58 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-15 13:31:18 UTC (rev 362865)
+++ PKGBUILD	2019-09-15 13:31:26 UTC (rev 362866)
@@ -1,39 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=shared-mime-info
-pkgver=1.12
-pkgrel=1
-pkgdesc="Freedesktop.org Shared MIME Info"
-arch=('x86_64')
-license=('GPL2')
-depends=('libxml2' 'glib2')
-makedepends=('intltool' 'pkgconfig')
-install=shared-mime-info.install
-url="https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/"
-source=(https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/80c7f1afbcad2769f38aeb9ba6317a51/$pkgname-$pkgver.tar.xz
-        update-mime-database.hook)
-sha256sums=('18b2f0fe07ed0d6f81951a5fd5ece44de9c8aeb4dc5bb20d4f595f6cc6bd403e'
-            '7ecdd55ff7c4331e188cf46debbcc5660edb0e2bbeb4dd87cc5b87278c292821')
-options=(!makeflags)
-
-build() {
-  cd ${pkgname}-${pkgver}
-  # https://bugs.archlinux.org/task/38836
-  # https://bugs.freedesktop.org/show_bug.cgi?id=70366
-  export ac_cv_func_fdatasync=no
-  ./configure --prefix=/usr --disable-update-mimedb
-  make
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  make -k check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-
-  install -Dm644 "$srcdir"/update-mime-database.hook "$pkgdir"/usr/share/libalpm/hooks/update-mime-database.hook
-}

Copied: shared-mime-info/repos/extra-x86_64/PKGBUILD (from rev 362865, shared-mime-info/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-15 13:31:26 UTC (rev 362866)
@@ -0,0 +1,40 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=shared-mime-info
+pkgver=1.13.1
+pkgrel=1
+pkgdesc="Freedesktop.org Shared MIME Info"
+arch=('x86_64')
+license=('GPL2')
+depends=('libxml2' 'glib2')
+makedepends=('itstool' 'gettext')
+install=shared-mime-info.install
+url="https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/"
+source=(https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/5349e18c86eb96eee258a5c1f19122d0/$pkgname-$pkgver.tar.xz
+        update-mime-database.hook)
+sha256sums=('6ea80a5bc7b20598f3b0f9f92942fdb4322245b79d7ed3c3ee18816fcb472cae'
+            '7ecdd55ff7c4331e188cf46debbcc5660edb0e2bbeb4dd87cc5b87278c292821')
+options=(!makeflags)
+
+build() {
+  cd ${pkgname}-${pkgver}
+  # https://bugs.archlinux.org/task/38836
+  # https://bugs.freedesktop.org/show_bug.cgi?id=70366
+  export ac_cv_func_fdatasync=no
+  ./configure --prefix=/usr --disable-update-mimedb
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  # issue reported upstream https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/115
+  make -k check || /bin/true
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 "$srcdir"/update-mime-database.hook "$pkgdir"/usr/share/libalpm/hooks/update-mime-database.hook
+}

Deleted: shared-mime-info.install
===================================================================
--- shared-mime-info.install	2019-09-15 13:31:18 UTC (rev 362865)
+++ shared-mime-info.install	2019-09-15 13:31:26 UTC (rev 362866)
@@ -1,7 +0,0 @@
-post_remove() {
-  if [ -d usr/share/mime ]; then
-    rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache}
-    rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc}
-    rmdir --ignore-fail-on-non-empty usr/share/mime
-  fi
-}

Copied: shared-mime-info/repos/extra-x86_64/shared-mime-info.install (from rev 362865, shared-mime-info/trunk/shared-mime-info.install)
===================================================================
--- shared-mime-info.install	                        (rev 0)
+++ shared-mime-info.install	2019-09-15 13:31:26 UTC (rev 362866)
@@ -0,0 +1,7 @@
+post_remove() {
+  if [ -d usr/share/mime ]; then
+    rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache}
+    rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc}
+    rmdir --ignore-fail-on-non-empty usr/share/mime
+  fi
+}

Deleted: update-mime-database.hook
===================================================================
--- update-mime-database.hook	2019-09-15 13:31:18 UTC (rev 362865)
+++ update-mime-database.hook	2019-09-15 13:31:26 UTC (rev 362866)
@@ -1,11 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/mime/packages/*.xml
-
-[Action]
-Description = Updating the MIME type database...
-When = PostTransaction
-Exec = /usr/bin/update-mime-database /usr/share/mime

Copied: shared-mime-info/repos/extra-x86_64/update-mime-database.hook (from rev 362865, shared-mime-info/trunk/update-mime-database.hook)
===================================================================
--- update-mime-database.hook	                        (rev 0)
+++ update-mime-database.hook	2019-09-15 13:31:26 UTC (rev 362866)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/mime/packages/*.xml
+
+[Action]
+Description = Updating the MIME type database...
+When = PostTransaction
+Exec = /usr/bin/update-mime-database /usr/share/mime


More information about the arch-commits mailing list