Changeset 112372 in webkit
- Timestamp:
- Mar 28, 2012 1:22:33 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r112371 r112372 1 2012-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 1 17 2012-03-28 Csaba Osztrogonác <ossy@webkit.org> 2 18 -
trunk/Tools/Scripts/webkitdirs.pm
r111929 r112372 1792 1792 print "Installation prefix directory: $prefix\n" if(defined($prefix)); 1793 1793 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 1802 1794 # Only for WebKit, write the autogen.sh arguments to a file so that we can detect 1803 1795 # when they change and automatically re-run it. … … 1831 1823 { 1832 1824 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) { 1834 1827 return 1; 1835 1828 } … … 1841 1834 1842 1835 # Get our previous record. 1843 open(PREVIOUS_MD5, $ file);1836 open(PREVIOUS_MD5, $path); 1844 1837 chomp(my $previousSum = <PREVIOUS_MD5>); 1845 1838 close(PREVIOUS_MD5); … … 1963 1956 1964 1957 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); 1965 1967 } 1966 1968
Note: See TracChangeset
for help on using the changeset viewer.