Commit Graph

431 Commits

Author SHA1 Message Date
Michael Natterer fd070eeb25 app: start moving layer modes into their own build directories
New directories:

operations/layer-modes/
operations/layer-modes-legacy/
2017-01-09 21:58:18 +01:00
Ell fc293f04d9 configure.ac: require gexiv2 >= 0.10.3
Commit f8e291b uses the `gexiv2_metadata_get_tag_raw()` function,
which was added in 0.10.3.
2017-01-06 18:24:30 -05:00
Hartmut Kuhse 66bc98d299 Revert "New GimpMetadata as subclass of GExiv2Metadata"
This reverts commit 3ab08c8bfd.
2017-01-03 19:36:22 +01:00
Hartmut Kuhse 3ab08c8bfd New GimpMetadata as subclass of GExiv2Metadata 2017-01-03 19:26:35 +01:00
Michael Natterer ac2b9a5e41 configure.ac: require gegl >= 0.3.10
which will be good enough for about five minutes...
2016-11-08 17:07:54 +01:00
Michael Natterer b249a998aa Bug 763214 - Wrong rendering of shadings in PDF imports...
...(in libpoppler -> requires a more recent version)

Require libpoppler >= 0.44.0 which contains a fix for this bug.
2016-11-07 16:00:52 +01:00
Michael Natterer 94e28b3f5b configure.ac: remove the check for a "too new" gdk-pixbuf version
We are way past the 2.31 that was in the check, and unfortunately we
can't get rid of the deprecated inline pixbufs until GIMP 3.0, so just
kill the useless check for good and never define
-DGDK_PIXBUF_DISABLE_DEPRECATED.
2016-11-01 18:27:59 +01:00
Michael Natterer a5073ad928 configure.ac: require libpng 1.6.25
Addresses bug #765850, and probably avoids a gazillion of
vulnerabilities in the versions since the ancient 1.2.37
we required before.
2016-10-31 09:36:15 +01:00
Michael Natterer a13460b8c3 configure.ac: remove remaining traces of optional librsvg 2016-10-31 01:36:35 +01:00
Michael Natterer 43e218859b Bug 773382 - --without-librsvg broken by tools/Makefile.am
Fixed by making librsvg a hard dependency.
2016-10-30 19:44:28 +01:00
Michael Natterer 0ce364ee4d configure.ac, app: require liblcms2 >= 2.7
and add an lcms2 runtime version check to app/sanity.c

Fixes:
Bug 736701 - LCMS2 rounding errors cause problems with certain GIMP blend modes
2016-09-15 12:52:20 +02:00
Jehan c6a570d33e configure, INSTALL, devel-docs: vectorial icons is not proper English.
We should use "vector icons" instead. Thanks to nomis for raising the
question and ankh to confirm the proper English.
2016-09-12 01:58:41 +02:00
Jehan bbe6b3828d Bug 768371 - reason for failed configure due to missing dependencies...
... easier to detect automatically.
2016-08-26 03:13:46 +02:00
Benoit Touchette c1021a3e3a Bug 769651 - Add webp file format support to gimp master
Patch to add webp file format support. Includes supports for
loading/saving, icc profiles, exif, and xmp data.
Co-authored with Nathan Osman.
2016-08-09 21:21:52 +02:00
Michael Natterer 119678eefa configure.ac: post-release version bump to 2.9.5 2016-07-12 22:38:20 +02:00
Michael Natterer becd85e18a configure.ac: release 2.9.4 2016-07-12 21:16:03 +02:00
Michael Natterer 1df2e8c9d8 configure.ac, sanity.c: require babl >= 0.1.18 and GEGL >= 0.3.8 2016-06-16 20:42:48 +02:00
Jehan 3618df0999 configure: run AX_PROG_CC_FOR_BUILD before AM_PROG_CC_C_O.
It was working fine for me, but someone had the error:
error: AC_PROG_CC cannot be called after AM_PROG_CC_C_O
/usr/share/aclocal/ax_prog_cc_for_build.m4:38: AX_PROG_CC_FOR_BUILD is expanded
from...
I can indeed see that AX_PROG_CC_FOR_BUILD code runs AC_PROG_CC again.
So let's make sure this is run before AM_PROG_CC_C_O.
Thanks to Francesco Riosa for reporting the bug.
2016-06-13 01:53:07 +02:00
Jehan 18b0468cc9 tools: invert-svg is a build-only tool.
It must be built with a native compiler and native libs only.
2016-06-12 04:25:53 +02:00
Jehan 500589e97c configure: fix linking with ExcHndl for Dr. MinGW. 2016-06-12 04:19:59 +02:00
Jehan 0b4fa971b3 configure: AC_CHECK_FILE() does not work when cross-compiling.
As autoconf docs say: "like most Autoconf macros, they test a feature
of the host machine, and therefore, they die when cross-compiling."
Therefore use shell-type file existence instead which works for all
cases. This fixes configure failing with:
"error: cannot check for file existence when cross compiling"
2016-06-12 02:45:44 +02:00
Jehan 24334f3e59 INSTALL, configure: add Dr. MinGW information...
... in the INSTALL file, but also in the summary of optional
dependencies at the end of the configure script.
2016-06-11 23:35:39 +02:00
Jehan a5bccf3080 configure: do not consider the target architecture.
From autoconf docs:
> ‘$target’ is for use by a package creating a compiler or similar.
> For ordinary packages it's meaningless and should not be used.
Since GIMP is not a compiler, nor anything similar, let's not make
anything from this information.
Thanks to Quentin Glidic for reporting the issue (on libmypaint bug
tracker, since it was using nearly the same code there too).

