[arch-commits] Commit in gnome-packagekit/repos (6 files)

Christian Hesse eworm at archlinux.org
Wed Jun 7 18:07:35 UTC 2017


    Date: Wednesday, June 7, 2017 @ 18:07:33
  Author: eworm
Revision: 235376

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

Added:
  gnome-packagekit/repos/community-testing-i686/
  gnome-packagekit/repos/community-testing-i686/0001-alpm-hooks.patch
    (from rev 235375, gnome-packagekit/trunk/0001-alpm-hooks.patch)
  gnome-packagekit/repos/community-testing-i686/PKGBUILD
    (from rev 235375, gnome-packagekit/trunk/PKGBUILD)
  gnome-packagekit/repos/community-testing-x86_64/
  gnome-packagekit/repos/community-testing-x86_64/0001-alpm-hooks.patch
    (from rev 235375, gnome-packagekit/trunk/0001-alpm-hooks.patch)
  gnome-packagekit/repos/community-testing-x86_64/PKGBUILD
    (from rev 235375, gnome-packagekit/trunk/PKGBUILD)

------------------------------------------------+
 community-testing-i686/0001-alpm-hooks.patch   |   38 ++++++++++++++++++++
 community-testing-i686/PKGBUILD                |   42 +++++++++++++++++++++++
 community-testing-x86_64/0001-alpm-hooks.patch |   38 ++++++++++++++++++++
 community-testing-x86_64/PKGBUILD              |   42 +++++++++++++++++++++++
 4 files changed, 160 insertions(+)

Copied: gnome-packagekit/repos/community-testing-i686/0001-alpm-hooks.patch (from rev 235375, gnome-packagekit/trunk/0001-alpm-hooks.patch)
===================================================================
--- community-testing-i686/0001-alpm-hooks.patch	                        (rev 0)
+++ community-testing-i686/0001-alpm-hooks.patch	2017-06-07 18:07:33 UTC (rev 235376)
@@ -0,0 +1,38 @@
+From 25da5747d55adceb7ccebba4e82af295eb397cb7 Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail at eworm.de>
+Date: Thu, 1 Jun 2017 16:15:59 +0200
+Subject: Add new status "Running hooks"
+
+Signed-off-by: Christian Hesse <mail at eworm.de>
+Signed-off-by: Richard Hughes <richard at hughsie.com>
+---
+ src/gpk-enum.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/src/gpk-enum.c b/src/gpk-enum.c
+index 09a1118..2bf8af5 100644
+--- a/src/gpk-enum.c
++++ b/src/gpk-enum.c
+@@ -95,6 +95,9 @@ static const PkEnumMatch enum_status_icon_name[] = {
+ 	{PK_STATUS_ENUM_CHECK_EXECUTABLE_FILES,	"pk-package-info"},
+ 	{PK_STATUS_ENUM_CHECK_LIBRARIES,	"pk-package-info"},
+ 	{PK_STATUS_ENUM_COPY_FILES,		"pk-package-info"},
++#if PK_CHECK_VERSION(1,1,6)
++	{PK_STATUS_ENUM_RUN_HOOK,		"pk-setup"},
++#endif
+ 	{0, NULL}
+ };
+ 
+@@ -888,6 +891,12 @@ gpk_status_enum_to_localised_text (PkStatusEnum status)
+ 		/* TRANSLATORS: we are copying package files to prepare to install */
+ 		text = _("Copying files");
+ 		break;
++#if PK_CHECK_VERSION(1,1,6)
++	case PK_STATUS_ENUM_RUN_HOOK:
++		/* TRANSLATORS: we are running hooks pre or post transaction */
++		text = _("Running hooks");
++		break;
++#endif
+ 	default:
+ 		g_warning ("status unrecognized: %s", pk_status_enum_to_string (status));
+ 	}

