Commit Graph

219 Commits

Author SHA1 Message Date
Jehan dfd427d9db Remove old outdated data.
* gimp-zip.in was apparently a very old script to package GIMP for
  Windows into zip files. It has not been updated since 2007 and these
  days, we package GIMP as an installer for Windows. I guess the need of
  having just a compressed folder to move might be wanted for some, but
  anyway this script is so old, it's probably completely broken now. It
  would be much simpler to redo such a process from scratch (we have
  very close jobs in the CI which could be better bases to work from).
* config.h.win32 seems to be an old manually-maintained config.h and it
  has a big "WARNING! OUTDATED!" text at the top (also untouched since
  2007). I guess it might have been used some time long ago. But these
  days, we don't need a specific Windows-only config.h. The generated
  one works fine.
2022-08-02 16:33:09 +02:00
Jehan 8a3ff1a7b6 devel-docs: move HACKING from root EXTRA_DIR to devel-docs one.
Also adding the CODING_STYLE.md. There is actually the question whether
we still want to track this docs files to package them in the tarballs.
It made sense 20 years ago when devs were working from tarballs, but
nowadays, devs are expected to work from git HEAD.

Anyway this fixes the CI.
2022-02-08 23:45:22 +01:00
Niels De Graef 92e80d12e8 docs: Migrate from gtk-doc to gi-docgen
gtk-doc has been slowly dying for the past few years; with gi-docgen we
have a nice successor.

This also makes sure the C documentation also uses the GIR file, which
in turn means faster build times (since all the C code doesn't have to
be parsed and recompiled again), and has a clear dependency graph.

See the [gi-docgen tutorial] for more info on how the system works.

[gi-docgen tutorial]: https://gnome.pages.gitlab.gnome.org/gi-docgen/tutorial.html
2021-12-27 10:47:34 +01:00
Jehan ecbc38f9e9 plug-ins, extension: goat-exercises becomes a GIMP extension.
This is an extension containing a few demo plug-ins. This is good to
demonstrate the extension format. It will also allow to disable these
plug-ins (if at some point, one doesn't want to show these demo
plug-ins anymore).

And finally it deals with the fact that our plug-in code is stupid, as
it just tries to find the first executable with the same name (minus
extension) as the plug-in folder. This doesn't go well on Windows, where
the permission system is non-existent. So our code just ends up trying
to run the first file with a similar name in a plug-in folder. As the C
goat-exercise contains both an exe and the C source (and the system
probably returns files in alphabetic order), GIMP under Windows tries to
run the C source instead of the executable (this obviously doesn't go
well).
We could try to do more complex logics, like not aborting if the first
file run fails and try the next one in the plug-in folder. Or maybe just
rename the C file to another name. But any of these is just in the end
the proof that our plug-in discovery right now is just bogus. The
extension system is explicit, not based on randomly trying out files.
Plug-ins entry points are explicitly listed in the metadata manifest.
2020-10-09 15:30:54 +02:00
Jehan 6d2b6b8ea0 Makefile: update DISTCHECK_CONFIGURE_FLAGS to fix CI distcheck.
CI doesn't require various script interpreters to be present to
generate the tarball.
Also use AM_DISTCHECK_CONFIGURE_FLAGS because DISTCHECK_CONFIGURE_FLAGS
is meant for users according to the docs.
2020-08-03 18:17:48 +02:00
Jehan 2dde79b3e7 libgimp*: move GObject Introspection into libgimp/.
libgimp is anyway processed at the very end after all other libgimp*
were built. This way, it also fixes #3746, by removing the $(top_srcdir)
everywhere from introspected files, hence making the build work again
with older automake.
2019-08-08 15:59:44 +02:00
Jehan 82cfa9c25f libgimpwidgets: fix annotations in GimpDialog.
(skip) various variable length functions (va_list functions are not
introspectable anyway, but adding manual annotations shows we've have
been through them).

Also (skip) gimp_dialogs_show_help_button even though it could be
introspected without any problem. Yet it's written that's an
internal-only function, so let's forbid bindings from using it.