This commit also improves configure output regarding host detection,
and uses dedicated canonical variables $host_cpu/os instead of the full
value.
2016-06-09 19:56:34 +02:00
Jehan 0a8c322ef8 plug-ins: if --with-sendmail is set with a value, use it. (2)
I should always test my patches thoroughly! Commit 912fcec was not
working as planned. This is!
2016-06-02 18:17:09 +02:00
Jehan 2781450c3b configure: minor alignment fix of option description. 2016-06-02 01:24:10 +02:00
Jehan df8fded8f7 configure: output the list of missing dependencies at the end...
... on configuration failure. This makes the failure as well as the list
of errors more visible.
2016-05-31 01:23:32 +02:00
Hartmut Kuhse 93d1161950 plug-ins: remove obsolete win-snap, because its functionality is in plug-ins/screenshot 2016-05-28 11:38:02 +02:00
Jehan 0d8d5a0cfe plug-ins: sendmail is also a runtime dependency.
Such as `xdg-email`, if --with-sendmail is set, sendmail presence should
actually be checked at runtime and not be a blocker during build.
2016-05-28 00:52:38 +02:00
Jehan 05f7726eab plug-ins: xdg-email is a runtime dependency. 2016-05-27 21:44:52 +02:00
Jehan 8c4d03ada8 plug-ins: email plugin brought back from the dead.
By default, it will now use xdg-email to select the user's preferred
email client, which means it only works on platforms with xdg-email.
The sendmail implementation is still available if requested explicitly
with --with-sendmail.
2016-05-27 21:44:45 +02:00
Jehan 1c6b85d0a5 configure: request libmypaint version 1.3.0 or higher.
libmypaint just got ported to autotools, which makes GIMP again easily
built on all kind of platforms. There is no need to rely on older
versions of this library which would only give us headaches.
2016-05-17 21:47:37 +02:00
Kristian Rietveld f29877dcc4 pygimp: require Pycairo in configure, link gimpui against pycairo 2016-05-01 21:44:04 +02:00
Tobias Ellinghaus fc0f42def4 plug-ins: add new plug-in file-darktable
Which loads raw files by having them developed in darktable.
Also disable NEF support in file-gegl.
2016-04-19 00:21:15 +01:00
Michael Natterer 8bb48ac5de Bug 555525 - 64 Bit Build on Mac OS X Leopard fails...
...because of TWAIN interface

Remove all Mac TWAIN stuff, we will get proper OS X scanner support
pretty soon.
2016-04-18 00:05:41 +01:00
Jehan 2ecdf13982 icons: commit the extracted SVG images for Color and Symbolic.
librsvg has too many bugs to be used for build-time SVG extraction.
So I will just leave out my extraction script (for the time being) and
simply commit all extracted SVGs (with Inkscape through a script).
The gray inversion script works fine though, so no need to commit
Symbolic-inverted icons.
2016-03-28 16:32:17 +02:00
Jehan 0f67e21c98 themes: rename theme "Default" into "System".
Since we have many themes now, this new name better indicates that it
is meant to follow your desktop theme settings.
Also it will likely not remain the default theme.
2016-03-22 16:37:10 +01:00
Benoit Touchette ab8aa3bd83 Themes: Renamed themes. Added 3 themes (Lighter, Gray, Dark).
Updated themes, renamed The-Dark-Side-Of-Gimp to Darker, and renamed The-Light-Side-Of-Gimp
to Light. Added three themes, Lighter, Gray, and Dark.

