diff options
author | Keri Harris <keri@gentoo.org> | 2010-07-03 00:13:56 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2010-07-03 00:13:56 +0000 |
commit | 05bde0d59466e6b54726c11028f5df8c0de8fb4d (patch) | |
tree | 96b95cdf8e1a48390a118418bb9d62dbe21924a9 /dev-lang | |
parent | Initial import (diff) | |
download | historical-05bde0d59466e6b54726c11028f5df8c0de8fb4d.tar.gz historical-05bde0d59466e6b54726c11028f5df8c0de8fb4d.tar.bz2 historical-05bde0d59466e6b54726c11028f5df8c0de8fb4d.zip |
Version bump
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/qu-prolog/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/qu-prolog/Manifest | 8 | ||||
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-8.11-portage.patch | 243 | ||||
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-8.11-print-atom.patch | 27 | ||||
-rw-r--r-- | dev-lang/qu-prolog/metadata.xml | 3 | ||||
-rw-r--r-- | dev-lang/qu-prolog/qu-prolog-8.11.ebuild | 90 |
6 files changed, 377 insertions, 3 deletions
diff --git a/dev-lang/qu-prolog/ChangeLog b/dev-lang/qu-prolog/ChangeLog index 51aa5026a349..8e2aa82a2c25 100644 --- a/dev-lang/qu-prolog/ChangeLog +++ b/dev-lang/qu-prolog/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-lang/qu-prolog # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/ChangeLog,v 1.67 2010/04/21 06:46:47 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/ChangeLog,v 1.68 2010/07/03 00:13:55 keri Exp $ + +*qu-prolog-8.11 (03 Jul 2010) + + 03 Jul 2010; <keri@gentoo.org> +qu-prolog-8.11.ebuild, + +files/qu-prolog-8.11-portage.patch, + +files/qu-prolog-8.11-print-atom.patch, metadata.xml: + Version bump 21 Apr 2010; <keri@gentoo.org> -qu-prolog-8.8.ebuild, -files/qu-prolog-8.8-portage.patch, -qu-prolog-8.9.ebuild, diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest index 67c1420433f9..af956d3ec4f9 100644 --- a/dev-lang/qu-prolog/Manifest +++ b/dev-lang/qu-prolog/Manifest @@ -1,6 +1,10 @@ AUX qu-prolog-8.10-portage.patch 7027 RMD160 b75480945e5b1aa798f29ceade4a51749e7d8d34 SHA1 0a89494b7cf27b6123a9dac46490524948e89325 SHA256 5d5384d1082c95b3af31727aed7b8cc13c2097711c7a4c09f44ce2d035c8a0fe AUX qu-prolog-8.10-print-atom.patch 826 RMD160 752cd316ff0dc29f90ebaf0aea33be0a96f2952c SHA1 87ed66dfc62b91a41a9a11d10c2c6011f43853db SHA256 c3dcbd7ea337b718f779819de87ab9e131debefded6e3cf75e30ccf2f0095bf5 +AUX qu-prolog-8.11-portage.patch 7058 RMD160 01e4daef0266c4a4735d6a7659b3b5832419edbd SHA1 876baa5c1421fd1be093efbf0abfaa8330f4c1cf SHA256 ab03486520df65b9cd899d2b5c5abc2f5df4a4b149a2d6ed21f7a2d552aad81d +AUX qu-prolog-8.11-print-atom.patch 826 RMD160 bc90bd996b6e3352f18dfa7ba21521432fff1ba4 SHA1 94370c11530334ea6371806ce888289997dab869 SHA256 8a8e05fdb8eac81e1a3e21498bd001eec85772b2a9ee8eed79b8f0a03ce3d059 DIST qp8.10.tar.gz 1244128 RMD160 7f3ed553bcd07a69b2cde7252e8f93d0d1ffaccd SHA1 11419ed80d2a5b6c100d9d7d15473ff461a19111 SHA256 a64ca239599d69e7b79178cb082ea059e9d741028d3e2738d47a797dad6d841d +DIST qp8.11.tar.gz 1340270 RMD160 300db19930cfbc33f017db4dce3beb74e24c7dcc SHA1 80df95e88b924c64427a9e0a4d31b0bebdd695f7 SHA256 c06a71f3b04d16cbf7f7193df1e0052596bf43d59e6e1fa72ec29496b7ac89bb EBUILD qu-prolog-8.10.ebuild 1883 RMD160 712d6fb393c4ac7b5cf9e967046e84b87c0b40c2 SHA1 fa01272054cc71394eee288620a4122d1110785f SHA256 178d8140ae45c645d0cafc7e33413910f55347f6a457decffcdcb16bda0a980a -MISC ChangeLog 10838 RMD160 4d1d3429f915b2b7a86333da925ee3f80ec1d0cd SHA1 c9cf0331900109087364352f133c6f1ac1a3f624 SHA256 6cc5936037aed91b1036f8d271dae9e9b8413d735ffef74f5becf1794ef99dc7 -MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba +EBUILD qu-prolog-8.11.ebuild 1919 RMD160 a4c9559c06035e4a70bc746a31f625970a96af1e SHA1 53b720c4b51ee422d19c03d5aad6df25e19fc0ca SHA256 8dcfd968f9c1e7061d55ecb9497198259118025720938ab6ff0e70ee01d449e8 +MISC ChangeLog 11037 RMD160 c04c89c654944491a68c442477c5b81ad84f297d SHA1 b454b1931da537984ffbae3367781c72c9ae4bf8 SHA256 4a84d30cdc6cebe6b5e678aaf2b2f1dc59d6c46f09e7c6414f004d4cc3b308b5 +MISC metadata.xml 253 RMD160 ea7e80996ca5a6be3e86029423c98a3d1e73d308 SHA1 8fb0ee89e6a096f996ce4d0f086bfffbd24de7a5 SHA256 6d9eecc1943fb38e5b6a96bb4d1242df633c2f1b890f7f1e701f824e720435d9 diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.11-portage.patch b/dev-lang/qu-prolog/files/qu-prolog-8.11-portage.patch new file mode 100644 index 000000000000..af35a0373954 --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-8.11-portage.patch @@ -0,0 +1,243 @@ +diff -ur qp8.11.orig/Makefile.in qp8.11/Makefile.in +--- qp8.11.orig/Makefile.in 2010-06-18 11:51:17.000000000 +1200 ++++ qp8.11/Makefile.in 2010-06-29 19:02:53.000000000 +1200 +@@ -14,6 +14,7 @@ + # objects. + # + ++export QPHOME = @prefix@/lib/qu-prolog + export QPBIN = @QPHOME@/bin + + +diff -ur qp8.11.orig/bin/qc.in qp8.11/bin/qc.in +--- qp8.11.orig/bin/qc.in 2010-06-18 11:50:43.000000000 +1200 ++++ qp8.11/bin/qc.in 2010-06-29 19:02:53.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="" +@@ -330,18 +331,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 +@@ -357,5 +347,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.11/bin: qc.in.orig +diff -ur qp8.11.orig/prolog/compiler/Makefile.in qp8.11/prolog/compiler/Makefile.in +--- qp8.11.orig/prolog/compiler/Makefile.in 2010-06-18 11:51:17.000000000 +1200 ++++ qp8.11/prolog/compiler/Makefile.in 2010-06-29 19:02:53.000000000 +1200 +@@ -33,5 +33,5 @@ + + + %.qo: %.qs +- $(COMPILE.qc) -c -o $@ $< ++ @QPHOME@/src/qa -i $< -o $@ + +diff -ur qp8.11.orig/prolog/library/Makefile.in qp8.11/prolog/library/Makefile.in +--- qp8.11.orig/prolog/library/Makefile.in 2010-06-18 11:51:17.000000000 +1200 ++++ qp8.11/prolog/library/Makefile.in 2010-06-29 19:02:53.000000000 +1200 +@@ -104,4 +104,4 @@ + + + %.qo: %.qs +- $(COMPILE.qc) -c -o $@ $< ++ @QPHOME@/src/qa -i $< -o $@ +diff -ur qp8.11.orig/prolog/qc1/Makefile.in qp8.11/prolog/qc1/Makefile.in +--- qp8.11.orig/prolog/qc1/Makefile.in 2010-06-18 11:51:17.000000000 +1200 ++++ qp8.11/prolog/qc1/Makefile.in 2010-06-29 19:02:53.000000000 +1200 +@@ -3,6 +3,7 @@ + # + PROGRAM = @QPHOME@/bin/qc1.qup + ++SAVEFILE = qc1.qx + SOURCES = qc1.ql + + BASES = $(basename $(SOURCES)) +@@ -13,12 +14,16 @@ + 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) + + .PHONY: clean + clean: + $(RM) Makefile $(OBJECTS) + + %.qo: %.qs +- $(COMPILE.qc) -c -o $@ $< ++ @QPHOME@/src/qa -i $< -o $@ + +diff -ur qp8.11.orig/prolog/qecat/Makefile.in qp8.11/prolog/qecat/Makefile.in +--- qp8.11.orig/prolog/qecat/Makefile.in 2010-06-18 11:51:17.000000000 +1200 ++++ qp8.11/prolog/qecat/Makefile.in 2010-06-29 19:02:53.000000000 +1200 +@@ -4,6 +4,7 @@ + + PROGRAM = $(QPBIN)/qecat + ++SAVEFILE = qecat.qx + SOURCES = qecat.ql + + BASES = $(basename $(SOURCES)) +@@ -14,7 +15,11 @@ + 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) + + .PHONY: clean + clean: +@@ -22,5 +27,5 @@ + + + %.qo: %.qs +- $(COMPILE.qc) -c -o $@ $< ++ @QPHOME@/src/qa -i $< -o $@ + +diff -ur qp8.11.orig/prolog/qg/Makefile.in qp8.11/prolog/qg/Makefile.in +--- qp8.11.orig/prolog/qg/Makefile.in 2010-06-18 11:51:17.000000000 +1200 ++++ qp8.11/prolog/qg/Makefile.in 2010-06-29 19:02:53.000000000 +1200 +@@ -4,6 +4,7 @@ + + PROGRAM = @QPHOME@/bin/qg + ++SAVEFILE = qg.qx + SOURCES = qg.ql + + BASES = $(basename $(SOURCES)) +@@ -14,7 +15,11 @@ + 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) + + .PHONY: clean + clean: +@@ -22,5 +27,5 @@ + + + %.qo: %.qs +- $(COMPILE.qc) -c -o $@ $< ++ @QPHOME@/src/qa -i $< -o $@ + +diff -ur qp8.11.orig/prolog/qp/Makefile.in qp8.11/prolog/qp/Makefile.in +--- qp8.11.orig/prolog/qp/Makefile.in 2010-06-18 11:51:17.000000000 +1200 ++++ qp8.11/prolog/qp/Makefile.in 2010-06-29 19:02:53.000000000 +1200 +@@ -3,6 +3,7 @@ + # + PROGRAM = @QPHOME@/bin/qp + ++SAVEFILE = qp.qx + SOURCES = qp.ql + + BASES = $(basename $(SOURCES)) +@@ -13,7 +14,11 @@ + 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) + + .PHONY: clean + clean: +@@ -21,5 +26,5 @@ + + + %.qo: %.qs +- $(COMPILE.qc) -c -o $@ $< ++ @QPHOME@/src/qa -i $< -o $@ + +diff -ur qp8.11.orig/src/Makefile.in qp8.11/src/Makefile.in +--- qp8.11.orig/src/Makefile.in 2010-06-18 11:51:17.000000000 +1200 ++++ qp8.11/src/Makefile.in 2010-06-29 19:02:53.000000000 +1200 +@@ -40,7 +40,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 +@@ -79,6 +79,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.11-print-atom.patch b/dev-lang/qu-prolog/files/qu-prolog-8.11-print-atom.patch new file mode 100644 index 000000000000..c3765b00f852 --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-8.11-print-atom.patch @@ -0,0 +1,27 @@ +--- qp8.11.orig/src/objects.h 2010-06-18 11:51:05.000000000 +1200 ++++ qp8.11/src/objects.h 2010-06-29 19:04:14.000000000 +1200 +@@ -1234,18 +1234,12 @@ + << this->getName() << "\" "; + + #ifndef WIN32 +- switch (hasAssociatedItem()) +- { +- case AssociatedNone: +- std::cerr << "(no info)"; +- break; +- case AssociatedInteger: +- std::cerr << "int: " << getAssociatedInteger(); +- break; +- case AssociatedAtom: +- std::cerr << "atom: [" << std::hex << (wordptr) getAssociatedAtom() << std::dec << "]"; +- break; +- } ++ if (hasAssociatedInteger()) ++ std::cerr << "int: " << getAssociatedInteger(); ++ else if (hasAssociatedAtom()) ++ std::cerr << "atom: [" << std::hex << (wordptr) getAssociatedAtom() << std::dec << "]"; ++ else ++ std::cerr << "(no info)"; + #endif + } + #endif diff --git a/dev-lang/qu-prolog/metadata.xml b/dev-lang/qu-prolog/metadata.xml index 1990bb86aace..4bf0fe6a66d3 100644 --- a/dev-lang/qu-prolog/metadata.xml +++ b/dev-lang/qu-prolog/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>prolog</herd> +<use> + <flag name='pedro'>Pedro subscription/notification communications system</flag> +</use> </pkgmetadata> diff --git a/dev-lang/qu-prolog/qu-prolog-8.11.ebuild b/dev-lang/qu-prolog/qu-prolog-8.11.ebuild new file mode 100644 index 000000000000..e4744a80fdce --- /dev/null +++ b/dev-lang/qu-prolog/qu-prolog-8.11.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2010 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.11.ebuild,v 1.1 2010/07/03 00:13:55 keri Exp $ + +EAPI=1 + +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="~amd64 ~ppc ~sparc ~x86" +IUSE="debug doc examples pedro qt4 threads" + +RDEPEND="!dev-util/mpatch + !dev-util/rej + qt4? ( x11-libs/qt-gui:4 ) + pedro? ( net-misc/pedro )" + +DEPEND="${RDEPEND} + dev-lang/perl" + +S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-portage.patch + epatch "${FILESDIR}"/${P}-print-atom.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 + qmake || die "qmake xqp failed" + emake || die "emake xqp failed" + fi +} + +src_install() { + exeinto /usr/bin + doexe bin/qa bin/qdeal bin/qem bin/ql + doexe bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp bin/qppp + doexe bin/kq + + if use qt4; then + doexe src/xqp/xqp + fi + + insinto /usr/$(get_libdir)/${PN}/bin + doins prolog/qc1/qc1.qx \ + prolog/qecat/qecat.qx \ + prolog/qg/qg.qx \ + prolog/qp/qp.qx + + insinto /usr/$(get_libdir)/${PN}/library + doins prolog/library/*.qo + + insinto /usr/$(get_libdir)/${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.pdf + fi + + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.ql + docinto examples + dodoc examples/README + fi +} |