Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (e62dc8ab9547aa2f3a40c2f83d4e942115a26022)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (e62dc8ab9547aa2f3a40c2f83d4e942115a26022)
  • Date: Tue, 8 Apr 2008 11:27:02 -0500

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

dev/null |binary
gnu/ada/BUILD | 28 ++++++++++--
gnu/ada/DEPENDS | 4 +
gnu/ada/DETAILS | 36 ++++++++-------
gnu/ada/FINAL | 4 -
gnu/ada/HISTORY | 52
+++++++++++++++++++++++
gnu/ada/INSTALL | 9 ---
gnu/ada/POST_REMOVE | 2
gnu/ada/POST_RESURRECT | 2
gnu/ada/PRE_BUILD | 38 ++++++++++++++--
gnu/ada/gnat-4.1.1-i386-pc-linux-gnu.tar.bz2.sig | 0
gnu/ada/specs_ada | 9 ---
gnu/fortran/BUILD | 4 +
gnu/fortran/DEPENDS | 8 ++-
gnu/fortran/DETAILS | 2
gnu/fortran/HISTORY | 9 +++
gnu/g++/BUILD | 4 +
gnu/g++/DEPENDS | 6 +-
gnu/g++/DETAILS | 2
gnu/g++/HISTORY | 9 +++
gnu/gcc/BUILD | 4 +
gnu/gcc/DEPENDS | 18 ++++++-
gnu/gcc/DETAILS | 7 +--
gnu/gcc/HISTORY | 16 +++++++
gnu/gcc/PRE_BUILD | 2
gnu/gcc/gcc-4.2.3-ffast-math.patch | 50
----------------------
gnu/gcc/gcc-4.3.0-ffast-math.patch | 50
++++++++++++++++++++++
gnu/gcj/BUILD | 4 +
gnu/gcj/DEPENDS | 9 ++-
gnu/gcj/DETAILS | 2
gnu/gcj/HISTORY | 9 +++
gnu/objc/BUILD | 4 +
gnu/objc/DEPENDS | 5 +-
gnu/objc/DETAILS | 2
gnu/objc/HISTORY | 9 +++
x11-toolkits/gtkada/BUILD | 4 +
x11-toolkits/gtkada/DETAILS | 18 +++----
x11-toolkits/gtkada/GtkAda-gpl-2.10.0.tgz.sig |binary
x11-toolkits/gtkada/HISTORY | 9 +++
39 files changed, 317 insertions(+), 133 deletions(-)

New commits:
commit e62dc8ab9547aa2f3a40c2f83d4e942115a26022
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

gtkada: Updated to 2.10.0 (compiles with ada 4.3.0)

commit 4f424d2cc6571e5f4a53fa2562835644c42dbf8c
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

ada: Many muckings to get this POS to work. Now supports x86_64, the
bootstrap has
been updated to 4.3.0 as well, and added instructions on how to build a
bootstrap
for future use. ada 4.3.0 requires a lot of environment settings not
required
before (nor now by the other GCC tools) and does not support
profiledbootstrap
(see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32581). Ada specs are no
longer
installed nor merged with the rest of the specs (breaks gcc and the only
two apps
which use GNAT, ncurses and gtkada, compile without them).

commit ff59752992951c915d773ab1299e45f5fa98105d
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

ada: x86_64 build fix, otherwise tries to compile as
x86_64-unknown-linux-gnu instead of x86_64-pc-linux-gnu and breaks

(cherry-picked from commit 68dd1e5665a0b28b7e81b5f31f99e568bcaa9b24)
(cherry picked from commit ae1b647e5b0f60f244ca726ec466d99d464aa5ba)

commit 5adc23660a6f172692f0aa2cd54cf0fe534b3c7e
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

ada: 4.3.0, won't work without a newer/rebuilt gnat binary (SOURCE3).
Also needs a SOURCE3 for other architectures (e.g. x86_64)

(cherry-picked from commit e306342572fab2e0f89a757988a158229d16370f)
(cherry picked from commit d9c1aa358f665f19e63785fdc5c2feaff3aef77d)

commit 020a94c8ab1ae7e32787b6f0faf2c1f347a591ef
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

fortran: x86_64 build fix, otherwise tries to compile as
x86_64-unknown-linux-gnu instead of x86_64-pc-linux-gnu and breaks

(cherry-picked from commit 91a8cc78392a12dc6841737d0d0da6e3cd464cc7)
(cherry picked from commit 529a5ec9183ab585641a24d2104df688082205d9)

commit aa3e922d0cae36fbf552d3b44b51e663d8e6847c
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

objc: x86_64 build fix, otherwise tries to compile as
x86_64-unknown-linux-gnu instead of x86_64-pc-linux-gnu and breaks

(cherry-picked from commit 7055226c6c4e4735e51fb28e8be1c88546f18f75)
(cherry picked from commit edea522b2e6eade3a595646ffca535af282f1144)

commit 5fdd62a9dd87c6ae6291d512bf6454111770051f
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

gcj: x86_64 build fix, otherwise tries to compile as
x86_64-unknown-linux-gnu instead of x86_64-pc-linux-gnu and breaks

(cherry-picked from commit 5a51ff1b85d5cbbb2c788991df9d779dd2b6a610)
(cherry picked from commit ee617e06a31f8feb97db94e7ffcaa352cf168d88)

commit 2cb501124b175aca726b60bdb56b1f4fc321722f
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

g++: x86_64 build fix, otherwise tries to compile as
x86_64-unknown-linux-gnu instead of x86_64-pc-linux-gnu and breaks

(cherry-picked from commit bd908797fcf71abf2dbd924cd51e75bbd5733019)
(cherry picked from commit ee083f57b25d6aebd65eb28314a8c00b9e0fdb7e)

commit 48e000a663c79cdd94532ebb468c35a8d8bdd859
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

fortran: Updated to 4.3.0

(cherry-picked from commit 887b40f39054fc4ae3d059ecfe058d51645afa74)
(cherry picked from commit ca11985d7802c4bec4761dff6f390b409869b21c)

commit 01cdc736d14ea26e5c989d9a69337f2a0bbf68b3
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

objc: Updated to 4.3.0

(cherry-picked from commit 16ca8b3cf5ae6451f87b57fecc37e4b1c88449e7)
(cherry picked from commit 98c021f30a1b1473c3432d9abfe500c938527fe0)

commit 65980b59d286461ab3173b18252158d7de9cae7a
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

gcj: Updated to 4.3.0

(cherry-picked from commit fe4a6d42fc511ad0b6a3406c5f09b10aff3138bb)
(cherry picked from commit e29c339a2f4576272f63c9bf92ee26f10d6826e4)

commit 44ed7c9b155e1c06e35c6a6f3a3f0574c13b55bc
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

g++: Updated to 4.3.0

(cherry-picked from commit edd16695d318695799b14a5aa9e7017024dbe5f9)
(cherry picked from commit 1e9de12ecc2ac9753aab2676a2410ae22686d410)

commit 9e9cbc8d2719d506857130a6d56a4f958c7ff539
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

gcc: Reset PATCHLEVEL to default
(cherry picked from commit 14973c07cf4c3fca9bda6f6c4622b48617661923)

commit b8c65f956dbaf8f14d66a6dfdc004213d2bade46
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

gcc: Force mpfr >= 2.3.0
(cherry picked from commit c1bf103522b2f8306e8a4b1713808356ac58132b)

commit 8e051dc1a92b67d3b076eda952d43dbde0cac342
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

gcc: x86_64 build fix, otherwise tries to compile as
x86_64-unknown-linux-gnu instead of x86_64-pc-linux-gnu and breaks
(cherry picked from commit f768fc45156a75e31b85da356f9f0f645ed42be3)
(cherry picked from commit c23a9fcdd922b2bee7d315e9ac4d5d1224931972)

commit 09cc37fe6bb5518c607074492a5bcc8e86ffe0eb
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

gcc: Updated to 4.3.0
(cherry picked from commit cf6814984459e06518f9757105d6bc41cfe26b5b)
(cherry picked from commit be61665147a0def9a3cce06cf65b314100294b27)

diff --git a/gnu/ada/BUILD b/gnu/ada/BUILD
index a03ca31..a4bfaa8 100755
--- a/gnu/ada/BUILD
+++ b/gnu/ada/BUILD
@@ -6,8 +6,24 @@ persistent_read gcc GCC_CFLAGS CFLAGS &&
persistent_read gcc GCC_LDFLAGS LDFLAGS &&

# setup bootstrap ada compiler
-ADA_PATH=gnat-4.1.1-i386-pc-linux-gnu &&
-PATH=$SOURCE_DIRECTORY/$ADA_PATH/bin:$PATH &&
+ADA_PATH=${SOURCE3/.tar.bz2/} &&
+PATH=$SOURCE_DIRECTORY/$ADA_PATH/usr/bin:$PATH &&
+
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+ OPTS="--build=x86_64-pc-linux-gnu $OPTS"
+fi &&
+
+export CC="$SOURCE_DIRECTORY/$ADA_PATH/usr/bin/gnatgcc"
&&
+export
INCLUDE_DIR="$SOURCE_DIRECTORY/$ADA_PATH/usr/lib/gnatgcc/$HOST/4.3.0/include"
&&
+export
LIB_DIR="$SOURCE_DIRECTORY/$ADA_PATH/usr/lib/gnatgcc/$HOST/4.3.0/" &&
+export LDFLAGS="-L${LIB_DIR}"
+
+export LIBRARY_PATH="$LIB_DIR" &&
+export LD_LIBRARY_PATH="$LIB_DIR" &&
+export COMPILER_PATH="$SOURCE_DIRECTORY/$ADA_PATH/usr/bin" &&
+
+export ADA_OBJECTS_PATH="$LIB_DIR/adalib" &&
+export ADA_INCLUDE_PATH="$LIB_DIR/adainclude" &&

cd $SOURCE_DIRECTORY.bld &&
$SOURCE_DIRECTORY/configure \
@@ -17,9 +33,11 @@ $SOURCE_DIRECTORY/configure
\
--mandir=${INSTALL_ROOT}/usr/share/man \
--enable-threads=posix \
--with-system-zlib \
- --enable-languages=ada \
+ --program-prefix=gnat \
+ --enable-libada \
+ --enable-languages="ada" \
$GCC_MULTILIB \
$OPTS &&

-make CFLAGS="$CFLAGS" BOOT_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
- profiledbootstrap
+make CFLAGS="$CFLAGS" BOOT_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
+ bootstrap
diff --git a/gnu/ada/DEPENDS b/gnu/ada/DEPENDS
index d1fddf2..a1d2c84 100755
--- a/gnu/ada/DEPENDS
+++ b/gnu/ada/DEPENDS
@@ -3,5 +3,7 @@ depends gcc &&
if [[ $VERSION != $(installed_version gcc) ]]; then
force_depends gcc
fi &&
-depends smgl-archspecs

+depends gmp &&
+depends mpfr &&
+depends smgl-archspecs
diff --git a/gnu/ada/DETAILS b/gnu/ada/DETAILS
index 6253b94..5758e07 100755
--- a/gnu/ada/DETAILS
+++ b/gnu/ada/DETAILS
@@ -1,30 +1,35 @@
SPELL=ada
- VERSION=4.2.3
+ VERSION=4.3.0
SOURCE=gcc-core-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
SOURCE_URL[0]=$GNU_URL/gcc/gcc-$VERSION/$SOURCE
SOURCE_URL[1]=ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$SOURCE
SOURCE2=gcc-$SPELL-$VERSION.tar.bz2
+ SOURCE2_GPG=gnu.gpg:$SOURCE2.sig:UPSTREAM_KEY
SOURCE2_URL[0]=$GNU_URL/gcc/gcc-$VERSION/$SOURCE2
SOURCE2_URL[1]=ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$SOURCE2
- SOURCE3=gnat-4.1.1-i386-pc-linux-gnu.tar.bz2
- SOURCE3_GPG=gurus.gpg:$SOURCE3.sig:UPSTREAM_KEY
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "ia32" ]]
+then
+ SOURCE3=gnat-4.3.0-i686-pc-linux-gnu.tar.bz2
+elif [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]
+then
+ SOURCE3=gnat-4.3.0-x86_64-pc-linux-gnu.tar.bz2
+else
+ SOURCE3=gnat-4.3.0-i686-pc-linux-gnu.tar.bz2
+fi
+ SOURCE3_GPG="gurus.gpg:$SOURCE3.sig:VERIFIED_UPSTREAM_KEY"
SOURCE3_URL[0]=http://download.sourcemage.org/distro/$SOURCE3
-
+ SOURCE4=$SOURCE3.sig
+ SOURCE4_URL[0]=${SOURCE3_URL[0]}.sig
+ SOURCE4_IGNORE=signature
#upstream signatures
- SOURCE4=$SOURCE.sig
- SOURCE4_URL[0]=${SOURCE_URL[0]}.sig
+ SOURCE5=$SOURCE.sig
+ SOURCE5_URL[0]=${SOURCE_URL[0]}.sig
SOURCE_GPG=gnu.gpg:$SOURCE.sig:UPSTREAM_KEY
- SOURCE4_IGNORE=signature
- SOURCE5=$SOURCE2.sig
- SOURCE5_URL[0]=${SOURCE2_URL[0]}.sig
- SOURCE2_GPG=gnu.gpg:$SOURCE2.sig:UPSTREAM_KEY
SOURCE5_IGNORE=signature
-# SOURCE6=$SOURCE3.sig
-# SOURCE6_URL[0]=${SOURCE3_URL[0]}.sig
-# SOURCE3_GPG=gnu.gpg:$SOURCE3.sig:UPSTREAM_KEY
-# SOURCE6_IGNORE=signature
-
+ SOURCE6=$SOURCE2.sig
+ SOURCE6_URL[0]=${SOURCE2_URL[0]}.sig
+ SOURCE6_IGNORE=signature
LICENSE[0]=GPL
WEB_SITE=http://gcc.gnu.org/
ENTERED=20050213
@@ -34,4 +39,3 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
cat << EOF
The GNU Ada Translator and Ada95 runtime library.
EOF
-
diff --git a/gnu/ada/FINAL b/gnu/ada/FINAL
index 14a9914..907a1a0 100755
--- a/gnu/ada/FINAL
+++ b/gnu/ada/FINAL
@@ -1,3 +1 @@
-rm_source_dir $SOURCE_DIRECTORY.bld &&
-local SPECSDIR=${INSTALL_ROOT}/usr/lib/gcc/$HOST/$VERSION &&
-cat $SPECSDIR/specs-local/* > $SPECSDIR/specs
+rm_source_dir $SOURCE_DIRECTORY.bld
diff --git a/gnu/ada/HISTORY b/gnu/ada/HISTORY
index 5dc7151..88d6837 100644
--- a/gnu/ada/HISTORY
+++ b/gnu/ada/HISTORY
@@ -1,3 +1,55 @@
+2008-04-06 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated bootstrap to gnat 4.3.0
+ x86 bootstrap is now built as i686 instead of i386
+ Added x86_64 gnat bootstrap.
+ gnat bootstraps are just the ARCHIVE version of ada built using
+ the prior bootstrap.
+ SOURCE3 is provided by us and signed by us, so use
+ VERIFIED_UPSTREAM_KEY :)
+ * PRE_BUILD: New bootstraps have different directory structure, modify
+ unpack accordingly.
+ Added code for future bootstrap generation to avoid extra research:
+ * BUILD: profiledbootstrap fails (for now), use regular bootstrap. See
+ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32581
+ Ada 4.3.0 is retarded and now requires extra environment settings,
+ borrowed from Gentoo's gnatbuild_src_compile() from
+ http://kambing.ui.edu/gentoo-portage/eclass/gnatbuild.eclass
+ New bootstraps use a different directory structure, modify ADA_PATH
+ accordingly.
+ Need to pass --enable-libada to ensure ada libraries are built
+ Use --program-prefix=gnat to install gnatgcc instead of gnat when
+ building bootstrap.
+ * INSTALL: Install all files (including gnatgcc, required)
+ No longer install specs_ada
+ * FINAL: Do not combine Ada specs with the rest of the system's as
+ it screws up gcc (at least) and packages (e.g. ncurses and gtkada)
+ compile fine with Ada without it.
+ * POST_REMOVE, POST_RESURRECT: No longer install specs_ada
+ * specs_ada: Removed, seems to be unused
+ * Bootstrap generation notes:
+ Modify BUILD to use '--enable-language="c,ada"'
+ NOTE: (c may not be needed, but it worked so I used that)
+ Compile ada
+ Unmodify BUILD
+ Rename cache tarball to gnat-$VERSION-$HOST.tar.bz2
+ Clean out non-essential files from the cache such as:
+ etc, var, usr/share/{doc,info,man}
+ Sign gnat-$VERSION-$HOST.tar.bz2
+ Set SOURCE3=gnat-$VERSION-$HOST.tar.bz2
+ Upload to some public site and set SOURCE3_URL[0]
+ Test ada with your new bootstrap
+
+2008-03-15 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 4.3.0
+ NOTE: Need to update SOURCE3 (gnat-4.1.1) for this to work on x86
+ and need to create other pre-built gnat's for other architectures
+ * DEPENDS: Depends on gmp and mpfr
+ * BUILD: Pass --build=x86_64-pc-linux-gnu for x86_64, only way I found
+ to get around this warning:
+ configure: WARNING: If you wanted to set the --build type, don't use
+ --host. If a cross compiler is detected then cross compile mode will
+ be used.
+
2008-02-05 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 4.2.3

diff --git a/gnu/ada/INSTALL b/gnu/ada/INSTALL
index c09db49..32b9891 100755
--- a/gnu/ada/INSTALL
+++ b/gnu/ada/INSTALL
@@ -3,10 +3,5 @@
#
cd $SOURCE_DIRECTORY.bld &&

-make -C gcc lang.install-common lang.install-man &&
-install -c gcc/gnat1 ${INSTALL_ROOT}/usr/libexec/gcc/$HOST/$VERSION/ &&
-
-# specs file stuff
-local SPECSDIR=${INSTALL_ROOT}/usr/lib/gcc/$HOST/$VERSION &&
-mkdir -p $SPECSDIR/specs-local &&
-cp $SCRIPT_DIRECTORY/specs_ada $SPECSDIR/specs-local
+make -C gcc install lang.install-common lang.install-man &&
+install -c gcc/gnat1 ${INSTALL_ROOT}/usr/libexec/gcc/$HOST/$VERSION/
diff --git a/gnu/ada/POST_REMOVE b/gnu/ada/POST_REMOVE
deleted file mode 100755
index 2ab4140..0000000
--- a/gnu/ada/POST_REMOVE
+++ /dev/null
@@ -1,2 +0,0 @@
-local SPECSDIR=${INSTALL_ROOT}/usr/lib/gcc/$HOST/$VERSION &&
-cat $SPECSDIR/specs-local/* > $SPECSDIR/specs
diff --git a/gnu/ada/POST_RESURRECT b/gnu/ada/POST_RESURRECT
deleted file mode 100755
index b6c4867..0000000
--- a/gnu/ada/POST_RESURRECT
+++ /dev/null
@@ -1,2 +0,0 @@
-local SPECSDIR=${INSTALL_ROOT}/usr/lib/gcc/$HOST/$VERSION &&
-cat $SPECSDIR/specs-local/* > $SPECSDIR/specs
diff --git a/gnu/ada/PRE_BUILD b/gnu/ada/PRE_BUILD
index db044fd..55467be 100755
--- a/gnu/ada/PRE_BUILD
+++ b/gnu/ada/PRE_BUILD
@@ -3,9 +3,35 @@ if [ "$(installed_version gcc)" != "$VERSION" ]; then
message "Update gcc first.${DEFAULT_COLOR}"
return 1;
fi
-default_pre_build &&
-cd $BUILD_DIRECTORY &&
-unpack_file 2 &&
-cd $SOURCE_DIRECTORY &&
-unpack_file 3 &&
-mk_source_dir $SOURCE_DIRECTORY.bld
+
+default_pre_build &&
+cd $BUILD_DIRECTORY &&
+unpack_file 2 &&
+cd $SOURCE_DIRECTORY &&
+mkdir ${SOURCE3/.tar.bz2/} &&
+cd ${SOURCE3/.tar.bz2/} &&
+unpack_file 3 &&
+mk_source_dir $SOURCE_DIRECTORY.bld &&
+
+#
+# This section is used to build a gnat bootstrap cache
+#
+touch $SOURCE_DIRECTORY/gcc/cstamp-h.in &&
+touch $SOURCE_DIRECTORY/gcc/ada/[es]info.h &&
+touch $SOURCE_DIRECTORY/gcc/ada/nmake.ad[bs] &&
+
+#
+# Set the compiler name to gnatgcc
+#
+for file in `find $SOURCE_DIRECTORY/gcc/ada/ -name '*.ad[sb]'`
+do
+ sedit "s:\"gcc\":\"gnatgcc\":g" $file
+done &&
+
+sedit 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' \
+ $SOURCE_DIRECTORY/gcc/ada/makegpr.adb &&
+sedit 's:and Nam is "gnatgcc":and Nam is "gcc":' \
+ $SOURCE_DIRECTORY/gcc/ada/osint.ads
+#
+# End Ada bootstrap cache code
+#
diff --git a/gnu/ada/gnat-4.1.1-i386-pc-linux-gnu.tar.bz2.sig
b/gnu/ada/gnat-4.1.1-i386-pc-linux-gnu.tar.bz2.sig
deleted file mode 100644
index 4d97909..0000000
Binary files a/gnu/ada/gnat-4.1.1-i386-pc-linux-gnu.tar.bz2.sig and /dev/null
differ
diff --git a/gnu/ada/specs_ada b/gnu/ada/specs_ada
deleted file mode 100644
index a0d4c66..0000000
--- a/gnu/ada/specs_ada
+++ /dev/null
@@ -1,9 +0,0 @@
-@ada:
-%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}
%{!S:%{!c:%e-c or -S required for Ada}} gnat1 %{I*} %{k8:-gnatk8}
%{w:-gnatws} %{!Q:-quiet} %{nostdinc*} %{nostdlib*} -dumpbase
%{.adb:%b.adb}%{.ads:%b.ads}%{!.adb:%{!.ads:%b.ada}} %{O*} %{W*} %{w} %{p}
%{pg:-p} %{a} %{f*} %{d*} %{g*&m*} %1 %{!S:%{o*:%w%*-gnatO}} %i
%{S:%W{o*}%{!o*:-o %b.s}} %{gnatc*|gnats*: -o %j} %{-param*}
%{!gnatc*:%{!gnats*:%(invoke_as)}}
-
-.ads:
-@ada
-
-.adb:
-@ada
-
diff --git a/gnu/fortran/BUILD b/gnu/fortran/BUILD
index 853d368..7f2e92d 100755
--- a/gnu/fortran/BUILD
+++ b/gnu/fortran/BUILD
@@ -7,6 +7,10 @@ persistent_read gcc GCC_LDFLAGS LDFLAGS &&

sedit "s/lib64/lib/" gcc/config/i386/linux64.h &&

+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+ OPTS="--build=x86_64-pc-linux-gnu $OPTS"
+fi &&
+
cd $SOURCE_DIRECTORY.bld &&
$SOURCE_DIRECTORY/configure \
--host=$HOST \
diff --git a/gnu/fortran/DEPENDS b/gnu/fortran/DEPENDS
index 96a5b3f..ef57546 100755
--- a/gnu/fortran/DEPENDS
+++ b/gnu/fortran/DEPENDS
@@ -1,7 +1,9 @@
. $GRIMOIRE/libcompat &&
-depends gcc &&
+depends gcc &&
if [[ $VERSION != $(installed_version gcc) ]]; then
force_depends gcc
fi &&
-depends mpfr &&
-depends smgl-archspecs
+
+depends gmp &&
+depends mpfr &&
+depends smgl-archspecs
diff --git a/gnu/fortran/DETAILS b/gnu/fortran/DETAILS
index 09d59a2..b788f5b 100755
--- a/gnu/fortran/DETAILS
+++ b/gnu/fortran/DETAILS
@@ -1,5 +1,5 @@
SPELL=fortran
- VERSION=4.2.3
+ VERSION=4.3.0
SOURCE=gcc-core-$VERSION.tar.bz2
# SOURCE_GPG=gurus.gpg:$SOURCE.sig:WORKS_FOR_ME
SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
diff --git a/gnu/fortran/HISTORY b/gnu/fortran/HISTORY
index 4e65e85..c03bffa 100644
--- a/gnu/fortran/HISTORY
+++ b/gnu/fortran/HISTORY
@@ -1,3 +1,12 @@
+2008-03-15 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 4.3.0
+ * DEPENDS: Depends on gmp
+ * BUILD: Pass --build=x86_64-pc-linux-gnu for x86_64, only way I found
+ to get around this warning:
+ configure: WARNING: If you wanted to set the --build type, don't use
+ --host. If a cross compiler is detected then cross compile mode will
+ be used.
+
2008-02-05 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 4.2.3

diff --git a/gnu/g++/BUILD b/gnu/g++/BUILD
index 993e5f8..9c98589 100755
--- a/gnu/g++/BUILD
+++ b/gnu/g++/BUILD
@@ -11,6 +11,10 @@ if [[ "$ARCHITECTURE" == "pentium4" ||
CXXFLAGS=${CXXFLAGS//-ffast-math/}
fi &&

+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+ OPTS="--build=x86_64-pc-linux-gnu $OPTS"
+fi &&
+
sedit "s/lib64/lib/" gcc/config/i386/linux64.h &&

if [[ "$GCC_NOLIB64" == 'y' ]]; then
diff --git a/gnu/g++/DEPENDS b/gnu/g++/DEPENDS
index 54c9f28..4db4f86 100755
--- a/gnu/g++/DEPENDS
+++ b/gnu/g++/DEPENDS
@@ -3,5 +3,7 @@ depends gcc &&
if [[ $VERSION != $(installed_version gcc) ]]; then
force_depends gcc
fi &&
-depends gnupg &&
-depends smgl-archspecs
+depends gmp &&
+depends gnupg &&
+depends mpfr &&
+depends smgl-archspecs
diff --git a/gnu/g++/DETAILS b/gnu/g++/DETAILS
index 8b096f4..9733cd1 100755
--- a/gnu/g++/DETAILS
+++ b/gnu/g++/DETAILS
@@ -1,5 +1,5 @@
SPELL=g++
- VERSION=4.2.3
+ VERSION=4.3.0
SOURCE=gcc-core-$VERSION.tar.bz2
# SOURCE_GPG=gurus.gpg:$SOURCE.sig:WORKS_FOR_ME
SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
diff --git a/gnu/g++/HISTORY b/gnu/g++/HISTORY
index c6f97d8..574e463 100644
--- a/gnu/g++/HISTORY
+++ b/gnu/g++/HISTORY
@@ -1,3 +1,12 @@
+2008-03-15 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 4.3.0
+ * DEPENDS: Depends on gmp and mpfr
+ * BUILD: Pass --build=x86_64-pc-linux-gnu for x86_64, only way I found
+ to get around this warning:
+ configure: WARNING: If you wanted to set the --build type, don't use
+ --host. If a cross compiler is detected then cross compile mode will
+ be used.
+
2008-02-05 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 4.2.3

diff --git a/gnu/gcc/BUILD b/gnu/gcc/BUILD
index ad3d9c7..1740b97 100755
--- a/gnu/gcc/BUILD
+++ b/gnu/gcc/BUILD
@@ -11,6 +11,10 @@ if [[ "$ARCHITECTURE" == "pentium4" ||
CXXFLAGS=${CXXFLAGS//-ffast-math/}
fi &&

+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+ OPTS="--build=x86_64-pc-linux-gnu $OPTS"
+fi &&
+
# store CFLAGS and LDFLAGS persistently so they can be read by the other
# split spells later, see bug #10087
GCC_CFLAGS="$CFLAGS" &&
diff --git a/gnu/gcc/DEPENDS b/gnu/gcc/DEPENDS
index 5087443..6ad4823 100755
--- a/gnu/gcc/DEPENDS
+++ b/gnu/gcc/DEPENDS
@@ -1,4 +1,14 @@
-depends diffutils &&
-depends gnupg &&
-depends smgl-fhs &&
-depends smgl-archspecs
+. $GRIMOIRE/libcompat &&
+
+depends diffutils &&
+depends gmp &&
+depends gnupg &&
+depends mpfr &&
+
+if [[ "$(installed_version mpfr|sed 's:\.::g')" < 230 ]]
+then
+ force_depends mpfr
+fi &&
+
+depends smgl-fhs &&
+depends smgl-archspecs
diff --git a/gnu/gcc/DETAILS b/gnu/gcc/DETAILS
index bf101a5..a20ebaf 100755
--- a/gnu/gcc/DETAILS
+++ b/gnu/gcc/DETAILS
@@ -1,5 +1,5 @@
SPELL=gcc
- VERSION=4.2.3
+ VERSION=4.3.0
SOURCE=gcc-core-$VERSION.tar.bz2
SOURCE2=$SOURCE.sig
SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
@@ -10,11 +10,10 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
SOURCE2_IGNORE=signature
LICENSE[0]=GPL
WEB_SITE=http://gcc.gnu.org/
- ENTERED=20040420
- DOCS="$DOCS INSTALL"
- PATCHLEVEL=1
KEYWORDS="compiler"
+ ENTERED=20040420
SHORT="the GNU C compiler"
+ DOCS="$DOCS INSTALL"
cat << EOF
The GNU C compiler and the core of the GNU compiler collection.
EOF
diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index 151884d..0530fd4 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,3 +1,19 @@
+2008-03-26 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Reset PATCHLEVEL=0 (removed PATCHLEVEL)
+ * DEPENDS: GCC requires mpfr 2.3.0 or newer to work, so force mpfr
+ being built if it is not >= 2.3.0
+
+2008-03-15 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 4.3.0
+ * DEPENDS: Depends on gmp and mpfr
+ * PRE_BUILD: Use gcc-$VERSION-ffast-math.patch to keep up. :)
+ * BUILD: Pass --build=x86_64-pc-linux-gnu for x86_64, only way I found
+ to get around this warning:
+ configure: WARNING: If you wanted to set the --build type, don't use
+ --host. If a cross compiler is detected then cross compile mode will
+ be used.
+ * gcc-4.3.0-ffast-math.patch: Updated gcc-4.2.3-ffast-math.patch
+
2008-02-05 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 4.2.3
* PRE_BUILD: gcc-4.1.1-ffast-math.patch -> gcc-4.2.3-ffast-math.patch
diff --git a/gnu/gcc/PRE_BUILD b/gnu/gcc/PRE_BUILD
index be70a58..ba4613e 100755
--- a/gnu/gcc/PRE_BUILD
+++ b/gnu/gcc/PRE_BUILD
@@ -6,4 +6,4 @@ cd $SOURCE_DIRECTORY &&
sedit 's/^-include/#\0/' libcpp/Makefile.in &&

#apply the GCC 4.1.1 fast-math fix
-patch -p1 < $SPELL_DIRECTORY/gcc-4.2.3-ffast-math.patch
+patch -p1 < $SPELL_DIRECTORY/gcc-$VERSION-ffast-math.patch
diff --git a/gnu/gcc/gcc-4.2.3-ffast-math.patch
b/gnu/gcc/gcc-4.2.3-ffast-math.patch
deleted file mode 100644
index c6601f6..0000000
--- a/gnu/gcc/gcc-4.2.3-ffast-math.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -Naur gcc-4.2.3.orig/gcc/config/i386/crtfastmath.c
gcc-4.2.3/gcc/config/i386/crtfastmath.c
---- gcc-4.2.3.orig/gcc/config/i386/crtfastmath.c 2008-02-05
11:26:52.724719808 -0800
-+++ gcc-4.2.3/gcc/config/i386/crtfastmath.c 2008-02-05 11:27:16.337719080
-0800
-@@ -37,6 +37,23 @@
- #define FXSAVE (1 << 24)
- #define SSE (1 << 25)
-
-+struct
-+{
-+ unsigned short int cwd;
-+ unsigned short int swd;
-+ unsigned short int twd;
-+ unsigned short int fop;
-+ long int fip;
-+ long int fcs;
-+ long int foo;
-+ long int fos;
-+ long int mxcsr;
-+ long int mxcsr_mask;
-+ long int st_space[32];
-+ long int xmm_space[32];
-+ long int padding[56];
-+} __attribute__ ((aligned (16))) fxsave;
-+
- static void __attribute__((constructor))
- #ifndef __x86_64__
- /* The i386 ABI only requires 4-byte stack alignment, so this is necessary
-@@ -81,22 +98,6 @@
- if (edx & FXSAVE)
- {
- /* Check if DAZ is available. */
-- struct
-- {
-- unsigned short int cwd;
-- unsigned short int swd;
-- unsigned short int twd;
-- unsigned short int fop;
-- long int fip;
-- long int fcs;
-- long int foo;
-- long int fos;
-- long int mxcsr;
-- long int mxcsr_mask;
-- long int st_space[32];
-- long int xmm_space[32];
-- long int padding[56];
-- } __attribute__ ((aligned (16))) fxsave;
-
- __builtin_memset (&fxsave, 0, sizeof (fxsave));
-
diff --git a/gnu/gcc/gcc-4.3.0-ffast-math.patch
b/gnu/gcc/gcc-4.3.0-ffast-math.patch
new file mode 100644
index 0000000..747787e
--- /dev/null
+++ b/gnu/gcc/gcc-4.3.0-ffast-math.patch
@@ -0,0 +1,50 @@
+diff -Naur gcc-4.3.0.orig/gcc/config/i386/crtfastmath.c
gcc-4.3.0/gcc/config/i386/crtfastmath.c
+--- gcc-4.3.0.orig/gcc/config/i386/crtfastmath.c 2008-03-15
19:59:26.925738030 -0700
++++ gcc-4.3.0/gcc/config/i386/crtfastmath.c 2008-03-15 19:59:32.823482534
-0700
+@@ -40,6 +40,23 @@
+ #include "cpuid.h"
+ #endif
+
++struct
++{
++ unsigned short int cwd;
++ unsigned short int swd;
++ unsigned short int twd;
++ unsigned short int fop;
++ long int fip;
++ long int fcs;
++ long int foo;
++ long int fos;
++ long int mxcsr;
++ long int mxcsr_mask;
++ long int st_space[32];
++ long int xmm_space[32];
++ long int padding[56];
++} __attribute__ ((aligned (16))) fxsave;
++
+ static void __attribute__((constructor))
+ #ifndef __x86_64__
+ /* The i386 ABI only requires 4-byte stack alignment, so this is necessary
+@@ -64,22 +81,6 @@
+ if (edx & bit_FXSAVE)
+ {
+ /* Check if DAZ is available. */
+- struct
+- {
+- unsigned short int cwd;
+- unsigned short int swd;
+- unsigned short int twd;
+- unsigned short int fop;
+- long int fip;
+- long int fcs;
+- long int foo;
+- long int fos;
+- long int mxcsr;
+- long int mxcsr_mask;
+- long int st_space[32];
+- long int xmm_space[32];
+- long int padding[56];
+- } __attribute__ ((aligned (16))) fxsave;
+
+ __builtin_memset (&fxsave, 0, sizeof (fxsave));
+
diff --git a/gnu/gcj/BUILD b/gnu/gcj/BUILD
index 47642db..1af3ced 100755
--- a/gnu/gcj/BUILD
+++ b/gnu/gcj/BUILD
@@ -10,6 +10,10 @@ if [ "$GCJ_AWT" = "y" ]; then
CFLAGS="$CFLAGS -I${INSTALL_ROOT}/usr/include/freetype2"
fi &&

+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+ OPTS="--build=x86_64-pc-linux-gnu $OPTS"
+fi &&
+
sedit "s/lib64/lib/" gcc/config/i386/linux64.h &&

cd $SOURCE_DIRECTORY.bld &&
diff --git a/gnu/gcj/DEPENDS b/gnu/gcj/DEPENDS
index f4f2486..7d0ccca 100755
--- a/gnu/gcj/DEPENDS
+++ b/gnu/gcj/DEPENDS
@@ -7,6 +7,9 @@ fi
&&
if [[ $VERSION != $(installed_version gcc) ]]; then
force_depends gcc
fi &&
-depends smgl-archspecs &&
-depends unzip &&
-depends zip
+
+depends gmp &&
+depends mpfr &&
+depends smgl-archspecs &&
+depends unzip &&
+depends zip
diff --git a/gnu/gcj/DETAILS b/gnu/gcj/DETAILS
index f571d37..d3f009e 100755
--- a/gnu/gcj/DETAILS
+++ b/gnu/gcj/DETAILS
@@ -1,5 +1,5 @@
SPELL=gcj
- VERSION=4.2.3
+ VERSION=4.3.0
SOURCE=gcc-core-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
SOURCE_URL[0]=$GNU_URL/gcc/gcc-$VERSION/$SOURCE
diff --git a/gnu/gcj/HISTORY b/gnu/gcj/HISTORY
index 550249d..5312255 100644
--- a/gnu/gcj/HISTORY
+++ b/gnu/gcj/HISTORY
@@ -1,3 +1,12 @@
+2008-03-15 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 4.3.0
+ * DEPENDS: Depends on gmp and mpfr
+ * BUILD: Pass --build=x86_64-pc-linux-gnu for x86_64, only way I found
+ to get around this warning:
+ configure: WARNING: If you wanted to set the --build type, don't use
+ --host. If a cross compiler is detected then cross compile mode will
+ be used.
+
2008-02-05 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 4.2.3

