Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/visual-regexp/files: visual-regexp-3.1-make-regexp-fix.patch visual-regexp-3.1-help-font-fix.patch visual-regexp-3.1-wish-fix.patch wish-fix.diff
Date: Sat, 01 Feb 2014 09:44:26
Message-Id: 20140201094422.EF4E22004C@flycatcher.gentoo.org
1 pinkbyte 14/02/01 09:44:22
2
3 Added: visual-regexp-3.1-make-regexp-fix.patch
4 visual-regexp-3.1-help-font-fix.patch
5 visual-regexp-3.1-wish-fix.patch
6 Removed: wish-fix.diff
7 Log:
8 Version bump, wrt bug #494586, thanks to Quentin Minster <quentin AT minster.io>, drop old
9
10 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
11
12 Revision Changes Path
13 1.1 dev-util/visual-regexp/files/visual-regexp-3.1-make-regexp-fix.patch
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/visual-regexp/files/visual-regexp-3.1-make-regexp-fix.patch?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/visual-regexp/files/visual-regexp-3.1-make-regexp-fix.patch?rev=1.1&content-type=text/plain
17
18 Index: visual-regexp-3.1-make-regexp-fix.patch
19 ===================================================================
20 diff -ur a/visual_regexp.tcl b/visual_regexp.tcl
21 --- a/visual_regexp.tcl 2013-11-11 12:11:34.256631106 +0100
22 +++ b/visual_regexp.tcl 2013-11-11 11:50:46.614881803 +0100
23 @@ -1437,7 +1439,7 @@
24 set output [text $f.output \
25 -wrap char \
26 -undo 1 \
27 - -background white
28 + -background white \
29 -font $::font_regexp \
30 -selectbackground lightblue \
31 -selectborderwidth 0 \
32
33
34
35 1.1 dev-util/visual-regexp/files/visual-regexp-3.1-help-font-fix.patch
36
37 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/visual-regexp/files/visual-regexp-3.1-help-font-fix.patch?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/visual-regexp/files/visual-regexp-3.1-help-font-fix.patch?rev=1.1&content-type=text/plain
39
40 Index: visual-regexp-3.1-help-font-fix.patch
41 ===================================================================
42 diff -ur a/visual_regexp.tcl b/visual_regexp.tcl
43 --- a/visual_regexp.tcl 2013-11-10 01:49:14.987065220 +0100
44 +++ b/visual_regexp.tcl 2013-11-10 01:49:04.177341077 +0100
45 @@ -740,10 +740,13 @@
46 frame .help.text;
47
48 if {$tcl_platform(platform) == "windows"} {
49 - text .help.text.t -borderwidth 2 -relief groove -font {Courier 10} -yscrollcommand [list .help.text.sy set];
50 + set hfont {Courier 10}
51 + set hbfont {Courier 10 bold}
52 } else {
53 - text .help.text.t -borderwidth 2 -relief groove -yscrollcommand [list .help.text.sy set];
54 + set hfont {9x15}
55 + set hbfont {9x15bold}
56 }
57 + text .help.text.t -borderwidth 2 -relief groove -font $hfont -yscrollcommand [list .help.text.sy set];
58
59 scrollbar .help.text.sy \
60 -command ".help.text.t yview" \
61 @@ -755,10 +758,10 @@
62
63 pack .help.text -side top -fill both -expand 1 -padx 20
64
65 - .help.text.t tag configure bold -font "[.help.text.t cget -font] bold"
66 + .help.text.t tag configure bold -font $hbfont
67 .help.text.t insert 1.0 "Version:" bold " $::version
68
69 -" normal "Usage:" bold " tkregexp <sampleFile>
70 +" normal "Usage:" bold " [file tail $::argv0] <sampleFile>
71
72 " normal "Key bindings:" bold " Alt-q exit
73 Alt-a toggle 'all' flag
74
75
76
77 1.1 dev-util/visual-regexp/files/visual-regexp-3.1-wish-fix.patch
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/visual-regexp/files/visual-regexp-3.1-wish-fix.patch?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/visual-regexp/files/visual-regexp-3.1-wish-fix.patch?rev=1.1&content-type=text/plain
81
82 Index: visual-regexp-3.1-wish-fix.patch
83 ===================================================================
84 diff -ur a/visual_regexp.tcl b/visual_regexp.tcl
85 --- a/visual_regexp.tcl 2013-10-29 03:42:43.443932232 +0100
86 +++ b/visual_regexp.tcl 2013-10-29 03:35:35.441951822 +0100
87 @@ -1,7 +1,6 @@
88 -package require starkit
89 -starkit::startup
90 +#!/usr/bin/wish
91
92 -set version 3.0
93 +set version 3.1
94
95 ###############################################################################################
96 #