https://bugzilla.gnome.org/show_bug.cgi?id=759648 (Light)
https://bugzilla.gnome.org/show_bug.cgi?id=759649 (Darker)
https://bugzilla.gnome.org/show_bug.cgi?id=759663 (Gray)
https://bugzilla.gnome.org/show_bug.cgi?id=759830 (Lighter)
https://bugzilla.gnome.org/show_bug.cgi?id=759996 (Dark)
2016-03-20 10:56:47 -04:00
Michael Natterer 1c9e5d62fc Bug 763766 - Suggest changing "Postscript" to "PostScript"
We were already using "PostScript" almost everywhere, fix the
remaining strings too.
2016-03-19 22:45:16 +01:00
Øyvind Kolås a28964c698 configure/app: bump required GEGL version to 0.3.6 2016-03-19 19:39:56 +01:00
Jehan c0d96f0130 icons: get the 2.8 pixel-perfect icon theme back under name "Legacy".
It will makes nostalgic people happy. It does not change the plans about
the new Color icon theme, which we are planning to render pixel-perfect
as well in the end.
2016-03-01 00:12:38 +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
Øyvind Kolås 9b32253270 configure.ac: require GEGL 0.3.5 2016-01-19 00:23:07 +01:00
draekko b3dc5db2a2 themes: adding The-Light-Side-of-Gimp theme
Adding light theme as per request:
https://bugzilla.gnome.org/show_bug.cgi?id=759648#c19
2016-01-11 09:53:41 -05:00
Jehan ee512b610d icons: "Default" icon theme renamed to "Color".
Conveys well the duality of Color vs. Symbolic icons, terms usually
used by designers in recent design texts.
2016-01-11 03:20:13 +01:00
Jehan 40dc9e94ff configure: perform configuration actions only when configure succeeds. 2016-01-02 16:12:03 +01:00
Mukund Sivaraman 6a6604871f windows: Add support for generating crash backtraces using Dr. MingW 2016-01-02 18:55:37 +05:30
Jehan 9fb93568c2 configure: improved configuration script.
The ./configure now finishes even when mandatory dependencies are
missing and fails at the end, listing all errors.
2015-12-29 18:06:03 +01:00
Daniel Sabo c97a529968 app: Change mypaint dependency from libmypaint-gegl to just libmypaint 2015-12-28 09:18:46 -08:00
Jehan 9eb5fbd2a2 Bug 759649 - new dark theme by Benoit Touchette.
Initial version of our dark theme.
Additional credits for some of the UI images to horst3180 (Ceti-2 theme)
and Medhi Abhollahi (new CS6 II theme). All under GPLv3, as the rest
of GIMP.
2015-12-23 19:27:18 +01:00
Michael Natterer d01ba07ed6 configure.ac, app: make libmypaint a hard dependency
and move the MyPaint brush tool out of the playground.
2015-12-21 21:39:48 +01:00
Michael Natterer 44d5e7adcd configure.ac, icons: check for the "gegl" binary
and use the found executable instead of hardcoding "gegl".
2015-12-21 00:21:17 +01:00
Jehan 94aec7cb6c icons: generate "negative" color symbolic icons.
The negative icons are generated from the Symbolic icon theme with
the GEGL operation 'gegl:invert-linear'.
2015-12-20 17:43:33 +01:00
Jehan 5beb69d009 icons: new symbolic icon theme for GIMP.
Images originally created by Jakub Steiner and Barbara Muraus as the
"Art Libre" icon set.
The contributor jEsuSdA later worked on it.
It will now be available in the new icon theme selection through
preferences.
Many icons/size are still missing but this first commit makes a start
for complementary work.
2015-12-09 23:00:14 +01:00
Michael Natterer 48046d258a configure.ac, plug-ins: make libtiff a hard dependency
so file-tiff-load and file-tiff-save are always built. Also move them
to their own folder plug-ins/file-tiff/ because they will soon share
some common GIO code.
2015-12-02 12:33:31 +01:00
Michael Natterer 1023e37656 configure.ac: post-release version bump to 2.8.3 2015-11-26 00:17:27 +01:00
Michael Natterer 92f2b00929 configure.ac: release GIMP 2.9.2 2015-11-25 23:30:49 +01:00
Michael Natterer 4c01965c42 configure.ac: require GEGL 0.3.4 2015-11-25 18:57:16 +01:00
Michael Natterer 8f6ddd2888 configure.ac: require GEGL 0.3.2 2015-11-22 01:11:08 +01:00
Michael Natterer ab1fa11eea configure.ac: require Babl 0.1.14 2015-11-20 16:40:12 +01:00
Michael Natterer e1c4314a8e Bug 757687 - Screenshot functionality broken under Wayland
Move the screenshot plug-in to its own directory, it's about to be
split up into multiple files.
2015-11-07 15:52:44 +01:00
Michael Natterer 10e07292ec configure.ac: add -Wlogical-op and -Wtype-limits 2015-10-17 20:16:18 +02:00
Kristian Rietveld 153b19ac56 Only build Quartz-specific color picking code on OS X/Quartz builds 2015-10-04 18:11:16 +02:00
Jehan 7160e05349 configure: comment out -Wsystem-headers for now...
It outputs far too many warnings on some systems (like OSX apparently).
2015-09-09 03:21:49 +02:00
Jehan d62615293d configure: add warning for forgotten return value on non-void functions.
Adding -Wreturn-type for general case, but also -Wsystem-headers to warn
of g_return_if_fail() on non-void, since these are macros from system
headers directory, and -Wreturn-type would not warn for these.
2015-09-09 01:11:32 +02:00
Michael Natterer a4a0ec9598 plug-ins, pdb: remove the maze plug-in and add a PDB compat proc 2015-09-04 00:34:38 +02:00
Michael Schumacher c960069198 Workaround for intltool vs. automake issue during distcheck
intltool and automake 1.15 currently cause a problem during make distcheck.
This is a no-op workaround for intltool-update to make that succeed again.
See https://github.com/systemd/systemd/commit/06528e8fdd and
https://bugs.launchpad.net/intltool/+bug/1117944 for more information.

