LinuxQuestions.org
Visit Jeremy's Blog.
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


Reply
  Search this Thread
Old 12-02-2021, 10:20 AM   #1
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Rep: Reputation: 205Reputation: 205Reputation: 205
Anyone using seatd? having problem with service start


https://github.com/kennylevinsen/seatd
the package version 0.6.3 build fine but i cant start the service. i did a rc.seatd service but it doesnt work as it should. Sway and river that use wlroots needs seatd.

this slackbuild is not mine its biker-rat īs slackbuild i only changed version and some meson options.



Code:
#!/bin/sh
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020  Eric Hameleers, Eindhoven, Netherlands
# Copyright 2021  Paul Litwack <paullitwack@gmail.com>
# All rights reserved.
#
#   Permission to use, copy, modify, and distribute this software for
#   any purpose with or without fee is hereby granted, provided that
#   the above copyright notice and this permission notice appear in all
#   copies.
#
#   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
#   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
#   IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
#   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
#   USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
#   ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
#   OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
#   OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
#   SUCH DAMAGE.
# -----------------------------------------------------------------------------

PRGNAM=libseat
VERSION=${VERSION:-0.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_pjl}

NUMJOBS=${NUMJOBS:-" -j$(nproc) "}

# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
  case "$(uname -m)" in
    i?86) ARCH=i586 ;;
    arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
    *) ARCH=$(uname -m) ;;
  esac
  export ARCH
fi

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
  SLKLDFLAGS=""
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  SLKLDFLAGS=""
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
  SLKCFLAGS="-O2"
  SLKLDFLAGS=""
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  SLKLDFLAGS="-L/usr/lib64"
  LIBDIRSUFFIX="64"
elif [ "$ARCH" = "armv7hl" ]; then
  SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
  SLKLDFLAGS=""
  LIBDIRSUFFIX=""
else
  SLKCFLAGS="-O2"
  SLKLDFLAGS=""
  LIBDIRSUFFIX=""
fi

case "$ARCH" in
    arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
    *)    TARGET=$ARCH-slackware-linux ;;
esac

CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/pkg-$PRGNAM

rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1
cd $PRGNAM-$VERSION || exit 1

# Make sure ownerships and permissions are sane:
chown -R root:root .
find . \
  \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
  -exec chmod 755 {} \; -o \
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;

# Configure:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="$SLKLDFLAGS" \
meson  build --prefix=/usr \
     	    -Dlibseat-logind=disabled \
            -Dlibseat-seatd=enabled \
            -Dlibseat-builtin=enabled \
            

# Build and install:
ninja -C build 
DESTDIR=$PKG ninja install -C build 


# Strip binaries:
find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then
  ( cd $PKG/usr/man
    for manpagedir in $(find . -type d -name "man*") ; do
      ( cd $manpagedir
        for eachpage in $( find . -type l -maxdepth 1) ; do
          ln -s $( readlink $eachpage ).gz $eachpage.gz
          rm $eachpage
        done
        gzip -9 *.?
      )
    done
  )
fi

# Compress info files, if any:
if [ -d $PKG/usr/info ]; then
  ( cd $PKG/usr/info
    rm -f dir
    gzip -9 *
  )
fi

# Add a documentation directory:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
  <documentation_please_change> \
  $PKG/usr/doc/$PRGNAM-$VERSION

# Add a package description and the post-install script if it exists:
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
[ -f $CWD/doinst.sh ] && cat $CWD/doinst.sh > $PKG/install/doinst.sh

# Build package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz

Last edited by adcdam; 12-02-2021 at 02:05 PM.
 
Old 12-02-2021, 10:33 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,529

Rep: Reputation: 3364Reputation: 3364Reputation: 3364Reputation: 3364Reputation: 3364Reputation: 3364Reputation: 3364Reputation: 3364Reputation: 3364Reputation: 3364Reputation: 3364
Quote:
Why does libseat support (e)logind?

In order to not be part of the problem. We will not displace systemd-logind anytime soon, so for user shells like sway, seatd joins the ranks of logind and direct session management for things they need to support.
Or the elogind, if that's matters. At least according with what says https://github.com/kennylevinsen/seatd

BUT, you did like a Hero:
Code:
-Dlibseat-logind=disabled \
So, YOU WANT to replace elogind with seatd, contrary to what those guys thinks about their own software?

Last edited by LuckyCyborg; 12-02-2021 at 10:36 AM.
 
1 members found this post helpful.
Old 12-02-2021, 10:35 AM   #3
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Luckycyborg: can you please stop answering my post?
i tested with and without elogind support.
Neither wlroots nor seatd need elogind to work.
Please stop, you are just an idiot.
Do you see me putting smiling faces when you say stupid things on this forum? no? then do the same. I dont care about you. if you have inferiority complex, just go to a psychologist you need treatment asap and be happy!
I still remember the day when you said that mplayer and kde were more important than the core system of Slackware. That day you made yourself a clown.
Perhaps your small mind thinks that by answering in a "i know everything " or rude and sarcasm way you ll get recognition but no, people that read you in reality are going only to think that you are just a jerk.
You can be nice and gentle with other people and be a better person than you are now.
Also you are not doing this forum any good, on the contrary im sure some people dont post here because of answers like yours.
Thanks!

Last edited by adcdam; 12-02-2021 at 11:59 PM.
 
2 members found this post helpful.
Old 12-02-2021, 10:39 AM   #4
biker_rat
Member
 
Registered: Feb 2010
Posts: 370

