mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
office/pdfedit: Removed (build failure)
If upstream still hasn't bothered to port this to qt4, then I have to wonder why we're still dragging the corpse along. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
89b636dc88
commit
394e4266d1
7 changed files with 0 additions and 178 deletions
|
@ -1,5 +0,0 @@
|
|||
PDFedit is free and open source library for manipulating PDF documents,
|
||||
released under terms of GNU GPL version 2. It includes PDF manipulating
|
||||
library based on xpdf, GUI and set of command line tools. Graphical
|
||||
interface based on QT3 which heavily depends on scripting; therefore, any
|
||||
user can modify the behaviour by scripts and plugins
|
|
@ -1,4 +0,0 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications 2>/dev/null
|
||||
fi
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
--- src/gui/rect2Darray.h.orig
|
||||
+++ src/gui/rect2Darray.h
|
||||
@@ -305,7 +305,7 @@ void RectArray<T>::myAppend ( const BBox
|
||||
minY = std::min( minY, item->top() );
|
||||
maxY = std::max( maxY, item->bottom() );
|
||||
}
|
||||
- append( item );
|
||||
+ this->append( item );
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
@@ -461,7 +461,7 @@ void Rect2DArray<T>::myAppend( BBoxOfObj
|
||||
if (toAppend) {
|
||||
current = new RectArray<T>();
|
||||
current->myAppend( bbox );
|
||||
- append( current );
|
||||
+ this->append( current );
|
||||
}
|
||||
}
|
||||
|
||||
--- src/kernel/cobject2xpdf.cc 2009/09/11 12:02:56 1.22
|
||||
+++ src/kernel/cobject2xpdf.cc 2011/05/21 22:13:21 1.24
|
||||
@@ -727,6 +727,13 @@
|
||||
{
|
||||
/*assert (!"operation not permitted...");*//*THIS IS FORBIDDEN IN THE CALLER*/
|
||||
}
|
||||
+template void simpleValueFromXpdfObj<pBool, bool&> (const Object&, bool& val);
|
||||
+template void simpleValueFromXpdfObj<pInt, int&> (const Object&, int& val);
|
||||
+template void simpleValueFromXpdfObj<pReal, double&> (const Object&, double& val);
|
||||
+template void simpleValueFromXpdfObj<pString, string&> (const Object&, string& val);
|
||||
+template void simpleValueFromXpdfObj<pName, string&> (const Object&, string& val);
|
||||
+template void simpleValueFromXpdfObj<pRef, IndiRef&> (const Object&, IndiRef& val);
|
||||
+
|
||||
|
||||
|
||||
//
|
|
@ -1,97 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for PDFedit
|
||||
# written by <pedro@gepasi.org> and hereby put in the public domain
|
||||
|
||||
PRGNAM=pdfedit
|
||||
VERSION=0.4.5
|
||||
BUILD=${BUILD:-2}
|
||||
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}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
# Add a good path for docbook.xsl
|
||||
printf "/usr/share/xml/docbook/xsl-stylesheets-*/html\n" >> \
|
||||
doc/tools/docbook_xslt_paths
|
||||
|
||||
# Patch for gcc 4.7.
|
||||
patch -p0 -i $CWD/gcc47.patch
|
||||
|
||||
ARCH="" \
|
||||
C_EXTRA="$SLKCFLAGS" \
|
||||
CXX_EXTRA="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib$LIBDIRSUFFIX \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--enable-stack-protector \
|
||||
--enable-release \
|
||||
--enable-gui \
|
||||
--disable-kernel-tests \
|
||||
--disable-advanced-doc \
|
||||
--enable-user-manual \
|
||||
--enable-doxygen-doc \
|
||||
--enable-pdfedit-core-dev \
|
||||
--with-parallel-make=auto \
|
||||
--with-root-dir=$PKG \
|
||||
--with-qmake=/opt/kde3/bin/qmake
|
||||
|
||||
make install
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING $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
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,7 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=PDFedit
|
||||
Exec=pdfedit
|
||||
Type=Application
|
||||
Icon=/usr/share/pdfedit/icon/pdfedit_icon_48.png
|
||||
GenericName=PDF editor
|
||||
Categories=Office;
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="pdfedit"
|
||||
VERSION="0.4.5"
|
||||
HOMEPAGE="http://pdfedit.petricek.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/pdfedit/pdfedit-0.4.5.tar.bz2"
|
||||
MD5SUM="80502ee7f08cdfb867ffdaa92d160a23"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="qt3"
|
||||
MAINTAINER="Pedro Mendes"
|
||||
EMAIL="pedro@gepasi.org"
|
|
@ -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------------------------------------------------------|
|
||||
pdfedit: pdfedit - pdf manipulation library, gui, tools
|
||||
pdfedit:
|
||||
pdfedit: PDFedit is free and open source library for manipulating PDF
|
||||
pdfedit: documents, released under terms of GNU GPL version 2. It includes PDF
|
||||
pdfedit: manipulating library based on xpdf, GUI and set of command line tools.
|
||||
pdfedit: Graphical interface based on QT3 which heavily depends on scripting;
|
||||
pdfedit: therefore, any user can modify the behaviour by scripts and plugins
|
||||
pdfedit:
|
||||
pdfedit: Homepage: http://pdfedit.petricek.net/
|
||||
pdfedit:
|
||||
pdfedit:
|
Loading…
Reference in a new issue