Changeset 112372 in webkit


Ignore:
Timestamp:
Mar 28, 2012 1:22:33 AM (12 years ago)
Author:
Philippe Normand
Message:

[GTK] jhbuild wrongly tricked into clean-up
https://bugs.webkit.org/show_bug.cgi?id=82216

Reviewed by Gustavo Noronha Silva.

Save jhbuild{rc,.modules}.md5sum in Dependencies instead of the
build tree. Also when checking if the jhbuild configuration
changed use absolute md5sum paths.

  • Scripts/webkitdirs.pm:

(runAutogenForAutotoolsProjectIfNecessary):
(jhbuildConfigurationChanged):
(buildAutotoolsProject):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r112371 r112372  
     12012-03-28  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GTK] jhbuild wrongly tricked into clean-up
     4        https://bugs.webkit.org/show_bug.cgi?id=82216
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Save jhbuild{rc,.modules}.md5sum in Dependencies instead of the
     9        build tree. Also when checking if the jhbuild configuration
     10        changed use absolute md5sum paths.
     11
     12        * Scripts/webkitdirs.pm:
     13        (runAutogenForAutotoolsProjectIfNecessary):
     14        (jhbuildConfigurationChanged):
     15        (buildAutotoolsProject):
     16
    1172012-03-28  Csaba Osztrogonác  <ossy@webkit.org>
    218
  • trunk/Tools/Scripts/webkitdirs.pm

    r111929 r112372  
    17921792    print "Installation prefix directory: $prefix\n" if(defined($prefix));
    17931793
    1794     # Save md5sum for jhbuild-related files.
    1795     foreach my $file (qw(jhbuildrc jhbuild.modules)) {
    1796         my $path = join('/', $sourceDir, 'Tools', 'gtk', $file);
    1797         open(SUM, ">$file.md5sum");
    1798         print SUM getMD5HashForFile($path);
    1799         close(SUM);
    1800     }
    1801 
    18021794    # Only for WebKit, write the autogen.sh arguments to a file so that we can detect
    18031795    # when they change and automatically re-run it.
     
    18311823{
    18321824    foreach my $file (qw(jhbuildrc.md5sum jhbuild.modules.md5sum)) {
    1833         if (! -e $file) {
     1825        my $path = join('/', $sourceDir, "WebKitBuild", "Dependencies", $file);
     1826        if (! -e $path) {
    18341827            return 1;
    18351828        }
     
    18411834
    18421835        # Get our previous record.
    1843         open(PREVIOUS_MD5, $file);
     1836        open(PREVIOUS_MD5, $path);
    18441837        chomp(my $previousSum = <PREVIOUS_MD5>);
    18451838        close(PREVIOUS_MD5);
     
    19631956
    19641957        system("perl", "$sourceDir/Tools/Scripts/update-webkitgtk-libs") == 0 or die $!;
     1958    }
     1959
     1960    # Save md5sum for jhbuild-related files.
     1961    foreach my $file (qw(jhbuildrc jhbuild.modules)) {
     1962        my $source = join('/', $sourceDir, "Tools", "gtk", $file);
     1963        my $destination = join('/', $sourceDir, "WebKitBuild", "Dependencies", $file);
     1964        open(SUM, ">$destination" . ".md5sum");
     1965        print SUM getMD5HashForFile($source);
     1966        close(SUM);
    19651967    }
    19661968
Note: See TracChangeset for help on using the changeset viewer.