Author: bdubbs Date: Sat Jan 2 14:27:34 2016 New Revision: 16783 Log: Skip reporting packages hosted on anduin in summary. Fix extra-cmake-modules.
Modified: trunk/scripts/blfs-chapter29.php trunk/scripts/summ-blfs.php Modified: trunk/scripts/blfs-chapter29.php ============================================================================== --- trunk/scripts/blfs-chapter29.php Sat Jan 2 10:06:11 2016 (r16782) +++ trunk/scripts/blfs-chapter29.php Sat Jan 2 14:27:34 2016 (r16783) @@ -12,7 +12,7 @@ $ignores = array(); $ignores[ 'kde-workspace' ] = ''; -//$current="kde-workspace"; +//$current="extra-cmake-modules"; $kde_ver = ""; $kde_lines = ""; @@ -21,9 +21,9 @@ //$regex[ 'agg' ] = "/^.*agg-(\d[\d\.]+\d).tar.*$/"; $url_fix = array ( -// array( 'pkg' => 'kde-workspace', -// 'match' => '^.*$', -// 'replace' => "http://download.kde.org/stable/4.14.2/src" ), + array( 'pkg' => 'extra-cmake-modules', + 'match' => '^.*$', + 'replace' => "http://download.kde.org/stable/frameworks" ), ); function get_packages( $package, $dirpath ) @@ -136,6 +136,12 @@ return find_max( $lines, "/\d\./", "/^.*;([\d\.]+)\/.*$/" ); } + if ( $book_index == "extra-cmake-modules" ) + { + $lines = http_get_file( "$dirpath" ); + $max = find_max( $lines, "/5/", "/^.*(5[\d\.]+)\/.*$/" ); + return $max . ".0"; + } if ( ! is_array($kde_lines) ) { Modified: trunk/scripts/summ-blfs.php ============================================================================== --- trunk/scripts/summ-blfs.php Sat Jan 2 10:06:11 2016 (r16782) +++ trunk/scripts/summ-blfs.php Sat Jan 2 14:27:34 2016 (r16783) @@ -77,7 +77,11 @@ $pkg == "oxygen-icons" || $pkg == "kde-base-artwork" || $pkg == "kde-baseapps" || - $pkg == "kdepimlibs" ) continue; + $pkg == "kdepimlibs" || + $pkg == "libdbusmenu-qt" || + $pkg == "juffed" || + $pkg == "qupzilla" + ) continue; if ( $c[3] == "0" ) $c[3] .= " "; $x = substr("chapter $c[0]: $c[1] ", 0, 32); -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
