From f2f53a69559d4649e7c4027422b276db8ad3b7ca Mon Sep 17 00:00:00 2001 From: Simos Xenitellis Date: Wed, 30 May 2007 13:23:40 +0000 Subject: [PATCH] =?UTF-8?q?Closed=20#442183=20=E2=80=93=20Updated=20gdk/gd?= =?UTF-8?q?kkeysyms-update.pl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=17984 --- ChangeLog | 5 +++++ gdk/gdkkeysyms-update.pl | 36 ++++++++++++++++++------------------ 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index cda28fe76c..c7355d95bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-30 Simos Xenitellis + + * gdk/gdkkeysyms-update.pl: Updated script to new upstream + location of keysymdef.h (#442183) + 2007-05-30 Emmanuele Bassi * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return diff --git a/gdk/gdkkeysyms-update.pl b/gdk/gdkkeysyms-update.pl index 564d32ee3d..4f59fd2b79 100755 --- a/gdk/gdkkeysyms-update.pl +++ b/gdk/gdkkeysyms-update.pl @@ -1,17 +1,17 @@ #!/usr/bin/env perl -# Updates http://cvs.gnome.org/viewcvs/gtk%2B/gdk/gdkkeysyms.h from upstream (X.org 6.9/7.0), -# OLD OLD -----from http://cvs.freedesktop.org/xorg/xc/include/keysymdef.h------ OLD OLD -# from http://webcvs.freedesktop.org/*checkout*/xorg/proto/X11/keysymdef.h +# Updates http://svn.gnome.org/viewcvs/gtk%2B/trunk/gdk/gdkkeysyms.h?view=log from upstream (X.org 7.x), +# from http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=keysymdef.h # # Author : Simos Xenitellis . -# Version : 1.0 +# Version : 1.2 # -# Input : http://webcvs.freedesktop.org/xorg/proto/X11/keysymdef.h -# Output : http://cvs.gnome.org/viewcvs/gtk%2B/gdk/gdkkeysyms.h +# Input : http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain;f=keysymdef.h +# Output : http://svn.gnome.org/svn/gtk+/trunk/gdk/gdkkeysyms.h # -# Notes : It downloads keysymdef.h from the Internet if not found locally +# Notes : It downloads keysymdef.h from the Internet, if not found locally, # Notes : and creates an updated gdkkeysyms.h +# Notes : This version updates the source of gdkkeysyms.h from CVS to the GIT server. use strict; @@ -21,23 +21,23 @@ my @keysymelements; if ( ! -f "keysymdef.h" ) { print "Trying to download keysymdef.h from\n"; - print "http://webcvs.freedesktop.org/xorg/proto/X11/keysymdef.h: "; - die "Unable to download keysymdef.h from http://webcvs.freedesktop.org/xorg/proto/X11/keysymdef.h\n" - unless system("wget -q \"http://webcvs.freedesktop.org/*checkout*/xorg/proto/X11/keysymdef.h\"") == 0; + 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 " done.\n\n"; } else { print "We are using existing keysymdef.h found in this directory.\n"; - print "It is assume that you took care and it is a recent version\n"; - print "as found at http://webcvs.freedesktop.org/*checkout*/xorg/proto/X11/keysymdef.h\n\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"; } if ( -f "gdkkeysyms.h" ) { print "There is already a gdkkeysyms.h file in this directory. We are not overwriting it.\n"; - print "Please move it in order to run this script.\n"; + print "Please move it somewhere else in order to run this script.\n"; die "Exiting...\n\n"; } @@ -50,7 +50,7 @@ die "Could not open file gdkkeysyms.h: $!\n" unless open(OUT_GDKKEYSYMS, ">:utf8 print OUT_GDKKEYSYMS<