+2020-06-12 Keith Marshall <keith@users.osdn.me>
+
+ Use XML templates to adapt to download host changes.
+
+ * configure.ac (MINGW_PACKAGE_DIST_URL): Update to OSDN host URL.
+
+ * xml/profile.xml: Rename it as...
+ * xml/profile.xml.in: ...this; replace hard-coded repository URL...
+ (%PACKAGE_LIST_URL%/%F.xml.lzma): ...this template.
+
+ * xml/setup.xml: Likewise, rename it as...
+ * xml/setup.xml.in: ...this, with corresponding URL update.
+
+ * Makefile.in (install-profile): Modify procedure, using...
+ (%.xml: %.xml.in): ...this new pattern rule, to generate installed XML
+ files, from source templates.
+
+ * src/setup.rc (STRINGTABLE) <ID_DOWNLOAD_HOST_URI>: Remove trailing
+ "?download" qualifier.
+
2020-06-11 Keith Marshall <keith@users.osdn.me>
Discontinue formal use of the build-aux submodule.
$(INSTALL_DATA) $$image ${libexecdir}/${PACKAGE_TARNAME}; \
done
-install-profile:
- $(INSTALL_DATA) ${srcdir}/xml/profile.xml \
- ${PACKAGE_CONFIG_DIR}/defaults.xml
+vpath %.xml.in ${srcdir}/xml
+install-profile: install-%: %.xml
+ $(INSTALL_DATA) $*.xml ${PACKAGE_CONFIG_DIR}/defaults.xml
+
+%.xml: %.xml.in
+ $(TAG_SCRIPT) $< > $@
install-strip: install
for image in $(BIN_PROGRAMS); do \
# at configure time, by specifying alternatives for either, or both of
# the precious variables, PACKAGE_DIST_DOMAIN and PACKAGE_DIST_DIR.
#
- MINGW_AC_PACKAGE_DIST_URL([http://prdownloads.sourceforge.net],[mingw])
+ MINGW_AC_PACKAGE_DIST_URL([https://osdn.net],[dl/mingw])
# Identify the formal release classes for each of the CLI and the GUI
# application sub-packages; these may be overriden at configure time,
*
* $Id$
*
- * Written by Keith Marshall <keithmarshall@users.sourceforge.net>
- * Copyright (C) 2013, MinGW.org Project
+ * Written by Keith Marshall <keith@users.osdn.me>
+ * Copyright (C) 2013, 2017, 2020, MinGW.org Project
*
*
* Resource definitions for the mingw-get-setup.exe implementation.
ID_MAIN_WINDOW_CLASS "mingw-get"
ID_MAIN_WINDOW_CAPTION "MinGW Installation Manager"
ID_MAIN_DIALOGUE_CAPTION VERINFO_FILE_DESCRIPTION
- ID_DOWNLOAD_HOST_URI "%PACKAGE_DIST_URL%/%F?download"
ID_PACKAGE_BASE_DISTNAME "%PACKAGE_BASE_DISTNAME%"
ID_PACKAGE_DATA_DISTNAME "%PACKAGE_DATA_DISTNAME%"
+ ID_DOWNLOAD_HOST_URI "%PACKAGE_DIST_URL%/%F"
ID_FONT_PREF "Verdana"
END
<!--
$Id$
- Written by Keith Marshall <keithmarshall@users.sourceforge.net>
- Copyright (C) 2009, 2010, 2012, 2013, MinGW.org Project
+ Written by Keith Marshall <keith@users.osdn.me>
+ Copyright (C) 2009-2013, 2017, 2020, MinGW.org Project
Master configuration profile for mingw-get.
<option name="start-menu" />
</preferences>
- <repository uri="http://prdownloads.sourceforge.net/mingw/%F.xml.lzma?download">
+ <repository uri="%PACKAGE_DIST_URL%/%F.xml.lzma">
<!--
The "repository" specification identifies the URI where package
list catalogues may be downloaded; each catalogue download URI is
<!--
$Id$
- Written by Keith Marshall <keithmarshall@users.sourceforge.net>
- Copyright (C) 2013, MinGW.org Project
+ Written by Keith Marshall <keith@users.osdn.me>
+ Copyright (C) 2013, 2017, 2020, MinGW.org Project
Initial configuration profile for mingw-get-setup.
arising from the use of this software.
-->
- <repository uri="http://prdownloads.sourceforge.net/mingw/%F.xml.lzma?download">
+ <repository uri="%PACKAGE_DIST_URL%/%F.xml.lzma">
<!--
The "repository" specification identifies the URI whence package
list catalogues may be downloaded; each catalogue download URI is