[Slackbuilds-users] Updated SlackBuild for synaptics for latest -current

Eric Hameleers e.hameleers at chello.nl
Sun Mar 18 21:11:43 UTC 2007

Yalla-One wrote:
> Hi all,
> The SlackBuild for synaptics breaks in two places with modular X and the new 
> gcc. Here's an updated version of the script that checks /etc/X11/xorg.conf 
> for the correct Module path and then attempts to install the synaptics module 
> there:

Hi Yalla-one

Something I posted to the admin list earlier today might be of
interest to early adopters as well.
I suggested to add the following code snippets to the
template.SlackBuild or to add them to the SBo documentation section.

With the new slackware-current we have modular X and KDE is no longer
in /opt/kde . The SlackBuilds we have on SBo target the 11.0 release
of course, but we may add some convenience checks to the template so
that it works for -current too, out of the box.

Two checks have to be made - determine the install prefix of X.Org,
and determine the install prefix of KDE.
# Determine what X we're running (the modular X returns the prefix
# in the next command, while older versions stay silent):
XPREF=`pkg-config --variable=prefix x11` || true
[ "$XPREF" == "" ] && XPREF='/usr/X11R6'

# Also determine the KDE installation prefix, :
KDEPREF=`kde-config --prefix` || true

... and then use these $XPREF and $KDEPREF values where you need the
installation prefixes in your script.

Cheers, Eric

Eric Hameleers                     >')
ICQ: 151799386                     ( \
Jabber: alien at jabber.xs4all.nl      ^^`

More information about the Slackbuilds-users mailing list