diff options
author | Keri Harris <keri@gentoo.org> | 2010-12-04 00:10:01 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2010-12-04 00:10:01 +0000 |
commit | 59fc18cd35c9737a3f58826597c1c6de7d9214e1 (patch) | |
tree | 6419482a5de4bd73b04789c8e4c0078ddf1e774f /dev-lang/qu-prolog | |
parent | Version bump with bugfixes and translation updates, make it work on systems w... (diff) | |
download | historical-59fc18cd35c9737a3f58826597c1c6de7d9214e1.tar.gz historical-59fc18cd35c9737a3f58826597c1c6de7d9214e1.tar.bz2 historical-59fc18cd35c9737a3f58826597c1c6de7d9214e1.zip |
Version bump
Package-Manager: portage-2.1.9.24/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/qu-prolog')
-rw-r--r-- | dev-lang/qu-prolog/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/qu-prolog/Manifest | 7 | ||||
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-8.12-cerr-ptr.patch | 38 | ||||
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-8.12-cflags.patch | 21 | ||||
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-8.12-portage.patch | 30 | ||||
-rw-r--r-- | dev-lang/qu-prolog/qu-prolog-8.12.ebuild | 101 |
6 files changed, 204 insertions, 2 deletions
diff --git a/dev-lang/qu-prolog/ChangeLog b/dev-lang/qu-prolog/ChangeLog index a3dbb4ef48a3..41d147a41a5d 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.74 2010/10/29 20:18:06 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/ChangeLog,v 1.75 2010/12/04 00:10:01 keri Exp $ + +*qu-prolog-8.12 (04 Dec 2010) + + 04 Dec 2010; <keri@gentoo.org> +qu-prolog-8.12.ebuild, + +files/qu-prolog-8.12-cerr-ptr.patch, +files/qu-prolog-8.12-cflags.patch, + +files/qu-prolog-8.12-portage.patch: + Version bump 29 Oct 2010; <keri@gentoo.org> qu-prolog-8.11.ebuild: QA - add die to do... calls diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest index 8d0eb143082f..982a9a4ffa52 100644 --- a/dev-lang/qu-prolog/Manifest +++ b/dev-lang/qu-prolog/Manifest @@ -1,6 +1,11 @@ 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 +AUX qu-prolog-8.12-cerr-ptr.patch 1283 RMD160 47ce6931c4a51354a0da6c20045f2887cd5b16ae SHA1 c5d21b75d1077b2024bc4c3cd129585d646627a7 SHA256 580bd61fc025d3f9bcb4864af9cfda8a849b943556806c4257702125964eb0c1 +AUX qu-prolog-8.12-cflags.patch 766 RMD160 e93412beb3dd518ca892e8e5082f6bbb3b46d93a SHA1 033f6aabc2cb43204dbe0625c6360dba03022555 SHA256 0e46e749aa9d0f309acd0304fcacf0fd29a3106695ce083f578870f9dd851008 +AUX qu-prolog-8.12-portage.patch 804 RMD160 ba9a070fa7aac8daba8538baa6a3bd9924fa7e91 SHA1 634d715bbac3ebc5057aa0770ae23277e4c27d1f SHA256 5a5d88183b76be8d5440c17a07e39a9f33355c51d0b205be19eb30546cd9ff88 DIST qp8.11.tar.gz 1340270 RMD160 300db19930cfbc33f017db4dce3beb74e24c7dcc SHA1 80df95e88b924c64427a9e0a4d31b0bebdd695f7 SHA256 c06a71f3b04d16cbf7f7193df1e0052596bf43d59e6e1fa72ec29496b7ac89bb +DIST qp8.12.tar.gz 1459424 RMD160 d67b99a79e449bea7aefd43b841996373fb88717 SHA1 08e16e10b6ba4053c49a7c733ef955e18d6f941b SHA256 a184a9bf7feae32340c923fb74de84b0154abe665b1708d6fb9ee644cc0ad706 EBUILD qu-prolog-8.11.ebuild 2006 RMD160 d2f44109e99b6c9a7ba92d8b2889a35e00bd63ed SHA1 ca1d2481802f6ab4b7aa6d4c0e1adf711d4dd9ae SHA256 583fbcdd8d39dc7b5b6a46325d1fbd22e63355f91f0526584730c87b50feea4d -MISC ChangeLog 11721 RMD160 b4ff5e2135a0c3ac16388c6a92ff6be606c4f15a SHA1 95d2d036bfed36a9c496247dbc6c86d0b3985590 SHA256 503cf9eae5eb269d0773a7708ebcbebdf8ed2be0744eaf77ffbee1d8698efa94 +EBUILD qu-prolog-8.12.ebuild 2231 RMD160 00fadc914ece0c0c275566f8ff1d776983a41b77 SHA1 ad0ee6132663ae36dbbf0b467def53ca34c2fcd4 SHA256 fc7931c39ed1038689db675b025fa537ef0a6b9a6be3bf36a736968f46831541 +MISC ChangeLog 11940 RMD160 8b0ed27a1d0fcc3d32b486db372ba88d0650e147 SHA1 2fc22372f2353b0652d13e2ed1e28da8a0fec0c8 SHA256 08028956ad694d27ed1fe565d4a4897e6e9a6a56da1c024aeaa8dca395b4fb9c MISC metadata.xml 253 RMD160 ea7e80996ca5a6be3e86029423c98a3d1e73d308 SHA1 8fb0ee89e6a096f996ce4d0f086bfffbd24de7a5 SHA256 6d9eecc1943fb38e5b6a96bb4d1242df633c2f1b890f7f1e701f824e720435d9 diff --git a/dev-lang/qu-prolog/files/qu-prolog-8.12-cerr-ptr.patch b/dev-lang/qu-prolog/files/qu-prolog-8.12-cerr-ptr.patch new file mode 100644 index 000000000000..c4ae00a073cd --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-8.12-cerr-ptr.patch @@ -0,0 +1,38 @@ +--- qp8.12.orig/src/gc.cc 2010-11-23 15:33:30.000000000 +1300 ++++ qp8.12/src/gc.cc 2010-12-04 12:37:04.000000000 +1300 +@@ -152,7 +152,7 @@ + { + cerr << size << endl; + heapobject* ptr = reinterpret_cast<heapobject*>(term); +- cerr << hex << (u_int)(ptr) << " : " << *ptr << " " << *(ptr+1) << dec << endl; ++ cerr << hex << (wordptr)(ptr) << " : " << *ptr << " " << *(ptr+1) << dec << endl; + return false; + } + return true; +--- qp8.12.orig/src/objects.h 2010-11-23 15:33:30.000000000 +1300 ++++ qp8.12/src/objects.h 2010-12-02 20:40:53.000000000 +1300 +@@ -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/files/qu-prolog-8.12-cflags.patch b/dev-lang/qu-prolog/files/qu-prolog-8.12-cflags.patch new file mode 100644 index 000000000000..3cd2ce5536e4 --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-8.12-cflags.patch @@ -0,0 +1,21 @@ +--- qp8.12.orig/src/Makefile.in 2010-11-23 15:33:42.000000000 +1300 ++++ qp8.12/src/Makefile.in 2010-12-04 07:15:27.000000000 +1300 +@@ -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.12-portage.patch b/dev-lang/qu-prolog/files/qu-prolog-8.12-portage.patch new file mode 100644 index 000000000000..bb9d48f8c1b8 --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-8.12-portage.patch @@ -0,0 +1,30 @@ +--- qp8.12.orig/bin/qc.in 2010-11-23 15:33:14.000000000 +1300 ++++ qp8.12/bin/qc.in 2010-12-04 11:16:44.000000000 +1300 +@@ -27,13 +27,13 @@ + + ############################## + +-preprocess='@QPHOME@/bin/qppp' +-expand='@QPHOME@/bin/qg' +-qpcompile='@QPHOME@/bin/qc1' ++preprocess='qppp' ++expand='qg' ++qpcompile='qc1' + compversion='qup' +-assemble='@QPHOME@/bin/qa' +-link='@QPHOME@/bin/ql' +-execute='@QPHOME@/bin/qem' ++assemble='qa' ++link='ql' ++execute='qem' + libqofiles="@QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo" + + ############################## +--- qp8.12.orig/prolog/Makefile.in 2006-04-06 16:01:45.000000000 +1200 ++++ qp8.12/prolog/Makefile.in 2010-12-04 10:57:09.000000000 +1300 +@@ -1,3 +1,5 @@ ++PATH:=$(PATH):@QPHOME@/bin ++ + .DEFAULT: + @$(MAKE) -C compiler $@ + @$(MAKE) -C library $@ diff --git a/dev-lang/qu-prolog/qu-prolog-8.12.ebuild b/dev-lang/qu-prolog/qu-prolog-8.12.ebuild new file mode 100644 index 000000000000..77082972a3e0 --- /dev/null +++ b/dev-lang/qu-prolog/qu-prolog-8.12.ebuild @@ -0,0 +1,101 @@ +# 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.12.ebuild,v 1.1 2010/12/04 00:10:01 keri Exp $ + +EAPI=2 + +inherit eutils qt4-r2 + +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 readline threads" + +RDEPEND="!dev-util/mpatch + !dev-util/rej + qt4? ( x11-libs/qt-gui:4 ) + pedro? ( net-misc/pedro ) + readline? ( app-misc/rlwrap )" + +DEPEND="${RDEPEND} + dev-lang/perl" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-portage.patch + epatch "${FILESDIR}"/${P}-cflags.patch + epatch "${FILESDIR}"/${P}-cerr-ptr.patch +} + +src_configure() { + econf \ + --libdir=/usr/$(get_libdir) \ + $(use_enable debug) \ + $(use_enable threads multiple-threads) + + if use qt4; then + cd "${S}"/src/xqp + eqmake4 xqp.pro + fi +} + +src_compile() { + emake || die "emake failed" + + if use qt4; then + cd "${S}"/src/xqp + emake || die "emake xqp failed" + fi +} + +src_install() { + sed -i -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \ + bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die + + exeinto /usr/bin + doexe bin/qa bin/qdeal bin/qem bin/ql || die + doexe bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp bin/qppp || die + doexe bin/kq || die + + if use qt4; then + doexe src/xqp/xqp || die + fi + + insinto /usr/$(get_libdir)/${PN}/bin + doins bin/rl_commands + doins bin/qc1.qup.qx \ + bin/qecat.qx \ + bin/qg.qx \ + bin/qp.qx || die + + insinto /usr/$(get_libdir)/${PN}/library + doins prolog/library/*.qo || die + + insinto /usr/$(get_libdir)/${PN}/compiler + doins prolog/compiler/*.qo || die + + doman doc/man/man1/*.1 || die + + dodoc README || die + + if use doc ; then + docinto reference-manual + dodoc doc/manual/*.html || die + docinto user-guide + dodoc doc/user/main.pdf || die + fi + + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.ql || die + docinto examples + dodoc examples/README || die + fi +} |