[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/files/, dev-lang/qu-prolog/

2022-10-15 Thread Keri Harris
commit: 9e15206ee3f482c0887c98ee95becb1cf5c99ccb
Author: Keri Harris  gentoo  org>
AuthorDate: Sat Oct 15 16:35:30 2022 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sat Oct 15 16:35:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e15206e

dev-lang/qu-prolog: add 10.7

Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/Manifest|   1 +
 .../files/qu-prolog-10.x-qa-compiler-flags.patch   |  22 +
 dev-lang/qu-prolog/qu-prolog-10.7.ebuild   | 107 +
 3 files changed, 130 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index 6c18791ba650..0a7cf61496ad 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1 +1,2 @@
 DIST qp10.6.tar.gz 1671349 BLAKE2B 
189ddd733a0bbf939387de60ec76e8e41a430af5f4684a9a3b8cc3effa4e402cfd4471c955f4d626d2de8cf14eb93c2977540ad209d06ce9b562325a4b984fea
 SHA512 
425b35c758ba86cc14a1faf5c19f2c091142be6c42261323dc6f551efd6c80f7223584cd2be239748539eaf25308f777d95fd5bfdc65b33ca3245377e1766299
+DIST qp10.7.tar.gz 1857589 BLAKE2B 
986f0d8744d5b0a3974191d154a2ca0efa97f6c02483d975b4bb43bd7ae44d9d4233f6bffc1947d03ac3db9c0181953254e66bc62d55add6b0debbed1ad21de6
 SHA512 
305c89710e02167bb37e999b5af182b9dbca710d32c79149782a90f29b2e80f6a5462e9fb22153e770cef7484c5181bde31f1fe680b786f0f253ced13a3df830

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.x-qa-compiler-flags.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.x-qa-compiler-flags.patch
new file mode 100644
index ..c6dbaca842f0
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.x-qa-compiler-flags.patch
@@ -0,0 +1,22 @@
+--- qp10.7.orig/src/Makefile.in2020-06-24 23:37:02.0 -
 qp10.7/src/Makefile.in 2021-06-26 08:07:51.916841713 -
+@@ -41,7 +41,7 @@
+ #export DEBUGGING=
+ 
+ export CXXFLAGS = -std=c++11 @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 
$(OPTIMISATION) @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized `pkg-config 
--cflags libpcre2-8`
+-export QACXXFLAGS = -Wall -D_GNU_SOURCE=1 @DEBUGGING@ @GCCINCLUDES@ 
-Wno-uninitialized
++export QACXXFLAGS = -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ 
@GCCINCLUDES@ -Wno-uninitialized
+ 
+ .PHONY: all
+ all: commands
+--- qp10.7.orig/src/Makefile.ipc.in2020-06-24 23:37:02.0 -
 qp10.7/src/Makefile.ipc.in 2021-06-26 08:14:01.700826247 -
+@@ -20,7 +20,7 @@
+ 
+ 
+ pedro_token.o : pedro_token.c
+-  $(CXX) -fno-strict-aliasing -Wall -D_GNU_SOURCE=1 -O2  -DNDEBUG   
-Wno-uninitialized -c -o pedro_token.o pedro_token.c 
++  $(CXX) $(CXXFLAGS) -c -o pedro_token.o pedro_token.c 
+ 
+ pedro_token.c: pedro_token.l
+   flex -opedro_token.c pedro_token.l

diff --git a/dev-lang/qu-prolog/qu-prolog-10.7.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.7.ebuild
new file mode 100644
index ..707ab8e46073
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-10.7.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit autotools python-any-r1 qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="Extended Prolog supporting quantifiers, object-variables and 
substitutions"
+HOMEPAGE="http://staff.itee.uq.edu.au/pjr/HomePages/QuPrologHome.html;
+SRC_URI="http://staff.itee.uq.edu.au/pjr/HomePages/QPFiles/${MY_P}.tar.gz;
+
+LICENSE="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pcre pedro qt5 readline threads"
+
+RDEPEND="
+   !dev-util/rej
+   qt5? (
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+)
+   pcre? ( dev-libs/libpcre2 )
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+   eapply "${FILESDIR}"/${PN}-10.x-qt5.patch
+   eapply "${FILESDIR}"/${PN}-10.x-compiler-flags.patch
+   eapply "${FILESDIR}"/${PN}-10.x-qa-compiler-flags.patch
+   eapply_user
+
+   mv configure.in configure.ac || die
+   eautoconf
+
+   python_fix_shebang "${S}"/bin/qc.in
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   eqmake5 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   use qt5 && dobin src/xqp/xqp
+
+   into /usr/$(get_libdir)/${PN}
+   dobin 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2022-05-21 Thread Keri Harris
commit: 3786c783256be0ed53f5a5f7c3749845805a8376
Author: Keri Harris  gentoo  org>
AuthorDate: Sat May 21 06:02:43 2022 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sat May 21 06:02:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3786c783

dev-lang/qu-prolog: support python 3.10 + 3.11

Closes: https://bugs.gentoo.org/845648
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
index 2cbbe5135522..a805e8388a22 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_COMPAT=( python3_{6..11} )
 
 inherit autotools multilib python-any-r1 qmake-utils
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/, dev-lang/qu-prolog/files/

2021-05-15 Thread Keri Harris
commit: c02daa97546d19e63fd688653bb7d0da946b6eae
Author: Keri Harris  gentoo  org>
AuthorDate: Sat May 15 16:43:14 2021 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sat May 15 16:43:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02daa97

dev-lang/qu-prolog: compiler-portable CXXFLAGS check. Closes 766072

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Keri Harris  gentoo.org>

 .../files/qu-prolog-10.x-compiler-flags.patch  | 18 ++
 dev-lang/qu-prolog/qu-prolog-10.6.ebuild   |  1 +
 2 files changed, 19 insertions(+)

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.x-compiler-flags.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.x-compiler-flags.patch
new file mode 100644
index 000..3d07947a497
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.x-compiler-flags.patch
@@ -0,0 +1,18 @@
+--- qp10.6.orig/configure.in   2020-06-24 23:37:02.0 -
 qp10.6/configure.in2021-05-15 16:36:32.504585122 -
+@@ -228,9 +228,12 @@
+ #-
+ dnl Check for -fno-strict-aliasing
+ AC_MSG_CHECKING([for -fno-strict-aliasing])
+-echo "int i;" > aliasing_test.cc
+-qp_alias=[`gcc -fno-strict-aliasing -c aliasing_test.cc`]
+-rm aliasing_test.*
++ac_saved_cflags=$[]_AC_LANG_PREFIX[]FLAGS
++_AC_LANG_PREFIX[]FLAGS="-Werror -fno-strict-aliasing"
++AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int main(void) { return 0; }]])],
++[qp_alias=""],
++[qp_alias="not-found"])
++_AC_LANG_PREFIX[]FLAGS="$ac_saved_cflags"
+ if test -n "$qp_alias"; then
+ AC_MSG_RESULT(not found)
+ GCC_ALIAS_FLAG=

diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
index 31053be8494..2cbbe513552 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
@@ -35,6 +35,7 @@ S="${WORKDIR}"/${MY_P}
 
 src_prepare() {
eapply "${FILESDIR}"/${PN}-10.x-qt5.patch
+   eapply "${FILESDIR}"/${PN}-10.x-compiler-flags.patch
eapply_user
 
eautoconf



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2021-05-13 Thread Sam James
commit: 63bb1a5c4ded31e25fd105a5d525e4c8892fc575
Author: Sam James  gentoo  org>
AuthorDate: Fri May 14 00:18:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 14 00:22:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63bb1a5c

dev-lang/qu-prolog: fix PythonMissingDeps

Signed-off-by: Sam James  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.6.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
index 85d6eac4863..31053be8494 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
@@ -28,6 +28,7 @@ RDEPEND="
pedro? ( net-misc/pedro )
readline? ( app-misc/rlwrap )"
 DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
dev-lang/perl"
 
 S="${WORKDIR}"/${MY_P}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2021-05-08 Thread Keri Harris
commit: d73a44c85bb501dcf6d4058c74a7814a9011f4ef
Author: Keri Harris  gentoo  org>
AuthorDate: Sat May  8 15:19:41 2021 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sat May  8 15:19:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d73a44c8

dev-lang/qu-prolog: fix python script shebangs. Closes 766066

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.6.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
index 612cd9be187..85d6eac4863 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=7
 
-inherit autotools multilib qmake-utils
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit autotools multilib python-any-r1 qmake-utils
 
 MY_P=qp${PV}
 
@@ -35,6 +37,8 @@ src_prepare() {
eapply_user
 
eautoconf
+
+   python_fix_shebang "${S}"/bin/qc.in
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/files/

2021-01-18 Thread Keri Harris
commit: 99e1b56dedf16bf0bf0caa738dd50aa1adfdfe2e
Author: Keri Harris  gentoo  org>
AuthorDate: Mon Jan 18 16:05:32 2021 +
Commit: Keri Harris  gentoo  org>
CommitDate: Mon Jan 18 16:05:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e1b56d

dev-lang/qu-prolog: remove old patch file

Package-Manager: Portage-3.0.4, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 .../files/qu-prolog-10.5-gcc-version.patch | 25 --
 1 file changed, 25 deletions(-)

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.5-gcc-version.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.5-gcc-version.patch
deleted file mode 100644
index cfc7cbfd4c1..000
--- a/dev-lang/qu-prolog/files/qu-prolog-10.5-gcc-version.patch
+++ /dev/null
@@ -1,25 +0,0 @@
 qp10.5.orig/configure.in   2019-12-29 00:57:44.0 +0100
-+++ qp10.5/configure.in2020-06-25 08:53:32.610430095 +0200
-@@ -209,22 +209,6 @@
-   uname \
-   )
- 
--#
--dnl Check for CPP version
--AC_MSG_CHECKING([for GCC version])
--qp_cpp_ver=[`gcc --version 2>/dev/null | head -1 | sed -e 
's/^[^[:digit:]]*\([[:digit:]][^[:space:]]*\).*$/\1/'`]
--if test -n "$qp_cpp_ver"; then
--AC_MSG_RESULT($qp_cpp_ver)
--case "$qp_cpp_ver" in
--  2.*)
--AC_DEFINE(GCC_VERSION_2, 1, [Whether or not the GCC is gcc 2])
--;;
--esac
--else
--AC_MSG_RESULT(not found)
--AC_MSG_ERROR(Could not determine GCC version)
--fi
--
- #-
- dnl Check for -fno-strict-aliasing
- AC_MSG_CHECKING([for -fno-strict-aliasing])



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2021-01-18 Thread Keri Harris
commit: cd60097c2d0123e3f1b34191447c209d7902c613
Author: Keri Harris  gentoo  org>
AuthorDate: Mon Jan 18 16:00:03 2021 +
Commit: Keri Harris  gentoo  org>
CommitDate: Mon Jan 18 16:00:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd60097c

