summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-07-07 20:55:32 +0000
committer Eric Hameleers <alien@slackware.com>2019-07-07 20:55:32 +0000
commitafd7ca7e69165589b2ee85353ef66e4c9be73777 (patch)
treef916e3fc420ca144c16571f66aa3e99ec49965f6
parentb52f01dd10ed892d45a83525e94b216807ae6686 (diff)
downloadasb-afd7ca7e69165589b2ee85353ef66e4c9be73777.tar.gz
asb-afd7ca7e69165589b2ee85353ef66e4c9be73777.tar.xz
lxqt: updated patch files
-rw-r--r--lxqt/build/patch/README18
-rw-r--r--lxqt/build/patch/lxinput-qt.patch3
-rw-r--r--lxqt/build/patch/lxqt-config.patch3
-rw-r--r--lxqt/build/patch/lxqt-panel.patch3
-rw-r--r--lxqt/build/patch/lxqt-powermanagement.patch3
5 files changed, 30 insertions, 0 deletions
diff --git a/lxqt/build/patch/README b/lxqt/build/patch/README
new file mode 100644
index 00000000..3fdb4fd6
--- /dev/null
+++ b/lxqt/build/patch/README
@@ -0,0 +1,18 @@
+
+IMPORTANT!
+
+To fail/exit a script, use this:
+
+[command that fails] || { touch ${SLACK_LXQT_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+
+DO NOT USE THIS:
+
+[command that fails] || exit 1
+
+as it will cause the parent script to exit in the wrong location and possibly
+silently skip building some packages.
+
+Thanks,
+
+The Management
+
diff --git a/lxqt/build/patch/lxinput-qt.patch b/lxqt/build/patch/lxinput-qt.patch
new file mode 100644
index 00000000..2bbe52e2
--- /dev/null
+++ b/lxqt/build/patch/lxinput-qt.patch
@@ -0,0 +1,3 @@
+# Fix the pt_BR translation (needs to be in UTF-8):
+cat $CWD/patch/lxinput-qt/lxqt-config-input_pt_BR_utf8.patch | patch -p1 --verbose || { touch ${SLACK_LXQT_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+
diff --git a/lxqt/build/patch/lxqt-config.patch b/lxqt/build/patch/lxqt-config.patch
new file mode 100644
index 00000000..f8b75c91
--- /dev/null
+++ b/lxqt/build/patch/lxqt-config.patch
@@ -0,0 +1,3 @@
+# Fix an incompatibility with cmake 3.8:
+cat $CWD/patch/lxqt-config/lxqt-config_cmake38.patch | patch -p1 --verbose || { touch ${SLACK_LXQT_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+
diff --git a/lxqt/build/patch/lxqt-panel.patch b/lxqt/build/patch/lxqt-panel.patch
new file mode 100644
index 00000000..9afb1d01
--- /dev/null
+++ b/lxqt/build/patch/lxqt-panel.patch
@@ -0,0 +1,3 @@
+# Override "explicit"; it is a C++ keyword but used as variable name in xkb.h:
+cat $CWD/patch/lxqt-panel/lxqt-panel_fix_explicit.patch | patch -p1 --verbose || { touch ${SLACK_LXQT_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+
diff --git a/lxqt/build/patch/lxqt-powermanagement.patch b/lxqt/build/patch/lxqt-powermanagement.patch
new file mode 100644
index 00000000..e94bea00
--- /dev/null
+++ b/lxqt/build/patch/lxqt-powermanagement.patch
@@ -0,0 +1,3 @@
+# Fix the qt4 QtCore headers location for Slackware:
+#cat $CWD/patch/lxqt-powermanagement/lidwatcher_qt4.patch | patch -p1 --verbose || { touch ${SLACK_LXQT_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+