Latin1 to UTF-8 patch to fix documentation build

disable static package build [release 3.26.0-2mamba;Sat Feb 10 2018]
This commit is contained in:
Silvan Calarco 2024-01-06 04:21:28 +01:00
parent 5f513baa99
commit 97da4ec47c
2 changed files with 116 additions and 16 deletions

View File

@ -0,0 +1,95 @@
From: Ting-Wei Lan <lantw@src.gnome.org>
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 <gustavo.giraldez@gmx.net>
+ * Copyright (C) 2002 Gustavo Giráldez <gustavo.giraldez@gmx.net>
*
* 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 <gustavo.giraldez@gmx.net>
+ * Copyright (C) 2002 Gustavo Giráldez <gustavo.giraldez@gmx.net>
*
* 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 <gustavo.giraldez@gmx.net>
+ * Copyright (C) 2002 Gustavo Giráldez <gustavo.giraldez@gmx.net>
*
* 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 <gustavo.giraldez@gmx.net>
+ * Copyright (C) 2002 Gustavo Giráldez <gustavo.giraldez@gmx.net>
*
* 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 <gustavo.giraldez@gmx.net>
+ * Copyright (C) 2002 Gustavo Giráldez <gustavo.giraldez@gmx.net>
*
* 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 <gustavo.giraldez@gmx.net>
+ * Copyright (C) 2002 Gustavo Giráldez <gustavo.giraldez@gmx.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f 1-2) %define majver %(echo %version | cut -d. -f 1-2)
Name: libgdl Name: libgdl
Version: 3.22.0 Version: 3.26.0
Release: 1mamba Release: 2mamba
Summary: Gnome Devtool Libraries - development components Summary: Gnome Devtool Libraries - development components
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -9,6 +9,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org URL: http://www.gnome.org
Source: http://ftp.gnome.org/pub/GNOME/sources/gdl/%{majver}/gdl-%{version}.tar.xz 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 License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -83,11 +84,11 @@ The current pieces of GDL include:
This package contains static libraries need for development. This package contains static libraries need for development.
%prep %prep
%setup -q -n gdl-%{version} %setup -q -n gdl-%{version}
%patch0 -p1
%build %build
%configure --enable-static --enable-gtk-doc %configure --enable-gtk-doc
%make %make
%install %install
@ -105,14 +106,7 @@ This package contains static libraries need for development.
%files -f gdl-3.lang %files -f gdl-3.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libgdl-3.so.* %{_libdir}/libgdl-3.so.*
#%{_datadir}/gdl-3/ui/layout.ui %{_libdir}/girepository-1.0/Gdl-3.typelib
%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
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files devel %files devel
@ -121,16 +115,27 @@ This package contains static libraries need for development.
%{_includedir}/libgdl-3.0/gdl/*.h %{_includedir}/libgdl-3.0/gdl/*.h
%{_libdir}/libgdl-3.la %{_libdir}/libgdl-3.la
%{_libdir}/libgdl-3.so %{_libdir}/libgdl-3.so
%{_libdir}/girepository-1.0/Gdl-3.typelib
%{_datadir}/gir-1.0/Gdl-3.gir %{_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 %{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README %doc ChangeLog NEWS README
%files static #%files static
%defattr(-,root,root) #%defattr(-,root,root)
%{_libdir}/*.a #%{_libdir}/*.a
%changelog %changelog
* Sat Feb 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.26.0-2mamba
- Latin1 to UTF-8 patch to fix documentation build
- disable static package build
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 3.26.0-1mamba
- automatic version update by autodist
* Mon Oct 31 2016 Automatic Build System <autodist@mambasoft.it> 3.22.0-1mamba * Mon Oct 31 2016 Automatic Build System <autodist@mambasoft.it> 3.22.0-1mamba
- automatic version update by autodist - automatic version update by autodist