pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chromium-browser: Add patches/patch-third__party_xdg-utils_scripts_xdg-terminal*



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Aug 10 02:04:51 2016 +0200
Changeset:	c7efa68c422aaf37a1d1ad309615f1b79fd1d035

Modified Files:
	chromium-browser/distinfo
Added Files:
	chromium-browser/patches/patch-third__party_xdg-utils_scripts_xdg-terminal
	chromium-browser/patches/patch-third__party_xdg-utils_scripts_xdg-terminal.in

Log Message:
chromium-browser: Add patches/patch-third__party_xdg-utils_scripts_xdg-terminal*

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c7efa68c422aaf37a1d1ad309615f1b79fd1d035

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 chromium-browser/distinfo                          |  2 +
 ...tch-third__party_xdg-utils_scripts_xdg-terminal | 62 ++++++++++++++++++++++
 ...-third__party_xdg-utils_scripts_xdg-terminal.in | 53 ++++++++++++++++++
 3 files changed, 117 insertions(+)

diffs:
diff --git a/chromium-browser/distinfo b/chromium-browser/distinfo
index bc28fe8..5c8dec9 100644
--- a/chromium-browser/distinfo
+++ b/chromium-browser/distinfo
@@ -27,6 +27,8 @@ SHA1 (patch-build_toolchain_netbsd_BUILD.gn) = a725cd331e1da37a14f9d907ead139129
 SHA1 (patch-third__party_icu_android_patch__locale.sh) = 136608a43c01d456f80e094c7d79a90dd5e35b76
 SHA1 (patch-third__party_icu_source_configure) = 288bb5fb8e0ad5320b1dd40463148b36943576a1
 SHA1 (patch-third__party_protobuf_post__process__dist.sh) = 37b9e9d045488d4363b004ac7622fc16ea1da377
+SHA1 (patch-third__party_xdg-utils_scripts_xdg-terminal) = 8ee475f349c0493f524cae151c8919739b558b78
+SHA1 (patch-third__party_xdg-utils_scripts_xdg-terminal.in) = cbfe88e4e7aa33a3f63b963ec19154148b8e6638
 SHA1 (patch-tools_battor__agent_BUILD.gn) = 957316e0916dfc4063d6cea68a96d3154d0ade2a
 SHA1 (patch-tools_gn_bootstrap_bootstrap.py) = 5868d6842def588c3eaef5d69473543d8eff40d0
 SHA1 (patch-tools_gn_setup.cc) = aaa675ca5d96d981c6264e8332b26fc560d3101a
