diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-13 00:58:17 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:58:17 +0200 |
commit | a84b5f8e51bbe403599852fcc7540346b688fd04 (patch) | |
tree | 1364a16e4b72b1905414cc8c6687d33bf6d16ad0 | |
parent | 1b35ee705d970f7f65a8c67a1bbede55fc781546 (diff) | |
download | slackbuilds-a84b5f8e51bbe403599852fcc7540346b688fd04.tar.gz |
graphics/gbdfed: Added to 13.0 repository
-rw-r--r-- | graphics/gbdfed/README | 7 | ||||
-rw-r--r-- | graphics/gbdfed/doinst.sh | 4 | ||||
-rw-r--r-- | graphics/gbdfed/gbdfed.SlackBuild | 67 | ||||
-rw-r--r-- | graphics/gbdfed/gbdfed.desktop | 10 | ||||
-rw-r--r-- | graphics/gbdfed/gbdfed.info | 10 | ||||
-rw-r--r-- | graphics/gbdfed/gbdfed48x48.png | bin | 0 -> 292 bytes | |||
-rw-r--r-- | graphics/gbdfed/slack-desc | 19 |
7 files changed, 117 insertions, 0 deletions
diff --git a/graphics/gbdfed/README b/graphics/gbdfed/README new file mode 100644 index 0000000000..53583eb7e5 --- /dev/null +++ b/graphics/gbdfed/README @@ -0,0 +1,7 @@ +gbdfed Bitmap Font Editor + +gbdfed lets you interactively create new bitmap font files or modify +existing ones. It allows editing multiple fonts and multiple glyphs, +it allows cut and paste operations between fonts and glyphs and editing +font properties. The editor works natively with BDF fonts, and can +import various other font types. diff --git a/graphics/gbdfed/doinst.sh b/graphics/gbdfed/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/graphics/gbdfed/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/graphics/gbdfed/gbdfed.SlackBuild b/graphics/gbdfed/gbdfed.SlackBuild new file mode 100644 index 0000000000..083e22772d --- /dev/null +++ b/graphics/gbdfed/gbdfed.SlackBuild @@ -0,0 +1,67 @@ +#!/bin/sh + +# Slackware build script for gbdfed + +# Written by B. Watson (yalhcru@gmail.com) + +# Tested on 13.0rc1 64-bit (LIBDIRSUFFIX not needed) + +PRGNAM=gbdfed +VERSION=${VERSION:-1.5} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tgz +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R a-s,u+w,go+r-w . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man + +make +strip $PRGNAM +make install DESTDIR=$PKG +gzip $PKG/usr/man/man1/$PRGNAM.1 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/usr/share/applications +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop + +mkdir -p $PKG/usr/share/pixmaps +cat $CWD/${PRGNAM}48x48.png > $PKG/usr/share/pixmaps/$PRGNAM.png + +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/graphics/gbdfed/gbdfed.desktop b/graphics/gbdfed/gbdfed.desktop new file mode 100644 index 0000000000..e21372ca95 --- /dev/null +++ b/graphics/gbdfed/gbdfed.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Name=gBDFed +GenericName=BDF Font Editor +Type=Application +Exec=gbdfed +Icon=gbdfed +Terminal=false +StartupNotify=true +Categories=Utility;Graphics;2DGraphics; diff --git a/graphics/gbdfed/gbdfed.info b/graphics/gbdfed/gbdfed.info new file mode 100644 index 0000000000..c7dd84c521 --- /dev/null +++ b/graphics/gbdfed/gbdfed.info @@ -0,0 +1,10 @@ +PRGNAM="gbdfed" +VERSION="1.5" +HOMEPAGE="http://www.math.nmsu.edu/~mleisher/Software/gbdfed/" +DOWNLOAD="http://www.math.nmsu.edu/~mleisher/Software/gbdfed/gbdfed-1.5.tgz" +DOWNLOAD_x86_64="" +MD5SUM="32ea549b87c9163bf0c651b5d49e5077" +MD5SUM_x86_64="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" +APPROVED="dsomero" diff --git a/graphics/gbdfed/gbdfed48x48.png b/graphics/gbdfed/gbdfed48x48.png Binary files differnew file mode 100644 index 0000000000..cf7e7b2f7d --- /dev/null +++ b/graphics/gbdfed/gbdfed48x48.png diff --git a/graphics/gbdfed/slack-desc b/graphics/gbdfed/slack-desc new file mode 100644 index 0000000000..354741a7e9 --- /dev/null +++ b/graphics/gbdfed/slack-desc @@ -0,0 +1,19 @@ +# 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------------------------------------------------------| +gbdfed: gbdfed (Bitmap Font Editor) +gbdfed: +gbdfed: gbdfed lets you interactively create new bitmap font files or modify +gbdfed: existing ones. It allows editing multiple fonts and multiple glyphs, +gbdfed: it allows cut and paste operations between fonts and glyphs and +gbdfed: editing font properties. The editor works natively with BDF fonts, +gbdfed: and can import various other font types. +gbdfed: +gbdfed: +gbdfed: +gbdfed: |