From: Jookia <166291@gmail.com> Subject: [PATCHv2] gtk: Patch GTK+ to look for themes in profiles. To: guix-devel@gnu.org Date: Sun, 13 Mar 2016 15:17:37 +1100 Url: https://lists.gnu.org/archive/html/guix-devel/2016-03/msg00492.html diff -Naur gtk+-2.24.28.new/gtk/gtkrc.c gtk+-2.24.28/gtk/gtkrc.c --- gtk+-2.24.28.new/gtk/gtkrc.c 2016-03-13 10:31:14.413644362 +1100 +++ gtk+-2.24.28/gtk/gtkrc.c 2016-03-13 12:51:34.723398423 +1100 @@ -808,6 +808,8 @@ gchar *path = NULL; const gchar *home_dir; gchar *subpath; + const gchar * const *xdg_data_dirs; + gint i; if (type) subpath = g_strconcat ("gtk-2.0-", type, @@ -830,6 +832,22 @@ } if (!path) + { + xdg_data_dirs = g_get_system_data_dirs (); + for (i = 0; xdg_data_dirs[i]; i++) + { + path = g_build_filename (xdg_data_dirs[i], "themes", name, subpath, NULL); + if (g_file_test (path, G_FILE_TEST_EXISTS)) + break; + else + { + g_free (path); + path = NULL; + } + } + } + + if (!path) { gchar *theme_dir = gtk_rc_get_theme_dir (); path = g_build_filename (theme_dir, name, subpath, NULL); og/gnu/packages/openldap.scm'>logtreecommitdiff
path: root/gnu/packages/openldap.scm
AgeCommit message (Expand)Author
2024-08-31gnu: 389-ds-base: Fix build....* gnu/packages/openldap.scm (389-ds-base)[source]: Add snippet. [inputs]: Add libxcrypt. Change-Id: I5ddb30e8a0ae23e7795a0a9a9e3f00b48379e3e8 宋文武
2024-08-31gnu: 389-ds-base: Add 'bash' input for 'wrap-program'....It is required for cross-compilation. * gnu/packages/openldap.scm (389-ds-base)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Maxime Devos
2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-mod......Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee Maxim Cournoyer