LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 07-01-2017, 04:50 AM   #2506
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997

I have the latest release of gcr and gnome-keyring, installed here since longtime, without problem here, but......

for Consolekit, it seem you have merged all patch who are present in the 1.0.2 version, i think this update is just cosmetic.
 
1 members found this post helpful.
Old 07-01-2017, 07:27 AM   #2507
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
It seem gegl-0.3* is just needed by gnome-photos actually, it is not a part of slackware.

gegl-0.2 and gegl-0.3 may cohabit like gtk+2 and 3, but gegl-0.3, is not needed in slackware at the moment.

Last edited by gmgf; 07-01-2017 at 09:51 AM.
 
1 members found this post helpful.
Old 07-01-2017, 08:03 AM   #2508
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Fedora have many patch for gegl-0.2,

Among them, a CVE fix:
http://pkgs.fedoraproject.org/cgit/rpms/gegl.git/tree/

It seems that babl, can be updated, tested here, it seem that this update no affect gimp:

https://download.gimp.org/pub/babl/0...0.1.28.tar.bz2

Last edited by gmgf; 07-01-2017 at 08:05 AM.
 
1 members found this post helpful.
Old 07-01-2017, 08:30 AM   #2509
DarkVision
Member
 
Registered: Jul 2007
Posts: 199

Rep: Reputation: Disabled
Quote:
Originally Posted by gmgf View Post
maybe it's better to add this new option in the SlackBuild: (--enable-auto-setup-driverless).
Note sure if i got this right for cups-filters, but in this post one of the debian package maintainers mentioned that you have to set this 'default' option manually in the cups-browsed.conf.
 
Old 07-01-2017, 08:54 AM   #2510
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
Originally Posted by DarkVision View Post
Note sure if i got this right for cups-filters, but in this post one of the debian package maintainers mentioned that you have to set this 'default' option manually in the cups-browsed.conf.
Ok, no problem
 
Old 07-01-2017, 11:02 AM   #2511
davjohn
Member
 
Registered: Jan 2017
Posts: 94

Rep: Reputation: Disabled
Could support for kernel rootflags parameter be added to mkinitrd, please ?

Code:
--- init.org    2017-05-08 01:45:53.000000000 +0200
+++ init        2017-07-01 15:40:59.606980534 +0200
@@ -129,6 +129,9 @@
     rootfs=*|rootfstype=*)
       ROOTFS=$(echo $ARG | cut -f2 -d=)
     ;;
+    rootflags=*)
+      ROOTFLAGS=$(echo $ARG | cut -f2- -d=)
+    ;;
     waitforroot=*|rootdelay=*)
       WAIT=$(echo $ARG | cut -f2 -d=)
     ;;
@@ -312,7 +315,7 @@
   # Switch to real root partition:
   /sbin/udevadm settle --timeout=10
   echo 0x0100 > /proc/sys/kernel/real-root-dev
-  mount -o ro -t $ROOTFS $ROOTDEV /mnt
+  mount -o ro${ROOTFLAGS:+,$ROOTFLAGS} -t $ROOTFS $ROOTDEV /mnt
   
   if [ ! -r /mnt/sbin/init ]; then
     echo "ERROR:  No /sbin/init found on rootdev (or not mounted).  Trouble ahead."
and also support for Btrfs in busybox:
Code:
--- busybox-dot-config.1.20.x.org       2016-06-08 21:48:15.000000000 +0200
+++ busybox-dot-config.1.20.x   2017-07-01 15:39:40.082984313 +0200
@@ -613,7 +613,7 @@
 # Filesystem/Volume identification
 #
 CONFIG_FEATURE_VOLUMEID_EXT=y
-# CONFIG_FEATURE_VOLUMEID_BTRFS is not set
+CONFIG_FEATURE_VOLUMEID_BTRFS=y
 CONFIG_FEATURE_VOLUMEID_REISERFS=y
 CONFIG_FEATURE_VOLUMEID_FAT=y
 CONFIG_FEATURE_VOLUMEID_HFS=y
 
1 members found this post helpful.
Old 07-01-2017, 09:57 PM   #2512
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by gmgf View Post
I have the latest release of gcr and gnome-keyring, installed here since longtime, without problem here, but......
Aha - I found it:
Code:
 * 3.18.x removes the builtin GnuPG agent. Distributions
   should instead package and enable the agent gnupg 2.1.6+ or
   pinentry 0.9.5+ which interact well with GNOME, GNOME Shell
   and allow caching of passphrases via libsecret.
So we should be fine with upgrading those now since we now have gnupg2-2.1.x in the tree.

Quote:
for Consolekit, it seem you have merged all patch who are present in the 1.0.2 version, i think this update is just cosmetic.
We didn't merge my patch to check for adequate swap space before hibernate, because upower already does that, and we have to use upower for now. Once plasma5 goes in, we can update to newer upower, let CK2 handle suspend/hibernate, and at that point we'll *need* newer CK2. There's a lot of work going on upstream there to emulate the logind interfaces too...
 
1 members found this post helpful.
Old 07-02-2017, 02:37 AM   #2513
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by rworkman View Post
There's a lot of work going on upstream there to emulate the logind interfaces too...
ConsoleKit2 has the complete logind d-bus API implemented already, and therefore KWin is going to add equal support to CK2 along with systemd-logind. The proposed patch provided by Eric Koegel (CK2 developer) is here: https://phabricator.kde.org/D6291
 
2 members found this post helpful.
Old 07-02-2017, 02:54 AM   #2514
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
OK, Robby, I was wrong version, it is the 1.0.1 version of consolekit2 that integrates most of the patches of your package

