Commit Graph

385 Commits

Author SHA1 Message Date
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
Mukund Sivaraman 978c96bbc6 Bug #658816 - Add a spellchecker to the comment editor
This is an initial version and can be improved. Something is better
than nothing.  :)
2011-09-12 19:36:35 +05:30
Javier Jardón 67053601d5 configure.ac: Use maintainer mode by default
See http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
2011-09-10 15:35:14 +01:00
Michael Natterer b40e1c44b6 configure: let the test for TWAIN fail on 64 bit OSX
Somebody needs to port the stuff to not using the parts of
Carbon that are not there on 64 bit, or preferrably not use
Carbon at all.
2011-09-01 21:18:57 +02:00
Michael Natterer bf4ce56ade configure: bump version to 2.7.4 2011-08-21 21:49:26 +02:00
Michael Natterer 2356aad3da Remove gimp-remote for good, it has been disabled since 2008 2011-07-30 18:59:39 +02:00
Mukund Sivaraman 055404400a build: Disable warnings about portable make rules 2011-07-08 22:38:48 +05:30
Michael Natterer f1bb40166b Bug 592364 - Use GUdev rather than deprecated HAL for GIMP
GIMP was probably the only user of libhal on most systems, this had
to stop. Ported the linux-input module to GUdev.
2011-06-23 16:30:58 +02:00
Mukund Sivaraman 5a1a3209e9 Move libpng specific warning CFLAGS to PNG_CFLAGS 2011-05-05 09:48:02 +05:30
Mukund Sivaraman c4e44dc098 Show the compiler option that caused a warning 2011-05-02 07:43:48 +05:30
Michael Natterer 844df2b4df libgimp*: add guards that #error out if individual files are included
This only helps to maintain proper includes in app/ and shouldn't
affect plug-ins at all, because these are supposed to only include the
main headers from libgimp/ since the beginning of time.

The gimpfootypes.h files do not have these guards, so we can continue
to maintain app/'s include policy that is very likely to error out if
wrong things are included.
2011-04-28 14:30:41 +02:00
Mukund Sivaraman 4c26f37611 Add additional libpng warning flags
This flag warns when we use deprecated API. It's added in configure.ac
instead of someplace like plugin-defs.pl because libpng is used
in several places.
2011-04-26 06:49:21 +05:30
Mukund Sivaraman 79f29530bd Bump poppler required version to 0.12.4
The calls that return cairo surfaces are now required, so the
version bump is required.
2011-04-21 06:56:02 +05:30
Michael Natterer 374dd50c43 libgimp: add gimp_layer_new_from_surface()
and to enable that, make libgimp depend on Cairo.
2011-04-20 23:58:00 +02:00
Michael Natterer 26bf2b0cd7 Make libgimp depend on GdkPixbuf
Move the pixbuf layer and image thumbnail function from libgimpui to
libgimp and move gimp_layer_new_from_pixbuf() to gimplayer.[ch] where
it belongs. Change gimp-2.0.pc accordingly, adapt plug-in Makefiles
and update devel-docs.
2011-04-20 20:04:35 +02:00
Michael Natterer 822faacd5b configure.ac: Bump version to 2.7.3 2011-04-14 23:02:58 +02:00
Michael Natterer 24ee3370b8 Depend on GTK+ >= 2.24.3, cairo >= 1.20.1, gdk-pixbuf >= 2.22.1
and completely separate configure and sanity checks for gdk-pixbuf
from GTK+, because it's now distributed as a separate package. Remove
all sorts of conditional compiling based on GDK_CHECK_VERSION() and
CAIRO_VERSION.
2011-04-06 19:58:24 +02:00
Mukund Sivaraman e9befddbba Add the web-page plug-in 2011-03-31 00:39:57 +05:30
Mukund Sivaraman 4d9952cf54 Add extra optimization flags for super performance 2011-03-27 04:15:09 +05:30
Mukund Sivaraman ee6a029040 Add -fno-common to CFLAGS
Also fix the errors that were discovered by it. Multiple
definitions of global variables are no longer silently combined by
the linker, and will be reported as errors.