Thanks to Daniel Mack for pointing this out during Chaos Communication Camp.
2015-08-21 01:02:41 +02:00
Michael Natterer 8005eea835 Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments
because it confuses gtk-doc and breaks some links. Also change the
"Index of new symbols in GIMP 2.x" sections to be what seems to be the
modern standard (looked at the GLib and GTK+ docs), and update some
other stuff.
2015-05-31 21:18:09 +02:00
Michael Natterer 7c36f94f7f cursors,app,libgimpwidgets: include cursors using GResource
instead of deprecated inline pixbufs. Require on gdk-pixbuf >= 2.30.8.
2015-04-14 22:55:10 +02:00
Jehan 5217900748 configure/app: libmypaint becomes an optional dependency. 2015-03-30 22:38:35 +02:00
Jehan 89ef9ca5b7 INSTALL: add brushlib dependency info. 2015-03-30 22:38:35 +02:00
Jehan 77b04551c8 app: clean compilation with external libmypaint.
The work-in-progress was using a source tree of libmypaint embedded
into GIMP tree. This is a cleaning with pkg-config test in configure,
and correct includes.
2015-03-30 22:38:35 +02:00
Michael Natterer 071ede915a app: first draft of GimpMybrushTool, which uses MyPaint brushes 2015-03-30 22:38:34 +02:00
Michael Natterer a0398e5028 configure.ac, plug-ins: require lcms >= 2.6 and remove #ifdef from lcms.c 2015-02-21 00:33:37 +01:00
Michael Natterer d1f8fa01a8 data: sort patterns into subdirectories so they get tagged automatically
This does not mean that our patterns are all of a sudden "proper" now,
but the categories (except "Legacy") hopefully make sense for new high
quality patterns that will be added, and it's better than having them
all untagged.
2015-02-11 21:13:33 +01:00
Michael Natterer 431f65a7a8 configure.ac: require babl 0.1.12 2015-02-08 18:30:07 +01:00
Michael Natterer aec8faf56e configure.ac, docs: use the correct gimpdir in the manual pages
It's now either $XDG_CONFIG_HOME/$gimpdir/2.9 or directly $gimpdir,
depending on whether $gimpdir is a relative or absolute path. Build
the resulting string in configure and put it into the manpage_gimprc
variable so it can be used in the manpage sources.
2014-09-15 23:54:06 +02:00
Mukund Sivaraman 7bfc60462e devel-docs: Add libtool-instructions.txt 2014-08-27 08:41:02 +05:30
Mukund Sivaraman 66ee43a374 build: Update configure help 2014-08-25 13:25:28 +05:30
Michael Henning 4b9bd6ba7d configure: fix testing for bzip2 on windows 2014-08-19 00:03:09 -04:00
Jehan af5732ec14 configure: s/libpoppler/libpoppler-glib/
To be precise, we require the libpoppler-glib, which is optional when
building poppler. It is more informative to be accurate.
2014-08-16 15:56:45 +02:00
Jehan b1fc539f6c tests: build the test icon theme for all platforms.
In particular, we were not building these for win32, which has no
symbolic link concept. So let's use $(LN_S) defined by autoconf for this
purpose, as it will copy files for platforms without ln support.
Moreover this way, we don't create one such folder for each and every
test run and fill up the tmp directory with countless directories, that
we never clean up.
On Win32, this fixes 3 tests which were failing because of the missing
icons.
2014-08-15 21:21:41 +00:00
Michael Natterer 498ccd33ee plug-ins: move file-compressor to plug-ins/common/, it's only one .c file 2014-08-14 01:35:06 +02:00
Jehan f212c9bfc2 Bug 733525: check presence of poppler-data (informational only).
As of version 0.4.7, poppler-data has a pkg-config file, allowing us to
verify its presence. The configure summary is only informational, and we
don't impose this version since older versions may still work.
Moreover poppler-data is only a runtime dependency, so you can also add
it afterwards.
2014-08-13 00:47:12 +00:00
Michael Natterer dae366bb6e configure.ac, *: require GLib 2.40.0
Remove gimp_output_stream_[v]printf() and use the new functions from
GLib instead. Use memmove() instead of the deprecated g_memmove().
2014-08-12 15:30:19 +02:00
Michael Natterer 0904b1e923 configure.ac, INSTALL.in: remove traces of libcurl and the URI plug-in
and fix formatting of "Summary of optional packages" in INSTALL.in
2014-08-12 14:52:21 +02:00
Jehan 6b2963928e configure: warning when compiling with old fontconfig on Win32.
Fontconfig had a few bugs in the default configuration when compiled for
Windows. These issues are fixed from version 2.11.1. Display a warning
when compiling on win32 platform with older versions.
See in particular bugs 708110 and 703331.
2014-07-28 15:35:50 +00:00
Michael Natterer 57e6b22b9d app, plug-ins: remove file-uri completely
and enable the new file-remote code in app unconditionally.
2014-07-23 21:37:13 +02:00
Jehan 8797a35508 INSTALL: add fontconfig, gettext versions and optional dependencies. 2014-07-22 18:13:22 +00:00
Jehan 55315a2804 INSTALL: more complete list of required packages in INSTALL.in. 2014-07-13 20:36:53 +00:00
Michael Natterer 4fbff306e6 plug-ins: remove the libcurl and wget file-uri backends
and build file-uri unconditionally, always using GIO. Use more GFiles
instead of URIs in the plug-in in preparation of moving its
functionality to the core.
2014-07-10 20:50:35 +02:00
Michael Natterer ef37fbbbb2 configure: on Windows, depend on gio-windows-2.0 2014-07-02 19:58:36 +02:00
Jehan 6714a414a7 configure: search only Python 2 interpreter and headers.
Do not accept Python 3 interpreter/headers, even when this is the
default installed Python. Search only for Python 2.
2014-05-30 09:59:51 +00:00
Michael Natterer 7438d5bd04 plug-ins: remove the color-rotate plug-in 2014-05-30 01:37:39 +02:00
Jehan f1fe8b9c24 configure: clean out forgotten debug print. 2014-05-30 00:12:12 +00:00
Michael Natterer f1573c42d2 app: default to GIMP_HELP_BROWSER_WEB_BROWSER if there is no webkit 2014-05-25 15:23:58 +02:00
Michael Natterer 033719bfa2 icons, themes, app: move the preferences images into the icon theme 2014-05-12 03:24:09 +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 6aa53ed2c6 configure: check for gtk-update-icon-cache 2014-05-06 20:14:39 +02:00
Mukund Sivaraman 25c93abbc4 build: Lowering HarfBuzz version further to 0.9.19 to support older distros 2014-05-03 21:14:18 +05:30
Mukund Sivaraman 21e9e3733a build: Lower HarfBuzz requirement to 0.9.26 2014-05-03 20:28:00 +05:30
Jehan feb1bf2797 Bug 720052 - Make GIMP recommend a recent gettext.
Script-fu gettext strings were mostly not extracted by xgettext. This
will be fixed in upcoming gettext 0.19. Add a test to warn packagers
using older gettext.
2014-05-04 01:38:58 +12:00
Mukund Sivaraman 81e955ed1b build: Add HarfBuzz dependency 2014-05-03 00:27:47 +05:30
Daniel Sabo f6533db8b7 configure: Also search for the -gtk2 version of mac integration
If a suffixed version is not found it will still fall back to
searching for the old version.
2014-03-19 21:20:51 -07:00
Michael Natterer 4617de6b09 configure, plug-ins: away with all conditional stuff for libbzip2 and liblzma 2014-02-16 16:43:37 +01:00
Michael Natterer 17cadd3c38 configure, plug-ins: really make libz a hard dependency
Don't check for it as if it were optional, and error out further down
in configure.ac. Instead error out immediately and remove all other
checks and Makefile hacks.
2014-02-16 16:24:34 +01:00
Ed J 41d932cf48 Make INSTALL be generated by autoconf/configure - automatically updates version numbers. 2014-02-03 14:55:26 -05:00
Michael Natterer 6e07c83978 Bug 722939 - asking for an absolute path as gimpdir results in a path...
...relative to the home folder

