Commit Graph

16 Commits

Author SHA1 Message Date
Mike Fleetwood 3ce3683df5 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.
2019-03-01 16:46:56 +00:00
Mike Fleetwood a725921a22 Add use of new GNOME 3 yelp-tools documentation infrastructure (!24)
Second part is to use yelp-tools to build and install the documentation.
Have to rename the help Manual from help/C/gparted.xml to
help/C/index.docbook in accordance with this note from the GNOME Goal:
Port to New Documentation Infrastructure [1]:
    IMPORTANT: If this is for a DocBook document, the top-level DocBook
    file MUST be renamed to index.docbook.  Do a "git mv" and include
    index.docbook in HELP_FILES.

Commits from gucharmap [4] and totem [5], projects which have DocBook
documentation, making this same change are also useful references.

[1] GNOME Goal: Port To New Documentation Infrastructure
    https://wiki.gnome.org/Initiatives/GnomeGoals/NewDocumentationInfrastructure

[2] Yelp > Yelp Tools > yelp.m4
    http://yelp.io/tools/yelp.m4.html

[3] GNOME application developement overview / User help / Set up your
    build system
    https://developer.gnome.org/platform-overview/stable/dev-help-build.html.en

[4] gucharmap commit "Port to new documentation infrastructure"
    3e1526c056

[5] totem commit "Use new documentation infrastructure"
    59a6bd6064

Closes !24 - Port to GNOME 3 yelp-tools documentation infrastructure
2019-03-01 16:46:56 +00:00
Mike Fleetwood e62b352eed Remove use of GNOME 2 gnome-doc-utils documentation infrastructure (!24)
Details of old GNOME 2 gnome-doc-utils:
    Migrating your documentation to gnome-doc-utils
    https://wiki.gnome.org/Projects/GnomeDocUtils/MigrationHowTo

First part is to stop using gnome-doc-utils to build and install the
documentation.  Also since updating the OMF catalog was only needed for
GNOME 2 yelp, use of scrollkeeper is completely removed too.

Closes !24 - Port to GNOME 3 yelp-tools documentation infrastructure
2019-03-01 16:46:56 +00:00
Mike Fleetwood fdc0f3b391 Remove deprecated USE_GNOME2_MACROS from autogen.sh
Use of USE_GNOME2_MACROS is deprecated in GNOME 3 and produced this
warning:

    $ ./autogen.sh
    /usr/bin/gnome-autogen.sh
    ...
    ***Warning*** USE_GNOME2_MACROS is deprecated, you may remove it from autogen.sh
    ...

It's use appears to have been removed first from GNOME 2.8 with this
commit from 2004:

    https://git.gnome.org/browse/gnome-common/commit/?id=ea9e85851445efa0135c3f8d08c3d1ea53760d91
    delete some files that were unused after the reorganisation

The oldest supported distribution is RHEL / CentOS 6 which is using
gnome-common-2.28.0 from 2009.  Therefore unconditionally remove the
USE_GNOME2_MACROS setting.

Also confirmed that it makes no difference by running ./autogen.sh with
and without USE_GNOME2_MACROS being set.  The produced GParted build
trees were the same.  Therefore the release and executable can't be
affected.
2018-02-08 21:58:51 +00:00
Mike Fleetwood f77d4e65a9 Stop using locate in autogen.sh (#702040)
If the gnome-doc-utils package isn't installed and you try to compile
GParted from git it will fail with this:

    $ ./autogen.sh
    /usr/bin/gnome-autogen.sh
    Cannot find file: gnome-doc-utils.make
    You need to install gnome-doc-utils

After installing the gnome-doc-utils package the same error will be
reported again unless you also update the locate database.

Instead query the full path to the gnome-doc-utils.make file from the
gnome-doc-utils' pkg-config metadata.

Closes Bug #702040 - very strange gnome-doc-utils check in gparted
2013-06-14 10:17:02 -06:00
Curtis Gedak 50d2ac8027 Remove GNOME SVN from message text
GNOME is now managed under git revision control (not SVN).
Also missing dependencies can be installed in many ways.
2013-05-28 20:53:04 +01:00
Curtis Gedak ce8a34715a Add GNU All-Permissive License to autogen.sh 2013-05-28 20:53:04 +01:00
Curtis Gedak e078f7ed97 Ensure that m4 directory exists 2009-04-18 14:47:32 -06:00
Curtis Gedak 52acaf23e4 Changed text CVS to SVN.
svn path=/trunk/; revision=926
2008-10-08 21:19:01 +00:00
Curtis Gedak a6f93b9e8b Added check for gnome-doc-utils.make
svn path=/trunk/; revision=918
2008-09-26 21:33:08 +00:00
Curtis Gedak 46ca7c74dc Added code hooks to prepare for GParted Manual
svn path=/trunk/; revision=876
2008-08-05 15:34:10 +00:00
Curtis Gedak ff2a6c00dd Changes post gparted-0.3.6 - code recreation from Source Forge
svn path=/trunk/; revision=811
2008-04-07 20:10:28 +00:00
Jordi Mallach 37645d2f74 Added "ca" (Catalan) to ALL_LINGUAS and disable USE_COMMON_DOC_BUILD in autogen.sh. 2004-10-04 11:42:47 +00:00
Bart Hakvoort bc23e5c447 it seems gnome-autogen.sh doesn't run aclocal properly? 2004-09-19 23:16:54 +00:00
Bart Hakvoort 66f58b6299 cleaned up a bit.. 2004-09-19 22:32:22 +00:00
Bart Hakvoort 26d433260d Initial revision 2004-09-19 20:24:53 +00:00