mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/libgdiplus: Updated for version 2.4.2
This commit is contained in:
parent
215f73da14
commit
0e68d2c1ff
4 changed files with 31 additions and 29 deletions
|
@ -1,11 +0,0 @@
|
||||||
--- libgdiplus-1.2.4~/cairo/src/cairo-type1-subset.c 2007-05-03 20:40:26.000000000 +0000
|
|
||||||
+++ libgdiplus-1.2.4/cairo/src/cairo-type1-subset.c 2007-07-23 09:30:11.000000000 +0000
|
|
||||||
@@ -46,6 +46,8 @@
|
|
||||||
#include FT_OUTLINE_H
|
|
||||||
#include FT_TYPE1_TABLES_H
|
|
||||||
|
|
||||||
+#include <ctype.h>
|
|
||||||
+
|
|
||||||
typedef struct _cairo_type1_font_subset {
|
|
||||||
|
|
||||||
cairo_scaled_font_subset_t *scaled_font_subset;
|
|
|
@ -25,10 +25,11 @@
|
||||||
# Modified by the SlackBuilds.org project
|
# Modified by the SlackBuilds.org project
|
||||||
|
|
||||||
PRGNAM=libgdiplus
|
PRGNAM=libgdiplus
|
||||||
VERSION=1.2.4
|
VERSION=2.4.2
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
@ -36,8 +37,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -48,7 +54,6 @@ cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
patch -p1 < $CWD/cairo-type1-include.patch
|
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
|
@ -57,13 +62,19 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
|
--disable-static \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install-strip DESTDIR=$PKG
|
make install-strip DESTDIR=$PKG
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE MPL-1.1.html NEWS README TODO \
|
cp -a \
|
||||||
|
AUTHORS COPYING ChangeLog INSTALL LICENSE MPL-1.1.html NEWS README TODO \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
@ -71,4 +82,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
PRGNAM="libgdiplus"
|
PRGNAM="libgdiplus"
|
||||||
VERSION="1.2.4"
|
VERSION="2.4.2"
|
||||||
HOMEPAGE="http://www.go-mono.org"
|
HOMEPAGE="http://www.go-mono.org"
|
||||||
DOWNLOAD="http://go-mono.com/sources/libgdiplus/libgdiplus-1.2.4.tar.bz2"
|
DOWNLOAD="http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.2.tar.bz2"
|
||||||
MD5SUM="cf86212084a7b9cc3660efa5baf1cb98"
|
MD5SUM="703210950bce2ed0a9824f897f774925"
|
||||||
MAINTAINER="Martin Lefebvre"
|
DOWNLOAD_x86_64=""
|
||||||
EMAIL="dadexter@gmail.com"
|
MD5SUM_x86_64=""
|
||||||
|
MAINTAINER="nobody"
|
||||||
|
EMAIL="nobody@nowhere"
|
||||||
APPROVED="rworkman"
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
libgdiplus: libgdiplus (Open Source implementation of the GDI+ API)
|
libgdiplus: libgdiplus (Open Source implementation of the GDI+ API)
|
||||||
libgdiplus:
|
libgdiplus:
|
||||||
libgdiplus: An Open Source implementation of the GDI+ API.
|
libgdiplus: An Open Source implementation of the GDI+ API.
|
||||||
libgdiplus: This package is part of the Mono project.
|
libgdiplus: This package is part of the Mono project.
|
||||||
libgdiplus:
|
libgdiplus:
|
||||||
libgdiplus:
|
libgdiplus:
|
||||||
libgdiplus:
|
libgdiplus:
|
||||||
libgdiplus:
|
libgdiplus:
|
||||||
libgdiplus:
|
libgdiplus:
|
||||||
libgdiplus:
|
libgdiplus:
|
||||||
libgdiplus:
|
libgdiplus:
|
||||||
|
|
Loading…
Reference in a new issue