From d13740b2baef1af97a2097b1353a185afa58abf7 Mon Sep 17 00:00:00 2001 From: Mark Vender Date: Thu, 12 Apr 2012 11:33:26 +0000 Subject: [PATCH] Fix the gdk/gdkkeysyms-update.pl to reflect new upstream location https://bugzilla.gnome.org/show_bug.cgi?id=673259 --- gdk/gdkkeysyms-update.pl | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/gdk/gdkkeysyms-update.pl b/gdk/gdkkeysyms-update.pl index 6d1fa14cfe..867141a3f4 100755 --- a/gdk/gdkkeysyms-update.pl +++ b/gdk/gdkkeysyms-update.pl @@ -1,15 +1,15 @@ #!/usr/bin/env perl -# Updates http://git.gnome.org/cgit/gtk+/tree/gdk/gdkkeysyms.h from upstream (X.org 7.x), -# from http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=keysymdef.h +# Updates http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms.h from upstream (X.org 7.x), +# from http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h # # Author : Simos Xenitellis . # Authos : Bastien Nocera # Version : 1.2 # -# Input : http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=keysymdef.h -# Input : http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=XF86keysym.h -# Output : http://git.gnome.org/cgit/gtk+/tree/gdk/gdkkeysyms.h +# Input : http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h +# Input : http://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h +# Output : http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms.h # # Notes : It downloads keysymdef.h from the Internet, if not found locally, # Notes : and creates an updated gdkkeysyms.h @@ -23,31 +23,31 @@ my @keysymelements; if ( ! -f "keysymdef.h" ) { print "Trying to download keysymdef.h from\n"; - print "http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=keysymdef.h\n"; - die "Unable to download keysymdef.h from http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=keysymdef.h\n" - unless system("wget -c -O keysymdef.h \"http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=keysymdef.h\"") == 0; + print "http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h\n"; + die "Unable to download keysymdef.h from http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h\n" + unless system("wget -c -O keysymdef.h \"http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h\"") == 0; print " done.\n\n"; } else { print "We are using existing keysymdef.h found in this directory.\n"; print "It is assumed that you took care and it is a recent version\n"; - print "as found at http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob;f=keysymdef.h\n\n"; + print "as found at http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h\n\n"; } if ( ! -f "XF86keysym.h" ) { print "Trying to download XF86keysym.h from\n"; - print "http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=XF86keysym.h\n"; - die "Unable to download keysymdef.h from http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=XF86keysym.h\n" - unless system("wget -c -O XF86keysym.h \"http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=XF86keysym.h\"") == 0; + print "http://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h\n"; + die "Unable to download keysymdef.h from http://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h\n" + unless system("wget -c -O XF86keysym.h \"http://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h\"") == 0; print " done.\n\n"; } else { print "We are using existing XF86keysym.h found in this directory.\n"; print "It is assumed that you took care and it is a recent version\n"; - print "as found at http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob;f=XF86keysym.h\n\n"; + print "as found at http://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h\n\n"; } if ( -f "gdkkeysyms.h" ) @@ -57,7 +57,7 @@ if ( -f "gdkkeysyms.h" ) die "Exiting...\n\n"; } -# Source: http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob;f=keysymdef.h +# Source: http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h die "Could not open file keysymdef.h: $!\n" unless open(IN_KEYSYMDEF, "<:utf8", "keysymdef.h"); # Output: gtk+/gdk/gdkkeysyms.h @@ -93,11 +93,11 @@ print OUT_GDKKEYSYMS_COMPAT $LICENSE_HEADER; print OUT_GDKKEYSYMS<)