[packages/gnome-terminal] - include ";" in default wordseps, to be able nicely copy cgit urls

glen glen at pld-linux.org
Fri Oct 26 15:25:19 CEST 2012


commit 81e71516ed3bcf3733318fb509259d492b74209f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Oct 26 16:25:07 2012 +0300

    - include ";" in default wordseps, to be able nicely copy cgit urls

 gnome-terminal.spec |  4 +++-
 wordseps.patch      | 26 ++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/gnome-terminal.spec b/gnome-terminal.spec
index 55d2b5e..e08e023 100644
--- a/gnome-terminal.spec
+++ b/gnome-terminal.spec
@@ -2,12 +2,13 @@ Summary:	GNOME Terminal
 Summary(pl.UTF-8):	Terminal dla GNOME
 Name:		gnome-terminal
 Version:	3.6.1
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/3.6/%{name}-%{version}.tar.xz
 # Source0-md5:	fc12453283199c2889fe1173cbd82a9b
 Patch0:		%{name}-desktop.patch
+Patch1:		wordseps.patch
 URL:		http://www.gnome.org/
 BuildRequires:	GConf2-devel >= 2.32.0
 BuildRequires:	autoconf >= 2.53
@@ -49,6 +50,7 @@ To jest terminal, na razie całkowicie nie dokończony.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__intltoolize}
diff --git a/wordseps.patch b/wordseps.patch
new file mode 100644
index 0000000..acea8cd
--- /dev/null
+++ b/wordseps.patch
@@ -0,0 +1,26 @@
+similar patches:
+- konsole: http://git.pld-linux.org/?p=packages/kdebase.git;a=blob;f=kdebase-konsole-wordseps.patch
+- Terminal: http://git.pld-linux.org/?p=packages/Terminal.git;a=blob;f=wordseps.patch
+
+--- gnome-terminal-3.6.1/./src/terminal-profile.c~	2012-10-16 02:01:59.000000000 +0300
++++ gnome-terminal-3.6.1/./src/terminal-profile.c	2012-10-26 16:21:43.040188115 +0300
+@@ -166,7 +166,7 @@
+ #define DEFAULT_USE_SYSTEM_FONT       (TRUE)
+ #define DEFAULT_USE_THEME_COLORS      (TRUE)
+ #define DEFAULT_VISIBLE_NAME          (N_("Unnamed"))
+-#define DEFAULT_WORD_CHARS            ("-A-Za-z0-9,./?%&#:_=+@~")
++#define DEFAULT_WORD_CHARS            ("-A-Za-z0-9,./?%&#:_=+@~;")
+ 
+ struct _TerminalProfilePrivate
+ {
+--- gnome-terminal-3.6.1/./src/gnome-terminal.schemas.in~	2012-10-16 02:01:59.000000000 +0300
++++ gnome-terminal-3.6.1/./src/gnome-terminal.schemas.in	2012-10-26 16:24:02.153121212 +0300
+@@ -283,7 +283,7 @@
+       <applyto>/apps/gnome-terminal/profiles/Default/word_chars</applyto>
+       <owner>gnome-terminal</owner>
+       <type>string</type>
+-      <default>-A-Za-z0-9,./?%&#:_=+@~</default>
++      <default>-A-Za-z0-9,./?%&#:_=+@~;</default>
+       <locale name="C">
+          <short>Characters that are considered "part of a word"</short>
+          <long>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-terminal.git/commitdiff/81e71516ed3bcf3733318fb509259d492b74209f



More information about the pld-cvs-commit mailing list