This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch AOO50X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO50X by this push:
     new 499ff725df epm, dmake: Update to EPM 5.1.0 and dmake 4.13.2, add to 
external_deps.lst
499ff725df is described below

commit 499ff725dff39426b80b14395b1d21cd6a16b74d
Author: Jim Jagielski <[email protected]>
AuthorDate: Tue Oct 27 12:21:53 2026 -0400

    epm, dmake: Update to EPM 5.1.0 and dmake 4.13.2, add to external_deps.lst
    
    Both tarballs are listed in external_deps.lst with the GitHub release as
    URL1 and OOO_EXTRAS as the fallback, and are fetched only when the tool
    is going to be built (BUILD_EPM / BUILD_DMAKE == YES).
    
    configure.ac only ever set BUILD_DMAKE in dead code after an AC_MSG_ERROR.
    Set it when --with-dmake-url is used and export it via set_soenv.in so
    the new entry can be conditioned on it. The --with-epm-url and
    --with-dmake-url help examples now show the new versions.
    
    (cherry picked from commit dfe5150d51938b9c6bbaf020f7d63f6acc8f5928)
---
 main/configure.ac      |  7 ++++---
 main/epm/makefile.mk   |  4 ++--
 main/external_deps.lst | 18 ++++++++++++++++++
 main/set_soenv.in      |  1 +
 4 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/main/configure.ac b/main/configure.ac
index e8c6210251..1fbbb50240 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -32,7 +32,7 @@ AC_ARG_WITH(dmake-path,
 ])
 AC_ARG_WITH(dmake-url,
 [  --with-dmake-url=<URL>   Specify the location of downloadable dmake source 
code. For example:
-                          
https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz
+                          
https://github.com/jimjag/dmake/archive/v4.13.2/dmake-4.13.2.tar.gz
                           Note that dmake is under GPL license.],
 [  DMAKE_URL="$withval"
 ])
@@ -132,7 +132,7 @@ AC_ARG_WITH(epm,
 ],,)
 AC_ARG_WITH(epm-url,
 [  --with-epm-url=<URL>    Specify the location of downloadable epm source 
code. For example:
-                            
https://github.com/jimjag/epm/archive/v5.0.0/epm-5.0.0.tar.gz
+                            
https://github.com/jimjag/epm/archive/v5.1.0/epm-5.1.0.tar.gz
                           Version 5.0.0 or later is required.
 ],[  EPM_URL="$withval"
 ])
@@ -2019,9 +2019,9 @@ if test "$DMAKE" = "no"; then
        DMAKE_URL=$with_dmake_url
        AC_MSG_RESULT([dmake will be downloaded and compiled in bootstrap])
        DMAKE=
+       BUILD_DMAKE=YES
     else
        AC_MSG_ERROR([no URL for dmake source code specified, either. Use 
--with-dmake-url to supply an URL; run configure with the --help option for a 
list of possible URLs.])
-       BUILD_DMAKE=YES
     fi
 else
     AC_MSG_CHECKING([whether the found dmake is the right dmake])
@@ -2054,6 +2054,7 @@ if test "$DMAKE" = "no"; then
    AC_MSG_ERROR([please use --with-dmake-path or --with-dmake-url to specify 
dmake executable or source])
 fi
 AC_SUBST(DMAKE_URL)
+AC_SUBST(BUILD_DMAKE)
 AC_SUBST(DMAKE_PATH)
 AC_SUBST(IS_SYSTEM_DMAKE)
 
diff --git a/main/epm/makefile.mk b/main/epm/makefile.mk
index 06848a593e..0eccce7854 100644
--- a/main/epm/makefile.mk
+++ b/main/epm/makefile.mk
@@ -41,8 +41,8 @@ TARGET=epm
 
 .IF "$(GUI)"=="UNX"
 
-TARFILE_NAME=epm-5.0.0
-TARFILE_MD5=8ce02a315807bd406b5de85ccf63e7fb
+TARFILE_NAME=epm-5.1.0
+TARFILE_MD5=95ebbf8e6fa2e3940d5409f210ae7ba0
 
 CONFIGURE_ACTION=.$/configure
 CONFIGURE_FLAGS=--disable-fltk
diff --git a/main/external_deps.lst b/main/external_deps.lst
index edb1b20417..3526837ad6 100644
--- a/main/external_deps.lst
+++ b/main/external_deps.lst
@@ -27,6 +27,24 @@
 OOO_EXTRAS=https://sourceforge.net/projects/oooextras.mirror/files/
 
 
+###############################################################################
+# Build tools, built from source during bootstrap when no suitable system
+# version is used (--with-dmake-url / --with-epm-url). Not part of the product.
+#
+
+if (BUILD_DMAKE == YES)
+    MD5 = c21b94ccef7ef69364f0ecc8d35eaa5f
+    name = dmake-4.13.2.tar.gz
+    URL1 = https://github.com/jimjag/dmake/archive/v4.13.2/$(name)
+    URL2 = $(OOO_EXTRAS)$(MD5)-$(name)
+
+if (BUILD_EPM == YES)
+    MD5 = 95ebbf8e6fa2e3940d5409f210ae7ba0
+    name = epm-5.1.0.tar.gz
+    URL1 = https://github.com/jimjag/epm/archive/v5.1.0/$(name)
+    URL2 = $(OOO_EXTRAS)$(MD5)-$(name)
+
+
 ###############################################################################
 # Libraries with category A license
 #
diff --git a/main/set_soenv.in b/main/set_soenv.in
index 38d63572ca..40a479ce96 100644
--- a/main/set_soenv.in
+++ b/main/set_soenv.in
@@ -2136,6 +2136,7 @@ ToFile( "SYSTEM_LIBPNG",     "@SYSTEM_LIBPNG@",   "e" );
 ToFile( "SYSTEM_LIBJPEG",    "@SYSTEM_LIBJPEG@",   "e" );
 ToFile( "RAT_JAR_HOME",      "@RAT_JAR_HOME@",     "e" );
 ToFile( "DMAKE_URL",         "@DMAKE_URL@",        "e" );
+ToFile( "BUILD_DMAKE",       "@BUILD_DMAKE@",      "e" );
 ToFile( "DMAKE_PATH",        "@DMAKE_PATH@",       "e" );
 ToFile( "IS_SYSTEM_DMAKE",   "@IS_SYSTEM_DMAKE@",  "e" );
 ToFile( "BUILD_UNOWINREG",   "@BUILD_UNOWINREG@",  "e" );

Reply via email to