Commit Graph

164 Commits

Author SHA1 Message Date
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