Author: bdubbs
Date: Sun Jan  3 09:54:06 2016
New Revision: 16786

Log:
Add proper check for qupzilla

Modified:
   trunk/scripts/blfs-chapter39.php
   trunk/scripts/summ-blfs.php

Modified: trunk/scripts/blfs-chapter39.php
==============================================================================
--- trunk/scripts/blfs-chapter39.php    Sun Jan  3 06:32:50 2016        (r16785)
+++ trunk/scripts/blfs-chapter39.php    Sun Jan  3 09:54:06 2016        (r16786)
@@ -14,7 +14,7 @@
 
 $ignores = array();
 
-//$current="QScintilla-gpl";  // Debug
+//$current="qupzilla";  // Debug
 
 $regex = array();
 $regex[ 'libfm'   ] = "/^.*Download libfm-(\d[\d\.]+\d).tar.*$/";
@@ -102,6 +102,10 @@
    array( 'pkg'     => 'QScintilla-gpl',
           'match'   => '^.*$', 
           'replace' => 
"http://sourceforge.net/projects/pyqt/files/QScintilla2"; ),
+
+   array( 'pkg'     => 'qupzilla',
+          'match'   => '^.*$', 
+          'replace' => "https://github.com/QupZilla/qupzilla/tags"; ),
 );
 
 function get_packages( $package, $dirpath )
@@ -114,8 +118,7 @@
   if ( isset( $current ) && $book_index != "$current" ) return 0;
 
   if ( $book_index == 'obconf-qt' ||
-       $book_index == 'juffed'    ||
-       $book_index == 'qupzilla' ) 
+       $book_index == 'juffed' )
     return 'check manually';
 
   // Fix up directory path
@@ -168,6 +171,7 @@
             $book_index != "lxde-icon-theme" &&
             $book_index != "qtermwidget"     &&
             $book_index != "qterminal"       &&
+            $book_index != "qupzilla"        &&
             $book_index != "QScintilla-gpl" 
             ) // http
   {
@@ -299,6 +303,9 @@
   if ( $book_index == "QScintilla-gpl" )
     return find_max( $lines, "/QScintilla-/", "/^.*QScintilla-([\d\.]*\d).*$/" 
);
 
+  if ( $book_index == "qupzilla" )
+    return find_max( $lines, "/v\d/", "/^.*v([\d\.]*\d).*$/" );
+
   // Most packages are in the form $package-n.n.n
   // Occasionally there are dashes (e.g. 201-1)
 

Modified: trunk/scripts/summ-blfs.php
==============================================================================
--- trunk/scripts/summ-blfs.php Sun Jan  3 06:32:50 2016        (r16785)
+++ trunk/scripts/summ-blfs.php Sun Jan  3 09:54:06 2016        (r16786)
@@ -80,8 +80,7 @@
        $pkg == "kdepimlibs"       ||
        $pkg == "obconf-qt"        ||
        $pkg == "libdbusmenu-qt"   ||
-       $pkg == "juffed"           ||
-       $pkg == "qupzilla"
+       $pkg == "juffed"     
      ) continue;
 
   if ( $c[3] == "0" ) $c[3] .= " ";
-- 
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