[packages/adapter: 458/631] - more groups, replace homepage->url in preamble

glen glen at pld-linux.org
Mon Sep 12 20:12:50 CEST 2016


commit ad2932df57951958ebfdb01518415bf6ace10b87
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Jan 30 07:44:48 2010 +0000

    - more groups, replace homepage->url in preamble
    
    Changed files:
        adapter.awk -> 1.429

 adapter.awk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 717008e..3fc8815 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -730,6 +730,11 @@ preamble == 1 {
 		$1 = "License:"
 	}
 
+	# ease updating from debian .dsc
+	if (field ~ /homepage:/) {
+		$1 = "URL:"
+	}
+
 	if (field ~ /license:/) {
 		l = substr($0, index($0, $2));
 		if (l == "Python Software Foundation License") {
@@ -1877,6 +1882,7 @@ function replace_groupnames(group) {
 	group = replace(group, "System Environment/Daemons", "Daemons");
 	group = replace(group, "System Environment/Kernel", "Base/Kernel");
 	group = replace(group, "System Environment/Libraries", "Libraries");
+	group = replace(group, "System Tools", "Applications/System");
 	group = replace(group, "System", "Base");
 	group = replace(group, "System/Base", "Base");
 	group = replace(group, "System/Kernel and hardware", "Base/Kernel");
@@ -1884,6 +1890,7 @@ function replace_groupnames(group) {
 	group = replace(group, "System/Servers", "Daemons");
 	group = replace(group, "Text Processing/Markup/HTML", "Applications/Text");
 	group = replace(group, "Text Processing/Markup/XML", "Applications/Text");
+	group = replace(group, "User Interface/Desktops", "X11/Applications");
 	group = replace(group, "Web/Database", "Applications/WWW");
 	group = replace(group, "X11/GNOME", "X11/Applications");
 	group = replace(group, "X11/GNOME/Applications", "X11/Applications");
@@ -1894,7 +1901,6 @@ function replace_groupnames(group) {
 	group = replace(group, "X11/Utilities", "X11/Applications");
 	group = replace(group, "X11/XFree86", "X11");
 	group = replace(group, "X11/Xserver", "X11/Servers");
-	group = replace(group, "User Interface/Desktops", "X11/Applications");
 
 	return group;
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list