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

Felix Yan felixonmars at archlinux.org
Fri Oct 28 04:50:59 UTC 2016


    Date: Friday, October 28, 2016 @ 04:50:59
  Author: felixonmars
Revision: 193843

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

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

--------------------------------------------+
 /PKGBUILD                                  |   74 +++++++++++++++++++++++++++
 community-i686/PKGBUILD                    |   29 ----------
 community-i686/SettingsBackendLike.patch   |   42 +++++++++++++++
 community-x86_64/PKGBUILD                  |   29 ----------
 community-x86_64/SettingsBackendLike.patch |   42 +++++++++++++++
 5 files changed, 158 insertions(+), 58 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-10-28 04:49:23 UTC (rev 193842)
+++ community-i686/PKGBUILD	2016-10-28 04:50:59 UTC (rev 193843)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=deepin-gir-generator
-pkgver=0.9.6
-pkgrel=1
-pkgdesc='Generate static golang bindings for GObject'
-arch=('i686' 'x86_64')
-url="https://gitcafe.com/Deepin/go-gir-generator"
-license=('GPL3')
-depends=('gobject-introspection' 'gcc-libs>=5.3.0-3')
-makedepends=('git' 'gcc-go')
-source=("git+https://cr.deepin.io/go-gir-generator.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  export GOPATH="$srcdir/go-gir-generator/vender:$srcdir/go-gir-generator"
-}
-
-build() {
-  cd go-gir-generator/src/gir-generator
-  go build -gccgoflags "$(pkg-config --libs gobject-introspection-1.0) $CFLAGS $LDFLAGS" -o gir-generator
-}
-
-package() {
-  install -Dm 755 go-gir-generator/src/gir-generator/gir-generator "${pkgdir}"/usr/bin/gir-generator
-}

Copied: deepin-gir-generator/repos/community-i686/PKGBUILD (from rev 193842, deepin-gir-generator/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-28 04:50:59 UTC (rev 193843)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-gir-generator
+pkgver=0.9.6
+pkgrel=2
+pkgdesc='Generate static golang bindings for GObject'
+arch=('i686' 'x86_64')
+url="https://gitcafe.com/Deepin/go-gir-generator"
+license=('GPL3')
+depends=('gobject-introspection' 'libgudev')
+makedepends=('git' 'go')
+source=("git+https://cr.deepin.io/go-gir-generator.git#tag=$pkgver"
+        SettingsBackendLike.patch)
+md5sums=('SKIP'
+         'bf367edebfc344b050d35fd0fb56212d')
+
+prepare() {
+  export GOPATH="$srcdir/go-gir-generator/vender:$srcdir/go-gir-generator"
+
+  cd go-gir-generator
+  # Our gobject-introspection is too new
+  # https://cr.deepin.io/#/c/16880/
+  patch -p1 -i ../SettingsBackendLike.patch
+}
+
+build() {
+  cd go-gir-generator
+  make
+}
+
+package() {
+  cd go-gir-generator
+  make DESTDIR="$pkgdir" install
+}

Copied: deepin-gir-generator/repos/community-i686/SettingsBackendLike.patch (from rev 193842, deepin-gir-generator/trunk/SettingsBackendLike.patch)
===================================================================
--- community-i686/SettingsBackendLike.patch	                        (rev 0)
+++ community-i686/SettingsBackendLike.patch	2016-10-28 04:50:59 UTC (rev 193843)
@@ -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"
+ 			//"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",

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-10-28 04:49:23 UTC (rev 193842)
+++ community-x86_64/PKGBUILD	2016-10-28 04:50:59 UTC (rev 193843)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=deepin-gir-generator
-pkgver=0.9.6
-pkgrel=1
-pkgdesc='Generate static golang bindings for GObject'
-arch=('i686' 'x86_64')
-url="https://gitcafe.com/Deepin/go-gir-generator"
-license=('GPL3')
-depends=('gobject-introspection' 'gcc-libs>=5.3.0-3')
-makedepends=('git' 'gcc-go')
-source=("git+https://cr.deepin.io/go-gir-generator.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  export GOPATH="$srcdir/go-gir-generator/vender:$srcdir/go-gir-generator"
-}
-
-build() {
-  cd go-gir-generator/src/gir-generator
-  go build -gccgoflags "$(pkg-config --libs gobject-introspection-1.0) $CFLAGS $LDFLAGS" -o gir-generator
-}
-
-package() {
-  install -Dm 755 go-gir-generator/src/gir-generator/gir-generator "${pkgdir}"/usr/bin/gir-generator
-}

Copied: deepin-gir-generator/repos/community-x86_64/PKGBUILD (from rev 193842, deepin-gir-generator/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-28 04:50:59 UTC (rev 193843)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-gir-generator
+pkgver=0.9.6
+pkgrel=2
+pkgdesc='Generate static golang bindings for GObject'
+arch=('i686' 'x86_64')
+url="https://gitcafe.com/Deepin/go-gir-generator"
+license=('GPL3')
+depends=('gobject-introspection' 'libgudev')
+makedepends=('git' 'go')
+source=("git+https://cr.deepin.io/go-gir-generator.git#tag=$pkgver"
+        SettingsBackendLike.patch)
+md5sums=('SKIP'
+         'bf367edebfc344b050d35fd0fb56212d')
+
+prepare() {
+  export GOPATH="$srcdir/go-gir-generator/vender:$srcdir/go-gir-generator"
+
+  cd go-gir-generator
+  # Our gobject-introspection is too new
+  # https://cr.deepin.io/#/c/16880/
+  patch -p1 -i ../SettingsBackendLike.patch
+}
+
+build() {
+  cd go-gir-generator
+  make
+}
+
+package() {
+  cd go-gir-generator
+  make DESTDIR="$pkgdir" install
+}

Copied: deepin-gir-generator/repos/community-x86_64/SettingsBackendLike.patch (from rev 193842, deepin-gir-generator/trunk/SettingsBackendLike.patch)
===================================================================
--- community-x86_64/SettingsBackendLike.patch	                        (rev 0)
+++ community-x86_64/SettingsBackendLike.patch	2016-10-28 04:50:59 UTC (rev 193843)
@@ -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"
+ 			//"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