Commit Graph

375 Commits

Author SHA1 Message Date
Michael Natterer a30f855981 configure.ac: require babl >= 0.1.38 2017-11-20 12:53:59 +01:00
Michael Natterer 393336b76f configure.ac: require GEGL >= 0.3.22 2017-11-12 20:18:14 +01:00
Michael Natterer 79836aea34 configure.ac: require babl >= 0.1.36 2017-11-12 18:36:24 +01:00
Jehan 2c19ea2145 app: add compiler info in `gimp -v`. 2017-09-10 01:21:55 +02:00
Jehan 9b4382614b Bug 787222 - Can't convert from 16 bit to 16 bit floating point.
This comes from a bug in GCC itself.
Comparing with GCC's revision dates (bug introduced in revision 250312
in 18th of July 2017), this bug apparently affects only GCC 7.2.
Let's just add a configure warning so that builders are made aware of
the issue when they use this compiler.
See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82108
2017-09-09 23:27:19 +02:00
Michael Natterer fd8fd89d98 configure.ac: require lcms >= 2.8 2017-09-02 17:10:01 +02:00
Michael Natterer 2a9bacb528 configure.ac: require Babl >= 0.1.31 and GEGL >= 0.3.21 2017-08-28 11:34:48 +02:00
Michael Natterer 468dc22898 configure.ac: post-release version bump to 2.9.7 2017-08-24 21:24:07 +02:00
Michael Natterer 5afea2f6d3 Release 2.9.6 2017-08-24 20:39:20 +02:00
Øyvind Kolås 4410ab0db0 bump required GEGL version to 0.3.20 2017-08-15 23:11:12 +02:00
Øyvind Kolås 90a808e863 bump required babl version to 0.1.30 2017-08-15 20:54:05 +02:00
Jehan b6c4905844 configure: libwebp(de)?mux follow libwebp version.
They are sub-libraries of libwebp, enabled by build options
(--enable-libwebp(de)?mux), and therefore I don't think it makes sense
to have separate version prerequisites.

Also let's improve the config output by testing for libwebp(de)?mux only
when libwebp check is successful and displaying more accurate info
(instead of saying "WebP not found", "WebP not built with libwebpmux" is
much more accurate for instance, in order to understand the problem if
you are sure you installed the proper version of libwebp).
2017-08-01 19:28:40 +02:00
Jehan da4f137ac9 configure: libwebp dependency bumped to 0.6.0.
This is to make use of the better logics of kmax (now that it finally
makes sense). Adding now, since it is now available in Debian Testing.
2017-08-01 18:31:14 +02:00
Michael Natterer 87438c885a plug-ins: merge file-rawtherapee/ into file-raw/
and use the same file-formats.h
2017-07-24 20:58:25 +02:00
Michael Natterer a653a477d1 plug-ins: rename file-darktable/ to file-raw/
It will soon host all raw loader plug-ins.
2017-07-24 20:26:18 +02:00
Michael Natterer 0b9dd1d800 configure.ac: require gexiv2 >= 0.10.6 2017-07-23 15:58:28 +02:00
Ben Touchette dc9856cfe1 Bug 769820 - Cannot enter Iptc information when no metadata is available...
...and fails to write it to file when it is

