summaryrefslogtreecommitdiff
path: root/office/pdfedit
diff options
context:
space:
mode:
Diffstat (limited to 'office/pdfedit')
-rw-r--r--office/pdfedit/README5
-rw-r--r--office/pdfedit/doinst.sh4
-rw-r--r--office/pdfedit/gcc47.patch36
-rw-r--r--office/pdfedit/pdfedit.SlackBuild97
-rw-r--r--office/pdfedit/pdfedit.desktop7
-rw-r--r--office/pdfedit/pdfedit.info10
-rw-r--r--office/pdfedit/slack-desc19
7 files changed, 0 insertions, 178 deletions
diff --git a/office/pdfedit/README b/office/pdfedit/README
deleted file mode 100644
index ffb7234fee..0000000000
--- a/office/pdfedit/README
+++ /dev/null
@@ -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
diff --git a/office/pdfedit/doinst.sh b/office/pdfedit/doinst.sh
deleted file mode 100644
index a9ca196938..0000000000
--- a/office/pdfedit/doinst.sh
+++ /dev/null
@@ -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
-
diff --git a/office/pdfedit/gcc47.patch b/office/pdfedit/gcc47.patch
deleted file mode 100644
index 10400bc074..0000000000
--- a/office/pdfedit/gcc47.patch
+++ /dev/null
@@ -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);
-+
-
-
- //
diff --git a/office/pdfedit/pdfedit.SlackBuild b/office/pdfedit/pdfedit.SlackBuild
deleted file mode 100644
index de6468cfb3..0000000000
--- a/office/pdfedit/pdfedit.SlackBuild
+++ /dev/null
@@ -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}
diff --git a/office/pdfedit/pdfedit.desktop b/office/pdfedit/pdfedit.desktop
deleted file mode 100644
index 839ac8dd1d..0000000000
--- a/office/pdfedit/pdfedit.desktop
+++ /dev/null
@@ -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;
diff --git a/office/pdfedit/pdfedit.info b/office/pdfedit/pdfedit.info
deleted file mode 100644
index 556cb9549f..0000000000
--- a/office/pdfedit/pdfedit.info
+++ /dev/null
@@ -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"
diff --git a/office/pdfedit/slack-desc b/office/pdfedit/slack-desc
deleted file mode 100644
index 32fc481272..0000000000
--- a/office/pdfedit/slack-desc
+++ /dev/null
@@ -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: