[Libreoffice-commits] .: configure.ac .gitignore Makefile.top odk/source scp2/CustomTarget_langmacros.mk scp2/macros

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Nov 11 00:05:33 PST 2012


 .gitignore                           |    2 +-
 Makefile.top                         |    2 +-
 configure.ac                         |   13 ++++++-------
 odk/source/unowinreg/win/makefile.mk |    1 -
 scp2/CustomTarget_langmacros.mk      |    4 ++--
 scp2/macros/macro.pl                 |    2 +-
 6 files changed, 11 insertions(+), 13 deletions(-)

New commits:
commit e7037b2e7e487d6075d17fcff7cd95a6e98700c0
Author: Matteo Casalin <matteo.casalin at gmx.com>
Date:   Sat Nov 10 22:14:47 2012 +0100

    Kill set_oenv remnants (by just renaming the required timestamp file)
    
    Change-Id: I779128111a4f69235a4c8cc6510018fc61d1b24b
    Reviewed-on: https://gerrit.libreoffice.org/1026
    Tested-by: Tor Lillqvist <tml at iki.fi>
    Reviewed-by: Tor Lillqvist <tml at iki.fi>

diff --git a/.gitignore b/.gitignore
index bfcbb56..e1799e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -56,6 +56,7 @@
 /config.parms
 /config_host.mk
 /config_host.mk.last
+/config_host.mk.stamp
 /config_build.mk
 /configure
 /desktop/scripts/soffice.sh
@@ -75,7 +76,6 @@
 # misc
 /file-lists
 /cross-build-toolset.built
-/set_soenv.stamp
 /warn
 /build.log
 /build_error.log
diff --git a/Makefile.top b/Makefile.top
index 42e63a0..1842c55 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -354,7 +354,7 @@ ifeq ($(BUILD_DMAKE),YES)
 endif
 	rm -fr config_host.mk config_build.mk aclocal.m4 autom4te.cache \
 	config.log config.status configure ooo.lst \
-	config_host.mk.last set_soenv.stamp src.downloaded warn
+	config_host.mk.last config_host.mk.stamp src.downloaded warn
 	find $(SOLARENV)/gdb -name "*.pyc" -exec rm {} \;
 
 #
diff --git a/configure.ac b/configure.ac
index c968dc2..c75c082 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2903,7 +2903,7 @@ if test "$GCC" = "yes"; then
     if test "$_os" = "Darwin" -a "$with_macosx_sdk" = "10.4" -a "$GCCVER" -ge "040100"; then
         if test -z "$save_CC" -a -x "$GCC_HOME/bin/gcc-4.0"; then
             export CC="$GCC_HOME/bin/gcc-4.0"
-            #  export CC to have it available in set_soenv -> config.guess
+            #  export CC to make it finally available to config.guess
             GCCVER2=`$CC -dumpversion | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
             if test "$GCCVER2" -ge "040000" -a "$GCCVER2" -lt "040100"; then
                 GCCVER=$GCCVER2
@@ -3215,8 +3215,7 @@ if test "$_os" = "WINNT"; then
         fi
         AC_SUBST(BUILD_X64)
 
-        # These are passed to the environment through set_soenv.in as usual, and then
-        # used in set_wntx64.mk
+        # These are passed to the environment and then used in set_wntx64.mk
         AC_SUBST(CXX_X64_BINARY)
         AC_SUBST(LINK_X64_BINARY)
         AC_SUBST(LIBMGR_X64_BINARY)
@@ -12524,13 +12523,13 @@ fi
 AC_CONFIG_FILES([config_host.mk ooo.lst])
 AC_OUTPUT
 
-# touch the config timestamp file set_soenv.stamp
-if test ! -f set_soenv.stamp; then
-    echo > set_soenv.stamp
+# touch the config timestamp file
+if test ! -f config_host.mk.stamp; then
+    echo > config_host.mk.stamp
 elif diff config_host.mk config_host.mk.last >/dev/null 2>&1; then
     echo "Configuration unchanged - avoiding scp2 stamp update"
 else
-    echo > set_soenv.stamp
+    echo > config_host.mk.stamp
 fi
 
 
diff --git a/odk/source/unowinreg/win/makefile.mk b/odk/source/unowinreg/win/makefile.mk
index f614b36..36cce52 100644
--- a/odk/source/unowinreg/win/makefile.mk
+++ b/odk/source/unowinreg/win/makefile.mk
@@ -40,7 +40,6 @@ USE_DEFFILE=TRUE
 
 JAVA_INCLUDES:= -I$(JAVA_HOME)/include
 
-# values taken from set_soenv.in
 .IF "$(OS)" == "LINUX"
 JAVA_INCLUDES+= -I$(JAVA_HOME)/include/linux
 .ELIF "$(OS)" == "FREEBSD"
diff --git a/scp2/CustomTarget_langmacros.mk b/scp2/CustomTarget_langmacros.mk
index 1d1a157..19c680f 100644
--- a/scp2/CustomTarget_langmacros.mk
+++ b/scp2/CustomTarget_langmacros.mk
@@ -31,10 +31,10 @@ $(call gb_CustomTarget_get_target,scp2/macros) : $(call gb_CustomTarget_get_work
 
 $(call gb_CustomTarget_get_workdir,scp2/macros)/langmacros.inc :| $(call gb_CustomTarget_get_workdir,scp2/macros)/.dir
 
-$(call gb_CustomTarget_get_workdir,scp2/macros)/langmacros.inc : $(SRCDIR)/scp2/macros/macro.pl $(SRCDIR)/set_soenv.stamp
+$(call gb_CustomTarget_get_workdir,scp2/macros)/langmacros.inc : $(SRCDIR)/scp2/macros/macro.pl $(SRCDIR)/config_host.mk.stamp
 	$(call gb_Helper_abbreviate_dirs,\
 		export COMPLETELANGISO_VAR='$(gb_ScpTemplateTarget_LANGS)' && \
-		$(PERL) $< -verbose -o $@ -c $(SRCDIR)/set_soenv.stamp \
+		$(PERL) $< -verbose -o $@ -c $(SRCDIR)/config_host.mk.stamp \
 	)
 
 # vim: set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/scp2/macros/macro.pl b/scp2/macros/macro.pl
index 9ea949c..dc5d2a9 100644
--- a/scp2/macros/macro.pl
+++ b/scp2/macros/macro.pl
@@ -261,7 +261,7 @@ sub args_require_build
         # changed script - run always
         return 1 if (stat($0))[9] > (stat("$destfile"))[9] ;
 
-        # changed set_soenv.stamp - run always
+        # changed config timestamp - run always
         if (-f "$config_stamp") {
             return 1 if (stat($config_stamp))[9] > (stat($destfile))[9];
         }


More information about the Libreoffice-commits mailing list