.gear/rules | 2 + .../tags/7c4690734fdb94fb2584f0824941ce4cb46f4243 | 13 +++ .gear/tags/list | 1 + gegl/Makefile.am | 2 +- gegl/buffer/gegl-buffer-save.c | 2 +- gegl/libgegl.map | 22 +++++ libgegl.spec | 98 ++++++++++++++++++++ operations/Makefile-common.am | 4 +- operations/workshop/external/Makefile.am | 8 +- 9 files changed, 143 insertions(+), 9 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..895484e --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: gegl-@version@:. name=gegl-@version@ +diff: gegl-@version@:. . name=gegl-@version@-@release@.patch diff --git a/.gear/tags/7c4690734fdb94fb2584f0824941ce4cb46f4243 b/.gear/tags/7c4690734fdb94fb2584f0824941ce4cb46f4243 new file mode 100644 index 0000000..1ac3a57 --- /dev/null +++ b/.gear/tags/7c4690734fdb94fb2584f0824941ce4cb46f4243 @@ -0,0 +1,13 @@ +object 5e2cc2146486ce0c1ebc0cbf68770dafafcb123f +type commit +tag gegl-0.1.0 +tagger Valery Inozemtsev 1246637420 +0400 + +gegl 0.1.0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEABECAAYFAkpOLWwACgkQcNyQ4l5HvIrbrACfbdaweU0SsNx2Br0eZc8Te3Xk +krUAn3e2SGABBFHNDvXK0QiEywjGKjst +=p9Wd +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..292d3b6 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +7c4690734fdb94fb2584f0824941ce4cb46f4243 gegl-0.1.0 diff --git a/gegl/Makefile.am b/gegl/Makefile.am index eab0113..5521935 100644 --- a/gegl/Makefile.am +++ b/gegl/Makefile.am @@ -18,7 +18,7 @@ AM_CPPFLAGS = \ AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS) AM_LDFLAGS = \ - $(no_undefined) -export-dynamic -version-info $(GEGL_LIBRARY_VERSION) + $(no_undefined) -export-dynamic -version-info $(GEGL_LIBRARY_VERSION) -Wl,--version-script=libgegl.map LIBS = \ $(DEP_LIBS) $(BABL_LIBS) diff --git a/gegl/buffer/gegl-buffer-save.c b/gegl/buffer/gegl-buffer-save.c index e9f2ab1..8d981a4 100644 --- a/gegl/buffer/gegl-buffer-save.c +++ b/gegl/buffer/gegl-buffer-save.c @@ -196,7 +196,7 @@ gegl_buffer_header_init (GeglBufferHeader *header, gint bpp, Babl* format) { - strcpy (header->magic, "GEGL"); + strncpy (header->magic, "GEGL", sizeof(header->magic)); header->flags = GEGL_FLAG_HEADER; header->tile_width = tile_width; diff --git a/gegl/libgegl.map b/gegl/libgegl.map new file mode 100644 index 0000000..b51f179 --- /dev/null +++ b/gegl/libgegl.map @@ -0,0 +1,22 @@ +GEGL_0.1.0 { + global: + gegl_color_get_rgba4f; + gegl_dot_node_to_png; + gegl_dot_node_to_png_default; + gegl_dot_util_add_connection; + gegl_dot_util_add_node; + gegl_dot_util_add_node_sink_edges; + gegl_dot_visitor_get_type; + gegl_dot_visitor_set_string_to_append; + gegl_need_visitor_get_type; + gegl_node_dump_depends_on; + gegl_operation_calc_need_rects; + gegl_operation_context_take_object; + gegl_operation_get_name; + gegl_path_type_get_n_items; + gegl_rectangle_dump; + gegl_rectangle_infinite_plane; + gegl_rectangle_is_infinite_plane; + gegl_region_dump; + gegl_sampler_sharp_get_type; +}; diff --git a/libgegl.spec b/libgegl.spec new file mode 100644 index 0000000..2356532 --- /dev/null +++ b/libgegl.spec @@ -0,0 +1,98 @@ +%def_disable docs + +Name: libgegl +Version: 0.1.0 +Release: alt1 +Summary: A graph based image processing framework +License: LGPLv3+/GPLv3+ +Group: System/Libraries +Url: http://www.gimp.org +Packager: Valery Inozemtsev + +Source: gegl-%version.tar +Patch: gegl-%version-%release.patch + +BuildRequires: asciidoc gcc-c++ graphviz glib2-devel libSDL-devel libavformat-devel libbabl-devel libjpeg-devel libopenraw-devel +BuildRequires: librsvg-devel libspiro-devel openexr-devel python-modules-encodings ruby w3m + +%description +GEGL (Generic Graphics Library) is a graph based image processing framework. +GEGLs original design was made to scratch GIMPs itches for a new +compositing and processing core. This core is being designed to have +minimal dependencies. and a simple well defined API. + +%package devel +Summary: Headers for developing programs that will use %name +Group: Development/C +Requires: %name = %version-%release + +%description devel +This package contains the libraries and header files needed for +developing with %name. + +%prep +%setup -q -n gegl-%version +%patch -p1 + +%build +%autoreconf +%configure \ + %{subst_enable docs} \ + --disable-static +%make_build + +%install +%make DESTDIR=%buildroot install + +%files +%_bindir/gegl +%_libdir/*.so.* +%dir %_libdir/gegl-0.0 +%_libdir/gegl-0.0/*.so + +%files devel +%_includedir/gegl-0.0 +%_libdir/*.so +%_pkgconfigdir/*.pc +%if_enabled docs +%_datadir/gtk-doc/html/gegl +%endif + +%changelog +* Mon Oct 12 2009 Valery Inozemtsev 0.1.0-alt1 +- 0.1.0 + +* Mon Jul 13 2009 Valery Inozemtsev 0.0.22-alt4 +- fixed build with fresh gcc + +* Mon Jul 13 2009 Valery Inozemtsev 0.0.22-alt3 +- disabled docs + +* Tue Jun 23 2009 Valery Inozemtsev 0.0.22-alt2 +- rebuild with libpng12 1.2.37-alt2 + +* Mon Apr 27 2009 Valery Inozemtsev 0.0.22-alt0.M50.1 +- build for branch 5.0 + +* Mon Feb 16 2009 Valery Inozemtsev 0.0.22-alt1 +- 0.0.22 + +* Thu Feb 05 2009 Valery Inozemtsev 0.0.20-alt4 +- rebuild with libavcodec.so.52 + +* Thu Jan 01 2009 Valery Inozemtsev 0.0.20-alt3 +- drop fill plugin + +* Fri Nov 14 2008 Valery Inozemtsev 0.0.20-alt2 +- rebuild + +* Fri Oct 10 2008 Valery Inozemtsev 0.0.20-alt1 +- 0.0.20 + +* Thu Oct 02 2008 Valery Inozemtsev 0.0.18-alt2 +- disabled workshop operations +- build docs + +* Wed Oct 01 2008 Valery Inozemtsev 0.0.18-alt1 +- initial release + diff --git a/operations/Makefile-common.am b/operations/Makefile-common.am index 319ba5e..2956ca7 100644 --- a/operations/Makefile-common.am +++ b/operations/Makefile-common.am @@ -1,9 +1,7 @@ -if OS_WIN32 no_undefined = -no-undefined libgegl = $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la $(BABL_LIBS) -endif -op_libs = $(DEP_LIBS) $(libgegl) +op_libs = $(DEP_LIBS) $(libgegl) -lm GEGLHEADERS = $(wildcard $(top_srcdir)/gegl/*.h)\ $(wildcard $(top_srcdir)/gegl/buffer/*.h) diff --git a/operations/workshop/external/Makefile.am b/operations/workshop/external/Makefile.am index 5a3b85b..075427a 100644 --- a/operations/workshop/external/Makefile.am +++ b/operations/workshop/external/Makefile.am @@ -7,7 +7,7 @@ ops = if HAVE_CAIRO line_profile_la_SOURCES = line-profile.c line_profile_la_LIBADD = $(op_libs) $(CAIRO_LIBS) $(PANGO_LIBS) -line_profile_la_CFLAGS = $(CAIRO_CFLAGS) $(PANGO_CFLAGS) $(BABL_CFLAGS) +line_profile_la_CFLAGS = $(CAIRO_CFLAGS) $(PANGO_CFLAGS) $(BABL_CFLAGS) $(GLIB_CFLAGS) ops += line_profile.la endif @@ -15,21 +15,21 @@ if HAVE_GTK ops += gtk_display.la gtk_display_la_SOURCES = gtk-display.c gtk_display_la_LIBADD = $(op_libs) $(GTK_LIBS) -gtk_display_la_CFLAGS = $(GTK_CFLAGS) $(BABL_CFLAGS) +gtk_display_la_CFLAGS = $(GTK_CFLAGS) $(BABL_CFLAGS) $(GLIB_CFLAGS) endif if HAVE_AVFORMAT ops += ff_save.la ff_save_la_SOURCES = ff-save.c ff_save_la_LIBADD = $(op_libs) $(AVFORMAT_LIBS) -lswscale -ff_save_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) +ff_save_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(GLIB_CFLAGS) endif if HAVE_LUA ops += gluas.la gluas_la_SOURCES = gluas.c gluas_la_LIBADD = $(op_libs) $(LUA_LIBS) -gluas_la_CFLAGS = $(LUA_CFLAGS) +gluas_la_CFLAGS = $(LUA_CFLAGS) $(BABL_CFLAGS) $(GLIB_CFLAGS) endif opdir = $(libdir)/gegl-@GEGL_API_VERSION@