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

Giovanni Scafora giovanni at archlinux.org
Sat Mar 3 09:06:13 EST 2012


    Date: Saturday, March 3, 2012 @ 09:06:13
  Author: giovanni
Revision: 151854

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

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

----------------------------------------------------+
 staging-i686/PKGBUILD                              |   53 +++++++++++++++++++
 staging-i686/gparted.install                       |   11 +++
 staging-i686/org.archlinux.pkexec.gparted.policy   |   20 +++++++
 staging-x86_64/PKGBUILD                            |   53 +++++++++++++++++++
 staging-x86_64/gparted.install                     |   11 +++
 staging-x86_64/org.archlinux.pkexec.gparted.policy |   20 +++++++
 6 files changed, 168 insertions(+)

Copied: gparted/repos/staging-i686/PKGBUILD (from rev 151853, gparted/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-03-03 14:06:13 UTC (rev 151854)
@@ -0,0 +1,53 @@
+# $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.12.0
+pkgrel=2
+pkgdesc="A Partition Magic clone, frontend to GNU Parted"
+arch=('i686' 'x86_64')
+url="http://gparted.sourceforge.net"
+license=('GPL')
+depends=('parted' 'gtkmm' 'libsigc++')
+makedepends=('intltool' 'pkg-config' 'gnome-doc-utils')
+optdepends=('dosfstools: for FAT16 and FAT32 partitions'
+            'jfsutils: for jfs partitions'
+            'ntfsprogs: 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')
+install=gparted.install
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2"
+        'org.archlinux.pkexec.gparted.policy')
+md5sums=('63a24677ff2ef0e62408ba684f233fab'
+         '27c264cfad8fa413d75954dda7a2dd50')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr
+  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
+  mkdir -p ${pkgdir}/usr/bin
+  echo '#!/bin/sh' > ${pkgdir}/usr/bin/gparted-pkexec
+  echo 'pkexec "/usr/sbin/gparted" "$@"' >> ${pkgdir}/usr/bin/gparted-pkexec
+  chmod 755 ${pkgdir}/usr/bin/gparted-pkexec
+
+  # Modify desktop file
+  sed -i -e "s/Exec=.*/Exec=gparted-pkexec/" ${pkgdir}/usr/share/applications/gparted.desktop
+}

Copied: gparted/repos/staging-i686/gparted.install (from rev 151853, gparted/trunk/gparted.install)
===================================================================
--- staging-i686/gparted.install	                        (rev 0)
+++ staging-i686/gparted.install	2012-03-03 14:06:13 UTC (rev 151854)
@@ -0,0 +1,11 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}

Copied: gparted/repos/staging-i686/org.archlinux.pkexec.gparted.policy (from rev 151853, gparted/trunk/org.archlinux.pkexec.gparted.policy)
===================================================================
--- staging-i686/org.archlinux.pkexec.gparted.policy	                        (rev 0)
+++ staging-i686/org.archlinux.pkexec.gparted.policy	2012-03-03 14:06:13 UTC (rev 151854)
@@ -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/sbin/gparted</annotate>
+    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+  </action>
+
+</policyconfig>
+

Copied: gparted/repos/staging-x86_64/PKGBUILD (from rev 151853, gparted/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-03-03 14:06:13 UTC (rev 151854)
@@ -0,0 +1,53 @@
+# $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.12.0
+pkgrel=2
+pkgdesc="A Partition Magic clone, frontend to GNU Parted"
+arch=('i686' 'x86_64')
+url="http://gparted.sourceforge.net"
+license=('GPL')
+depends=('parted' 'gtkmm' 'libsigc++')
+makedepends=('intltool' 'pkg-config' 'gnome-doc-utils')
+optdepends=('dosfstools: for FAT16 and FAT32 partitions'
+            'jfsutils: for jfs partitions'
+            'ntfsprogs: 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')
+install=gparted.install
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2"
+        'org.archlinux.pkexec.gparted.policy')
+md5sums=('63a24677ff2ef0e62408ba684f233fab'
+         '27c264cfad8fa413d75954dda7a2dd50')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr
+  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
+  mkdir -p ${pkgdir}/usr/bin
+  echo '#!/bin/sh' > ${pkgdir}/usr/bin/gparted-pkexec
+  echo 'pkexec "/usr/sbin/gparted" "$@"' >> ${pkgdir}/usr/bin/gparted-pkexec
+  chmod 755 ${pkgdir}/usr/bin/gparted-pkexec
+
+  # Modify desktop file
+  sed -i -e "s/Exec=.*/Exec=gparted-pkexec/" ${pkgdir}/usr/share/applications/gparted.desktop
+}

Copied: gparted/repos/staging-x86_64/gparted.install (from rev 151853, gparted/trunk/gparted.install)
===================================================================
--- staging-x86_64/gparted.install	                        (rev 0)
+++ staging-x86_64/gparted.install	2012-03-03 14:06:13 UTC (rev 151854)
@@ -0,0 +1,11 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}

Copied: gparted/repos/staging-x86_64/org.archlinux.pkexec.gparted.policy (from rev 151853, gparted/trunk/org.archlinux.pkexec.gparted.policy)
===================================================================
--- staging-x86_64/org.archlinux.pkexec.gparted.policy	                        (rev 0)
+++ staging-x86_64/org.archlinux.pkexec.gparted.policy	2012-03-03 14:06:13 UTC (rev 151854)
@@ -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/sbin/gparted</annotate>
+    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+  </action>
+
+</policyconfig>
+



More information about the arch-commits mailing list