If an absolute path was given to the --with-gimpdir configure option,
use that path literally.
2014-01-25 19:03:40 +01:00
Martin Husemann 4ac3967a5d Bug 711795 - execinfo.h functions need -lexecinfo on NetBSD
Allow building on NetBSD -current where execinfo.h is present but
backtrace() and backtrace_symbols() are in -lexecinfo.
2013-11-10 22:20:29 +01:00
Michael Natterer 98cef1273b Bug 704980 - uclibc - base-utils.c: execinfo.h: No such file or directory
Forgot to apply the same fix to master.
2013-11-10 22:09:54 +01:00
Michael Natterer cfa074628f configure: check for gtk-mac-intregration only if GTK+ is built for quartz 2013-11-10 20:51:37 +01:00
Michael Natterer 1717cb84ed configure: run check for gtk-mac-integration only on OSX 2013-11-10 18:46:32 +01:00
Daniel Sabo e56344294c app: Port to gtk-mac-integration
Replace deprecated Carbon APIs with Cocoa.

Includes code by:
Simone Karin Lehmann
Michael Natterer
Daniel Sabo
2013-11-10 18:22:01 +01:00
Michael Natterer 7bd4d2678a configure, plug-ins, modules: make lcms a hard dependency 2013-11-03 21:19:51 +01:00
Michael Natterer 771293d402 configure, plug-ins: make libjpeg a hard dependency 2013-11-02 22:33:19 +01:00
Michael Natterer a76460f497 configure, plug-ins: make libpng a hard dependency 2013-11-02 17:11:21 +01:00
Michael Natterer ce2822d58f plug-ins: remove the old metadata plug-in 2013-10-27 01:15:37 +02:00
Hartmut Kuhse 21bed1e2fb Completely rewrite metadata handling using gexiv2
Based on original patches from Hartmut Kuhse and modified
by Michael Natterer. Changes include:

- remove libexif dependency and add a hard dependency on gexiv2
- typedef GExiv2Metadata to GimpMetadata to avoid having to
  include gexiv2 globally
- add basic GimpMetadata handling functions to libgimpbase
- add image and image file specific metadata functions to libgimp,
  including the exif orientation image rotate dialog
- port plug-ins to use the new APIs
- port file-tiff-save's UI to GtkBuilder
- add new plug-in "metadata" to view the image's metadata
- keep metadata around as GimpImage member in the core
- update the image's metadata on image size, resolution and precision
  changes
- obsolete the old metadata parasites
- migrate the old parasites to new GimpMetadata object on XCF load
2013-10-27 01:02:17 +02:00
Jehan 6ee77e5635 Bug 709878 - test-session-* skipped when xvfb-run is unavailable.
Also add a GIMP_EXIT_TEST_SKIPPED #define, to return the SKIP exit value
documented by automake.
2013-10-11 21:57:42 +13:00
Nils Philippsen c13e73271b configure: use test in a portable way 2013-10-01 12:16:43 +02:00
Michael Henning 11f8135b2c Remove -Wformat-nonliteral 2013-08-28 17:56:56 -04:00
Michael Henning 8823f7356b -Wformat-nonliteral, not -Wformat-non-literal 2013-08-28 17:29:02 -04:00
Daniel Sabo cccc3550af SSE2 & SSE4.1 versions of GimpOperationNormalMode
* Add configure checks for SSE intrinsic code.
* Use SSE helper libraries in app/operations to compile
  code with different CFLAGS.
2013-06-25 20:42:15 -07:00
Daniel Sabo f72c138771 Bump GEGL version to 0.3.0 2013-06-04 17:21:19 -07:00
Daniel Sabo d856ba624e Reduce glib required micro version
Change 2.36.1 to 2.36.0, because Ubuntu.
2013-05-28 16:06:45 -07:00
Michael Natterer fdfc288861 configure: remove GIF compression configure options 2013-05-27 22:56:01 +02:00
Michael Natterer 3a456e07c3 configure: remove DBus from optional features in the configure summary
It's now used unconditionally when not on Windows or OSX.
2013-05-27 22:02:27 +02:00
Michael Natterer c2d9b05a76 app: build the GUdev based linux-input controller without dbus-glib
Why was this configure check depending on dbus-glib at all...
2013-05-27 21:54:55 +02:00
Michael Natterer e76dce1218 configure: update checks for "too new" library versions
We use them to switch off DISABLE_DEPRECATED defines, so the build
won't break with future library versions.
2013-05-26 16:59:01 +02:00
Michael Natterer e5b7df0748 Depend on GLib >= 2.36.1 2013-05-25 22:43:48 +02:00
Michael Natterer c4460e846b Bug 622934 - Migrate from dbus-glib to glib's GDBus
Drop the glib-dbus dependency and port stuff to GDBus. Use it
unconditionally if not on Windows or OSX. It seels to work just like
before but I have no idea if everything is really correct.
2013-05-24 23:25:47 +02:00
Mukund Sivaraman 2ea44ee14b build: Lower required version of OpenEXR library 2013-05-04 18:32:22 +05:30
Mukund Sivaraman 8d89efaff5 file-exr: Add initial implementation (loader)
This is a basic implementation of an OpenEXR loader. This
"infrastructure" is required for any further work. It consists of:

* The build system changes.

* A C wrapper around the OpenEXR library, which is necessary as it's not
  possible to intermix GIMP's code with C++ code.

* A basic image loader. Chroma is not supported currently, and some
  other weird files like multi-view files are unsupported. These can be
  added when necessary. There is no UI, but it should be straightforward
  to add new features like this on top of this work.
2013-05-04 13:02:54 +05:30
Mukund Sivaraman 36853815f9 build: Require dependencies of file-compressor
Without the dependencies of file-compressor (currently zlib, libbzip2
and liblzma), configure fails now. file-compressor is referenced in too
many places for its functionality to be optional.
2013-04-25 12:46:37 +05:30
Chris Wilson 4a81849e36 app: Use SHM transport for data transfer for display
Recent Cairo uses SHM transports when available, and exposes the ability
for its users to manage images shared between it and the display.
This allows us to eliminate copies, and if the architecture supports it
even to upload directly into GPU addressable memory without any copies
(all in normal system memory so we suffer no performance penalty when
applying the filters). The caveat is that we need to be aware of the
synchronize requirements, the cairo_surface_flush and
cairo_surface_mark_dirty, around access to the transport image. To
reduce the frequency of these barriers, we can subdivide the transport
image into small chunks as to satisfy individual updates and delay the
synchronisation barrier until we are forced to reuse earlier pixels.

Note this bumps the required Cairo version to 1.12, and please be aware
that the XSHM transport requires bug fixes from cairo.git (will be
1.12.12)

v2: After further reflections with Mitch, we realized we can share the
transport surface between all canvases by attaching it to the common
screen.

v3: Fix a couple of typos in insert_node() introduced when switching
variables names.

v4: Encapsulating within an image surface rather than a subsurface was
hiding the backing SHM segment from cairo, causing it to allocate
further SHM resources to stream the upload. We should be able to use a
sub-surface here, but it is more convenient to wrap the pixels in an
image surface for rendering the filters (and conveniently masking the
callee flushes from invalidating our parent transport surface).

Cc: Michael Natterer <mitch@gimp.org>
2013-02-02 13:59:59 +01:00
Ville Skyttä 6b0d1038cc Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
Ville Skyttä 79be7de82e Bug 692625 - Use image/x-pcx for PCX in desktop entry
Desktop entry: Use image/x-pcx as PCX MIME type to sync with
shared-mime-info.
2013-01-27 14:26:13 +01:00
Kevin Cozens d17622dce6 Fixed MIME_TYPES. Postscript and PDF are compiled conditionally. Fixes #690882. 2012-12-30 10:57:56 -05:00
Michael Natterer 0b388d1dde configure: remove all traces of gthread, it's not needed any longer
Thread support moved into GLib and is enabled unconditionally.
2012-11-25 22:40:12 +01:00
Michael Natterer 9932e05c9b plug-ins: remove file-xjt
It will never hold high bit depths using JPEG compression, and nobody
is going to port it to layer groups and whatever either.  Wolfgang
says it's obsolete, whoever needs to convert old files can use 2.8.
2012-11-21 00:12:36 +01:00
Jehan 60e0cfe55c Bug 166643 - gimp support for the XDG basedir spec
New configuration directory scheme, consistent across platforms, and
following standards.

