[arch-commits] Commit in gparted/repos (8 files)
Christian Hesse
eworm at archlinux.org
Tue Jun 14 14:16:19 UTC 2016
Date: Tuesday, June 14, 2016 @ 14:16:19
Author: eworm
Revision: 269494
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
gparted/repos/testing-i686/
gparted/repos/testing-i686/PKGBUILD
(from rev 269493, gparted/trunk/PKGBUILD)
gparted/repos/testing-i686/gparted_polkit
(from rev 269493, gparted/trunk/gparted_polkit)
gparted/repos/testing-i686/org.archlinux.pkexec.gparted.policy
(from rev 269493, gparted/trunk/org.archlinux.pkexec.gparted.policy)
gparted/repos/testing-x86_64/
gparted/repos/testing-x86_64/PKGBUILD
(from rev 269493, gparted/trunk/PKGBUILD)
gparted/repos/testing-x86_64/gparted_polkit
(from rev 269493, gparted/trunk/gparted_polkit)
gparted/repos/testing-x86_64/org.archlinux.pkexec.gparted.policy
(from rev 269493, 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 269493, gparted/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-06-14 14:16:19 UTC (rev 269494)
@@ -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.26.1
+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')
+source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig}
+ 'org.archlinux.pkexec.gparted.policy'
+ 'gparted_polkit')
+validpgpkeys=(BB09FFB87563FA2E1A22146817A6D3FF338C9570) # "Curtis Gedak <gedakc at gmail.com>"
+md5sums=('b9c5f6b5ffd37400bd4bf5929e9b1781'
+ 'SKIP'
+ '122ed3120c846376bead22b25f6a3b19'
+ '0b68a4e2bc6bc15440730ebe2d7bf9f6')
+
+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 269493, gparted/trunk/gparted_polkit)
===================================================================
--- testing-i686/gparted_polkit (rev 0)
+++ testing-i686/gparted_polkit 2016-06-14 14:16:19 UTC (rev 269494)
@@ -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 269493, gparted/trunk/org.archlinux.pkexec.gparted.policy)
===================================================================
--- testing-i686/org.archlinux.pkexec.gparted.policy (rev 0)
+++ testing-i686/org.archlinux.pkexec.gparted.policy 2016-06-14 14:16:19 UTC (rev 269494)
@@ -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 269493, gparted/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-06-14 14:16:19 UTC (rev 269494)
@@ -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.26.1
+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')
+source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig}
+ 'org.archlinux.pkexec.gparted.policy'
+ 'gparted_polkit')
+validpgpkeys=(BB09FFB87563FA2E1A22146817A6D3FF338C9570) # "Curtis Gedak <gedakc at gmail.com>"
+md5sums=('b9c5f6b5ffd37400bd4bf5929e9b1781'
+ 'SKIP'
+ '122ed3120c846376bead22b25f6a3b19'
+ '0b68a4e2bc6bc15440730ebe2d7bf9f6')
+
+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 269493, gparted/trunk/gparted_polkit)
===================================================================
--- testing-x86_64/gparted_polkit (rev 0)
+++ testing-x86_64/gparted_polkit 2016-06-14 14:16:19 UTC (rev 269494)
@@ -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 269493, 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 2016-06-14 14:16:19 UTC (rev 269494)
@@ -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