Completely redo metadata editor and viewer code, adds support for
Xmp.xmpMM.History and more.
2017-07-07 18:11:39 +02:00
Michael Natterer e8ee5475b7 app: move all propgui files from app/widgets/ to new folder app/propgui/
We are getting more and app/widgets/ is already too large.
2017-07-03 12:29:41 +02:00
Jehan 6b094de4cd configure: clean a bit libtiff check.
Since commit 48046d2, libtiff is a hard dependency. So the have_libtiff
variable is not needed anymore. Just rename it and use it to output a
little bit more informative error message on libtiff check failure.
2017-06-27 21:31:10 +02:00
Jehan 4772948087 plug-ins: do some basic tweaking on file-rawtherapee.
Fix a few compilation warnings, clean what needs to be, apply coding
style fixes, add a Makefile…
2017-06-27 21:31:10 +02:00
Jehan 662ca09e23 Bug 783867 - svg image corrupt with librsvg < 2.40.6.
Bump librsvg requirement to 2.40.6.
This was bug 620923 in librsvg, fixed from 2.40.6 as of commit
5ba4343bccc7e1765f38f87490b3d6a3a500fde1 in their master branch.
2017-06-21 14:43:17 +02:00
Alexandre Prokoudine fb1b7a835b Fix the build process 2017-06-12 03:31:20 +03:00
Jehan 0de259682e configure: default CPPFLAGS_FOR_BUILD to CPPFLAGS on native builds.
Similarly to what I did for CFLAGS and LDFLAGS in commit 20fdb8d, the
preprocessor flags for build tools should also be correctly defaulted
and used when building invert-svg.
2017-06-09 00:55:52 +02:00
Jehan 20fdb8dfa3 Bug 783482 - Fail to link invert-svg in jhbuild prefix on FreeBSD...
... because LDFLAGS is ignored.
Firstly let's make sure that invert-svg build uses LDFLAGS_FOR_BUILD and
CFLAGS_FOR_BUILD; secondly, default these to LDFLAGS and CFLAGS
respectively when not-cross-compiling, unless values are explicitly set.
2017-06-07 11:16:37 +02:00
Edward E d2de5a0c30 Bug 555777 - Export to MNG animation fails
Fix calling convention for libmng functions in file-mng plug-in.
2017-06-04 12:30:24 +02:00
Michael Natterer 2d38abd7c4 configure.ac: require babl >= 0.1.28 and GEGL >= 0.3.18 2017-06-03 18:14:33 +02:00
Ell e64e61ca58 libgimpwidgets: call babl_exit() when unloading
If the compiler supports destructors (which should cover at least
GCC and Clang), pair the call to babl_init() in gimp_widgets_init()
with a call to babl_exit() when the library in unloaded.  This is
important in particular since the babl fish cache is constructed/
updated upon the last matched call to babl_exit().
2017-05-31 22:14:45 -04:00
Jehan 7e25248f3c desktop: add a test for strict validation of appdata file.
This way we can be warned quickly about any AppStream issue (cf. bug
782759). This test requires web access for screenshot verification.
Packagers are invited to use --without-appdata-test option if they want
to skip the test (for instance if build environment has restricted
network access).
2017-05-23 17:43:01 +02:00
Jehan bb19660769 configure: add hard dependency on glib-networking.
Use a code test inspired by libsoup configure test.
This is a hard dependency because HTTPS should not be considered an
option anymore. Nowadays most websites will use HTTPS by default, HTTP
gives SEO penalties and browsers are starting to display various
security warnings on HTTP websites.
Also the experience will be significantly degraded without SSL/TLS
support since the help browser will fail to load the manual remotely,
and opening various remote files on secure protocols will fail.
Note: the test cannot be performed while cross-compiling. In this case,
we will just display a warning for packagers to be at least well aware
of this dependency.
2017-05-10 22:06:54 +02:00
Michael Natterer 70eff55215 configure.ac: require babl >= 0.1.27 and GEGL >= 0.3.15 2017-05-09 22:49:56 +02:00
Jehan e83b136108 configure: remind to run gdk-pixbuf-query-loaders.exe on Windows builds.
Even though the SVG loader is installed, it needs to be properly
registered for GdkPixbuf to find it. This is a problem for Windows where
the installation prefix can end up being anything and where the command
`gdk-pixbuf-query-loaders` is not run by any common component anyway.
Let's just warn the Windows packager to not forget to have the installer
run it if vector icons are enabled.
2017-05-03 22:48:53 +02:00
Jehan 6126437a44 configure: shared-mime-info is necessary to detect SVG icons.
It is apparently not used for file type detection on Windows since
SVG detection worked correctly without installing this package. But
vector icons end up broken under MacOS when this is not installed
(thanks to Kris for testing this!). I assume this is necessary on
GNU/Linux too.
2017-05-03 22:48:53 +02:00
Jehan 68e15ad8c5 configure: fix a PKG_CHECK_MODULES() test.
s/gtk+2.0/gtk+-2.0/ for the test for recommended GTK+ version on
Window.
2017-04-08 18:04:22 +02:00
Jehan 8c10194614 configure: disable vector icons on Windows with GTK+ < 2.24.32.
SVG icons won't be properly displayed with an older GTK+. See:
https://bugzilla.gnome.org/show_bug.cgi?id=781020
Note: 2.24.32 is not out yet, but it will be the first stable release
with the right fix.
2017-04-08 18:00:51 +02:00
Éric Hoffman dddcdb42c6 configure: work around a bug in AX_PROG_CC_FOR_BUILD...
... when building on Windows.
From bug 780270, comment 18:
I'm still having issue with Windows MinGW, but I have traced the issue
with the autoconf itself, and the autoconf-archive script
"ax_prog_cc_for_build.m4". I have written to the autoconf-archive
mailing list.

