diff options
author | Keri Harris <keri@gentoo.org> | 2007-11-22 05:33:11 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2007-11-22 05:33:11 +0000 |
commit | 3e5cd8ee7ac95a22a7ccfb1ca6638e6eec8057df (patch) | |
tree | b0ef14b2fca54e7485bb6117d31c3ac56049dd17 /dev-lang | |
parent | Change tetex USE flag to latex. Fix many various ebuild QA issues. No change (diff) | |
download | gentoo-2-3e5cd8ee7ac95a22a7ccfb1ca6638e6eec8057df.tar.gz gentoo-2-3e5cd8ee7ac95a22a7ccfb1ca6638e6eec8057df.tar.bz2 gentoo-2-3e5cd8ee7ac95a22a7ccfb1ca6638e6eec8057df.zip |
Remove old versions
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-lang')
22 files changed, 12 insertions, 1867 deletions
diff --git a/dev-lang/qu-prolog/ChangeLog b/dev-lang/qu-prolog/ChangeLog index 2831062d2061..26c5dade202c 100644 --- a/dev-lang/qu-prolog/ChangeLog +++ b/dev-lang/qu-prolog/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for dev-lang/qu-prolog # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/ChangeLog,v 1.37 2007/11/21 11:07:27 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/ChangeLog,v 1.38 2007/11/22 05:33:10 keri Exp $ + + 22 Nov 2007; keri <keri@gentoo.org> -files/qu-prolog-7.4-configure.patch, + -files/qu-prolog-7.4-debug.patch, -files/qu-prolog-7.4-gcc4.patch, + -files/qu-prolog-7.4-portage.patch, -files/qu-prolog-7.4-qt4.patch, + -files/qu-prolog-8.0-configure.patch, -files/qu-prolog-8.0-debug.patch, + -files/qu-prolog-8.0-gcc4.patch, -files/qu-prolog-8.0-portage.patch, + -files/qu-prolog-8.1-configure.patch, -files/qu-prolog-8.1-debug.patch, + -files/qu-prolog-8.1-gcc4.patch, -files/qu-prolog-8.1-portage.patch, + -qu-prolog-7.4.ebuild, -qu-prolog-7.4-r1.ebuild, -qu-prolog-8.0.ebuild, + -qu-prolog-8.1.ebuild: + Remove old versions. 21 Nov 2007; Raúl Porcel <armin76@gentoo.org> qu-prolog-8.2.ebuild: sparc stable wrt #199014 diff --git a/dev-lang/qu-prolog/files/digest-qu-prolog-7.4 b/dev-lang/qu-prolog/files/digest-qu-prolog-7.4 deleted file mode 100644 index 359750c8742b..000000000000 --- a/dev-lang/qu-prolog/files/digest-qu-prolog-7.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 379990ae86485a3b8b4a5233bc1fd0c1 qp7.4.tar.gz 1262813 -RMD160 8be3c953d6f74878366183b99f84dbcb089c6e08 qp7.4.tar.gz 1262813 -SHA256 301b8a3344f4286c2800a13753f2a2d9e73bd3ce58c8a1211bcede365dc96de1 qp7.4.tar.gz 1262813 diff --git a/dev-lang/qu-prolog/files/digest-qu-prolog-7.4-r1 b/dev-lang/qu-prolog/files/digest-qu-prolog-7.4-r1 deleted file mode 100644 index 5cf56e289f77..000000000000 --- a/dev-lang/qu-prolog/files/digest-qu-prolog-7.4-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 379990ae86485a3b8b4a5233bc1fd0c1 qp7.4.tar.gz 1262813 -RMD160 8be3c953d6f74878366183b99f84dbcb089c6e08 qp7.4.tar.gz 1262813 -SHA256 301b8a3344f4286c2800a13753f2a2d9e73bd3ce58c8a1211bcede365dc96de1 qp7.4.tar.gz 1262813 -MD5 05d2c2b22c7c1490e53279a4e3f5fee7 qu-prolog-7.4-xqp-qt4.tar.gz 8501 -RMD160 ad444fd47e17af10c104129f217b8a30ff568739 qu-prolog-7.4-xqp-qt4.tar.gz 8501 -SHA256 be3d9d8b113032eed16bf136b82df20a7d3024a5125918758fd8bfe5fe76669a qu-prolog-7.4-xqp-qt4.tar.gz 8501 diff --git a/dev-lang/qu-prolog/files/digest-qu-prolog-8.0 b/dev-lang/qu-prolog/files/digest-qu-prolog-8.0 deleted file mode 100644 index f7ff84483f68..000000000000 --- a/dev-lang/qu-prolog/files/digest-qu-prolog-8.0 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 1f3cf4f7dd1e21f7a4d488f11f3c5a0b qp8.0.tar.gz 1220094 -RMD160 e9125f69d1fe2e4d8bc3e976b757dcca1d904cdd qp8.0.tar.gz 1220094 -SHA256 fe440bffae19a9226ab1cd0c197806e5f5c703502da3f01899e5a6dd06656604 qp8.0.tar.gz 1220094 -MD5 cbac7e17586815b9980903ad725bd2bc qu-prolog-8.0-xqp-qt4.tar.gz 8500 -RMD160 3bafc1e07fa894c463d5e67f984360b583eab15b qu-prolog-8.0-xqp-qt4.tar.gz 8500 -SHA256 c6f2d6e2c1a5856ae2d17c51d5c529fdfd26070ee19c06190ce87a2a0b83b082 qu-prolog-8.0-xqp-qt4.tar.gz 8500 diff --git a/dev-lang/qu-prolog/files/digest-qu-prolog-8.1 b/dev-lang/qu-prolog/files/digest-qu-prolog-8.1 deleted file mode 100644 index 01079ccc6711..000000000000 --- a/dev-lang/qu-prolog/files/digest-qu-prolog-8.1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 5572c18c01e6b494268838d726f9e688 qp8.1.tar.gz 1220321 -RMD160 e795b7f5b04e27ebc4970b31f6a35d3f608d5222 qp8.1.tar.gz 1220321 -SHA256 505ae1ad8890cdb6946a651f76391a150da8b76b02b60ce7a76b24de8a9950a5 qp8.1.tar.gz 1220321 -MD5 6b768d6a44064f3edc5712c90dcd4234 qu-prolog-8.1-xqp-qt4.tar.gz 8500 -RMD160 156af427f89a82702e19730e4bb12b7e646c8e14 qu-prolog-8.1-xqp-qt4.tar.gz 8500 -SHA256 176a9a82b9a7f44e2664863afd28e47bcb9af23d165ccae3797a617302f251d0 qu-prolog-8.1-xqp-qt4.tar.gz 8500 diff --git a/dev-lang/qu-prolog/files/qu-prolog-7.4-configure.patch b/dev-lang/qu-prolog/files/qu-prolog-7.4-configure.patch deleted file mode 100644 index f6117e39f5de..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-7.4-configure.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- qp7.4.orig/configure 2006-07-27 16:27:35.000000000 +1200 -+++ qp7.4/configure 2007-01-14 15:22:03.000000000 +1300 -@@ -3369,6 +3369,8 @@ - - fi - -+if false; then -+ - # Extract the first word of "perl", so it can be a program name with args. - set dummy perl; ac_word=$2 - echo "$as_me:$LINENO: checking for $ac_word" >&5 -@@ -3545,6 +3547,8 @@ - - fi - -+fi -+ - GCCINCLUDES= - - # Check whether --with-gcclib or --without-gcclib was given. -@@ -3565,7 +3569,7 @@ - XQPDEBUG=$QPHOME/src/xqpdebug/xqpdebug - fi - -- -+if false; then - - if test "$ICM" != NO_ICM; then - ###### FIND Tcl/Tk ########## -@@ -3915,6 +3919,7 @@ - ######END FIND Tcl/Tk ########## - fi - -+fi - - # Extract the first word of "printf", so it can be a program name with args. - set dummy printf; ac_word=$2 diff --git a/dev-lang/qu-prolog/files/qu-prolog-7.4-debug.patch b/dev-lang/qu-prolog/files/qu-prolog-7.4-debug.patch deleted file mode 100644 index 0b5ddc8c20d4..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-7.4-debug.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- qp7.2.orig/src/io.cc 2006-04-06 14:14:01.000000000 +1200 -+++ qp7.2/src/io.cc 2006-05-27 11:33:54.000000000 +1200 -@@ -941,8 +941,7 @@ - } - - #ifdef DEBUG_IO -- cerr.form("%s result = %ld FD_ISSET(%ld, ...) = %ld\n", -- __FUNCTION__, result, fd, FD_ISSET(fd, &fds)); -+ cerr << __FUNCTION__ << " result = " << result << "FD_ISSET(" << fd << ", ...) = " << FD_ISSET(fd, &fds) << endl; - #endif - #ifdef WIN32 - if (result == 0 || result == 128) ---- qp7.2.orig/src/thread_escapes.cc 2006-04-06 14:14:02.000000000 +1200 -+++ qp7.2/src/thread_escapes.cc 2006-05-27 11:30:01.000000000 +1200 -@@ -220,8 +220,7 @@ - thread_table->IncLive(); - - #ifdef DEBUG_MT -- printf("%s Thread %ld, %ld now live\n", -- __FUNCTION__, thread->TInfo().ID(), thread_table->Live()); -+ cout << __FUNCTION__ << " Thread " << thread->TInfo().ID() << ", " << thread_table->Live() << " now live" << endl; - // heap.DisplayTerm(cerr, *atoms, argG); - #endif - -@@ -544,7 +543,7 @@ - Condition(EXITED); - - #ifdef DEBUG_MT -- cerr.form("%s %ld\n", __FUNCTION__, TInfo().ID()); -+ cerr << __FUNCTION__ << " " << TInfo().ID() << endl; - #endif - - if (TInfo().SymbolSet()) -@@ -962,7 +961,7 @@ - thread->Condition(EXITED); - - #ifdef DEBUG_MT -- cerr.form("%s %ld\n", __FUNCTION__, thread->TInfo().ID()); -+ cerr << __FUNCTION__ << " " << thread->TInfo().ID(); - #endif - - if (thread->TInfo().SymbolSet()) diff --git a/dev-lang/qu-prolog/files/qu-prolog-7.4-gcc4.patch b/dev-lang/qu-prolog/files/qu-prolog-7.4-gcc4.patch deleted file mode 100644 index 82a35b62ac9e..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-7.4-gcc4.patch +++ /dev/null @@ -1,85 +0,0 @@ -diff -ur qp7.4.orig/src/arithmetic.cc qp7.4/src/arithmetic.cc ---- qp7.4.orig/src/arithmetic.cc 2006-07-27 16:27:05.000000000 +1200 -+++ qp7.4/src/arithmetic.cc 2006-08-06 16:24:01.000000000 +1200 -@@ -102,7 +102,7 @@ - - #define IS_ZERO(x) ((x.type == ARITH_INTEGER_TYPE) && (x.value.i == 0)) - --number zero = {ARITH_INTEGER_TYPE, 0}; -+number zero = {ARITH_INTEGER_TYPE, {0}}; - // - // arithEvaluate is an auxilary function used by arithmetical pseudo - //instructions to carry out the evaluation of expressions. -diff -ur qp7.4.orig/src/bind.h qp7.4/src/bind.h ---- qp7.4.orig/src/bind.h 2006-07-27 16:27:05.000000000 +1200 -+++ qp7.4/src/bind.h 2006-08-06 16:24:01.000000000 +1200 -@@ -138,7 +138,7 @@ - // - // Update and trail an implicit parameter entry - // --inline void Thread::updateAndTrailIP(heapobject* ptr, Object* value, -+inline void updateAndTrailIP(heapobject* ptr, Object* value, - u_int offset = 0) - { - assert(ptr != NULL); -diff -ur qp7.4.orig/src/trace_qp.h qp7.4/src/trace_qp.h ---- qp7.4.orig/src/trace_qp.h 2006-07-27 16:27:06.000000000 +1200 -+++ qp7.4/src/trace_qp.h 2006-08-06 16:25:21.000000000 +1200 -@@ -107,8 +107,8 @@ - void TraceConst2(AtomTable& atoms, Heap& heap, const char *s, Object* c, - const int32 x, const int32 y); - -- void Trace::TraceInt0(const char *s, const int32 n); -- void Trace::TraceInt1(const char *s, const int32 n, const int32 x); -+ void TraceInt0(const char *s, const int32 n); -+ void TraceInt1(const char *s, const int32 n, const int32 x); - - void TraceString1(const char *s, const char *t); - void TraceString2(const char *s, const char *t, const int32 x); -diff -ur qp7.4.orig/src/unify.h qp7.4/src/unify.h ---- qp7.4.orig/src/unify.h 2006-07-27 16:27:06.000000000 +1200 -+++ qp7.4/src/unify.h 2006-08-06 16:24:01.000000000 +1200 -@@ -190,7 +190,7 @@ - // - // Unify object variables. - // --bool Thread::unifyObjectVariables(PrologValue& objectVariable1, -+bool unifyObjectVariables(PrologValue& objectVariable1, - PrologValue& objectVariable2); - - // -diff -ur qp7.4.orig/src/xqp/interact.h qp7.4/src/xqp/interact.h ---- qp7.4.orig/src/xqp/interact.h 2006-04-06 16:01:45.000000000 +1200 -+++ qp7.4/src/xqp/interact.h 2006-08-06 16:24:01.000000000 +1200 -@@ -23,7 +23,7 @@ - #include <qwidget.h> - #include <qtextedit.h> - #include <qstring.h> --#include <fstream.h> -+#include <fstream> - #include <qaccel.h> - #include <qregexp.h> - #include <qsocketnotifier.h> -diff -ur qp7.4.orig/src/xqp/main.cc qp7.4/src/xqp/main.cc ---- qp7.4.orig/src/xqp/main.cc 2006-04-06 16:01:45.000000000 +1200 -+++ qp7.4/src/xqp/main.cc 2006-08-06 16:24:01.000000000 +1200 -@@ -19,9 +19,9 @@ - - #include <stdlib.h> - #include <stdio.h> --#include <iostream.h> -+#include <iostream> - #include <unistd.h> --#include <fstream.h> -+#include <fstream> - #include <sys/types.h> - #include <sys/stat.h> - #include <fcntl.h> -@@ -30,6 +30,7 @@ - - #include "xqp.h" - -+using namespace std; - - // Create 2 sockets for unidirectional communication to and from qp - int socket_main_to_qp[2], socket_qp_to_main[2]; diff --git a/dev-lang/qu-prolog/files/qu-prolog-7.4-portage.patch b/dev-lang/qu-prolog/files/qu-prolog-7.4-portage.patch deleted file mode 100644 index a0906e561e08..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-7.4-portage.patch +++ /dev/null @@ -1,224 +0,0 @@ ---- qp7.2.orig/Makefile.in 2006-02-20 16:22:53.000000000 +1300 -+++ qp7.2/Makefile.in 2006-03-24 23:22:43.000000000 +1200 -@@ -14,6 +14,7 @@ - # objects. - # - -+export QPHOME = @prefix@/lib/qu-prolog - export QPBIN = @QPHOME@/bin - - -@@ -34,7 +35,6 @@ - objects: - @$(MAKE) -C @QPHOME@/bin $(PARALLEL) all - @$(MAKE) -C @QPHOME@/src $(PARALLEL) all -- @$(MAKE) -C @QPHOME@/src $(PARALLEL) install - @$(MAKE) -C @QPHOME@/prolog $(PARALLEL) all - - ---- qp7.2.orig/bin/qc.in 2003-02-07 10:21:21.000000000 +1300 -+++ qp7.2/bin/qc.in 2006-03-25 13:56:42.000000000 +1200 -@@ -52,24 +52,25 @@ - # - # location of Qu-Prolog project - # --PATH=@QPHOME@/bin:$PATH -+QPHOME=@prefix@/lib/qu-prolog -+PATH=$QPHOME/bin:$PATH - - # - # names of Qu-Prolog binaries - # --preprocess=@QPHOME@/bin/qppp -+preprocess=qppp - expand=qg - compile=qc1 - compversion=qup - assemble=qa - link=ql --execute=@QPHOME@/bin/qem -+execute=qem - - # - # Use the line below when dynamic search for libraries is implemented. - # - # libqofiles="" --libqofiles="@QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo" -+libqofiles="$QPHOME/compiler/*.qo $QPHOME/library/*.qo" - - qlfiles="" - qlefiles="" -@@ -332,18 +333,7 @@ - absexecfile=$execfile - ;; - *) -- currdir=`pwd` -- case $currdir in -- /u*) -- abspath=`echo $currdir | sed "s,/u./$HOSTNAME/,/homes/,"` -- ;; -- /tmp_mnt/*) -- abspath=`echo $currdir | sed 's,/tmp_mnt/homes/[^/]*/,/homes/,'` -- ;; -- *) -- abspath=$currdir -- ;; -- esac -+ abspath=`pwd` - absexecfile=$abspath/$execfile - ;; - esac -@@ -359,5 +349,8 @@ - - # make executable file - --echo "exec $execute $Eoptions $lflag -Q '$savefile' \$* $*" >$execfile -+echo "QPPATH=@prefix@/bin:$QPHOME/bin" >$execfile -+echo "QPLIBPATH=$QPHOME/compiler:$QPHOME/library:$QPLIBPATH" >>$execfile -+echo "export QPPATH QPLIBPATH" >>$execfile -+echo "exec $execute $Eoptions $lflag -Q '$savefile' \$* $*" >>$execfile - chmod a+x $execfile ---- qp7.2.orig/prolog/compiler/Makefile.in 2006-02-20 16:22:58.000000000 +1300 -+++ qp7.2/prolog/compiler/Makefile.in 2006-03-24 22:54:57.000000000 +1200 -@@ -29,5 +29,5 @@ - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - ---- qp7.2.orig/prolog/library/Makefile.in 2006-02-20 16:22:58.000000000 +1300 -+++ qp7.2/prolog/library/Makefile.in 2006-03-24 23:00:08.000000000 +1200 -@@ -100,4 +100,4 @@ - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ ---- qp7.4.orig/prolog/qc1/Makefile.in 2006-07-27 16:27:35.000000000 +1200 -+++ qp7.4/prolog/qc1/Makefile.in 2006-08-07 21:11:56.000000000 +1200 -@@ -3,6 +3,7 @@ - # - PROGRAM = @QPHOME@/bin/qc1.qup - -+SAVEFILE = qc1.qx - SOURCES = qc1.ql - - BASES = $(basename $(SOURCES)) -@@ -13,8 +14,12 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -L -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -L -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - ---- qp7.2.orig/prolog/qecat/Makefile.in 2006-02-20 16:22:58.000000000 +1300 -+++ qp7.2/prolog/qecat/Makefile.in 2006-03-25 10:49:45.000000000 +1200 -@@ -3,7 +3,7 @@ - # - - PROGRAM = $(QPBIN)/qecat -- -+SAVEFILE = qecat.qx - SOURCES = qecat.ql - - BASES = $(basename $(SOURCES)) -@@ -14,9 +14,13 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -L -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -L -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - ---- qp7.2.orig/prolog/qg/Makefile.in 2006-02-20 16:22:58.000000000 +1300 -+++ qp7.2/prolog/qg/Makefile.in 2006-03-25 10:43:32.000000000 +1200 -@@ -3,7 +3,7 @@ - # - - PROGRAM = @QPHOME@/bin/qg -- -+SAVEFILE = qg.qx - SOURCES = qg.ql - - BASES = $(basename $(SOURCES)) -@@ -14,9 +14,13 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -L -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -L -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - ---- qp7.2.orig/prolog/qp/Makefile.in 2006-02-20 16:22:58.000000000 +1300 -+++ qp7.2/prolog/qp/Makefile.in 2006-03-25 10:47:17.000000000 +1200 -@@ -2,7 +2,7 @@ - # Makefile for "qp" - # - PROGRAM = @QPHOME@/bin/qp -- -+SAVEFILE = qp.qx - SOURCES = qp.ql - - BASES = $(basename $(SOURCES)) -@@ -13,9 +13,13 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo -e "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library:\044QPLIBPATH:." >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - ---- qp7.2.orig/src/Makefile.in 2006-04-06 14:14:37.000000000 +1200 -+++ qp7.2/src/Makefile.in 2006-05-27 09:00:47.000000000 +1200 -@@ -40,7 +40,7 @@ - - #export DEBUGGING= - --export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ -I@ICMHOME@/include @GCCINCLUDES@ -Wno-uninitialized -+#export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ -I@ICMHOME@/include @GCCINCLUDES@ -Wno-uninitialized - export QACXXFLAGS = -Wall -D_GNU_SOURCE=1 @DEBUGGING@ -I@ICMHOME@/include @GCCINCLUDES@ -Wno-uninitialized - - .PHONY: all -@@ -80,6 +80,9 @@ - - # Targets - -+.cc.o: -+ $(CXX) $(CXXFLAGS) @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 @DEBUGGING@ -I@ICMHOME@/include @GCCINCLUDES@ -Wno-uninitialized -c $< -+ - .PHONY: commands - commands: $(GENERATED) $(LIBRARIES) $(BIG_LIBRARY) - @$(MAKE) $(ALL_COMMANDS) diff --git a/dev-lang/qu-prolog/files/qu-prolog-7.4-qt4.patch b/dev-lang/qu-prolog/files/qu-prolog-7.4-qt4.patch deleted file mode 100644 index e89366282dfb..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-7.4-qt4.patch +++ /dev/null @@ -1,414 +0,0 @@ ---- qp7.2.orig/src/xqp/interact.cc 2004-05-25 16:31:33.000000000 +1200 -+++ qp7.2/src/xqp/interact.cc 2006-05-27 15:04:32.000000000 +1200 -@@ -26,13 +26,17 @@ - #include "term.h" - #include "xqpqueries.h" - #include <qmessagebox.h> --#include <qfiledialog.h> -+#include <q3filedialog.h> - #include <qfile.h> -+#include <QMouseEvent> -+#include <QTextStream> -+#include <QKeyEvent> -+#include <QEvent> - - using namespace std; - - Interact::Interact( QWidget *box ) -- : QTextEdit(box) -+ : Q3TextEdit(box) - { - parent = box; - setTextFormat(Qt::PlainText); -@@ -98,13 +102,13 @@ - if ((p < para) || ((p == para) && (i < indent))) - { - if (e->button() != Qt::MidButton) -- QTextEdit::contentsMouseReleaseEvent(e); -+ Q3TextEdit::contentsMouseReleaseEvent(e); - setCursorPosition(currpara,currindent); - readonly = true; - } - else - { -- QTextEdit::contentsMouseReleaseEvent(e); -+ Q3TextEdit::contentsMouseReleaseEvent(e); - readonly = false; - } - } -@@ -116,21 +120,21 @@ - { - QMouseEvent lbe(QEvent::MouseButtonPress, e->pos(), - Qt::LeftButton, Qt::LeftButton); -- QTextEdit::contentsMousePressEvent(&lbe); -- QTextEdit::contentsMouseReleaseEvent(&lbe); -+ Q3TextEdit::contentsMousePressEvent(&lbe); -+ Q3TextEdit::contentsMouseReleaseEvent(&lbe); - } -- QTextEdit::contentsMousePressEvent(e); -+ Q3TextEdit::contentsMousePressEvent(e); - } - - void Interact::cut() - { -- if (readonly) QTextEdit::copy(); -- else QTextEdit::cut(); -+ if (readonly) Q3TextEdit::copy(); -+ else Q3TextEdit::cut(); - } - - void Interact::paste() - { -- if (!readonly) QTextEdit::paste(); -+ if (!readonly) Q3TextEdit::paste(); - } - - void Interact::keyPressEvent(QKeyEvent *k) -@@ -138,10 +142,10 @@ - int key_pressed = k->key(); - if (key_pressed == Qt::Key_Control) - { -- QTextEdit::keyPressEvent(k); -+ Q3TextEdit::keyPressEvent(k); - return; - } -- if (k->state() == ControlButton) -+ if (k->state() == Qt::ControlModifier) - { - in_history = false; - if (key_pressed == 'D') -@@ -151,7 +155,7 @@ - } - if (key_pressed == 'C') - { -- QTextEdit::keyPressEvent(k); -+ Q3TextEdit::keyPressEvent(k); - return; - } - } -@@ -220,7 +224,7 @@ - if (key_pressed == Qt::Key_Home) - { - in_history = false; -- if (k->state() == ControlButton) -+ if (k->state() == Qt::ControlModifier) - { - setCursorPosition(para,indent); - return; -@@ -244,7 +248,7 @@ - } - - in_history = false; -- QTextEdit::keyPressEvent(k); -+ Q3TextEdit::keyPressEvent(k); - } - - void Interact::addHistoryItem(QString* s) -@@ -271,11 +275,11 @@ - - void Interact::openQueryFile() - { -- QString fileName = QFileDialog::getOpenFileName(QString::null, "*", this); -+ QString fileName = Q3FileDialog::getOpenFileName(QString::null, "*", this); - if (fileName != QString::null) - { - QFile f(fileName); -- if (f.open(IO_ReadOnly)) -+ if (f.open(QIODevice::ReadOnly)) - { - QTextStream t(&f); - XQPQueries* xqp_queries = new XQPQueries(parent, fileName, t.read()); -@@ -289,11 +293,11 @@ - - void Interact::saveHistory() - { -- QString fileName = QFileDialog::getSaveFileName(QString::null, "*", this); -+ QString fileName = Q3FileDialog::getSaveFileName(QString::null, "*", this); - if (fileName != QString::null) - { - QFile f(fileName); -- if (f.open(IO_WriteOnly)) -+ if (f.open(QIODevice::WriteOnly)) - { - QString* item = firstHistoryItem(); - while (item != NULL) -@@ -309,11 +313,11 @@ - - void Interact::saveSession() - { -- QString fileName = QFileDialog::getSaveFileName(QString::null, "*", this); -+ QString fileName = Q3FileDialog::getSaveFileName(QString::null, "*", this); - if (fileName != QString::null) - { - QFile f(fileName); -- if (f.open(IO_WriteOnly)) -+ if (f.open(QIODevice::WriteOnly)) - { - QString s = text(); - f.writeBlock(s, s.length()); ---- qp7.2.orig/src/xqp/interact.h 2006-05-27 15:42:00.000000000 +1200 -+++ qp7.2/src/xqp/interact.h 2006-05-27 15:07:05.000000000 +1200 -@@ -21,17 +21,20 @@ - #define INTERACT_H - - #include <qwidget.h> --#include <qtextedit.h> -+#include <q3textedit.h> - #include <qstring.h> -+#include <QMouseEvent> -+#include <QKeyEvent> -+#include <Q3PtrList> - #include <fstream> --#include <qaccel.h> -+#include <q3accel.h> - #include <qregexp.h> - #include <qsocketnotifier.h> - #include <qstringlist.h> - - - --class Interact : public QTextEdit { -+class Interact : public Q3TextEdit { - Q_OBJECT - public: - Interact(QWidget *box); -@@ -58,7 +61,7 @@ - bool readonly; - bool in_query; - bool in_history; -- QPtrList<QString> history; -+ Q3PtrList<QString> history; - QString* firstHistoryItem(void); - QString* nextHistoryItem(void); - QString* previousHistoryItem(void); ---- qp7.2.orig/src/xqp/qthelp.cc 2004-05-25 16:31:33.000000000 +1200 -+++ qp7.2/src/xqp/qthelp.cc 2006-05-27 14:50:15.000000000 +1200 -@@ -73,9 +73,9 @@ - - - QTHelp::QTHelp(QWidget *p) -- : QMainWindow(p) -+ : Q3MainWindow(p) - { -- help = new QTextEdit(this); -+ help = new Q3TextEdit(this); - setCentralWidget(help); - parent = p; - resize(600,400); ---- qp7.2.orig/src/xqp/qthelp.h 2004-05-10 11:51:09.000000000 +1200 -+++ qp7.2/src/xqp/qthelp.h 2006-05-27 14:50:15.000000000 +1200 -@@ -21,11 +21,11 @@ - #define QTHELP_H - - #include <qwidget.h> --#include <qmainwindow.h> --#include <qtextedit.h> -+#include <q3mainwindow.h> -+#include <q3textedit.h> - - --class QTHelp : public QMainWindow -+class QTHelp : public Q3MainWindow - { - Q_OBJECT - public: -@@ -37,7 +37,7 @@ - signals: - - private: -- QTextEdit* help; -+ Q3TextEdit* help; - QWidget* parent; - - protected: ---- qp7.2.orig/src/xqp/term.cc 2004-05-10 11:51:10.000000000 +1200 -+++ qp7.2/src/xqp/term.cc 2006-05-27 15:00:38.000000000 +1200 -@@ -38,7 +38,7 @@ - - bool graphic_char(QChar c) - { -- switch (c) -+ switch (c.unicode()) - { - case '-': - case '/': ---- qp7.2.orig/src/xqp/xqp.cc 2004-05-16 16:27:55.000000000 +1200 -+++ qp7.2/src/xqp/xqp.cc 2006-05-27 15:06:15.000000000 +1200 -@@ -26,13 +26,14 @@ - #include <qpushbutton.h> - #include <qlabel.h> - #include <qapplication.h> --#include <qpopupmenu.h> --#include <qmainwindow.h> -+#include <q3popupmenu.h> -+#include <q3mainwindow.h> - #include <qmenubar.h> --#include <qvbox.h> -+#include <q3vbox.h> - #include <qmessagebox.h> - #include <qinputdialog.h> --#include <qlistbox.h> -+#include <q3listbox.h> -+#include <QCloseEvent> - - #include "xqp.h" - #include "interact.h" -@@ -63,7 +64,7 @@ - cancel->setGeometry(190,200,120,40); - font->setGeometry(10,10,150,40); - colour->setGeometry(170,10,150,40); -- browser = new QTextBrowser(this); -+ browser = new Q3TextBrowser(this); - browser->setGeometry(10,80,310,100); - browser->setText("AaBb :- \n| ?-"); - browser->setFont(f); -@@ -105,7 +106,7 @@ - - - Xqp::Xqp(int e_stdout, int e_stdin, pid_t c_pid) -- : QMainWindow() -+ : Q3MainWindow() - { - config = new QPConfig(this); - qp_stdin = e_stdin; -@@ -124,20 +125,20 @@ - qpint->setReadOnly(false); - // Set up menu items - // File menu -- QPopupMenu* file = new QPopupMenu(this); -+ Q3PopupMenu* file = new Q3PopupMenu(this); - file->insertItem("Open Query File", qpint, SLOT(openQueryFile())); - file->insertItem("Save History", qpint, SLOT(saveHistory())); - file->insertItem("Save Session", qpint, SLOT(saveSession())); - file->insertItem("Configure", this, SLOT(configure_int())); - menuBar()->insertItem("File", file); - -- QPopupMenu* sigs = new QPopupMenu(this); -+ Q3PopupMenu* sigs = new Q3PopupMenu(this); - sigs->insertItem("SIGINT", this, SLOT(process_CTRL_C())); - menuBar()->insertItem("Signals", sigs); - - - // Help menu -- QPopupMenu* help = new QPopupMenu(this); -+ Q3PopupMenu* help = new Q3PopupMenu(this); - help->insertItem("Help", this, SLOT(showHelp())); - help->insertItem("About", this, SLOT(showAbout())); - menuBar()->insertItem("Help", help); -@@ -170,7 +171,7 @@ - - void Xqp::closeEvent(QCloseEvent *e) - { -- QMainWindow::closeEvent(e); -+ Q3MainWindow::closeEvent(e); - } - - ---- qp7.2.orig/src/xqp/xqp.h 2004-05-16 16:27:55.000000000 +1200 -+++ qp7.2/src/xqp/xqp.h 2006-05-27 15:06:25.000000000 +1200 -@@ -26,13 +26,15 @@ - - #include <qapplication.h> - #include <qwidget.h> --#include <qmainwindow.h> -+#include <q3mainwindow.h> -+#include <Q3PopupMenu> -+#include <QCloseEvent> - #include <sys/types.h> - #include <qstring.h> --#include <qmultilineedit.h> -+#include <q3multilineedit.h> - #include <qdialog.h> --#include <qmainwindow.h> --#include <qtextbrowser.h> -+#include <q3mainwindow.h> -+#include <q3textbrowser.h> - #include <qcolordialog.h> - - #include "interact.h" -@@ -54,12 +56,12 @@ - Xqp* p; - QFont f; - QColor c; -- QTextBrowser *browser; -+ Q3TextBrowser *browser; - }; - - - /** Xqp is the base class of the project */ --class Xqp : public QMainWindow -+class Xqp : public Q3MainWindow - { - Q_OBJECT - public: -@@ -93,7 +95,7 @@ - static const int buff_size = 10000; - char* read_buff; - -- QPopupMenu* view_menu; -+ Q3PopupMenu* view_menu; - QTHelp* qthelp; - - public: ---- qp7.2.orig/src/xqp/xqp.pro 2004-05-11 15:23:59.000000000 +1200 -+++ qp7.2/src/xqp/xqp.pro 2006-05-27 15:09:32.000000000 +1200 -@@ -3,6 +3,7 @@ - ###################################################################### - - TEMPLATE = app -+QT += qt3support - INCLUDEPATH += . - - # Input ---- qp7.2.orig/src/xqp/xqpqueries.cc 2004-05-10 11:51:11.000000000 +1200 -+++ qp7.2/src/xqp/xqpqueries.cc 2006-05-27 15:06:34.000000000 +1200 -@@ -19,11 +19,12 @@ - - #include "xqpqueries.h" - #include "term.h" -+#include <QKeyEvent> - - XQPQueries::XQPQueries(QWidget *p, QString& name, QString text) -- : QMainWindow(p, name) -+ : Q3MainWindow(p, name) - { -- queries = new QTextEdit(this); -+ queries = new Q3TextEdit(this); - setCentralWidget(queries); - parent = p; - resize(400,300); -@@ -88,6 +89,6 @@ - } - else - { -- QMainWindow::keyPressEvent(k); -+ Q3MainWindow::keyPressEvent(k); - } - } ---- qp7.2.orig/src/xqp/xqpqueries.h 2004-05-10 11:51:11.000000000 +1200 -+++ qp7.2/src/xqp/xqpqueries.h 2006-05-27 15:06:42.000000000 +1200 -@@ -21,11 +21,12 @@ - #define XQPQUERIES_H - - #include <qwidget.h> --#include <qmainwindow.h> --#include <qtextedit.h> -+#include <q3mainwindow.h> -+#include <q3textedit.h> -+#include <QKeyEvent> - - --class XQPQueries : public QMainWindow -+class XQPQueries : public Q3MainWindow - { - Q_OBJECT - public: -@@ -38,7 +39,7 @@ - void process_text(QString); - void process_return(); - private: -- QTextEdit* queries; -+ Q3TextEdit* queries; - QWidget* parent; - - protected: diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.0-configure.patch b/dev-lang/qu-prolog/files/qu-prolog-8.0-configure.patch deleted file mode 100644 index 9c90ea410602..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-8.0-configure.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- qp8.0.orig/configure 2007-07-09 10:37:47.000000000 +1200 -+++ qp8.0/configure 2007-07-21 18:57:04.000000000 +1200 -@@ -4035,6 +4035,8 @@ - - fi - -+if false; then -+ - # Extract the first word of "perl", so it can be a program name with args. - set dummy perl; ac_word=$2 - { echo "$as_me:$LINENO: checking for $ac_word" >&5 -@@ -4085,6 +4087,7 @@ - { (exit 1); exit 1; }; } - fi - -+fi - - GCCINCLUDES= - diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.0-debug.patch b/dev-lang/qu-prolog/files/qu-prolog-8.0-debug.patch deleted file mode 100644 index db71a9b3a2cb..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-8.0-debug.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -ur qp8.0.orig/src/io.cc qp8.0/src/io.cc ---- qp8.0.orig/src/io.cc 2007-07-09 10:37:24.000000000 +1200 -+++ qp8.0/src/io.cc 2007-07-21 19:50:02.000000000 +1200 -@@ -914,8 +914,7 @@ - } - - #ifdef DEBUG_IO -- cerr.form("%s result = %ld FD_ISSET(%ld, ...) = %ld\n", -- __FUNCTION__, result, fd, FD_ISSET(fd, &fds)); -+ cerr << __FUNCTION__ << " result = " << result << "FD_ISSET(" << fd << ", ...) = " << FD_ISSET(fd, &fds) << endl; - #endif - #ifdef WIN32 - if (result == 0 || result == 128) -diff -ur qp8.0.orig/src/thread_escapes.cc qp8.0/src/thread_escapes.cc ---- qp8.0.orig/src/thread_escapes.cc 2007-07-09 10:37:25.000000000 +1200 -+++ qp8.0/src/thread_escapes.cc 2007-07-21 19:51:20.000000000 +1200 -@@ -212,8 +212,7 @@ - thread_table->IncLive(); - - #ifdef DEBUG_MT -- printf("%s Thread %ld, %ld now live\n", -- __FUNCTION__, thread->TInfo().ID(), thread_table->Live()); -+ cout << __FUNCTION__ << " Thread " << thread->TInfo().ID() << ", " << thread_table->Live() << " now live" << endl; - // heap.DisplayTerm(cerr, *atoms, argG); - #endif - -@@ -541,7 +540,7 @@ - Condition(ThreadCondition::EXITED); - - #ifdef DEBUG_MT -- cerr.form("%s %ld\n", __FUNCTION__, TInfo().ID()); -+ cerr << __FUNCTION__ << " " << TInfo().ID() << endl; - #endif - - if (TInfo().SymbolSet()) -@@ -948,7 +947,7 @@ - thread->Condition(ThreadCondition::EXITED); - - #ifdef DEBUG_MT -- cerr.form("%s %ld\n", __FUNCTION__, thread->TInfo().ID()); -+ cerr << __FUNCTION__ << " " << thread->TInfo().ID(); - #endif - - if (thread->TInfo().SymbolSet()) diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.0-gcc4.patch b/dev-lang/qu-prolog/files/qu-prolog-8.0-gcc4.patch deleted file mode 100644 index 11bfc037b772..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-8.0-gcc4.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -ur qp8.0.orig/src/xqp/interact.h qp8.0/src/xqp/interact.h ---- qp8.0.orig/src/xqp/interact.h 2007-03-02 13:25:06.000000000 +1300 -+++ qp8.0/src/xqp/interact.h 2007-07-21 19:01:26.000000000 +1200 -@@ -27,7 +27,7 @@ - #include <QMouseEvent> - #include <QKeyEvent> - #include <Q3PtrList> --#include <fstream.h> -+#include <fstream> - #include <q3accel.h> - #include <qregexp.h> - #include <qsocketnotifier.h> -diff -ur qp8.0.orig/src/xqp/main.cc qp8.0/src/xqp/main.cc ---- qp8.0.orig/src/xqp/main.cc 2006-04-06 16:01:45.000000000 +1200 -+++ qp8.0/src/xqp/main.cc 2007-07-21 19:02:01.000000000 +1200 -@@ -19,9 +19,9 @@ - - #include <stdlib.h> - #include <stdio.h> --#include <iostream.h> -+#include <iostream> - #include <unistd.h> --#include <fstream.h> -+#include <fstream> - #include <sys/types.h> - #include <sys/stat.h> - #include <fcntl.h> -@@ -30,6 +30,7 @@ - - #include "xqp.h" - -+using namespace std; - - // Create 2 sockets for unidirectional communication to and from qp - int socket_main_to_qp[2], socket_qp_to_main[2]; diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.0-portage.patch b/dev-lang/qu-prolog/files/qu-prolog-8.0-portage.patch deleted file mode 100644 index a4db307d73ca..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-8.0-portage.patch +++ /dev/null @@ -1,234 +0,0 @@ -diff -ur qp8.0.orig/Makefile.in qp8.0/Makefile.in ---- qp8.0.orig/Makefile.in 2007-07-09 10:37:45.000000000 +1200 -+++ qp8.0/Makefile.in 2007-07-21 18:37:45.000000000 +1200 -@@ -14,6 +14,7 @@ - # objects. - # - -+export QPHOME = @prefix@/lib/qu-prolog - export QPBIN = @QPHOME@/bin - - -@@ -34,7 +35,6 @@ - objects: - @$(MAKE) -C @QPHOME@/bin $(PARALLEL) all - @$(MAKE) -C @QPHOME@/src $(PARALLEL) all -- @$(MAKE) -C @QPHOME@/src $(PARALLEL) install - @$(MAKE) -C @QPHOME@/prolog $(PARALLEL) all - - -diff -ur qp8.0.orig/bin/qc.in qp8.0/bin/qc.in ---- qp8.0.orig/bin/qc.in 2007-02-05 16:52:26.000000000 +1300 -+++ qp8.0/bin/qc.in 2007-07-21 18:43:54.000000000 +1200 -@@ -52,24 +52,25 @@ - # - # location of Qu-Prolog project - # --PATH=@QPHOME@/bin:$PATH -+QPHOME=@libdir@/qu-prolog -+PATH=$QPHOME/bin:$PATH - - # - # names of Qu-Prolog binaries - # --preprocess=@QPHOME@/bin/qppp --expand=@QPHOME@/bin/qg --compile=@QPHOME@/bin/qc1 -+preprocess=qppp -+expand=qg -+compile=qc1 - compversion=qup --assemble=@QPHOME@/bin/qa --link=@QPHOME@/bin/ql --execute=@QPHOME@/bin/qem -+assemble=qa -+link=ql -+execute=qem - - # - # Use the line below when dynamic search for libraries is implemented. - # - # libqofiles="" --libqofiles="@QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo" -+libqofiles="@QPHOME@/compiler/*.qo @QPHOME@/library/*.qo" - - qlfiles="" - qlefiles="" -@@ -332,18 +333,7 @@ - absexecfile=$execfile - ;; - *) -- currdir=`pwd` -- case $currdir in -- /u*) -- abspath=`echo $currdir | sed "s,/u./$HOSTNAME/,/homes/,"` -- ;; -- /tmp_mnt/*) -- abspath=`echo $currdir | sed 's,/tmp_mnt/homes/[^/]*/,/homes/,'` -- ;; -- *) -- abspath=$currdir -- ;; -- esac -+ abspath=`pwd` - absexecfile=$abspath/$execfile - ;; - esac -@@ -359,5 +349,8 @@ - - # make executable file - --echo "exec $execute $Eoptions $lflag -Q '$savefile' \$* $*" >$execfile -+echo "QPPATH=@prefix@/bin:$QPHOME/bin" >$execfile -+echo "QPLIBPATH=$QPHOME/compiler:$QPHOME/library:"'$QPLIBPATH' >>$execfile -+echo "export QPPATH QPLIBPATH" >>$execfile -+echo "exec $execute $Eoptions $lflag -Q '$savefile' \$* $*" >>$execfile - chmod a+x $execfile -diff -ur qp8.0.orig/prolog/compiler/Makefile.in qp8.0/prolog/compiler/Makefile.in ---- qp8.0.orig/prolog/compiler/Makefile.in 2007-07-09 10:37:47.000000000 +1200 -+++ qp8.0/prolog/compiler/Makefile.in 2007-07-21 18:45:05.000000000 +1200 -@@ -29,5 +29,5 @@ - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.0.orig/prolog/library/Makefile.in qp8.0/prolog/library/Makefile.in ---- qp8.0.orig/prolog/library/Makefile.in 2007-07-09 10:37:47.000000000 +1200 -+++ qp8.0/prolog/library/Makefile.in 2007-08-12 16:38:23.000000000 +1200 -@@ -99,4 +99,4 @@ - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ -diff -ur qp8.0.orig/prolog/qc1/Makefile.in qp8.0/prolog/qc1/Makefile.in ---- qp8.0.orig/prolog/qc1/Makefile.in 2007-07-09 10:37:47.000000000 +1200 -+++ qp8.0/prolog/qc1/Makefile.in 2007-07-21 18:46:20.000000000 +1200 -@@ -3,6 +3,7 @@ - # - PROGRAM = @QPHOME@/bin/qc1.qup - -+SAVEFILE = qc1.qx - SOURCES = qc1.ql - - BASES = $(basename $(SOURCES)) -@@ -13,8 +14,12 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -L -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -L -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.0.orig/prolog/qecat/Makefile.in qp8.0/prolog/qecat/Makefile.in ---- qp8.0.orig/prolog/qecat/Makefile.in 2007-07-09 10:37:47.000000000 +1200 -+++ qp8.0/prolog/qecat/Makefile.in 2007-07-21 18:47:24.000000000 +1200 -@@ -4,6 +4,7 @@ - - PROGRAM = $(QPBIN)/qecat - -+SAVEFILE = qecat.qx - SOURCES = qecat.ql - - BASES = $(basename $(SOURCES)) -@@ -14,9 +15,13 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -L -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -L -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.0.orig/prolog/qg/Makefile.in qp8.0/prolog/qg/Makefile.in ---- qp8.0.orig/prolog/qg/Makefile.in 2007-07-09 10:37:47.000000000 +1200 -+++ qp8.0/prolog/qg/Makefile.in 2007-07-21 18:48:02.000000000 +1200 -@@ -4,6 +4,7 @@ - - PROGRAM = @QPHOME@/bin/qg - -+SAVEFILE = qg.qx - SOURCES = qg.ql - - BASES = $(basename $(SOURCES)) -@@ -14,9 +15,13 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -L -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -L -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.0.orig/prolog/qp/Makefile.in qp8.0/prolog/qp/Makefile.in ---- qp8.0.orig/prolog/qp/Makefile.in 2007-07-09 10:37:47.000000000 +1200 -+++ qp8.0/prolog/qp/Makefile.in 2007-07-21 18:48:38.000000000 +1200 -@@ -3,6 +3,7 @@ - # - PROGRAM = @QPHOME@/bin/qp - -+SAVEFILE = qp.qx - SOURCES = qp.ql - - BASES = $(basename $(SOURCES)) -@@ -13,9 +14,13 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.0.orig/src/Makefile.in qp8.0/src/Makefile.in ---- qp8.0.orig/src/Makefile.in 2007-07-09 10:37:47.000000000 +1200 -+++ qp8.0/src/Makefile.in 2007-07-21 18:50:59.000000000 +1200 -@@ -39,7 +39,7 @@ - - #export DEBUGGING= - --export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized -+#export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized - export QACXXFLAGS = -Wall -D_GNU_SOURCE=1 @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized - - .PHONY: all -@@ -78,6 +78,9 @@ - - # Targets - -+.cc.o: -+ $(CXX) $(CXXFLAGS) @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized -c $< -+ - .PHONY: commands - commands: $(GENERATED) $(LIBRARIES) $(BIG_LIBRARY) - @$(MAKE) $(ALL_COMMANDS) diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.1-configure.patch b/dev-lang/qu-prolog/files/qu-prolog-8.1-configure.patch deleted file mode 100644 index 2c7059dbd37f..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-8.1-configure.patch +++ /dev/null @@ -1,30 +0,0 @@ -Only in qp8.1: Makefile.in.orig -Only in qp8.1/bin: qc.in.orig -diff -ur qp8.1.orig/configure qp8.1/configure ---- qp8.1.orig/configure 2007-08-22 12:23:02.000000000 +1200 -+++ qp8.1/configure 2007-08-26 09:41:17.000000000 +1200 -@@ -3786,6 +3786,8 @@ - - fi - -+if false; then -+ - # Extract the first word of "perl", so it can be a program name with args. - set dummy perl; ac_word=$2 - { echo "$as_me:$LINENO: checking for $ac_word" >&5 -@@ -3836,6 +3838,7 @@ - { (exit 1); exit 1; }; } - fi - -+fi - - GCCINCLUDES= - -Only in qp8.1: configure.orig -Only in qp8.1/prolog/compiler: Makefile.in.orig -Only in qp8.1/prolog/library: Makefile.in.orig -Only in qp8.1/prolog/qc1: Makefile.in.orig -Only in qp8.1/prolog/qecat: Makefile.in.orig -Only in qp8.1/prolog/qg: Makefile.in.orig -Only in qp8.1/prolog/qp: Makefile.in.orig -Only in qp8.1/src: Makefile.in.orig diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.1-debug.patch b/dev-lang/qu-prolog/files/qu-prolog-8.1-debug.patch deleted file mode 100644 index c3aaa4a144f6..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-8.1-debug.patch +++ /dev/null @@ -1,54 +0,0 @@ -Only in qp8.1: Makefile.in.orig -Only in qp8.1/bin: qc.in.orig -Only in qp8.1: configure.orig -Only in qp8.1/prolog/compiler: Makefile.in.orig -Only in qp8.1/prolog/library: Makefile.in.orig -Only in qp8.1/prolog/qc1: Makefile.in.orig -Only in qp8.1/prolog/qecat: Makefile.in.orig -Only in qp8.1/prolog/qg: Makefile.in.orig -Only in qp8.1/prolog/qp: Makefile.in.orig -Only in qp8.1/src: Makefile.in.orig -diff -ur qp8.1.orig/src/io.cc qp8.1/src/io.cc ---- qp8.1.orig/src/io.cc 2007-08-22 12:22:43.000000000 +1200 -+++ qp8.1/src/io.cc 2007-08-26 09:41:38.000000000 +1200 -@@ -914,8 +914,7 @@ - } - - #ifdef DEBUG_IO -- cerr.form("%s result = %ld FD_ISSET(%ld, ...) = %ld\n", -- __FUNCTION__, result, fd, FD_ISSET(fd, &fds)); -+ cerr << __FUNCTION__ << " result = " << result << "FD_ISSET(" << fd << ", ...) = " << FD_ISSET(fd, &fds) << endl; - #endif - #ifdef WIN32 - if (result == 0 || result == 128) -diff -ur qp8.1.orig/src/thread_escapes.cc qp8.1/src/thread_escapes.cc ---- qp8.1.orig/src/thread_escapes.cc 2007-08-22 12:22:43.000000000 +1200 -+++ qp8.1/src/thread_escapes.cc 2007-08-26 09:41:38.000000000 +1200 -@@ -212,8 +212,7 @@ - thread_table->IncLive(); - - #ifdef DEBUG_MT -- printf("%s Thread %ld, %ld now live\n", -- __FUNCTION__, thread->TInfo().ID(), thread_table->Live()); -+ cout << __FUNCTION__ << " Thread " << thread->TInfo().ID() << ", " << thread_table->Live() << " now live" << endl; - // heap.DisplayTerm(cerr, *atoms, argG); - #endif - -@@ -541,7 +540,7 @@ - Condition(ThreadCondition::EXITED); - - #ifdef DEBUG_MT -- cerr.form("%s %ld\n", __FUNCTION__, TInfo().ID()); -+ cerr << __FUNCTION__ << " " << TInfo().ID() << endl; - #endif - - if (TInfo().SymbolSet()) -@@ -948,7 +947,7 @@ - thread->Condition(ThreadCondition::EXITED); - - #ifdef DEBUG_MT -- cerr.form("%s %ld\n", __FUNCTION__, thread->TInfo().ID()); -+ cerr << __FUNCTION__ << " " << thread->TInfo().ID(); - #endif - - if (thread->TInfo().SymbolSet()) diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.1-gcc4.patch b/dev-lang/qu-prolog/files/qu-prolog-8.1-gcc4.patch deleted file mode 100644 index 1a0429800c03..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-8.1-gcc4.patch +++ /dev/null @@ -1,47 +0,0 @@ -Only in qp8.1: Makefile.in.orig -Only in qp8.1/bin: qc.in.orig -Only in qp8.1: configure.orig -Only in qp8.1/prolog/compiler: Makefile.in.orig -Only in qp8.1/prolog/library: Makefile.in.orig -Only in qp8.1/prolog/qc1: Makefile.in.orig -Only in qp8.1/prolog/qecat: Makefile.in.orig -Only in qp8.1/prolog/qg: Makefile.in.orig -Only in qp8.1/prolog/qp: Makefile.in.orig -Only in qp8.1/src: Makefile.in.orig -Only in qp8.1/src: io.cc.orig -Only in qp8.1/src: thread_escapes.cc.orig -diff -ur qp8.1.orig/src/xqp/interact.h qp8.1/src/xqp/interact.h ---- qp8.1.orig/src/xqp/interact.h 2007-03-02 13:25:06.000000000 +1300 -+++ qp8.1/src/xqp/interact.h 2007-08-26 09:42:00.000000000 +1200 -@@ -27,7 +27,7 @@ - #include <QMouseEvent> - #include <QKeyEvent> - #include <Q3PtrList> --#include <fstream.h> -+#include <fstream> - #include <q3accel.h> - #include <qregexp.h> - #include <qsocketnotifier.h> -diff -ur qp8.1.orig/src/xqp/main.cc qp8.1/src/xqp/main.cc ---- qp8.1.orig/src/xqp/main.cc 2006-04-06 16:01:45.000000000 +1200 -+++ qp8.1/src/xqp/main.cc 2007-08-26 09:42:00.000000000 +1200 -@@ -19,9 +19,9 @@ - - #include <stdlib.h> - #include <stdio.h> --#include <iostream.h> -+#include <iostream> - #include <unistd.h> --#include <fstream.h> -+#include <fstream> - #include <sys/types.h> - #include <sys/stat.h> - #include <fcntl.h> -@@ -30,6 +30,7 @@ - - #include "xqp.h" - -+using namespace std; - - // Create 2 sockets for unidirectional communication to and from qp - int socket_main_to_qp[2], socket_qp_to_main[2]; diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.1-portage.patch b/dev-lang/qu-prolog/files/qu-prolog-8.1-portage.patch deleted file mode 100644 index 8dcac3929555..000000000000 --- a/dev-lang/qu-prolog/files/qu-prolog-8.1-portage.patch +++ /dev/null @@ -1,235 +0,0 @@ -diff -ur qp8.1.orig/Makefile.in qp8.1/Makefile.in ---- qp8.1.orig/Makefile.in 2007-08-22 12:23:00.000000000 +1200 -+++ qp8.1/Makefile.in 2007-08-26 09:40:15.000000000 +1200 -@@ -14,6 +14,7 @@ - # objects. - # - -+export QPHOME = @prefix@/lib/qu-prolog - export QPBIN = @QPHOME@/bin - - -@@ -34,7 +35,6 @@ - objects: - @$(MAKE) -C @QPHOME@/bin $(PARALLEL) all - @$(MAKE) -C @QPHOME@/src $(PARALLEL) all -- @$(MAKE) -C @QPHOME@/src $(PARALLEL) install - @$(MAKE) -C @QPHOME@/prolog $(PARALLEL) all - - -diff -ur qp8.1.orig/bin/qc.in qp8.1/bin/qc.in ---- qp8.1.orig/bin/qc.in 2007-08-01 12:23:42.000000000 +1200 -+++ qp8.1/bin/qc.in 2007-08-26 09:40:15.000000000 +1200 -@@ -47,24 +47,25 @@ - # - # location of Qu-Prolog project - # --PATH=@QPHOME@/bin:$PATH -+QPHOME=@libdir@/qu-prolog -+PATH=$QPHOME/bin:$PATH - - # - # names of Qu-Prolog binaries - # --preprocess=@QPHOME@/bin/qppp --expand=@QPHOME@/bin/qg --compile=@QPHOME@/bin/qc1 -+preprocess=qppp -+expand=qg -+compile=qc1 - compversion=qup --assemble=@QPHOME@/bin/qa --link=@QPHOME@/bin/ql --execute=@QPHOME@/bin/qem -+assemble=qa -+link=ql -+execute=qem - - # - # Use the line below when dynamic search for libraries is implemented. - # - # libqofiles="" --libqofiles="@QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo" -+libqofiles="@QPHOME@/compiler/*.qo @QPHOME@/library/*.qo" - - qlfiles="" - qlefiles="" -@@ -327,18 +328,7 @@ - absexecfile=$execfile - ;; - *) -- currdir=`pwd` -- case $currdir in -- /u*) -- abspath=`echo $currdir | sed "s,/u./$HOSTNAME/,/homes/,"` -- ;; -- /tmp_mnt/*) -- abspath=`echo $currdir | sed 's,/tmp_mnt/homes/[^/]*/,/homes/,'` -- ;; -- *) -- abspath=$currdir -- ;; -- esac -+ abspath=`pwd` - absexecfile=$abspath/$execfile - ;; - esac -@@ -354,5 +344,8 @@ - - # make executable file - --echo "exec $execute $Eoptions $lflag -Q '$savefile' \$* $*" >$execfile -+echo "QPPATH=@prefix@/bin:$QPHOME/bin" >$execfile -+echo "QPLIBPATH=$QPHOME/compiler:$QPHOME/library:"'$QPLIBPATH' >>$execfile -+echo "export QPPATH QPLIBPATH" >>$execfile -+echo "exec $execute $Eoptions $lflag -Q '$savefile' \$* $*" >>$execfile - chmod a+x $execfile -Only in qp8.1/bin: qc.in.orig -diff -ur qp8.1.orig/prolog/compiler/Makefile.in qp8.1/prolog/compiler/Makefile.in ---- qp8.1.orig/prolog/compiler/Makefile.in 2007-08-22 12:23:02.000000000 +1200 -+++ qp8.1/prolog/compiler/Makefile.in 2007-08-26 09:40:15.000000000 +1200 -@@ -29,5 +29,5 @@ - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.1.orig/prolog/library/Makefile.in qp8.1/prolog/library/Makefile.in ---- qp8.1.orig/prolog/library/Makefile.in 2007-08-22 12:23:02.000000000 +1200 -+++ qp8.1/prolog/library/Makefile.in 2007-08-26 09:40:15.000000000 +1200 -@@ -99,4 +99,4 @@ - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ -diff -ur qp8.1.orig/prolog/qc1/Makefile.in qp8.1/prolog/qc1/Makefile.in ---- qp8.1.orig/prolog/qc1/Makefile.in 2007-08-22 12:23:02.000000000 +1200 -+++ qp8.1/prolog/qc1/Makefile.in 2007-08-26 09:40:15.000000000 +1200 -@@ -3,6 +3,7 @@ - # - PROGRAM = @QPHOME@/bin/qc1.qup - -+SAVEFILE = qc1.qx - SOURCES = qc1.ql - - BASES = $(basename $(SOURCES)) -@@ -13,8 +14,12 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -L -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -L -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.1.orig/prolog/qecat/Makefile.in qp8.1/prolog/qecat/Makefile.in ---- qp8.1.orig/prolog/qecat/Makefile.in 2007-08-22 12:23:02.000000000 +1200 -+++ qp8.1/prolog/qecat/Makefile.in 2007-08-26 09:40:15.000000000 +1200 -@@ -4,6 +4,7 @@ - - PROGRAM = $(QPBIN)/qecat - -+SAVEFILE = qecat.qx - SOURCES = qecat.ql - - BASES = $(basename $(SOURCES)) -@@ -14,9 +15,13 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -L -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -L -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.1.orig/prolog/qg/Makefile.in qp8.1/prolog/qg/Makefile.in ---- qp8.1.orig/prolog/qg/Makefile.in 2007-08-22 12:23:02.000000000 +1200 -+++ qp8.1/prolog/qg/Makefile.in 2007-08-26 09:40:15.000000000 +1200 -@@ -4,6 +4,7 @@ - - PROGRAM = @QPHOME@/bin/qg - -+SAVEFILE = qg.qx - SOURCES = qg.ql - - BASES = $(basename $(SOURCES)) -@@ -14,9 +15,13 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -L -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -L -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.1.orig/prolog/qp/Makefile.in qp8.1/prolog/qp/Makefile.in ---- qp8.1.orig/prolog/qp/Makefile.in 2007-08-22 12:23:02.000000000 +1200 -+++ qp8.1/prolog/qp/Makefile.in 2007-08-26 09:40:15.000000000 +1200 -@@ -3,6 +3,7 @@ - # - PROGRAM = @QPHOME@/bin/qp - -+SAVEFILE = qp.qx - SOURCES = qp.ql - - BASES = $(basename $(SOURCES)) -@@ -13,9 +14,13 @@ - all: $(PROGRAM) - - $(PROGRAM): $(OBJECTS) -- $(COMPILE.qc) -o $(PROGRAM) $(OBJECTS) -+ @QPHOME@/src/ql -o $(SAVEFILE) @QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo $(OBJECTS) -+ @echo "QPPATH=@prefix@/bin:$(QPHOME)/bin" >$(PROGRAM) -+ @echo "QPLIBPATH=$(QPHOME)/compiler:$(QPHOME)/library" >>$(PROGRAM) -+ @echo "export QPPATH QPLIBPATH" >>$(PROGRAM) -+ @echo -e "exec qem -Q $(QPHOME)/bin/$(SAVEFILE) \044\052" >>$(PROGRAM) - - - %.qo: %.qs -- $(COMPILE.qc) -c -o $@ $< -+ @QPHOME@/src/qa -i $< -o $@ - -diff -ur qp8.1.orig/src/Makefile.in qp8.1/src/Makefile.in ---- qp8.1.orig/src/Makefile.in 2007-08-22 12:23:02.000000000 +1200 -+++ qp8.1/src/Makefile.in 2007-08-26 09:40:15.000000000 +1200 -@@ -39,7 +39,7 @@ - - #export DEBUGGING= - --export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized -+#export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized - export QACXXFLAGS = -Wall -D_GNU_SOURCE=1 @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized - - .PHONY: all -@@ -78,6 +78,9 @@ - - # Targets - -+.cc.o: -+ $(CXX) $(CXXFLAGS) @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized -c $< -+ - .PHONY: commands - commands: $(GENERATED) $(LIBRARIES) $(BIG_LIBRARY) - @$(MAKE) $(ALL_COMMANDS) diff --git a/dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild b/dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild deleted file mode 100644 index 5d80576df7b6..000000000000 --- a/dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/qu-prolog-7.4-r1.ebuild,v 1.3 2007/07/21 08:17:59 keri Exp $ - -inherit eutils - -MY_P=qp${PV} - -DESCRIPTION="Qu-Prolog is an extended Prolog supporting quantifiers, object-variables and substitutions" -HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html" -SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz - qt4? ( mirror://gentoo/qu-prolog-7.4-xqp-qt4.tar.gz )" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~ppc ~sparc ~x86" -IUSE="debug doc examples qt3 qt4 threads" - -DEPEND="qt3? ( =x11-libs/qt-3* ) - qt4? ( >=x11-libs/qt-4.1.0 )" - -S="${WORKDIR}"/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-portage.patch - epatch "${FILESDIR}"/${P}-configure.patch - epatch "${FILESDIR}"/${P}-gcc4.patch - epatch "${FILESDIR}"/${P}-debug.patch -} - -src_compile() { - econf \ - $(use_enable debug) \ - $(use_enable threads multiple-threads) \ - || die "econf failed" - emake || die "emake failed" - - if use qt3 || use qt4; then - if use qt4; then - cd "${S}"/src/xqp/qt4 - qmake || die "qmake xqp failed" - else - cd "${S}"/src/xqp - "${QTDIR}"/bin/qmake || die "qmake xqp failed" - fi - emake || die "emake xqp failed" - fi -} - -src_install() { - exeinto /usr/bin - doexe src/qa src/qdeal src/qem src/ql - doexe bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp bin/qppp - - if use qt4; then - doexe src/xqp/qt4/xqp - elif use qt3; then - doexe src/xqp/xqp - fi - - insinto /usr/lib/${PN}/bin - doins prolog/qc1/qc1.qx \ - prolog/qecat/qecat.qx \ - prolog/qg/qg.qx \ - prolog/qp/qp.qx - - insinto /usr/lib/${PN}/library - doins prolog/library/*.qo - - insinto /usr/lib/${PN}/compiler - doins prolog/compiler/*.qo - - doman doc/man/man1/*.1 - - dodoc README - - if use doc ; then - docinto reference-manual - dodoc doc/manual/*.html - docinto user-guide - dodoc doc/user/main.ps - fi - - if use examples ; then - insinto /usr/share/doc/${PF}/examples - doins examples/*.ql - docinto examples - dodoc examples/README - fi -} diff --git a/dev-lang/qu-prolog/qu-prolog-7.4.ebuild b/dev-lang/qu-prolog/qu-prolog-7.4.ebuild deleted file mode 100644 index 199d274e3d1e..000000000000 --- a/dev-lang/qu-prolog/qu-prolog-7.4.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/qu-prolog-7.4.ebuild,v 1.7 2007/01/20 19:21:32 keri Exp $ - -inherit eutils - -MY_P=qp${PV} - -DESCRIPTION="Qu-Prolog is an extended Prolog supporting quantifiers, object-variables and substitutions" -HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html" -SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="ppc sparc x86" -IUSE="debug doc qt3 qt4 threads" - -DEPEND="qt3? ( =x11-libs/qt-3* ) - qt4? ( >=x11-libs/qt-4.1.0 )" - -S="${WORKDIR}"/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-portage.patch - epatch "${FILESDIR}"/${P}-configure.patch - epatch "${FILESDIR}"/${P}-gcc4.patch - epatch "${FILESDIR}"/${P}-debug.patch - - use qt4 && epatch "${FILESDIR}"/${P}-qt4.patch -} - -src_compile() { - econf \ - $(use_enable debug) \ - $(use_enable threads multiple-threads) \ - || die "econf failed" - emake || die "emake failed" - - if use qt3 || use qt4; then - cd "${S}"/src/xqp - if use qt4; then - qmake || die "qmake xqp failed" - else - "${QTDIR}"/bin/qmake || die "qmake xqp failed" - fi - emake || die "emake xqp failed" - fi -} - -src_install() { - exeinto /usr/bin - doexe src/qa src/qdeal src/qem src/ql - doexe bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp bin/qppp - - if use qt3 || use qt4; then - doexe src/xqp/xqp - fi - - insinto /usr/lib/${PN}/bin - doins prolog/qc1/qc1.qx \ - prolog/qecat/qecat.qx \ - prolog/qg/qg.qx \ - prolog/qp/qp.qx - - insinto /usr/lib/${PN}/library - doins prolog/library/*.qo - - insinto /usr/lib/${PN}/compiler - doins prolog/compiler/*.qo - - doman doc/man/man1/*.1 - - dodoc README - - if use doc ; then - docinto reference-manual - dodoc doc/manual/*.html - docinto user-guide - dodoc doc/user/main.ps - docinto examples - dodoc examples/*.ql examples/README - fi -} diff --git a/dev-lang/qu-prolog/qu-prolog-8.0.ebuild b/dev-lang/qu-prolog/qu-prolog-8.0.ebuild deleted file mode 100644 index a441e556c4c5..000000000000 --- a/dev-lang/qu-prolog/qu-prolog-8.0.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/qu-prolog-8.0.ebuild,v 1.2 2007/10/27 05:43:04 keri Exp $ - -inherit eutils - -MY_P=qp${PV} - -DESCRIPTION="Qu-Prolog is an extended Prolog supporting quantifiers, object-variables and substitutions" -HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html" -SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/qp8.0.tar.gz - qt4? ( mirror://gentoo/qu-prolog-8.0-xqp-qt4.tar.gz )" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~ppc ~sparc ~x86" -IUSE="debug doc examples qt4 threads" - -DEPEND="qt4? ( >=x11-libs/qt-4.1.0 )" - -S="${WORKDIR}"/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-portage.patch - epatch "${FILESDIR}"/${P}-configure.patch - epatch "${FILESDIR}"/${P}-gcc4.patch - epatch "${FILESDIR}"/${P}-debug.patch -} - -src_compile() { - econf \ - $(use_enable debug) \ - $(use_enable threads multiple-threads) \ - || die "econf failed" - emake || die "emake failed" - - if use qt4; then - cd "${S}"/src/xqp/qt4 - qmake || die "qmake xqp failed" - emake || die "emake xqp failed" - fi -} - -src_install() { - exeinto /usr/bin - doexe src/qa src/qdeal src/qem src/ql - doexe bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp bin/qppp - - if use qt4; then - doexe src/xqp/qt4/xqp - fi - - insinto /usr/lib/${PN}/bin - doins prolog/qc1/qc1.qx \ - prolog/qecat/qecat.qx \ - prolog/qg/qg.qx \ - prolog/qp/qp.qx - - insinto /usr/lib/${PN}/library - doins prolog/library/*.qo - - insinto /usr/lib/${PN}/compiler - doins prolog/compiler/*.qo - - doman doc/man/man1/*.1 - - dodoc README - - if use doc ; then - docinto reference-manual - dodoc doc/manual/*.html - docinto user-guide - dodoc doc/user/main.ps - fi - - if use examples ; then - insinto /usr/share/doc/${PF}/examples - doins examples/*.ql - docinto examples - dodoc examples/README - fi -} diff --git a/dev-lang/qu-prolog/qu-prolog-8.1.ebuild b/dev-lang/qu-prolog/qu-prolog-8.1.ebuild deleted file mode 100644 index 9527947e7411..000000000000 --- a/dev-lang/qu-prolog/qu-prolog-8.1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/qu-prolog-8.1.ebuild,v 1.2 2007/10/27 05:43:04 keri Exp $ - -inherit eutils - -MY_P=qp${PV} - -DESCRIPTION="Qu-Prolog is an extended Prolog supporting quantifiers, object-variables and substitutions" -HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html" -SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/qp8.1.tar.gz - qt4? ( mirror://gentoo/qu-prolog-8.1-xqp-qt4.tar.gz )" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~ppc ~sparc ~x86" -IUSE="debug doc examples qt4 threads" - -DEPEND="qt4? ( >=x11-libs/qt-4.1.0 )" - -S="${WORKDIR}"/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-portage.patch - epatch "${FILESDIR}"/${P}-configure.patch - epatch "${FILESDIR}"/${P}-gcc4.patch - epatch "${FILESDIR}"/${P}-debug.patch -} - -src_compile() { - econf \ - $(use_enable debug) \ - $(use_enable threads multiple-threads) \ - || die "econf failed" - emake || die "emake failed" - - if use qt4; then - cd "${S}"/src/xqp/qt4 - qmake || die "qmake xqp failed" - emake || die "emake xqp failed" - fi -} - -src_install() { - exeinto /usr/bin - doexe src/qa src/qdeal src/qem src/ql - doexe bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp bin/qppp - - if use qt4; then - doexe src/xqp/qt4/xqp - fi - - insinto /usr/lib/${PN}/bin - doins prolog/qc1/qc1.qx \ - prolog/qecat/qecat.qx \ - prolog/qg/qg.qx \ - prolog/qp/qp.qx - - insinto /usr/lib/${PN}/library - doins prolog/library/*.qo - - insinto /usr/lib/${PN}/compiler - doins prolog/compiler/*.qo - - doman doc/man/man1/*.1 - - dodoc README - - if use doc ; then - docinto reference-manual - dodoc doc/manual/*.html - docinto user-guide - dodoc doc/user/main.ps - fi - - if use examples ; then - insinto /usr/share/doc/${PF}/examples - doins examples/*.ql - docinto examples - dodoc examples/README - fi -} |