summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-26 10:43:30 +0100
committerraveit65 <[email protected]>2021-02-05 13:07:37 +0100
commitf1d8ac226c12140eadf6268f2164f8755585b8ac (patch)
tree7984e760230fae37260191be2c2698ee1f4e0a42
parent13cabd4c1cdb887dabb38b019565a4f1510904b9 (diff)
downloadengrampa-f1d8ac226c12140eadf6268f2164f8755585b8ac.tar.bz2
engrampa-f1d8ac226c12140eadf6268f2164f8755585b8ac.tar.xz
build: Use PACKAGE_URL variable
-rw-r--r--caja/Makefile.am7
-rw-r--r--caja/libcaja-engrampa.caja-extension.desktop.in.in2
-rw-r--r--configure.ac3
-rw-r--r--data/Makefile.am39
-rw-r--r--data/engrampa.appdata.xml.in.in (renamed from data/engrampa.appdata.xml.in)2
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/actions.c2
7 files changed, 31 insertions, 26 deletions
diff --git a/caja/Makefile.am b/caja/Makefile.am
index 3ef86f4..b8310c5 100644
--- a/caja/Makefile.am
+++ b/caja/Makefile.am
@@ -19,12 +19,15 @@ libcaja_engrampa_la_LDFLAGS = -module -avoid-version -no-undefined
libcaja_engrampa_la_LIBADD = $(CAJA_LIBS)
extensiondir = $(datadir)/caja/extensions
-extension_in_files = libcaja-engrampa.caja-extension.desktop.in
+extension_in_in_files = libcaja-engrampa.caja-extension.desktop.in.in
+extension_in_files = $(extension_in_in_files:.caja-extension.desktop.in.in=.caja-extension.desktop.in)
extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension)
$(extension_DATA): $(extension_in_files)
$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
+DISTCLEANFILES = $(extension_in_files)
CLEANFILES = $(extension_DATA)
-EXTRA_DIST = $(extension_in_files)
+EXTRA_DIST = $(extension_in_in_files)
+
-include $(top_srcdir)/git.mk
diff --git a/caja/libcaja-engrampa.caja-extension.desktop.in.in b/caja/libcaja-engrampa.caja-extension.desktop.in.in
index 91a234d..840c900 100644
--- a/caja/libcaja-engrampa.caja-extension.desktop.in.in
+++ b/caja/libcaja-engrampa.caja-extension.desktop.in.in
@@ -6,4 +6,4 @@ Description=Allows to create and extract archives
Author=Paolo Bacchilega <[email protected]>;Perberos <[email protected]>
Copyright=Copyright (C) 2001–2010 Free Software Foundation, Inc.\nCopyright (C) 2012–2021 The MATE developers
Version=@VERSION@
-Website=http://www.mate-desktop.org/
+Website=@PACKAGE_URL@
diff --git a/configure.ac b/configure.ac
index 04c86c6..640c208 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT([engrampa], [1.25.0], [https://mate-desktop.org])
+AC_INIT([engrampa], [1.25.0], [https://github.com/mate-desktop/engrampa/issues], [engrampa], [https://mate-desktop.org])
AM_INIT_AUTOMAKE([1.9 foreign dist-xz no-dist-gzip check-news])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -228,6 +228,7 @@ dnl ******************************
AC_CONFIG_FILES([Makefile
data/Makefile
+ data/engrampa.appdata.xml.in
data/engrampa.desktop.in
data/org.mate.engrampa.gschema.xml
data/icons/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index f52df44..fdc4dde 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,7 +2,7 @@ SUBDIRS = icons
desktopdir = $(datadir)/applications
desktop_in_in_files = engrampa.desktop.in.in
-desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
+desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
$(desktop_DATA): $(desktop_in_files)
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
@@ -17,7 +17,8 @@ $(service_DATA): $(service_in_files) Makefile
$(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
appdatadir = $(datadir)/metainfo
-appdata_in_files = engrampa.appdata.xml.in
+appdata_in_in_files = engrampa.appdata.xml.in.in
+appdata_in_files = $(appdata_in_in_files:.xml.in.in=.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 $@
@@ -44,27 +45,27 @@ update-cache:
fi
EXTRA_DIST = \
- packages.match.in \
- packages.match \
- $(desktop_in_in_files) \
- $(desktop_in_files) \
- $(desktop_DATA) \
- $(gsettingsschema_in_files) \
- $(appdata_in_files) \
- $(man_MANS) \
- $(service_in_files) \
- $(NULL)
+ packages.match.in \
+ packages.match \
+ $(appdata_in_in_files) \
+ $(desktop_in_in_files) \
+ $(gsettingsschema_in_files) \
+ $(man_MANS) \
+ $(service_in_files) \
+ $(NULL)
DISTCLEANFILES = \
- $(desktop_in_files) \
- $(desktop_DATA) \
- $(service_DATA) \
- $(NULL)
+ $(appdata_in_files) \
+ $(desktop_in_files) \
+ $(service_DATA) \
+ $(NULL)
CLEANFILES = \
- $(gsettings_SCHEMAS) \
- engrampa.appdata.xml \
- $(NULL)
+ $(appdata_DATA) \
+ $(desktop_DATA) \
+ $(gsettings_SCHEMAS) \
+ engrampa.appdata.xml \
+ $(NULL)
dist-hook:
cd $(distdir); rm -f $(CLEANFILES)
diff --git a/data/engrampa.appdata.xml.in b/data/engrampa.appdata.xml.in.in
index 421638b..5072b84 100644
--- a/data/engrampa.appdata.xml.in
+++ b/data/engrampa.appdata.xml.in.in
@@ -66,7 +66,7 @@
</image>
</screenshot>
</screenshots>
- <url type="homepage">http://www.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 1fb515b..4762e92 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -6,7 +6,7 @@ mate-submodules/libegg/eggsmclient.c
mate-submodules/libegg/eggsmclient.h
mate-submodules/libegg/eggsmclient-private.h
mate-submodules/libegg/eggsmclient-xsmp.c
-data/engrampa.appdata.xml.in
+data/engrampa.appdata.xml.in.in
data/engrampa.desktop.in.in
data/org.mate.engrampa.gschema.xml.in
caja/engrampa-module.c
diff --git a/src/actions.c b/src/actions.c
index 1d3a9ec..b55cab1 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -906,7 +906,7 @@ activate_action_about (GtkAction *action,
"logo-icon-name", "engrampa",
"license", license_text,
"wrap-license", TRUE,
- "website", "https://mate-desktop.org",
+ "website", PACKAGE_URL,
NULL);
g_strfreev (authors);