SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Deprecated pam_cracklib: this module is no longer built by default and will
be removed in the next release, use pam_passwdqc (from passwdqc project)
or pam_pwquality (from libpwquality project) instead
Slackware-current is using cracklib/pam_cracklib (which is a stellar idea IMHO), so I guess changes will have to be made. Perhaps it would be a good idea to do so before the release of Slackware 15?
I had a look at the man pages for pam_passwdqc and pam_pwquality, and although the former claims to be "a simple password strength checking module", the latter sure seems simpler to use. Again, IM(NS)HO, of course.
UPD: It seems to compile fine on -current without systemd.
FWIW 0.99.11 is shipped in Slint since Thursday 17 October 2019 as well as XFCE 4.14 with no reported issue so far. Takes this with a pinch of salt, I vaguely remember people mentioning issues here @ LQ about other software, maybe KDE4?
Last edited by Didier Spaier; 06-11-2020 at 02:40 AM.
I suggest this patch for meson from nixos to fix a design failing that prevents files being installed outside of the prefix. For example "--prefix=/usr --bindir=/bin" doesn't work.
Code:
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -375,18 +375,13 @@
'''
if option.endswith('dir') and os.path.isabs(value) and \
option not in builtin_dir_noprefix_options:
- # Value must be a subdir of the prefix
# commonpath will always return a path in the native format, so we
# must use pathlib.PurePath to do the same conversion before
# comparing.
- if os.path.commonpath([value, prefix]) != str(PurePath(prefix)):
- m = 'The value of the {!r} option is {!r} which must be a ' \
- 'subdir of the prefix {!r}.\nNote that if you pass a ' \
- 'relative path, it is assumed to be a subdir of prefix.'
- raise MesonException(m.format(option, value, prefix))
- # Convert path to be relative to prefix
- skip = len(prefix) + 1
- value = value[skip:]
+ if os.path.commonpath([value, prefix]) == str(PurePath(prefix)):
+ # Convert path to be relative to prefix
+ skip = len(prefix) + 1
+ value = value[skip:]
return value
def init_builtins(self):
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095
Rep:
Quote:
Originally Posted by bassmadrigal
The newer upower doesn't work with KDE4, so it is likely going to be upgraded when Plasma5 is added to Slackware.
In the past I had trouble running upower-0.99.11 with Xfce-4.12 and reverted to 0.9.23.
After upgrading to the 5.7.1 kernel this last Sunday and reading a more recent question about upower, I installed upower-0.99.11, again, to see if it would work. It does. It is working perfectly, as I far as I can tell, with both Xfce-4.12 and kde4.
Ditto with the 5.7.2 kernel I installed yesterday.
Last edited by cwizardone; 06-11-2020 at 11:45 AM.
I have tried to compile it under -current using the SlackBuild-script from 2.13 but the compilation fails:
Code:
Making all in .
make[4]: Entering directory '/tmp/pidgin-2.14.1/libpurple'
CCLD libpurple-client.la
CCLD purple-client-example
CC mediamanager.lo
mediamanager.c: In function 'purple_media_manager_unregister_gst_device':
mediamanager.c:2242:18: error: dereferencing pointer to incomplete type 'PurpleMediaManager' {aka 'struct _PurpleMediaManager'}
2242 | for (i = manager->priv->elements; i && !done;) {
| ^~
At top level:
mediamanager.c:2413:1: warning: 'purple_media_manager_register_static_elements' defined but not used [-Wunused-function]
2413 | purple_media_manager_register_static_elements(PurpleMediaManager *manager)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mediamanager.c:2305:1: warning: 'purple_media_manager_init_device_monitor' defined but not used [-Wunused-function]
2305 | purple_media_manager_init_device_monitor(PurpleMediaManager *manager)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mediamanager.c:1346:1: warning: 'element_info_to_detail' defined but not used [-Wunused-function]
1346 | element_info_to_detail(PurpleMediaElementInfo *info)
| ^~~~~~~~~~~~~~~~~~~~~~
mediamanager.c:1175:1: warning: 'get_recv_application_element_info' defined but not used [-Wunused-function]
1175 | get_recv_application_element_info ()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mediamanager.c:1154:1: warning: 'get_send_application_element_info' defined but not used [-Wunused-function]
1154 | get_send_application_element_info ()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1155: mediamanager.lo] Error 1
make[4]: Leaving directory '/tmp/pidgin-2.14.1/libpurple'
make[3]: *** [Makefile:1272: all-recursive] Error 1
make[3]: Leaving directory '/tmp/pidgin-2.14.1/libpurple'
make[2]: *** [Makefile:893: all] Error 2
make[2]: Leaving directory '/tmp/pidgin-2.14.1/libpurple'
make[1]: *** [Makefile:638: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pidgin-2.14.1'
make: *** [Makefile:542: all] Error 2
root@hp-laptop:/home/mats/Downloads/pidgin#
I have tried to compile it under -current using the SlackBuild-script from 2.13 but the compilation fails:
Code:
Making all in .
make[4]: Entering directory '/tmp/pidgin-2.14.1/libpurple'
CCLD libpurple-client.la
CCLD purple-client-example
CC mediamanager.lo
mediamanager.c: In function 'purple_media_manager_unregister_gst_device':
mediamanager.c:2242:18: error: dereferencing pointer to incomplete type 'PurpleMediaManager' {aka 'struct _PurpleMediaManager'}
2242 | for (i = manager->priv->elements; i && !done;) {
| ^~
At top level:
mediamanager.c:2413:1: warning: 'purple_media_manager_register_static_elements' defined but not used [-Wunused-function]
2413 | purple_media_manager_register_static_elements(PurpleMediaManager *manager)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mediamanager.c:2305:1: warning: 'purple_media_manager_init_device_monitor' defined but not used [-Wunused-function]
2305 | purple_media_manager_init_device_monitor(PurpleMediaManager *manager)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mediamanager.c:1346:1: warning: 'element_info_to_detail' defined but not used [-Wunused-function]
1346 | element_info_to_detail(PurpleMediaElementInfo *info)
| ^~~~~~~~~~~~~~~~~~~~~~
mediamanager.c:1175:1: warning: 'get_recv_application_element_info' defined but not used [-Wunused-function]
1175 | get_recv_application_element_info ()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mediamanager.c:1154:1: warning: 'get_send_application_element_info' defined but not used [-Wunused-function]
1154 | get_send_application_element_info ()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1155: mediamanager.lo] Error 1
make[4]: Leaving directory '/tmp/pidgin-2.14.1/libpurple'
make[3]: *** [Makefile:1272: all-recursive] Error 1
make[3]: Leaving directory '/tmp/pidgin-2.14.1/libpurple'
make[2]: *** [Makefile:893: all] Error 2
make[2]: Leaving directory '/tmp/pidgin-2.14.1/libpurple'
make[1]: *** [Makefile:638: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pidgin-2.14.1'
make: *** [Makefile:542: all] Error 2
root@hp-laptop:/home/mats/Downloads/pidgin#
This seems to be more a pidgin code problem than a slackwares one. Would be good to see in any case the configure output also.
This seems to be more a pidgin code problem than a slackwares one. Would be good to see in any case the configure output also.
Here is my configure output:
Code:
./configure --disable-avahi --disable-meanwhile --disable-vv
pidgin 2.14.1
Build GTK+ 2.x UI............. : yes
Build console UI.............. : no
Build for X11................. : yes
Enable Gestures............... : yes
Protocols to build dynamically : gg irc jabber novell oscar simple zephyr
Protocols to link statically.. :
Build with GStreamer support.. : yes
Build for GStreamer version... : 1.0
Build with D-Bus support...... : yes
Build with voice and video.... : no
D-Bus services directory...... : /usr/share/dbus-1/services
Build with GNU Libidn......... : yes
Build with NetworkManager..... : yes
SSL Library/Libraries......... : Mozilla NSS and GnuTLS
Build with Cyrus SASL support. : no
Use kerberos 4 with zephyr.... : no
Use external libzephyr........ : no
Use external libgadu.......... : no
Install pixmaps............... : yes
Old tray icon compatibility... : no
Install translations.......... : yes
Has you....................... : yes
Use XScreenSaver Extension.... : yes
Use X Session Management...... : yes
Use startup notification...... : yes
Build with GtkSpell support... : yes
Build Unity integration plugin.: no
Build with plugin support..... : yes
Build with Mono support....... : no
Build with Perl support....... : yes
Build with Tcl support........ : yes
Build with Tk support......... : yes
Print debugging messages...... : no
Pidgin will be installed in /usr/local/bin.
Warning: You have an old copy of Pidgin at /usr/bin/pidgin.
configure complete, now type 'make'
bash-5.0$
Compilation still halts:
Code:
mediamanager.c:2242:18: error: incomplete definition of type 'struct _PurpleMediaManager'
for (i = manager->priv->elements; i && !done;) {
~~~~~~~^
./media.h:242:8: note: forward declaration of 'struct _PurpleMediaManager'
struct _PurpleMediaManager *purple_media_get_manager(PurpleMedia *media);
^
6 warnings generated.
mediamanager.c:2311:9: error: incomplete definition of type 'struct _PurpleMediaManager'
manager->priv->device_monitor = gst_device_monitor_new();
~~~~~~~^
./media.h:242:8: note: forward declaration of 'struct _PurpleMediaManager'
struct _PurpleMediaManager *purple_media_get_manager(PurpleMedia *media);
^
mediamanager.c:2313:42: error: incomplete definition of type 'struct _PurpleMediaManager'
bus = gst_device_monitor_get_bus(manager->priv->device_monitor);
~~~~~~~^
./media.h:242:8: note: forward declaration of 'struct _PurpleMediaManager'
struct _PurpleMediaManager *purple_media_get_manager(PurpleMedia *media);
^
mediamanager.c:2318:39: error: incomplete definition of type 'struct _PurpleMediaManager'
gst_device_monitor_add_filter(manager->priv->device_monitor, NULL, NULL);
~~~~~~~^
./media.h:242:8: note: forward declaration of 'struct _PurpleMediaManager'
struct _PurpleMediaManager *purple_media_get_manager(PurpleMedia *media);
^
mediamanager.c:2320:34: error: incomplete definition of type 'struct _PurpleMediaManager'
gst_device_monitor_start(manager->priv->device_monitor);
~~~~~~~^
./media.h:242:8: note: forward declaration of 'struct _PurpleMediaManager'
struct _PurpleMediaManager *purple_media_get_manager(PurpleMedia *media);
^
mediamanager.c:2322:44: error: incomplete definition of type 'struct _PurpleMediaManager'
i = gst_device_monitor_get_devices(manager->priv->device_monitor);
~~~~~~~^
./media.h:242:8: note: forward declaration of 'struct _PurpleMediaManager'
struct _PurpleMediaManager *purple_media_get_manager(PurpleMedia *media);
^
mediamanager.c:2339:18: error: incomplete definition of type 'struct _PurpleMediaManager'
for (i = manager->priv->elements; i; i = i->next) {
~~~~~~~^
./media.h:242:8: note: forward declaration of 'struct _PurpleMediaManager'
struct _PurpleMediaManager *purple_media_get_manager(PurpleMedia *media);
^
CC mime.lo
7 errors generated.
make[4]: *** [Makefile:1155: mediamanager.lo] Fel 1
make[4]: *** Inväntar oavslutade jobb...
make[4]: Lämnar katalogen ”/home/mats/Programming/pidgin-2.14.1/libpurple”
make[3]: *** [Makefile:1272: all-recursive] Fel 1
make[3]: Lämnar katalogen ”/home/mats/Programming/pidgin-2.14.1/libpurple”
make[2]: *** [Makefile:893: all] Fel 2
make[2]: Lämnar katalogen ”/home/mats/Programming/pidgin-2.14.1/libpurple”
make[1]: *** [Makefile:638: all-recursive] Fel 1
make[1]: Lämnar katalogen ”/home/mats/Programming/pidgin-2.14.1”
make: *** [Makefile:542: all] Fel 2
bash-5.0$
Last edited by mats_b_tegner; 06-13-2020 at 09:14 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.