2001-05-08 12:00:13 -07:00
## Process this file with automake to produce Makefile.in
2013-12-10 15:41:24 -08:00
if PLATFORM_OSX
xobjective_c = "-xobjective-c"
2018-04-08 00:59:49 -07:00
xobjective_cxx = "-xobjective-c++"
xnone = "-xnone"
2013-12-10 15:41:24 -08:00
endif
2002-06-07 16:00:46 -07:00
AM_CPPFLAGS = \
2013-12-10 15:41:24 -08:00
-DGIMPDIR=\""$(gimpdir)"\" \
2006-04-28 17:47:53 -07:00
-DGIMP_APP_VERSION=\"$(GIMP_APP_VERSION)\" \
2013-12-10 15:41:24 -08:00
-DGIMP_USER_VERSION=\"$(GIMP_USER_VERSION)\" \
2013-06-05 11:48:37 -07:00
-DG_LOG_DOMAIN=\"Gimp-Core\" \
-I$(top_builddir) \
-I$(top_srcdir) \
-I$(top_builddir)/app \
-I$(top_srcdir)/app \
$(CAIRO_CFLAGS) \
$(GEGL_CFLAGS) \
$(GDK_PIXBUF_CFLAGS) \
2016-05-26 13:18:50 -07:00
$(LIBMYPAINT_CFLAGS) \
2018-04-28 15:32:21 -07:00
$(MYPAINT_BRUSHES_CFLAGS) \
2013-10-19 09:38:01 -07:00
$(GEXIV2_CFLAGS) \
app: add GimpBacktrace
GimpBacktrace provides an interface for creating and traversing
multi-threaded backtraces, as well as querying symbol information.
While we already have some backtrace functionality, it relies on
external tools for the most part, and as such is rather expensive,
and is only meant for producing opaque backtraces. GimpBacktrace,
on the other hand, is meant to be relatively cheap (we're going to
use it for profiling,) and allow inspection of the backtrace data.
In the future, it might make sense to replace some, or all, of the
other backtrace functions with GimpBacktrace.
GimpBacktrace currently only supports Linux. By default, it uses
dladdr() to query symbol information, which is somewhat limited (in
particular, it doesn't work for static functions.) When libunwind
is installed, GimpBacktrace uses it to get more complete symbol
information. libunwind is currently an optional dependency, but it
might make sense to promote it to a mandatory, or opt-out,
dependency, as it's lightweight and widely available.
On other platforms, the GimpBacktrace interface can still be used,
but it always returns NULL backtraces.
(cherry picked from commit 80bf686c9447f59bdc72cc9adb018ef1a0d83444)
2018-09-01 22:15:35 -07:00
$(LIBUNWIND_CFLAGS) \
2018-04-07 13:39:13 -07:00
-I$(includedir)
AM_CFLAGS = \
2013-12-10 15:41:24 -08:00
$(xobjective_c)
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
2001-07-24 Michael Natterer <mitch@gimp.org>
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
* configure.in: require glib/gtk+ >= 1.3.7, commented out the
gtkxmhtml stuff.
From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
to hack or use GIMP HEAD.
Beware, it crashes randomly :)
* app/core/Makefile.am
* app/core/gimpmarshal.list: new file plus rules to generate
gimpmarshal.[ch] from it.
* app/core/*
* app/tools/*
* app/widgets/*
* libgimpwidgets/*: started to use the glib object system. All
core/ objects are still gtk objects however. All signals are
created using g_signal_new(). There are many gtk+ artefacts left.
Finally, we will _not_ use the gtk_signal_foo() wrappers and
friends any more.
* app/colormaps.c
* app/devices.[ch]
* app/disp_callbacks.c
* app/errorconsole.c
* app/file-save.[ch]
* app/interface.c
* app/module_db.c
* app/nav_window.c
* app/ops_buttons.c
* app/scroll.c
* app/user_install.c
* app/gui/about-dialog.c
* app/gui/brush-editor.c
* app/gui/brushes-commands.c
* app/gui/color-notebook.c
* app/gui/colormap-dialog.c
* app/gui/dialogs-commands.c
* app/gui/dialogs-constructors.c
* app/gui/file-commands.c
* app/gui/file-dialog-utils.c
* app/gui/file-new-dialog.c
* app/gui/file-open-dialog.[ch]
* app/gui/file-save-dialog.c
* app/gui/gradient-editor.c
* app/gui/gradients-commands.c
* app/gui/image-commands.c
* app/gui/info-dialog.[ch]
* app/gui/layer-select.c
* app/gui/layers-commands.c
* app/gui/menus.c
* app/gui/offset-dialog.c
* app/gui/palette-editor.c
* app/gui/palettes-commands.c
* app/gui/patterns-commands.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.[ch]
* app/gui/splash.c
* app/gui/tips-dialog.c
* app/gui/tool-options-dialog.c
* app/gui/toolbox.c
* app/gui/tools-commands.c
* libgimp/gimpbrushmenu.c
* libgimp/gimpmenu.c
* libgimp/gimppatternmenu.c
* libgimp/gimpui.c
* libgimpbase/gimpenv.c: tons and tons of changes like "const
gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
and currently disables), lots of s/gtk_signal/g_signal/,
removal/replacement of deprecated stuff,
s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
while I was on it, zillions of warnings left...
* modules/Makefile.am: disabled the water color selector
temporarily (XInput issues).
* plug-ins/Makefile.am
* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
which did not build (including Script-Fu). They are trivial to
fix.
2001-07-24 14:27:11 -07:00
2018-04-08 00:59:49 -07:00
AM_CXXFLAGS = \
$(xobjective_cxx)
AM_LDFLAGS = \
$(xnone)
2001-06-05 09:14:47 -07:00
noinst_LIBRARIES = libappcore.a
2001-05-08 12:00:13 -07:00
2002-06-07 16:00:46 -07:00
libappcore_a_sources = \
2008-02-04 03:26:23 -08:00
core-enums.h \
core-types.h \
gimp.c \
gimp.h \
2018-05-13 11:36:53 -07:00
gimp-atomic.c \
gimp-atomic.h \
2015-09-29 16:57:33 -07:00
gimp-batch.c \
gimp-batch.h \
2012-04-10 03:09:37 -07:00
gimp-cairo.c \
gimp-cairo.h \
2008-02-04 03:26:23 -08:00
gimp-contexts.c \
gimp-contexts.h \
2016-09-11 17:48:39 -07:00
gimp-data-factories.c \
gimp-data-factories.h \
2008-02-04 03:26:23 -08:00
gimp-edit.c \
gimp-edit.h \
2015-12-30 02:53:52 -08:00
gimp-filter-history.c \
gimp-filter-history.h \
2008-02-04 03:26:23 -08:00
gimp-gradients.c \
gimp-gradients.h \
gimp-gui.c \
gimp-gui.h \
2017-10-29 06:50:28 -07:00
gimp-internal-data.c \
gimp-internal-data.h \
2014-08-12 04:57:57 -07:00
gimp-memsize.c \
gimp-memsize.h \
2008-02-04 03:26:23 -08:00
gimp-modules.c \
gimp-modules.h \
2014-11-26 14:48:19 -08:00
gimp-palettes.c \
gimp-palettes.h \
app: add gimp-parallel
Add gimp-parallel.[cc,h], which provides a set of parallel
algorithms.
These currently include:
- gimp_parallel_distribute(): Calls a callback function in
parallel on multiple threads, passing it the current thread
index, and the total number of threads. Allows specifying the
maximal number of threads used.
- gimp_parallel_distribute_range(): Splits a range of integers
between multiple threads, passing the sub-range to a callback
function. Allows specifying the minimal sub-range size.
- gimp_parallel_distribute_area(): Splits a rectangular area
between multiple threads, passing the sub-area to a callback
function. Allows specifying the minimal sub-area.
The callback function is passed using an appropriately-typed
function pointer, and a user-data pointer. Additionally, when used
in a C++ file, each of the above functions has an overloaded
template version, taking the callback through a generic parameter,
without a user-data pointer, which allows using function objects.
2018-04-04 12:16:42 -07:00
gimp-parallel.cc \
gimp-parallel.h \
2008-02-04 03:26:23 -08:00
gimp-parasites.c \
gimp-parasites.h \
2018-03-04 22:32:53 -08:00
gimp-spawn.c \
gimp-spawn.h \
2009-02-17 10:43:32 -08:00
gimp-tags.c \
gimp-tags.h \
2008-02-04 03:26:23 -08:00
gimp-templates.c \
gimp-templates.h \
gimp-transform-resize.c \
gimp-transform-resize.h \
gimp-transform-utils.c \
gimp-transform-utils.h \
gimp-units.c \
gimp-units.h \
gimp-user-install.c \
gimp-user-install.h \
gimp-utils.c \
gimp-utils.h \
2018-05-11 08:35:22 -07:00
gimpasync.c \
gimpasync.h \
2018-05-29 06:16:48 -07:00
gimpasyncset.c \
gimpasyncset.h \
2018-07-15 08:02:56 -07:00
gimpauxitem.c \
gimpauxitem.h \
gimpauxitemundo.c \
gimpauxitemundo.h \
app: add GimpBacktrace
GimpBacktrace provides an interface for creating and traversing
multi-threaded backtraces, as well as querying symbol information.
While we already have some backtrace functionality, it relies on
external tools for the most part, and as such is rather expensive,
and is only meant for producing opaque backtraces. GimpBacktrace,
on the other hand, is meant to be relatively cheap (we're going to
use it for profiling,) and allow inspection of the backtrace data.
In the future, it might make sense to replace some, or all, of the
other backtrace functions with GimpBacktrace.
GimpBacktrace currently only supports Linux. By default, it uses
dladdr() to query symbol information, which is somewhat limited (in
particular, it doesn't work for static functions.) When libunwind
is installed, GimpBacktrace uses it to get more complete symbol
information. libunwind is currently an optional dependency, but it
might make sense to promote it to a mandatory, or opt-out,
dependency, as it's lightweight and widely available.
On other platforms, the GimpBacktrace interface can still be used,
but it always returns NULL backtraces.
(cherry picked from commit 80bf686c9447f59bdc72cc9adb018ef1a0d83444)
2018-09-01 22:15:35 -07:00
gimpbacktrace.h \
gimpbacktrace-backend.h \
gimpbacktrace-linux.c \
gimpbacktrace-none.c \
2018-09-03 12:52:36 -07:00
gimpbacktrace-windows.c \
2011-04-04 09:40:12 -07:00
gimpbezierdesc.h \
gimpbezierdesc.c \
2012-03-19 06:22:41 -07:00
gimpboundary.c \
gimpboundary.h \
2008-02-04 03:26:23 -08:00
gimpbrush.c \
gimpbrush.h \
2011-04-04 12:11:39 -07:00
gimpbrush-boundary.c \
gimpbrush-boundary.h \
2008-02-04 03:26:23 -08:00
gimpbrush-header.h \
gimpbrush-load.c \
gimpbrush-load.h \
2014-10-11 16:16:32 -07:00
gimpbrush-private.h \
2019-02-12 09:51:47 -08:00
gimpbrush-save.c \
gimpbrush-save.h \
2018-04-04 13:53:00 -07:00
gimpbrush-transform.cc \
2009-02-01 03:08:22 -08:00
gimpbrush-transform.h \
2011-04-05 13:11:27 -07:00
gimpbrushcache.c \
gimpbrushcache.h \
2008-02-04 03:26:23 -08:00
gimpbrushclipboard.c \
gimpbrushclipboard.h \
gimpbrushgenerated.c \
gimpbrushgenerated.h \
gimpbrushgenerated-load.c \
gimpbrushgenerated-load.h \
gimpbrushgenerated-save.c \
gimpbrushgenerated-save.h \
gimpbrushpipe.c \
gimpbrushpipe.h \
gimpbrushpipe-load.c \
gimpbrushpipe-load.h \
2019-02-23 10:41:06 -08:00
gimpbrushpipe-save.c \
gimpbrushpipe-save.h \
2008-02-04 03:26:23 -08:00
gimpbuffer.c \
gimpbuffer.h \
2018-05-27 08:34:58 -07:00
gimpcancelable.c \
gimpcancelable.h \
2008-02-04 03:26:23 -08:00
gimpchannel.c \
gimpchannel.h \
gimpchannel-combine.c \
gimpchannel-combine.h \
gimpchannel-select.c \
gimpchannel-select.h \
gimpchannelpropundo.c \
gimpchannelpropundo.h \
gimpchannelundo.c \
gimpchannelundo.h \
app: add GimpChunkIterator
Factor out the region-chunking logic of GimpProjection into a new
GimpChunkIterator type, providing a generic mechanism for iterating
over a cairo region in discrete chunks. The iterator doesn't
perform any processing itself, but rather dispenses rectangular
chunks, which the user then processes.
Iteration is broken into intervals, the duration of which is
configurable. Each iteration begins with a call to
gimp_chunk_iterator_next(), after which
gimp_chunk_iterator_get_rect() should be called in succession to
fetch a rectangle to process, until it returns FALSE, which marks
the end of the iteration. Updates to the UI should take place in
the interval between iterations, but not during an iteration. The
iterator dynamically adjusts the chunk size according to processing
speed, in order to match the target iteration interval.
The iterator can be given a priority rectangle, which is processed
before the rest of the region. It can also be given a
representative tile rectangle, defining a regular tile grid;
dispensed chunks are aligned to the tile grid as much as possible.
(cherry picked from commit ba9ce34e1009f6abb4c2762fe482b86ae225163c)
2019-01-12 00:12:13 -08:00
gimpchunkiterator.c \
gimpchunkiterator.h \
2008-02-04 03:26:23 -08:00
gimpcontainer.c \
gimpcontainer.h \
gimpcontainer-filter.c \
gimpcontainer-filter.h \
gimpcontext.c \
gimpcontext.h \
gimpcoords.c \
gimpcoords.h \
2008-10-18 11:46:15 -07:00
gimpcoords-interpolate.c \
gimpcoords-interpolate.h \
2008-02-04 03:26:23 -08:00
gimpcurve.c \
gimpcurve.h \
gimpcurve-load.c \
gimpcurve-load.h \
2008-05-11 07:56:57 -07:00
gimpcurve-map.c \
gimpcurve-map.h \
2008-02-04 03:26:23 -08:00
gimpcurve-save.c \
gimpcurve-save.h \
gimpdashpattern.c \
gimpdashpattern.h \
gimpdata.c \
gimpdata.h \
gimpdatafactory.c \
gimpdatafactory.h \
2018-06-04 04:12:14 -07:00
gimpdataloaderfactory.c \
gimpdataloaderfactory.h \
2008-02-04 03:26:23 -08:00
gimpdocumentlist.c \
gimpdocumentlist.h \
gimpdrawable.c \
gimpdrawable.h \
gimpdrawable-bucket-fill.c \
gimpdrawable-bucket-fill.h \
gimpdrawable-combine.c \
gimpdrawable-combine.h \
2018-04-18 14:44:34 -07:00
gimpdrawable-edit.c \
gimpdrawable-edit.h \
2008-02-04 03:26:23 -08:00
gimpdrawable-equalize.c \
gimpdrawable-equalize.h \
2016-03-07 12:33:42 -08:00
gimpdrawable-fill.c \
gimpdrawable-fill.h \
2016-05-11 16:49:53 -07:00
gimpdrawable-filters.c \
gimpdrawable-filters.h \
2016-05-19 08:38:55 -07:00
gimpdrawable-floating-selection.c \
gimpdrawable-floating-selection.h \
2008-02-04 03:26:23 -08:00
gimpdrawable-foreground-extract.c \
gimpdrawable-foreground-extract.h \
2018-04-13 14:43:27 -07:00
gimpdrawable-gradient.c \
gimpdrawable-gradient.h \
2008-02-04 03:26:23 -08:00
gimpdrawable-histogram.c \
gimpdrawable-histogram.h \
gimpdrawable-levels.c \
gimpdrawable-levels.h \
gimpdrawable-offset.c \
gimpdrawable-offset.h \
gimpdrawable-operation.c \
gimpdrawable-operation.h \
gimpdrawable-preview.c \
gimpdrawable-preview.h \
2009-02-03 15:57:11 -08:00
gimpdrawable-private.h \
2008-04-21 10:20:51 -07:00
gimpdrawable-shadow.c \
gimpdrawable-shadow.h \
2008-02-04 03:26:23 -08:00
gimpdrawable-stroke.c \
gimpdrawable-stroke.h \
gimpdrawable-transform.c \
gimpdrawable-transform.h \
2016-05-11 16:49:53 -07:00
gimpdrawablefilter.c \
gimpdrawablefilter.h \
2008-02-04 03:26:23 -08:00
gimpdrawablemodundo.c \
gimpdrawablemodundo.h \
2008-10-10 13:04:03 -07:00
gimpdrawablestack.c \
gimpdrawablestack.h \
2008-02-04 03:26:23 -08:00
gimpdrawableundo.c \
gimpdrawableundo.h \
2009-08-19 18:25:26 -07:00
gimpdynamics.c \
gimpdynamics.h \
2009-08-20 02:26:02 -07:00
gimpdynamics-load.c \
gimpdynamics-load.h \
gimpdynamics-save.c \
gimpdynamics-save.h \
2009-10-11 04:53:59 -07:00
gimpdynamicsoutput.c \
gimpdynamicsoutput.h \
2008-11-12 02:56:06 -08:00
gimperror.c \
gimperror.h \
2008-10-23 14:18:39 -07:00
gimpfilloptions.c \
gimpfilloptions.h \
2013-04-10 17:54:42 -07:00
gimpfilter.c \
gimpfilter.h \
2008-12-20 06:46:54 -08:00
gimpfilteredcontainer.c \
gimpfilteredcontainer.h \
2013-04-10 19:12:10 -07:00
gimpfilterstack.c \
gimpfilterstack.h \
2016-05-20 07:46:26 -07:00
gimpfloatingselectionundo.c \
gimpfloatingselectionundo.h \
2008-02-04 03:26:23 -08:00
gimpgradient.c \
gimpgradient.h \
gimpgradient-load.c \
gimpgradient-load.h \
gimpgradient-save.c \
gimpgradient-save.h \
gimpgrid.c \
gimpgrid.h \
2009-08-03 14:24:46 -07:00
gimpgrouplayer.c \
2009-08-08 06:19:37 -07:00
gimpgrouplayer.h \
2009-09-07 04:04:55 -07:00
gimpgrouplayerundo.c \
gimpgrouplayerundo.h \
2008-02-04 03:26:23 -08:00
gimpguide.c \
gimpguide.h \
gimpguideundo.c \
gimpguideundo.h \
2012-03-24 14:29:53 -07:00
gimphistogram.c \
gimphistogram.h \
2011-05-03 22:24:23 -07:00
gimpidtable.c \
gimpidtable.h \
2008-02-04 03:26:23 -08:00
gimpimage.c \
gimpimage.h \
gimpimage-arrange.c \
gimpimage-arrange.h \
2015-08-02 13:18:43 -07:00
gimpimage-color-profile.c \
gimpimage-color-profile.h \
2008-02-04 03:26:23 -08:00
gimpimage-colormap.c \
gimpimage-colormap.h \
2016-04-29 01:34:03 -07:00
gimpimage-convert-indexed.c \
gimpimage-convert-indexed.h \
2008-02-04 03:26:23 -08:00
gimpimage-convert-fsdither.h \
gimpimage-convert-data.h \
2012-04-29 07:22:20 -07:00
gimpimage-convert-precision.c \
gimpimage-convert-precision.h \
2012-06-26 05:38:33 -07:00
gimpimage-convert-type.c \
gimpimage-convert-type.h \
2008-02-04 03:26:23 -08:00
gimpimage-crop.c \
gimpimage-crop.h \
gimpimage-duplicate.c \
gimpimage-duplicate.h \
gimpimage-flip.c \
gimpimage-flip.h \
gimpimage-grid.h \
gimpimage-grid.c \
gimpimage-guides.c \
gimpimage-guides.h \
gimpimage-item-list.c \
gimpimage-item-list.h \
gimpimage-merge.c \
gimpimage-merge.h \
2013-10-19 09:38:01 -07:00
gimpimage-metadata.c \
gimpimage-metadata.h \
2008-02-04 03:26:23 -08:00
gimpimage-new.c \
gimpimage-new.h \
gimpimage-pick-color.c \
gimpimage-pick-color.h \
2017-06-21 23:16:43 -07:00
gimpimage-pick-item.c \
gimpimage-pick-item.h \
2008-02-04 03:26:23 -08:00
gimpimage-preview.c \
gimpimage-preview.h \
2010-02-03 11:31:25 -08:00
gimpimage-private.h \
2008-02-04 03:26:23 -08:00
gimpimage-quick-mask.c \
gimpimage-quick-mask.h \
gimpimage-resize.c \
gimpimage-resize.h \
gimpimage-rotate.c \
gimpimage-rotate.h \
gimpimage-sample-points.c \
gimpimage-sample-points.h \
gimpimage-scale.c \
gimpimage-scale.h \
gimpimage-snap.c \
gimpimage-snap.h \
2016-01-27 10:13:17 -08:00
gimpimage-symmetry.c \
gimpimage-symmetry.h \
2008-02-04 03:26:23 -08:00
gimpimage-undo.c \
gimpimage-undo.h \
gimpimage-undo-push.c \
gimpimage-undo-push.h \
gimpimageundo.c \
gimpimageundo.h \
gimpimagefile.c \
gimpimagefile.h \
gimpitem.c \
gimpitem.h \
2011-10-12 02:13:41 -07:00
gimpitem-exclusive.c \
gimpitem-exclusive.h \
2008-02-04 03:26:23 -08:00
gimpitem-linked.c \
gimpitem-linked.h \
gimpitem-preview.c \
gimpitem-preview.h \
gimpitempropundo.c \
gimpitempropundo.h \
2008-11-06 11:09:59 -08:00
gimpitemstack.c \
gimpitemstack.h \
2010-02-06 03:58:10 -08:00
gimpitemtree.c \
gimpitemtree.h \
2008-02-04 03:26:23 -08:00
gimpitemundo.c \
gimpitemundo.h \
gimplayer.c \
gimplayer.h \
2016-05-20 07:46:26 -07:00
gimplayer-floating-selection.c \
gimplayer-floating-selection.h \
2015-06-17 04:21:01 -07:00
gimplayer-new.c \
gimplayer-new.h \
2008-02-04 03:26:23 -08:00
gimplayermask.c \
gimplayermask.h \
gimplayermaskpropundo.c \
gimplayermaskpropundo.h \
gimplayermaskundo.c \
gimplayermaskundo.h \
gimplayerpropundo.c \
gimplayerpropundo.h \
2017-05-08 13:02:37 -07:00
gimplayerstack.c \
gimplayerstack.h \
2008-02-04 03:26:23 -08:00
gimplayerundo.c \
gimplayerundo.h \
2018-10-10 11:28:47 -07:00
gimplineart.c \
gimplineart.h \
2008-02-04 03:26:23 -08:00
gimplist.c \
gimplist.h \
gimpmaskundo.c \
gimpmaskundo.h \
2015-12-20 14:48:40 -08:00
gimpmybrush.c \
gimpmybrush.h \
gimpmybrush-load.c \
gimpmybrush-load.h \
2015-12-28 07:47:39 -08:00
gimpmybrush-private.h \
2008-02-04 03:26:23 -08:00
gimpobject.c \
gimpobject.h \
2018-03-25 07:04:35 -07:00
gimpobjectqueue.c \
gimpobjectqueue.h \
2008-02-04 03:26:23 -08:00
gimppaintinfo.c \
gimppaintinfo.h \
gimppattern.c \
gimppattern.h \
gimppattern-header.h \
gimppattern-load.c \
gimppattern-load.h \
2019-02-11 11:56:07 -08:00
gimppattern-save.c \
gimppattern-save.h \
2008-02-04 03:26:23 -08:00
gimppatternclipboard.c \
gimppatternclipboard.h \
gimppalette.c \
gimppalette.h \
gimppalette-import.c \
gimppalette-import.h \
gimppalette-load.c \
gimppalette-load.h \
gimppalette-save.c \
gimppalette-save.h \
2014-11-26 14:48:19 -08:00
gimppalettemru.c \
gimppalettemru.h \
2008-02-04 03:26:23 -08:00
gimpparamspecs.c \
gimpparamspecs.h \
gimpparamspecs-desc.c \
gimpparamspecs-desc.h \
2009-01-25 10:01:47 -08:00
gimpparamspecs-duplicate.c \
gimpparamspecs-duplicate.h \
2008-02-04 03:26:23 -08:00
gimpparasitelist.c \
gimpparasitelist.h \
gimppdbprogress.c \
gimppdbprogress.h \
gimppickable.c \
gimppickable.h \
2012-09-22 05:56:52 -07:00
gimppickable-auto-shrink.c \
gimppickable-auto-shrink.h \
2019-01-17 06:12:31 -08:00
gimppickable-contiguous-region.cc \
2014-05-31 00:52:44 -07:00
gimppickable-contiguous-region.h \
2008-02-04 03:26:23 -08:00
gimpprogress.c \
gimpprogress.h \
2008-11-04 10:06:36 -08:00
gimpprojectable.c \
gimpprojectable.h \
2008-02-04 03:26:23 -08:00
gimpprojection.c \
gimpprojection.h \
gimpsamplepoint.c \
gimpsamplepoint.h \
gimpsamplepointundo.c \
gimpsamplepointundo.h \
gimpscanconvert.c \
gimpscanconvert.h \
gimpselection.c \
gimpselection.h \
2013-05-25 06:26:18 -07:00
gimpsettings.c \
gimpsettings.h \
2008-02-04 03:26:23 -08:00
gimpstrokeoptions.c \
gimpstrokeoptions.h \
gimpsubprogress.c \
gimpsubprogress.h \
2016-02-03 05:29:23 -08:00
gimpsymmetry.c \
gimpsymmetry.h \
gimpsymmetry-mandala.c \
gimpsymmetry-mandala.h \
gimpsymmetry-mirror.c \
gimpsymmetry-mirror.h \
gimpsymmetry-tiling.c \
gimpsymmetry-tiling.h \
2008-12-11 14:04:05 -08:00
gimptag.c \
gimptag.h \
2008-12-20 06:46:54 -08:00
gimptagcache.c \
gimptagcache.h \
2008-02-04 03:26:23 -08:00
gimptagged.c \
gimptagged.h \
2011-03-22 15:11:46 -07:00
gimptaggedcontainer.c \
gimptaggedcontainer.h \
2012-04-08 15:59:20 -07:00
gimptempbuf.c \
gimptempbuf.h \
2008-02-04 03:26:23 -08:00
gimptemplate.c \
gimptemplate.h \
2017-04-22 11:13:07 -07:00
gimptilehandlerprojectable.c \
gimptilehandlerprojectable.h \
2008-02-04 03:26:23 -08:00
gimptoolinfo.c \
gimptoolinfo.h \
gimptooloptions.c \
gimptooloptions.h \
2010-04-03 08:25:31 -07:00
gimptoolpreset.c \
gimptoolpreset.h \
gimptoolpreset-load.c \
gimptoolpreset-load.h \
gimptoolpreset-save.c \
gimptoolpreset-save.h \
2009-08-04 11:12:34 -07:00
gimptreehandler.c \
gimptreehandler.h \
2018-05-29 06:28:08 -07:00
gimptriviallycancelablewaitable.c \
gimptriviallycancelablewaitable.h \
2018-05-29 06:25:27 -07:00
gimpuncancelablewaitable.c \
gimpuncancelablewaitable.h \
2008-02-04 03:26:23 -08:00
gimpunit.c \
gimpunit.h \
gimpundo.c \
gimpundo.h \
gimpundostack.c \
gimpundostack.h \
gimpviewable.c \
2018-05-27 06:53:33 -07:00
gimpviewable.h \
gimpwaitable.c \
gimpwaitable.h
2001-05-08 12:00:13 -07:00
2002-06-07 16:00:46 -07:00
libappcore_a_built_sources = \
core-enums.c \
gimpmarshal.c \
gimpmarshal.h
2001-05-08 12:00:13 -07:00
2002-06-07 16:00:46 -07:00
libappcore_a_extra_sources = \
gimpmarshal.list
2001-05-08 12:00:13 -07:00
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
2001-07-24 Michael Natterer <mitch@gimp.org>
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
* configure.in: require glib/gtk+ >= 1.3.7, commented out the
gtkxmhtml stuff.
From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
to hack or use GIMP HEAD.
Beware, it crashes randomly :)
* app/core/Makefile.am
* app/core/gimpmarshal.list: new file plus rules to generate
gimpmarshal.[ch] from it.
* app/core/*
* app/tools/*
* app/widgets/*
* libgimpwidgets/*: started to use the glib object system. All
core/ objects are still gtk objects however. All signals are
created using g_signal_new(). There are many gtk+ artefacts left.
Finally, we will _not_ use the gtk_signal_foo() wrappers and
friends any more.
* app/colormaps.c
* app/devices.[ch]
* app/disp_callbacks.c
* app/errorconsole.c
* app/file-save.[ch]
* app/interface.c
* app/module_db.c
* app/nav_window.c
* app/ops_buttons.c
* app/scroll.c
* app/user_install.c
* app/gui/about-dialog.c
* app/gui/brush-editor.c
* app/gui/brushes-commands.c
* app/gui/color-notebook.c
* app/gui/colormap-dialog.c
* app/gui/dialogs-commands.c
* app/gui/dialogs-constructors.c
* app/gui/file-commands.c
* app/gui/file-dialog-utils.c
* app/gui/file-new-dialog.c
* app/gui/file-open-dialog.[ch]
* app/gui/file-save-dialog.c
* app/gui/gradient-editor.c
* app/gui/gradients-commands.c
* app/gui/image-commands.c
* app/gui/info-dialog.[ch]
* app/gui/layer-select.c
* app/gui/layers-commands.c
* app/gui/menus.c
* app/gui/offset-dialog.c
* app/gui/palette-editor.c
* app/gui/palettes-commands.c
* app/gui/patterns-commands.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.[ch]
* app/gui/splash.c
* app/gui/tips-dialog.c
* app/gui/tool-options-dialog.c
* app/gui/toolbox.c
* app/gui/tools-commands.c
* libgimp/gimpbrushmenu.c
* libgimp/gimpmenu.c
* libgimp/gimppatternmenu.c
* libgimp/gimpui.c
* libgimpbase/gimpenv.c: tons and tons of changes like "const
gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
and currently disables), lots of s/gtk_signal/g_signal/,
removal/replacement of deprecated stuff,
s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
while I was on it, zillions of warnings left...
* modules/Makefile.am: disabled the water color selector
temporarily (XInput issues).
* plug-ins/Makefile.am
* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
which did not build (including Script-Fu). They are trivial to
fix.
2001-07-24 14:27:11 -07:00
libappcore_a_SOURCES = $(libappcore_a_built_sources) $(libappcore_a_sources)
2018-07-24 10:59:47 -07:00
BUILT_SOURCES = \
$(libappcore_a_built_sources)
2001-11-12 18:44:16 -08:00
EXTRA_DIST = \
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
2001-07-24 Michael Natterer <mitch@gimp.org>
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
* configure.in: require glib/gtk+ >= 1.3.7, commented out the
gtkxmhtml stuff.
From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
to hack or use GIMP HEAD.
Beware, it crashes randomly :)
* app/core/Makefile.am
* app/core/gimpmarshal.list: new file plus rules to generate
gimpmarshal.[ch] from it.
* app/core/*
* app/tools/*
* app/widgets/*
* libgimpwidgets/*: started to use the glib object system. All
core/ objects are still gtk objects however. All signals are
created using g_signal_new(). There are many gtk+ artefacts left.
Finally, we will _not_ use the gtk_signal_foo() wrappers and
friends any more.
* app/colormaps.c
* app/devices.[ch]
* app/disp_callbacks.c
* app/errorconsole.c
* app/file-save.[ch]
* app/interface.c
* app/module_db.c
* app/nav_window.c
* app/ops_buttons.c
* app/scroll.c
* app/user_install.c
* app/gui/about-dialog.c
* app/gui/brush-editor.c
* app/gui/brushes-commands.c
* app/gui/color-notebook.c
* app/gui/colormap-dialog.c
* app/gui/dialogs-commands.c
* app/gui/dialogs-constructors.c
* app/gui/file-commands.c
* app/gui/file-dialog-utils.c
* app/gui/file-new-dialog.c
* app/gui/file-open-dialog.[ch]
* app/gui/file-save-dialog.c
* app/gui/gradient-editor.c
* app/gui/gradients-commands.c
* app/gui/image-commands.c
* app/gui/info-dialog.[ch]
* app/gui/layer-select.c
* app/gui/layers-commands.c
* app/gui/menus.c
* app/gui/offset-dialog.c
* app/gui/palette-editor.c
* app/gui/palettes-commands.c
* app/gui/patterns-commands.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.[ch]
* app/gui/splash.c
* app/gui/tips-dialog.c
* app/gui/tool-options-dialog.c
* app/gui/toolbox.c
* app/gui/tools-commands.c
* libgimp/gimpbrushmenu.c
* libgimp/gimpmenu.c
* libgimp/gimppatternmenu.c
* libgimp/gimpui.c
* libgimpbase/gimpenv.c: tons and tons of changes like "const
gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
and currently disables), lots of s/gtk_signal/g_signal/,
removal/replacement of deprecated stuff,
s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
while I was on it, zillions of warnings left...
* modules/Makefile.am: disabled the water color selector
temporarily (XInput issues).
* plug-ins/Makefile.am
* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
which did not build (including Script-Fu). They are trivial to
fix.
2001-07-24 14:27:11 -07:00
$(libappcore_a_extra_sources)
#
# rules to generate built sources
#
2003-02-03 05:39:55 -08:00
# setup autogeneration dependencies
2001-12-08 15:12:59 -08:00
gen_sources = xgen-gmh xgen-gmc xgen-cec
2001-12-01 07:54:57 -08:00
CLEANFILES = $(gen_sources)
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
2001-07-24 Michael Natterer <mitch@gimp.org>
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
* configure.in: require glib/gtk+ >= 1.3.7, commented out the
gtkxmhtml stuff.
From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
to hack or use GIMP HEAD.
Beware, it crashes randomly :)
* app/core/Makefile.am
* app/core/gimpmarshal.list: new file plus rules to generate
gimpmarshal.[ch] from it.
* app/core/*
* app/tools/*
* app/widgets/*
* libgimpwidgets/*: started to use the glib object system. All
core/ objects are still gtk objects however. All signals are
created using g_signal_new(). There are many gtk+ artefacts left.
Finally, we will _not_ use the gtk_signal_foo() wrappers and
friends any more.
* app/colormaps.c
* app/devices.[ch]
* app/disp_callbacks.c
* app/errorconsole.c
* app/file-save.[ch]
* app/interface.c
* app/module_db.c
* app/nav_window.c
* app/ops_buttons.c
* app/scroll.c
* app/user_install.c
* app/gui/about-dialog.c
* app/gui/brush-editor.c
* app/gui/brushes-commands.c
* app/gui/color-notebook.c
* app/gui/colormap-dialog.c
* app/gui/dialogs-commands.c
* app/gui/dialogs-constructors.c
* app/gui/file-commands.c
* app/gui/file-dialog-utils.c
* app/gui/file-new-dialog.c
* app/gui/file-open-dialog.[ch]
* app/gui/file-save-dialog.c
* app/gui/gradient-editor.c
* app/gui/gradients-commands.c
* app/gui/image-commands.c
* app/gui/info-dialog.[ch]
* app/gui/layer-select.c
* app/gui/layers-commands.c
* app/gui/menus.c
* app/gui/offset-dialog.c
* app/gui/palette-editor.c
* app/gui/palettes-commands.c
* app/gui/patterns-commands.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.[ch]
* app/gui/splash.c
* app/gui/tips-dialog.c
* app/gui/tool-options-dialog.c
* app/gui/toolbox.c
* app/gui/tools-commands.c
* libgimp/gimpbrushmenu.c
* libgimp/gimpmenu.c
* libgimp/gimppatternmenu.c
* libgimp/gimpui.c
* libgimpbase/gimpenv.c: tons and tons of changes like "const
gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
and currently disables), lots of s/gtk_signal/g_signal/,
removal/replacement of deprecated stuff,
s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
while I was on it, zillions of warnings left...
* modules/Makefile.am: disabled the water color selector
temporarily (XInput issues).
* plug-ins/Makefile.am
* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
which did not build (including Script-Fu). They are trivial to
fix.
2001-07-24 14:27:11 -07:00
2007-06-07 06:19:44 -07:00
gimpmarshal.h: $(srcdir)/gimpmarshal.list
*/Makefile.am: work around a bug in the new glib-genmarshal
glib-genmarshal was rewritten in glib 2.53.4, and as of now (2.53.6)
it has a bug where it unconditionally generates marshaler bodies,
even for standard marshalers, even with --stdinc. This causes
libgimpwidgets to define and export g_cclosure_marshal_VOID__INT()
and g_cclosure_marshal_VOID__OBJECT(), which upsets defcheck, and
breaks the build.
Work around this for now by using --header --body when generating
the marshal.c files, which includes the prototypes in the source,
instead of including the header ourselves. This is the only code
path where the new glib-genmarshal doesn't generate bodies for
standard marshalers. Note, however, that this usage is deprecated,
so we'll probably want to change it back once it's fixed.
2017-08-27 12:22:44 -07:00
$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --header >> xgen-gmh \
2001-12-30 07:35:27 -08:00
&& (cmp -s xgen-gmh $(@F) || cp xgen-gmh $(@F)) \
2001-12-08 09:30:28 -08:00
&& rm -f xgen-gmh xgen-gmh~
2001-12-30 07:35:27 -08:00
2007-06-07 06:19:44 -07:00
gimpmarshal.c: gimpmarshal.h
*/Makefile.am: work around a bug in the new glib-genmarshal
glib-genmarshal was rewritten in glib 2.53.4, and as of now (2.53.6)
it has a bug where it unconditionally generates marshaler bodies,
even for standard marshalers, even with --stdinc. This causes
libgimpwidgets to define and export g_cclosure_marshal_VOID__INT()
and g_cclosure_marshal_VOID__OBJECT(), which upsets defcheck, and
breaks the build.
Work around this for now by using --header --body when generating
the marshal.c files, which includes the prototypes in the source,
instead of including the header ourselves. This is the only code
path where the new glib-genmarshal doesn't generate bodies for
standard marshalers. Note, however, that this usage is deprecated,
so we'll probably want to change it back once it's fixed.
2017-08-27 12:22:44 -07:00
$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --header --body >> xgen-gmc \
2001-12-30 07:35:27 -08:00
&& cp xgen-gmc $(@F) \
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
2001-07-24 Michael Natterer <mitch@gimp.org>
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
* configure.in: require glib/gtk+ >= 1.3.7, commented out the
gtkxmhtml stuff.
From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
to hack or use GIMP HEAD.
Beware, it crashes randomly :)
* app/core/Makefile.am
* app/core/gimpmarshal.list: new file plus rules to generate
gimpmarshal.[ch] from it.
* app/core/*
* app/tools/*
* app/widgets/*
* libgimpwidgets/*: started to use the glib object system. All
core/ objects are still gtk objects however. All signals are
created using g_signal_new(). There are many gtk+ artefacts left.
Finally, we will _not_ use the gtk_signal_foo() wrappers and
friends any more.
* app/colormaps.c
* app/devices.[ch]
* app/disp_callbacks.c
* app/errorconsole.c
* app/file-save.[ch]
* app/interface.c
* app/module_db.c
* app/nav_window.c
* app/ops_buttons.c
* app/scroll.c
* app/user_install.c
* app/gui/about-dialog.c
* app/gui/brush-editor.c
* app/gui/brushes-commands.c
* app/gui/color-notebook.c
* app/gui/colormap-dialog.c
* app/gui/dialogs-commands.c
* app/gui/dialogs-constructors.c
* app/gui/file-commands.c
* app/gui/file-dialog-utils.c
* app/gui/file-new-dialog.c
* app/gui/file-open-dialog.[ch]
* app/gui/file-save-dialog.c
* app/gui/gradient-editor.c
* app/gui/gradients-commands.c
* app/gui/image-commands.c
* app/gui/info-dialog.[ch]
* app/gui/layer-select.c
* app/gui/layers-commands.c
* app/gui/menus.c
* app/gui/offset-dialog.c
* app/gui/palette-editor.c
* app/gui/palettes-commands.c
* app/gui/patterns-commands.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.[ch]
* app/gui/splash.c
* app/gui/tips-dialog.c
* app/gui/tool-options-dialog.c
* app/gui/toolbox.c
* app/gui/tools-commands.c
* libgimp/gimpbrushmenu.c
* libgimp/gimpmenu.c
* libgimp/gimppatternmenu.c
* libgimp/gimpui.c
* libgimpbase/gimpenv.c: tons and tons of changes like "const
gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
and currently disables), lots of s/gtk_signal/g_signal/,
removal/replacement of deprecated stuff,
s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
while I was on it, zillions of warnings left...
* modules/Makefile.am: disabled the water color selector
temporarily (XInput issues).
* plug-ins/Makefile.am
* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
which did not build (including Script-Fu). They are trivial to
fix.
2001-07-24 14:27:11 -07:00
&& rm -f xgen-gmc xgen-gmc~
2001-12-08 15:12:59 -08:00
2017-05-22 14:19:17 -07:00
xgen-cec: $(srcdir)/core-enums.h $(GIMP_MKENUMS) Makefile.am
2017-05-22 17:12:50 -07:00
$(AM_V_GEN) $(GIMP_MKENUMS) \
2013-10-14 16:58:39 -07:00
--fhead "#include \"config.h\"\n#include <gio/gio.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"core-enums.h\"\n#include \"gimp-intl.h\"" \
2017-05-22 17:12:50 -07:00
--fprod "\n/* enumerations from \"@basename@\" */" \
2004-07-28 04:50:20 -07:00
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
2004-10-25 10:55:25 -07:00
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n };\n" \
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
2017-11-29 13:27:59 -08:00
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \
2008-11-06 00:28:28 -08:00
--dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \
2017-05-22 17:12:50 -07:00
$< > $@
2017-05-22 14:19:17 -07:00
2017-06-02 07:53:44 -07:00
# copy the generated enum file back to the source directory only if it's
# changed; otherwise, only update its timestamp, so that the recipe isn't
# executed again on the next build, however, allow this to (harmlessly) fail,
# to support building from a read-only source tree.
2017-05-22 14:19:17 -07:00
$(srcdir)/core-enums.c: xgen-cec
$(AM_V_GEN) if ! cmp -s $< $@; then \
cp $< $@; \
else \
touch $@ 2> /dev/null \
|| true; \
fi