Commit Graph

214 Commits

Author SHA1 Message Date
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
Sven Neumann dac0f127f2 added a dependency for AUTHORS on authors.xsl.
2007-02-26  Sven Neumann  <sven@gimp.org>

	* Makefile.am: added a dependency for AUTHORS on authors.xsl.

	* authors.xsl: changed to list contributors with their role.

	* AUTHORS: regenerated.


svn path=/trunk/; revision=21994
2007-02-26 10:47:22 +00:00
Sven Neumann cec20d6fc0 removed po-*/update.sh.
* Makefile.am (EXTRA_DIST): removed po-*/update.sh.
2006-11-23 20:46:37 +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
Sven Neumann ac610f0cf3 Makefile.am configure.in added basic infrastructure for a gimp20-python
2006-09-13  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* configure.in
	* po-python: added basic infrastructure for a gimp20-python
	translation domain.

	* plug-ins/pygimp/plug-ins/gimpcons.py
	* plug-ins/pygimp/plug-ins/gtkcons.py: mark some strings for
	translation, based on a patch from David Gowers (bug #351287).
2006-09-13 19:16:58 +00:00
Sven Neumann 7aa82b5186 added po-tips.
2005-07-01  Sven Neumann  <sven@gimp.org>

	* Makefile.am (SUBDIRS): added po-tips.
2005-07-01 14:29:43 +00:00