Package Details: claws-mail-plugin-reloader-git 0.r5.g055cafb-1

Git Clone URL: https://aur.archlinux.org/claws-mail-plugin-reloader-git.git (read-only, click to copy)
Package Base: claws-mail-plugin-reloader-git
Description: Claws-mail Plugin Reloader Plugin - git checkout
Upstream URL: http://www.claws-mail.org/
Licenses: GPL3
Conflicts: claws-mail-plugin-reloader
Provides: claws-mail-plugin-reloader
Submitter: eworm
Maintainer: eworm
Last Packager: eworm
Votes: 1
Popularity: 0.000000
First Submitted: 2015-07-31 12:40 (UTC)
Last Updated: 2015-07-31 14:52 (UTC)

Required by (2)

Sources (1)

Latest Comments

dreieck commented on 2023-07-16 10:37 (UTC) (edited on 2023-07-16 10:54 (UTC) by dreieck)

Actually, this software needs GTK2. Up to date claws mail is per default GTK3 (but GTK2 variants exist). It seems to work also with the GTK3 claws mail.

So please add gtk2 to the depends array.

Thanks for maintaining!

dreieck commented on 2023-07-16 10:27 (UTC)

I suggest to change ‌$url to https://git.claws-mail.org/?p=claws-mail-plugin-reloader.git;a=summary, since this gives a description of this plugin.

dreieck commented on 2023-07-16 10:24 (UTC) (edited on 2023-07-16 10:28 (UTC) by dreieck)

Build fails for me with error: format not a string literal and no format arguments [-Werror=format-security]
To succeed with build, I added the following to build():

    CFLAGS+=' -Wno-error=format-security'
    CXXFLAGS+=' -Wno-error=format-security'
    export CFLAGS
    export CXXFLAGS

Here the build() output without that workaround:

==> Starting build()...
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection `pkg-config --cflags gtk+-2.0 claws-mail` -fPIC -g -I/usr/local/include/claws-mail/common   -c -o plugin-reloader.o plugin-reloader.c
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 plugin-reloader.c:24:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
  723 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from plugin-reloader.c:19:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
plugin-reloader.c: In function ‘reload_plugin_cb’:
plugin-reloader.c:125:17: error: format not a string literal and no format arguments [-Werror=format-security]
  125 |                 alertpanel_error(err);
      |                 ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make: *** [<builtin>: plugin-reloader.o] Error 1

Regards!

dreieck commented on 2017-08-16 11:10 (UTC)

Upstream host not longer valid -- please correct: ==> Retrieving sources... -> Cloning claws-mail-plugin-reloader git repo... Cloning into bare repository '/var/tmp/yaourtbuild/claws-mail-plugin-reloader-git/claws-mail-plugin-reloader'... fatal: Unable to look up git.claws-mail.org (port 9418) (Name or service not known) ==> ERROR: Failure while downloading claws-mail-plugin-reloader git repo Aborting...