Author: bdubbs Date: Sat Jul 16 13:30:44 2016 New Revision: 17591 Log: Fix scripts for grantlee, compface, hd2u, and libvdpau-va-gl. Update hd2u url
Modified: trunk/BOOK/general/genutils/hd2u.xml trunk/scripts/blfs-chapter09.php trunk/scripts/blfs-chapter11.php trunk/scripts/blfs-chapter24.php Modified: trunk/BOOK/general/genutils/hd2u.xml ============================================================================== --- trunk/BOOK/general/genutils/hd2u.xml Fri Jul 15 17:09:38 2016 (r17590) +++ trunk/BOOK/general/genutils/hd2u.xml Sat Jul 16 13:30:44 2016 (r17591) @@ -4,7 +4,7 @@ <!ENTITY % general-entities SYSTEM "../../general.ent"> %general-entities; -<!ENTITY hd2u-download-http "http://terminus.sk/~hany/_data/hd2u/hd2u-&hd2u-version;.tgz"> +<!ENTITY hd2u-download-http "http://hany.sk/~hany/_data/hd2u/hd2u-&hd2u-version;.tgz"> <!ENTITY hd2u-download-ftp " "> <!ENTITY hd2u-md5sum "8f6668fafb279aa19f956ec0515717b6"> <!ENTITY hd2u-size "64 KB"> Modified: trunk/scripts/blfs-chapter09.php ============================================================================== --- trunk/scripts/blfs-chapter09.php Fri Jul 15 17:09:38 2016 (r17590) +++ trunk/scripts/blfs-chapter09.php Sat Jul 16 13:30:44 2016 (r17591) @@ -12,7 +12,7 @@ $renames[ 'v' ] = 'liblinear'; $ignores = array(); -//$current="v"; // For debugging +//$current="grantlee"; // For debugging $regex = array(); $regex[ 'clucene-core' ] = "/^.*Download clucene-core-([\d\.]+).tar.*$/"; @@ -334,7 +334,7 @@ return find_max( $lines, '/.*/', '/^([\d\.]+).*$/' ); if ( $book_index == "grantlee" ) - return find_max( $lines, "/$package/", "/^.*$package-(0[\d\.]*\d)\.tar.*$/" ); + return find_max( $lines, "/$package/", "/^.*$package-([\d\.]*\d)\.tar.*$/" ); // Most packages are in the form $package-n.n.n // Occasionally there are dashes (e.g. 201-1) Modified: trunk/scripts/blfs-chapter11.php ============================================================================== --- trunk/scripts/blfs-chapter11.php Fri Jul 15 17:09:38 2016 (r17590) +++ trunk/scripts/blfs-chapter11.php Sat Jul 16 13:30:44 2016 (r17591) @@ -19,7 +19,7 @@ $regex[ 'intltool' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/"; $regex[ 'xscreensaver' ] = "/^.*xscreensaver-(\d[\d\.]+\d).tar.*$/"; -//$current="asciidoc"; // For debugging +//$current="hd2u"; // For debugging $url_fix = array ( array( 'pkg' => 'asciidoc', @@ -30,6 +30,10 @@ 'match' => '^.*$', 'replace' => "https://alioth.debian.org/projects/chrpath" ), + array( 'pkg' => 'compface', + 'match' => '^.*$', + 'replace' => "http://freecode.com/projects/compface" ), + array( //'pkg' => 'gnome', 'match' => '^ftp:\/\/ftp.gnome', 'replace' => "http://ftp.gnome" ), @@ -147,6 +151,9 @@ if ( $book_index == "chrpath" ) return find_max( $lines, '/0\./', '/^\s*([\d\.]+).*$/' ); + if ( $book_index == "compface" ) + return find_max( $lines, '/\d\./', '/^\s*([\d\.]+).*$/' ); + if ( $book_index == "hd2u" ) return find_max( $lines, '/hd2u/', '/^.*hd2u-([\d\.]+).tgz.*$/' ); Modified: trunk/scripts/blfs-chapter24.php ============================================================================== --- trunk/scripts/blfs-chapter24.php Fri Jul 15 17:09:38 2016 (r17590) +++ trunk/scripts/blfs-chapter24.php Sat Jul 16 13:30:44 2016 (r17591) @@ -24,9 +24,10 @@ $fonts = array(); $regex = array(); -$regex[ 'libvdpau-va-gl' ] = "/^.*version (\d[\d\.]+\d).*$/"; +//$regex[ 'libvdpau-va-gl' ] = "/^.*version (\d[\d\.]+\d).*$/"; +$regex[ 'v' ] = "/^.*version (\d[\d\.]+\d).*$/"; -//$current="xf86-input-vmmouse"; // For debugging +//$current="v"; // For debugging $url_fix = array ( @@ -34,7 +35,8 @@ 'match' => '^.*$', 'replace' => "http://sourceforge.net/projects/linuxwacom/files/xf86-input-wacom" ), - array( 'pkg' => 'libvdpau-va-gl', + //array( 'pkg' => 'libvdpau-va-gl', + array( 'pkg' => 'v', 'match' => '^.*$', 'replace' => "https://github.com/i-rinat/libvdpau-va-gl/releases" ), -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page