aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/crystal/crystal.SlackBuild4
-rw-r--r--desktop/crystal/crystal.patch11
2 files changed, 14 insertions, 1 deletions
diff --git a/desktop/crystal/crystal.SlackBuild b/desktop/crystal/crystal.SlackBuild
index 744e8dda658fe..2ac86197969c3 100644
--- a/desktop/crystal/crystal.SlackBuild
+++ b/desktop/crystal/crystal.SlackBuild
@@ -1,3 +1,4 @@
+
#!/bin/sh
# SlackBuild script for crystal (A Native KDE4 Window decoration)
@@ -25,7 +26,7 @@
PRGNAM=crystal
VERSION=${VERSION:-2.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +71,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/crystal.patch
mkdir -p build
cd build
cmake \
diff --git a/desktop/crystal/crystal.patch b/desktop/crystal/crystal.patch
new file mode 100644
index 0000000000000..6f36a3ed788a0
--- /dev/null
+++ b/desktop/crystal/crystal.patch
@@ -0,0 +1,11 @@
+--- crystal-2.2.1/client/crystalclient.cpp.orig 2016-02-15 07:32:55.748512951 +0700
++++ crystal-2.2.1//client/crystalclient.cpp 2016-02-15 07:33:14.018499876 +0700
+@@ -118,7 +118,7 @@
+ if (isPreview()) {
+ char c[512];
+ QLabel *label;
+- sprintf(c,"<center><b>Crystal %s Preview</b><br>Built: %s</center>",VERSION, __DATE__);
++ sprintf(c,"<center><b>Crystal %s Preview</b><br>Built: %s</center>",2.2, __DATE__);
+ mainlayout->addItem(new QSpacerItem(1, 1,QSizePolicy::Expanding,QSizePolicy::Fixed), 0, 1);
+ mainlayout->addItem(new QSpacerItem(1, ::factory->borderwidth,QSizePolicy::Expanding,QSizePolicy::Expanding), 3, 1);
+ label = new QLabel(i18n(c), widget());