Rep: Reputation: 220Reputation: 220Reputation: 220
My slackbuild only builds the lib and not the service, which is all that is required to meet the wlroots dependency requirement, which is what it is for.
 
Old 12-03-2021, 07:25 AM   #5
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Thanks Biker-rat, im having problems with starting sway and River now, but i want to see what the problem is.
so my last option was to test seatd not just the library but the seatd daemon. Im failing at doing the start/stop service.
i did for me some updates of Slackware package, im using mesa 21.3, vulkan 1.2.182, xorg-server 21.1.1, i made a River slackbuild that was working fine until some days i ago, i also tested sway with Vulkan support using the git sources . And also made Slackbuilds for gaming, steamtinkerlaunch, dosbox-staging, vkbasalt, gamescope, protontricks, among others.
best regards.
 
Old 12-03-2021, 09:58 PM   #6
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,025

Rep: Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214
Quote:
Originally Posted by adcdam View Post
Luckycyborg: can you please stop answering my post?
i tested with and without elogind support.
Neither wlroots nor seatd need elogind to work.
Please stop, you are just an idiot.
Do you see me putting smiling faces when you say stupid things on this forum? no? then do the same. I dont care about you. if you have inferiority complex, just go to a psychologist you need treatment asap and be happy!
I still remember the day when you said that mplayer and kde were more important than the core system of Slackware. That day you made yourself a clown.
Perhaps your small mind thinks that by answering in a "i know everything " or rude and sarcasm way you ll get recognition but no, people that read you in reality are going only to think that you are just a jerk.
You can be nice and gentle with other people and be a better person than you are now.
Also you are not doing this forum any good, on the contrary im sure some people dont post here because of answers like yours.
Thanks!
Probably I haven't bothered to comment your rant if two other forums members would have not appreciated your trash talked to LuckyCyborg...

So, you think that LuckyCyborg are not doing any good for this forum?

For someone like you, who contributed nothing to Slackware or its community, you do not think that your stack is quite high?

LuckyCyborg is present for 17 times on ChangeLog until now, and he was behind many other fixes made on Slackware, mentioned or not in ChangeLog. Also, he was the first who managed to properly integrate elogind in Slackware while KTown era, then contributed at making to work Plasma5 on Wayland, also he's the one who imagined that setup which permit us to handle conveniently the PipeWire daemons, and many other fixes. And sometimes he helped other users.

Honestly, I think that he already did much more for this community than me personally.

But what you did you for this community until now? Nothing. Absolutely nothing.

It's sad that people like you, who contributed nothing useful to community, dares to insult someone who did this. And you even find pals to appreciate this.

You non-Sir, you are not doing this forum any good, as you contributed nothing to this community. And you dare to lament about others rudeness and sarcasm while posting trash like this. How I can describe your post other than unrequited rudeness and sarcasm?

Anyway, from what I know, calling someone "idiot", "clown" and inviting him at psychologist, are against the Rules of LQ. We'll see how will appreciate your post the moderators, as I noticed that even the LQ Root checks this forum regularly.

Last edited by ZhaoLin1457; 12-03-2021 at 10:28 PM.
 
Old 12-03-2021, 10:50 PM   #7
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Why always when Luckycyborg is mention you always appear? are you his saviour? his pet? are you both the same person? if not, i dont care about you too.

both write in the same way, both writing in red using the same type of words and icons.
please for you too dont pollute this post.
you mention moderators? if there are good moderators Luckycyborg should be banned at least for a few days because of his shit answers.
Thanks!!!

Last edited by adcdam; 12-03-2021 at 10:56 PM.
 
Old 12-03-2021, 10:58 PM   #8
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,025

Rep: Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214
I am not sure if the ironical posts are against the Rules, but the insults certainly are.

What's next? To blame me that I'm @h2-1 because I dared to argue with the gone nuts @igadoter?

Anyway, I ask you only one thing: be polite.

You aren't entitled to call someone else idiot or clown or pet or that he needs medical help, in this forum. Nobody is entitled, according with the Rules and the common sense.

Last edited by ZhaoLin1457; 12-03-2021 at 11:18 PM.
 
Old 12-03-2021, 11:24 PM   #9
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by ZhaoLin1457 View Post

Anyway, I ask you only one thing: be polite.
if you want people to be polite with both you and LuckyCyborg just tell him to stop answering questions with sarcasm, irony, and satire.
Also as i said before you can use sway without elogind if you want. And no , im not against elogind, in fact i use it.
The best thing would be that we just ignore each other and that we dont talk again ever. In that way we are not going to bother people that read this forum with our discussion that no one care. They should be reading more interesting posts.

Last edited by adcdam; 12-04-2021 at 12:11 AM.
 
  


Reply



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
systemctl status postgresql-tst.service starts the service if service is stopped MarianForums Linux - Newbie 7 11-03-2018 03:02 PM
Problem with MySQL install on virt CentOS,no /var/lib/mysql/mysql.sock , systemctl start mysqld.service dont run the service Positive1 CentOS 1 08-13-2016 03:33 AM
puppet needs to stop a service, do something, then start the service edwardcode Programming 1 12-03-2012 01:58 PM
why my ntop can't start using service ntop start command cmx08 Linux - Software 5 10-21-2008 10:52 PM
Anyone else having Ubuntu 8.04 upgrade errors, anyone? greatquizzard Ubuntu 27 05-06-2008 04:35 AM

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

All times are GMT -5. The time now is 11:32 PM.

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