diff --git a/gnu/objc/BUILD b/gnu/objc/BUILD
index b06e6cd..db4e8ca 100755
--- a/gnu/objc/BUILD
+++ b/gnu/objc/BUILD
@@ -7,6 +7,10 @@ persistent_read gcc GCC_LDFLAGS LDFLAGS &&

sedit "s/lib64/lib/" gcc/config/i386/linux64.h &&

+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+ OPTS="--build=x86_64-pc-linux-gnu $OPTS"
+fi &&
+
cd $SOURCE_DIRECTORY.bld &&
$SOURCE_DIRECTORY/configure \
--host=$HOST \
diff --git a/gnu/objc/DEPENDS b/gnu/objc/DEPENDS
index 4d76156..a1d2c84 100755
--- a/gnu/objc/DEPENDS
+++ b/gnu/objc/DEPENDS
@@ -3,4 +3,7 @@ depends gcc &&
if [[ $VERSION != $(installed_version gcc) ]]; then
force_depends gcc
fi &&
-depends smgl-archspecs
+
+depends gmp &&
+depends mpfr &&
+depends smgl-archspecs
diff --git a/gnu/objc/DETAILS b/gnu/objc/DETAILS
index 737ffd7..1bb35a9 100755
--- a/gnu/objc/DETAILS
+++ b/gnu/objc/DETAILS
@@ -1,5 +1,5 @@
SPELL=objc
- VERSION=4.2.3
+ VERSION=4.3.0
SOURCE=gcc-core-$VERSION.tar.bz2
# SOURCE_GPG=gurus.gpg:$SOURCE.sig:WORKS_FOR_ME
SOURCE2=gcc-$SPELL-$VERSION.tar.bz2
diff --git a/gnu/objc/HISTORY b/gnu/objc/HISTORY
index 6cf9ab5..d9bdf5b 100644
--- a/gnu/objc/HISTORY
+++ b/gnu/objc/HISTORY
@@ -1,3 +1,12 @@
+2008-03-15 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 4.3.0
+ * DEPENDS: Depends on gmp and mpfr
+ * BUILD: Pass --build=x86_64-pc-linux-gnu for x86_64, only way I found
+ to get around this warning:
+ configure: WARNING: If you wanted to set the --build type, don't use
+ --host. If a cross compiler is detected then cross compile mode will
+ be used.
+
2008-02-05 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 4.2.3