It seem that this script never worked as intended since a long time
because the way it works, it pushdef a few elements, then it disable
cross-compiling (for the following test), and invoke AC_PROG_CC (which
in turn invoke the code that find and set the exe extention). Then it
grab the BUILD_EXEEXT from that. This is neat and simple, but the issue
is that the autoconf AC_PROG_CC macro only invoke the code that is
responsible for finding the exe (and obj) extensions once (with
m4_expand_once). So, the end-result is that in the resulting configure
script, EXEEXT is properly evaluated, but when comes the time to
evaluate BUILD_EXEEXT, no test is performed to actually find the exe
(and obj) extension, even if the cross-compilation option changed (which
is the case for the duration of this test).

So, BUILD_EXEEXT will always end up blank (defined, but blank).
2017-03-29 20:05:15 +02:00
Jehan b734586324 Bug 769550: recommend recent GTK+ on Windows with working keyboard...
... shortcuts for non-English locales (e.g. Russian).
This will be fixed with GTK+ 2.24.32, which has not been released at
this time. Yet since it is only a configure warning, there is no harm in
triggering it already (not a hard requirement, it does not prevent
compilation).
2017-03-29 02:10:50 +02:00
Jehan e58d8fcd24 themes: removing the "Small" theme.
As a result of "Bug 745835 - Resize icons as Option, not theme", the
Small theme is now useless and redundant with the icon sizing
preferences.
2017-03-24 04:33:51 +01:00
Jehan ab1bc49ed2 configure: vector icons now in auto mode.
It's time to have the vector icons installed as default. It will allow
bigger icons support.
2017-03-12 02:59:32 +01:00
Øyvind Kolås e0aab13da7 configure.ac: require GEGL >= 0.3.14 2017-02-28 23:07:47 +01:00
Michael Natterer 92f102478f configure.ac: require GEGL >= 0.3.12 2017-02-13 23:50:22 +01:00
Jehan 58260e5708 configure: all code in AC_LANG_* macro should be double-bracketed.
Autoconf doc says: "Note that the source is evaluated exactly once, like
regular Autoconf macro arguments, and therefore (i) you may pass a macro
invocation, (ii) if not, be sure to double quote if needed."
2017-02-02 21:41:15 +01:00
Jehan b2a44a90a7 configure: add a "Eeeeeeeeeeeeeeeeeeeeek" notice on configure error.
This makes it easier to search in config.log and should make Mitch
happy (or at least happier!).
2017-02-02 01:22:28 +01:00
Michael Natterer a18dcb94eb configure.ac: require babl >= 0.1.24 2017-02-01 23:41:54 +01:00
Jehan 0319b49fbf configure: fix typo s/PostPcript/PostScript/. 2017-01-29 01:05:32 +01:00
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