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

Anatol Pomozov anatolik at archlinux.org
Mon Feb 15 19:03:18 UTC 2016


    Date: Monday, February 15, 2016 @ 20:03:18
  Author: anatolik
Revision: 259334

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

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

----------------------------------------------------+
 testing-i686/PKGBUILD                              |   65 +++++++++++++++++++
 testing-i686/gparted.install                       |   11 +++
 testing-i686/gparted_polkit                        |    6 +
 testing-i686/org.archlinux.pkexec.gparted.policy   |   20 +++++
 testing-x86_64/PKGBUILD                            |   65 +++++++++++++++++++
 testing-x86_64/gparted.install                     |   11 +++
 testing-x86_64/gparted_polkit                      |    6 +
 testing-x86_64/org.archlinux.pkexec.gparted.policy |   20 +++++
 8 files changed, 204 insertions(+)

Copied: gparted/repos/testing-i686/PKGBUILD (from rev 259333, gparted/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-02-15 19:03:18 UTC (rev 259334)
@@ -0,0 +1,65 @@
+# $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.25.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')
+install=gparted.install
+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=('eceb8dd687705142e725119ad76484a6'
+         '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.install (from rev 259333, gparted/trunk/gparted.install)
===================================================================
--- testing-i686/gparted.install	                        (rev 0)
+++ testing-i686/gparted.install	2016-02-15 19:03:18 UTC (rev 259334)
@@ -0,0 +1,11 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: gparted/repos/testing-i686/gparted_polkit (from rev 259333, gparted/trunk/gparted_polkit)
===================================================================
--- testing-i686/gparted_polkit	                        (rev 0)
+++ testing-i686/gparted_polkit	2016-02-15 19:03:18 UTC (rev 259334)
@@ -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 259333, gparted/trunk/org.archlinux.pkexec.gparted.policy)
===================================================================
--- testing-i686/org.archlinux.pkexec.gparted.policy	                        (rev 0)
+++ testing-i686/org.archlinux.pkexec.gparted.policy	2016-02-15 19:03:18 UTC (rev 259334)
@@ -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 259333, gparted/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-02-15 19:03:18 UTC (rev 259334)
@@ -0,0 +1,65 @@
+# $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.25.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')
+install=gparted.install
+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=('eceb8dd687705142e725119ad76484a6'
+         '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.install (from rev 259333, gparted/trunk/gparted.install)
===================================================================
--- testing-x86_64/gparted.install	                        (rev 0)
+++ testing-x86_64/gparted.install	2016-02-15 19:03:18 UTC (rev 259334)
@@ -0,0 +1,11 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: gparted/repos/testing-x86_64/gparted_polkit (from rev 259333, gparted/trunk/gparted_polkit)
===================================================================
--- testing-x86_64/gparted_polkit	                        (rev 0)
+++ testing-x86_64/gparted_polkit	2016-02-15 19:03:18 UTC (rev 259334)
@@ -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 259333, 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-02-15 19:03:18 UTC (rev 259334)
@@ -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