summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdvi/dviFile.cpp4
-rw-r--r--kdvi/dviRenderer_prescan.cpp4
-rw-r--r--kdvi/fontEncoding.cpp4
-rw-r--r--kdvi/fontMap.cpp4
-rw-r--r--kdvi/fontpool.cpp4
-rw-r--r--kdvi/fontprogress.cpp4
-rw-r--r--kdvi/fontprogress.h8
-rw-r--r--kdvi/psgs.cpp6
-rw-r--r--kdvi/special.cpp2
-rw-r--r--ksvg/impl/libs/libtext2path/libtext2path.spec41
-rw-r--r--kuickshow/kuickshow.spec69
11 files changed, 20 insertions, 130 deletions
diff --git a/kdvi/dviFile.cpp b/kdvi/dviFile.cpp
index d4c53dd2..c9c8db92 100644
--- a/kdvi/dviFile.cpp
+++ b/kdvi/dviFile.cpp
@@ -57,7 +57,7 @@
#include <tqdir.h>
#include <tqfileinfo.h>
#include <stdlib.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
extern "C" {
#include "dvi.h"
@@ -375,7 +375,7 @@ TQString dvifile::convertPDFtoPS(const TQString &PDFFilename)
tmpfile.unlink();
// Use pdf2ps to do the conversion
- KProcIO proc;
+ TDEProcIO proc;
proc << "pdf2ps" << PDFFilename << convertedFileName;
if (proc.start(TDEProcess::Block) == false)
convertedFileName = TQString(); // Indicates that conversion failed, won't try again.
diff --git a/kdvi/dviRenderer_prescan.cpp b/kdvi/dviRenderer_prescan.cpp
index aef00f4c..c285642c 100644
--- a/kdvi/dviRenderer_prescan.cpp
+++ b/kdvi/dviRenderer_prescan.cpp
@@ -22,7 +22,7 @@
#include <tdelocale.h>
#include <kmimetype.h>
#include <tdeprocess.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <kprogress.h>
#include <tqapplication.h>
#include <tqbitmap.h>
@@ -290,7 +290,7 @@ void dviRenderer::prescan_ParsePSHeaderSpecial(const TQString& cp)
// to find it.
if (!TQFile::exists(_file)) {
// Otherwise, use kpsewhich to find the eps file.
- KProcIO proc;
+ TDEProcIO proc;
proc << "kpsewhich" << cp;
proc.start(TDEProcess::Block);
proc.readln(_file);
diff --git a/kdvi/fontEncoding.cpp b/kdvi/fontEncoding.cpp
index 71ed6d9f..e8504bd8 100644
--- a/kdvi/fontEncoding.cpp
+++ b/kdvi/fontEncoding.cpp
@@ -9,7 +9,7 @@
#ifdef HAVE_FREETYPE
#include <kdebug.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <tqfile.h>
#include <tqstringlist.h>
@@ -25,7 +25,7 @@ fontEncoding::fontEncoding(const TQString &encName)
_isValid = false;
// Use kpsewhich to find the encoding file.
- KProcIO proc;
+ TDEProcIO proc;
TQString encFileName;
proc << "kpsewhich" << encName;
if (proc.start(TDEProcess::Block) == false) {
diff --git a/kdvi/fontMap.cpp b/kdvi/fontMap.cpp
index 7b4e35a8..7893c97c 100644
--- a/kdvi/fontMap.cpp
+++ b/kdvi/fontMap.cpp
@@ -9,7 +9,7 @@
#ifdef HAVE_FREETYPE
#include <kdebug.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <tqfile.h>
#include "fontMap.h"
@@ -31,7 +31,7 @@ fontMap::fontMap()
// way to give both options at the same time, there is seemingly no
// other way than to try both options one after another. We use the
// teTeX 3.0 format first.
- KProcIO proc;
+ TDEProcIO proc;
proc << "kpsewhich" << "--format=map" << "ps2pk.map";
if (proc.start(TDEProcess::Block) == false) {
kdError(4700) << "fontMap::fontMap(): kpsewhich could not be started." << endl;
diff --git a/kdvi/fontpool.cpp b/kdvi/fontpool.cpp
index 4211ec16..02d6d58d 100644
--- a/kdvi/fontpool.cpp
+++ b/kdvi/fontpool.cpp
@@ -11,7 +11,7 @@
#include <tdelocale.h>
#include <tdemessagebox.h>
#include <tdeprocess.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <math.h>
#include <tqapplication.h>
#include <tqfile.h>
@@ -300,7 +300,7 @@ void fontPool::locateFonts(bool makePK, bool locateTFMonly, bool *virtualFontsFo
TQStringList shellProcessCmdLine;
- KProcIO kpsewhichIO;
+ TDEProcIO kpsewhichIO;
// If PK fonts are generated, the kpsewhich command will re-route
// the output of MetaFont into its stderr. Here we make sure this
// output is intercepted and parsed.
diff --git a/kdvi/fontprogress.cpp b/kdvi/fontprogress.cpp
index a49fa384..5cd64aaf 100644
--- a/kdvi/fontprogress.cpp
+++ b/kdvi/fontprogress.cpp
@@ -9,7 +9,7 @@
#include <kdebug.h>
#include <tdelocale.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <kprogress.h>
#include <tqapplication.h>
#include <tqframe.h>
@@ -83,7 +83,7 @@ void fontProgressDialog::increaseNumSteps(const TQString& explanation)
}
-void fontProgressDialog::setTotalSteps(int steps, KProcIO *proc)
+void fontProgressDialog::setTotalSteps(int steps, TDEProcIO *proc)
{
procIO = proc;
if (ProgressBar1 != 0) {
diff --git a/kdvi/fontprogress.h b/kdvi/fontprogress.h
index ddb34735..20eae300 100644
--- a/kdvi/fontprogress.h
+++ b/kdvi/fontprogress.h
@@ -10,7 +10,7 @@
#include <kdialogbase.h>
#include <tqguardedptr.h>
-class KProcIO;
+class TDEProcIO;
class KProgress;
class TQLabel;
@@ -44,8 +44,8 @@ public:
/** Used to initialize the progress bar. If the argument proc is
non-zero, the associated process will be killed when the "abort"
button is pressed. The FontProgress uses a TQGuarderPtr
- internally, so it is save to delete the KProcIO anytime. */
- void setTotalSteps(int, KProcIO *proc=0);
+ internally, so it is save to delete the TDEProcIO anytime. */
+ void setTotalSteps(int, TDEProcIO *proc=0);
TQLabel* TextLabel2;
@@ -58,7 +58,7 @@ private:
TQLabel* TextLabel1;
KProgress* ProgressBar1;
int progress;
- TQGuardedPtr<KProcIO> procIO;
+ TQGuardedPtr<TDEProcIO> procIO;
};
#endif // FONT_GENERATION_H
diff --git a/kdvi/psgs.cpp b/kdvi/psgs.cpp
index 7551a12f..3e58c2f4 100644
--- a/kdvi/psgs.cpp
+++ b/kdvi/psgs.cpp
@@ -11,7 +11,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <tdetempfile.h>
#include <kurl.h>
#include <tqdir.h>
@@ -207,7 +207,7 @@ void ghostscript_interface::gs_generate_graphics_file(const PageNumber& page, co
// Step 2: Call GS with the File
TQFile::remove(filename.ascii());
- KProcIO proc;
+ TDEProcIO proc;
TQStringList argus;
argus << "gs";
argus << "-dSAFER" << "-dPARANOIDSAFER" << "-dDELAYSAFER" << "-dNOPAUSE" << "-dBATCH";
@@ -329,7 +329,7 @@ TQString ghostscript_interface::locateEPSfile(const TQString &filename, const KU
// Otherwise, use kpsewhich to find the eps file.
TQString EPSfilename;
- KProcIO proc;
+ TDEProcIO proc;
proc << "kpsewhich" << filename;
proc.start(TDEProcess::Block);
proc.readln(EPSfilename);
diff --git a/kdvi/special.cpp b/kdvi/special.cpp
index 760d849b..4f5ba4ac 100644
--- a/kdvi/special.cpp
+++ b/kdvi/special.cpp
@@ -11,7 +11,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <kmimetype.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <tqdir.h>
#include <tqfile.h>
#include <tqfileinfo.h>
diff --git a/ksvg/impl/libs/libtext2path/libtext2path.spec b/ksvg/impl/libs/libtext2path/libtext2path.spec
deleted file mode 100644
index e0c217bd..00000000
--- a/ksvg/impl/libs/libtext2path/libtext2path.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-%define distversion %( perl -e 'Creating /home/nikoz/Projects/libtext2path/libtext2path.spec...=\<\>;/(\d+)\.(\d)\.?(\d)?/; print "".(||0)' /etc/*-release)
-Name: libtext2path
-Summary: libtext2path -- Some description
-Version: 0.1
-Release: %{_vendor}_%{distversion}
-Copyright: GPL
-Group: X11/KDE/Utilities
-Source: ftp://ftp.kde.org/pub/kde/unstable/apps/utils/%{name}-%{version}.tar.gz
-Packager: Nikolas Zimmermann <wildfox@kde.org>
-BuildRoot: /tmp/%{name}-%{version}
-Prefix: /usr/kde/cvs
-
-%description
-A long description
-
-%prep
-rm -rf $RPM_BUILD_ROOT
-%setup -n %{name}-%{version}
-CFLAGS="" CXXFLAGS="" ./configure --disable-debug --enable-final --prefix=%{prefix}
-
-%build
-# Setup for parallel builds
-numprocs=1
-if [ "" = "0" ]; then
- numprocs=1
-fi
-
-make -j
-
-%install
-make install-strip DESTDIR=$RPM_BUILD_ROOT
-
-cd
-find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > /%{name}-master.list
-find . -type f -o -type l | sed 's|^\.||' >> $RPM_BUILD_DIR/%{name}-master.list
-
-%clean
-rm -rf $RPM_BUILD_DIR/%{name}-%{version}
-rm -rf $RPM_BUILD_DIR/-master.list
-
-%files -f $RPM_BUILD_DIR/%{name}-master.list
diff --git a/kuickshow/kuickshow.spec b/kuickshow/kuickshow.spec
deleted file mode 100644
index 2e2565f1..00000000
--- a/kuickshow/kuickshow.spec
+++ /dev/null
@@ -1,69 +0,0 @@
-%define version 0.8.5
-%define release 1
-%define serial 1
-%define prefix /opt/trinity
-
-Name: kuickshow
-Summary: KuickShow -- A very fast image viewer/browser
-Version: %{version}
-Release: %{release}
-Serial: %{serial}
-Source: http://devel-home.kde.org/~pfeiffer/kuickshow/kuickshow-%{version}.tar.gz
-URL: http://devel-home.kde.org/~pfeiffer/kuickshow/
-Copyright: GPL
-Packager: Carsten Pfeiffer <pfeiffer@kde.org>
-Group: X11/KDE/Graphics
-BuildRoot: /tmp/kuickshow-%{version}-root
-Prefix: %{prefix}
-
-%description
-KuickShow is a very fast image viewer, that lets you easily
-browse large galleries. A builtin filebrowser and manager
-is also available. Usage is somewhat inspired by ACDSee.
-It supports many fileformats, e.g. jpeg, gif, png, psd, bmp,
-tiff, xpm, xbm, xcf, eim, ...
-
-KuickShow has a nice user interface, that allows you to browse large amounts
-of images in a short time. It can zoom, mirror, rotate images, adjust
-brightness, contrast and gamma and can do a slideshow, of course.
-It is fully configurable through dialogs.
-
-Besides that, it offers a nice filebrowser with basic filemanager capabilities
-like renaming, deleting, creating directories, ...
-
-Install with '--prefix $TDEDIR' unless you have the tde-config program.
-
-%prep
-rm -rf $RPM_BUILD_ROOT
-
-%setup -n kuickshow-%{version}
-
-%build
-PREFIX=""
-which tde-config || PREFIX=%{prefix}
-if test -z "$PREFIX"; then
- PREFIX=`tde-config --prefix`
-fi
-
-export TDEDIR="$PREFIX"
-CXXFLAGS="$RPM_OPT_FLAGS -fno-exceptions -pipe" LDFLAGS=-s ./configure --prefix="$PREFIX" --enable-final --disable-debug
-mkdir -p $RPM_BUILD_ROOT
-make
-
-%install
-make install DESTDIR=$RPM_BUILD_ROOT
-
-cd $RPM_BUILD_ROOT
-
-find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name}
-
-find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
-
-find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-rm -f $RPM_BUILD_DIR/file.list.%{name}
-
-%files -f ../file.list.%{name}
-