diff --git a/libgdl-3.26.0-Convert-Latin-1-encoded-characters-to-UTF-8.patch b/libgdl-3.26.0-Convert-Latin-1-encoded-characters-to-UTF-8.patch new file mode 100644 index 0000000..407c820 --- /dev/null +++ b/libgdl-3.26.0-Convert-Latin-1-encoded-characters-to-UTF-8.patch @@ -0,0 +1,95 @@ +From: Ting-Wei Lan +Date: Sun, 24 Dec 2017 16:35:53 +0800 +Subject: bgo#791913 - Convert Latin-1-encoded characters to UTF-8 + +This is a minimal patch required to get gtk-doc build sucessfully. + +Origin: upstream, 3.27.0, commit:25b18258e1accd703db0e5e7948239db99ea17f1 +Bug-Debian: https://bugs.debian.org/887805 +--- + gdl/deprecated/gdl-dock-tablabel.c | 2 +- + gdl/deprecated/gdl-dock-tablabel.h | 2 +- + gdl/gdl-dock-notebook.c | 2 +- + gdl/gdl-dock-notebook.h | 2 +- + gdl/gdl-dock-paned.c | 2 +- + gdl/gdl-dock-paned.h | 2 +- + 6 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/gdl/deprecated/gdl-dock-tablabel.c b/gdl/deprecated/gdl-dock-tablabel.c +index 54369b7..0017daf 100644 +--- a/gdl/deprecated/gdl-dock-tablabel.c ++++ b/gdl/deprecated/gdl-dock-tablabel.c +@@ -4,7 +4,7 @@ + * + * This file is part of the GNOME Devtools Libraries. + * +- * Copyright (C) 2002 Gustavo Giráldez ++ * Copyright (C) 2002 Gustavo Giráldez + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public +diff --git a/gdl/deprecated/gdl-dock-tablabel.h b/gdl/deprecated/gdl-dock-tablabel.h +index 3e3b4e9..df50337 100644 +--- a/gdl/deprecated/gdl-dock-tablabel.h ++++ b/gdl/deprecated/gdl-dock-tablabel.h +@@ -4,7 +4,7 @@ + * + * This file is part of the GNOME Devtools Libraries. + * +- * Copyright (C) 2002 Gustavo Giráldez ++ * Copyright (C) 2002 Gustavo Giráldez + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public +diff --git a/gdl/gdl-dock-notebook.c b/gdl/gdl-dock-notebook.c +index a5161dd..3255968 100644 +--- a/gdl/gdl-dock-notebook.c ++++ b/gdl/gdl-dock-notebook.c +@@ -2,7 +2,7 @@ + * + * This file is part of the GNOME Devtools Libraries. + * +- * Copyright (C) 2002 Gustavo Giráldez ++ * Copyright (C) 2002 Gustavo Giráldez + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public +diff --git a/gdl/gdl-dock-notebook.h b/gdl/gdl-dock-notebook.h +index 4af6806..e87d87b 100644 +--- a/gdl/gdl-dock-notebook.h ++++ b/gdl/gdl-dock-notebook.h +@@ -2,7 +2,7 @@ + * + * This file is part of the GNOME Devtools Libraries. + * +- * Copyright (C) 2002 Gustavo Giráldez ++ * Copyright (C) 2002 Gustavo Giráldez + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public +diff --git a/gdl/gdl-dock-paned.c b/gdl/gdl-dock-paned.c +index d0482e6..6fba968 100644 +--- a/gdl/gdl-dock-paned.c ++++ b/gdl/gdl-dock-paned.c +@@ -4,7 +4,7 @@ + * + * This file is part of the GNOME Devtools Libraries. + * +- * Copyright (C) 2002 Gustavo Giráldez ++ * Copyright (C) 2002 Gustavo Giráldez + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public +diff --git a/gdl/gdl-dock-paned.h b/gdl/gdl-dock-paned.h +index 799d785..c77eca6 100644 +--- a/gdl/gdl-dock-paned.h ++++ b/gdl/gdl-dock-paned.h +@@ -4,7 +4,7 @@ + * + * This file is part of the GNOME Devtools Libraries. + * +- * Copyright (C) 2002 Gustavo Giráldez ++ * Copyright (C) 2002 Gustavo Giráldez + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public diff --git a/libgdl.spec b/libgdl.spec index 40bd22c..35fc12a 100644 --- a/libgdl.spec +++ b/libgdl.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f 1-2) Name: libgdl -Version: 3.22.0 -Release: 1mamba +Version: 3.26.0 +Release: 2mamba Summary: Gnome Devtool Libraries - development components Group: System/Libraries Vendor: openmamba @@ -9,6 +9,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: http://ftp.gnome.org/pub/GNOME/sources/gdl/%{majver}/gdl-%{version}.tar.xz +Patch0: libgdl-3.26.0-Convert-Latin-1-encoded-characters-to-UTF-8.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -83,11 +84,11 @@ The current pieces of GDL include: This package contains static libraries need for development. %prep - %setup -q -n gdl-%{version} +%patch0 -p1 %build -%configure --enable-static --enable-gtk-doc +%configure --enable-gtk-doc %make %install @@ -105,14 +106,7 @@ This package contains static libraries need for development. %files -f gdl-3.lang %defattr(-,root,root) %{_libdir}/libgdl-3.so.* -#%{_datadir}/gdl-3/ui/layout.ui -%dir %{_datadir}/gtk-doc/html/gdl-3.0 -#%{_datadir}/gtk-doc/html/gdl-3.0/gdl-3.0.devhelp -%{_datadir}/gtk-doc/html/gdl-3.0/gdl-3.0.devhelp2 -%{_datadir}/gtk-doc/html/gdl-3.0/*.html -%{_datadir}/gtk-doc/html/gdl-3.0/*.sgml -%{_datadir}/gtk-doc/html/gdl-3.0/*.css -%{_datadir}/gtk-doc/html/gdl-3.0/*.png +%{_libdir}/girepository-1.0/Gdl-3.typelib %doc AUTHORS COPYING %files devel @@ -121,16 +115,27 @@ This package contains static libraries need for development. %{_includedir}/libgdl-3.0/gdl/*.h %{_libdir}/libgdl-3.la %{_libdir}/libgdl-3.so -%{_libdir}/girepository-1.0/Gdl-3.typelib %{_datadir}/gir-1.0/Gdl-3.gir +%dir %{_datadir}/gtk-doc/html/gdl-3.0 +#%{_datadir}/gtk-doc/html/gdl-3.0/gdl-3.0.devhelp2 +%{_datadir}/gtk-doc/html/gdl-3.0/*.html +%{_datadir}/gtk-doc/html/gdl-3.0/*.css +%{_datadir}/gtk-doc/html/gdl-3.0/*.png %{_libdir}/pkgconfig/*.pc %doc ChangeLog NEWS README -%files static -%defattr(-,root,root) -%{_libdir}/*.a +#%files static +#%defattr(-,root,root) +#%{_libdir}/*.a %changelog +* Sat Feb 10 2018 Silvan Calarco 3.26.0-2mamba +- Latin1 to UTF-8 patch to fix documentation build +- disable static package build + +* Sun Dec 24 2017 Automatic Build System 3.26.0-1mamba +- automatic version update by autodist + * Mon Oct 31 2016 Automatic Build System 3.22.0-1mamba - automatic version update by autodist