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 <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2013-11-15 22:43:31 -06:00
parent 099bba9e52
commit 86307dad2c
4 changed files with 0 additions and 146 deletions

View file

@ -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"

View file

@ -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}

View file

@ -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"

View file

@ -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: