diff options
author | Mark Vender <markv743@yahoo.co.uk> | 2012-04-12 11:33:26 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-04-25 20:29:29 -0400 |
commit | d13740b2baef1af97a2097b1353a185afa58abf7 (patch) | |
tree | 5fe5d9548ef13b7c74445e0b61957ebf10a61da8 /gdk/gdkkeysyms-update.pl | |
parent | af8e4ee8e7765c20f3c3e251111ff6ca9b2e1acd (diff) | |
download | gtk+-d13740b2baef1af97a2097b1353a185afa58abf7.tar.gz |
Fix the gdk/gdkkeysyms-update.pl to reflect new upstream location
https://bugzilla.gnome.org/show_bug.cgi?id=673259
Diffstat (limited to 'gdk/gdkkeysyms-update.pl')
-rwxr-xr-x | gdk/gdkkeysyms-update.pl | 36 |
1 files 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 <simos at gnome dot org>. # Authos : Bastien Nocera <hadess@hadess.net> # 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<<EOF; /* - * File auto-generated from script http://git.gnome.org/cgit/gtk+/tree/gdk/gdkkeysyms-update.pl + * File auto-generated from script http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms-update.pl * using the input file - * http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=keysymdef.h + * http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h * and - * http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=XF86keysym.h + * http://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h */ /* @@ -154,7 +154,7 @@ close IN_KEYSYMDEF; #$gdksyms{"0"} = "0000"; -# Source: http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob;f=XF86keysym.h +# Source: http://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h die "Could not open file XF86keysym.h: $!\n" unless open(IN_XF86KEYSYM, "<:utf8", "XF86keysym.h"); while (<IN_XF86KEYSYM>) |