diff options
| author | kj_sh604 | 2026-05-05 21:35:45 -0400 |
|---|---|---|
| committer | kj_sh604 | 2026-05-05 21:35:45 -0400 |
| commit | d6dec14d551824ec93347abf5c9d67c4777718ff (patch) | |
| tree | 7e34ba2cb66ceb7d207a7f11cf7633234e9939f6 /agave/fix-build-without-gconf.patch | |
| parent | 07adb0c96f0904aad9d488287c8c21e18f5d3343 (diff) | |
Diffstat (limited to 'agave/fix-build-without-gconf.patch')
| -rw-r--r-- | agave/fix-build-without-gconf.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/agave/fix-build-without-gconf.patch b/agave/fix-build-without-gconf.patch deleted file mode 100644 index f8735a3..0000000 --- a/agave/fix-build-without-gconf.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -Naur agave-0.4.7.orig/src/gcs-conf.cc agave-0.4.7/src/gcs-conf.cc ---- agave-0.4.7.orig/src/gcs-conf.cc 2008-02-26 04:07:02.000000000 +0100 -+++ agave-0.4.7/src/gcs-conf.cc 2018-09-05 13:00:23.733940123 +0200 -@@ -26,6 +26,7 @@ - #include "config.h" - #include "gcs-conf.h" - #include "core/gcs-color.h" -+#include <glibmm.h> - #ifdef HAVE_GCONFMM - #include <gconfmm/client.h> - #include <gconfmm/value.h> -@@ -36,6 +37,7 @@ - // gconf recommends storing enumerations as strings rather than integers - // since it's more robust against changes in enumeration order and is more - // human-readable. This is a helper for gconf_string_to_enum and vice versa -+#ifdef HAVE_GCONFMM - static GConfEnumStringPair schemetype_lookup_table[] = - { - { SCHEME_COMPLEMENTS, "COMPLEMENTS" }, -@@ -59,6 +61,7 @@ - operator double() { return get_float(); } - operator float() { return get_float(); } - }; -+#endif // HAVE_GCONFMM - - const Glib::ustring Conf::APP_DIR = "/apps/agave"; - -@@ -128,8 +131,10 @@ - - void Conf::set_last_scheme_type(tSchemeType t) - { -+#ifdef HAVE_GCONFMM - Glib::ustring schemetype_string = gconf_enum_to_string(schemetype_lookup_table, t); - set_value(KEY_LAST_SCHEME_TYPE, schemetype_string); -+#endif // HAVE_GCONFMM - } - - -@@ -137,12 +142,16 @@ - { - Glib::ustring scheme_type; - tSchemeType t; -+#ifdef HAVE_GCONFMM - if (!get_value(KEY_LAST_SCHEME_TYPE, scheme_type) || - !gconf_string_to_enum(schemetype_lookup_table, - scheme_type.c_str(), reinterpret_cast<int*>(&t))) - { -+#endif // HAVE_GCONFMM - t = SCHEME_TRIADS; -+#ifdef HAVE_GCONFMM - } -+#endif // HAVE_GCONFMM - return t; - } - |
