Hello community, here is the log from the commit of package babl for openSUSE:Factory checked in at 2012-01-19 09:40:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/babl (Old) and /work/SRC/openSUSE:Factory/.babl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "babl", Maintainer is "sbra...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/babl/babl.changes 2011-11-28 12:53:00.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.babl.new/babl.changes 2012-01-19 09:40:54.000000000 +0100 @@ -1,0 +2,12 @@ +Tue Jan 10 16:46:07 UTC 2012 - dims...@opensuse.org + +- Add babl-fix-gir.patch: Fix building of the .gir and .typelib + files. +- Add vala and gobject-introspection BuildRequires to build the + introspection and vala support. +- Create typelib-1_0-Babl-0_1 subpackage for typelib. +- Add typelib-1_0-Babl-0_1 Requires to -devel package. +- Add libtool BuildRequires and call to autogen.sh as the patch + babl-fix-gir.patch touches the build system. + +------------------------------------------------------------------- New: ---- babl-fix-gir.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ babl.spec ++++++ --- /var/tmp/diff_new_pack.rygS2Q/_old 2012-01-19 09:40:55.000000000 +0100 +++ /var/tmp/diff_new_pack.rygS2Q/_new 2012-01-19 09:40:55.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package babl # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,18 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: babl Url: http://gegl.org/babl/ Version: 0.1.6 -Release: 1 +Release: 0 +Summary: Dynamic Pixel Format Translation Library License: LGPL-3.0+ Group: System/Libraries -Summary: Dynamic Pixel Format Translation Library Source: http://ftp.gtk.org/pub/babl/0.1/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM babl-fix-gir.patch bgo#666647 dims...@opensuse.org -- Fix building of .gir and typelib files. +Patch0: babl-fix-gir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gobject-introspection-devel +# Needed for patch0 +BuildRequires: libtool BuildRequires: pkg-config +BuildRequires: vala %define debug_package_requires libbabl-0_1-0 = %{version}-%{release} # None of these is needed for standard build: #BuildRequires: inkscape ruby w3m @@ -45,7 +49,6 @@ types. %package -n libbabl-0_1-0 -License: LGPL-3.0+ Summary: Dynamic Pixel Format Translation Library Group: System/Libraries @@ -60,12 +63,29 @@ provided as well as the framework to add new color models and data types. +%package -n typelib-1_0-Babl-0_1 +Summary: Dynamic Pixel Format Translation Library -- Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-Babl-0_1 +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. + +This package provides the GObject Introspection bindings for babl. + %package devel -License: LGPL-3.0+ Summary: Dynamic Pixel Format Translation Library Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libbabl-0_1-0 = %{version} +Requires: typelib-1_0-Babl-0_1 = %{version} %description devel babl is a dynamic, any to any, pixel format translation library. @@ -80,8 +100,11 @@ %prep %setup -q +%patch0 -p1 %build +# Needed for patch0 +./autogen.sh %configure\ --disable-static make %{?_smp_mflags} @@ -100,8 +123,16 @@ %{_libdir}/*.so.* %{_libdir}/babl-0.1/ +%files -n typelib-1_0-Babl-0_1 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/Babl-0.1.typelib + %files devel %defattr(-,root,root) +%{_datadir}/gir-1.0/Babl-0.1.gir +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/babl-0.1.vapi %{_includedir}/babl-0.1/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc ++++++ babl-fix-gir.patch ++++++ diff -ur babl-0.1.6/babl/Makefile.am babl-0.1.6.patched/babl/Makefile.am --- babl-0.1.6/babl/Makefile.am 2011-11-18 18:03:21.000000000 +0100 +++ babl-0.1.6.patched/babl/Makefile.am 2012-01-10 17:26:29.275911662 +0100 @@ -92,10 +92,10 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) if HAVE_INTROSPECTION -Babl-$(BABL_API_VERSION).gir: $(G_IR_SCANNER) $(library_include_HEADERS) $(c_sources) $(srcdir)/Makefile.am +Babl-$(BABL_API_VERSION).gir: $(G_IR_SCANNER) $(library_include_HEADERS) $(c_sources) $(srcdir)/Makefile.am libbabl-@BABL_API_VERSION@.la $(INTROSPECTION_SCANNER) -v --namespace Babl --nsversion=$(BABL_API_VERSION) \ --add-include-path=$(srcdir) --add-include-path=. \ - --library=babl-$(BABL_API_VERSION) \ + --library=$(builddir)/libbabl-$(BABL_API_VERSION).la \ --libtool="$(LIBTOOL)" \ --output $@ \ -DBABL_IS_BEING_COMPILED \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org