Author: bdubbs
Date: Wed Apr  4 14:26:12 2018
New Revision: 20039

Log:
Fix scripts for gexiv2, sassc/libsass, and doxygen

Modified:
   trunk/scripts/blfs-chapter13.php
   trunk/scripts/blfs-chapter35.php

Modified: trunk/scripts/blfs-chapter13.php
==============================================================================
--- trunk/scripts/blfs-chapter13.php    Wed Apr  4 12:17:11 2018        (r20038)
+++ trunk/scripts/blfs-chapter13.php    Wed Apr  4 14:26:12 2018        (r20039)
@@ -105,6 +105,10 @@
           'match'   => '^.*$',
           'replace' => "http://sourceforge.net/projects/docutils/files"; ),
 
+   array( 'pkg'     => 'doxygen',
+          'match'   => '^.*$',
+          'replace' => "ftp://ftp.stack.nl/pub/doxygen"; ),
+
    array( 'pkg'     => 'expect',
           'match'   => '^.*$',
           'replace' => "http://sourceforge.net/projects/expect/files"; ),

Modified: trunk/scripts/blfs-chapter35.php
==============================================================================
--- trunk/scripts/blfs-chapter35.php    Wed Apr  4 12:17:11 2018        (r20038)
+++ trunk/scripts/blfs-chapter35.php    Wed Apr  4 14:26:12 2018        (r20039)
@@ -20,9 +20,13 @@
 
 
 $url_fix = array (
-//   array( 'pkg'     => 'libzeitgeist',
-//          'match'   => '^.*$', 
-//          'replace' => "https://launchpad.net/libzeitgeist"; ),
+   array( 'pkg'     => 'libsass',
+          'match'   => '^.*$', 
+          'replace' => "https://github.com/sass/libsass/releases"; ),
+
+   array( 'pkg'     => 'sassc',
+          'match'   => '^.*$', 
+          'replace' => "https://github.com/sass/sassc/releases"; ),
 );
 
 function get_packages( $package, $dirpath )
@@ -88,6 +92,7 @@
          $book_index == "yelp-xsl"                  ||
          $book_index == "GConf"                     ||
          $book_index == "geocode-glib"              ||
+         $book_index == "gexiv2"                    ||
          $book_index == "gjs"                       ||
          $book_index == "gnome-autoar"              ||
          $book_index == "gnome-desktop"             ||
@@ -167,6 +172,10 @@
      return 0;  // This is an error
   }
 
+  if ( $book_index == "libsass" ||
+       $book_index == "sassc"    )
+     return find_max( $lines, "/\d$/", "/^.*(\d\.\d[\d\.]+)$/" );
+
   if ( $book_index == "polkit-gnome" )
      return find_max( $lines, "/\d$/", "/^.* ([\d\.]+)$/" );
 
@@ -184,6 +193,9 @@
      array( 'pkg'   => 'automoc', 
             'regex' => "/^.*automoc4-(\d[\d\.]+).*$/" ),
 
+     array( 'pkg'   => 'gexiv', 
+            'regex' => "/^.*gexiv2-(\d[\d\.]+).*$/" ),
+
      array( 'pkg'   => 'polkit-qt', 
             'regex' => "/^.*polkit-qt-1-(\d[\d\.]+).*$/" ),
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to