Browse Source

xap/scribus: Upgraded to scribus-1.4.0.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
8da7f66c2c
  1. 6
      xap/scribus/scribus-1.4.0-fix-paths.diff
  2. 1
      xap/scribus/scribus-1.4.0.rc5.tar.bz2.sha1
  3. 1
      xap/scribus/scribus-1.4.0.tar.bz2.sha1
  4. 12
      xap/scribus/scribus.SlackBuild

6
xap/scribus/scribus-1.4.0.rc5-fix-paths.diff → xap/scribus/scribus-1.4.0-fix-paths.diff

@ -1,6 +1,6 @@
diff -Naur scribus-1.4.0.rc5.orig/CMakeLists.txt scribus-1.4.0.rc5/CMakeLists.txt
--- scribus-1.4.0.rc5.orig/CMakeLists.txt 2011-06-17 23:43:41.000000000 +0200
+++ scribus-1.4.0.rc5/CMakeLists.txt 2011-06-20 22:17:41.369309170 +0200
diff -Naur scribus-1.4.0.orig/CMakeLists.txt scribus-1.4.0/CMakeLists.txt
--- scribus-1.4.0.orig/CMakeLists.txt 2011-06-17 23:43:41.000000000 +0200
+++ scribus-1.4.0/CMakeLists.txt 2011-06-20 22:17:41.369309170 +0200
@@ -251,7 +251,7 @@
#Setp all the directories we will use
#MAN

1
xap/scribus/scribus-1.4.0.rc5.tar.bz2.sha1

@ -1 +0,0 @@
51ff4646a25656beafc494144eb94d8574fafa8d scribus-1.4.0.rc5.tar.bz2

1
xap/scribus/scribus-1.4.0.tar.bz2.sha1

@ -0,0 +1 @@
d19e455f261c4075076f1d6f4a55fbd934a66c60 scribus-1.4.0.tar.bz2

12
xap/scribus/scribus.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011 Damien Goutte-Gattat
# Copyright (C) 2009,2010,2011,2012 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,7 +26,7 @@
# Source package infos
NAMESRC=${NAMESRC:-scribus}
VERSION=${VERSION:-1.4.0.rc5}
VERSION=${VERSION:-1.4.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://downloads.sourceforge.net/scribus/$ARCHIVE}
@ -56,14 +56,14 @@ if [ ! -d $TMP ]; then
fi
# Compilation flags
LIBDIRSUFFIX=""
LIB64=""
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
LIBDIRSUFFIX="64"
LIB64="-DWANT_LIB64=yes"
;;
*)
CPUOPT="-O2"
@ -83,10 +83,10 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/scribus-1.4.0.rc5-fix-paths.diff
patch -p 1 < $CWD/scribus-1.4.0-fix-paths.diff
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
cmake -DCMAKE_INSTALL_PREFIX=/usr -DWANT_LIB64=yes
cmake -DCMAKE_INSTALL_PREFIX=/usr $LIB64
make -j $JOBS
make install DESTDIR=$PKG

Loading…
Cancel
Save