If you see GIMP crash strangely (i.e, apart from the usual crashes),
please go see a head doctor.
2011-03-21 22:51:30 +05:30
Michael Natterer 10893e6bfa Revert "Add some extra compiler warnings to CFLAGS"
This reverts commit f47645dc51.
Sorry, but the new warnings are not useful.
2011-03-18 20:41:38 +01:00
Mukund Sivaraman f47645dc51 Add some extra compiler warnings to CFLAGS 2011-03-18 22:18:31 +05:30
Martin Nordholts ef06dfd096 Revert "Add distdir to POTFILES.skip"
This reverts commit 0656172b3d.
intltool-update doesn't support $buildir/POTFILES.skip :(
2011-03-10 20:55:50 +01:00
Martin Nordholts 0656172b3d Add distdir to POTFILES.skip
Add the automake distdir to POTFILES.skip so that a make distcheck
followed by a failed make distcheck doesn't fail with

  [...]
  gimp-2.7.2/tools/gimp-remote-x11.c
  gimp-2.7.2/tools/gimp-remote.c

  If some of these files are left out on purpose then please add them to
  POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
  of left out files has been written in the current directory.
2011-03-10 17:14:40 +01:00
Michael Natterer 514a5548cd configure: require GLib >= 2.28.1 2011-03-07 17:11:28 +01:00
Michael Natterer 063e9e54ee Require GEGL 0.1.6 2011-02-13 21:59:27 +01:00
Martin Nordholts f54e5388fb configure.ac: Add --without-xvfb-run 2011-02-12 22:38:25 +01:00
Michael Natterer ad40695bab configure: save all changes before committing... 2011-02-06 12:58:05 +01:00
Michael Natterer 8d8c6bb9ea configure: build with DISABLE_DEPRECATED also for GTK+ 2.24
Bump the "too new" test to GTK+ 2.26 which will never be released, but
this way we can keep the configure check around for later reuse after
the switch to GTK+ 3.x. Also bump the "too new" GLib and Pango
versions to really future versions so we early-catch deprecations
in the current development cycle.
2011-02-06 12:50:14 +01:00
Øyvind Kolås 79d187fbb3 bump GEGL and babl requirements to 0.1.4
GEGL 0.1.4 depends on babl 0.1.4 already, and GIMPs cage tool depends on
GEGL 0.1.4.
2011-01-21 12:49:22 +00:00
Michael Natterer 689d69abe7 Bug 582083 - GIMP brushes are not recognized by Nautilus
Add image/x-gimp-gbr, image/x-gimp-pat and image/x-gimp-gih to
MIME_TYPES because GIMP of course handles its own data files.
2010-11-25 23:49:41 +01:00
Martin Nordholts cba98e1bc0 app/tests: Run tests on an Xvfb X server if available
Add a configure check for xvfb-run and run tests with that if
available. This makes it possible to easily run UI tests in headless
environments such as a server that does nightly builds; one just needs
to make sure xvfb-run is available.
2010-10-31 08:22:05 +01:00
Mukund Sivaraman 42f67f4d96 Rename WebKit's AM_CONDITIONAL
This is so that WebKit can be used elsewhere in GIMP.
2010-10-17 00:29:04 +05:30
Nils Philippsen 51b1775ff7 configure.ac: fix building screenshot plugin without libXmu
Set SCREENSHOT_LIBS="$XMU_LIBS" only if libXmu development files are
available.
2010-10-07 18:19:24 +02:00
Martin Nordholts c87af702b1 configure.ac: Require libpoppler 0.6.0
Require libpoppler 0.6.0 for poppler_document_new_from_data().
2010-10-03 10:18:24 +02:00
Martin Nordholts 01e6f57354 Use AC_CONF_PROGRAM in AC_COMPILE_IFELSE to silence autoconf 2.68 2010-10-03 08:48:45 +02:00
Michael Natterer b63e26e45d configure.ac: fix previous commit 2010-09-27 21:32:18 +02:00
Michael Natterer 673064d7c9 app: disable deprecated GTK+ API until version 2.22
and don't disable it for the future 2.24 and later.
2010-09-27 20:10:59 +02:00
Tor Lillqvist ee7a922cba No SYMPREFIX should be used for 64-bit Windows
Earlier builds of mingw-w64 misguidedly used the _ prefix, but not
current ones. Thanks to Fridrich Strba.
2010-09-27 18:22:29 +03:00
Sven Neumann d96b491050 Update use of Pango API and bump required version to 1.22.0
Uodate Pango required version and stop using the deprecated
pango_cairo_font_map_create_context(). Compile with
PANGO_DISABLED_DEPRECATED for pango < 1.30.
2010-09-07 00:53:17 +02:00
Martin Nordholts 8f66651123 configure.ac: Disable gzip tarball
We do releases with the bzip2 tarball, so don't bother creating a gzip
tarball.
2010-09-06 08:34:27 +02:00
Michael Schumacher e77dd90fc0 Bug 574018 - Add a manifest to executables
Created a resource file for plug-ins and a rule to link it to them.
The application icon file is smaller than the default one, there's no
point in doubling the size of a plug-in executable just for an icon.

