[arch-commits] Commit in gparted/repos (8 files)

Christian Hesse eworm at archlinux.org
Wed Feb 15 06:56:30 UTC 2017


    Date: Wednesday, February 15, 2017 @ 06:56:30
  Author: eworm
Revision: 289003

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

Added:
  gparted/repos/testing-i686/
  gparted/repos/testing-i686/PKGBUILD
    (from rev 289002, gparted/trunk/PKGBUILD)
  gparted/repos/testing-i686/gparted_polkit
    (from rev 289002, gparted/trunk/gparted_polkit)
  gparted/repos/testing-i686/org.archlinux.pkexec.gparted.policy
    (from rev 289002, gparted/trunk/org.archlinux.pkexec.gparted.policy)
  gparted/repos/testing-x86_64/
  gparted/repos/testing-x86_64/PKGBUILD
    (from rev 289002, gparted/trunk/PKGBUILD)
  gparted/repos/testing-x86_64/gparted_polkit
    (from rev 289002, gparted/trunk/gparted_polkit)
  gparted/repos/testing-x86_64/org.archlinux.pkexec.gparted.policy
    (from rev 289002, gparted/trunk/org.archlinux.pkexec.gparted.policy)

----------------------------------------------------+
 testing-i686/PKGBUILD                              |   64 +++++++++++++++++++
 testing-i686/gparted_polkit                        |    6 +
 testing-i686/org.archlinux.pkexec.gparted.policy   |   20 +++++
 testing-x86_64/PKGBUILD                            |   64 +++++++++++++++++++
 testing-x86_64/gparted_polkit                      |    6 +
 testing-x86_64/org.archlinux.pkexec.gparted.policy |   20 +++++
 6 files changed, 180 insertions(+)

Copied: gparted/repos/testing-i686/PKGBUILD (from rev 289002, gparted/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-02-15 06:56:30 UTC (rev 289003)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=gparted
+pkgver=0.28.0
+pkgrel=1
+pkgdesc="A Partition Magic clone, frontend to GNU Parted"
+arch=('i686' 'x86_64')
+url="http://gparted.sourceforge.net"
+license=('GPL')
+depends=('parted' 'gtkmm')
+makedepends=('intltool' 'pkg-config' 'gnome-doc-utils')
+optdepends=('dosfstools: for FAT16 and FAT32 partitions'
+            'jfsutils: for jfs partitions'
+            'f2fs-tools: for Flash-Friendly File System'
+            'btrfs-progs: for btrfs partitions'
+            'exfat-utils: for exFAT partitions'
+            'ntfs-3g: for ntfs partitions'
+            'reiserfsprogs: for reiser partitions'
+            'xfsprogs: for xfs partitions'
+            'nilfs-utils: for nilfs2 support'
+            'polkit: to run gparted directly from menu'
+            'gpart: for recovering corrupt partition tables'
+            'mtools: utilities to access MS-DOS disks')
+validpgpkeys=('BB09FFB87563FA2E1A22146817A6D3FF338C9570') # "Curtis Gedak <gedakc at gmail.com>"
+source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig}
+        'org.archlinux.pkexec.gparted.policy'
+        'gparted_polkit')
+sha256sums=('b9fd46398c50b9c11124c93c1d63ba8e91a4df0ab4afb14ca2275f67e0d53df1'
+            'SKIP'
+            'c9fcdc9e0e0ec1d309d964c9768f9060a31e744926240985069c5e24e5e81ded'
+            '7b76a2f6708cdd788782206b59e2ebfc21122cc9c05ec2e3fa78bd1044c1e6d3')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --sbindir=/usr/bin \
+              --enable-online-resize \
+              --enable-libparted-dmraid
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  # Install policy file
+  install -Dm644 "${srcdir}/org.archlinux.pkexec.gparted.policy" \
+                 "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy"
+
+  # Install launcher script
+  install -m755 "${srcdir}/gparted_polkit" \
+                "${pkgdir}/usr/bin/gparted_polkit"
+}

Copied: gparted/repos/testing-i686/gparted_polkit (from rev 289002, gparted/trunk/gparted_polkit)
===================================================================
--- testing-i686/gparted_polkit	                        (rev 0)
+++ testing-i686/gparted_polkit	2017-02-15 06:56:30 UTC (rev 289003)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ $(which pkexec) ]; then
+	pkexec --disable-internal-agent "/usr/bin/gparted" "$@"
+else
+	/usr/bin/gparted "$@"
+fi