dev-lang/qu-prolog: remove old versions

Package-Manager: Portage-3.0.4, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/Manifest  |   2 -
 dev-lang/qu-prolog/qu-prolog-10.4.ebuild |  97 --
 dev-lang/qu-prolog/qu-prolog-10.5.ebuild | 100 ---
 3 files changed, 199 deletions(-)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index d597ed1cbce..6c18791ba65 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,3 +1 @@
-DIST qp10.4.tar.gz 1671144 BLAKE2B 
293cbc09a058714f762e5d371074ca1b87e8177868851a3db2606a837810b474e926c43f6715c5088c718f2b1841c46f9668795ac53edc0266a9a6d5d04386f5
 SHA512 
39193ba2c39dc24b234092a47f9834af5b8dff6edc34ba6e0ceb6a4bda60c2f30b951bc17ef72da1dd220ef62563c88f4106dd0115a5bf8e51045abfb96151c6
-DIST qp10.5.tar.gz 1670927 BLAKE2B 
74fd47beb18f7081ade39bf215a999066a2a5e99753ee8e48751c37d7bff111d355a7713f13af43a1cffc2fa6ca5efdf89a633fba45accdef17ee265f068e57a
 SHA512 
6a7d46f09015304ffa222c82be5d9fb28c272ce27641455113740f3a4a08887369208456c478320b30d9464d8eeea0f7fcc1c1e56e1a130134e2fe54d5446958
 DIST qp10.6.tar.gz 1671349 BLAKE2B 
189ddd733a0bbf939387de60ec76e8e41a430af5f4684a9a3b8cc3effa4e402cfd4471c955f4d626d2de8cf14eb93c2977540ad209d06ce9b562325a4b984fea
 SHA512 
425b35c758ba86cc14a1faf5c19f2c091142be6c42261323dc6f551efd6c80f7223584cd2be239748539eaf25308f777d95fd5bfdc65b33ca3245377e1766299

