Author: bdubbs Date: Mon Aug 1 13:12:47 2016 New Revision: 17620 Log: Script updates for new gnome related packages
Modified: trunk/scripts/blfs-chapter09.php trunk/scripts/blfs-chapter11.php trunk/scripts/blfs-chapter12.php trunk/scripts/blfs-chapter35.php Modified: trunk/scripts/blfs-chapter09.php ============================================================================== --- trunk/scripts/blfs-chapter09.php Sun Jul 31 14:33:33 2016 (r17619) +++ trunk/scripts/blfs-chapter09.php Mon Aug 1 13:12:47 2016 (r17620) @@ -12,7 +12,7 @@ $renames[ 'v' ] = 'liblinear'; $ignores = array(); -//$current="grantlee"; // For debugging +//$current="libwacom"; // For debugging $regex = array(); $regex[ 'clucene-core' ] = "/^.*Download clucene-core-([\d\.]+).tar.*$/"; @@ -51,6 +51,10 @@ 'match' => '^.*$', 'replace' => "http://$sf/projects/iodbc/files" ), + array( 'pkg' => 'libwacom', + 'match' => '^.*$', + 'replace' => "https://sourceforge.net/projects/linuxwacom/files/libwacom" ), + array( 'pkg' => 'gamin', 'match' => '^.*$', 'replace' => "https://people.gnome.org/~veillard/gamin/sources" ), Modified: trunk/scripts/blfs-chapter11.php ============================================================================== --- trunk/scripts/blfs-chapter11.php Sun Jul 31 14:33:33 2016 (r17619) +++ trunk/scripts/blfs-chapter11.php Mon Aug 1 13:12:47 2016 (r17620) @@ -11,17 +11,21 @@ $renames = array(); $renames[ 'lsof_' ] = 'lsof'; $renames[ 'rep-gtk_' ] = 'rep-gtk'; -//$renames[ 'tidy-cvs_' ] = 'tidy'; $ignores = array(); $regex = array(); +$regex[ 'bogofilter' ] = "/^.*Download bogofilter-(\d[\d\.]+\d).tar.*$/"; $regex[ 'intltool' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/"; $regex[ 'xscreensaver' ] = "/^.*xscreensaver-(\d[\d\.]+\d).tar.*$/"; -//$current="hd2u"; // For debugging +//$current="ibus"; // For debugging $url_fix = array ( + array( 'pkg' => 'bogofilter', + 'match' => '^.*$', + 'replace' => "https://sourceforge.net/projects/bogofilter/files" ), + array( 'pkg' => 'asciidoc', 'match' => '^.*$', 'replace' => "http://www.methods.co.nz/asciidoc/INSTALL.html" ), @@ -46,6 +50,14 @@ 'match' => '^.*$', 'replace' => "https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/" ), + array( 'pkg' => 'highlight', + 'match' => '^.*$', + 'replace' => "http://www.andre-simon.de/zip/download.php" ), + + array( 'pkg' => 'ibus', + 'match' => '^.*$', + 'replace' => "https://github.com/ibus/ibus/releases" ), + array( 'pkg' => 'tidy', 'match' => '^.*$', 'replace' => "https://github.com/htacg/tidy-html5/releases" ), Modified: trunk/scripts/blfs-chapter12.php ============================================================================== --- trunk/scripts/blfs-chapter12.php Sun Jul 31 14:33:33 2016 (r17619) +++ trunk/scripts/blfs-chapter12.php Mon Aug 1 13:12:47 2016 (r17620) @@ -9,7 +9,8 @@ $STOP_PACKAGE = 'zip'; $renames = array(); -//$renames[ 'at_' ] = 'at'; +$renames[ 'colord' ] = 'colord-1.2'; +$renames[ 'colord1' ] = 'colord-1.3'; $renames[ 'udisks1' ] = 'udisks2'; $renames[ 'sg' ] = 'sg3_utils'; $renames[ 'unrarsrc' ] = 'unrar'; @@ -17,7 +18,7 @@ $ignores = array(); -//$current="heirloom"; +//$current="colord1"; $regex = array(); $regex[ 'acpid' ] = "/^.*Download acpid-(\d[\d\.]+\d).tar.*$/"; @@ -175,6 +176,9 @@ if ( $book_index == "colord" ) return find_even_max( $lines, '/colord/', '/^.*colord-(\d[\d\.]*\d).tar.*$/' ); + if ( $book_index == "colord1" ) + return find_max( $lines, '/colord/', '/^.*colord-(\d[\d\.]*\d).tar.*$/' ); + if ( $book_index == "fcron" ) return find_max( $lines, '/fcron/', '/^.*fcron-(\d[\d\.]*\d).src.tar.*$/' ); Modified: trunk/scripts/blfs-chapter35.php ============================================================================== --- trunk/scripts/blfs-chapter35.php Sun Jul 31 14:33:33 2016 (r17619) +++ trunk/scripts/blfs-chapter35.php Mon Aug 1 13:12:47 2016 (r17620) @@ -13,7 +13,7 @@ $kde_ver = ""; -//$current="polkit-gnome"; // Foir debugging +//$current="telepathy-glib"; // For debugging $regex = array(); //$regex[ 'libzeitgeist' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/"; @@ -144,7 +144,7 @@ // Most packages are in the form $package-n.n.n // Occasionally there are dashes (e.g. 201-1) - $max = find_max( $lines, "/$package/", "/^.*$package-([\d\.]*\d)\.tar.*$/" ); + $max = find_max( $lines, "/$package/", "/^.*$package-([\d\.]*\d)\.tar.*$/", TRUE ); return $max; } -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page