.gear/rules | 2 + .../tags/ff4c44958cb62ca1abd5e7a5ae289505f76b87d6 | 6 ++ .gear/tags/list | 1 + babl/Makefile.am | 2 +- babl/libbabl.map | 44 ++++++++++++ extensions/Makefile.am | 4 +- libbabl.spec | 70 ++++++++++++++++++++ 7 files changed, 126 insertions(+), 3 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..4e32c07 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: BABL_0_1_0:. name=babl-@version@ +diff: BABL_0_1_0:. . name=babl-@version@-@release@.patch diff --git a/.gear/tags/ff4c44958cb62ca1abd5e7a5ae289505f76b87d6 b/.gear/tags/ff4c44958cb62ca1abd5e7a5ae289505f76b87d6 new file mode 100644 index 0000000..8b19489 --- /dev/null +++ b/.gear/tags/ff4c44958cb62ca1abd5e7a5ae289505f76b87d6 @@ -0,0 +1,6 @@ +object 4d207d4c586bb17c9f8342f4f47941fc03eae024 +type commit +tag BABL_0_1_0 +tagger Martin Nordholts 1242861628 +0200 + +Tag that marks babl 0.1.0 diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..a5d4911 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +ff4c44958cb62ca1abd5e7a5ae289505f76b87d6 BABL_0_1_0 diff --git a/babl/Makefile.am b/babl/Makefile.am index f92f757..4746c43 100644 --- a/babl/Makefile.am +++ b/babl/Makefile.am @@ -78,4 +78,4 @@ libbabl_@BABL_API_VERSION@_la_LIBADD=\ libbabl_@BABL_API_VERSION@_la_LDFLAGS= \ ${no_undefined} $(MATH_LIB) \ - -version-info $(BABL_LIBRARY_VERSION) + -version-info $(BABL_LIBRARY_VERSION) -Wl,--version-script=libbabl.map diff --git a/babl/libbabl.map b/babl/libbabl.map new file mode 100644 index 0000000..d1841cc --- /dev/null +++ b/babl/libbabl.map @@ -0,0 +1,44 @@ +BABL_0.1.0 { + global: + babl_component_class_destroy; + babl_component_class_for_each; + babl_component_class_init; + babl_component_from_id; + babl_conversion_class_destroy; + babl_conversion_class_for_each; + babl_conversion_class_init; + babl_conversion_from_id; + babl_exit; + babl_extension_class_destroy; + babl_extension_class_for_each; + babl_extension_class_init; + babl_extension_from_id; + babl_fish_class_destroy; + babl_fish_class_for_each; + babl_fish_class_init; + babl_format_class_destroy; + babl_format_class_for_each; + babl_format_class_init; + babl_format_from_id; + babl_format_get_bytes_per_pixel; + babl_format_get_n_components; + babl_format_get_type; + babl_format_has_alpha; + babl_get_name; + babl_image_class_destroy; + babl_image_class_init; + babl_image_new; + babl_model_class_destroy; + babl_model_class_for_each; + babl_model_class_init; + babl_model_from_id; + babl_sampling_class_destroy; + babl_sampling_class_for_each; + babl_sampling_class_init; + babl_type_class_destroy; + babl_type_class_for_each; + babl_type_class_init; + babl_type_from_id; + local: + ^babl_*; +}; diff --git a/extensions/Makefile.am b/extensions/Makefile.am index 77ecabc..5c91644 100644 --- a/extensions/Makefile.am +++ b/extensions/Makefile.am @@ -1,7 +1,7 @@ if OS_WIN32 AM_LDFLAGS = -module -no-undefined else -AM_LDFLAGS = -module +AM_LDFLAGS = -module -avoid-version endif noinst_HEADERS = util.h @@ -12,7 +12,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/babl \ -I$(top_srcdir)/extensions -extdir = $(DESTDIR)$(libdir)/babl-@BABL_API_VERSION@ +extdir = $(libdir)/babl-@BABL_API_VERSION@ ext_LTLIBRARIES = \ CIE-Lab.la \ gegl-fixups.la \ diff --git a/libbabl.spec b/libbabl.spec new file mode 100644 index 0000000..766e872 --- /dev/null +++ b/libbabl.spec @@ -0,0 +1,70 @@ +Name: libbabl +Version: 0.1.0 +Release: alt1 + +Summary: babl is a dynamic, any to any, pixel format translation library +License: GPL,LGPL +Group: System/Libraries +Url: http://www.gegl.org/babl/ +Packager: Valery Inozemtsev + +Source: babl-%version.tar +Patch: babl-%version-%release.patch + +BuildRequires: librsvg-utils w3m inkscape ruby ruby-module-date-time + +%description +babl is a dynamic, any to any, pixel format translation library. +It allows converting between different methods of storing pixels known as pixel formats that have with different bitdepths and other data representations, color models and component permutations. +A vocabulary to formulate new pixel formats from existing primitives is provided as well as the framework to add new color models and data types. +Features + * Fast. + * Accurate. + * Stable, small API. + * Self profiling and optimizing. + * ANSI C, works on win32, linux and mac, 32bit and 64bit systems. + * Extendable with new formats, color models, components and datatypes. + * Reference 64bit floating point conversions for datatypes and color models. + +%package devel +Summary: development files of babl +Group: Development/C +Requires: %name = %version-%release + +%description devel +babl is a dynamic, any to any, pixel format translation library. This package contain development files. + +%prep +%setup -q -n babl-%version +%patch -p1 + +%build +%autoreconf +%configure \ + --disable-static +%make_build + +%install +%make DESTDIR=%buildroot install + +%files +%doc AUTHORS COPYING NEWS TODO +%_libdir/*.so.* +%dir %_libdir/babl-0.0 +%_libdir/babl-0.0/*.so + +%files devel +%_includedir/babl-0.0 +%_libdir/*.so +%_pkgconfigdir/*.pc + +%changelog +* Mon Jul 13 2009 Valery Inozemtsev 0.1.0-alt1 +- 0.1.0 + +* Fri Nov 14 2008 Valery Inozemtsev 0.0.22-alt2 +- rebuild + +* Sat Sep 27 2008 Vladimir Lettiev 0.0.22-alt1 +- Initial build for Sisyphus +