Author: bdubbs
Date: Sat Aug 29 14:34:28 2020
New Revision: 23645

Log:
Fix currency for keybinder3, fce4-pulseaudio-plugin, and pavucontrol

Modified:
   trunk/scripts/blfs-chapter25.php
   trunk/scripts/blfs-chapter37.php
   trunk/scripts/blfs-chapter43.php
   trunk/scripts/blfs-include.php

Modified: trunk/scripts/blfs-chapter25.php
==============================================================================
--- trunk/scripts/blfs-chapter25.php    Sat Aug 29 08:17:09 2020        (r23644)
+++ trunk/scripts/blfs-chapter25.php    Sat Aug 29 14:34:28 2020        (r23645)
@@ -9,16 +9,17 @@
 $STOP_PACKAGE  = 'webkitgtk';
 
 $renames = array();
-$renames[ 'gtk+'                           ] = 'gtk+2';
-$renames[ 'gtk+1'                          ] = 'gtk+3';
-$renames[ 'gtkmm'                          ] = 'gtkmm2';
-$renames[ 'gtkmm1'                         ] = 'gtkmm3';
-$renames[ 'gtksourceview'                  ] = 'gtksourceview3';
-$renames[ 'gtksourceview1'                 ] = 'gtksourceview4';
-$renames[ 'qt-everywhere-opensource-src'   ] = 'qt5';
-$renames[ 'qt-everywhere-opensource'       ] = 'qt5';
-$renames[ 'qtwebengine-everywhere-src'     ] = 'qtwebengine';
-$renames[ 'qtwebkit-opensource-src'        ] = 'qtwebkit';
+$renames[ 'gtk+'                         ] = 'gtk+2';
+$renames[ 'gtk+1'                        ] = 'gtk+3';
+$renames[ 'gtkmm'                        ] = 'gtkmm2';
+$renames[ 'gtkmm1'                       ] = 'gtkmm3';
+$renames[ 'gtksourceview'                ] = 'gtksourceview3';
+$renames[ 'gtksourceview1'               ] = 'gtksourceview4';
+$renames[ 'qt-everywhere-opensource-src' ] = 'qt5';
+$renames[ 'qt-everywhere-opensource'     ] = 'qt5';
+$renames[ 'qtwebengine-everywhere-src'   ] = 'qtwebengine';
+$renames[ 'qtwebkit-opensource-src'      ] = 'qtwebkit';
+$renames[ 'keybinder1'                   ] = 'keybinder3';
 
 $ignores = array();
 
@@ -55,6 +56,10 @@
           'match'   => '^.*$', 
           'replace' => "https://github.com/kupferlauncher/keybinder/releases"; 
),
 
+   array( 'pkg'     => 'keybinder1',
+          'match'   => '^.*$', 
+          'replace' => "https://github.com/kupferlauncher/keybinder/releases"; 
),
+
    array( 'pkg'     => 'libepoxy',
           'match'   => '^.*$', 
           'replace' => "https://github.com/anholt/libepoxy/releases"; ),
@@ -268,6 +273,9 @@
   if ( $book_index == "keybinder" )
     return find_max( $lines, '/keybinder-/', 
'/^.*keybinder-(\d\.[\d\.]+).tar.*$/' );
 
+  if ( $book_index == "keybinder1" )
+    return find_max( $lines, '/keybinder-3/', 
'/^.*keybinder-(3\.[\d\.v-]+).tar.*$/' );
+
   if ( $book_index == "webkitgtk" )
     return find_even_max( $lines, '//', '/^.*webkitgtk-(\d[\d\.]+\d).tar.*$/' 
);
 

Modified: trunk/scripts/blfs-chapter37.php
==============================================================================
--- trunk/scripts/blfs-chapter37.php    Sat Aug 29 08:17:09 2020        (r23644)
+++ trunk/scripts/blfs-chapter37.php    Sat Aug 29 14:34:28 2020        (r23645)
@@ -27,6 +27,10 @@
           'replace' => 
              
"https://sourceforge.net/projects/lxde/files/GPicView%20%28image%20Viewer%29/0.2.x";),
 
+   array( 'pkg'     => 'xfce4-pulseaudio-plugin',
+          'match'   => '^.*$', 
+          'replace' => 
"https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/-/tags/";),
+
    array( 'pkg'     => 'lxappearance',
           'match'   => '^.*$', 
           'replace' => 
"https://sourceforge.net/projects/lxde/files/LXAppearance";),
@@ -297,6 +301,13 @@
     $ver = find_max( $lines, "/QupZilla/", "/^\s+QupZilla-([\d\.]+).tar.*$/" );
     return $ver;
   }
+  else if ( $book_index == "xfce4-pulseaudio-plugin" )
+  {
+    $lines    = http_get_file( "$dirpath" );
+    $ver = find_max( $lines, "/xfce4-pulseaudio-plugin/", 
+                             "/^.*xfce4-pulseaudio-plugin-([\d\.]+).*$/" );
+    return $ver;
+  }
   else if ( $book_index != "lxmenu-data"  &&
             $book_index != "libfm"        &&
             $book_index != "libfm1"       &&

Modified: trunk/scripts/blfs-chapter43.php
==============================================================================
--- trunk/scripts/blfs-chapter43.php    Sat Aug 29 08:17:09 2020        (r23644)
+++ trunk/scripts/blfs-chapter43.php    Sat Aug 29 14:34:28 2020        (r23645)
@@ -93,6 +93,10 @@
           'match'   => '^.*$',
           'replace' => "https://inkscape.org/en/release/"; ),
 
+   array( 'pkg'     => 'pavucontrol',
+          'match'   => '^.*$',
+          'replace' => 
"https://freedesktop.org/software/pulseaudio/pavucontrol"; ),
+
    array( 'pkg'     => 'pidgin',
           'match'   => '^.*$',
           'replace' => "http://sourceforge.net/projects/pidgin/files/Pidgin"; ),
@@ -306,6 +310,9 @@
   if ( $book_index == "QupZilla" )
     return find_max( $lines, "/v\d/", "/^.*v([\d\.]*\d).*$/" );
 
+  if ( $book_index == "pavucontrol" )
+    return find_max( $lines, "/Version/", "/^.*Version ([\d\.]*\d) 
released.*$/" );
+
   if ( $package == "rox-filer" )
       return find_max( $lines, "/^\s*\d/", "/^\s*(\d\.[\d\.]+)\s+.*$/" );
 

Modified: trunk/scripts/blfs-include.php
==============================================================================
--- trunk/scripts/blfs-include.php      Sat Aug 29 08:17:09 2020        (r23644)
+++ trunk/scripts/blfs-include.php      Sat Aug 29 14:34:28 2020        (r23645)
@@ -128,6 +128,7 @@
        preg_match( "/swig/",     $url ) ||
        preg_match( "/ntfs/",     $url ) ||
        preg_match( "/docutils/", $url ) ||
+       preg_match( "/xfce4-pulseaudio-plugin/", $url ) ||
        preg_match( "/llvm/",     $url ) )
   {
      exec( "links -dump $url", $lines );
-- 
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