diff --git a/x11-toolkits/gtkada/BUILD b/x11-toolkits/gtkada/BUILD
index bbf1c1f..854cf2f 100755
--- a/x11-toolkits/gtkada/BUILD
+++ b/x11-toolkits/gtkada/BUILD
@@ -6,4 +6,6 @@ sedit 's:$(prefix)/doc/GtkAda/:$(prefix)/share/doc/gtkada/:'
\
# most modern flags we use
unset CFLAGS &&
OPTS="$OPTS --with-GL-prefix=${INSTALL_ROOT}/usr/X11R6" &&
-default_build
+make_single &&
+default_build &&
+make_normal
diff --git a/x11-toolkits/gtkada/DETAILS b/x11-toolkits/gtkada/DETAILS
index 538e2d0..8720beb 100755
--- a/x11-toolkits/gtkada/DETAILS
+++ b/x11-toolkits/gtkada/DETAILS
@@ -1,15 +1,15 @@
SPELL=gtkada
- VERSION=2.4.0
- SOURCE=GtkAda-$VERSION.tgz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/GtkAda-$VERSION
- SOURCE_URL[0]=http://libre.act-europe.fr/GtkAda/$SOURCE
- WEB_SITE=http://libre.act-europe.fr/GtkAda/
-
SOURCE_HASH=sha512:6846e39e46fa1c2f4937d9d92a7a285c6df42fc6fade38e88358be1b1e95b857edef0527829b970912c7d5dda521a481424ec4e57680374ec178ccbf49e82af1
- LICENSE[0]=GMGPL
- ENTERED=20030726
- DOCS="COPYING README"
+ VERSION=2.10.0
+ SOURCE=GtkAda-gpl-$VERSION.tgz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SOURCE/.tgz/}
+ SOURCE_URL[0]=http://download.sourcemage.org/distro/misc/$SOURCE
+ SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"
+ LICENSE[0]=GPL
+ WEB_SITE=https://libre.adacore.com/GtkAda/
KEYWORDS="x11 libs"
+ ENTERED=20030726
SHORT="GtkAda is a gtk+ binding for the Ada95 programming
language"
+ DOCS="COPYING README"
cat << EOF
GtkAda is an Ada95 graphical toolkit based on Gtk+, providing the complete
set
of Gtk+ widgets using the Object-Oriented features of this language. GtkAda
diff --git a/x11-toolkits/gtkada/GtkAda-gpl-2.10.0.tgz.sig
b/x11-toolkits/gtkada/GtkAda-gpl-2.10.0.tgz.sig
new file mode 100644
index 0000000..d05c91a
Binary files /dev/null and b/x11-toolkits/gtkada/GtkAda-gpl-2.10.0.tgz.sig
differ
diff --git a/x11-toolkits/gtkada/HISTORY b/x11-toolkits/gtkada/HISTORY
index fe6b1f4..e02e5de 100644
--- a/x11-toolkits/gtkada/HISTORY
+++ b/x11-toolkits/gtkada/HISTORY
@@ -1,3 +1,12 @@
+2008-04-07 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 2.10.0
+ WEB_SITE and SOURCE_URL now under https://libre.adacore.com/GtkAda/
+ I had to "sign-up" to download this GPL'd code, so it's now hosted
+ on the SMGL mirrors so users don't have to. <3 GPL.
+ SOURCE now contains "-gpl-"
+ Now compiles with ada 4.3.0
+ * BUILD: Fails with multiple make jobs, use make_single
+
2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed UPDATED.




  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (e62dc8ab9547aa2f3a40c2f83d4e942115a26022), Eric Sandall, 04/08/2008

Archive powered by MHonArc 2.6.24.

Top of Page