Package Details: lxpolkit-git 1:0.1.0.r34.g55fc5d4-5

Git Clone URL: https://aur.archlinux.org/lxpolkit-git.git (read-only, click to copy)
Package Base: lxpolkit-git
Description: Simple polkit authentication agent for LXDE
Upstream URL: http://blog.lxde.org/?p=674
Licenses: GPL
Groups: lxde
Conflicts: lxpolkit
Provides: lxpolkit
Submitter: None
Maintainer: bidulock
Last Packager: bidulock
Votes: 31
Popularity: 0.000000
First Submitted: 2010-03-30 17:18 (UTC)
Last Updated: 2022-01-19 19:09 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

sidicer commented on 2025-02-15 12:00 (UTC) (edited on 2025-02-15 12:01 (UTC) by sidicer)

automakeVer=$(automake --version|head -1|awk '{print$4}'|sed -e 's,\.[^.]*$,,')

This part of your PKGBUID is broken as automake (GNU automake) 1.17 becomes 1 which is incorrect. Please update to

$(automake --version | head -1 | awk '{print $4}')

And do not overwrite to 1 as it's lower than 1.10

You must have automake > 1.10 or 1.11 installed to compile this program.

qdii commented on 2024-01-21 20:12 (UTC)

And also make :D

qdii commented on 2024-01-21 20:10 (UTC)

Ah and also pkgconfig

qdii commented on 2024-01-21 20:06 (UTC)

Making this package also requires automake, m4 and autoconf. Could you add them to PKGBUILD?

purpleleaf commented on 2022-01-19 23:09 (UTC)

@bidulock thanks, works like a charm.

bidulock commented on 2022-01-19 19:11 (UTC)

@maxfranco fixed in pkgrel=5

purpleleaf commented on 2022-01-19 15:47 (UTC) (edited on 2022-01-19 15:57 (UTC) by purpleleaf)

@bidulock these are all errors and warning reported:

/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:24,

from /usr/include/glib-2.0/gobject/gbinding.h:29,

from /usr/include/glib-2.0/glib-object.h:22,

from /usr/include/glib-2.0/gio/gioenums.h:28,

from /usr/include/glib-2.0/gio/giotypes.h:28,

from /usr/include/glib-2.0/gio/gio.h:26,

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,

from lxpolkit.c:26:

/usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here

698 | {

| ^

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,

from lxpolkit.c:26:

/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:32,

from /usr/include/glib-2.0/glib.h:30,

from /usr/include/glib-2.0/gobject/gbinding.h:28,

from /usr/include/glib-2.0/glib-object.h:22,

from /usr/include/glib-2.0/gio/gioenums.h:28,

from /usr/include/glib-2.0/gio/giotypes.h:28,

from /usr/include/glib-2.0/gio/gio.h:26,

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,

from lxpolkit.c:26:

/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here

547 | struct _GTimeVal

| ^~~~~~~~~

lxpolkit.c: In function 'show_msg':

lxpolkit.c:40:5: error: format not a string literal and no format arguments [-Werror=format-security]

40 | GtkWidget* dlg = gtk_message_dialog_new(parent, GTK_DIALOG_MODAL, type, GTK_BUTTONS_OK, msg);

| ^~~~~~~~~

lxpolkit.c: In function 'main':

lxpolkit.c:80:5: warning: 'polkit_agent_register_listener' is deprecated: Use polkit_agent_listener_register instead [-Wdeprecated-declarations]

80 | if(!polkit_agent_register_listener(listener, session, NULL, &err))

| ^~

In file included from /usr/include/polkit-1/polkitagent/polkitagent.h:32,

from lxpolkit-listener.h:27,

from lxpolkit.c:31:

/usr/include/polkit-1/polkitagent/polkitagentlistener.h:112:11: note: declared here

112 | gboolean polkit_agent_register_listener (PolkitAgentListener *listener,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bidulock commented on 2022-01-18 23:31 (UTC)

@maxfranco Sorry, but that does not show where the error occurred: it is way farther up in the output.

purpleleaf commented on 2022-01-18 16:48 (UTC) (edited on 2022-01-18 16:52 (UTC) by purpleleaf)

@bidulock sorry for the late,

cc1: some warnings being treated as errors

make[2]: *** [Makefile:452: lxpolkit-lxpolkit.o] Error 1

make[2]: Leaving directory '/home/max/.cache/yay/lxpolkit-git/src/lxpolkit-git/src'

make[1]: *** [Makefile:394: all-recursive] Error 1

make[1]: Leaving directory '/home/max/.cache/yay/lxpolkit-git/src/lxpolkit-git'

make: *** [Makefile:335: all] Error 2

==> ERROR: A failure occurred in build().

Aborting...

-> error making: lxpolkit-git

bidulock commented on 2022-01-16 08:43 (UTC)

@maxfranco could you post the actual error and in English please.