From 86307dad2ce27de25c8ab2ad48481029c125a18d Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Fri, 15 Nov 2013 22:43:31 -0600 Subject: system/gnu-fdisk: Removed (build failure) fdisk.c: In function 'do_mkpart': fdisk.c:725:45: error: 'PedFileSystemOps' has no member named 'create' if (!compat_mode && fs_type && fs_type->ops->create && ^ fdisk.c: In function 'do_resize': fdisk.c:1564:26: error: 'PedFileSystemOps' has no member named 'resize' if (!part->fs_type->ops->resize) { Signed-off-by: Robby Workman --- system/gnu-fdisk/README | 5 -- system/gnu-fdisk/gnu-fdisk.SlackBuild | 112 ---------------------------------- system/gnu-fdisk/gnu-fdisk.info | 10 --- system/gnu-fdisk/slack-desc | 19 ------ 4 files changed, 146 deletions(-) delete mode 100644 system/gnu-fdisk/README delete mode 100644 system/gnu-fdisk/gnu-fdisk.SlackBuild delete mode 100644 system/gnu-fdisk/gnu-fdisk.info delete mode 100644 system/gnu-fdisk/slack-desc diff --git a/system/gnu-fdisk/README b/system/gnu-fdisk/README deleted file mode 100644 index 4afd15d1a6..0000000000 --- a/system/gnu-fdisk/README +++ /dev/null @@ -1,5 +0,0 @@ -GNU fdisk provides alternatives to fdisk and cfdisk from util-linux-ng. - -The standard interface offered via fdisk is similar to that of util-linux -fdisk. You can invoke the extended fdisk via "fdisk-gnu -G" - diff --git a/system/gnu-fdisk/gnu-fdisk.SlackBuild b/system/gnu-fdisk/gnu-fdisk.SlackBuild deleted file mode 100644 index 8b7f11f02c..0000000000 --- a/system/gnu-fdisk/gnu-fdisk.SlackBuild +++ /dev/null @@ -1,112 +0,0 @@ -#!/bin/sh - -# Slackware build script for gnu-fdisk - -# Written by crocket (crockabiscuit@gmail.com) - -PRGNAM=gnu-fdisk -ARCNAM=fdisk -VERSION=${VERSION:-1.2.5} -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} - -LIBDIRSUFFIX="" -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" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$ARCNAM-$VERSION.tar.bz2 -mv $ARCNAM-$VERSION $PRGNAM-$VERSION -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --program-suffix="-gnu" \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -# Fixup a couple of symlinks -( cd $PKG/usr/sbin - rm -f lfdisk gfdisk - ln -s fdisk-gnu lfdisk - ln -s fdisk-gnu gfdisk -) - -# Fix the info page naming -( cd $PKG/usr/info - mv cfdisk.info cfdisk-gnu.info - mv fdisk.info fdisk-gnu.info -) - -# Add a couple of symlinks in the manual pages -( cd $PKG/usr/man/man8 - ln -s fdisk-gnu.8 lfdisk.8 - ln -s fdisk-gnu.8 gfdisk.8 -) - -# Remove an empty directory -rmdir $PKG/usr/share 2>/dev/null || true - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \ - $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - diff --git a/system/gnu-fdisk/gnu-fdisk.info b/system/gnu-fdisk/gnu-fdisk.info deleted file mode 100644 index adce77563a..0000000000 --- a/system/gnu-fdisk/gnu-fdisk.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="gnu-fdisk" -VERSION="1.2.5" -HOMEPAGE="http://www.gnu.org/software/fdisk/" -DOWNLOAD="ftp://ftp.gnu.org/gnu/fdisk/fdisk-1.2.5.tar.bz2" -MD5SUM="1a9fb5a5fadd85421364ef7b1cde0fe5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="crocket" -EMAIL="crockabiscuit@gmail.com" diff --git a/system/gnu-fdisk/slack-desc b/system/gnu-fdisk/slack-desc deleted file mode 100644 index c746f8829d..0000000000 --- a/system/gnu-fdisk/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 ':'. - - |-----handy-ruler------------------------------------------------------| -gnu-fdisk: gnu-fdisk (fdisk from the GNU project) -gnu-fdisk: -gnu-fdisk: GNU fdisk provides alternatives to fdisk and cfdisk from util-linux. -gnu-fdisk: -gnu-fdisk: The standard interface offered via fdisk is util-linux-like fdisk. -gnu-fdisk: You can invoke the extended fdisk-gnu via fdisk-gnu -G. -gnu-fdisk: -gnu-fdisk: Website: http://www.gnu.org/software/fdisk -gnu-fdisk: -gnu-fdisk: -gnu-fdisk: -- cgit v1.2.3