summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-26 10:10:20 +0100
committerraveit65 <[email protected]>2021-02-05 14:01:13 +0100
commitcb9ed81342334d3ef5dde43a60ab0325930a2874 (patch)
tree30f67749d42edce585f5f79020c0635b0a0100dd
parent100143334310b87f54043beceb30611f60263def (diff)
downloadcaja-cb9ed81342334d3ef5dde43a60ab0325930a2874.tar.bz2
caja-cb9ed81342334d3ef5dde43a60ab0325930a2874.tar.xz
build: Use PACKAGE_URL variable
-rw-r--r--configure.ac7
-rw-r--r--data/Makefile.am6
-rw-r--r--data/caja.appdata.xml.in.in (renamed from data/caja.appdata.xml.in)2
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/caja-window-menus.c2
5 files changed, 13 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index d721135f..e6059872 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,11 @@ dnl Interface break is not allowed.
m4_define(caja_extension_current, 5)
m4_define(caja_extension_revision, 0)
-AC_INIT([caja], [1.25.2], [https://mate-desktop.org])
+AC_INIT([caja],
+ [1.25.2],
+ [https://github.com/mate-desktop/caja/issues],
+ [caja],
+ [https://mate-desktop.org])
dnl ---------------------------------------------------------------------------
@@ -273,6 +277,7 @@ Makefile
mate-submodules/Makefile
mate-submodules/libegg/Makefile
data/Makefile
+data/caja.appdata.xml.in
data/icons/Makefile
data/patterns/Makefile
docs/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 788b37c1..f6e3d14f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -53,13 +53,14 @@ cajadata_DATA = \
# app data file
appdatadir = $(datadir)/metainfo
-appdata_in_files = caja.appdata.xml.in
+appdata_in_in_files = caja.appdata.xml.in.in
+appdata_in_files = $(appdata_in_in_files:.appdata.xml.in.in=.appdata.xml.in)
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
$(appdata_DATA): $(appdata_in_files)
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = \
- $(appdata_in_files) \
+ $(appdata_in_in_files) \
$(cajadata_DATA) \
$(cajadata_in_files) \
$(desktop_in_in_files) \
@@ -69,6 +70,7 @@ EXTRA_DIST = \
$(NULL)
DISTCLEANFILES = \
+ $(appdata_in_files) \
$(desktop_in_files) \
$(NULL)
diff --git a/data/caja.appdata.xml.in b/data/caja.appdata.xml.in.in
index 5f07f4b8..16102a82 100644
--- a/data/caja.appdata.xml.in
+++ b/data/caja.appdata.xml.in.in
@@ -35,7 +35,7 @@
</image>
</screenshot>
</screenshots>
- <url type="homepage">https://mate-desktop.org</url>
+ <url type="homepage">@PACKAGE_URL@</url>
<updatecontact>[email protected]</updatecontact>
<project_group>MATE</project_group>
</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b58fd971..4403a4ed 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,7 @@
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
data/browser.xml.in
-data/caja.appdata.xml.in
+data/caja.appdata.xml.in.in
data/caja-autorun-software.desktop.in.in
data/caja-browser.desktop.in.in
data/caja-computer.desktop.in.in
diff --git a/src/caja-window-menus.c b/src/caja-window-menus.c
index 9f4c2161..953f4fb5 100644
--- a/src/caja-window-menus.c
+++ b/src/caja-window-menus.c
@@ -585,7 +585,7 @@ action_about_caja_callback (GtkAction *action,
"documenters", documenters,
"translator-credits", _("translator-credits"),
"logo-icon-name", "system-file-manager",
- "website", "https://mate-desktop.org",
+ "website", PACKAGE_URL,
"website-label", _("Website"),
NULL);