Commit Graph

14 Commits

Author SHA1 Message Date
Jehan d7ec3a5ca4 tools: delete a remnant from autotools paths.
Library binaries are not under a hidden .libs/ directory anymore.
2024-04-15 23:35:37 +02:00
Jehan f22b82f22f tools: only display "trouble reading […]" message when the script fails.
Displaying it all the time when we fail the first attempt is confusing
as it is expected to fail in the meson build (since build libraries are
in different folders). Instead only output the error message when both
known paths failed, i.e. when we fail the script (and write down both
attempted path in the error message).
2022-08-01 17:07:30 +02:00
Jehan 4c77c5acaf issue #8274: Port .def files check in meson.
The check script now takes into account both the autotools and meson
file hierarchy (in autotools, built libs are in .libs/ subdirs).

Also it now properly fails on missing lib.
2022-07-31 20:05:40 +02:00
Jehan 94b7348777 tools: port defcheck.py to Python 3.
This build-only file could theoretically still run with Python 2, but
since now we use Python 3, better not our build to require both Python 2
and 3.
2019-07-28 23:19:05 +02:00
Michael Natterer 5f700549e7 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
Félix Piédallu 15075932be Fix Python files:
* Prefer python2 to python that may point on python3 on modern installs.
* Fix indent/spaces consistency.

(cherry picked from commit 2265701268)
2018-06-16 02:57:06 +02:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Sven Neumann 8ec1d65a4a removed trailing whitespace
svn path=/trunk/; revision=26852
2008-09-04 08:37:32 +00:00
Sven Neumann f6f58564f7 improved path handling. Allow to pass the source directory on the
2007-05-06  Sven Neumann  <sven@gimp.org>

        * tools/defcheck.py: improved path handling. Allow to pass the
        source directory on the command-line.

        * Makefile.am (check-defs): pass $(top_srcdir) to defcheck.py.
        (validate-authors): validate authors.xml in the srcdir.

        * menus/Makefile.am (validate): changed output for consistency.


svn path=/trunk/; revision=22432
2007-05-06 13:12:25 +00:00
Simon Budig 2f5c6f7b8b don't bail out successfully after the first test, don't bail out
2006-11-08  Simon Budig  <simon@gimp.org>

	* tools/defcheck.py: don't bail out successfully after the first test,
	don't bail out prematurely on a failed test and actually spot double
	symbols in .def-files if they follow immediately each other...
2006-11-08 22:47:44 +00:00
Sven Neumann f7513e5a80 added defcheck.py.
2006-11-08  Sven Neumann  <sven@gimp.org>

	* tools/Makefile.am (EXTRA_DIST): added defcheck.py.

	* tools/defcheck.py: keep a list of .def files, glob didn't work
	for me. Also bail out with a reasonable message if not being
	called from the toplevel source directory.

	* Makefile.am (dist-hook): check .def files for consistency.
2006-11-08 21:42:32 +00:00
Simon Budig 99c64d888b provide an exit code indicating if the check was passed.
2006-11-07  Simon Budig  <simon@gimp.org>

	* tools/defcheck.py: provide an exit code indicating if the
	check was passed.
2006-11-07 22:21:39 +00:00
Simon Budig 369a4f3253 Simplyfy code for sorting test. Too late yesterday... 2006-10-31 08:54:14 +00:00
Simon Budig cb43966369 hack to check the consistency of the .def files for the libraries. Invoke
2006-10-31  Simon Budig  <simon@gimp.org>

	* tools/defcheck.py: hack to check the consistency of the .def files
	for the libraries. Invoke after building GIMP, needs "nm" to work.

	* libgimpwidgets/gimpwidgets.def: removed obsolete symbol.
2006-10-31 01:44:31 +00:00