[arch-commits] Commit in golang-deepin-gir/repos/community-any (4 files)

Felix Yan felixonmars at archlinux.org
Tue Apr 16 13:28:58 UTC 2019


    Date: Tuesday, April 16, 2019 @ 13:28:57
  Author: felixonmars
Revision: 451782

archrelease: copy trunk to community-any

Added:
  golang-deepin-gir/repos/community-any/PKGBUILD
    (from rev 451781, golang-deepin-gir/trunk/PKGBUILD)
  golang-deepin-gir/repos/community-any/SettingsBackendLike.patch
    (from rev 451781, golang-deepin-gir/trunk/SettingsBackendLike.patch)
Deleted:
  golang-deepin-gir/repos/community-any/PKGBUILD
  golang-deepin-gir/repos/community-any/SettingsBackendLike.patch

---------------------------+
 PKGBUILD                  |  112 ++++++++++++++++++++++----------------------
 SettingsBackendLike.patch |   84 ++++++++++++++++-----------------
 2 files changed, 98 insertions(+), 98 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-16 13:28:36 UTC (rev 451781)
+++ PKGBUILD	2019-04-16 13:28:57 UTC (rev 451782)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=golang-deepin-gir
-pkgver=2.0.0
-pkgrel=1
-pkgdesc='Generate static golang bindings for GObject'
-arch=('any')
-url="https://github.com/linuxdeepin/go-gir-generator"
-license=('GPL3')
-depends=('gtk3' 'libgudev')
-makedepends=('go-pie' 'gobject-introspection')
-checkdepends=('golang-gopkg-check.v1')
-provides=('deepin-gir-generator')
-conflicts=('deepin-gir-generator')
-replaces=('deepin-gir-generator')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-gir-generator/archive/$pkgver.tar.gz"
-        SettingsBackendLike.patch)
-sha512sums=('859b11160be3172e9ffea9120af218808edfb4d2dc5afeb17858e77be9f0a2053b90d3ed50a946251d53ede48f0a4735756fa78babc180a3b1c3392f811b25f7'
-            'bd97770e2a345bc1fe4248238f13bd741c157629c5e097c56039326fe7fa4d550c8030272c18c2adc1c0dce35dd72c8d4e6fc394bf4d659076794e6a375d045a')
-
-prepare() {
-  mkdir -p "$srcdir"/build/src/pkg.deepin.io
-
-  # Should be fixed upstream
-  mkdir -p go-gir-generator-$pkgver/out/src/pkg.deepin.io/gir/{glib-2.0,gobject-2.0,gio-2.0,gudev-1.0}
-
-  # Our gobject-introspection is too new
-  # https://cr.deepin.io/#/c/16880/
-  patch -d go-gir-generator-$pkgver -p1 -i ../SettingsBackendLike.patch
-}
-
-build() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  cd go-gir-generator-$pkgver
-  rm -r gogtk-demo
-  make
-
-  mv out/src/pkg.deepin.io/gir "$srcdir"/build/src/pkg.deepin.io/
-}
-
-check() {
-  # https://github.com/linuxdeepin/developer-center/issues/955
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  cd "$srcdir"/build/src/pkg.deepin.io/gir
-  go test -v $(go list ./...) || warning "Tests failed"
-
-  cd "$srcdir"/go-gir-generator-$pkgver
-  go run test/memory.go
-}
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/gocode/src/pkg.deepin.io
-  cp -a "$srcdir"/build/src/pkg.deepin.io/gir "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/
-}

Copied: golang-deepin-gir/repos/community-any/PKGBUILD (from rev 451781, golang-deepin-gir/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-16 13:28:57 UTC (rev 451782)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=golang-deepin-gir
+pkgver=2.0.1
+pkgrel=1
+pkgdesc='Generate static golang bindings for GObject'
+arch=('any')
+url="https://github.com/linuxdeepin/go-gir-generator"
+license=('GPL3')
+depends=('gtk3' 'libgudev')
+makedepends=('go-pie' 'gobject-introspection')
+checkdepends=('golang-gopkg-check.v1')
+provides=('deepin-gir-generator')
+conflicts=('deepin-gir-generator')
+replaces=('deepin-gir-generator')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-gir-generator/archive/$pkgver.tar.gz"
+        SettingsBackendLike.patch)
+sha512sums=('1609916b1da50e396857b140e2b788bec40fe51a37793d548394a210a2bfb6d19bd8076726122b29bb53fa521e22186b65e698bf3368ae611dd56b93920c9e88'
+            'bd97770e2a345bc1fe4248238f13bd741c157629c5e097c56039326fe7fa4d550c8030272c18c2adc1c0dce35dd72c8d4e6fc394bf4d659076794e6a375d045a')
+
+prepare() {
+  mkdir -p "$srcdir"/build/src/pkg.deepin.io
+
+  # Should be fixed upstream
+  mkdir -p go-gir-generator-$pkgver/out/src/pkg.deepin.io/gir/{glib-2.0,gobject-2.0,gio-2.0,gudev-1.0}
+
+  # Our gobject-introspection is too new
+  # https://cr.deepin.io/#/c/16880/
+  patch -d go-gir-generator-$pkgver -p1 -i ../SettingsBackendLike.patch
+}
+
+build() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  cd go-gir-generator-$pkgver
+  rm -r gogtk-demo
+  make
+
+  mv out/src/pkg.deepin.io/gir "$srcdir"/build/src/pkg.deepin.io/
+}
+
+check() {
+  # https://github.com/linuxdeepin/developer-center/issues/955
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  cd "$srcdir"/build/src/pkg.deepin.io/gir
+  go test -v $(go list ./...) || warning "Tests failed"
+
+  cd "$srcdir"/go-gir-generator-$pkgver
+  go run test/memory.go
+}
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/pkg.deepin.io
+  cp -a "$srcdir"/build/src/pkg.deepin.io/gir "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/
+}

Deleted: SettingsBackendLike.patch
===================================================================
--- SettingsBackendLike.patch	2019-04-16 13:28:36 UTC (rev 451781)
+++ SettingsBackendLike.patch	2019-04-16 13:28:57 UTC (rev 451782)
@@ -1,42 +0,0 @@
-From 55ad8df560b2a8aec3462e61edff781f11cf86a9 Mon Sep 17 00:00:00 2001
-From: jouyouyun <jouyouwen717 at gmail.com>
-Date: Mon, 24 Oct 2016 19:43:32 +0800
-Subject: [PATCH] Fix 'SettingsBackendLike' undefined
-
-Change-Id: I9b817b3a6ec26ce8023e26a6b2c7abc67074d53f
----
-
-diff --git a/lib.in/gio-2.0/config.json b/lib.in/gio-2.0/config.json
-index aaf75ed..7733140 100644
---- a/lib.in/gio-2.0/config.json
-+++ b/lib.in/gio-2.0/config.json
-@@ -35,6 +35,7 @@
- 			"AppLaunchContext",
- 			"Emblem",
- 			"Settings",
-+			"SettingsBackend",
- 			"FileMonitor",
- 			"FileInfo",
- 			"InputStream",
-@@ -52,7 +53,6 @@
- 			"FileAttributeInfoList",
- 			"FileAttributeMatcher",
- 			"ActionEntry",
--			"SettingsBackend",
- 			"MountIface",
- 			"OutputVector"
- 		    //"SettingsSchema"
-diff --git a/lib.in/glib-2.0/config.json b/lib.in/glib-2.0/config.json
-index 88a8314..4290004 100644
---- a/lib.in/glib-2.0/config.json
-+++ b/lib.in/glib-2.0/config.json
-@@ -11,7 +11,8 @@
- 	    "KeyFile",
- 	    "Variant",
- 	    "VariantType",
--	    "PollFD"
-+	    "PollFD",
-+	    "Tree"
- 	],
- 	"functions": [
- 	    "get_user_cache_dir",

Copied: golang-deepin-gir/repos/community-any/SettingsBackendLike.patch (from rev 451781, golang-deepin-gir/trunk/SettingsBackendLike.patch)
===================================================================
--- SettingsBackendLike.patch	                        (rev 0)
+++ SettingsBackendLike.patch	2019-04-16 13:28:57 UTC (rev 451782)
@@ -0,0 +1,42 @@
+From 55ad8df560b2a8aec3462e61edff781f11cf86a9 Mon Sep 17 00:00:00 2001
+From: jouyouyun <jouyouwen717 at gmail.com>
+Date: Mon, 24 Oct 2016 19:43:32 +0800
+Subject: [PATCH] Fix 'SettingsBackendLike' undefined
+
+Change-Id: I9b817b3a6ec26ce8023e26a6b2c7abc67074d53f
+---
+
+diff --git a/lib.in/gio-2.0/config.json b/lib.in/gio-2.0/config.json
+index aaf75ed..7733140 100644
+--- a/lib.in/gio-2.0/config.json
++++ b/lib.in/gio-2.0/config.json
+@@ -35,6 +35,7 @@
+ 			"AppLaunchContext",
+ 			"Emblem",
+ 			"Settings",
++			"SettingsBackend",
+ 			"FileMonitor",
+ 			"FileInfo",
+ 			"InputStream",
+@@ -52,7 +53,6 @@
+ 			"FileAttributeInfoList",
+ 			"FileAttributeMatcher",
+ 			"ActionEntry",
+-			"SettingsBackend",
+ 			"MountIface",
+ 			"OutputVector"
+ 		    //"SettingsSchema"
+diff --git a/lib.in/glib-2.0/config.json b/lib.in/glib-2.0/config.json
+index 88a8314..4290004 100644
+--- a/lib.in/glib-2.0/config.json
++++ b/lib.in/glib-2.0/config.json
+@@ -11,7 +11,8 @@
+ 	    "KeyFile",
+ 	    "Variant",
+ 	    "VariantType",
+-	    "PollFD"
++	    "PollFD",
++	    "Tree"
+ 	],
+ 	"functions": [
+ 	    "get_user_cache_dir",


More information about the arch-commits mailing list