diff --git a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
deleted file mode 100644
index c06392ec701..000
--- a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils multilib qmake-utils
-
-MY_P=qp${PV}
-
-DESCRIPTION="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="Apache-2.0 GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="debug doc examples pedro qt5 readline threads"
-
-RDEPEND="
-   !dev-util/mpatch
-   !dev-util/rej
-   qt5? (
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-)
-   pedro? ( net-misc/pedro )
-   readline? ( app-misc/rlwrap )"
-DEPEND="${RDEPEND}
-   dev-lang/perl"
-
-S="${WORKDIR}"/${MY_P}
-
-src_prepare() {
-   eapply "${FILESDIR}"/${PN}-10.x-qt5.patch
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir) \
-   $(use_enable debug) \
-   $(use_enable threads multiple-threads)
-
-   if use qt5; then
-   cd "${S}"/src/xqp || die
-   eqmake5 xqp.pro
-   fi
-}
-
-src_compile() {
-   emake OPTIMISATION="${CXXFLAGS}"
-
-   if use qt5; then
-   cd "${S}"/src/xqp || die
-   emake
-   fi
-}
-
-src_install() {
-   sed \
-   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
-   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
-
-   dobin bin/{qc,qecat,qp,kq}
-
-   use qt5 && dobin src/xqp/xqp
-
-   into /usr/$(get_libdir)/${PN}
-   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
-
-   insinto /usr/$(get_libdir)/${PN}/bin
-   doins bin/rl_commands
-   doins bin/{qc1.qup,qecat,qg,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
-   docinto examples
-   newdoc examples/README README.examples
-   dodoc examples/*.ql
-   fi
-}

diff --git a/dev-lang/qu-prolog/qu-prolog-10.5.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.5.ebuild
deleted file mode 100644
index 36fdb457ce2..000
--- a/dev-lang/qu-prolog/qu-prolog-10.5.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools eutils multilib qmake-utils
-
-MY_P=qp${PV}
-
-DESCRIPTION="Extended Prolog supporting quantifiers, object-variables and 
substitutions"
-HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html;

[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2021-01-07 Thread Sam James
commit: 6ea5867eb5ecc2e212c8413ceaf98f5c8e4935c4
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 12:30:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 12:30:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ea5867e

dev-lang/qu-prolog: Stabilize 10.6 ppc, #764050

Signed-off-by: Sam James  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
index d5a646d9dd5..391648077ff 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2021-01-06 Thread Sam James
commit: e36a1fbd309977f8cb21cbc86b19ab0d7fcd0446
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 01:05:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 01:05:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e36a1fbd

dev-lang/qu-prolog: Stabilize 10.6 x86, #764050

Signed-off-by: Sam James  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
index b44dd0b4e84..d5a646d9dd5 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2021-01-06 Thread Sam James
commit: e04701955fd91f9a58b930a7fa6e359213c1033f
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 00:52:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 00:58:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0470195

dev-lang/qu-prolog: Stabilize 10.6 amd64, #764050

Signed-off-by: Sam James  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
index 0e244c6173a..b44dd0b4e84 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2020-09-11 Thread Keri Harris
commit: 11c90e5ad4a8b57e09c295641d51193a7f9b3597
Author: Keri Harris  gentoo  org>
AuthorDate: Fri Sep 11 14:58:27 2020 +
Commit: Keri Harris  gentoo  org>
CommitDate: Fri Sep 11 14:58:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c90e5a

dev-lang/qu-prolog: version bump

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/Manifest  |  1 +
 dev-lang/qu-prolog/qu-prolog-10.6.ebuild | 99 
 2 files changed, 100 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index e001b7f370d..d597ed1cbce 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,2 +1,3 @@
 DIST qp10.4.tar.gz 1671144 BLAKE2B 
293cbc09a058714f762e5d371074ca1b87e8177868851a3db2606a837810b474e926c43f6715c5088c718f2b1841c46f9668795ac53edc0266a9a6d5d04386f5
 SHA512 
39193ba2c39dc24b234092a47f9834af5b8dff6edc34ba6e0ceb6a4bda60c2f30b951bc17ef72da1dd220ef62563c88f4106dd0115a5bf8e51045abfb96151c6
 DIST qp10.5.tar.gz 1670927 BLAKE2B 
74fd47beb18f7081ade39bf215a999066a2a5e99753ee8e48751c37d7bff111d355a7713f13af43a1cffc2fa6ca5efdf89a633fba45accdef17ee265f068e57a
 SHA512 
6a7d46f09015304ffa222c82be5d9fb28c272ce27641455113740f3a4a08887369208456c478320b30d9464d8eeea0f7fcc1c1e56e1a130134e2fe54d5446958
+DIST qp10.6.tar.gz 1671349 BLAKE2B 
189ddd733a0bbf939387de60ec76e8e41a430af5f4684a9a3b8cc3effa4e402cfd4471c955f4d626d2de8cf14eb93c2977540ad209d06ce9b562325a4b984fea
 SHA512 
425b35c758ba86cc14a1faf5c19f2c091142be6c42261323dc6f551efd6c80f7223584cd2be239748539eaf25308f777d95fd5bfdc65b33ca3245377e1766299

diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
new file mode 100644
index 000..0e244c6173a
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt5 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   qt5? (
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+)
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+   eapply "${FILESDIR}"/${PN}-10.x-qt5.patch
+   eapply_user
+
+   eautoconf
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   eqmake5 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   use qt5 && dobin src/xqp/xqp
+
+   into /usr/$(get_libdir)/${PN}
+   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
+
+   insinto /usr/$(get_libdir)/${PN}/bin
+   doins bin/rl_commands
+   doins bin/{qc1.qup,qecat,qg,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
+   docinto examples
+   newdoc examples/README README.examples
+   dodoc examples/*.ql
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2020-07-20 Thread Keri Harris
commit: 0e46dca470f39a35b86db2f7db11bb7de15354b3
Author: Keri Harris  gentoo  org>
AuthorDate: Mon Jul 20 19:36:49 2020 +
Commit: Keri Harris  gentoo  org>
CommitDate: Mon Jul 20 19:37:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e46dca4

dev-lang/qu-prolog: remove old versions

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/Manifest  |   3 -
 dev-lang/qu-prolog/qu-prolog-10.1.ebuild | 100 ---
 dev-lang/qu-prolog/qu-prolog-10.2.ebuild | 100 ---
 dev-lang/qu-prolog/qu-prolog-10.3.ebuild |  98 --
 4 files changed, 301 deletions(-)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index 576e943a1e7..e001b7f370d 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,5 +1,2 @@
-DIST qp10.1.tar.gz 1521610 BLAKE2B 
a4d6d277a35284accfff1afd70901218df198b2b33f5c95ca5649bf06abcb153890f2f21b0e8d62ed93484b452a230074f93c983ab231c8fc58b51a29119d838
 SHA512 
8fb30fcbc086384d7e265695a7d24a9599ed306b5da0ea964e60aef4bb01c7b6789fc361449f908736c57d86c204e574d745f277d5b0ec2b725a8eca52f14f1a
-DIST qp10.2.tar.gz 1667066 BLAKE2B 
fe466bc892a0923f463347bfa22618061d8a8baf9e2fc60ea27694c66be6dc8ac9b0bacd3084bccff95ff06ef949660cb9a0637a8e3e3595d04c44eb2b682bc9
 SHA512 
5cfebab17a812513bb4ddf4c04890af32339bef18d746dd6503cee13d295c43f1ef687a6c7814b2f40473766c695459f8234541ae8a6945a0f2930556985ad96
-DIST qp10.3.tar.gz 1669345 BLAKE2B 
9dc14f683555b22e7bb2119dd6d29cad7c934bb162def4358d69da65cd259b586fac593c7770dc1d665ab56da2e1129a696e84b01a271b747a9e3a8598c0d7fa
 SHA512 
e28519fccf58f2b755382f2b8e56c15f2622508822c920975577feb6b837f96346a14eb23a5209ed126e617264ed7846b8a35d5936e99284503d5c435c0a1c18
 DIST qp10.4.tar.gz 1671144 BLAKE2B 
293cbc09a058714f762e5d371074ca1b87e8177868851a3db2606a837810b474e926c43f6715c5088c718f2b1841c46f9668795ac53edc0266a9a6d5d04386f5
 SHA512 
39193ba2c39dc24b234092a47f9834af5b8dff6edc34ba6e0ceb6a4bda60c2f30b951bc17ef72da1dd220ef62563c88f4106dd0115a5bf8e51045abfb96151c6
 DIST qp10.5.tar.gz 1670927 BLAKE2B 
74fd47beb18f7081ade39bf215a999066a2a5e99753ee8e48751c37d7bff111d355a7713f13af43a1cffc2fa6ca5efdf89a633fba45accdef17ee265f068e57a
 SHA512 
6a7d46f09015304ffa222c82be5d9fb28c272ce27641455113740f3a4a08887369208456c478320b30d9464d8eeea0f7fcc1c1e56e1a130134e2fe54d5446958

diff --git a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
deleted file mode 100644
index 66036b4f69a..000
--- a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils multilib qmake-utils
-
-MY_P=qp${PV}
-
-DESCRIPTION="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="Apache-2.0 GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="debug doc examples pedro qt5 readline threads"
-
-RDEPEND="
-   !dev-util/mpatch
-   !dev-util/rej
-   !games-rpg/kqlives
-   qt5? (
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-)
-   pedro? ( net-misc/pedro )
-   readline? ( app-misc/rlwrap )"
-DEPEND="${RDEPEND}
-   dev-lang/perl"
-
-S="${WORKDIR}"/${MY_P}
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-10.x-qt5.patch
-
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir) \
-   $(use_enable debug) \
-   $(use_enable threads multiple-threads)
-
-   if use qt5; then
-   cd "${S}"/src/xqp || die
-   eqmake5 xqp.pro
-   fi
-}
-
-src_compile() {
-   emake OPTIMISATION="${CXXFLAGS}"
-
-   if use qt5; then
-   cd "${S}"/src/xqp || die
-   emake
-   fi
-}
-
-src_install() {
-   sed \
-   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
-   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
-
-   dobin bin/{qc,qecat,qp,kq}
-
-   use qt5 && dobin src/xqp/xqp
-
-   into /usr/$(get_libdir)/${PN}
-   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
-
-   insinto /usr/$(get_libdir)/${PN}/bin
-   doins bin/rl_commands
-   doins bin/{qc1.qup,qecat,qg,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 ; 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2020-07-19 Thread Agostino Sarubbo
commit: 8c7b1495f0a9f4119f9ae2e3dc6f84dd975e0146
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 19 07:42:27 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 19 07:42:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c7b1495

dev-lang/qu-prolog: x86 stable wrt bug #729744

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
index 458fb4cb4cf..c06392ec701 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc ~x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2020-07-17 Thread Agostino Sarubbo
commit: 5d7f2a7f852c7b80b7119e52ab5777d6b5d74c40
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 17 15:08:54 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 17 15:08:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7f2a7f

dev-lang/qu-prolog: ppc stable wrt bug #729744

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
index df6dbad5dea..458fb4cb4cf 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc ~x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2020-07-17 Thread Keri Harris
commit: 66c89d9d297da13b0aeb398c511ea0294c236419
Author: Keri Harris  gentoo  org>
AuthorDate: Fri Jul 17 07:02:02 2020 +
Commit: Keri Harris  gentoo  org>
CommitDate: Fri Jul 17 07:03:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66c89d9d

dev-lang/qu-prolog: amd64 stable (bug #729744)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
index 79f9bc1fa0f..df6dbad5dea 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/files/, dev-lang/qu-prolog/

2020-06-25 Thread Keri Harris
commit: 5c4d7da9596260f16ed150fb6804db6786910c8a
Author: Keri Harris  gentoo  org>
AuthorDate: Thu Jun 25 07:04:45 2020 +
Commit: Keri Harris  gentoo  org>
CommitDate: Thu Jun 25 07:05:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4d7da9

dev-lang/qu-prolog: version bump

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/Manifest|   1 +
 .../files/qu-prolog-10.5-gcc-version.patch |  25 ++
 dev-lang/qu-prolog/qu-prolog-10.5.ebuild   | 100 +
 3 files changed, 126 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index 6ae5f8da31b..576e943a1e7 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -2,3 +2,4 @@ DIST qp10.1.tar.gz 1521610 BLAKE2B 
a4d6d277a35284accfff1afd70901218df198b2b33f5c
 DIST qp10.2.tar.gz 1667066 BLAKE2B 
fe466bc892a0923f463347bfa22618061d8a8baf9e2fc60ea27694c66be6dc8ac9b0bacd3084bccff95ff06ef949660cb9a0637a8e3e3595d04c44eb2b682bc9
 SHA512 
5cfebab17a812513bb4ddf4c04890af32339bef18d746dd6503cee13d295c43f1ef687a6c7814b2f40473766c695459f8234541ae8a6945a0f2930556985ad96
 DIST qp10.3.tar.gz 1669345 BLAKE2B 
9dc14f683555b22e7bb2119dd6d29cad7c934bb162def4358d69da65cd259b586fac593c7770dc1d665ab56da2e1129a696e84b01a271b747a9e3a8598c0d7fa
 SHA512 
e28519fccf58f2b755382f2b8e56c15f2622508822c920975577feb6b837f96346a14eb23a5209ed126e617264ed7846b8a35d5936e99284503d5c435c0a1c18
 DIST qp10.4.tar.gz 1671144 BLAKE2B 
293cbc09a058714f762e5d371074ca1b87e8177868851a3db2606a837810b474e926c43f6715c5088c718f2b1841c46f9668795ac53edc0266a9a6d5d04386f5
 SHA512 
39193ba2c39dc24b234092a47f9834af5b8dff6edc34ba6e0ceb6a4bda60c2f30b951bc17ef72da1dd220ef62563c88f4106dd0115a5bf8e51045abfb96151c6
+DIST qp10.5.tar.gz 1670927 BLAKE2B 
74fd47beb18f7081ade39bf215a999066a2a5e99753ee8e48751c37d7bff111d355a7713f13af43a1cffc2fa6ca5efdf89a633fba45accdef17ee265f068e57a
 SHA512 
6a7d46f09015304ffa222c82be5d9fb28c272ce27641455113740f3a4a08887369208456c478320b30d9464d8eeea0f7fcc1c1e56e1a130134e2fe54d5446958

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.5-gcc-version.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.5-gcc-version.patch
new file mode 100644
index 000..cfc7cbfd4c1
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.5-gcc-version.patch
@@ -0,0 +1,25 @@
+--- qp10.5.orig/configure.in   2019-12-29 00:57:44.0 +0100
 qp10.5/configure.in2020-06-25 08:53:32.610430095 +0200
+@@ -209,22 +209,6 @@
+   uname \
+   )
+ 
+-#
+-dnl Check for CPP version
+-AC_MSG_CHECKING([for GCC version])
+-qp_cpp_ver=[`gcc --version 2>/dev/null | head -1 | sed -e 
's/^[^[:digit:]]*\([[:digit:]][^[:space:]]*\).*$/\1/'`]
+-if test -n "$qp_cpp_ver"; then
+-AC_MSG_RESULT($qp_cpp_ver)
+-case "$qp_cpp_ver" in
+-  2.*)
+-AC_DEFINE(GCC_VERSION_2, 1, [Whether or not the GCC is gcc 2])
+-;;
+-esac
+-else
+-AC_MSG_RESULT(not found)
+-AC_MSG_ERROR(Could not determine GCC version)
+-fi
+-
+ #-
+ dnl Check for -fno-strict-aliasing
+ AC_MSG_CHECKING([for -fno-strict-aliasing])

diff --git a/dev-lang/qu-prolog/qu-prolog-10.5.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.5.ebuild
new file mode 100644
index 000..36fdb457ce2
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-10.5.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt5 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   qt5? (
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+)
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+   eapply "${FILESDIR}"/${PN}-10.x-qt5.patch
+   eapply "${FILESDIR}"/${PN}-10.5-gcc-version.patch
+   eapply_user
+
+   eautoconf
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   eqmake5 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt5; then
+   cd 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2020-06-13 Thread Keri Harris
commit: a793c326d60fdfd0479f0da8e752becd1d78a058
Author: Keri Harris  gentoo  org>
AuthorDate: Sat Jun 13 10:23:48 2020 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sat Jun 13 10:24:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a793c326

dev-lang/qu-prolog: version bump

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/Manifest  |  1 +
 dev-lang/qu-prolog/qu-prolog-10.4.ebuild | 97 
 2 files changed, 98 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index 40dbbfce6eb..6ae5f8da31b 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,3 +1,4 @@
 DIST qp10.1.tar.gz 1521610 BLAKE2B 
a4d6d277a35284accfff1afd70901218df198b2b33f5c95ca5649bf06abcb153890f2f21b0e8d62ed93484b452a230074f93c983ab231c8fc58b51a29119d838
 SHA512 
8fb30fcbc086384d7e265695a7d24a9599ed306b5da0ea964e60aef4bb01c7b6789fc361449f908736c57d86c204e574d745f277d5b0ec2b725a8eca52f14f1a
 DIST qp10.2.tar.gz 1667066 BLAKE2B 
fe466bc892a0923f463347bfa22618061d8a8baf9e2fc60ea27694c66be6dc8ac9b0bacd3084bccff95ff06ef949660cb9a0637a8e3e3595d04c44eb2b682bc9
 SHA512 
5cfebab17a812513bb4ddf4c04890af32339bef18d746dd6503cee13d295c43f1ef687a6c7814b2f40473766c695459f8234541ae8a6945a0f2930556985ad96
 DIST qp10.3.tar.gz 1669345 BLAKE2B 
9dc14f683555b22e7bb2119dd6d29cad7c934bb162def4358d69da65cd259b586fac593c7770dc1d665ab56da2e1129a696e84b01a271b747a9e3a8598c0d7fa
 SHA512 
e28519fccf58f2b755382f2b8e56c15f2622508822c920975577feb6b837f96346a14eb23a5209ed126e617264ed7846b8a35d5936e99284503d5c435c0a1c18
+DIST qp10.4.tar.gz 1671144 BLAKE2B 
293cbc09a058714f762e5d371074ca1b87e8177868851a3db2606a837810b474e926c43f6715c5088c718f2b1841c46f9668795ac53edc0266a9a6d5d04386f5
 SHA512 
39193ba2c39dc24b234092a47f9834af5b8dff6edc34ba6e0ceb6a4bda60c2f30b951bc17ef72da1dd220ef62563c88f4106dd0115a5bf8e51045abfb96151c6

diff --git a/dev-lang/qu-prolog/qu-prolog-10.4.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
new file mode 100644
index 000..79f9bc1fa0f
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-10.4.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt5 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   qt5? (
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+)
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+   eapply "${FILESDIR}"/${PN}-10.x-qt5.patch
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   eqmake5 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   use qt5 && dobin src/xqp/xqp
+
+   into /usr/$(get_libdir)/${PN}
+   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
+
+   insinto /usr/$(get_libdir)/${PN}/bin
+   doins bin/rl_commands
+   doins bin/{qc1.qup,qecat,qg,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
+   docinto examples
+   newdoc examples/README README.examples
+   dodoc examples/*.ql
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2020-05-27 Thread Keri Harris
commit: bac3d6083ed987f5c8dea144a116ccea82a1b364
Author: Keri Harris  gentoo  org>
AuthorDate: Wed May 27 16:11:59 2020 +
Commit: Keri Harris  gentoo  org>
CommitDate: Wed May 27 16:11:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bac3d608

dev-lang/qu-prolog: EAPI 7 fixup

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.3.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.3.ebuild
index 9f9d19a963c..c6f3783e748 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.3.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.3.ebuild
@@ -32,8 +32,7 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}"/${MY_P}
 
 src_prepare() {
-   epatch "${FILESDIR}"/${PN}-10.x-qt5.patch
-
+   eapply "${FILESDIR}"/${PN}-10.x-qt5.patch
eapply_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2020-05-27 Thread Keri Harris
commit: 876ab965a2d1cfabe99baeb61c3848fa8d0a4383
Author: Keri Harris  gentoo  org>
AuthorDate: Wed May 27 16:02:27 2020 +
Commit: Keri Harris  gentoo  org>
CommitDate: Wed May 27 16:03:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876ab965

dev-lang/qu-prolog: version bump

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/Manifest  |  1 +
 dev-lang/qu-prolog/qu-prolog-10.3.ebuild | 99 
 2 files changed, 100 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index e08b211f2c6..40dbbfce6eb 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,2 +1,3 @@
 DIST qp10.1.tar.gz 1521610 BLAKE2B 
a4d6d277a35284accfff1afd70901218df198b2b33f5c95ca5649bf06abcb153890f2f21b0e8d62ed93484b452a230074f93c983ab231c8fc58b51a29119d838
 SHA512 
8fb30fcbc086384d7e265695a7d24a9599ed306b5da0ea964e60aef4bb01c7b6789fc361449f908736c57d86c204e574d745f277d5b0ec2b725a8eca52f14f1a
 DIST qp10.2.tar.gz 1667066 BLAKE2B 
fe466bc892a0923f463347bfa22618061d8a8baf9e2fc60ea27694c66be6dc8ac9b0bacd3084bccff95ff06ef949660cb9a0637a8e3e3595d04c44eb2b682bc9
 SHA512 
5cfebab17a812513bb4ddf4c04890af32339bef18d746dd6503cee13d295c43f1ef687a6c7814b2f40473766c695459f8234541ae8a6945a0f2930556985ad96
+DIST qp10.3.tar.gz 1669345 BLAKE2B 
9dc14f683555b22e7bb2119dd6d29cad7c934bb162def4358d69da65cd259b586fac593c7770dc1d665ab56da2e1129a696e84b01a271b747a9e3a8598c0d7fa
 SHA512 
e28519fccf58f2b755382f2b8e56c15f2622508822c920975577feb6b837f96346a14eb23a5209ed126e617264ed7846b8a35d5936e99284503d5c435c0a1c18

diff --git a/dev-lang/qu-prolog/qu-prolog-10.3.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.3.ebuild
new file mode 100644
index 000..9f9d19a963c
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-10.3.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt5 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   !games-rpg/kqlives
+   qt5? (
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+)
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+   epatch "${FILESDIR}"/${PN}-10.x-qt5.patch
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   eqmake5 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   use qt5 && dobin src/xqp/xqp
+
+   into /usr/$(get_libdir)/${PN}
+   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
+
+   insinto /usr/$(get_libdir)/${PN}/bin
+   doins bin/rl_commands
+   doins bin/{qc1.qup,qecat,qg,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
+   docinto examples
+   newdoc examples/README README.examples
+   dodoc examples/*.ql
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/files/, dev-lang/qu-prolog/

2020-05-27 Thread Keri Harris
commit: b9cec6032cb7ff0464813c46f20fc4524a0e1248
Author: Keri Harris  gentoo  org>
AuthorDate: Wed May 27 15:57:18 2020 +
Commit: Keri Harris  gentoo  org>
CommitDate: Wed May 27 15:57:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9cec603

dev-lang/qu-prolog: consolidate QT patches

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Keri Harris  gentoo.org>

 dev-lang/qu-prolog/files/qu-prolog-10.2-qt5.patch  | 35 --
 ...log-10.1-qt5.patch => qu-prolog-10.x-qt5.patch} |  0
 dev-lang/qu-prolog/qu-prolog-10.1.ebuild   |  4 +--
 dev-lang/qu-prolog/qu-prolog-10.2.ebuild   |  2 +-
 4 files changed, 3 insertions(+), 38 deletions(-)

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.2-qt5.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.2-qt5.patch
deleted file mode 100644
index 4d5ec768be9..000
--- a/dev-lang/qu-prolog/files/qu-prolog-10.2-qt5.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -ur qp10.2.orig/src/xqp/term.cc qp10.2/src/xqp/term.cc
 qp10.2.orig/src/xqp/term.cc2008-07-09 07:32:37.0 +0200
-+++ qp10.2/src/xqp/term.cc 2020-03-21 14:08:16.842059351 +0100
-@@ -38,7 +38,7 @@
- 
- bool graphic_char(QChar c)
- {
--switch (c.toAscii())
-+switch (c.toLatin1())
- {
-case '-':
-case '/':
-diff -ur qp10.2.orig/src/xqp/xqp.cc qp10.2/src/xqp/xqp.cc
 qp10.2.orig/src/xqp/xqp.cc 2011-07-14 01:08:42.0 +0200
-+++ qp10.2/src/xqp/xqp.cc  2020-03-21 14:08:16.842059351 +0100
-@@ -167,7 +167,7 @@
- 
- void Xqp::send_cmd_to_qp(QString cmd)
- {
--   write(qp_stdin, cmd.toAscii(), cmd.length());
-+   write(qp_stdin, cmd.toLatin1(), cmd.length());
- }
- 
-   
-diff -ur qp10.2.orig/src/xqp/xqp.pro qp10.2/src/xqp/xqp.pro
 qp10.2.orig/src/xqp/xqp.pro2008-07-09 07:32:37.0 +0200
-+++ qp10.2/src/xqp/xqp.pro 2020-03-21 14:08:16.842059351 +0100
-@@ -4,6 +4,7 @@
- 
- TEMPLATE = app
- INCLUDEPATH += .
-+QT += widgets
- 
- # Input
- HEADERS += interact.h qpconfig.h qthelp.h term.h xqp.h xqpqueries.h

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.x-qt5.patch
similarity index 100%
rename from dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch
rename to dev-lang/qu-prolog/files/qu-prolog-10.x-qt5.patch

diff --git a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
index df4cb97f00b..66036b4f69a 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}"/${MY_P}
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-qt5.patch
+   epatch "${FILESDIR}"/${PN}-10.x-qt5.patch
 
eapply_user
 }

diff --git a/dev-lang/qu-prolog/qu-prolog-10.2.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.2.ebuild
index 4f85be09a08..d7dbcab7d77 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.2.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.2.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}"/${MY_P}
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-qt5.patch
+   epatch "${FILESDIR}"/${PN}-10.x-qt5.patch
 
eapply_user
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/files/, dev-lang/qu-prolog/

2020-03-21 Thread Keri Harris
commit: 8dd002c0162065b988c1ad587900648df88ceb61
Author: Keri Harris  gentoo  org>
AuthorDate: Sat Mar 21 13:23:47 2020 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sat Mar 21 13:24:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dd002c0

dev-lang/qu-prolog: version bump

Signed-off-by: Keri Harris  gentoo.org>
Package-Manager: Portage-2.3.89, Repoman-2.3.11

 dev-lang/qu-prolog/Manifest   |   1 +
 dev-lang/qu-prolog/files/qu-prolog-10.2-qt5.patch |  35 
 dev-lang/qu-prolog/qu-prolog-10.2.ebuild  | 100 ++
 3 files changed, 136 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index eb9bfae44ac..e08b211f2c6 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1 +1,2 @@
 DIST qp10.1.tar.gz 1521610 BLAKE2B 
a4d6d277a35284accfff1afd70901218df198b2b33f5c95ca5649bf06abcb153890f2f21b0e8d62ed93484b452a230074f93c983ab231c8fc58b51a29119d838
 SHA512 
8fb30fcbc086384d7e265695a7d24a9599ed306b5da0ea964e60aef4bb01c7b6789fc361449f908736c57d86c204e574d745f277d5b0ec2b725a8eca52f14f1a
+DIST qp10.2.tar.gz 1667066 BLAKE2B 
fe466bc892a0923f463347bfa22618061d8a8baf9e2fc60ea27694c66be6dc8ac9b0bacd3084bccff95ff06ef949660cb9a0637a8e3e3595d04c44eb2b682bc9
 SHA512 
5cfebab17a812513bb4ddf4c04890af32339bef18d746dd6503cee13d295c43f1ef687a6c7814b2f40473766c695459f8234541ae8a6945a0f2930556985ad96

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.2-qt5.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.2-qt5.patch
new file mode 100644
index 000..4d5ec768be9
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.2-qt5.patch
@@ -0,0 +1,35 @@
+diff -ur qp10.2.orig/src/xqp/term.cc qp10.2/src/xqp/term.cc
+--- qp10.2.orig/src/xqp/term.cc2008-07-09 07:32:37.0 +0200
 qp10.2/src/xqp/term.cc 2020-03-21 14:08:16.842059351 +0100
+@@ -38,7 +38,7 @@
+ 
+ bool graphic_char(QChar c)
+ {
+-switch (c.toAscii())
++switch (c.toLatin1())
+ {
+case '-':
+case '/':
+diff -ur qp10.2.orig/src/xqp/xqp.cc qp10.2/src/xqp/xqp.cc
+--- qp10.2.orig/src/xqp/xqp.cc 2011-07-14 01:08:42.0 +0200
 qp10.2/src/xqp/xqp.cc  2020-03-21 14:08:16.842059351 +0100
+@@ -167,7 +167,7 @@
+ 
+ void Xqp::send_cmd_to_qp(QString cmd)
+ {
+-   write(qp_stdin, cmd.toAscii(), cmd.length());
++   write(qp_stdin, cmd.toLatin1(), cmd.length());
+ }
+ 
+   
+diff -ur qp10.2.orig/src/xqp/xqp.pro qp10.2/src/xqp/xqp.pro
+--- qp10.2.orig/src/xqp/xqp.pro2008-07-09 07:32:37.0 +0200
 qp10.2/src/xqp/xqp.pro 2020-03-21 14:08:16.842059351 +0100
+@@ -4,6 +4,7 @@
+ 
+ TEMPLATE = app
+ INCLUDEPATH += .
++QT += widgets
+ 
+ # Input
+ HEADERS += interact.h qpconfig.h qthelp.h term.h xqp.h xqpqueries.h

diff --git a/dev-lang/qu-prolog/qu-prolog-10.2.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.2.ebuild
new file mode 100644
index 000..4f85be09a08
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-10.2.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt5 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   !games-rpg/kqlives
+   qt5? (
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+)
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-qt5.patch
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   eqmake5 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   use qt5 && dobin src/xqp/xqp
+
+   into /usr/$(get_libdir)/${PN}
+   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
+
+   insinto /usr/$(get_libdir)/${PN}/bin
+   doins bin/rl_commands
+   doins bin/{qc1.qup,qecat,qg,qp}.qx
+
+   insinto /usr/$(get_libdir)/${PN}/library
+   doins prolog/library/*.qo
+
+   insinto 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/files/, dev-lang/qu-prolog/

2018-10-27 Thread Keri Harris
commit: 09bdd67db70651ddd45d3aa7cc95ef34077c2bf2
Author: Keri Harris  gentoo  org>
AuthorDate: Sat Oct 27 07:04:03 2018 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sat Oct 27 07:04:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bdd67d

dev-lang/qu-prolog: remove old version

Signed-off-by: Keri Harris  gentoo.org>
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/qu-prolog/Manifest|   1 -
 .../files/qu-prolog-10.0-associated-item.patch |  11 ---
 .../qu-prolog/files/qu-prolog-10.0-configure.patch |  21 -
 dev-lang/qu-prolog/files/qu-prolog-10.0-gcc6.patch |  38 
 dev-lang/qu-prolog/files/qu-prolog-10.0-qt5.patch  |  35 ---
 dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild| 101 -
 6 files changed, 207 deletions(-)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index e9492dbb1b5..eb9bfae44ac 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,2 +1 @@
-DIST qp10.0.tar.gz 1521469 BLAKE2B 
ab293e5b14529c3714ba123c5f37f7fe2ac4f6238ebaca00fa7781407ccf7df67515b1b6b3c80a358fae5988c799bf16b8f02eb52a9b3a690b155a150ac90063
 SHA512 
491ef9cc01f0d34163d47163b3103dcbd52cc5672f64057b898c2d234384ac2e3b64b4e59a1795765ff92de4c97ebdb11a82d394213685c387e4dd7d598c5c60
 DIST qp10.1.tar.gz 1521610 BLAKE2B 
a4d6d277a35284accfff1afd70901218df198b2b33f5c95ca5649bf06abcb153890f2f21b0e8d62ed93484b452a230074f93c983ab231c8fc58b51a29119d838
 SHA512 
8fb30fcbc086384d7e265695a7d24a9599ed306b5da0ea964e60aef4bb01c7b6789fc361449f908736c57d86c204e574d745f277d5b0ec2b725a8eca52f14f1a

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.0-associated-item.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.0-associated-item.patch
deleted file mode 100644
index d5e992d51c2..000
--- a/dev-lang/qu-prolog/files/qu-prolog-10.0-associated-item.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 qp10.0.orig/src/objects.h  2016-06-07 02:54:35.0 +0200
-+++ qp10.0/src/objects.h   2016-10-03 18:26:49.924782008 +0200
-@@ -1210,7 +1210,7 @@
-<< this->getName() << "\" ";
-   
- #ifndef WIN32
--  switch (hasAssociatedItem())
-+  switch (tag & AssociatedMask)
- {
- case AssociatedNone:
-   std::cerr << "(no info)";

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.0-configure.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.0-configure.patch
deleted file mode 100644
index b3c10961391..000
--- a/dev-lang/qu-prolog/files/qu-prolog-10.0-configure.patch
+++ /dev/null
@@ -1,21 +0,0 @@
 qp10.0.orig/configure  2016-06-07 02:54:42.0 +0200
-+++ qp10.0/configure   2016-10-03 18:30:22.360786524 +0200
-@@ -2256,12 +2256,16 @@
- #
- # Check for addtional command line options.
- #
--DEBUGGING=" -DNDEBUG "
- # Check whether --enable-debug was given.
- if test "${enable_debug+set}" = set; then :
--  enableval=$enable_debug;  DEBUGGING=
-+  enableval=$enable_debug;
- fi
- 
-+if test "$enable_debug" = yes; then
-+  DEBUGGING=
-+else
-+  DEBUGGING=" -DNDEBUG "
-+fi
- 
- 
- # Single versus multiple thread configuraation.

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.0-gcc6.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.0-gcc6.patch
deleted file mode 100644
index 626a15b5de9..000
--- a/dev-lang/qu-prolog/files/qu-prolog-10.0-gcc6.patch
+++ /dev/null
@@ -1,38 +0,0 @@
 qp10.0/src/io_qp.h.old 2016-10-12 02:50:04.343499674 -0400
-+++ qp10.0/src/io_qp.h 2016-10-12 02:50:10.605264154 -0400
-@@ -662,7 +662,7 @@
- 
-   bool seekp(streampos pos, ios::seekdir d = ios::beg)
- {
--  return stream->seekp(pos, d);
-+  return !stream->seekp(pos, d).fail();
- }
- 
-   bool put(char ch)
-@@ -736,7 +736,7 @@
- 
-   bool seekp(streampos pos, ios::seekdir d = ios::beg)
- {
--  return stream.seekp(pos, d);
-+  return !stream.seekp(pos, d).fail();
- }
- 
-   bool put(char ch)
-@@ -816,7 +816,7 @@
- 
-   bool seekp(streampos pos, ios::seekdir d = ios::beg)
- {
--  return stream.seekp(pos, d);
-+  return !stream.seekp(pos, d).fail();
- }
- 
-   bool put(char ch);
-@@ -876,7 +876,7 @@
- 
-   bool seekp(streampos pos, ios::seekdir d = ios::beg)
- {
--  return stream.seekp(pos, d);
-+  return !stream.seekp(pos, d).fail();
- }
- 
-   bool put(char ch);

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.0-qt5.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.0-qt5.patch
deleted file mode 100644
index d82e78cada1..000
--- a/dev-lang/qu-prolog/files/qu-prolog-10.0-qt5.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -ur qp10.0.orig/src/xqp/term.cc qp10.0/src/xqp/term.cc
 qp10.0.orig/src/xqp/term.cc2008-07-09 07:32:37.0 +0200
-+++ qp10.0/src/xqp/term.cc 2018-01-27 14:06:54.101545854 +0100
-@@ -38,7 +38,7 @@
- 
- bool graphic_char(QChar c)
- {
--switch (c.toAscii())
-+switch (c.toLatin1())
- {
-case '-':
-case '/':
-diff -ur 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2018-09-08 Thread Thomas Deutschmann
commit: 4aadac962099be781ac1801883cc409fe4bd4a6a
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Sep  9 01:08:14 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Sep  9 01:12:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aadac96

dev-lang/qu-prolog: x86 stable (bug #665142)

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-lang/qu-prolog/qu-prolog-10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
index 39e6893ac06..df4cb97f00b 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc ~x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2018-09-07 Thread Sergei Trofimovich
commit: 29a8eee1b3856bdb2476037425844b3f3318795f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Sep  7 22:51:36 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Sep  7 22:54:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a8eee1

dev-lang/qu-prolog: stable 10.1 for ppc, bug #665142

Package-Manager: Portage-2.3.49, Repoman-2.3.10
RepoMan-Options: --include-arches="ppc"

 dev-lang/qu-prolog/qu-prolog-10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
index 3ad77e4c926..39e6893ac06 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc ~x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2018-09-03 Thread Keri Harris
commit: 05facbbc985963081e46167efe528ec967aac3e1
Author: Keri Harris  gentoo  org>
AuthorDate: Mon Sep  3 07:08:29 2018 +
Commit: Keri Harris  gentoo  org>
CommitDate: Mon Sep  3 07:08:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05facbbc

dev-lang/qu-prolog: amd64 stable (bug #665142)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/qu-prolog/qu-prolog-10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
index 2b3ad3c4c60..3ad77e4c926 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/files/, dev-lang/qu-prolog/

2018-07-19 Thread Keri Harris
commit: 506e0a9037f0440ec30990f6dfb9bae6cd2886c2
Author: Keri Harris  gentoo  org>
AuthorDate: Thu Jul 19 08:48:50 2018 +
Commit: Keri Harris  gentoo  org>
CommitDate: Thu Jul 19 08:49:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=506e0a90

dev-lang/qu-prolog: version bump

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/qu-prolog/Manifest   |   1 +
 dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch |  35 
 dev-lang/qu-prolog/qu-prolog-10.1.ebuild  | 100 ++
 3 files changed, 136 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index e772770d16e..e9492dbb1b5 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1 +1,2 @@
 DIST qp10.0.tar.gz 1521469 BLAKE2B 
ab293e5b14529c3714ba123c5f37f7fe2ac4f6238ebaca00fa7781407ccf7df67515b1b6b3c80a358fae5988c799bf16b8f02eb52a9b3a690b155a150ac90063
 SHA512 
491ef9cc01f0d34163d47163b3103dcbd52cc5672f64057b898c2d234384ac2e3b64b4e59a1795765ff92de4c97ebdb11a82d394213685c387e4dd7d598c5c60
+DIST qp10.1.tar.gz 1521610 BLAKE2B 
a4d6d277a35284accfff1afd70901218df198b2b33f5c95ca5649bf06abcb153890f2f21b0e8d62ed93484b452a230074f93c983ab231c8fc58b51a29119d838
 SHA512 
8fb30fcbc086384d7e265695a7d24a9599ed306b5da0ea964e60aef4bb01c7b6789fc361449f908736c57d86c204e574d745f277d5b0ec2b725a8eca52f14f1a

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch
new file mode 100644
index 000..92dfdd78008
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch
@@ -0,0 +1,35 @@
+diff -ur qp10.1.orig/src/xqp/term.cc qp10.1/src/xqp/term.cc
+--- qp10.1.orig/src/xqp/term.cc2008-07-09 07:32:37.0 +0200
 qp10.1/src/xqp/term.cc 2018-07-19 10:31:12.969762518 +0200
+@@ -38,7 +38,7 @@
+ 
+ bool graphic_char(QChar c)
+ {
+-switch (c.toAscii())
++switch (c.toLatin1())
+ {
+case '-':
+case '/':
+diff -ur qp10.1.orig/src/xqp/xqp.cc qp10.1/src/xqp/xqp.cc
+--- qp10.1.orig/src/xqp/xqp.cc 2011-07-14 01:08:42.0 +0200
 qp10.1/src/xqp/xqp.cc  2018-07-19 10:31:12.969762518 +0200
+@@ -167,7 +167,7 @@
+ 
+ void Xqp::send_cmd_to_qp(QString cmd)
+ {
+-   write(qp_stdin, cmd.toAscii(), cmd.length());
++   write(qp_stdin, cmd.toLatin1(), cmd.length());
+ }
+ 
+   
+diff -ur qp10.1.orig/src/xqp/xqp.pro qp10.1/src/xqp/xqp.pro
+--- qp10.1.orig/src/xqp/xqp.pro2008-07-09 07:32:37.0 +0200
 qp10.1/src/xqp/xqp.pro 2018-07-19 10:31:12.969762518 +0200
+@@ -4,6 +4,7 @@
+ 
+ TEMPLATE = app
+ INCLUDEPATH += .
++QT += widgets
+ 
+ # Input
+ HEADERS += interact.h qpconfig.h qthelp.h term.h xqp.h xqpqueries.h

diff --git a/dev-lang/qu-prolog/qu-prolog-10.1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
new file mode 100644
index 000..2b3ad3c4c60
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-10.1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt5 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   !games-rpg/kqlives
+   qt5? (
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+)
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-qt5.patch
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   eqmake5 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   use qt5 && dobin src/xqp/xqp
+
+   into /usr/$(get_libdir)/${PN}
+   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
+
+   insinto /usr/$(get_libdir)/${PN}/bin
+   doins bin/rl_commands
+   doins bin/{qc1.qup,qecat,qg,qp}.qx
+
+   insinto /usr/$(get_libdir)/${PN}/library
+   doins prolog/library/*.qo
+
+   insinto /usr/$(get_libdir)/${PN}/compiler
+   

[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2018-04-01 Thread Andreas Sturmlechner
commit: aca13183a7450c32e9c6bd968a4808a9e33d9c35
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Apr  1 16:08:04 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Apr  1 17:34:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca13183

dev-lang/qu-prolog: Drop Qt4-based ebuild

Bug: https://bugs.gentoo.org/645628
Package-Manager: Portage-2.3.27, Repoman-2.3.9

 dev-lang/qu-prolog/qu-prolog-10.0.ebuild | 97 
 1 file changed, 97 deletions(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
deleted file mode 100644
index a32be5b617f..000
--- a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib qmake-utils
-
-MY_P=qp${PV}
-
-DESCRIPTION="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="Apache-2.0 GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="debug doc examples pedro qt4 readline threads"
-
-RDEPEND="
-   !dev-util/mpatch
-   !dev-util/rej
-   !games-rpg/kqlives
-   qt4? ( dev-qt/qtgui:4 )
-   pedro? ( net-misc/pedro )
-   readline? ( app-misc/rlwrap )"
-DEPEND="${RDEPEND}
-   dev-lang/perl"
-
-S="${WORKDIR}"/${MY_P}
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-configure.patch
-   epatch "${FILESDIR}"/${P}-associated-item.patch
-   epatch "${FILESDIR}"/${P}-gcc6.patch
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir) \
-   $(use_enable debug) \
-   $(use_enable threads multiple-threads)
-
-   if use qt4; then
-   cd "${S}"/src/xqp || die
-   eqmake4 xqp.pro
-   fi
-}
-
-src_compile() {
-   emake OPTIMISATION="${CXXFLAGS}"
-
-   if use qt4; then
-   cd "${S}"/src/xqp || die
-   emake
-   fi
-}
-
-src_install() {
-   sed \
-   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
-   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
-
-   dobin bin/{qc,qecat,qp,kq}
-
-   into /usr/$(get_libdir)/${PN}
-   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
-
-   use qt4 && dobin src/xqp/xqp
-
-   insinto /usr/$(get_libdir)/${PN}/bin
-   doins bin/rl_commands
-   doins bin/{qc1.qup,qecat,qg,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
-   newdoc examples/README README.examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2018-04-01 Thread Sergei Trofimovich
commit: 26cd442ec3cdf75071c0a67d27b1cd8148204ebe
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Apr  1 11:35:48 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr  1 13:47:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26cd442e

dev-lang/qu-prolog: stable 10.0-r1 for ppc, bug #645628

Package-Manager: Portage-2.3.27, Repoman-2.3.9
RepoMan-Options: --include-arches="ppc"

 dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
index 9c34b03e961..6506c3bce9f 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2018-02-20 Thread Thomas Deutschmann
commit: 3125e5f22b10738a4ea6729916eb09f4ed43
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Feb 21 02:58:48 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Feb 21 02:58:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3125e5f2

dev-lang/qu-prolog: x86 stable (bug #645628)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
index 75ae40d3254..9c34b03e961 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2018-02-20 Thread Keri Harris
commit: 2af3f9632b3ef6c3b8223337f66d74e02f0faf2d
Author: Keri Harris  gentoo  org>
AuthorDate: Tue Feb 20 14:09:39 2018 +
Commit: Keri Harris  gentoo  org>
CommitDate: Tue Feb 20 14:09:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2af3f963

dev-lang/qu-prolog: amd64 stable

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
index bb5af2782e1..75ae40d3254 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="debug doc examples pedro qt5 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/files/, dev-lang/qu-prolog/

2018-01-27 Thread Keri Harris
commit: e50021b642670b3ef723e1f086c96983c69f0841
Author: Keri Harris  gentoo  org>
AuthorDate: Sat Jan 27 13:13:55 2018 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sat Jan 27 13:14:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e50021b6

dev-lang/qu-prolog: port to QT5

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-lang/qu-prolog/files/qu-prolog-10.0-qt5.patch |  35 
 dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild   | 101 ++
 2 files changed, 136 insertions(+)

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.0-qt5.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.0-qt5.patch
new file mode 100644
index 000..d82e78cada1
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.0-qt5.patch
@@ -0,0 +1,35 @@
+diff -ur qp10.0.orig/src/xqp/term.cc qp10.0/src/xqp/term.cc
+--- qp10.0.orig/src/xqp/term.cc2008-07-09 07:32:37.0 +0200
 qp10.0/src/xqp/term.cc 2018-01-27 14:06:54.101545854 +0100
+@@ -38,7 +38,7 @@
+ 
+ bool graphic_char(QChar c)
+ {
+-switch (c.toAscii())
++switch (c.toLatin1())
+ {
+case '-':
+case '/':
+diff -ur qp10.0.orig/src/xqp/xqp.cc qp10.0/src/xqp/xqp.cc
+--- qp10.0.orig/src/xqp/xqp.cc 2011-07-14 01:08:42.0 +0200
 qp10.0/src/xqp/xqp.cc  2018-01-27 14:07:53.902543353 +0100
+@@ -167,7 +167,7 @@
+ 
+ void Xqp::send_cmd_to_qp(QString cmd)
+ {
+-   write(qp_stdin, cmd.toAscii(), cmd.length());
++   write(qp_stdin, cmd.toLatin1(), cmd.length());
+ }
+ 
+   
+diff -ur qp10.0.orig/src/xqp/xqp.pro qp10.0/src/xqp/xqp.pro
+--- qp10.0.orig/src/xqp/xqp.pro2008-07-09 07:32:37.0 +0200
 qp10.0/src/xqp/xqp.pro 2018-01-27 14:01:24.764559627 +0100
+@@ -4,6 +4,7 @@
+ 
+ TEMPLATE = app
+ INCLUDEPATH += .
++QT += widgets
+ 
+ # Input
+ HEADERS += interact.h qpconfig.h qthelp.h term.h xqp.h xqpqueries.h

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
new file mode 100644
index 000..bb5af2782e1
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-10.0-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt5 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   !games-rpg/kqlives
+   qt5? (
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+)
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-configure.patch
+   epatch "${FILESDIR}"/${P}-associated-item.patch
+   epatch "${FILESDIR}"/${P}-gcc6.patch
+   epatch "${FILESDIR}"/${P}-qt5.patch
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   eqmake5 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt5; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   use qt5 && dobin src/xqp/xqp
+
+   into /usr/$(get_libdir)/${PN}
+   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
+
+   insinto /usr/$(get_libdir)/${PN}/bin
+   doins bin/rl_commands
+   doins bin/{qc1.qup,qecat,qg,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
+   newdoc examples/README README.examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/, dev-lang/qu-prolog/files/

2017-10-29 Thread Keri Harris
commit: 4853a0a4bf999eedf284a019f3a358d9840fefbc
Author: Keri Harris  gentoo  org>
AuthorDate: Sun Oct 29 17:35:55 2017 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sun Oct 29 17:36:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4853a0a4

dev-lang/qu-prolog: remove old versions

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 dev-lang/qu-prolog/Manifest|   4 -
 .../qu-prolog/files/qu-prolog-9.1-cerr-ptr.patch   |  40 
 .../qu-prolog/files/qu-prolog-9.1-cflags.patch |  34 ---
 dev-lang/qu-prolog/files/qu-prolog-9.1-gcc.patch   |  33 ---
 .../qu-prolog/files/qu-prolog-9.1-portage.patch|  32 ---
 .../qu-prolog/files/qu-prolog-9.5-cflags.patch |  34 ---
 .../qu-prolog/files/qu-prolog-9.5-portage.patch|  32 ---
 dev-lang/qu-prolog/qu-prolog-9.1-r1.ebuild |  95 ---
 dev-lang/qu-prolog/qu-prolog-9.1.ebuild| 102 -
 dev-lang/qu-prolog/qu-prolog-9.5.ebuild|  93 ---
 dev-lang/qu-prolog/qu-prolog-9.6.ebuild|  90 --
 dev-lang/qu-prolog/qu-prolog-9.7.ebuild|  90 --
 12 files changed, 679 deletions(-)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index e20903fea30..a887f3083a6 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,5 +1 @@
 DIST qp10.0.tar.gz 1521469 SHA256 
f3968e0ea5f9da80475b8298cbac0c70d3684fb8e68ddc0961a2d8c739aa9f07 SHA512 
491ef9cc01f0d34163d47163b3103dcbd52cc5672f64057b898c2d234384ac2e3b64b4e59a1795765ff92de4c97ebdb11a82d394213685c387e4dd7d598c5c60
 WHIRLPOOL 
675a46d6ce428456e1055b8192c84e488ea1b6a3715f9f3e267d9df0637e304982f933e6078e5912c025eceb02dc79c08bd6744d181269b210ff3233ce69fa37
-DIST qp9.1.tar.gz 1460679 SHA256 
1f3052f2700d537b33207943a3ade48b2b3aa5cd01cafc0475bcf26c645bc9af SHA512 
44590be9d1ecec97fa6c82b657e9ecc3778f833644055ee87c9a6a36996663d139ffd7b583d72f8ac317648e0f22ccbc2a1da9c3a5eabd23381c668e5d073cbb
 WHIRLPOOL 
37ec4e25c2284b267f72c016b4ea1e542d735c9da5f6532d1f6b439af2b91422ddc251d31e1a17b6366ee6af0e754acdbf8a0c44ef03f46a2515f14b1259b732
-DIST qp9.5.tar.gz 1537445 SHA256 
7e4b9883fad00b16c919620033da48482b2eccc875b37f8170d674ce9f72aee2 SHA512 
7a79090a6e3f0263e38cf5e5724a5c35c63c8cca2842fa8c07f9ff84011ef7ac9a22b195713aeb626a787c9391c612f3fea0ff38c084634a2f62258feb3eb6e2
 WHIRLPOOL 
3f589998f3480925fa3ad3c54f1f0ba4122cfa12c48d9bf1269e92a0fdf52d1823cd8dae8851e36d2c97ec2f869da10ff6ee7f2663b752d1d396e1b5a95ca982
-DIST qp9.6.tar.gz 1539483 SHA256 
631ab73af271279d583c5ecf19e5542dd8dff097179e3bb34ac2624aeb029f7a SHA512 
a15d3f2254d9ed9a2032f7e2902363f2ed2dbf0a7ba67a89aae79202d38954a195e93725aa828d19d50d7a891d8cea4f0d23af66ffd55984738db9b612467cd8
 WHIRLPOOL 
3dcc746da3283044267abd7aa00795b1bff79bffd206c1bf227087281d94f2dc4a390a5ccd85933641aea150313b2f62e0e9fbe491ef4fafa73e4fdd9b35d7d1
-DIST qp9.7.tar.gz 1539804 SHA256 
9b77c97e0cb981669cf27df0f68875ba44958e67cc82ac71a4f5d2665b96708b SHA512 
20a7a00eab2ec489489f95d78eb4dc8edf71d99fae2f23807158ca78d0bbd1b66d03460f0e06f91ac4ecafd9aab2bbdd109368ba8d3cc2c8452e17c634035c19
 WHIRLPOOL 
20a790902848790cfedefc6434eda01bb4b0ed2cfdf26c7d1a7914cef9916d161fcd397001a7f5a0aadf2d710112446bd99103f161ef22ad7b3567b45b33ac6d

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
deleted file mode 100644
index 1fde09843e6..000
--- a/dev-lang/qu-prolog/files/qu-prolog-9.1-cerr-ptr.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-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.0 +1200
-+++ qp9.1/src/gc.cc2011-11-20 07:14:14.0 +1300
-@@ -152,7 +152,7 @@
- {
-   cerr << size << endl;
-   heapobject* ptr = reinterpret_cast(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.0 +1200
-+++ qp9.1/src/objects.h2011-11-20 07:14:14.0 +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 << "]";

[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2017-09-23 Thread Thomas Deutschmann
commit: 23a6cb12f2c229049e55e0dcb35e79f4d134920b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Sep 23 14:29:20 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Sep 23 14:32:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a6cb12

dev-lang/qu-prolog: x86 stable (bug #631726)

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-lang/qu-prolog/qu-prolog-10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
index df1c2567a7e..a32be5b617f 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc ~x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="debug doc examples pedro qt4 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2017-09-23 Thread Sergei Trofimovich
commit: 735abd875e0a1173f355204cc40a6a91e13fa40b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep 23 10:41:53 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep 23 12:35:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=735abd87

dev-lang/qu-prolog: stable 10.0 for ppc, bug #631726

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"

 dev-lang/qu-prolog/qu-prolog-10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
index 83d306058d6..df1c2567a7e 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc ~x86"
 IUSE="debug doc examples pedro qt4 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2017-09-22 Thread Keri Harris
commit: 2ba56a56430827be0f8235645b00e16a4c13f485
Author: Keri Harris  gentoo  org>
AuthorDate: Fri Sep 22 14:31:34 2017 +
Commit: Keri Harris  gentoo  org>
CommitDate: Fri Sep 22 14:31:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba56a56

dev-lang/qu-prolog: stable on amd64. Bug #631726

Package-Manager: Portage-2.3.0, Repoman-2.3.1

 dev-lang/qu-prolog/qu-prolog-10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
index 0e221616b1e..83d306058d6 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="debug doc examples pedro qt4 readline threads"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2017-08-01 Thread Keri Harris
commit: 7af091fee0fe97f41d4309edf3fe2c1c6143f792
Author: Keri Harris  gentoo  org>
AuthorDate: Tue Aug  1 16:38:56 2017 +
Commit: Keri Harris  gentoo  org>
CommitDate: Tue Aug  1 16:38:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af091fe

dev-lang/qu-prolog: block games-rpg/kqlives due to file collision. See bug 
#597790

Package-Manager: Portage-2.3.0, Repoman-2.3.1

 dev-lang/qu-prolog/qu-prolog-10.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
index 15d7adb69ed..0e221616b1e 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,6 +19,7 @@ IUSE="debug doc examples pedro qt4 readline threads"
 RDEPEND="
!dev-util/mpatch
!dev-util/rej
+   !games-rpg/kqlives
qt4? ( dev-qt/qtgui:4 )
pedro? ( net-misc/pedro )
readline? ( app-misc/rlwrap )"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/, dev-lang/qu-prolog/files/

2016-10-20 Thread Keri Harris
commit: ea50a5c77edf7bbd82ddf026a90c77c4865bb740
Author: Keri Harris  gentoo  org>
AuthorDate: Thu Oct 20 10:03:09 2016 +
Commit: Keri Harris  gentoo  org>
CommitDate: Thu Oct 20 10:03:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea50a5c7

dev-lang/qu-prolog: fix compile with GCCv6

Package-Manager: portage-2.3.0

 dev-lang/qu-prolog/files/qu-prolog-10.0-gcc6.patch | 38 ++
 dev-lang/qu-prolog/qu-prolog-10.0.ebuild   |  1 +
 2 files changed, 39 insertions(+)

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.0-gcc6.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.0-gcc6.patch
new file mode 100644
index ..626a15b
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.0-gcc6.patch
@@ -0,0 +1,38 @@
+--- qp10.0/src/io_qp.h.old 2016-10-12 02:50:04.343499674 -0400
 qp10.0/src/io_qp.h 2016-10-12 02:50:10.605264154 -0400
+@@ -662,7 +662,7 @@
+ 
+   bool seekp(streampos pos, ios::seekdir d = ios::beg)
+ {
+-  return stream->seekp(pos, d);
++  return !stream->seekp(pos, d).fail();
+ }
+ 
+   bool put(char ch)
+@@ -736,7 +736,7 @@
+ 
+   bool seekp(streampos pos, ios::seekdir d = ios::beg)
+ {
+-  return stream.seekp(pos, d);
++  return !stream.seekp(pos, d).fail();
+ }
+ 
+   bool put(char ch)
+@@ -816,7 +816,7 @@
+ 
+   bool seekp(streampos pos, ios::seekdir d = ios::beg)
+ {
+-  return stream.seekp(pos, d);
++  return !stream.seekp(pos, d).fail();
+ }
+ 
+   bool put(char ch);
+@@ -876,7 +876,7 @@
+ 
+   bool seekp(streampos pos, ios::seekdir d = ios::beg)
+ {
+-  return stream.seekp(pos, d);
++  return !stream.seekp(pos, d).fail();
+ }
+ 
+   bool put(char ch);

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
index 4914f07..bb4fb1f 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
@@ -31,6 +31,7 @@ S="${WORKDIR}"/${MY_P}
 src_prepare() {
epatch "${FILESDIR}"/${P}-configure.patch
epatch "${FILESDIR}"/${P}-associated-item.patch
+   epatch "${FILESDIR}"/${P}-gcc6.patch
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/, dev-lang/qu-prolog/files/

2016-10-03 Thread Keri Harris
commit: 71d148bdef2578ba433562e8994963abcdc00843
Author: Keri Harris  gentoo  org>
AuthorDate: Mon Oct  3 16:41:49 2016 +
Commit: Keri Harris  gentoo  org>
CommitDate: Mon Oct  3 16:41:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d148bd

dev-lang/qu-prolog: build-time fixes for USE=debug

 .../files/qu-prolog-10.0-associated-item.patch  | 11 +++
 .../qu-prolog/files/qu-prolog-10.0-configure.patch  | 21 +
 dev-lang/qu-prolog/qu-prolog-10.0.ebuild|  5 +
 3 files changed, 37 insertions(+)

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.0-associated-item.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.0-associated-item.patch
new file mode 100644
index ..d5e992d
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.0-associated-item.patch
@@ -0,0 +1,11 @@
+--- qp10.0.orig/src/objects.h  2016-06-07 02:54:35.0 +0200
 qp10.0/src/objects.h   2016-10-03 18:26:49.924782008 +0200
+@@ -1210,7 +1210,7 @@
+<< this->getName() << "\" ";
+   
+ #ifndef WIN32
+-  switch (hasAssociatedItem())
++  switch (tag & AssociatedMask)
+ {
+ case AssociatedNone:
+   std::cerr << "(no info)";

diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.0-configure.patch 
b/dev-lang/qu-prolog/files/qu-prolog-10.0-configure.patch
new file mode 100644
index ..b3c1096
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.0-configure.patch
@@ -0,0 +1,21 @@
+--- qp10.0.orig/configure  2016-06-07 02:54:42.0 +0200
 qp10.0/configure   2016-10-03 18:30:22.360786524 +0200
+@@ -2256,12 +2256,16 @@
+ #
+ # Check for addtional command line options.
+ #
+-DEBUGGING=" -DNDEBUG "
+ # Check whether --enable-debug was given.
+ if test "${enable_debug+set}" = set; then :
+-  enableval=$enable_debug;  DEBUGGING=
++  enableval=$enable_debug;
+ fi
+ 
++if test "$enable_debug" = yes; then
++  DEBUGGING=
++else
++  DEBUGGING=" -DNDEBUG "
++fi
+ 
+ 
+ # Single versus multiple thread configuraation.

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
index 14d1f11..4914f07 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
@@ -28,6 +28,11 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}"/${MY_P}
 
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-configure.patch
+   epatch "${FILESDIR}"/${P}-associated-item.patch
+}
+
 src_configure() {
econf \
--libdir=/usr/$(get_libdir) \



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2016-10-03 Thread Keri Harris
commit: 170bbc9005edbb96eca6c455f8c6964ee5a86496
Author: Keri Harris  gentoo  org>
AuthorDate: Mon Oct  3 11:50:36 2016 +
Commit: Keri Harris  gentoo  org>
CommitDate: Mon Oct  3 11:50:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=170bbc90

dev-lang/qu-prolog: version bump

Package-Manager: portage-2.3.0

 dev-lang/qu-prolog/Manifest  |  1 +
 dev-lang/qu-prolog/qu-prolog-10.0.ebuild | 91 
 2 files changed, 92 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index c7a3eef..e20903f 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,3 +1,4 @@
+DIST qp10.0.tar.gz 1521469 SHA256 
f3968e0ea5f9da80475b8298cbac0c70d3684fb8e68ddc0961a2d8c739aa9f07 SHA512 
491ef9cc01f0d34163d47163b3103dcbd52cc5672f64057b898c2d234384ac2e3b64b4e59a1795765ff92de4c97ebdb11a82d394213685c387e4dd7d598c5c60
 WHIRLPOOL 
675a46d6ce428456e1055b8192c84e488ea1b6a3715f9f3e267d9df0637e304982f933e6078e5912c025eceb02dc79c08bd6744d181269b210ff3233ce69fa37
 DIST qp9.1.tar.gz 1460679 SHA256 
1f3052f2700d537b33207943a3ade48b2b3aa5cd01cafc0475bcf26c645bc9af SHA512 
44590be9d1ecec97fa6c82b657e9ecc3778f833644055ee87c9a6a36996663d139ffd7b583d72f8ac317648e0f22ccbc2a1da9c3a5eabd23381c668e5d073cbb
 WHIRLPOOL 
37ec4e25c2284b267f72c016b4ea1e542d735c9da5f6532d1f6b439af2b91422ddc251d31e1a17b6366ee6af0e754acdbf8a0c44ef03f46a2515f14b1259b732
 DIST qp9.5.tar.gz 1537445 SHA256 
7e4b9883fad00b16c919620033da48482b2eccc875b37f8170d674ce9f72aee2 SHA512 
7a79090a6e3f0263e38cf5e5724a5c35c63c8cca2842fa8c07f9ff84011ef7ac9a22b195713aeb626a787c9391c612f3fea0ff38c084634a2f62258feb3eb6e2
 WHIRLPOOL 
3f589998f3480925fa3ad3c54f1f0ba4122cfa12c48d9bf1269e92a0fdf52d1823cd8dae8851e36d2c97ec2f869da10ff6ee7f2663b752d1d396e1b5a95ca982
 DIST qp9.6.tar.gz 1539483 SHA256 
631ab73af271279d583c5ecf19e5542dd8dff097179e3bb34ac2624aeb029f7a SHA512 
a15d3f2254d9ed9a2032f7e2902363f2ed2dbf0a7ba67a89aae79202d38954a195e93725aa828d19d50d7a891d8cea4f0d23af66ffd55984738db9b612467cd8
 WHIRLPOOL 
3dcc746da3283044267abd7aa00795b1bff79bffd206c1bf227087281d94f2dc4a390a5ccd85933641aea150313b2f62e0e9fbe491ef4fafa73e4fdd9b35d7d1

diff --git a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
new file mode 100644
index ..14d1f11
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Apache-2.0 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt4 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   qt4? ( dev-qt/qtgui:4 )
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt4; then
+   cd "${S}"/src/xqp || die
+   eqmake4 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt4; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   into /usr/$(get_libdir)/${PN}
+   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
+
+   use qt4 && dobin src/xqp/xqp
+
+   insinto /usr/$(get_libdir)/${PN}/bin
+   doins bin/rl_commands
+   doins bin/{qc1.qup,qecat,qg,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
+   newdoc examples/README README.examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2016-02-15 Thread Keri Harris
commit: 4765bf514f1217a76533dfce878265681b709268
Author: Keri Harris  gentoo  org>
AuthorDate: Mon Feb 15 18:02:51 2016 +
Commit: Keri Harris  gentoo  org>
CommitDate: Mon Feb 15 18:03:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4765bf51

dev-lang/qu-prolog: version bump

Package-Manager: portage-2.2.26

 dev-lang/qu-prolog/Manifest |  1 +
 dev-lang/qu-prolog/qu-prolog-9.7.ebuild | 91 +
 2 files changed, 92 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index ef9cc43..c7a3eef 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,3 +1,4 @@
 DIST qp9.1.tar.gz 1460679 SHA256 
1f3052f2700d537b33207943a3ade48b2b3aa5cd01cafc0475bcf26c645bc9af SHA512 
44590be9d1ecec97fa6c82b657e9ecc3778f833644055ee87c9a6a36996663d139ffd7b583d72f8ac317648e0f22ccbc2a1da9c3a5eabd23381c668e5d073cbb
 WHIRLPOOL 
37ec4e25c2284b267f72c016b4ea1e542d735c9da5f6532d1f6b439af2b91422ddc251d31e1a17b6366ee6af0e754acdbf8a0c44ef03f46a2515f14b1259b732
 DIST qp9.5.tar.gz 1537445 SHA256 
7e4b9883fad00b16c919620033da48482b2eccc875b37f8170d674ce9f72aee2 SHA512 
7a79090a6e3f0263e38cf5e5724a5c35c63c8cca2842fa8c07f9ff84011ef7ac9a22b195713aeb626a787c9391c612f3fea0ff38c084634a2f62258feb3eb6e2
 WHIRLPOOL 
3f589998f3480925fa3ad3c54f1f0ba4122cfa12c48d9bf1269e92a0fdf52d1823cd8dae8851e36d2c97ec2f869da10ff6ee7f2663b752d1d396e1b5a95ca982
 DIST qp9.6.tar.gz 1539483 SHA256 
631ab73af271279d583c5ecf19e5542dd8dff097179e3bb34ac2624aeb029f7a SHA512 
a15d3f2254d9ed9a2032f7e2902363f2ed2dbf0a7ba67a89aae79202d38954a195e93725aa828d19d50d7a891d8cea4f0d23af66ffd55984738db9b612467cd8
 WHIRLPOOL 
3dcc746da3283044267abd7aa00795b1bff79bffd206c1bf227087281d94f2dc4a390a5ccd85933641aea150313b2f62e0e9fbe491ef4fafa73e4fdd9b35d7d1
+DIST qp9.7.tar.gz 1539804 SHA256 
9b77c97e0cb981669cf27df0f68875ba44958e67cc82ac71a4f5d2665b96708b SHA512 
20a7a00eab2ec489489f95d78eb4dc8edf71d99fae2f23807158ca78d0bbd1b66d03460f0e06f91ac4ecafd9aab2bbdd109368ba8d3cc2c8452e17c634035c19
 WHIRLPOOL 
20a790902848790cfedefc6434eda01bb4b0ed2cfdf26c7d1a7914cef9916d161fcd397001a7f5a0aadf2d710112446bd99103f161ef22ad7b3567b45b33ac6d

diff --git a/dev-lang/qu-prolog/qu-prolog-9.7.ebuild 
b/dev-lang/qu-prolog/qu-prolog-9.7.ebuild
new file mode 100644
index 000..057bf8d
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-9.7.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Qu-Prolog GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt4 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   qt4? ( dev-qt/qtgui:4 )
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt4; then
+   cd "${S}"/src/xqp || die
+   eqmake4 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt4; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   into /usr/$(get_libdir)/${PN}
+   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
+
+   use qt4 && dobin src/xqp/xqp
+
+   insinto /usr/$(get_libdir)/${PN}/bin
+   doins bin/rl_commands
+   doins bin/{qc1.qup,qecat,qg,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
+   newdoc examples/README README.examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/qu-prolog/

2016-02-14 Thread Keri Harris
commit: b3aee95f2d4b852df5ef1cc7c7c734b9370d5b27
Author: Keri Harris  gentoo  org>
AuthorDate: Sun Feb 14 11:02:10 2016 +
Commit: Keri Harris  gentoo  org>
CommitDate: Sun Feb 14 11:02:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3aee95f

dev-lang/qu-prolog: version bump

Package-Manager: portage-2.2.26

 dev-lang/qu-prolog/Manifest |  1 +
 dev-lang/qu-prolog/qu-prolog-9.6.ebuild | 91 +
 2 files changed, 92 insertions(+)

diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest
index 66dca89..ef9cc43 100644
--- a/dev-lang/qu-prolog/Manifest
+++ b/dev-lang/qu-prolog/Manifest
@@ -1,2 +1,3 @@
 DIST qp9.1.tar.gz 1460679 SHA256 
1f3052f2700d537b33207943a3ade48b2b3aa5cd01cafc0475bcf26c645bc9af SHA512 
44590be9d1ecec97fa6c82b657e9ecc3778f833644055ee87c9a6a36996663d139ffd7b583d72f8ac317648e0f22ccbc2a1da9c3a5eabd23381c668e5d073cbb
 WHIRLPOOL 
37ec4e25c2284b267f72c016b4ea1e542d735c9da5f6532d1f6b439af2b91422ddc251d31e1a17b6366ee6af0e754acdbf8a0c44ef03f46a2515f14b1259b732
 DIST qp9.5.tar.gz 1537445 SHA256 
7e4b9883fad00b16c919620033da48482b2eccc875b37f8170d674ce9f72aee2 SHA512 
7a79090a6e3f0263e38cf5e5724a5c35c63c8cca2842fa8c07f9ff84011ef7ac9a22b195713aeb626a787c9391c612f3fea0ff38c084634a2f62258feb3eb6e2
 WHIRLPOOL 
3f589998f3480925fa3ad3c54f1f0ba4122cfa12c48d9bf1269e92a0fdf52d1823cd8dae8851e36d2c97ec2f869da10ff6ee7f2663b752d1d396e1b5a95ca982
+DIST qp9.6.tar.gz 1539483 SHA256 
631ab73af271279d583c5ecf19e5542dd8dff097179e3bb34ac2624aeb029f7a SHA512 
a15d3f2254d9ed9a2032f7e2902363f2ed2dbf0a7ba67a89aae79202d38954a195e93725aa828d19d50d7a891d8cea4f0d23af66ffd55984738db9b612467cd8
 WHIRLPOOL 
3dcc746da3283044267abd7aa00795b1bff79bffd206c1bf227087281d94f2dc4a390a5ccd85933641aea150313b2f62e0e9fbe491ef4fafa73e4fdd9b35d7d1

diff --git a/dev-lang/qu-prolog/qu-prolog-9.6.ebuild 
b/dev-lang/qu-prolog/qu-prolog-9.6.ebuild
new file mode 100644
index 000..057bf8d
--- /dev/null
+++ b/dev-lang/qu-prolog/qu-prolog-9.6.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib qmake-utils
+
+MY_P=qp${PV}
+
+DESCRIPTION="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="Qu-Prolog GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples pedro qt4 readline threads"
+
+RDEPEND="
+   !dev-util/mpatch
+   !dev-util/rej
+   qt4? ( dev-qt/qtgui:4 )
+   pedro? ( net-misc/pedro )
+   readline? ( app-misc/rlwrap )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}"/${MY_P}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir) \
+   $(use_enable debug) \
+   $(use_enable threads multiple-threads)
+
+   if use qt4; then
+   cd "${S}"/src/xqp || die
+   eqmake4 xqp.pro
+   fi
+}
+
+src_compile() {
+   emake OPTIMISATION="${CXXFLAGS}"
+
+   if use qt4; then
+   cd "${S}"/src/xqp || die
+   emake
+   fi
+}
+
+src_install() {
+   sed \
+   -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
+   -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
+
+   dobin bin/{qc,qecat,qp,kq}
+
+   into /usr/$(get_libdir)/${PN}
+   dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
+
+   use qt4 && dobin src/xqp/xqp
+
+   insinto /usr/$(get_libdir)/${PN}/bin
+   doins bin/rl_commands
+   doins bin/{qc1.qup,qecat,qg,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
+   newdoc examples/README README.examples
+   fi
+}