Last edited by gmgf; 07-02-2017 at 04:09 AM.
 
1 members found this post helpful.
Old 07-02-2017, 07:12 AM   #2515
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by rworkman View Post
We didn't merge my patch to check for adequate swap space before hibernate, because upower already does that
Is the check really needed?

Some time ago (I'm on Slackware 14.2) I removed this check from upower with the following patch:
Code:
--- src/up-daemon.c.orig	2013-10-18 16:41:24.000000000 +0200
+++ src/up-daemon.c	2016-12-25 19:10:03.929000687 +0100
@@ -623,13 +623,9 @@
 
 	if (daemon->priv->kernel_can_hibernate) {
 		waterline = up_backend_get_used_swap (daemon->priv->backend);
-		if (waterline < UP_DAEMON_SWAP_WATERLINE) {
-			g_debug ("enough swap to for hibernate");
-			return TRUE;
-		} else {
-			g_debug ("not enough swap to hibernate");
-			return FALSE;
-		}
+		(void) waterline;
+
+		return TRUE;
 	}
 
 	return FALSE;
I then activate/deactivate the swap by means of pm-utils hook:
Code:
$ cat /etc/pm/sleep.d/01swap 
#!/bin/sh

if   [ "$1" = hibernate -o "$1" = suspend ]; then
  swapon -v $(blkid -t TYPE=swap -o device)
elif [ "$1" = thaw      -o "$1" = resume  ]; then
  swapoff -v -a
fi
My objective is to have the swap disabled during normal system operation and use it only for hibernation.


But my point here is actually something different.
The kernel itself checks if the swap is available and refuses to hibernate if it isn't.
So in my opinion the upower check is redundant.

I tested it:
Code:
$ echo -n disk > /sys/power/state
-su: echo: write error: No such device
Code:
$ dmesg
[..]
[17265.721232] PM: thaw of devices complete after 88.795 msecs
[17265.721430] PM: Cannot find swap device, try swapon -a.
[17265.721431] PM: Cannot get swap writer
[..]
--
Best regards,
Andrzej Telszewski
 
Old 07-02-2017, 03:27 PM   #2516
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
The point of the check in upower/CK2 is this: rather than allow the option to hibernate, which then fails, don't show the option at all if it can't succeed.
 
1 members found this post helpful.
Old 07-02-2017, 04:06 PM   #2517
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by rworkman View Post
The point of the check in upower/CK2 is this: rather than allow the option to hibernate, which then fails, don't show the option at all if it can't succeed.
Yes, that's correct.
(Although I have re-implemented xfce4-session-logout for my use case too ;-)).

--
Best regards,
Andrzej Telszewski
 
Old 07-03-2017, 12:16 AM   #2518
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
GNU grep 3.1

In the NEWS:
Code:
GNU grep NEWS                                    -*- outline -*-

* Noteworthy changes in release 3.1 (2017-07-02) [stable]

** Improvements

  grep '[0-9]' is now just as fast as grep '[[:digit:]]' when run
  in a multi-byte locale.  Before, it was several times slower.

** Changes in behavior

  Context no longer excludes selected lines omitted because of -m.
  For example, 'grep "^" -m1 -A1' now outputs the first two input
  lines, not just the first line.  This fixes a glitch that has been
  present since -m was added in grep 2.5.

  The following changes affect only MS-Windows platforms.  First, the
  --binary (-U) option now governs whether binary I/O is used, instead
  of a heuristic that was sometimes incorrect.  Second, the
  --unix-byte-offsets (-u) option now has no effect on MS-Windows too.
Reminder: -m and -A are GNU extensions.

Oh and I am not sure about the improvement, as in UTF-8 the digits 0-9 are coded with one byte anyway. Maybe for UCS-2 or UTF-16 or UTF-32? But the former is deprecated, and who uses the other ones?

Yes, Big5 encodes 0-8 with double byte encoding still widely in use. Honestly I didn't check how the digits 0-9 are encoded in the many other encodings used in East Asia.

Download links:
ftp://ftp.gnu.org/gnu/grep/grep-3.1.tar.xz
ftp://ftp.gnu.org/gnu/grep/grep-3.1.tar.xz.sig

Last edited by Didier Spaier; 07-03-2017 at 01:33 AM. Reason: Title modified, URL added.
 
2 members found this post helpful.
Old 07-03-2017, 02:01 AM   #2519
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 360

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by Didier Spaier View Post
Code:
  grep '[0-9]' is now just as fast as grep '[[:digit:]]' when run
  in a multi-byte locale.  Before, it was several times slower.
Oh and I am not sure about the improvement, as in UTF-8 the digits 0-9 are coded with one byte anyway. Maybe for UCS-2 or UTF-16 or UTF-32? But the former is deprecated, and who uses the other ones?
I read it differently: if the locale being used is multi-byte (e.g. LANG=fr_FR.utf8), then [0-9] is as fast as [[:digit:]], regardless of text encoding.
 
Old 07-03-2017, 02:21 AM   #2520
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by audriusk View Post
I read it differently: if the locale being used is multi-byte (e.g. LANG=fr_FR.utf8), then [0-9] is as fast as [[:digit:]], regardless of text encoding.
I am not sure that the word locale be properly used in the README. I see nothing in the POSIX specification that defines a multi-byte locale.

Does the quoted sentence means that e.g. with LANG set to fr_FR.utf8 instead of fr_FR writing [0-9] was slower than writing [[:digit:]] before this release? Maybe. I didn't check. What puzzles me is that the digits 0-9 are coded with one byte in both cases (which is true for the whole ASCII character set).

Last edited by Didier Spaier; 07-03-2017 at 02:39 AM.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration