LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-10-2009, 08:52 AM   #1
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
FVWM-Crystal Slackbuild???


Does anyone know where I can find a slackbuild for FVWM-Crystal? I've tried installing it by hand it but its just too time consuming. I'm constantly rebuilding my old laptop and I'd love to have a tgz or a slackbuild for it.

Last edited by tekhead2; 06-10-2009 at 08:58 AM.
 
Old 06-10-2009, 09:07 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
This may be it, but not tested by me.
( http://github.com/PhantomX/slackbuil...r/fvwm-crystal )
seems like the download is quacky though...
you also could try using src2pkg (source2package ) to install it too
( http://distro.ibiblio.org/pub/linux/...html/intro.htm )

( http://distro.ibiblio.org/pub/linux/...nload/src2pkg/ )
 
Old 06-10-2009, 09:41 AM   #3
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Original Poster
Rep: Reputation: 52
Yeah I tried the first and it's not very good. I'll try the second one. Thanks for the reply.
 
Old 06-10-2009, 02:34 PM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Here's a src2pkg script to build that with(name it 'fvwm-crstyal.src2pkg':

Code:
#!/bin/bash
## src2pkg script for: 	fvwm-crystal
## Auto-generated by src2pkg-1.9.9
## src2pkg - Copyright 2005-2009 Gilbert Ashley <amigo@ibilio.org>

SOURCE_URL='http://download.gna.org/fvwm-crystal/3.0.6/fvwm-crystal-3.0.6.tar.gz'
SOURCE_NAME='fvwm-crystal-3.0.6.tar.gz'
NAME='fvwm-crystal'   # Use ALT_NAME to override guessed value
VERSION='3.0.6'   # Use ALT_VERSION to override guessed value
# ARCH=''
BUILD='1'
PRE_FIX='usr'
# Any extra options go here:
# EXTRA_CONFIGS=""
DOCLIST='AUTHORS COPYING ChangeLog README NEWS addons'

# Get the functions and configs
. /usr/libexec/src2pkg/FUNCTIONS ;

# Execute the named packaging steps:
pre_process
find_source
make_dirs
unpack_source

echo -n $BLUE"Removing .svn cruft - "$NORMAL
(cd $SRC_DIR ; find "." -type d -name ".svn" -exec rm -rf "{}" \; 2> /dev/null )
(cd $SRC_DIR ; find "." -type f -name ".svn" -exec rm -f "{}" \; 2> /dev/null )

echo $GREEN"Done"$NORMAL
fix_source_perms

(cd $SRC_DIR
sed -i -e 's|$HOME/|${HOME}/.|g;
           s|`dirname ${0}`/..|/usr|g' \
          bin/${NAME} || exit 1

sed -i -e '/FVWM_DISTROMENUNAME/s|debian|slackware|g' \
          fvwm/config || exit 1
	  
sed -i -e '/^Terminal=/s|False|false|g' \
	  -e 's,Encoding=UTF-8,,' \
	  -e 's,Window Manager,X-Window-Manager,' \
          addons/${NAME}.desktop || exit 1

sed -i -e 's|pidof|/sbin/pidof|g' \
          fvwm/preferences/Startup \
          fvwm/components/apps/{Nautilus,XScreenSaver} \
          fvwm/components/functions/{Exit,Music-xmms,Exit-Safe} || exit 1
)

configure_source
compile_source
fake_install

(cd $SRC_DIR
mkdir -p ${PKG_DIR}/usr/share/xsessions
install -m0644 addons/${NAME}.desktop \
               ${PKG_DIR}/usr/share/xsessions/${NAME}.desktop || exit 1

mkdir -p ${PKG_DIR}/usr/share/vim/vim71
install -m0644 addons/fvwm.vim \
               ${PKG_DIR}/usr/share/vim/vim71/fvwm.vim || exit 1
)

fix_pkg_perms
strip_bins
create_docs
compress_man_pages
make_description
make_doinst
make_package
post_process
You'll also need this xintrc file:
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

# redirect errors to a file in user's home directory if we can
errfile="$HOME/.xsession-errors"
if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
then
  exec > "$errfile" 2>&1
else

  mktemp=/usr/bin/mktemp
  for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
  do
    if ef="$( umask 077 && $mktemp "$errfile.XXXXXX" 2> /dev/null)"
    then
      exec > "$ef" 2>&1
      mv "$ef" "$errfile" 2> /dev/null
      break
    fi
  done
fi

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# run all system xinitrc shell scripts.
for file in /etc/X11/xinit/xinitrc.d/* ; do
	[ -x $file ] && source $file
done

# start some nice programs

exec /usr/bin/fvwm-crystal
Name it 'xinitrc.fvwm-crystal' and place it alongside the sources and the fvwm-crystal.src2pkg script.
 
Old 06-10-2009, 02:56 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Yep, src2pkg, thanks Gnash!
I'm gonna install it too.
 
Old 07-10-2009, 05:45 AM   #6
diwljina
Member
 
Registered: Jun 2009
Distribution: Slackware, Debian
Posts: 111

Rep: Reputation: 8
Thanks Gnash, I was looking for this one too!

Last edited by diwljina; 07-10-2009 at 05:48 AM.
 
Old 04-22-2010, 08:29 AM   #7
micemicerabies
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Rep: Reputation: Disabled
this may be too old, but I just tried these scripts with Slackware 13, the issue im having is this output. Im new to slackware and not sure what the proper fix would be.

Code:
Checking for misplaced dirs -
   Notice - Package contains /usr/local directory, but PRE_FIX is: /usr
   You may need to patch the Makefile(s) to correct the installation prefix.
   FATAL! This build installs faulty directories or files.
   You must fix the build as suggested above, or override this action with:
   FAIL_ON_BAD_DIRS=NO from the command-line or in your src2pkg.conf file.
Thanks for any help in advance!
 
Old 04-23-2010, 12:25 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Have you cahnged some settings in the src2pkg.conf file? I just tried this build again and it worked flawlessly here.
 
Old 04-23-2010, 08:53 AM   #9
micemicerabies
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Rep: Reputation: Disabled
I haven't altered src2pkg.conf at all
all 3 files are in the directory /home/chloride/FVWMcrystal and this is where i am running the .src2pkg file from.
Is it possible that I need to place that /FVWMcrystal somewhere else?

-I just tested this same setup on my laptop with freshly installed Slackware 13 again the same issue comes up.

Last edited by micemicerabies; 04-23-2010 at 01:50 PM. Reason: tested on fresh install
 
  


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
fvwm & fvwm-crystal? festhead Linux - Desktop 1 09-23-2007 09:49 AM
help installing FVWM-Crystal stedwick Slackware 7 02-18-2007 02:52 PM
transparency not correct with fvwm + fvwm-crystal + radeon hedpe Linux - Desktop 0 01-30-2007 07:59 PM
clock not working in fvwm with fvwm-crystal hedpe Linux - Software 0 09-13-2005 08:04 PM
2 fvwm processes with 2 displays, only want one fvwm enzo250gto Linux - Software 0 01-27-2005 04:50 PM

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

All times are GMT -5. The time now is 03:23 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