Package Details: gtk-engine-murrine 0.98.2-5

Git Clone URL: https://aur.archlinux.org/gtk-engine-murrine.git (read-only, click to copy)
Package Base: gtk-engine-murrine
Description: GTK2 engine to make your desktop look like a 'murrina', an italian word meaning the art glass works done by Venicians glass blowers.
Upstream URL: http://cimitan.com/murrine/project/murrine
Licenses: LGPL-3.0-or-later
Submitter: City-busz
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 8
Popularity: 4.32
First Submitted: 2025-10-27 22:28 (UTC)
Last Updated: 2025-11-18 22:10 (UTC)

Latest Comments

FabioLolix commented on 2025-11-18 22:15 (UTC)

build again, I had missed the comments since adopting no longer automatically enable notifications

ninetailedtori commented on 2025-11-07 21:08 (UTC)

The patch has been implemented in the base code, apparently, but it hasn't hit the version that we're using. A rebuild would probably be best here.

JSpaces commented on 2025-11-03 18:37 (UTC) (edited on 2025-11-03 19:08 (UTC) by JSpaces)

I found a patch from Debian mailing list that fixes the code. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066392


vim add-missing-function-declarations.patch

diff -Nru murrine-0.98.2-orig/src/murrine_rc_style.h murrine-0.98.2/src/murrine_rc_style.h
--- murrine-0.98.2-orig/src/murrine_rc_style.h  2025-11-03 11:23:02.688651742 -0700
+++ murrine-0.98.2/src/murrine_rc_style.h   2025-11-03 11:15:08.478665345 -0700
@@ -155,4 +155,6 @@

 GType murrine_rc_style_get_type    (void);

+void murrine_rc_style_register_types (GTypeModule *module);
+
 #endif /* MURRINE_RC_STYLE_H */
diff -Nru murrine-0.98.2-orig/src/murrine_style.h murrine-0.98.2/src/murrine_style.h
--- murrine-0.98.2-orig/src/murrine_style.h 2025-11-03 11:23:02.688738111 -0700
+++ murrine-0.98.2/src/murrine_style.h  2025-11-03 11:15:58.142416959 -0700
@@ -103,4 +103,6 @@

 GType murrine_style_get_type (void);

+void murrine_style_register_types (GTypeModule *module);
+
 #endif /* MURRINE_STYLE_H */
diff -Nru murrine-0.98.2-orig/src/support.h murrine-0.98.2/src/support.h
--- murrine-0.98.2-orig/src/support.h   2025-11-03 11:23:02.688759361 -0700
+++ murrine-0.98.2/src/support.h    2025-11-03 11:17:11.646522733 -0700
@@ -149,4 +149,7 @@
                                                         gboolean  *start,
                                                         gboolean  *end);

+gboolean murrine_object_is_a (const GObject * object, const gchar * type_name);
+gboolean murrine_widget_is_ltr (GtkWidget *widget);
+
 #endif /* SUPPORT_H */

vim PKGBUILD
<source=(https://ftp.gnome.org/pub/GNOME/sources/murrine/0.98/murrine-${pkgver}.tar.xz
        add-missing-function-declarations.patch
                fix-crasher.patch)
sha256sums=('e9c68ae001b9130d0f9d1b311e8121a94e5c134b82553ba03971088e57d12c89'
            'e7b2ccf2c323af2be661839b30d5ad4b2f0bcdd2ea88b6825dbcf6f53aa7f86e'
            'e33f76ea23e38eecd2921300c7c01ff06ca33f63b9c7810d83d95e47681fe7da')
prepare() {
  cd murrine-${pkgver}
  # https://bugs.archlinux.org/task/48294
  patch -Np1 -i ../fix-crasher.patch
    patch -Np1 -i ../add-missing-function-declarations.patch
}</code>

This patch allows the package to compile without the custom CFLAG.

Tildar commented on 2025-10-30 09:32 (UTC)

Until someone has the time to fix the source code correctly, we can add export CFLAGS="${CFLAGS} -Wno-error=implicit-function-declaration" to the build section of the PKGBUILD file as:

 build() {
 cd murrine-${pkgver}
 export CFLAGS="${CFLAGS} -Wno-error=implicit-function-declaration"
 ./configure \
 --prefix=/usr \
 --enable-animation \
 --enable-animationrtl
 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 make
 }

syphant commented on 2025-10-28 02:42 (UTC)

Confirmed - unfortunately, this does not build successfully on my machine either.

jakebailey commented on 2025-10-28 02:01 (UTC) (edited on 2025-10-28 02:02 (UTC) by jakebailey)

I know this just got dropped into the AUR from the main repos, but it unfortunately does not build for me:

./src/murrine_theme_main.c: In function 'theme_init':
./src/murrine_theme_main.c:31:9: error: implicit declaration of function 'murrine_rc_style_register_types'; did you mean 'murrine_rc_style_get_type'? [-Wimplicit-function-declaration]
   31 |         murrine_rc_style_register_types (module);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         murrine_rc_style_get_type
./src/murrine_theme_main.c:32:9: error: implicit declaration of function 'murrine_style_register_types'; did you mean 'murrine_style_get_type'? [-Wimplicit-function-declaration]
   32 |         murrine_style_register_types (module);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         murrine_style_get_type
  CC     exponential-blur.lo
make[1]: *** [Makefile:528: murrine_theme_main.lo] Error 1
make[1]: *** Waiting for unfinished jobs....


./src/murrine_style.c: In function 'murrine_set_widget_parameters':
./src/murrine_style.c:133:30: error: implicit declaration of function 'murrine_widget_is_ltr'; did you mean 'murrine_widget_is_rgba'? [-Wimplicit-function-declaration]
  133 |         params->ltr        = murrine_widget_is_ltr ((GtkWidget*)widget);
      |                              ^~~~~~~~~~~~~~~~~~~~~
      |                              murrine_widget_is_rgba
In file included from ./src/murrine_style.c:30:
./src/support.h:79:50: error: implicit declaration of function 'murrine_object_is_a'; did you mean 'murrine_widget_is_rgba'? [-Wimplicit-function-declaration]
   79 | #define MRN_IS_PROGRESS_BAR(object) ((object) && murrine_object_is_a ((GObject*)(object), "GtkProgressBar"))
      |                                                  ^~~~~~~~~~~~~~~~~~~
./src/murrine_style.c:174:42: note: in expansion of macro 'MRN_IS_PROGRESS_BAR'
  174 |                 if (params->prelight && !MRN_IS_PROGRESS_BAR(widget)) //progressbar is prelight, no change in shade
      |                                          ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ./src/animation.h:24,
                 from ./src/murrine_style.h:26,
                 from ./src/murrine_draw.h:24,
                 from ./src/murrine_draw_rgba.c:23: