Author: bdubbs
Date: Tue Apr  5 23:03:06 2016
New Revision: 17228

Log:
Update script for webkit change

Modified:
   trunk/scripts/blfs-chapter25.php

Modified: trunk/scripts/blfs-chapter25.php
==============================================================================
--- trunk/scripts/blfs-chapter25.php    Tue Apr  5 15:50:01 2016        (r17227)
+++ trunk/scripts/blfs-chapter25.php    Tue Apr  5 23:03:06 2016        (r17228)
@@ -15,12 +15,10 @@
 $renames[ 'gtkmm1'                         ] = 'gtkmm3';
 $renames[ 'qt-everywhere-opensource-src'   ] = 'qt4';
 $renames[ 'qt-everywhere-opensource-src1'  ] = 'qt5';
-$renames[ 'webkitgtk'                      ] = 'webkitgtk+-2.4';
-$renames[ 'webkitgtk1'                     ] = 'webkitgtk+-2.10';
 
 $ignores = array();
 
-//$current="webkitgtk1"; // For debugging
+//$current="webkitgtk"; // For debugging
 
 $regex = array();
 $regex[ 'freeglut' ] = "/^.*Download freeglut-(\d[\d\.]+\d).tar.*$/";
@@ -54,13 +52,9 @@
           'match'   => '^.*$', 
           'replace' => "https://github.com/sddm/sddm/releases"; ),
 
-   array( 'pkg'     => 'webkitgtk1',
-          'match'   => '^.*$', 
-          'replace' => "http://pkgs.fedoraproject.org/repo/pkgs/webkitgtk4"; ),
-
    array( 'pkg'     => 'webkitgtk',
           'match'   => '^.*$', 
-          'replace' => "http://pkgs.fedoraproject.org/repo/pkgs/webkitgtk"; ),
+          'replace' => "http://webkitgtk.org/releases"; ),
 );
 
 function get_packages( $package, $dirpath )
@@ -225,9 +219,6 @@
     return find_max( $lines, '/\d\.[\d\.]+\d/', '/^.* (\d\.[\d\.]+\d).*$/' );
 
   if ( $book_index == "webkitgtk" )
-    return find_even_max( $lines, '/webkitgtk-2.4/', 
'/^.*-(\d[\d\.]+\d).tar.*$/' );
-
-  if ( $book_index == "webkitgtk1" )
     return find_even_max( $lines, '/webkitgtk/', 
'/^.*webkitgtk-(\d[\d\.]+\d).tar.*$/' );
 
   if ( $book_index == "cairo"    || 
-- 
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