From 7ea37cd0c5ad405a75eb479a5d0841d3f954eb92 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 13 May 2012 08:54:42 -0400 Subject: desktop/razorqt: Updated for version 0.4.1. Signed-off-by: dsomero --- desktop/razorqt/patches/include_unistd_h.diff | 24 ++++++++++++++++++++++++ desktop/razorqt/razorqt.SlackBuild | 9 ++++++--- desktop/razorqt/razorqt.info | 8 ++++---- desktop/razorqt/slack-desc | 8 ++++---- desktop/razorqt/xinit/xinitrc.razorqt | 2 +- 5 files changed, 39 insertions(+), 12 deletions(-) create mode 100644 desktop/razorqt/patches/include_unistd_h.diff (limited to 'desktop/razorqt') diff --git a/desktop/razorqt/patches/include_unistd_h.diff b/desktop/razorqt/patches/include_unistd_h.diff new file mode 100644 index 0000000000..49da42ff0d --- /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 + #include + ++#include ++ + #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 ++ + #include "razormodman.h" + #include + #include diff --git a/desktop/razorqt/razorqt.SlackBuild b/desktop/razorqt/razorqt.SlackBuild index 8fdbaffbd8..7a6d345821 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 094036a4de..e49925054e 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 2e37db4b20..bb61c9aa48 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 407dca7edf..5460a955b9 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 -- cgit v1.2.3