[packages/adapter: 521/631] - move more popular section (for me) to the bottom of file

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


commit b2cb3007fffc76e7786c43c8927478c527016e9f
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Feb 17 06:46:58 2011 +0000

    - move more popular section (for me) to the bottom of file
    
    Changed files:
        adapter.awk -> 1.490

 adapter.awk | 138 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 69 insertions(+), 69 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 66b88d7..033326d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1926,6 +1926,75 @@ function replace_php_virtual_deps() {
 	}
 }
 
+function replace_groupnames(group) {
+	group = replace(group, "Amusements/Games", "Applications/Games");
+	group = replace(group, "Amusements/Games/Strategy/Real Time", "X11/Applications/Games/Strategy");
+	group = replace(group, "Application/Multimedia", "Applications/Multimedia");
+	group = replace(group, "Application/System", "Applications/System");
+	group = replace(group, "Applications/Compilers", "Development/Languages");
+	group = replace(group, "Applications/Daemons", "Daemons");
+	group = replace(group, "Applications/Internet", "Applications/Networking");
+	group = replace(group, "Applications/Internet/Peer to Peer", "Applications/Networking");
+	group = replace(group, "Applications/Productivity", "X11/Applications");
+	group = replace(group, "Applications/Security", "Applications/System");
+	group = replace(group, "Applications/Web", "Applications/WWW");
+	group = replace(group, "Database", "Applications/Databases");
+	group = replace(group, "Development/C", "Development/Libraries");
+	group = replace(group, "Development/Code Generators", "Development");
+	group = replace(group, "Development/Docs", "Documentation");
+	group = replace(group, "Development/Documentation", "Documentation");
+	group = replace(group, "Development/Java", "Development/Languages/Java");
+	group = replace(group, "Development/Languages/C and C++", "Libraries");
+	group = replace(group, "Development/Languages/Other", "Development/Languages");;
+	group = replace(group, "Development/Languages/Ruby", "Development/Languages");
+	group = replace(group, "Development/Libraries/C and C++", "Development/Libraries");
+	group = replace(group, "Development/Libraries/Java", "Development/Languages/Java");
+	group = replace(group, "Development/Libraries/Python", "Development/Languages/Python");
+	group = replace(group, "Development/Libraries/TCL", "Development/Languages/Tcl");;
+	group = replace(group, "Development/Other", "Development");
+	group = replace(group, "Development/Python", "Development/Languages/Python");
+	group = replace(group, "Development/Testing", "Development");
+	group = replace(group, "Editors", "Applications/Text");
+	group = replace(group, "Emulators", "Applications/Emulators");
+	group = replace(group, "File tools", "Applications/File");
+	group = replace(group, "Games", "Applications/Games");
+	group = replace(group, "Library/Development", "Development/Libraries");
+	group = replace(group, "Networking/Deamons", "Networking/Daemons");
+	group = replace(group, "Networking/Mail", "Applications/Mail");
+	group = replace(group, "Networking/Other", "Networking");
+	group = replace(group, "Productivity/Databases/Servers", "Applications/Databases");
+	group = replace(group, "Productivity/Multimedia/Other", "X11/Applications/Multimedia");
+	group = replace(group, "Productivity/Networking/Web/Servers", "Networking/Daemons/HTTP");;
+	group = replace(group, "Shells", "Applications/Shells");
+	group = replace(group, "System Environment/Base", "Base");
+	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");
+	group = replace(group, "System/Libraries", "Libraries");
+	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, "Text tools", "Applications/Text");
+	group = replace(group, "User Interface/Desktops", "X11/Applications");
+	group = replace(group, "Utilities/System", "Applications/System");
+	group = replace(group, "Web/Database", "Applications/WWW");
+	group = replace(group, "X11/GNOME", "X11/Applications");
+	group = replace(group, "X11/GNOME/Applications", "X11/Applications");
+	group = replace(group, "X11/GNOME/Development/Libraries", "X11/Development/Libraries");
+	group = replace(group, "X11/Games", "X11/Applications/Games");
+	group = replace(group, "X11/Games/Strategy", "X11/Applications/Games/Strategy");
+	group = replace(group, "X11/Library", "X11/Libraries");
+	group = replace(group, "X11/Utilities", "X11/Applications");
+	group = replace(group, "X11/XFree86", "X11");
+	group = replace(group, "X11/Xserver", "X11/Servers");
+
+	return group;
+}
+
 function replace_requires() {
 
 	sub(/^python-setuptools-devel$/, "python-distribute", $2);
@@ -2097,73 +2166,4 @@ function replace_requires() {
 	replace_php_virtual_deps()
 }
 
-function replace_groupnames(group) {
-	group = replace(group, "Amusements/Games", "Applications/Games");
-	group = replace(group, "Amusements/Games/Strategy/Real Time", "X11/Applications/Games/Strategy");
-	group = replace(group, "Application/Multimedia", "Applications/Multimedia");
-	group = replace(group, "Application/System", "Applications/System");
-	group = replace(group, "Applications/Compilers", "Development/Languages");
-	group = replace(group, "Applications/Daemons", "Daemons");
-	group = replace(group, "Applications/Internet", "Applications/Networking");
-	group = replace(group, "Applications/Internet/Peer to Peer", "Applications/Networking");
-	group = replace(group, "Applications/Productivity", "X11/Applications");
-	group = replace(group, "Applications/Security", "Applications/System");
-	group = replace(group, "Applications/Web", "Applications/WWW");
-	group = replace(group, "Database", "Applications/Databases");
-	group = replace(group, "Development/C", "Development/Libraries");
-	group = replace(group, "Development/Code Generators", "Development");
-	group = replace(group, "Development/Docs", "Documentation");
-	group = replace(group, "Development/Documentation", "Documentation");
-	group = replace(group, "Development/Java", "Development/Languages/Java");
-	group = replace(group, "Development/Languages/C and C++", "Libraries");
-	group = replace(group, "Development/Languages/Other", "Development/Languages");;
-	group = replace(group, "Development/Languages/Ruby", "Development/Languages");
-	group = replace(group, "Development/Libraries/C and C++", "Development/Libraries");
-	group = replace(group, "Development/Libraries/Java", "Development/Languages/Java");
-	group = replace(group, "Development/Libraries/Python", "Development/Languages/Python");
-	group = replace(group, "Development/Libraries/TCL", "Development/Languages/Tcl");;
-	group = replace(group, "Development/Other", "Development");
-	group = replace(group, "Development/Python", "Development/Languages/Python");
-	group = replace(group, "Development/Testing", "Development");
-	group = replace(group, "Editors", "Applications/Text");
-	group = replace(group, "Emulators", "Applications/Emulators");
-	group = replace(group, "File tools", "Applications/File");
-	group = replace(group, "Games", "Applications/Games");
-	group = replace(group, "Library/Development", "Development/Libraries");
-	group = replace(group, "Networking/Deamons", "Networking/Daemons");
-	group = replace(group, "Networking/Mail", "Applications/Mail");
-	group = replace(group, "Networking/Other", "Networking");
-	group = replace(group, "Productivity/Databases/Servers", "Applications/Databases");
-	group = replace(group, "Productivity/Multimedia/Other", "X11/Applications/Multimedia");
-	group = replace(group, "Productivity/Networking/Web/Servers", "Networking/Daemons/HTTP");;
-	group = replace(group, "Shells", "Applications/Shells");
-	group = replace(group, "System Environment/Base", "Base");
-	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");
-	group = replace(group, "System/Libraries", "Libraries");
-	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, "Text tools", "Applications/Text");
-	group = replace(group, "User Interface/Desktops", "X11/Applications");
-	group = replace(group, "Utilities/System", "Applications/System");
-	group = replace(group, "Web/Database", "Applications/WWW");
-	group = replace(group, "X11/GNOME", "X11/Applications");
-	group = replace(group, "X11/GNOME/Applications", "X11/Applications");
-	group = replace(group, "X11/GNOME/Development/Libraries", "X11/Development/Libraries");
-	group = replace(group, "X11/Games", "X11/Applications/Games");
-	group = replace(group, "X11/Games/Strategy", "X11/Applications/Games/Strategy");
-	group = replace(group, "X11/Library", "X11/Libraries");
-	group = replace(group, "X11/Utilities", "X11/Applications");
-	group = replace(group, "X11/XFree86", "X11");
-	group = replace(group, "X11/Xserver", "X11/Servers");
-
-	return group;
-}
-
 # 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