~ubuntu-branches/ubuntu/hardy/gnome-menus/hardy-updates

« back to all changes in this revision

Viewing changes to intltool-update.in

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-05-13 23:38:03 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20070513233803-mtmrb4uq8wj1qf71
Tags: 2.19.2-0ubuntu1
* New upstream version:
  Menu Layout
  - Fix "system-wide" typo (Ubuntu: #28354)
  - Put Preferences before Administration in the System menu
  - Use icons from the icon naming spec
  - Use Universal Access instead of Accessibility
  - Use System instead of Desktop since the menu got renamed 
  - Do not require the Application category in the Other submenu 
    (Ubuntu: #47426)
  Menu Editor
  - Fix a crash when unselecting the current menu (Ubuntu: #91254)
  - Require pygtk at runtime
  - Use the python executable found by configure
  Misc
  - Require automake 1.9
* debian/patches/06_desktop_rename.patch:
  - dropped, fixed with the new version
* debian/patches/08_system_menus_order.patch:
  - dropped, fixed with the new version
* debian/patches/70_reautogen.patch:
  - updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
563
563
    exit 1;
564
564
}
565
565
 
 
566
sub isIntltoolExtractInPath
 
567
{
 
568
    my ($file) = @_;
 
569
    # If either a file exists, or when run it returns 0 exit status
 
570
    return 1 if ((-x $file) or (system("$file >/dev/null") == 0));
 
571
    return 0;
 
572
}
 
573
 
566
574
sub GenerateHeaders
567
575
{
568
576
    my $EXTRACT = $ENV{"INTLTOOL_EXTRACT"} || "intltool-extract";
569
577
 
570
578
    ## Generate the .h header files, so we can allow glade and
571
579
    ## xml translation support
572
 
    if (! -x "$EXTRACT")
 
580
    if (! isIntltoolExtractInPath("$EXTRACT"))
573
581
    {
574
582
        print STDERR "\n *** The intltool-extract script wasn't found!"
575
583
             ."\n *** Without it, intltool-update can not generate files.\n";