summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Edinaldo P.Silva2018-11-16 09:57:57 +0100
committer Willy Sudiarto Raharjo2018-11-17 12:42:49 +0100
commit0cacda8258e25f62699920b63dc7328380474a8d (patch)
tree3de17bd8ae9fcbbdd6c0712f5b11464615e21150
parentcc9a071fe5470cb5de9c60e65d1bffbed3ea84ae (diff)
downloadslackbuilds-0cacda8258e25f62699920b63dc7328380474a8d.tar.gz
system/tilda: Move appstream metadata.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--system/tilda/01_install_metadata_in_new_location.patch26
-rw-r--r--system/tilda/README6
-rw-r--r--system/tilda/slack-desc6
-rw-r--r--system/tilda/tilda.SlackBuild4
4 files changed, 35 insertions, 7 deletions
diff --git a/system/tilda/01_install_metadata_in_new_location.patch b/system/tilda/01_install_metadata_in_new_location.patch
new file mode 100644
index 0000000000..a5a93d0cbb
--- /dev/null
+++ b/system/tilda/01_install_metadata_in_new_location.patch
@@ -0,0 +1,26 @@
+From d437ecc0306c8b4b1c9737792963da4f7f4e4234 Mon Sep 17 00:00:00 2001
+From: Sebastian Geiger <sbastig@gmx.net>
+Date: Sun, 11 Feb 2018 15:27:29 +0100
+Subject: [PATCH] Install appstream metadata in new location
+
+Installing metadata into ${datadir}/appdata is deprecated. The new location
+is ${datadir}/metainfo.
+
+See also https://lintian.debian.org/tags/appstream-metadata-in-legacy-location.html
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 73a8e95..8d935e8 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -39,7 +39,7 @@ MAINTAINERCLEANFILES = \
+ Applicationsdir = ${datadir}/applications
+ Applications_DATA = tilda.desktop
+
+-Appdatadir = ${datadir}/appdata
++Appdatadir = ${datadir}/metainfo
+ Appdata_DATA = tilda.appdata.xml
+
+ Pixmapsdir = ${datadir}/pixmaps
diff --git a/system/tilda/README b/system/tilda/README
index 33d76969ba..92672c01b9 100644
--- a/system/tilda/README
+++ b/system/tilda/README
@@ -1,6 +1,6 @@
tilda (an FPS-style terminal)
-Tilda is a Linux terminal taking after the likeness of many classic
-terminals from first person shooter games, Quake, Doom and Half-Life
-(to name a few), where the terminal has no border and is hidden from
+Tilda is a Linux terminal taking after the likeness of many classic
+terminals from first person shooter games, Quake, Doom and Half-Life
+(to name a few), where the terminal has no border and is hidden from
the desktop until a key is pressed (default key is F1).
diff --git a/system/tilda/slack-desc b/system/tilda/slack-desc
index 600c737d0e..4c24615011 100644
--- a/system/tilda/slack-desc
+++ b/system/tilda/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
tilda: tilda (an FPS-style terminal)
tilda:
-tilda: Tilda is a Linux terminal taking after the likeness of many classic
-tilda: terminals from first person shooter games, Quake, Doom and Half-Life
-tilda: (to name a few), where the terminal has no border and is hidden from
+tilda: Tilda is a Linux terminal taking after the likeness of many classic
+tilda: terminals from first person shooter games, Quake, Doom and Half-Life
+tilda: (to name a few), where the terminal has no border and is hidden from
tilda: the desktop until a key is pressed.
tilda:
tilda: Home page: https://github.com/lanoxx/tilda
diff --git a/system/tilda/tilda.SlackBuild b/system/tilda/tilda.SlackBuild
index dce50e1b56..7937e7e299 100644
--- a/system/tilda/tilda.SlackBuild
+++ b/system/tilda/tilda.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=tilda
VERSION=${VERSION:-1.4.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/01_install_metadata_in_new_location.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \