diff options
author | Keri Harris <keri@gentoo.org> | 2011-11-19 18:20:30 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2011-11-19 18:20:30 +0000 |
commit | 60b0a21e85159096651c28aefc71e0516d49b715 (patch) | |
tree | 2f467dbfd52feebd605b17ea6dd8725b0730e574 /dev-lang | |
parent | needs python-2 (bug #390223) (diff) | |
download | historical-60b0a21e85159096651c28aefc71e0516d49b715.tar.gz historical-60b0a21e85159096651c28aefc71e0516d49b715.tar.bz2 historical-60b0a21e85159096651c28aefc71e0516d49b715.zip |
Version bump
Package-Manager: portage-2.1.10.11/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 | 13 | ||||
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-9.1-cerr-ptr.patch | 40 | ||||
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-9.1-cflags.patch | 21 | ||||
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-9.1-portage.patch | 32 | ||||
-rw-r--r-- | dev-lang/qu-prolog/qu-prolog-9.1.ebuild | 101 |
6 files changed, 211 insertions, 5 deletions
diff --git a/dev-lang/qu-prolog/ChangeLog b/dev-lang/qu-prolog/ChangeLog index f53b13e5fbbe..85060e303b42 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/ChangeLog,v 1.82 2011/11/18 21:00:02 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/ChangeLog,v 1.83 2011/11/19 18:20:30 keri Exp $ + +*qu-prolog-9.1 (19 Nov 2011) + + 19 Nov 2011; <keri@gentoo.org> +qu-prolog-9.1.ebuild, + +files/qu-prolog-9.1-cerr-ptr.patch, +files/qu-prolog-9.1-cflags.patch, + +files/qu-prolog-9.1-portage.patch: + Version bump *qu-prolog-9.0 (18 Nov 2011) diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest index 3249dc985853..83c784ca150c 100644 --- a/dev-lang/qu-prolog/Manifest +++ b/dev-lang/qu-prolog/Manifest @@ -7,16 +7,21 @@ AUX qu-prolog-8.12-portage.patch 804 RMD160 ba9a070fa7aac8daba8538baa6a3bd9924fa AUX qu-prolog-9.0-cerr-ptr.patch 1413 RMD160 7d8f2193c7e71a259300a3e456e72a23044d20d1 SHA1 083a31c765fc9c3365da9a248b956ea54d743f41 SHA256 c2e6dda6167a6c4378f79a213b8d91dbd13517f06b3f98a77a39bf27b6ecdf57 AUX qu-prolog-9.0-cflags.patch 822 RMD160 73c963cc2b72dc2775b0934bfdeaaa570cb28173 SHA1 4768e23b470edf2c48199d1a1d04a02c2799b6d2 SHA256 bff31e9e4d6d5edc109dca55370f5feb0c7a2b2cdedcadf11545d493611c39cf AUX qu-prolog-9.0-portage.patch 910 RMD160 58f3c985a65cd8b9d1ea516f3dda02935123e79d SHA1 af7e297ffdbf2f49953555ac581e13539c8d9fcf SHA256 d995eef707d64d96f586324d205c872e42ffe8bb0562dee6cf02c6151c382db6 +AUX qu-prolog-9.1-cerr-ptr.patch 1379 RMD160 d87fd5e8178d3858c2a1139cec32678a112a58c4 SHA1 95e38d2afde7cf09d7482b16f6ad1d2723861693 SHA256 dd9ac54f97e84d256f044d7e2f8d5c7470d8e39ab472fd7f55c6007f996234c9 +AUX qu-prolog-9.1-cflags.patch 764 RMD160 fab0b49fcefd59a90b43c7a4abd9432d6d393885 SHA1 76715c5068df0c2680142b29d0b7b9ec917da5fe SHA256 97e52f8a7e06ad56e628261eb36bede4b19e9915851f45ef09f08089a41754fc +AUX qu-prolog-9.1-portage.patch 910 RMD160 bca9f39f520d09948c210807f49b2496bc4a970b SHA1 74ad5801698c0c6236168ce4ec106f7289670029 SHA256 d1565bd511cec886a6858db156957388029854c28338bb3d76e494e0ef9c5a95 DIST qp8.12.tar.gz 1459424 RMD160 d67b99a79e449bea7aefd43b841996373fb88717 SHA1 08e16e10b6ba4053c49a7c733ef955e18d6f941b SHA256 a184a9bf7feae32340c923fb74de84b0154abe665b1708d6fb9ee644cc0ad706 DIST qp9.0.tar.gz 1460127 RMD160 fe2e6dcde878e2b17e56cddfaf64f956800c58c7 SHA1 291529c79964737990d901948f615d45905cce5a SHA256 0694c8f5c894e86bab252badec4394c37cdd800648c521bae6a2d7ad7470f32c +DIST qp9.1.tar.gz 1460679 RMD160 63dd1f7fb8c78963b4d62470277bec5e2c54468e SHA1 a1ee6733a12b3b640057662ac8b5fec9577a2850 SHA256 1f3052f2700d537b33207943a3ade48b2b3aa5cd01cafc0475bcf26c645bc9af EBUILD qu-prolog-8.12.ebuild 2223 RMD160 73f751753af88c8ce4ce670612d4c75168cdd7e8 SHA1 25327417c977992ac2d36327e91e7fc68c140c5d SHA256 9401e710d12c44d51a09524c9676d67f82e683d1940b2093b7aa5052126c6e4c EBUILD qu-prolog-9.0.ebuild 2223 RMD160 dbe29467f73bf4c8f5b0ebb58768de5bc522102c SHA1 d2bf6d6d68dcc2b55e1c85fc2a453ab4d9266d28 SHA256 cede7069c150963de0f111b637bb5f61bd5436350cc2623e6550f8323d79d2ab -MISC ChangeLog 12825 RMD160 490e55285f14c85cc4b29eae6a25481afb1d8cca SHA1 92341d650879aeb0f7c09976eb1d86206457e7ea SHA256 19173946d39f8c5ff958799204078d5cdcf5e7335b2cf0b903b1017affd985bb +EBUILD qu-prolog-9.1.ebuild 2223 RMD160 f150f0ff40d928ba1212149b9b1ad45909ab1fa0 SHA1 ad844dcfd206b6eada9a3cdb3b47d2f7f8da9ff7 SHA256 4c11595afa071880afb9c6e903bce413052bf42da6cf02d99974f916d2b87d7a +MISC ChangeLog 13039 RMD160 242a7655d84c9c819f35103e6a653b94301f04df SHA1 1fd25445a0da3dc2cb5c871ac1560a01029af9a0 SHA256 6cf23be06dec7f23d2231aa3f2a8f7addc8b6254902139595797eab289863692 MISC metadata.xml 253 RMD160 ea7e80996ca5a6be3e86029423c98a3d1e73d308 SHA1 8fb0ee89e6a096f996ce4d0f086bfffbd24de7a5 SHA256 6d9eecc1943fb38e5b6a96bb4d1242df633c2f1b890f7f1e701f824e720435d9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk7Gx10ACgkQrwS/tqE49e1iHACfW8dXt+gQS+P01Hl3o9T3mhA0 -PyYAni9xNyBlItFzt3APueHGEOipatTB -=oSnL +iEYEARECAAYFAk7H83gACgkQrwS/tqE49e2vzwCdGJIs7nyprASz1usDYuH5Vplz +Md4An1JFHuiEDCOO1bj5Rgk0K2fWGJnW +=2wxU -----END PGP SIGNATURE----- diff --git a/dev-lang/qu-prolog/files/qu-prolog-9.1-cerr-ptr.patch b/dev-lang/qu-prolog/files/qu-prolog-9.1-cerr-ptr.patch new file mode 100644 index 000000000000..1fde09843e66 --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-9.1-cerr-ptr.patch @@ -0,0 +1,40 @@ +diff -ur qp9.1.orig/src/gc.cc qp9.1/src/gc.cc +--- qp9.1.orig/src/gc.cc 2011-08-23 11:17:44.000000000 +1200 ++++ qp9.1/src/gc.cc 2011-11-20 07:14:14.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; +diff -ur qp9.1.orig/src/objects.h qp9.1/src/objects.h +--- qp9.1.orig/src/objects.h 2011-08-23 11:17:44.000000000 +1200 ++++ qp9.1/src/objects.h 2011-11-20 07:14:14.000000000 +1300 +@@ -1242,18 +1242,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-9.1-cflags.patch b/dev-lang/qu-prolog/files/qu-prolog-9.1-cflags.patch new file mode 100644 index 000000000000..606dbd9a6abb --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-9.1-cflags.patch @@ -0,0 +1,21 @@ +--- qp9.1.orig/src/Makefile.in 2011-08-23 11:17:54.000000000 +1200 ++++ qp9.1/src/Makefile.in 2011-11-20 07:15:06.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-9.1-portage.patch b/dev-lang/qu-prolog/files/qu-prolog-9.1-portage.patch new file mode 100644 index 000000000000..4a1aa23607ac --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-9.1-portage.patch @@ -0,0 +1,32 @@ +diff -ur qp9.1.orig/bin/qc.in qp9.1/bin/qc.in +--- qp9.1.orig/bin/qc.in 2011-08-23 11:17:28.000000000 +1200 ++++ qp9.1/bin/qc.in 2011-11-20 07:16:18.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" + + ############################## +diff -ur qp9.1.orig/prolog/Makefile.in qp9.1/prolog/Makefile.in +--- qp9.1.orig/prolog/Makefile.in 2006-04-06 16:01:45.000000000 +1200 ++++ qp9.1/prolog/Makefile.in 2011-11-20 07:16:18.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-9.1.ebuild b/dev-lang/qu-prolog/qu-prolog-9.1.ebuild new file mode 100644 index 000000000000..d99957809144 --- /dev/null +++ b/dev-lang/qu-prolog/qu-prolog-9.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/qu-prolog/qu-prolog-9.1.ebuild,v 1.1 2011/11/19 18:20:30 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 ~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 +} |