OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 28-Aug-2005 22:05:43
Branch: HEAD Handle: 2005082821054100
Modified files:
openpkg-src/leo leo.patch leo.spec
Log:
fix output of searches with annotations (like 'behavior')
Summary:
Revision Changes Path
1.3 +12 -2 openpkg-src/leo/leo.patch
1.2 +1 -1 openpkg-src/leo/leo.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/leo/leo.patch
============================================================================
$ cvs diff -u -r1.2 -r1.3 leo.patch
--- openpkg-src/leo/leo.patch 5 Jun 2005 11:43:00 -0000 1.2
+++ openpkg-src/leo/leo.patch 28 Aug 2005 20:05:41 -0000 1.3
@@ -1,6 +1,6 @@
Index: leo
--- leo.orig 2005-04-18 12:46:37 +0200
-+++ leo 2005-06-05 13:42:12 +0200
++++ leo 2005-08-28 22:04:45 +0200
@@ -34,8 +34,8 @@
#
my $highlight = 1;
@@ -12,7 +12,17 @@
my $ip = "dict.leo.org";
my $port = "80";
-@@ -511,18 +511,13 @@
+@@ -397,6 +397,9 @@
+ # remove match hint, we are counting ourselfes
+ $site =~ s/\d+?\s*treffer//i;
+
++ # remove sub/super-script word annotations
++ $site =~ s/<(sub|sup)>.*?<\/\1>//gsi;
++
+ # make single line per entry
+ my @segments = split /<\/TR>\s*<TR>/i, $site;
+ my $progress;
+@@ -511,18 +514,13 @@
# dict entry
$entry->{left} =~ s/^(.*)$/$1 . " " x ($maxsize - length($1))/e;
if ($highlight) {
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/leo/leo.spec
============================================================================
$ cvs diff -u -r1.1 -r1.2 leo.spec
--- openpkg-src/leo/leo.spec 5 Jun 2005 11:32:01 -0000 1.1
+++ openpkg-src/leo/leo.spec 28 Aug 2005 20:05:41 -0000 1.2
@@ -33,7 +33,7 @@
Group: Web
License: GPL
Version: 1.24
-Release: 20050605
+Release: 20050828
# list of sources
Source0: ftp://ftp.daemon.de/scip/Scripts/leo-%{version}.tar.gz
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]