[packages/adapter: 360/631] - match Summary(pl.UTF-8): - others
glen
glen at pld-linux.org
Mon Sep 12 20:04:37 CEST 2016
commit 2b94cfb497e6f244bd60af3018203122aef28306
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Feb 12 21:49:31 2007 +0000
- match Summary(pl.UTF-8):
- others
Changed files:
adapter.awk -> 1.347
adapter.awk | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 7c97757..76e1efd 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -684,6 +684,8 @@ preamble == 1 {
sub(/^System Environment\/Base$/, "Base", group)
sub(/^System$/, "Base", group)
sub(/^Applications\/Productivity$/, "X11/Applications", group)
+ sub(/^Database$/, "Applications/Databases", group)
+ sub(/^Development\/Code Generators$/, "Development", group)
$0 = "Group:\t\t" group
@@ -748,10 +750,12 @@ preamble == 1 {
sub(/^java-devel$/, "jdk", $2);
sub(/^log4j$/, "jakarta-log4j", $2);
sub(/^oro$/, "jakarta-oro", $2);
+ sub(/^jakarta-ant$/, "ant", $2);
sub(/^xerces-j2$/, "xerces-j", $2);
- sub(/^ant-junit$/, "jakarta-ant", $2);
sub(/^ldapjdk$/, "ldapsdk", $2);
sub(/^saxon-scripts$/, "saxon", $2);
+ sub(/^xalan-j2$/, "xalan-j", $2);
+ sub(/^xerces-j2$/, "xerces-j", $2);
replace_php_virtual_deps();
}
@@ -1055,11 +1059,12 @@ function format_preamble()
return;
}
sub(/:[ \t]*/, ":")
- if (match($0, /[A-Za-z0-9(),#_ \t]+[ \t]*:[ \t]*/) == 1) {
- if (RLENGTH < 8)
+ if (match($0, /[A-Za-z0-9(),#_ \t.-]+[ \t]*:[ \t]*/) == 1) {
+ if (RLENGTH < 8) {
sub(/:/, ":\t\t")
- else
+ } else {
sub(/:/, ":\t")
+ }
}
}
@@ -1652,4 +1657,4 @@ function replace_php_virtual_deps()
}
}
-# vim:ts=4:sw=4:et
+# vim:ts=4:sw=4
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list