Finally fix gimp_dialog_add_button() introspection by properly including
Gtk-3.0 introspected library so that g-ir-* knows the GtkWidget type.
2019-07-30 15:37:42 +02:00
Jehan afe0bcbc58 libgimpwidgets: introspect libgimpwidgets.
Only leave behind gimpcolorscale, gimpcolorscales and gimpcolorselect
for now. There are some GI compilation errors and I don't have the time
right now to look into it. Most of libgimpwidgets is available to GI
bindings now anyway.
2019-07-30 12:53:15 +02:00
Jehan f74320d4dc Makefile: libgimpui also introspected. 2019-07-29 02:08:27 +02:00
Jehan 0f0cf4df87 po-python: install again localization for Python plug-ins.
This used to be deactivated. Let's install them again.
Also activate localization in the palette-to-gradient plug-in.
2019-07-28 21:06:36 +02:00
Jehan c67fa791be GOI: add more introspected libraries as dependencies to ours.
This fixes various "Unresolved type" warnings.
2019-07-27 23:41:54 +02:00
Jehan fb4c86a660 libgimp*: make more libgimp* libraries introspected.
Only libgimpwidgets is not introspected yet as it didn't work from
scratch and I don't have the time right now to look into it. Anyway with
all the others, we already have so many warnings during the GObject
Introspection step now that we have a lot of work to do already!
2019-07-27 20:25:20 +02:00
Jehan 6389bb4b58 libgimp, libgimpbase: both introspectable under same namespace Gimp.
At first I thought these could be different namespaces, but actually
GObject Introspection parses files and can only use (AFAICS) the
namespace actually used in our C function, which is always `gimp_` (and
not `gimpbase_` or whatever.

So make the introspection at the root level, and it will include all
libgimp* libraries in one namespace, same as the C lib anyway. For now
only libgimp and libgimpbase as I am still testing.
Also I move the introspectable sources in their own file in order to
share the list between the library building Makefile and the GI
makefile because I can't find how to pass over variables otherwise.
2019-07-25 10:51:03 +02:00
Michael Natterer b9a4fdd1e0 configure.ac: build the devel-docs again 2019-07-23 19:33:48 +02:00
Ell 8cc2aeaee4 configure.ac, Makefile.am: skip po-python/
... to fix distcheck, since we don't build pygimp ATM.
2018-05-31 00:29:36 -04:00
Michael Natterer b2df13749c plug-ins: disable devel-docs and a bunch of plug-ins, they don't build 2018-05-20 21:06:33 +02:00
Michael Natterer fc8e28c971 NEWS: truncate and move content to NEWS.pre-2-10 2018-04-28 02:42:32 +02:00
Ell 5893d2dc73 tools, app-tools: move gimp-debug-tool from tools/ to app-tools/
Move gimp-debug-tools.c from tools/ to a new app-tools/ subdir,
which should contain external tools needed by app/, and which is
built *after* app/ (unlinke tools/).  This allows gimp-debug-tool
to depend on libapp and libappwidgets, instead of on actual source
files from app/.  Building sources from app/ in another subdir
screws with the distclean rules, and breaks distcheck.
2018-03-10 17:56:56 -05:00
Ell 646a56fe8a Makefile.am: add git-version.h to EXTRA_DIST
We only generate it when building from git.
2018-03-10 17:56:55 -05:00
Jehan 44f23bdf0c app: move git-version.h generation to the repository root.
The reason is that this file is now included for a binary in tools/ as
well (the debug binary) and tools/ contents needs to be built before
app/. Even using BUILT_SOURCES in the Makefile under app/ is not enough.
Anyway it makes sense that this file should be under the root of the
repository since that describes the status of the source repository. So
let's move it up one folder.
2018-01-29 20:17:41 +01:00
Ell f1070f4c80 build: use intltool for Windows installer translations
Use intltool for managing the translations for the Windows
installer, instead of manually maintaining the translated message
files.

The message files are generated in the source directory, under
build/windows/installer/lang, as part of the build, and can be
subsequently used to build the installer, as before.
2017-12-24 16:45:32 -05:00
Michael Natterer b05cfc6050 pdb: (try 3) move PDB generation and sources to toplevel/pdb
It never belonged inside "tools". Also rename its "pdb" subdirectory
to "groups". This had to happen before 2.10 so cherry-picking between
branches doesn't become a nightmare in the future.
2017-12-17 14:16:08 -05:00
Jehan 715c458649 Bug 734981 - Update maintainers and authors.
Adding a XSL stylesheet to generate ./content/about/authors.md for
gimp-web repository. This way, it will be very easy to keep an
up-to-date authors page on the website, as long as authors.xml is
up-to-date as well.
Note that authors.md is git-ignored and not generated automatically. It
will have to be manually requested with a `make authors.md`.
2017-10-23 23:55:22 +02:00
Jehan 46ebb0ca60 Makefile.am: tools/ must be built after libgimpbase/.
Commit 8bb1421 broke the build by changing build order. Line back
tools/ after libgimpbase/ and move also icons/ after tools/ (for the
vectorial icons).
2016-02-15 15:21:47 +01:00
Jehan 8bb14211bb icons: add configure option --enable-vector-icons.
This will extract vectorial symbolic icons out of the SVG source, and
generate vectorial symbolic inverted icons too.
Vectorial color icons are not extracted yet.
I also make sure that the tools/ subdir is processed by make before
icons/ because a few build tools will be needed to extract the icons.
Yet I mark the feature as experimental because librsvg seems to be
broken on many edge cases and several icons end up wrong. I'll keep
the option experimental until I figure the right way to extract the
icons.
2016-02-15 01:53:33 +01:00
Michael Natterer b9e3793551 NEWS.pre-2-8: new file preserving the history that lead to 2.8 2015-11-22 17:30:15 +01:00
Michael Natterer dfd2998e60 Makefile.am: Add gtk-doc.make to EXTRA_DIST 2014-08-20 17:24:57 +02:00
Michael Natterer ae4a41d7a5 themes, icons: move icons from themes/Default/images/ to the toplevel icons/
and install them in datadir/icons.
2014-05-07 21:57:21 +02:00
Michael Natterer ee34b81ad8 Makefile.am: build tools right after libgimpbase 2013-03-08 14:39:16 +01:00
Mikael Magnusson 40e613b54b Makefile.am: Move tools down in SUBDIRS since it now depends on libgimpbase 2013-02-22 12:46:14 +01:00
Nils Philippsen c97de83080 add Changelog.pre-git to appease make distcheck 2012-11-29 14:03:04 +01:00
Michael Natterer 72d60103e5 configure: remove the rules for the "gimpinstall" script
it was needed for the script version of gimptool which is gone.
2012-03-02 20:09:44 +01:00
Michael Natterer 056e09a6cb Remove the makefile.msc build system, it is unmaintained since 2008 2011-12-16 15:53:56 +01:00
Javier Jardón cc5a1cff72 Makefile.ac: honer aclocal flags 2011-10-17 02:03:48 +01:00
Massimo Valentini ddf09b3a36 Fixes two minor issues when builddir != srcdir 2011-05-26 20:17:21 +02:00
Michael Schumacher 82dca2ecf4 Bug 574018 - Add a manifest to executables
Eventually all executables will have the manifest and version resources
linked. In this initial step, the current resources are moved from the
app/ directory to a global build/windows directory.
2010-08-26 22:10:07 +02:00
Sven Neumann 6601625af7 Add AC_CONFIG_MACRO_DIR() to configure.ac as suggested by libtoolize
Also set ACLOCAL_AMFLAGS in the top-level Makefile.am and update
the .gitignore file in the m4macros directory. This fixes the build
from a fresh checkout for me. Please revert if it causes problems.
2010-02-01 00:09:11 +01:00
Michael Schumacher 71f2a9f8ae Use xsltproc -o instead of output redirection for AUTHORS file.
This uses the correct (Unix) line endings when building on Microsoft Windows
and thus prevents the file from always being marked as modified.
2009-08-10 22:44:05 +02:00
Martin Nordholts d86a7c0044 Add Makefile.am rule to generate ChangeLog from git log
Add Makefile.am rule to generate ChangeLog from git log copied from
pango and Behdad Esfahbod.
2009-07-13 13:43:21 +02:00
Sven Neumann c8a2f395b7 added ChangeLog.pre-2-6 and NEWS.pre-2-6.
2008-10-01  Sven Neumann  <sven@gimp.org>

	* Makefile.am (EXTRA_DIST): added ChangeLog.pre-2-6 and 
NEWS.pre-2-6.


svn path=/trunk/; revision=27102
2008-10-01 19:29:46 +00:00
Sven Neumann 2b78e58049 removed 'mkinstalldirs' which is not any longer required due to the
2008-08-21  Sven Neumann  <sven@gimp.org>

        * Makefile.am (EXTRA_DIST): removed 'mkinstalldirs' which is not
        any longer required due to the changes in the po directories.


svn path=/trunk/; revision=26693
2008-08-21 12:21:56 +00:00
Sven Neumann acba2bc3e4 bumped INTLTOOL_REQUIRED_VERSION to 0.35.5. We actually need 0.40.0 on the
2008-06-11  Sven Neumann  <sven@gimp.org>

	* autogen.sh: bumped INTLTOOL_REQUIRED_VERSION to 0.35.5. We
	actually need 0.40.0 on the system where the tarball is rolled,
	however 0.35.5 should be good enough for almost everyone.

	* configure.in: use IT_PROG_INTLTOOL with minimum version instead
	of the deprecated AC_PROG_INTLTOOL.

	* Makefile.am (EXTRA_DIST): removed intltool-foo.in files as
	intltool 0.40.0 does not install these any longer. Removed them
	from DISTCLEANFILES as well.

svn path=/trunk/; revision=25921
2008-06-11 12:41:41 +00:00
Tor Lillqvist b96853bc5e Use the gimptool program on Unix, too, instead of the gimptool script.
2007-11-16  Tor Lillqvist  <tml@novell.com>

	Use the gimptool program on Unix, too, instead of the gimptool
	script.

	* configure.in
	* Makefile.am: Drop gimptool script and gimptool-win32.c(.in)

	* tools/gimptool.c
	* tools/Makefile.am: Move gimptool-win32.c.in here and call it
	just gimptool.c. Build and install on all platforms.

	* tools/gimptool.c: Change accordingly.

	* doc/gimptool.1.in: Document the --msvc-syntax option.


svn path=/trunk/; revision=24178
2007-11-16 21:37:20 +00:00
Tor Lillqvist 8e78eba1fc Revert last change to Makefile.am, needs more hacking.
svn path=/trunk/; revision=24145
2007-11-13 11:16:55 +00:00
Tor Lillqvist 2eef76786f Install the gimptool script only on Unix. Build and install the gimptool
2007-11-13  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Install the gimptool script only on Unix. Build and
	install the gimptool executable on Windows.


svn path=/trunk/; revision=24142
2007-11-13 09:57:18 +00:00
Manish Singh a8fb4f0c03 app/core/gimpcontainer-filter.c app/pdb/gimppdb-query.c replace usage of
2007-11-01  Manish Singh  <yosh@gimp.org>

        * app/core/gimpcontainer-filter.c
        * app/pdb/gimppdb-query.c
        * app/plug-in/gimppluginmanager-query.c: replace usage of POSIX
        regex API with GRegex.

        * configure.in: remove check for regex support in glibc.

        * app/Makefile.am
        * plug-ins/script-fu/Makefile.am: remove REGEXREPL references.

        * tools/pdbgen/app.pl: remove code that references HAVE_GLIBC_REGEX.

        * regexrepl/*
        * makefile.msc
        * Makefile.am: remove regexrepl directory.

svn path=/trunk/; revision=24024
2007-11-01 08:15:38 +00:00
Tor Lillqvist 7d43b91250 Remove. This kind of information belongs in the wiki. Drop from here, too.
2007-10-31  Tor Lillqvist  <tml@novell.com>

	* README.win32: Remove. This kind of information belongs in the
	wiki.
	* Makefile.am (EXTRA_DIST): Drop from here, too.


svn path=/trunk/; revision=24020
2007-10-31 13:21:44 +00:00
Kevin Cozens bf9f78ec20 Applied patch from Stanislav Brabec which adds NEWS.pre-2-4,
2007-10-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* Makefile.am: Applied patch from Stanislav Brabec which adds
	NEWS.pre-2-4, ChangeLog.pre-2-2 and ChangeLog.pre-2-4 to EXTRA_DIST.
	Fixes bug #489813.

svn path=/trunk/; revision=23937
2007-10-24 14:50:41 +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
Sven Neumann bb01202e4a --enable-gtk-doc (EXTRA_DIST): added mkinstalldirs, the po-* Makefiles
2007-05-06  Sven Neumann  <sven@gimp.org>

	* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): --enable-gtk-doc
	(EXTRA_DIST): added mkinstalldirs, the po-* Makefiles need it.
	(check-defs): use tools/defcheck.py from $(top_srcdir).


svn path=/trunk/; revision=22431
2007-05-06 11:09:55 +00:00