From 7de5b7a4243375442f1522848d2ad68594cb9a33 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 4 Feb 2016 09:53:29 +0700 Subject: system/gparted: Removed (Included in 14.2). Signed-off-by: Willy Sudiarto Raharjo --- system/gparted/README | 8 -- system/gparted/com.slackware.pkexec.gparted.policy | 20 ---- system/gparted/doinst.sh | 10 -- system/gparted/gparted.SlackBuild | 103 --------------------- system/gparted/gparted.info | 10 -- system/gparted/gparted_polkit | 6 -- system/gparted/slack-desc | 19 ---- 7 files changed, 176 deletions(-) delete mode 100644 system/gparted/README delete mode 100644 system/gparted/com.slackware.pkexec.gparted.policy delete mode 100644 system/gparted/doinst.sh delete mode 100644 system/gparted/gparted.SlackBuild delete mode 100644 system/gparted/gparted.info delete mode 100644 system/gparted/gparted_polkit delete mode 100644 system/gparted/slack-desc diff --git a/system/gparted/README b/system/gparted/README deleted file mode 100644 index 6689c5e50c..0000000000 --- a/system/gparted/README +++ /dev/null @@ -1,8 +0,0 @@ -GParted uses GNU libparted to detect and manipulate devices and partition -tables. Several (optional) "file system" tools provide support for file -systems not included in libparted. These optional packages will be detected -at runtime and do not require a rebuild of GParted. GParted is written in -C++ and uses gtkmm for it's Graphical User Interface (GUI). - -gpart is an optional runtime dependency for using the 'Attempt Data Rescue' -function found in the 'Device' tab. diff --git a/system/gparted/com.slackware.pkexec.gparted.policy b/system/gparted/com.slackware.pkexec.gparted.policy deleted file mode 100644 index 2981762ef8..0000000000 --- a/system/gparted/com.slackware.pkexec.gparted.policy +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - Authentication is required to run the GParted Partition Editor - gparted - - auth_admin - auth_admin - auth_admin - - /usr/sbin/gparted - true - - - - diff --git a/system/gparted/doinst.sh b/system/gparted/doinst.sh deleted file mode 100644 index 1f8ff67ded..0000000000 --- a/system/gparted/doinst.sh +++ /dev/null @@ -1,10 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi - diff --git a/system/gparted/gparted.SlackBuild b/system/gparted/gparted.SlackBuild deleted file mode 100644 index c29802fccd..0000000000 --- a/system/gparted/gparted.SlackBuild +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh -# -# Slackware build script for GParted -# -# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA -# Copyright 2015 Hunter Sezen, California, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=gparted -VERSION=${VERSION:-0.24.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -else - SLKCFLAGS="-O2" -fi - -set -eu - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" \ - gparted.desktop.in.in - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --disable-doc \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -install -Dm0644 $CWD/com.slackware.pkexec.gparted.policy \ - $PKG/usr/share/polkit-1/actions/com.slackware.pkexec.gparted.policy - -install -Dm0755 $CWD/gparted_polkit \ - $PKG/usr/sbin/gparted_polkit - -gzip -9 $PKG/usr/man/man?/*.? - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/gparted/gparted.info b/system/gparted/gparted.info deleted file mode 100644 index a13010deb4..0000000000 --- a/system/gparted/gparted.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="gparted" -VERSION="0.24.0" -HOMEPAGE="http://gparted.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/gparted/gparted-0.24.0.tar.bz2" -MD5SUM="b8480274c68876acff5965d4346710e7" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="gtkmm" -MAINTAINER="Hunter Sezen" -EMAIL="ovariegata@yahoo.com" diff --git a/system/gparted/gparted_polkit b/system/gparted/gparted_polkit deleted file mode 100644 index 76bd7b5e64..0000000000 --- a/system/gparted/gparted_polkit +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -if [ $(which pkexec) ]; then - pkexec --disable-internal-agent "/usr/sbin/gparted" "$@" -else - /usr/sbin/gparted "$@" -fi diff --git a/system/gparted/slack-desc b/system/gparted/slack-desc deleted file mode 100644 index acf7da161b..0000000000 --- a/system/gparted/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -gparted: gparted (Gnome Partition Editor) -gparted: -gparted: GParted uses GNU libparted to detect and manipulate devices and -gparted: partition tables. Several (optional) "file system" tools provide -gparted: support for file systems not included in libparted. These optional -gparted: packages will be detected at runtime and do not require a rebuild -gparted: of GParted. GParted is written in C++ and uses gtkmm for its -gparted: Graphical User Interface (GUI). -gparted: -gparted: http://gparted.sourceforge.net/ -gparted: -- cgit v1.2.3