diff --git a/gconfmm-2.28.3-no-extern-c-glib-includes.patch b/gconfmm-2.28.3-no-extern-c-glib-includes.patch new file mode 100644 index 0000000..b05face --- /dev/null +++ b/gconfmm-2.28.3-no-extern-c-glib-includes.patch @@ -0,0 +1,44 @@ +diff -Naur gconfmm-2.28.3-original/gconf/gconfmm/callback.h gconfmm-2.28.3/gconf/gconfmm/callback.h +--- gconfmm-2.28.3-original/gconf/gconfmm/callback.h 2011-10-18 11:33:49.000000000 -0400 ++++ gconfmm-2.28.3/gconf/gconfmm/callback.h 2021-02-13 09:21:06.167235506 -0500 +@@ -22,10 +22,7 @@ + #ifndef GCONFMM_CALLBACK_H + #define GCONFMM_CALLBACK_H + +-extern "C" +-{ + #include +-} + + #include + #include +diff -Naur gconfmm-2.28.3-original/gconf/gconfmm/schema.h gconfmm-2.28.3/gconf/gconfmm/schema.h +--- gconfmm-2.28.3-original/gconf/gconfmm/schema.h 2011-10-21 04:51:27.000000000 -0400 ++++ gconfmm-2.28.3/gconf/gconfmm/schema.h 2021-02-13 09:21:24.616354041 -0500 +@@ -31,10 +31,8 @@ + #include + + +-extern "C" { +- // TODO: do not include this. ++// TODO: do not include this. + #include +-} + + namespace Gnome + { +diff -Naur gconfmm-2.28.3-original/gconf/src/schema.hg gconfmm-2.28.3/gconf/src/schema.hg +--- gconfmm-2.28.3-original/gconf/src/schema.hg 2011-10-18 11:33:49.000000000 -0400 ++++ gconfmm-2.28.3/gconf/src/schema.hg 2021-02-13 09:21:58.002568546 -0500 +@@ -24,10 +24,8 @@ + + _DEFS(gconfmm,gconf) + +-extern "C" { +- // TODO: do not include this. ++// TODO: do not include this. + #include +-} + + namespace Gnome + { diff --git a/gconfmm.spec b/gconfmm.spec index 56fb1a4..11981c9 100644 --- a/gconfmm.spec +++ b/gconfmm.spec @@ -2,28 +2,31 @@ Name: gconfmm Version: 2.28.3 -Release: 1mamba +Release: 2mamba Summary: C++ interface for the GConf package Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.gnome.org +URL: https://www.gnome.org/ Source: ftp://ftp.acc.umu.se/pub/GNOME/sources/gconfmm/%{majversion}/gconfmm-%{version}.tar.bz2 +Patch0: gconfmm-2.28.3-no-extern-c-glib-includes.patch License: GPL -BuildRequires: pkgconfig >= 0.15.0 -BuildRequires: libgtkmm-devel >= 2.4.8 ## AUTOBUILDREQ-BEGIN -BuildRequires: GConf-devel BuildRequires: glibc-devel +BuildRequires: libGConf-devel +BuildRequires: libORBit2-devel +BuildRequires: libdbus-devel +BuildRequires: libdbus-glib-devel BuildRequires: libgcc BuildRequires: libglib-devel -BuildRequires: libglibmm-devel +BuildRequires: libglibmm24-devel BuildRequires: libsigc++2-devel BuildRequires: libstdc++6-devel -BuildRequires: ORBit2-devel +BuildRequires: libsystemd-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: pkgconfig >= 0.15.0 +BuildRequires: libgtkmm-devel >= 2.4.8 %description C++ interface for the GConf package. @@ -35,13 +38,17 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel C++ interface for the GConf package. +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%debug_package %prep %setup -q +%patch0 -p1 +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," build/config.sub %build +CXXFLAGS+=' -std=c++11' %configure \ --libexecdir=%{_prefix}/sbin \ --sysconfdir=%{_sysconfdir}/gnome \ @@ -76,6 +83,9 @@ This package contains static libraries and header files need for development. %{_libdir}/pkgconfig/* %changelog +* Mon Nov 22 2021 Silvan Calarco 2.28.3-2mamba +- rebuilt with debug package + * Wed Oct 26 2011 Automatic Build System 2.28.3-1mamba - automatic version update by autodist