Copied: gnome-packagekit/repos/community-testing-i686/PKGBUILD (from rev 235375, gnome-packagekit/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-06-07 18:07:33 UTC (rev 235376)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jonathan Conder <jonno.conder at gmail.com>
+
+pkgname=gnome-packagekit
+pkgver=3.24.0
+pkgrel=2
+pkgdesc='Collection of graphical tools for PackageKit to be used in the GNOME desktop'
+arch=('i686' 'x86_64')
+url='http://www.packagekit.org/'
+license=('GPL')
+depends=('desktop-file-utils' 'gtk3' 'libnotify' 'packagekit')
+makedepends=('intltool' 'itstool' 'docbook-xsl' 'libcanberra')
+source=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+        '0001-alpm-hooks.patch')
+sha256sums=('8d038681f6879c93f3f58faaa37c41c7ac8cf53eba6b8cb871f5f683ac0bd13f'
+            '97ccebcf0146a72876a4a6a9f88b5fa15b6d7f8cd915bd98c760f42d9f139c80')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	patch -Np1 < "${srcdir}"/0001-alpm-hooks.patch
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	./configure --prefix=/usr \
+		--sysconfdir=/etc \
+		--disable-schemas-compile \
+		--disable-gtk-doc
+	sed -i 's|docbook2man|docbook2man --sgml|' man/Makefile
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+}
+

Copied: gnome-packagekit/repos/community-testing-x86_64/0001-alpm-hooks.patch (from rev 235375, gnome-packagekit/trunk/0001-alpm-hooks.patch)
===================================================================
--- community-testing-x86_64/0001-alpm-hooks.patch	                        (rev 0)
+++ community-testing-x86_64/0001-alpm-hooks.patch	2017-06-07 18:07:33 UTC (rev 235376)
@@ -0,0 +1,38 @@
+From 25da5747d55adceb7ccebba4e82af295eb397cb7 Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail at eworm.de>
+Date: Thu, 1 Jun 2017 16:15:59 +0200
+Subject: Add new status "Running hooks"
+
+Signed-off-by: Christian Hesse <mail at eworm.de>
+Signed-off-by: Richard Hughes <richard at hughsie.com>
+---
+ src/gpk-enum.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/src/gpk-enum.c b/src/gpk-enum.c
+index 09a1118..2bf8af5 100644
+--- a/src/gpk-enum.c
++++ b/src/gpk-enum.c
+@@ -95,6 +95,9 @@ static const PkEnumMatch enum_status_icon_name[] = {
+ 	{PK_STATUS_ENUM_CHECK_EXECUTABLE_FILES,	"pk-package-info"},
+ 	{PK_STATUS_ENUM_CHECK_LIBRARIES,	"pk-package-info"},
+ 	{PK_STATUS_ENUM_COPY_FILES,		"pk-package-info"},
++#if PK_CHECK_VERSION(1,1,6)
++	{PK_STATUS_ENUM_RUN_HOOK,		"pk-setup"},
++#endif
+ 	{0, NULL}
+ };
+ 
+@@ -888,6 +891,12 @@ gpk_status_enum_to_localised_text (PkStatusEnum status)
+ 		/* TRANSLATORS: we are copying package files to prepare to install */
+ 		text = _("Copying files");
+ 		break;
++#if PK_CHECK_VERSION(1,1,6)
++	case PK_STATUS_ENUM_RUN_HOOK:
++		/* TRANSLATORS: we are running hooks pre or post transaction */
++		text = _("Running hooks");
++		break;
++#endif
+ 	default:
+ 		g_warning ("status unrecognized: %s", pk_status_enum_to_string (status));
+ 	}

Copied: gnome-packagekit/repos/community-testing-x86_64/PKGBUILD (from rev 235375, gnome-packagekit/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-06-07 18:07:33 UTC (rev 235376)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jonathan Conder <jonno.conder at gmail.com>
+
+pkgname=gnome-packagekit
+pkgver=3.24.0
+pkgrel=2
+pkgdesc='Collection of graphical tools for PackageKit to be used in the GNOME desktop'
+arch=('i686' 'x86_64')
+url='http://www.packagekit.org/'
+license=('GPL')
+depends=('desktop-file-utils' 'gtk3' 'libnotify' 'packagekit')
+makedepends=('intltool' 'itstool' 'docbook-xsl' 'libcanberra')
+source=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+        '0001-alpm-hooks.patch')
+sha256sums=('8d038681f6879c93f3f58faaa37c41c7ac8cf53eba6b8cb871f5f683ac0bd13f'
+            '97ccebcf0146a72876a4a6a9f88b5fa15b6d7f8cd915bd98c760f42d9f139c80')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	patch -Np1 < "${srcdir}"/0001-alpm-hooks.patch
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	./configure --prefix=/usr \
+		--sysconfdir=/etc \
+		--disable-schemas-compile \
+		--disable-gtk-doc
+	sed -i 's|docbook2man|docbook2man --sgml|' man/Makefile
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+}
+



More information about the arch-commits mailing list