odfstudio: configure service URLs
Change-Id: I07e3e64b8ee8e18d6a4b519d66d0b97dbb0aa3d4
This commit is contained in:
@@ -586,6 +586,8 @@ export POSTGRESQL_LIB=@POSTGRESQL_LIB@
|
||||
export PREFIXDIR=@PREFIXDIR@
|
||||
export STARTCENTER_INFO_URL=@STARTCENTER_INFO_URL@
|
||||
export PRIVACY_POLICY_URL=@PRIVACY_POLICY_URL@
|
||||
export VOLUNTEER_URL=@VOLUNTEER_URL@
|
||||
export DONATION_URL=@DONATION_URL@
|
||||
export PRODUCTNAME=@PRODUCTNAME@
|
||||
export PRODUCTNAME_WITHOUT_SPACES=@PRODUCTNAME_WITHOUT_SPACES@
|
||||
export PRODUCTVERSION=@PRODUCTVERSION@
|
||||
|
||||
+31
-1
@@ -3116,6 +3116,29 @@ AC_ARG_WITH(startcenter-info-url,
|
||||
fi]
|
||||
,[with_startcenter_info_url="https://www.odfstudio.org/"])
|
||||
|
||||
|
||||
|
||||
AC_ARG_WITH(volunteer-url,
|
||||
AS_HELP_STRING([--with-volunteer-url="https://odfstudio.org/volontaire"],
|
||||
[Set the base URL opened when clicking the Start Center brand image.]),
|
||||
[if test "x$with_volunteer_url" = "xyes"; then
|
||||
AC_MSG_FAILURE([you need to specify an argument when using --with-volunteer-url])
|
||||
fi]
|
||||
,[with_volunteer_url="https://hub.libreoffice.org/volunteersupport/"])
|
||||
|
||||
AC_ARG_WITH(donation-url,
|
||||
AS_HELP_STRING([--with-donation-url="https://hub.libreoffice.org/donation/"],
|
||||
[Set the donation URL.]),
|
||||
[if test "x$with_donation_url" = "xyes"; then
|
||||
AC_MSG_FAILURE([you need to specify an argument when using --with-donation-url])
|
||||
fi]
|
||||
,[with_donation_url="https://hub.libreoffice.org/donation/"])
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
AC_ARG_WITH(privacy-policy-url,
|
||||
AS_HELP_STRING([--with-privacy-policy-url="https://yourdomain/privacy-policy"],
|
||||
[The URL to your privacy policy (needed when
|
||||
@@ -14540,8 +14563,15 @@ AC_SUBST(ONLINEUPDATE_MAR_CERTIFICATEPATH)
|
||||
STARTCENTER_INFO_URL="$with_startcenter_info_url"
|
||||
AC_SUBST(STARTCENTER_INFO_URL)
|
||||
|
||||
|
||||
VOLUNTEER_URL="$with_volunteer_url"
|
||||
AC_SUBST(VOLUNTEER_URL)
|
||||
|
||||
DONATION_URL="$with_donation_url"
|
||||
AC_SUBST(DONATION_URL)
|
||||
|
||||
PRIVACY_POLICY_URL="$with_privacy_policy_url"
|
||||
PRIVACY_POLICY_URL="$with_privacy_policy_url"
|
||||
|
||||
if test "$ENABLE_ONLINE_UPDATE" = TRUE -o "$ENABLE_BREAKPAD" = "TRUE"; then
|
||||
if test "x$with_privacy_policy_url" = "xundefined"; then
|
||||
AC_MSG_FAILURE([online update or breakpad/crashreporting are enabled, but no --with-privacy-policy-url=... was provided])
|
||||
|
||||
@@ -337,25 +337,25 @@
|
||||
</node>
|
||||
</node>
|
||||
<prop oor:name="SendFeedbackURL" oor:type="xs:string">
|
||||
<value>https://hub.libreoffice.org/send-feedback/</value>
|
||||
<value>https://odfstudio.org/send-feedback/</value>
|
||||
</prop>
|
||||
<prop oor:name="QA_URL" oor:type="xs:string">
|
||||
<value>https://hub.libreoffice.org/forum/</value>
|
||||
<value>https://odfstudio.org/qa</value>
|
||||
</prop>
|
||||
<prop oor:name="DocumentationURL" oor:type="xs:string">
|
||||
<value>https://hub.libreoffice.org/documentation/</value>
|
||||
<value>https://odfstudio.org/documentation/</value>
|
||||
</prop>
|
||||
<prop oor:name="GetInvolvedURL" oor:type="xs:string">
|
||||
<value>https://hub.libreoffice.org/joinus/</value>
|
||||
<value>${VOLUNTEER_URL}</value>
|
||||
</prop>
|
||||
<prop oor:name="DonationURL" oor:type="xs:string">
|
||||
<value>https://hub.libreoffice.org/donation/</value>
|
||||
<value>${DONATION_URL}</value>
|
||||
</prop>
|
||||
<prop oor:name="ReleaseNotesURL" oor:type="xs:string">
|
||||
<value>https://hub.libreoffice.org/ReleaseNotes/</value>
|
||||
<value>https://odfstudio.org/ReleaseNotes/</value>
|
||||
</prop>
|
||||
<prop oor:name="CreditsURL" oor:type="xs:string">
|
||||
<value>https://hub.libreoffice.org/credits/</value>
|
||||
<value>https://odfstudio.org/credits/</value>
|
||||
</prop>
|
||||
<prop oor:name="HyphenationMissingURL" oor:type="xs:string">
|
||||
<value>https://hub.libreoffice.org/HyphenationMissing/</value>
|
||||
@@ -364,7 +364,7 @@
|
||||
<value>https://hub.libreoffice.org/InstallJava/</value>
|
||||
</prop>
|
||||
<prop oor:name="VolunteerURL" oor:type="xs:string">
|
||||
<value>https://hub.libreoffice.org/volunteersupport/</value>
|
||||
<value>https://odfstudio.org/</value>
|
||||
</prop>
|
||||
<prop oor:name="PrivacyPolicyURL" oor:type="xs:string">
|
||||
<value>${PRIVACY_POLICY_URL}</value>
|
||||
|
||||
@@ -581,7 +581,9 @@ postprocess_main_SED := \
|
||||
-e 's,$${PRODUCTVERSION},$(PRODUCTVERSION),g' \
|
||||
-e 's,$${PRODUCTEXTENSION},.$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)$(LIBO_VERSION_SUFFIX),g' \
|
||||
-e 's,$${STARTCENTER_INFO_URL},$(STARTCENTER_INFO_URL),g' \
|
||||
-e 's,$${SYSTEM_LIBEXTTEXTCAT_DATA},$(SYSTEM_LIBEXTTEXTCAT_DATA),g' \
|
||||
-e 's,$${VOLUNTEER_URL},$(VOLUNTEER_URL),g' \
|
||||
-e 's,$${DONATION_URL},$(DONATION_URL),g' \
|
||||
-e 's,$${SYSTEM_LIBEXTTEXTCAT_DATA},$(SYSTEM_LIBEXTTEXTCAT_DATA),g' \
|
||||
-e 's,$${SYSTEM_LIBNUMBERTEXT_DATA},$(SYSTEM_LIBNUMBERTEXT_DATA),g' \
|
||||
-e 's,$${PRIVACY_POLICY_URL},$(PRIVACY_POLICY_URL),g' \
|
||||
|
||||
|
||||
Reference in New Issue
Block a user