diff options
author | Robby Workman <rw@rlworkman.net> | 2012-05-13 08:54:42 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-05-13 08:54:42 -0400 |
commit | 7ea37cd0c5ad405a75eb479a5d0841d3f954eb92 (patch) | |
tree | 9fe28560c2c7aefecda02724de8d44a7cf5eb64d /desktop/razorqt | |
parent | 509e785e3f0f3f7954094403bf1f631df2e615aa (diff) |
desktop/razorqt: Updated for version 0.4.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/razorqt')
-rw-r--r-- | desktop/razorqt/patches/include_unistd_h.diff | 24 | ||||
-rw-r--r-- | desktop/razorqt/razorqt.SlackBuild | 9 | ||||
-rw-r--r-- | desktop/razorqt/razorqt.info | 8 | ||||
-rw-r--r-- | desktop/razorqt/slack-desc | 8 | ||||
-rw-r--r-- | desktop/razorqt/xinit/xinitrc.razorqt | 2 |
5 files changed, 39 insertions, 12 deletions
diff --git a/desktop/razorqt/patches/include_unistd_h.diff b/desktop/razorqt/patches/include_unistd_h.diff new file mode 100644 index 0000000000000..49da42ff0dc9f --- /dev/null +++ b/desktop/razorqt/patches/include_unistd_h.diff @@ -0,0 +1,24 @@ +diff -Nur razorqt-0.4.1.orig/razorqt-session/src/main.cpp razorqt-0.4.1/razorqt-session/src/main.cpp +--- razorqt-0.4.1.orig/razorqt-session/src/main.cpp 2012-02-13 04:24:51.000000000 -0600 ++++ razorqt-0.4.1/razorqt-session/src/main.cpp 2012-04-22 22:33:05.094043520 -0500 +@@ -28,6 +28,8 @@ + #include <QApplication> + #include <QIcon> + ++#include <unistd.h> ++ + #include "razormodman.h" + #include "sessiondbusadaptor.h" + #include "razortranslate.h" +diff -Nur razorqt-0.4.1.orig/razorqt-session/src/razormodman.cpp razorqt-0.4.1/razorqt-session/src/razormodman.cpp +--- razorqt-0.4.1.orig/razorqt-session/src/razormodman.cpp 2012-02-13 04:24:51.000000000 -0600 ++++ razorqt-0.4.1/razorqt-session/src/razormodman.cpp 2012-04-22 22:38:53.867441049 -0500 +@@ -25,6 +25,8 @@ + * + * END_COMMON_COPYRIGHT_HEADER */ + ++#include <unistd.h> ++ + #include "razormodman.h" + #include <razorqt/razorsettings.h> + #include <qtxdg/xdgautostart.h> diff --git a/desktop/razorqt/razorqt.SlackBuild b/desktop/razorqt/razorqt.SlackBuild index 8fdbaffbd8f6f..7a6d345821385 100644 --- a/desktop/razorqt/razorqt.SlackBuild +++ b/desktop/razorqt/razorqt.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for razorqt -# Copyright 2011 Robby Workman, Northport, Alabama, USA +# Copyright 2011, 2012 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,12 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Note that if anyone else out there likes this and uses it on a daily basis, -# I'll be more than happy to let you maintain this build script. I don't +# I'll be more than happy to let you maintain this build script. I don't # plan to actually use razorqt (I like xfce), but this looked too useful to # not have available in Slackware --rworkman PRGNAM=razorqt -VERSION=${VERSION:-0.4.0} +VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,6 +74,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Needed for gcc47; harmless for earlier gcc +patch -p1 < $CWD/patches/include_unistd_h.diff + cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ diff --git a/desktop/razorqt/razorqt.info b/desktop/razorqt/razorqt.info index 094036a4de37a..e49925054e8b6 100644 --- a/desktop/razorqt/razorqt.info +++ b/desktop/razorqt/razorqt.info @@ -1,10 +1,10 @@ PRGNAM="razorqt" -VERSION="0.4.0" +VERSION="0.4.1" HOMEPAGE="http://razor-qt.org/" -DOWNLOAD="http://razor-qt.org/install/razorqt-0.4.0.tar.bz2" -MD5SUM="3a38bfa08edb7d5d8abc3898dc0bb050" +DOWNLOAD="https://github.com/downloads/Razor-qt/razor-qt/razorqt-0.4.1.tar.bz2" +MD5SUM="d34743845aadedc547e6912b64c99b34" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" -APPROVED="Niels Horn" +APPROVED="dsomero" diff --git a/desktop/razorqt/slack-desc b/desktop/razorqt/slack-desc index 2e37db4b205de..bb61c9aa480d7 100644 --- a/desktop/razorqt/slack-desc +++ b/desktop/razorqt/slack-desc @@ -8,11 +8,11 @@ |-----handy-ruler------------------------------------------------------| razorqt: Razor-qt (qt-based desktop environment) razorqt: -razorqt: Razor-qt is an advanced, easy-to-use, and fast desktop environment -razorqt: based on Qt technologies. It has been tailored for users who value -razorqt: simplicity, speed, and intuitive interface. +razorqt: Razor-qt is an advanced, easy-to-use, and fast desktop environment +razorqt: based on Qt technologies. It has been tailored for users who value +razorqt: simplicity, speed, and intuitive interface. razorqt: -razorqt: Unlike desktop environments, Razor-qt also works fine with weak +razorqt: Unlike desktop environments, Razor-qt also works fine with weak razorqt: machines. razorqt: razorqt: Homepage: http://razor-qt.org/ diff --git a/desktop/razorqt/xinit/xinitrc.razorqt b/desktop/razorqt/xinit/xinitrc.razorqt index 407dca7edfc96..5460a955b97af 100644 --- a/desktop/razorqt/xinit/xinitrc.razorqt +++ b/desktop/razorqt/xinit/xinitrc.razorqt @@ -11,7 +11,7 @@ sysmodmap=/etc/X11/xinit/.Xmodmap [ -f $userresources ] && /usr/bin/xrdb -merge $userresources [ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap -if [ -z "$XDG_SESSION_COOKIE" -a -x /usr/bin/ck-launch-session ]; then +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then ck-launch-session razor-session else exec razor-session |