[packages/gnome-builder] - updated BRs - remove unknown gcc option that breaks gir-scanner
baggins
baggins at pld-linux.org
Mon Apr 9 09:49:02 CEST 2018
commit 109a6659b0abc98f439fc100707a6ad9b71d326d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Apr 9 09:48:26 2018 +0200
- updated BRs
- remove unknown gcc option that breaks gir-scanner
gnome-builder.spec | 6 +++++-
unknown-gcc-option.patch | 10 ++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/gnome-builder.spec b/gnome-builder.spec
index 5b95468..bedad4a 100644
--- a/gnome-builder.spec
+++ b/gnome-builder.spec
@@ -2,7 +2,7 @@
# - fix warning: jedi not found, python auto-completion not possible.
#
# Conditional build:
-%bcond_without sysprof # sysprof system profiler plugin
+%bcond_with sysprof # sysprof system profiler plugin
%bcond_with vala_pack # vala pack plugin
#
Summary: IDE for writing GNOME-based software
@@ -14,6 +14,7 @@ License: GPL v3+
Group: X11/Applications
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-builder/3.28/%{name}-%{version}.tar.xz
# Source0-md5: 5963331e96922e2caf6bf66b36ad4b10
+Patch0: unknown-gcc-option.patch
URL: https://wiki.gnome.org/Apps/Builder
BuildRequires: appstream-glib-devel
BuildRequires: clang-devel >= 3.5
@@ -56,7 +57,9 @@ BuildRequires: rpmbuild(macros) >= 1.522
BuildRequires: tar >= 1:1.22
BuildRequires: template-glib-devel
BuildRequires: vala >= 2:0.30.0.55
+BuildRequires: vala-gtksourceview
BuildRequires: vala-jsonrpc-glib
+BuildRequires: vala-libdazzle
BuildRequires: vala-libgit2-glib >= 0.24.0
BuildRequires: vala-template-glib
BuildRequires: vte-devel >= 0.46
@@ -138,6 +141,7 @@ API języka Vala dla GNOME Buildera.
%prep
%setup -q
+%patch0 -p1
%build
%meson build \
diff --git a/unknown-gcc-option.patch b/unknown-gcc-option.patch
new file mode 100644
index 0000000..8299802
--- /dev/null
+++ b/unknown-gcc-option.patch
@@ -0,0 +1,10 @@
+--- gnome-builder-3.28.0/meson.build~ 2018-03-14 03:10:22.000000000 +0100
++++ gnome-builder-3.28.0/meson.build 2018-04-09 09:36:01.908727154 +0200
+@@ -112,7 +112,6 @@
+ '-Wformat-security',
+ '-Wmissing-include-dirs',
+ '-Wnested-externs',
+- '-Wno-cast-function-type',
+ '-Wno-missing-field-initializers',
+ '-Wno-sign-compare',
+ '-Wno-unused-parameter',
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-builder.git/commitdiff/109a6659b0abc98f439fc100707a6ad9b71d326d
More information about the pld-cvs-commit
mailing list