Skip to content

Commit

Permalink
oops forgot the build script, ..cleaned docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ncmprhnsbl committed Nov 19, 2017
1 parent a09856b commit 0c5f385
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 83 deletions.
10 changes: 1 addition & 9 deletions DOC/ToDo
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@

update/correct docs
identify/supply missing packages ..done
check configs match ..eh?
make it work ..done
include 32bit ..done
update/correct docs
rebuild from/include sources ..closer
make like https://github.com/brokenman/xfce.git..closer


work out what todo next ..
2 changes: 2 additions & 0 deletions DOC/instructions.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
NOTE: this document needs work :p

## IMPORTANT ##
Keep the directory structure exactly as it is. The scripts rely on this.
They will create a 'build' directory and an 'export' directory as needed.
Expand Down
74 changes: 0 additions & 74 deletions DOC/old-instructions

This file was deleted.

44 changes: 44 additions & 0 deletions openbox-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/bin/bash

## Build xfce desktop.
## This script must be run from the root of the openbox dev folder
## The following folders should exist

## Enter the name of the folder that holds your openbox dev file
basef=`pwd`

## github
## |
## ---- DOC PKG32 PKG64 SRC TREE
##
## export64/32
## build

ARCH=`uname -m`

if [ "$ARCH" != "x86_64" ]; then
ARCH=i486
SUFFIX=32
else
SUFFIX=64
fi

[ ! -d $basef/PKG${SUFFIX} ] && { echo "Run this script from root of openbox dev folder"; exit; }

echo "Cleaning old build files"
[ ! -d build ] && mkdir build || rm -rf build/*

for a in `find $basef/PKG${SUFFIX} -type f | egrep "*.tgz|*.txz"`; do
installpkg --terse -root build $a
done

for a in `find $basef/PKG${SUFFIX} -name "*.xzm"`; do
xzm2dir $a build
done

cp -a $basef/TREE/* build
cd build
./launch_before_go_openbox.sh
rm launch_before_go_openbox.sh
cd -
#dir2xzm build 003-openbox${SUFFIX}.xzm

0 comments on commit 0c5f385

Please sign in to comment.