Date: Friday, March 9, 2018 @ 07:42:07
  Author: felixonmars
Revision: 305040

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-gir-generator/repos/community-testing-x86_64/
  deepin-gir-generator/repos/community-testing-x86_64/PKGBUILD
    (from rev 305039, deepin-gir-generator/trunk/PKGBUILD)
  deepin-gir-generator/repos/community-testing-x86_64/SettingsBackendLike.patch
    (from rev 305039, deepin-gir-generator/trunk/SettingsBackendLike.patch)

---------------------------+
 PKGBUILD                  |   37 +++++++++++++++++++++++++++++++++++++
 SettingsBackendLike.patch |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

Copied: deepin-gir-generator/repos/community-testing-x86_64/PKGBUILD (from rev 
305039, deepin-gir-generator/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-03-09 07:42:07 UTC (rev 305040)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-gir-generator
+pkgver=1.0.3
+pkgrel=1
+pkgdesc='Generate static golang bindings for GObject'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/go-gir-generator";
+license=('GPL3')
+depends=('gobject-introspection' 'libgudev')
+makedepends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-gir-generator/archive/$pkgver.tar.gz";
+        SettingsBackendLike.patch)
+sha512sums=('60bbd343c6a0ba2b5e5eee40b52c54997e8599a07275bc3613f5557829f074dc963efd04a5ff5d7a9167eeb394b3b26c0b8f9ace13debdedf3b77c8a7d57cc5b'
+            
'b36b10c01afb33f7bb054a928d4c5e0a017fac35e38992fe441bfcb9224b3aebd55e77a2f740a7b439221694f103a0edd102bd9bc0ef72a45512514886a90ea8')
+
+prepare() {
+  export GOPATH="$srcdir/go-gir-generator/vender:$srcdir/go-gir-generator"
+
+  cd go-gir-generator-$pkgver
+  # Our gobject-introspection is too new
+  # https://cr.deepin.io/#/c/16880/
+  patch -p1 -i ../SettingsBackendLike.patch
+}
+
+build() {
+  cd go-gir-generator-$pkgver
+  make
+}
+
+package() {
+  cd go-gir-generator-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: 
deepin-gir-generator/repos/community-testing-x86_64/SettingsBackendLike.patch 
(from rev 305039, deepin-gir-generator/trunk/SettingsBackendLike.patch)
===================================================================
--- community-testing-x86_64/SettingsBackendLike.patch                          
(rev 0)
+++ community-testing-x86_64/SettingsBackendLike.patch  2018-03-09 07:42:07 UTC 
(rev 305040)
@@ -0,0 +1,42 @@
+From 55ad8df560b2a8aec3462e61edff781f11cf86a9 Mon Sep 17 00:00:00 2001
+From: jouyouyun <[email protected]>
+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"
+                       //"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",

Reply via email to