If no problems turn up, this will close the bug.
2010-09-01 08:24:45 +02:00
Barak Itkin f1266c2b0a plug-ins: fix some warnings in file-pdf-save, and fix configure.ac to include it 2010-08-28 00:10:00 +03:00
Barak Itkin 6f8c412735 plug-ins: add the new file-pdf-save plugin (Bug #382688) 2010-08-28 00:09:59 +03:00
Barak Itkin 7f10c24f4a plug-ins: rename file-pdf to file-pdf-load
Renaming the PDF import plugin to file-pdf load is needed in order to introduce
the new PDF export plugin
2010-08-28 00:09:59 +03:00
Michael Schumacher 82dca2ecf4 Bug 574018 - Add a manifest to executables
Eventually all executables will have the manifest and version resources
linked. In this initial step, the current resources are moved from the
app/ directory to a global build/windows directory.
2010-08-26 22:10:07 +02:00
Martin Nordholts 4f14da5391 Bug 625307 - Make gtk-doc-less git builds work again
configure.ac: Check for GTK_DOC_CHECK avaiability before
invoking. Should be enough to allow gtk-doc-less builds.
2010-08-20 08:26:36 +02:00
Michael Natterer 3762e03bf6 Require cairo >= 1.8.0 and add a cairo sanity check to app/sanity.c 2010-08-08 16:49:50 +02:00
Nils Philippsen 6cdc64756e configure.ac: add check for getaddrinfo() 2010-07-09 12:52:24 +02:00
Michael Natterer 3411c7b63a libgimpbase: move docs from template files to inline comments
and remove all template files. Also fixed all gtk-doc warnings
and fixed/added some docs.
2010-06-29 19:16:51 +02:00
Nils Philippsen 04538534fc Bug 623045 - script-fu: make server IPv6 aware
use getnameinfo() instead of inet_ntoa()
use two sockets for IPv4, IPv6
2010-06-29 15:47:01 +02:00
Michael Natterer 36594d676b Bump version to 2.7.2 2010-06-29 10:01:53 +02:00
Michael Natterer d04051bcad Bug 622234 - gimp.desktop: image/x-psd in MimeTypes twice
Fix the typo: the second x-psd should be x-psp
2010-06-20 23:53:43 +02:00
Sven Neumann 9275404452 Bug 622196 - Unportable test(1) construct in configure script
Use of '==' as comparison operator is a bashism.
2010-06-20 18:37:53 +02:00
Thorsten Vollmer 5d8a9b156b allow to disable libXpm
2 files changed, 10 insertions(+), 2 deletions(-)
2010-06-01 22:07:59 +02:00
Martin Nordholts bc54cbfd57 Add --without-mac-twain to configure 2010-06-01 20:48:23 +02:00
Michael Natterer a0358f7c64 Depend on GLib >= 2.24.0 and GTK+ 2.20.0 2010-04-19 19:03:08 +02:00
Michael Natterer 7763b9aa35 Depend on babl and gegl >= 0.1.2 2010-02-07 17:16:24 +01:00
Sven Neumann 6601625af7 Add AC_CONFIG_MACRO_DIR() to configure.ac as suggested by libtoolize
Also set ACLOCAL_AMFLAGS in the top-level Makefile.am and update
the .gitignore file in the m4macros directory. This fixes the build
from a fresh checkout for me. Please revert if it causes problems.
2010-02-01 00:09:11 +01:00
Michael Natterer 499b0f1a49 Lower libpng requirement to 1.2.37 to make them stop whining 2010-01-31 17:54:14 +01:00
Michael Natterer 2db98792dc Bug 607242 - GIMP 2.7.0 fails to build against libpng 1.4.0
Depend on the libpng version that is in debian testing (1.2.42) and
use png_set_expand_gray_1_2_4_to_8() instead of the deprecated
png_set_gray_1_2_4_to_8().
2010-01-31 11:56:36 +01:00
Martin Nordholts 0abf5cc4f0 Use Glade + GtkBuilder for file-png.c save_dialog()
To give us experience with Glade + GtkBuilder, use it for the save
dialog in the PNG plug-in. The layout is as good as
identical. Mnemonics still works and strings are still translated.
2010-01-08 21:16:10 +01:00
Martin Nordholts 33e8b08f12 app/tests: Distribute test files and test directories 2010-01-08 13:37:25 +01:00
Martin Nordholts fafee5230f configure.ac: Don't disable deprecated APIs for unreleased libs
Update version checks and prevent disabling of deprecatd APIs for
unreleased versions of libs.
2009-10-24 15:03:59 +02:00
Martin Nordholts 73ba838093 configure.ac: Fix GTK+ and GLib version report 2009-10-24 13:58:29 +02:00
Alexia Death 210a4b5044 Merge resolution 2009-10-17 21:42:02 +03:00
Michael Natterer 7ce6757ad0 Define GSEAL_ENABLE globally 2009-10-17 20:32:57 +02:00
Michael Natterer 45c05f5f5f Require GLib >= 2.22.0 2009-10-17 17:59:53 +02:00
Martin Nordholts 15f86a80ac Bump required GTK+ version to 2.18.1
Bump required GTK+ version to 2.18.1 so we get
e.g. gtk_widget_set_visible() and offscreen widget hierarchies. So far
we don't rely on bug fixes in any later releases.
2009-10-17 15:07:34 +02:00
Alexia Death 2b1debe4a9 Adding a default dynamics object to install 2009-10-15 21:06:42 +03:00
Michael Schumacher 53984a8486 Bug 554748 - Version information for gimp.exe : generate gimp.rc
In preparation for adding VERSIONINFO resource data to the gimp executable,
the RC file has to be generated from a corresponding gimp.rc.in file.
2009-10-13 00:18:52 +02:00
Michael Natterer 699b112940 Require GTK+ >= 2.16.6
That version contains a GtkTreeView fix essential to group layers.
2009-09-16 22:04:17 +02:00
Martin Nordholts 14aa5314af app: Add GIMP core unit testing framework and a simple first test
Enable us to have regression testing by introducing a core testing
framework that uses the GLib JUnit-like test library.

Do this by adding a new subdir app/tests that will contain all our
tests (it contains one trivial test already). Also add app/tests.[ch]
with a new function gimp_init_for_testing() so that test cases can
easily setup the core object system.
2009-09-05 16:02:32 +02:00
Martin Nordholts 29be769689 Bump version to 2.7.1 2009-08-15 22:02:31 +02:00
Martin Nordholts 0d94e6e931 Enable automake silent-rules by default
Enable silent build rules by default, requires at least
Automake-1.11. Disable by either passing --disable-silent-rules to
configure or passing V=1 to make.
2009-07-14 20:25:02 +02:00
Roman Joost 75484699da Disabled the build of the metadata plugin if libexif is disabled.
Relates to Bug 587172 - Merge Exif data with XMP model.
2009-07-07 12:01:03 +10:00
Sven Neumann fe09f320f8 remove trailing whitespace 2009-07-06 15:29:45 +02:00
Martin Nordholts 7df1c1fc9d Require babl 0.1.0 and GEGL 0.1.0 2009-07-01 20:41:14 +02:00
Takeshi Matsuyama 27cec2c3f2 plug-ins: add X11 Mouse Cursor plug-in
This commit adds a plug-in to read and write X11 mouse cursor files.
2009-06-02 21:11:06 +02:00
Aurimas Juška 6e581ca990 Add JPEG2000 load plug-in written by Aurimas Juška 2009-06-01 18:44:30 +02:00
Michael Natterer d80549496a Don't define required versions of libraries we don't depend on any longer 2009-05-22 13:07:56 +02:00
Martin Nordholts 34b5e99905 Rename configure.in to configure.ac
Rename configure.in to configure.ac and update references to the
file. Configure.ac is the recomended and promoted name in the autoconf
manual.
2009-05-17 14:49:04 +02:00