summaryrefslogtreecommitdiffstats
path: root/graphics/dia/patches/0013-Made-XQuartz-interaction-more-robust.patch
diff options
context:
space:
mode:
author Philip Lacroix <slackph at posteo dot de>2015-09-19 19:44:25 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-19 19:44:25 +0700
commita5ef237349ea8ac445a898ae72ef48079632c2e2 (patch)
tree8557f3abfd4ac9add242288da997e517143964a9 /graphics/dia/patches/0013-Made-XQuartz-interaction-more-robust.patch
parente52bc22392ac81d21bb96e0cdb4334b9f8274dea (diff)
downloadslackbuilds-a5ef237349ea8ac445a898ae72ef48079632c2e2.tar.gz
slackbuilds-a5ef237349ea8ac445a898ae72ef48079632c2e2.tar.xz
graphics/dia: Updated for version 0.97.3 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/dia/patches/0013-Made-XQuartz-interaction-more-robust.patch')
-rw-r--r--graphics/dia/patches/0013-Made-XQuartz-interaction-more-robust.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/graphics/dia/patches/0013-Made-XQuartz-interaction-more-robust.patch b/graphics/dia/patches/0013-Made-XQuartz-interaction-more-robust.patch
deleted file mode 100644
index f6e94044d3..0000000000
--- a/graphics/dia/patches/0013-Made-XQuartz-interaction-more-robust.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 5f85d269123d99d88a261d5dd775a80ef71ef76d Mon Sep 17 00:00:00 2001
-From: Steffen Macke <sdteffen@sdteffen.de>
-Date: Wed, 3 Jul 2013 09:19:26 +0200
-Subject: [PATCH 13/24] Made XQuartz interaction more robust.
-
----
- installer/macosx/dia | 21 ++++++++++++++++++---
- 1 file changed, 18 insertions(+), 3 deletions(-)
-
-diff --git a/installer/macosx/dia b/installer/macosx/dia
-index 5b27386..61a676f 100755
---- a/installer/macosx/dia
-+++ b/installer/macosx/dia
-@@ -1,10 +1,10 @@
- #!/bin/sh
- #
- # Author: Aaron Voisine <aaron@voisine.org>
--# Dia Modifications:
-+# Modifications:
- # Michael Wybrow <mjwybrow@users.sourceforge.net>
- # Jean-Olivier Irisson <jo.irisson@gmail.com>
--#
-+# Steffen Macke <sdteffen@sdteffen.de>
-
- CWD="`(cd \"\`dirname \\\"$0\\\"\`\"; echo \"$PWD\")`"
- # e.g. /Applications/Dia.app/Contents/Resources/bin
-@@ -24,7 +24,11 @@ TOP="`dirname \"$CWD\"`"
- #export PATH="/usr/texbin:/opt/local/bin:/sw/bin/:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/local/bin:$CWD:$PATH"
-
- # Check for X11
--if [[ "" == `which startx` ]]; then
-+if [[ "" == $DISPLAY ]]; then
-+ export DISPLAY=:0
-+fi
-+startx=`which startx`
-+if [[ "" == $startx ]]; then
- if [[ ! -e /opt/X11/bin/startx ]]; then
- osascript -e 'tell app "System Events" to display dialog "X11 (XQuartz) is not installed or not running. Would you like to visit xquartz.macosforge.org now in order to download and install XQuartz?" with icon 0'
- if [[ $? -eq 0 ]]; then
-@@ -33,6 +37,17 @@ if [[ "" == `which startx` ]]; then
- fi
- fi
- fi
-+osascript -e 'tell app "XQuartz" to launch'
-+for i in `seq 1 30`; do
-+ if [[ `ps aux | grep -v grep | grep startx | wc -l` -lt 1 ]]; then
-+ sleep 1
-+ fi
-+done
-+if [[ "$DISPLAY" =~ "/tmp" ]]; then
-+ if [[ ! -e $DISPLAY ]]; then
-+ export DISPLAY=:0
-+ fi
-+fi
-
- # Setup PYTHONPATH to use python modules shipped with Dia
- ARCH=`arch`
---
-1.8.4.4
-