[arch-commits] Commit in gparted/repos (8 files)
Christian Hesse
eworm at archlinux.org
Wed Oct 19 15:47:21 UTC 2016
Date: Wednesday, October 19, 2016 @ 15:47:21
Author: eworm
Revision: 279004
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
gparted/repos/community-testing-i686/
gparted/repos/community-testing-i686/PKGBUILD
(from rev 279003, gparted/trunk/PKGBUILD)
gparted/repos/community-testing-i686/gparted_polkit
(from rev 279003, gparted/trunk/gparted_polkit)
gparted/repos/community-testing-i686/org.archlinux.pkexec.gparted.policy
(from rev 279003, gparted/trunk/org.archlinux.pkexec.gparted.policy)
gparted/repos/community-testing-x86_64/
gparted/repos/community-testing-x86_64/PKGBUILD
(from rev 279003, gparted/trunk/PKGBUILD)
gparted/repos/community-testing-x86_64/gparted_polkit
(from rev 279003, gparted/trunk/gparted_polkit)
gparted/repos/community-testing-x86_64/org.archlinux.pkexec.gparted.policy
(from rev 279003, gparted/trunk/org.archlinux.pkexec.gparted.policy)
--------------------------------------------------------------+
community-testing-i686/PKGBUILD | 64 ++++++++++
community-testing-i686/gparted_polkit | 6
community-testing-i686/org.archlinux.pkexec.gparted.policy | 20 +++
community-testing-x86_64/PKGBUILD | 64 ++++++++++
community-testing-x86_64/gparted_polkit | 6
community-testing-x86_64/org.archlinux.pkexec.gparted.policy | 20 +++
6 files changed, 180 insertions(+)
Copied: gparted/repos/community-testing-i686/PKGBUILD (from rev 279003, gparted/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-10-19 15:47:21 UTC (rev 279004)
@@ -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.27.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=('208cf60c061b86bee4f658d568a3b5d843dce3ab9847f66b452298268799e7bd'
+ '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/community-testing-i686/gparted_polkit (from rev 279003, gparted/trunk/gparted_polkit)
===================================================================
--- community-testing-i686/gparted_polkit (rev 0)
+++ community-testing-i686/gparted_polkit 2016-10-19 15:47:21 UTC (rev 279004)
@@ -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/community-testing-i686/org.archlinux.pkexec.gparted.policy (from rev 279003, gparted/trunk/org.archlinux.pkexec.gparted.policy)
===================================================================
--- community-testing-i686/org.archlinux.pkexec.gparted.policy (rev 0)
+++ community-testing-i686/org.archlinux.pkexec.gparted.policy 2016-10-19 15:47:21 UTC (rev 279004)
@@ -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/community-testing-x86_64/PKGBUILD (from rev 279003, gparted/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-10-19 15:47:21 UTC (rev 279004)
@@ -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.27.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=('208cf60c061b86bee4f658d568a3b5d843dce3ab9847f66b452298268799e7bd'
+ '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/community-testing-x86_64/gparted_polkit (from rev 279003, gparted/trunk/gparted_polkit)
===================================================================
--- community-testing-x86_64/gparted_polkit (rev 0)
+++ community-testing-x86_64/gparted_polkit 2016-10-19 15:47:21 UTC (rev 279004)
@@ -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/community-testing-x86_64/org.archlinux.pkexec.gparted.policy (from rev 279003, gparted/trunk/org.archlinux.pkexec.gparted.policy)
===================================================================
--- community-testing-x86_64/org.archlinux.pkexec.gparted.policy (rev 0)
+++ community-testing-x86_64/org.archlinux.pkexec.gparted.policy 2016-10-19 15:47:21 UTC (rev 279004)
@@ -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