[gparted] Remove deprecated PKG_NAME from autogen.sh



commit 3ce3683df5be4991988a2fb9d00583cb055deef6
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Mon Feb 25 16:17:12 2019 +0000

    Remove deprecated PKG_NAME from autogen.sh
    
    Use of PKG_NAME is deprecated in GNOME 3 and produced this warning:
    
        $ ./autogen.sh
        /usr/bin/gnome-autogen.sh
        /usr/bin/yelp-build
        ***Warning*** PKG_NAME is deprecated, you may remove it from autogen.sh
        ...
    
    Now that GParted is a GNOME 3 application with GNOME 3 yelp-tools
    managed documentation this is redundant and can be removed.  Previous
    further analysis:
    
        GNOME Bugzilla, Bug 743318, comment 18
        https://bugzilla.gnome.org/show_bug.cgi?id=743318#c18
        "
        PKG_NAME is still used in GNOME 2.28's gnome-autogen.sh in error
        messages.  (GNOME 3's gnome-autogen.sh queries it from configure.ac
        instead of requiring it to be set).
        "
    
    Also confirmed that it makes no difference by running ./autogen.sh with
    and without PKG_NAME being set.  The produced GParted build trees were
    the same.  Therefore the release and executable can't be affected.

 autogen.sh | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 3573315e..db3905df 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,8 +13,6 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
-PKG_NAME="gparted"
-
 which gnome-autogen.sh || {
     echo "You need to install gnome-common"
     exit 1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]