From 297420dd52e498f89a2c920ffa285e148889d967 Mon Sep 17 00:00:00 2001 From: Keri Harris Date: Sun, 31 Dec 2006 06:44:45 +0000 Subject: [PATCH] Add pre-release which supports gcc-4.x Package-Manager: portage-2.1.2_rc4-r2 --- dev-lang/gprolog/ChangeLog | 8 ++- dev-lang/gprolog/Manifest | 24 +++++++-- .../files/digest-gprolog-1.3.0_pre20061215 | 3 ++ .../files/gprolog-1.3.0-TXT_FILES.patch | 10 ++++ .../gprolog/files/gprolog-1.3.0-test.patch | 21 ++++++++ .../gprolog/gprolog-1.3.0_pre20061215.ebuild | 53 +++++++++++++++++++ 6 files changed, 114 insertions(+), 5 deletions(-) create mode 100644 dev-lang/gprolog/files/digest-gprolog-1.3.0_pre20061215 create mode 100644 dev-lang/gprolog/files/gprolog-1.3.0-TXT_FILES.patch create mode 100644 dev-lang/gprolog/files/gprolog-1.3.0-test.patch create mode 100644 dev-lang/gprolog/gprolog-1.3.0_pre20061215.ebuild diff --git a/dev-lang/gprolog/ChangeLog b/dev-lang/gprolog/ChangeLog index 38c27a90627f..9abf5e230922 100644 --- a/dev-lang/gprolog/ChangeLog +++ b/dev-lang/gprolog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/gprolog # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.18 2006/09/25 09:24:47 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.19 2006/12/31 06:44:45 keri Exp $ + +*gprolog-1.3.0_pre20061215 (31 Dec 2006) + + 31 Dec 2006; keri +files/gprolog-1.3.0-TXT_FILES.patch, + +files/gprolog-1.3.0-test.patch, +gprolog-1.3.0_pre20061215.ebuild: + Add pre-release which supports gcc-4.x 25 Sep 2006; keri files/gprolog-1.2.19-noexecstack.patch: diff --git a/dev-lang/gprolog/Manifest b/dev-lang/gprolog/Manifest index 88673ca96d09..d04a2297fc3e 100644 --- a/dev-lang/gprolog/Manifest +++ b/dev-lang/gprolog/Manifest @@ -18,15 +18,28 @@ AUX gprolog-1.2.19-test.patch 5854 RMD160 de52a4a16dd156ba6def20690659b3faca34ec MD5 4e417d40b2c5ca7ca77116652a1aa8e6 files/gprolog-1.2.19-test.patch 5854 RMD160 de52a4a16dd156ba6def20690659b3faca34ec88 files/gprolog-1.2.19-test.patch 5854 SHA256 c9b12586eeefa4f469f782819f8a4f53f1ab157e0af2bd127e236b83f72c9ed8 files/gprolog-1.2.19-test.patch 5854 +AUX gprolog-1.3.0-TXT_FILES.patch 578 RMD160 e7891aea4308792c22b10d16398fe0c2bc263cd0 SHA1 ef421e32f4dd3e095e0458abf44494f05529c81c SHA256 41874f3869eb86dc1a723bf820b68c212069ee2332a0adda0a575ba03c037a2b +MD5 6def7556d8d272b2e6f85494779757cf files/gprolog-1.3.0-TXT_FILES.patch 578 +RMD160 e7891aea4308792c22b10d16398fe0c2bc263cd0 files/gprolog-1.3.0-TXT_FILES.patch 578 +SHA256 41874f3869eb86dc1a723bf820b68c212069ee2332a0adda0a575ba03c037a2b files/gprolog-1.3.0-TXT_FILES.patch 578 +AUX gprolog-1.3.0-test.patch 696 RMD160 23255c5014b52bd959ed100d773d9220eff24391 SHA1 acbe4780303bb83a51330be53e5660bd212f87e6 SHA256 22027da89cfcdd0a98f6e06c1d87e5c47938199a8da39197c753c66d5e2b8d02 +MD5 c01de8d7743f5b3451caffb39e02a765 files/gprolog-1.3.0-test.patch 696 +RMD160 23255c5014b52bd959ed100d773d9220eff24391 files/gprolog-1.3.0-test.patch 696 +SHA256 22027da89cfcdd0a98f6e06c1d87e5c47938199a8da39197c753c66d5e2b8d02 files/gprolog-1.3.0-test.patch 696 DIST gprolog-1.2.19.tar.gz 2690586 RMD160 07c6c26bf6e2dcbf66bd430f23d4789fd7511227 SHA1 be8ecd506a92728669a1fe8e23fdadecaf8d528d SHA256 d98bb71e6c7cbf33931fa3d5e89c7d99ff36343cd1a1ba9c5977a41a94087296 +DIST gprolog-20061215.tgz 3021158 RMD160 b2db7014e38559cb5271358810ab6dc59d298c6b SHA1 638ed485050b125ee83c51a93c093950bcde2ce1 SHA256 1b1a00f73f02e864fc4cb7019a9191c4f509f287faa92841ee4ca96f348529dc EBUILD gprolog-1.2.19.ebuild 1916 RMD160 e23bb33870c95a2dafd51eb46ce47171d40f57ec SHA1 aaa11cf9141ce7c38a57e2eeee41f302d7f0ef26 SHA256 97d62139d9927bc9b7365b7d5a07f3dd3825ae420177f027e32ea48a1c40c9e1 MD5 a3aa8a41247ecb7630deed8289773da0 gprolog-1.2.19.ebuild 1916 RMD160 e23bb33870c95a2dafd51eb46ce47171d40f57ec gprolog-1.2.19.ebuild 1916 SHA256 97d62139d9927bc9b7365b7d5a07f3dd3825ae420177f027e32ea48a1c40c9e1 gprolog-1.2.19.ebuild 1916 -MISC ChangeLog 2563 RMD160 bdd668d196a44be67af53b8f2283ed156ea05426 SHA1 da45c0a06493a5efdd751dd08e2198495caf6260 SHA256 5bd607bb07767a8337e5433ee1d6c525ffbe9f61e006f917ad0c1371eb5cbea9 -MD5 5c9e3380098779160a02f313e3477f85 ChangeLog 2563 -RMD160 bdd668d196a44be67af53b8f2283ed156ea05426 ChangeLog 2563 -SHA256 5bd607bb07767a8337e5433ee1d6c525ffbe9f61e006f917ad0c1371eb5cbea9 ChangeLog 2563 +EBUILD gprolog-1.3.0_pre20061215.ebuild 1428 RMD160 a33121f928e9c8247ea7500b7e05d0e213501d66 SHA1 c067d7a7a2c01e588dbe31b14d40e049eea9bc91 SHA256 4996f4d076c19890e61eaf06b77345388e25a8306c410e9c0840c99475286f3c +MD5 46ea897687fe23d66a433a39c5231fb5 gprolog-1.3.0_pre20061215.ebuild 1428 +RMD160 a33121f928e9c8247ea7500b7e05d0e213501d66 gprolog-1.3.0_pre20061215.ebuild 1428 +SHA256 4996f4d076c19890e61eaf06b77345388e25a8306c410e9c0840c99475286f3c gprolog-1.3.0_pre20061215.ebuild 1428 +MISC ChangeLog 2793 RMD160 ba7a0ada2aaa5f5f3528bda54bffbd40740fb301 SHA1 effaf06dddd00cc088aaf06bc4e991b01bfb075b SHA256 5f57df3ea895fc0b2c39fa788fde293fe57ff08a531b5d474a724a48f97f57d7 +MD5 75b68ce6e34a09d2bd4f95d1af55e6c8 ChangeLog 2793 +RMD160 ba7a0ada2aaa5f5f3528bda54bffbd40740fb301 ChangeLog 2793 +SHA256 5f57df3ea895fc0b2c39fa788fde293fe57ff08a531b5d474a724a48f97f57d7 ChangeLog 2793 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159 @@ -34,3 +47,6 @@ SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba metadata MD5 f53fc8069c364320b3fc95801c095489 files/digest-gprolog-1.2.19 247 RMD160 3fb3f41e210382c88656e318ec5c13569e8cb7e6 files/digest-gprolog-1.2.19 247 SHA256 21e22269c6f3964ae210849c0a992bca0ea43acaa231fa8c5b8ec46b59eec256 files/digest-gprolog-1.2.19 247 +MD5 d94a3e0a0268ead1e25a9118bd3b84fc files/digest-gprolog-1.3.0_pre20061215 244 +RMD160 09855019e364af55fec1829c6f2774f6ea36d008 files/digest-gprolog-1.3.0_pre20061215 244 +SHA256 8c28a0ee77d68f930ba75a5e904af02fa3fb7ed5228f161b824c7bd7171f82f7 files/digest-gprolog-1.3.0_pre20061215 244 diff --git a/dev-lang/gprolog/files/digest-gprolog-1.3.0_pre20061215 b/dev-lang/gprolog/files/digest-gprolog-1.3.0_pre20061215 new file mode 100644 index 000000000000..eddc47e0a4e8 --- /dev/null +++ b/dev-lang/gprolog/files/digest-gprolog-1.3.0_pre20061215 @@ -0,0 +1,3 @@ +MD5 82f8989b0e37c7f02e639a89ba0fc758 gprolog-20061215.tgz 3021158 +RMD160 b2db7014e38559cb5271358810ab6dc59d298c6b gprolog-20061215.tgz 3021158 +SHA256 1b1a00f73f02e864fc4cb7019a9191c4f509f287faa92841ee4ca96f348529dc gprolog-20061215.tgz 3021158 diff --git a/dev-lang/gprolog/files/gprolog-1.3.0-TXT_FILES.patch b/dev-lang/gprolog/files/gprolog-1.3.0-TXT_FILES.patch new file mode 100644 index 000000000000..06b1e489e1c0 --- /dev/null +++ b/dev-lang/gprolog/files/gprolog-1.3.0-TXT_FILES.patch @@ -0,0 +1,10 @@ +--- gprolog-1.3.0.orig/src/Makefile.in 2006-12-09 04:51:00.000000000 +1300 ++++ gprolog-1.3.0/src/Makefile.in 2006-12-31 19:06:57.000000000 +1300 +@@ -57,7 +57,6 @@ + install-system: + ./mkinstalldirs $(INSTALL_DIR) $(INSTALL_DIR)/bin \ + $(INSTALL_DIR)/include $(INSTALL_DIR)/lib +- for i in $(TXT_FILES); do $(INSTALL_DATA) ../$$i $(INSTALL_DIR); done + for i in $(BIN_FILES); do $(INSTALL_PROGRAM) */$$i $(INSTALL_DIR)/bin; done + for i in $(OBJ_FILES); do $(INSTALL_DATA) */$$i $(INSTALL_DIR)/lib; done + for i in $(LIB_FILES); do $(INSTALL_DATA) */$$i $(INSTALL_DIR)/lib; done diff --git a/dev-lang/gprolog/files/gprolog-1.3.0-test.patch b/dev-lang/gprolog/files/gprolog-1.3.0-test.patch new file mode 100644 index 000000000000..49e1b0dcb0ee --- /dev/null +++ b/dev-lang/gprolog/files/gprolog-1.3.0-test.patch @@ -0,0 +1,21 @@ +--- gprolog-1.3.0.orig/src/Ma2Asm/chkma.c 2006-12-16 03:12:42.000000000 +1300 ++++ gprolog-1.3.0/src/Ma2Asm/chkma.c 2006-12-31 18:26:33.000000000 +1300 +@@ -227,7 +227,7 @@ + printf("check running without FC (NO fast call)\n"); + #endif + +-#elif !defined(FC_USED_TO_COMPILE_CORE) ++#elif !defined(FC_USED_TO_COMPILE_CORE) && defined(FAST) + + #error FAST defined but cannot compile for FC + +--- gprolog-1.3.0.orig/src/Makefile.in 2006-12-09 04:51:00.000000000 +1300 ++++ gprolog-1.3.0/src/Makefile.in 2006-12-31 19:15:25.000000000 +1300 +@@ -148,6 +147,7 @@ + # --- CHECKS --- # + + check: ++ . ./SETVARS && \ + (cd EnginePl; make check) && \ + (cd Ma2Asm; make check) && \ + (cd Pl2Wam; make check) && \ diff --git a/dev-lang/gprolog/gprolog-1.3.0_pre20061215.ebuild b/dev-lang/gprolog/gprolog-1.3.0_pre20061215.ebuild new file mode 100644 index 000000000000..5ff130f33642 --- /dev/null +++ b/dev-lang/gprolog/gprolog-1.3.0_pre20061215.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/gprolog-1.3.0_pre20061215.ebuild,v 1.1 2006/12/31 06:44:45 keri Exp $ + +inherit eutils versionator + +MY_PV=$(get_version_component_range 1-3) +MY_P=${PN}-${MY_PV} + +DESCRIPTION="GNU Prolog is a native Prolog compiler with constraint solving over finite domains (FD)" +HOMEPAGE="http://pauillac.inria.fr/~diaz/gnu-prolog/" +SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/unstable/gprolog-20061215.tgz" +S=${WORKDIR}/${MY_P}/src + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" +IUSE="doc examples" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${MY_P}-TXT_FILES.patch + epatch "${FILESDIR}"/${MY_P}-test.patch +} + +src_compile() { + econf \ + --with-c-flags="${CFLAGS}" \ + --with-install-dir="${D}"/usr \ + --with-doc-dir="${D}"/usr/share/doc/${PF} \ + --with-html-dir="${D}"/usr/share/doc/${PF}/html \ + --with-examples-dir="${D}"/usr/share/doc/${PF}/examples \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make install-system || die "make install-system failed" + + if use doc; then + make install-html || die "make install-html failed" + fi + if use examples; then + make install-examples || die "make install-examples failed" + fi + + cd "${S}"/.. + dodoc ChangeLog NEWS PROBLEMS README VERSION +} -- 2.26.2