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.
This commit is contained in:
Mike Fleetwood 2019-02-25 16:17:12 +00:00 committed by Curtis Gedak
parent 83777932c6
commit 3ce3683df5
1 changed files with 0 additions and 2 deletions

View File

@ -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