UNIX platforms (except OSX): $XDG_CONFIG_HOME/GIMP/{GIMP_APP_VERSION}
Windows: %APPDATA%/GIMP/{GIMP_APP_VERSION}
OSX: NSApplicationSupportDirectory/GIMP/{GIMP_APP_VERSION}
2012-11-11 17:55:31 +01:00
Kevin Cozens a2e037fb00 Corrected spelling errors spotted by Ari Pollak (Mostly fixes bug #683694)
Still need to address the "allows to" grammatical error.
2012-09-10 12:22:12 -04:00
Michael Natterer 8bbfc9e5cf Bug 675558 - switch from lcms-1 to lcms-2
Applied modified patch from Hartmut Kuhse which ports to lcms-2.
2012-09-03 20:03:53 +02:00
Mukund Sivaraman fc4a192f23 file-compressor: Add support for xz compressed files (bug #683159)
This commit causes a compiler warning because string literals are of
type signed char, and we use a character out of the signed range in the
mimetype for xz.  It can be fixed by changing the data type of the mime
string to (unsigned char *), and not using string literals, but that's
a bit too much for this commit.
2012-09-02 04:43:06 +05:30
Michael Natterer 02bd9de54f configure: require GEGL 0.2.1 from git
this is obviously not exact, but better than 0.2.0 which definitely
doesn't work any longer.
2012-07-05 21:46:07 +02:00
Michael Natterer 373a4e7469 app: completely remove TileManager and friends (base/ and paint-funcs/)
And along with it a lot of stuff like the drawable preview cache, the
gegl tile manager backend, temporary gimp_gegl_buffer_foo() stuff, and
the remaining bits of performance.

The projection is in an evil semi-ported state which makes it work
ok-ish for stuff like layer moving, but absolutely unbearable for
painting, there is also an off-by-one rendering glitch at some zoom
levels.
2012-06-20 21:44:09 +02:00
Ville Sokk 1edb18c30a app: modified and moved gegl operation testing to operations/tests 2012-06-14 21:30:00 +03:00
Michael Natterer d847439b3e app: forgot to remove app/composite here too 2012-05-19 03:09:42 +02:00
Michael Natterer 9112d68488 Move gimpdir and thumbnails to proper places on OSX
gimpdir goes to ~/Library/Gimp/x.y
thumbnails go to ~/Library/Caches/org.freedesktop.thumbnails

The thumbnail location is not standardized yet, but is the only
location that makes sense. Also fix user install to search old
gimpdirs to migrate in both Library and the classic location.
Remove the obsolete CABON_CFLAGS from all makefiles.
2012-05-12 14:39:44 +02:00
Michael Natterer 7101ee191a app: move all GEGL operations to new directory app/operations/ 2012-05-10 21:22:44 +02:00
Sebastian Pipping 8200220caa Fix configure option --with[out]-bzip2 2012-05-05 02:00:12 +02:00
Michael Natterer 6888304f4a configure: require GLib 2.32.0 for the new G_DEPRECATED macros 2012-05-03 00:49:11 +02:00
Øyvind Kolås 8b028ee8ce depend on babl>=0.1.11 2012-05-02 17:51:18 +02:00
Michael Natterer e4acf6e9cf Require GEGL in gimp-2.0.pc 2012-05-02 17:46:08 +02:00
Michael Natterer 950412fbdc configure: bump version to 2.9.1
and change app/Makefile.am to use variables instead of hadcoding the
version.
2012-05-02 17:43:43 +02:00
Michael Natterer 3b14851b6d configure: set version to 2.8.0 2012-05-02 11:43:04 +02:00
Michael Natterer 0f656b9543 plug-ins: depend on librsvg >= 2.36.0 and half-undeprecate file-svg 2012-04-24 22:10:49 +02:00
Michael Natterer 531709c8db Depend on ATK 2.2.0, GTK+ 2.24.10, GdkPixbuf 2.24.1
And do some final NEWS adjustments for RC1
2012-04-03 00:53:04 +02:00
Øyvind Kolås 36c52537e4 bump babl req versions to 0.1.10 and gegl to 0.2.0 2012-04-02 23:11:07 +01:00
Michael Natterer 9252922651 Depend on GEGL 0.1.9 and use the new gegk-0.1 pkg-config file 2012-04-02 12:33:26 +02:00
Michael Natterer 817d516da4 Depend on Babl 0.1.8 2012-03-30 10:13:23 +02:00
Michael Natterer ed239a9891 Change "2.7" to "2.8" all over the place and set gimp_version to 2.8.0-RC1 2012-03-24 19:21:03 +01:00
Sebastian Pipping 53d8244713 Introduce configure options to bypass bzip2 and Ghostscript
Introduce configure options --with[out]-gs and --with[out]-bzip2 to
allow bypassing gs/bzip2 auto-detection
2012-03-15 19:02:35 +05:30
Michael Natterer 623319246c configure: bump version to 2.7.6 2012-03-13 01:42:05 +01:00
Mikael Magnusson fea46b1c63 Fix alignment of configure --help output 2012-03-09 20:12:35 +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
Alexia Death 7aa12175a4 data: More resource updates and cleanup with Ramon 2012-02-04 21:00:43 +02:00
Mukund Sivaraman 05bca8c622 build: Make .xz compressed dist tarballs too 2012-01-31 19:01:51 +05:30
Mukund Sivaraman ebe0bcc901 build: Add check for Ghostscript 2012-01-22 09:21:15 +05:30
Alexia Death b8e2b8b0d8 data: Make new presets from Ramon Miranda install 2012-01-21 18:16:47 +02:00
Mukund Sivaraman fa9e792b78 build: Install new data files from Ramon Miranda (part 1) 2012-01-21 17:10:47 +05:30
Mukund Sivaraman 9f60e9a534 build: Show if file-compressor will be built in configure status 2012-01-12 21:10:58 +05:30
Mukund Sivaraman 5db85ad9e1 file-compressor: Move to own directory under plug-ins/ 2012-01-11 20:27:18 +05:30
Mukund Sivaraman f80892bf50 file-compressor: Use compression libraries instead of programs
This commit will temporarily cause the build to break, because
file-compressor doesn't link -lz and -lbz2 after this commit. I'll fix
it soon, but if any of you want to kill me for breaking the build, feel
free to revert it. The commit will stay and can be used later.

This change was made so that file-compressor isn't crappy on Windows. It
also removes win32-specific code.
2012-01-11 19:29:32 +05:30
Mukund Sivaraman 126acfc7de build: Drop atk required version to 2.0.1
Building apparently works with this version too.
2012-01-08 22:14:15 +05:30
Mukund Sivaraman d2d5a3db62 build: Check for atk >= 2.2.0 (bug #667127) 2012-01-08 20:16:45 +05:30
Michael Natterer 2271f6fe96 Bump version to 2.7.5 2011-12-11 20:36:48 +01:00
Mukund Sivaraman 1b5a0f9d9d build: Add -Werror=missing-prototypes to CFLAGS where possible 2011-12-07 01:39:01 +05:30
Michael Natterer 2b1b04bf72 configure: depend on librsvg >= 2.34.2
because old versions use deprecated GLib stuff in their headers.
Don't #undef G_DISABLE_DEPRECATED in file-svg.
2011-12-01 11:36:25 +01:00
Michael Natterer 79a4f71884 configure: depend on webkitgtk >= 1.6.1
because old versions use deprecated GLib stuff in their headers.
Don't #undef G_DISABLE_DEPRECATED in help-browser and web-page.
2011-12-01 11:26:11 +01:00
Michael Natterer 6cff213038 configure: depend on GLib >= 2.30.2
For the reasons mentioned in the last version bump commit below.
2011-11-30 23:32:00 +01:00
Michael Natterer 3673549257 Depend on lots of newer library versions
Gegl >= 0.1.8, Babl >= 0.1.6, Gdk-Pixbuf >= 1.24.0, Pango >= 1.29.4,
GLib >= 2.28.8, GTK+ 2.24.7

Which means depending on a gazillion of bug fixes, which means less
pain for GIMP 2.8 users, and less useless bugzilla traffic eating
developer resources.
2011-11-19 18:16:39 +01:00
Michael Natterer 5144e7e47c configure: the right way to check for maintainer-mode is $USE_MAINTAINER_MODE 2011-10-29 23:51:50 +02:00
Michael Natterer b99e0f90c8 configure: fix check for _NL_MEASUREMENT_MEASUREMENT 2011-10-19 21:34:53 +02:00
Michael Natterer 6d62beef13 Revert "build: Strip out G/GDK/GTK_DISABLE_DEPRECATED"
We still depend on GTK+ 2.x which doesn't have the warnings, and
don't want deprecated API being used by accident.

This reverts commit f9e6162086.
2011-10-17 18:54:34 +02:00
Javier Jardón f9e6162086 build: Strip out G/GDK/GTK_DISABLE_DEPRECATED
We have compiler warnings, now.
2011-10-17 17:21:51 +01:00
Javier Jardón 2f0c55b12b configure.ac: aclocal flags are already honored in Makefile.am 2011-10-17 02:22:21 +01:00
Javier Jardón 3a05739683 configure.ac: Replace AM_CONFIG_HEADER deprecated macro
Use AC_CONFIG_HEADERS instead
2011-10-17 02:03:49 +01:00
Javier Jardón de9c5fda00 configure.ac: Use new libtool syntax 2011-10-17 02:03:49 +01:00
Javier Jardón c581b6147e configure.ac: Do not use AC_ISC_POSIX macro
Sun dropped support for the obsolete INTERACTIVE
Systems Corporation Unix on 2006-07-23. New programs need not use
this macro.
2011-10-17 02:03:49 +01:00
Javier Jardón 14b3f594f9 configure.ac: Replace AC_HELP_STRING deprecated macro 2011-10-17 02:03:49 +01:00
Javier Jardón 5132df3a6d configure.ac: Replace AC_TRY_RUN deprecated macro 2011-10-17 02:03:49 +01:00
Javier Jardón 41dc8f1d59 configure.ac: Replace deprecated AC_TRY_LINK macro 2011-10-17 02:03:49 +01:00
Javier Jardón 4bf2a84e14 configure.ac: Replace deprecated AC_TRY_CPP macro 2011-10-17 02:03:49 +01:00
Javier Jardón 75476493f4 configure.ac: Replace deprecated AC_TRY_COMPILE macro 2011-10-17 02:03:49 +01:00
Javier Jardón 464966dbaa configure.ac: Remove AC_TYPE_SIGNAL
Out code can safely assume C89 semantics that RETSIGTYPE is void
2011-10-17 02:03:48 +01:00
Michael Natterer 71c7301f18 configure: remove cruft found by Javier Jardon 2011-10-17 02:23:02 +02:00
Michael Natterer 38c412ea4f configure: don't add G_DISABLE_DEPRECATED for GLIb 2.30
because we still use g_format_size_for_display().
2011-10-02 15:14:10 +02:00
Mukund Sivaraman 2aae54226c build: Rename HAVE_EXIF define to HAVE_LIBEXIF 2011-09-18 07:04:44 +05:30
Mukund Sivaraman e6edc7d833 build: Rename BUILD_METADATA conditional to HAVE_LIBEXIF 2011-09-18 06:50:43 +05:30
Mukund Sivaraman 6080c11161 Revert "Bug #658816 - Add a spellchecker to the comment editor"
This reverts commit 978c96bbc6, which is
probably not such a great idea.
2011-09-13 00:33:33 +05:30