DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd November 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Post HOWTO: Fluxbox from GIT

This script will rebuild your Fluxbox to newest version from GIT repository:

Code:
#! /bin/sh

# if you use WRKDIRPREFIX in /etc/make.conf
# then modify these to your settings
PORTSDIR=/usr/ports
WRKDIRPREFIX=${PORTSDIR}/obj

cd /tmp
git clone git://git.fluxbox.org/fluxbox.git \
 || ( echo "\ninstall /usr/ports/devel/git port\n" && exit )
cd fluxbox && ./autogen.sh
cd /usr/ports/x11-wm/fluxbox
make depends
make extract
if [ -z ${WRKDIRPREFIX} ]; then
  SOURCEDIR=$( ls /usr/ports/x11-wm/fluxbox/work )
  rm -rf /usr/ports/x11-wm/fluxbox/work/${SOURCEDIR}
  mv /tmp/fluxbox /usr/ports/x11-wm/fluxbox/work/${SOURCEDIR} \
  || ( echo "\ncheck WRKDIRPREFIX\n" && exit )
else
  SOURCEDIR=$( ls ${WRKDIRPREFIX}/usr/ports/x11-wm/fluxbox/work )
  rm -rf ${WRKDIRPREFIX}/usr/ports/x11-wm/fluxbox/work/${SOURCEDIR}
  mv /tmp/fluxbox ${WRKDIRPREFIX}/usr/ports/x11-wm/fluxbox/work/${SOURCEDIR} \
  || ( echo "\ncheck WRKDIRPREFIX\n" && exit )
fi
make build deinstall install clean
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #2   (View Single Post)  
Old 2nd November 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 652
Default

Is there anything new enough to make it worthwhile?

Thanks.

(Hopefully, that didn't come out sarcastically.)

(Goes to fluxbox site to see)
Reply With Quote
  #3   (View Single Post)  
Old 2nd November 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I added a tag to the topic, this is FreeBSD specific.
Reply With Quote
  #4   (View Single Post)  
Old 2nd November 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by scottro View Post
Is there anything new enough to make it worthwhile?

Thanks.

(Hopefully, that didn't come out sarcastically.)

(Goes to fluxbox site to see)
Its the same script/howto that was on bsdforums.org as they are dead now I added it here, no new changes since last changes at bsdforums.org
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #5   (View Single Post)  
Old 2nd November 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

I think Scott means if there is anything new/worthwhile in the git repo.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #6   (View Single Post)  
Old 2nd November 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by Carpetsmoker View Post
I think Scott means if there is anything new/worthwhile in the git repo.
If its that way, then currently propably very minor changes, as fluxbox 1.1 is still very fresh release.

Generally current git state does nto have anything with this howto, I am doing little cleaning on my boxes and I found that script so I added a mini howto.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #7   (View Single Post)  
Old 3rd November 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 652
Default

Ah, I see. Thanks for the explanation.
Reply With Quote
Reply

Tags
freebsd

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox don't start Artur FreeBSD General 4 3rd September 2009 01:04 PM
fluxbox crash? HELP bsdnewbie999 OpenBSD General 9 2nd April 2009 04:35 AM
Fluxbox fbsetbg problem rex FreeBSD General 6 12th September 2008 05:18 PM
OpenBSD 4.3, XDM + FluxBox WeakSauceIII General software and network 2 19th May 2008 08:34 PM
gtk themes for fluxbox rex FreeBSD General 0 18th May 2008 03:24 AM


All times are GMT. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick