Package Details: gconfmm 2.28.3-7

Git Clone URL: https://aur.archlinux.org/gconfmm.git (read-only, click to copy)
Package Base: gconfmm
Description: C++ bindings for GConf
Upstream URL: http://gconfmm.sourceforge.net/
Licenses: LGPL
Submitter: adsun
Maintainer: jose1711
Last Packager: adsun
Votes: 4
Popularity: 0.065543
First Submitted: 2019-08-09 17:38 (UTC)
Last Updated: 2022-01-05 23:42 (UTC)

Latest Comments

jose1711 commented on 2022-01-08 05:39 (UTC)

@adsun thank you, all good now. i adopted the PKGBUILD. j

adsun commented on 2022-01-05 23:44 (UTC)

I have added the patch required to fix compilation. Let me know if there are still things I might have missed.

wallacoloo commented on 2021-08-31 06:45 (UTC)

Here's a complete fix to get this compiling:

$ git diff HEAD

diff --git a/PKGBUILD b/PKGBUILD
index e295d77..6cb156b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,10 +10,13 @@ arch=('x86_64')
 url="http://gconfmm.sourceforge.net/"
 license=('LGPL')
 makedepends=('pkgconfig' 'gtkmm' 'glibmm-docs' 'gconf' 'glibmm')
-source=(https://download.gnome.org/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('d7bd2d29c1a87b85329547fb29a0eca52d944e60699982152775002e24c09228')
+source=(https://download.gnome.org/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.xz
+    gconf.patch)
+sha256sums=('d7bd2d29c1a87b85329547fb29a0eca52d944e60699982152775002e24c09228'
+    '9030eb62cea4f8fab84e8e0a7109dd6e5e13c3a7a47b5697f7b62bb0ee0e0067')

 build() {
+  patch -p0 < gconf.patch
   cd "${srcdir}/${pkgbase}-${pkgver}"
   CXXFLAGS+=' -std=c++11'
   ./configure --prefix=/usr --sysconfdir=/etc \
diff --git a/gconf.patch b/gconf.patch
new file mode 100644
index 0000000..17d27f7
--- /dev/null
+++ b/gconf.patch
@@ -0,0 +1,13 @@
+--- gconfmm-2.28.3/gconf/gconfmm/callback.h    2011-10-18 08:33:49.000000000 -0700
++++ gconfmm-2.28.3/gconf/gconfmm/callback.h    2021-08-30 23:37:18.803543736 -0700
+@@ -22,10 +22,7 @@
+ #ifndef GCONFMM_CALLBACK_H
+ #define GCONFMM_CALLBACK_H
+ 
+-extern "C"
+-{
+ #include <gconf/gconf-client.h>
+-}
+ 
+ #include <glibmm/object.h>
+ #include <gconfmm/entry.h>

weltio commented on 2021-08-25 10:12 (UTC) (edited on 2021-08-25 10:12 (UTC) by weltio)

@hotshot247 gconfmm/src/gconfmm-2.28.3/gconf/gconfmm/callback.h

-extern "C"
-{
 #include <gconf/gconf-client.h>
-}

hotshot247 commented on 2021-06-07 21:18 (UTC)

i'm getting a compilation error and i went back to look at it and see this: "error: template with C linkage". do you know how to fix that?

micwoj92 commented on 2021-05-22 00:21 (UTC) (edited on 2021-05-22 00:29 (UTC) by micwoj92)

That doesn't tell much, error 2 in makepkg just means "Error in configuration file" and in make "The exit status is two if make encounters any errors. "

tralph3 commented on 2021-05-21 23:59 (UTC)

Compilation is failing with Error 2