summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-26 10:10:20 +0100
committerraveit65 <[email protected]>2022-07-21 19:33:50 +0200
commit77ae01b92666ab5554b168cf207ce37ded4deb2e (patch)
tree4a30042f2f74fb61cd61c3a117448a6b715dbc3a
parent383ce0732714915b3250273c0f560d9da136ec6a (diff)
downloadcaja-77ae01b92666ab5554b168cf207ce37ded4deb2e.tar.bz2
caja-77ae01b92666ab5554b168cf207ce37ded4deb2e.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 606a1c83..646d86f8 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 ---------------------------------------------------------------------------
@@ -275,6 +279,7 @@ AC_CONFIG_FILES([
Makefile
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 da1c332c..c0ca3a7f 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 67b88077..b3380a85 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);