diff --git a/chromium-browser/patches/patch-third__party_xdg-utils_scripts_xdg-terminal b/chromium-browser/patches/patch-third__party_xdg-utils_scripts_xdg-terminal
new file mode 100644
index 0000000..0c609ce
--- /dev/null
+++ b/chromium-browser/patches/patch-third__party_xdg-utils_scripts_xdg-terminal
@@ -0,0 +1,62 @@
+$NetBSD$
+
+--- third_party/xdg-utils/scripts/xdg-terminal.orig	2016-08-09 01:05:40.000000000 +0000
++++ third_party/xdg-utils/scripts/xdg-terminal
+@@ -302,7 +302,7 @@ detectDE()
+     elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
+     elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
+     elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
+-    elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde;
++    elif [ x"$DESKTOP_SESSION" = x"LXDE" ]; then DE=lxde;
+     else DE=""
+     fi
+ }
+@@ -331,7 +331,7 @@ terminal_kde()
+     terminal_exec=`which $terminal 2>/dev/null`
+ 
+     if [ -x "$terminal_exec" ]; then
+-        if [ x"$1" == x"" ]; then
++        if [ x"$1" = x"" ]; then
+             $terminal_exec
+         else
+             $terminal_exec -e "$1"
+@@ -358,10 +358,10 @@ terminal_gnome()
+     terminal_exec=`which $term_exec 2>/dev/null`
+ 
+     if [ -x "$terminal_exec" ]; then
+-        if [ x"$1" == x"" ]; then
++        if [ x"$1" = x"" ]; then
+             $terminal_exec
+         else
+-            if [ x"$term_exec_arg" == x"" ]; then
++            if [ x"$term_exec_arg" = x"" ]; then
+                 $terminal_exec "$1"
+             else
+                 $terminal_exec "$term_exec_arg" "$1"
+@@ -380,7 +380,7 @@ terminal_gnome()
+ 
+ terminal_xfce()
+ {
+-    if [ x"$1" == x"" ]; then
++    if [ x"$1" = x"" ]; then
+         exo-open --launch TerminalEmulator
+     else
+         exo-open --launch TerminalEmulator "$1"
+@@ -396,7 +396,7 @@ terminal_xfce()
+ terminal_generic()
+ {
+     # if $TERM is not set, try xterm
+-    if [ x"$TERM" == x"" ]; then
++    if [ x"$TERM" = x"" ]; then
+         TERM=xterm
+     fi
+ 
+@@ -416,7 +416,7 @@ terminal_generic()
+ terminal_lxde()
+ {
+     if which lxterminal &>/dev/null; then
+-        if [ x"$1" == x"" ]; then
++        if [ x"$1" = x"" ]; then
+             lxterminal
+         else
+             lxterminal -e "$1"
diff --git a/chromium-browser/patches/patch-third__party_xdg-utils_scripts_xdg-terminal.in b/chromium-browser/patches/patch-third__party_xdg-utils_scripts_xdg-terminal.in
new file mode 100644
index 0000000..fcc33e5
--- /dev/null
+++ b/chromium-browser/patches/patch-third__party_xdg-utils_scripts_xdg-terminal.in
@@ -0,0 +1,53 @@
+$NetBSD$
+
+--- third_party/xdg-utils/scripts/xdg-terminal.in.orig	2016-08-09 01:05:40.000000000 +0000
++++ third_party/xdg-utils/scripts/xdg-terminal.in
+@@ -35,7 +35,7 @@ terminal_kde()
+     terminal_exec=`which $terminal 2>/dev/null`
+ 
+     if [ -x "$terminal_exec" ]; then
+-        if [ x"$1" == x"" ]; then
++        if [ x"$1" = x"" ]; then
+             $terminal_exec
+         else
+             $terminal_exec -e "$1"
+@@ -62,10 +62,10 @@ terminal_gnome()
+     terminal_exec=`which $term_exec 2>/dev/null`
+ 
+     if [ -x "$terminal_exec" ]; then
+-        if [ x"$1" == x"" ]; then
++        if [ x"$1" = x"" ]; then
+             $terminal_exec
+         else
+-            if [ x"$term_exec_arg" == x"" ]; then
++            if [ x"$term_exec_arg" = x"" ]; then
+                 $terminal_exec "$1"
+             else
+                 $terminal_exec "$term_exec_arg" "$1"
+@@ -84,7 +84,7 @@ terminal_gnome()
+ 
+ terminal_xfce()
+ {
+-    if [ x"$1" == x"" ]; then
++    if [ x"$1" = x"" ]; then
+         exo-open --launch TerminalEmulator
+     else
+         exo-open --launch TerminalEmulator "$1"
+@@ -100,7 +100,7 @@ terminal_xfce()
+ terminal_generic()
+ {
+     # if $TERM is not set, try xterm
+-    if [ x"$TERM" == x"" ]; then
++    if [ x"$TERM" = x"" ]; then
+         TERM=xterm
+     fi
+ 
+@@ -120,7 +120,7 @@ terminal_generic()
+ terminal_lxde()
+ {
+     if which lxterminal &>/dev/null; then
+-        if [ x"$1" == x"" ]; then
++        if [ x"$1" = x"" ]; then
+             lxterminal
+         else
+             lxterminal -e "$1"


Home | Main Index | Thread Index | Old Index