[packages/gnustep-back] - updated to 0.24.0 - added format patch (fixes build with -Werror=format-security)
qboosh
qboosh at pld-linux.org
Sat Jul 26 11:38:18 CEST 2014
commit c31555af5761cfd2c7e143a72db30a2eeb825a10
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 26 11:43:38 2014 +0200
- updated to 0.24.0
- added format patch (fixes build with -Werror=format-security)
gnustep-back-format.patch | 11 +++++++++++
gnustep-back.spec | 42 +++++++++++++++++++++++-------------------
2 files changed, 34 insertions(+), 19 deletions(-)
---
diff --git a/gnustep-back.spec b/gnustep-back.spec
index 02a9964..5789b17 100644
--- a/gnustep-back.spec
+++ b/gnustep-back.spec
@@ -10,13 +10,14 @@
Summary: The GNUstep backend bundle
Summary(pl.UTF-8): Pakiet backendowy GNUstep
Name: gnustep-back
-Version: 0.23.0
+Version: 0.24.0
Release: 1
License: LGPL v2+ (libraries), GPL v3+ (applicatinos)
Vendor: The GNUstep Project
Group: X11/Libraries
Source0: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz
-# Source0-md5: bde6f222bc74a0ba02f57fa1908c200e
+# Source0-md5: 0b8393832bd928b9d3ec4eb68d7f6564
+Patch0: %{name}-format.patch
URL: http://www.gnustep.org/
BuildRequires: OpenGL-GLX-devel
%{?with_dps:BuildRequires: X11-DPS-devel}
@@ -26,6 +27,7 @@ BuildRequires: OpenGL-GLX-devel
%{?with_glitz:BuildRequires: glitz-devel}
BuildRequires: gnustep-gui-devel >= %{version}
%{?with_art:BuildRequires: libart_lgpl-devel}
+BuildRequires: libtiff-devel
BuildRequires: pkgconfig
BuildRequires: xorg-lib-libXcursor-devel
BuildRequires: xorg-lib-libXext-devel
@@ -41,7 +43,8 @@ Obsoletes: gnustep-xgps
Conflicts: gnustep-core
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _noautoreqdep libGL.so.1 libGLU.so.1
+# bundles version (echo %{version} | cut -d. -f1,2 | tr -d .)
+%define bver 024
%description
This is a backend for the GNUstep gui Library which allows you to use
@@ -102,6 +105,7 @@ Graficzny backend GNUstep - xdps.
%prep
%setup -q
+%patch0 -p1
%if %{with cairo}
# hack cairo header - objc doesn't allow #defines in #include
@@ -195,10 +199,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/gpbs.1*
-%dir %{_libdir}/GNUstep/Bundles/libgnustep-back-023.bundle
-%attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgnustep-back-023.bundle/libgnustep-back-023
-%{_libdir}/GNUstep/Bundles/libgnustep-back-023.bundle/Resources
-%{_libdir}/GNUstep/Bundles/libgnustep-back-023.bundle/stamp.make
+%dir %{_libdir}/GNUstep/Bundles/libgnustep-back-%{bver}.bundle
+%attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgnustep-back-%{bver}.bundle/libgnustep-back-%{bver}
+%{_libdir}/GNUstep/Bundles/libgnustep-back-%{bver}.bundle/Resources
+%{_libdir}/GNUstep/Bundles/libgnustep-back-%{bver}.bundle/stamp.make
%dir %{_libdir}/GNUstep/Fonts
# XXX: n0190{0,2,4,6}{3,4}.{pfb,afm,pfm} - symlink from ghostscript-fonts-std?
@@ -207,26 +211,26 @@ rm -rf $RPM_BUILD_ROOT
%if %{with art}
%files art
%defattr(644,root,root,755)
-%dir %{_libdir}/GNUstep/Bundles/libgnustep-back-art-023.bundle
-%attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgnustep-back-art-023.bundle/libgnustep-back-art-023
-%{_libdir}/GNUstep/Bundles/libgnustep-back-art-023.bundle/Resources
-%{_libdir}/GNUstep/Bundles/libgnustep-back-art-023.bundle/stamp.make
+%dir %{_libdir}/GNUstep/Bundles/libgnustep-back-art-%{bver}.bundle
+%attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgnustep-back-art-%{bver}.bundle/libgnustep-back-art-%{bver}
+%{_libdir}/GNUstep/Bundles/libgnustep-back-art-%{bver}.bundle/Resources
+%{_libdir}/GNUstep/Bundles/libgnustep-back-art-%{bver}.bundle/stamp.make
%endif
%if %{with cairo}
%files cairo
%defattr(644,root,root,755)
-%dir %{_libdir}/GNUstep/Bundles/libgnustep-back-cairo-023.bundle
-%attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgnustep-back-cairo-023.bundle/libgnustep-back-cairo-023
-%{_libdir}/GNUstep/Bundles/libgnustep-back-cairo-023.bundle/Resources
-%{_libdir}/GNUstep/Bundles/libgnustep-back-cairo-023.bundle/stamp.make
+%dir %{_libdir}/GNUstep/Bundles/libgnustep-back-cairo-%{bver}.bundle
+%attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgnustep-back-cairo-%{bver}.bundle/libgnustep-back-cairo-%{bver}
+%{_libdir}/GNUstep/Bundles/libgnustep-back-cairo-%{bver}.bundle/Resources
+%{_libdir}/GNUstep/Bundles/libgnustep-back-cairo-%{bver}.bundle/stamp.make
%endif
%if %{with dps}
%files xdps
%defattr(644,root,root,755)
-%dir %{_libdir}/GNUstep/Bundles/libgnustep-back-xdps-023.bundle
-%attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgnustep-back-xdps-023.bundle/libgnustep-back-xdps-023
-%{_libdir}/GNUstep/Bundles/libgnustep-back-xdps-023.bundle/Resources
-%{_libdir}/GNUstep/Bundles/libgnustep-back-xdps-023.bundle/stamp.make
+%dir %{_libdir}/GNUstep/Bundles/libgnustep-back-xdps-%{bver}.bundle
+%attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgnustep-back-xdps-%{bver}.bundle/libgnustep-back-xdps-%{bver}
+%{_libdir}/GNUstep/Bundles/libgnustep-back-xdps-%{bver}.bundle/Resources
+%{_libdir}/GNUstep/Bundles/libgnustep-back-xdps-%{bver}.bundle/stamp.make
%endif
diff --git a/gnustep-back-format.patch b/gnustep-back-format.patch
new file mode 100644
index 0000000..85bcc4a
--- /dev/null
+++ b/gnustep-back-format.patch
@@ -0,0 +1,11 @@
+--- gnustep-back-0.24.0/Tools/gpbs.m.orig 2012-02-14 19:29:51.000000000 +0100
++++ gnustep-back-0.24.0/Tools/gpbs.m 2014-07-26 11:13:23.450533150 +0200
+@@ -64,7 +64,7 @@
+ {
+ if (is_daemon)
+ {
+- syslog (log_priority | prio, ebuf);
++ syslog (log_priority | prio, "%s", ebuf);
+ }
+ else if (prio == LOG_INFO)
+ {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnustep-back.git/commitdiff/c31555af5761cfd2c7e143a72db30a2eeb825a10
More information about the pld-cvs-commit
mailing list