Copied: gparted/repos/testing-i686/org.archlinux.pkexec.gparted.policy (from rev 289002, gparted/trunk/org.archlinux.pkexec.gparted.policy)
===================================================================
--- testing-i686/org.archlinux.pkexec.gparted.policy	                        (rev 0)
+++ testing-i686/org.archlinux.pkexec.gparted.policy	2017-02-15 06:56:30 UTC (rev 289003)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+
+  <action id="org.archlinux.pkexec.gparted">
+    <message>Authentication is required to run the GParted Partition Editor</message>
+    <icon_name>gparted</icon_name>
+    <defaults>
+      <allow_any>auth_admin</allow_any>
+      <allow_inactive>auth_admin</allow_inactive>
+      <allow_active>auth_admin</allow_active>
+    </defaults>
+    <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/gparted</annotate>
+    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+  </action>
+
+</policyconfig>
+

Copied: gparted/repos/testing-x86_64/PKGBUILD (from rev 289002, gparted/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-02-15 06:56:30 UTC (rev 289003)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=gparted
+pkgver=0.28.0
+pkgrel=1
+pkgdesc="A Partition Magic clone, frontend to GNU Parted"
+arch=('i686' 'x86_64')
+url="http://gparted.sourceforge.net"
+license=('GPL')
+depends=('parted' 'gtkmm')
+makedepends=('intltool' 'pkg-config' 'gnome-doc-utils')
+optdepends=('dosfstools: for FAT16 and FAT32 partitions'
+            'jfsutils: for jfs partitions'
+            'f2fs-tools: for Flash-Friendly File System'
+            'btrfs-progs: for btrfs partitions'
+            'exfat-utils: for exFAT partitions'
+            'ntfs-3g: for ntfs partitions'
+            'reiserfsprogs: for reiser partitions'
+            'xfsprogs: for xfs partitions'
+            'nilfs-utils: for nilfs2 support'
+            'polkit: to run gparted directly from menu'
+            'gpart: for recovering corrupt partition tables'
+            'mtools: utilities to access MS-DOS disks')
+validpgpkeys=('BB09FFB87563FA2E1A22146817A6D3FF338C9570') # "Curtis Gedak <gedakc at gmail.com>"
+source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig}
+        'org.archlinux.pkexec.gparted.policy'
+        'gparted_polkit')
+sha256sums=('b9fd46398c50b9c11124c93c1d63ba8e91a4df0ab4afb14ca2275f67e0d53df1'
+            'SKIP'
+            'c9fcdc9e0e0ec1d309d964c9768f9060a31e744926240985069c5e24e5e81ded'
+            '7b76a2f6708cdd788782206b59e2ebfc21122cc9c05ec2e3fa78bd1044c1e6d3')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --sbindir=/usr/bin \
+              --enable-online-resize \
+              --enable-libparted-dmraid
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  # Install policy file
+  install -Dm644 "${srcdir}/org.archlinux.pkexec.gparted.policy" \
+                 "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy"
+
+  # Install launcher script
+  install -m755 "${srcdir}/gparted_polkit" \
+                "${pkgdir}/usr/bin/gparted_polkit"
+}

Copied: gparted/repos/testing-x86_64/gparted_polkit (from rev 289002, gparted/trunk/gparted_polkit)
===================================================================
--- testing-x86_64/gparted_polkit	                        (rev 0)
+++ testing-x86_64/gparted_polkit	2017-02-15 06:56:30 UTC (rev 289003)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ $(which pkexec) ]; then
+	pkexec --disable-internal-agent "/usr/bin/gparted" "$@"
+else
+	/usr/bin/gparted "$@"
+fi

Copied: gparted/repos/testing-x86_64/org.archlinux.pkexec.gparted.policy (from rev 289002, gparted/trunk/org.archlinux.pkexec.gparted.policy)
===================================================================
--- testing-x86_64/org.archlinux.pkexec.gparted.policy	                        (rev 0)
+++ testing-x86_64/org.archlinux.pkexec.gparted.policy	2017-02-15 06:56:30 UTC (rev 289003)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+
+  <action id="org.archlinux.pkexec.gparted">
+    <message>Authentication is required to run the GParted Partition Editor</message>
+    <icon_name>gparted</icon_name>
+    <defaults>
+      <allow_any>auth_admin</allow_any>
+      <allow_inactive>auth_admin</allow_inactive>
+      <allow_active>auth_admin</allow_active>
+    </defaults>
+    <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/gparted</annotate>
+    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+  </action>
+
+</policyconfig>
+



More information about the arch-commits mailing list