LinuxQuestions.org
Review your favorite Linux distribution.
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 02-28-2008, 03:22 PM   #1
ludist
Member
 
Registered: Nov 2005
Location: Greece
Distribution: Slackware
Posts: 129

Rep: Reputation: 16
Slack for Studio. Hexter: not gui, only engine


Hello, I am trying to add the 4 "s" in Slack (Simple, Stable, Secure, ... Studio)

I have mainly good experiences but I have this great plugin (hexter) that does not work with gui.

This is my SlackBuild

Code:
#!/bin/sh

# Exit on most errors
set -e

PRGNAM=hexter
VERSION=0.6.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}    
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}  # Drop the package in /tmp

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "Piii" ]; then
  SLKCFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
fi

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .

# Determine what version of X we're running (the modular X.Org of
# Slackware > 11.0 returns the value of the installation prefix in
# the next command, while older versions of X stay silent).
# You may need this when you use programs in your doinst.sh script
# from X's 'bin' directory (mkfontdir, xset for instance).
XPREF=`pkg-config --variable=prefix x11` || true
[ "$XPREF" == "" ] && XPREF='/usr/X11R6'

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

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --with-gtk-prefix=/usr/lib/gtk-2.0 \
  --with-gnu-ld

make
make install DESTDIR=$PKG

( cd $PKG
  find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
  find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)

# Remove perllocal.pod and other special files that don't need to be installed,
( cd $PKG
  # Remove 'special' files
  find . -name perllocal.pod \
    -o -name ".packlist" \
    -o -name "*.bs" \
    | xargs rm -f
)

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION/
cp -a AUTHORS COPYING ChangeLog INSTALL TODO README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

# Make the package; be sure to leave it in $OUTPUT
# If package symlinks need to be created during install *before*
# your custom contents of doinst.sh runs, then add the -p switch to
# the makepkg command below -- see makepkg(8) for details
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
Anyone that managed to work with hexter and Slackware?

Hexter is here
 
Old 02-28-2008, 03:43 PM   #2
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
Frequently Asked Questions
==========================
Q. The plugin seems to work fine, but the GUI never appears. Why?

A. Make sure the hostname of your machine is resolvable (if not, the
OSC messages can't be sent between host and GUI). If your machine's
hostname is 'foo.bar.net', make sure you either have an entry for
'foo.bar.net' in /etc/hosts, or that your DNS server can resolve it.
Test this with e.g. 'ping foo.bar.net'. To test that the GUI itself
works, you can start it by itself (without a DSSI host) by giving it
the '-test' option, for example:

$ <prefix>/lib/dssi/hexter/hexter_gtk -test


hopefully this will help..
 
Old 02-28-2008, 04:08 PM   #3
ludist
Member
 
Registered: Nov 2005
Location: Greece
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 16
Shame on me, just saw it and went here to write: False alarm.

Thank you!
 
  


Reply

Tags
gui, slackware12


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
besides xine engine, what else engine can be used in kaffeine? bravehao Linux - Newbie 1 06-04-2005 08:34 AM
slack 10 no gui master Slackware 21 11-16-2004 02:58 PM
Default GUI Slack 10 ionmich Slackware 7 11-06-2004 07:20 AM
slack boot and GUI................... Phantom Rayne Slackware 36 03-27-2003 10:41 PM
Cant get GUI to work on slack Chijtska Linux - Newbie 3 02-10-2002 01:18 AM


All times are GMT -5. The time now is 01:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration