Einige Fixes mit Parallel build (qt) und unnoetige Kommentare bereinigt

Update fuer den GnomeBase Build



git-svn-id: svn://svn.compuextreme.de/Viitor/V963/ViitorMake@6094 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2011-05-06 04:14:02 +00:00
parent 4252b5e102
commit 47c4a32caa
50 changed files with 727 additions and 198 deletions

View File

@ -66,8 +66,9 @@
0 multimedia/libmikmod
0 tools/libotr
0 security/integrit
32 security/nettle
0 tools/fribidi
0 multimedia/flac
64 multimedia/flac
0 development/libffi
0 tools/ilmbase
0 tools/openexr

View File

@ -12,15 +12,18 @@
0 gnome/gnome-vfs
0 gnome/libgnome
0 gnome/libgnomecanvas
0 gnome/libgnomecanvasmm
#0 gnome/libgnomecanvasmm
0 gnome/libbonoboui
0 gnome/hicolor-icon-theme
0 gnome/gnome-icon-theme
0 gnome/gnome-keyring
0 gnome/libgnome-keyring
0 gnome/libgnomeui
0 gnome/gnome-menus
0 gnome/gtk-engines
0 gnome/gnome-themes
0 gnome/gsettings-desktop-schemas
0 gnome/gnome-desktop
0 gnome/eel
0 gnome/libunique

View File

@ -86,7 +86,6 @@
0 xserv/startup-notification
0 tools/iso-codes
0 tools/nsca
0 network/links
#0 tools/nagios-plugins

View File

@ -66,10 +66,13 @@
0 tools/plib
0 guibased/libxmi
0 security/libtasn1
32 security/gnutls
0 network/glib-networking
0 multimedia/libcanberra
0 multimedia/faac
64 multimedia/faac
0 multimedia/faad2
0 multimedia/ffmpeg
0 multimedia/ffmpegthumbnailer
0 multimedia/xine-lib
32 multimedia/pulseaudio
0 guibased/libiptcdata

View File

@ -87,10 +87,6 @@ mk32() {
CXXFLAGS="$BUILDOPTIONS32" \
LDEMULATION="elf32_i386"
make -j $NUMCPU DESTDIR=$TMPROOT install
#cd ..
#rm -r PyQt-x11-gpl*
#tar -xvf $SOURCE/$SRCPATH/PyQt-x11-gpl*.tar.*
#cd PyQt-x11-gpl*
make clean
}

View File

@ -86,7 +86,8 @@ mk32() {
USE_ARCH=32 \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libexecdir=/opt/gnome/lib/GConf
--libexecdir=/opt/gnome/lib/GConf \
--enable-introspection=no
CheckError "Configurescript failed !" 1
make -j $NUMCPU -k
CheckError "Makeprocess failed !" 1
@ -96,15 +97,12 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--libexecdir=/opt/gnome/$LIBDIR/GConf
CheckError "Configurescript failed !" 1
make -j $NUMCPU -k

View File

@ -93,14 +93,11 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=/opt/gnome/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome \
$ADDOPTIONS \
--libdir=/opt/gnome/${LIBDIR} \
--sysconfdir=/etc/gnome &&
make &&
make DESTDIR=$TMPROOT install

108
SysBuild/gnome/dconf Normal file
View File

@ -0,0 +1,108 @@
#!/bin/bash
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
#dieses Framework wird im CVS Repository
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
#
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V962/ViitorMake/SysBuild/tools/gnome-vfs $
#
#(c) 2003 Harald Kueller, Germany
#This program is free software; you can redistribute it and/or
#modify ist under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version
#2 of the License, or (at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#See the GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not write to the Free Software Foundation,
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#Dies ist ein Module zur Verwendung mit genpkg. Die Erzeugung eines
#Viitor Linux Packetes wird über die Funktionen premk, mk und postmk
#gesteuert. premk() dient zur Vorbereitung des Sourcecodes. Hier können
#diverse Änderungen am sourcecode (mit awk/sed usw.) vorgenommen werden
#mk() umfasst die source Konfiguration und das Übersetzten des source
#codes. Auch die Installation muß von mk erledigt werden. Hier gild dass
#die Installation immer nach $TMPROOT erfolgen soll (meisst kann das mit
#"make DESTDIR=$TMPROOT install" angestossen werden). postmk kann
#vor der packeterstellung noch einiges am installationtree ändern. postmk
#läuft nachdem die Packetabhängigkeiten erstellt wurden.
#Das Verhalten von genpkg kann über die Variable MKPKG gesteuert werden.
#Hier müssen FLAGS zur Steuerung gesetzt werden. Folgende Flags werden
#erkannt:
#
# 1 : Package Erzeugung erzwingen. Packet wird, auch wenn es schon
# vorhanden ist, ohne weitere rückfragen neu Erzeugt.
# 2 : Package Installation erzwingen. Installpkg wird mit -f aufgerufen.
# Das bewirkt, das installpkg keine rückfragen bei der installation
# Stellt, und das packet in jedemfall (neu) installiert.
# 4 : Sourcepacket nicht nach MAKEDIR entpacken. Ist dieses Flag gesetzt
# muss sich das Module selber um das Entpacken der sourcedateien kümmern.
# vor allem wichtig bei Packeten, für die es keine source.tgz gibt
# (z.B. aus dem CVS generierte Packete).
# 8 : Erstellung des Packetes aus $TMPROOT wird unterdrückt. Dies ist bei
# manchen Sonderfällen möglich - wenn sich z.B. der Packetnamen nicht
# aus dem Namen des sourcearchives ableiten lässt. Packet sollte in
# so einem Fall in der postmk() Funktion erstellt werden.
# 16 : Packet wird nicht installiert. Bei Packeten wie tar oder bash kann
# die installation mittelst installpkg probleme machen.
# 32 : Dependics File so erzeugen, das die Abhängigkeiten bei der installation
# erfüllt sein müssen. installpkg bricht in so einem fall bei fehlenden
# packeten die installation ab, und gibt nicht "nur" warnmeldungen aus.
# Wichtig bei packeten mit postinstallroutine, die software aus dem
# frisch installierten Packet verwendet (wie z.B. postgresql)
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
#
#Module zur Erstellung des Packetes: dconf
#Quelle der Source Archive: ftp://ftp.gnome.org/pub/gnome/sources
#Kurzbeschreibung:
#gnome tool
#
#Letzte Änderung von: $Author: kueller $
#Datum der letzten Änderung: $Date: 2008-05-02 15:13:24 +0200 (Fr, 02 Mai 2008) $
#Version der Datei: $Rev: 5984 $
#
#
#Pfad zum Basis-Sourcetree :
SRCPATH=WindowManager/Gnome/Prog
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
#SRCDIR=<PFAD>
premk() {
echo "Nothing to do for premk()"
}
mk32() {
CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libexecdir=/opt/gnome/lib/gvfs \
--with-samba-libs=/opt/samba/lib &&
make -j $NUMCPU &&
make -j $NUMCPU -k DESTDIR=$TMPROOT install
make distclean
}
mk() {
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libexecdir=/opt/gnome/$LIBDIR/gvfs \
--with-samba-libs=/opt/samba/$LIBDIR &&
make -j $NUMCPU &&
make -j $NUMCPU -k DESTDIR=$TMPROOT install
}
postmk() {
echo "Nothing to do for postmk()"
CheckError "postmk() failed !" 1
}

View File

@ -80,15 +80,12 @@ premk() {
}
mk() {
if [ "$MK64BIT" == "true" ];then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
../desktop-file-utils*/configure $ADDOPTIONS \
--prefix=/usr \
--mandir=/usr/share/man &&
../desktop-file-utils*/configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/usr \
--mandir=/usr/share/man &&
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
}

View File

@ -90,13 +90,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ];then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&

View File

@ -100,13 +100,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ];then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&

View File

@ -91,13 +91,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
./configure --target=$TARGET \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome &&
make -j $NUMCPU &&
make -j $NUMCPU install &&

View File

@ -92,14 +92,11 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--libexecdir=/opt/gnome/$LIBDIR/gnome-applets \
--sysconfdir=/etc/gnome \
--localstatedir=/var/lib

View File

@ -86,25 +86,22 @@ mk32() {
--libexecdir=/opt/gnome/lib/gnome-control-center \
--localstatedir=/var/lib \
--sysconfdir=/etc/gnome
make -j $NUMCPU -k
make -j $NUMCPU -k DESTDIR=$TMPROOT install
make -k -j $NUMCPU
make -k -j $NUMCPU DESTDIR=$TMPROOT install
make distclean
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--libexecdir=/opt/gnome/$LIBDIR/gnome-control-center \
--localstatedir=/var/lib \
--sysconfdir=/etc/gnome
make -j $NUMCPU -k
make -j $NUMCPU -k DESTDIR=$TMPROOT install
make -k -j $NUMCPUe
make -k -j $NUMCPU DESTDIR=$TMPROOT install
}
postmk() {

View File

@ -84,25 +84,24 @@ mk32() {
USE_ARCH=32 \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--enable-introspection=no \
--localstatedir=/var/lib
make -j $NUMCPU
make -j -k $NUMCPU DESTDIR=$TMPROOT install
make -j $NUMCPU DESTDIR=$TMPROOT install
CheckError "Make install process failed !" 1
make distclean
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--enable-introspection=no \
--localstatedir=/var/lig
make -j $NUMCPU
make -j -k $NUMCPU DESTDIR=$TMPROOT install
make -j $NUMCPU DESTDIR=$TMPROOT install
CheckError "Make install process failed !" 1
}

View File

@ -86,9 +86,9 @@ mk32() {
../gnome-doc-utils*/configure --prefix=/usr \
--libdir=/usr/lib \
--mandir=/usr/share/man &&
make -j $NUMCPU
make -j $NUMCPU install
make -j $NUMCPU DESTDIR=$TMPROOT install
make -k -j $NUMCPU
make -k -j $NUMCPU install
make -k -j $NUMCPU DESTDIR=$TMPROOT install
cd ../gnome-doc-utils*
rm -r ../build-gnome
mkdir ../build-gnome
@ -103,18 +103,15 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ];then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
../gnome-doc-utils*/configure $ADDOPTIONS \
../gnome-doc-utils*/configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/usr \
--mandir=/usr/share/man &&
make -j $NUMCPU
make -j $NUMCPU install
make -j $NUMCPU DESTDIR=$TMPROOT install
make -k -j $NUMCPU
make -k -j $NUMCPU install
make -k -j $NUMCPU DESTDIR=$TMPROOT install
if [ ! -d $TMPROOT/usr/$LIBDIR/pkgconfig ]; then
mkdir -p $TMPROOT/usr/$LIBDIR/pkgconfig
fi

View File

@ -92,15 +92,12 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--libexecdir=/opt/gnome/$LIBDIR/gnome-keyring \
--with-pam-dir=/$LIBDIR/security &&
make -j $NUMCPU &&

View File

@ -84,6 +84,7 @@ mk32() {
USE_ARCH=32 \
./configure --target=$TARGET32 \
--prefix=/opt/gnome \
--enable-introspection=no \
--sysconfdir=/etc/gnome
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
@ -92,15 +93,12 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --target=$TARGET \
--prefix=/opt/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--sysconfdir=/etc/gnome
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install

View File

@ -96,13 +96,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
./configure --target=$TARGET \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install

View File

@ -75,7 +75,6 @@ SRCPATH=WindowManager/Gnome/Lib
premk() {
#mkdir -p $TMPROOT/opt/gnome/share/omf
mkdir ../build-gnomepanel
cd ../build-gnomepanel
}
@ -86,6 +85,7 @@ mk32() {
USE_ARCH=32 \
../gnome-panel*/configure --prefix=/opt/gnome \
--libexecdir=/opt/gnome/lib/gnome-panel \
--enable-introspection=no \
--sysconfdir=/etc/gnome \
--localstatedir=/var/lib &&
make -j $NUMCPU
@ -97,15 +97,13 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
../gnome-panel*/configure --prefix=/opt/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--libexecdir=/opt/gnome/$LIBDIR/gnome-panel \
--enable-introspection=no \
--sysconfdir=/etc/gnome \
--localstatedir=/var/lib &&
make -j $NUMCPU

View File

@ -90,8 +90,8 @@ mk32() {
--sysconfdir=/etc/gnome \
--localstatedir=/var/lib \
--with-dbus-sys=/etc/sysconfig/dbus-1/system.d &&
make -k -j $NUMCPU
make -k DESTDIR=$TMPROOT install
make -j $NUMCPU
make DESTDIR=$TMPROOT install
cd ../gnome-settings-daemon*
rm -r ../build-gnomesettings
mkdir ../build-gnomesettings
@ -99,14 +99,11 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
../gnome-settings-daemon*/configure --prefix=/opt/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--libexecdir=/opt/gnome/$LIBDIR/gnome-settings-daemon \
--sysconfdir=/etc/gnome \
--localstatedir=/var/lib \

View File

@ -79,18 +79,15 @@ premk() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--localstatedir=/var/lib &&
make -j $NUMCPU -k
make -j $NUMCPU -k install
make -j $NUMCPU
make -j $NUMCPU install
make DESTDIR=$TMPROOT install
}

View File

@ -99,13 +99,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libexecdir=/opt/gnome/$LIBDIR/gnome-vfs-2.0 \

View File

@ -0,0 +1,97 @@
#!/bin/bash
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
#dieses Framework wird im CVS Repository
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt
#
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V963/ViitorMake/SysBuild/gnome/gnome-themes $
#
#(c) 2003 Harald Kueller, Germany
#This program is free software; you can redistribute it and/or
#modify ist under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version
#2 of the License, or (at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#See the GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not write to the Free Software Foundation,
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#Dies ist ein Module zur Verwendung mit genpkg. Die Erzeugung eines
#Viitor Linux Packetes wird über die Funktionen premk, mk und postmk
#gesteuert. premk() dient zur Vorbereitung des Sourcecodes. Hier können
#diverse Änderungen am sourcecode (mit awk/sed usw.) vorgenommen werden
#mk() umfasst die source Konfiguration und das Übersetzten des source
#codes. Auch die Installation muß von mk erledigt werden. Hier gild dass
#die Installation immer nach $TMPROOT erfolgen soll (meisst kann das mit
#"make DESTDIR=$TMPROOT install" angestossen werden). postmk kann
#vor der packeterstellung noch einiges am installationtree ändern. postmk
#läuft nachdem die Packetabhängigkeiten erstellt wurden.
#Das Verhalten von genpkg kann über die Variable MKPKG gesteuert werden.
#Hier müssen FLAGS zur Steuerung gesetzt werden. Folgende Flags werden
#erkannt:
#
# 1 : Package Erzeugung erzwingen. Packet wird, auch wenn es schon
# vorhanden ist, ohne weitere rückfragen neu Erzeugt.
# 2 : Package Installation erzwingen. Installpkg wird mit -f aufgerufen.
# Das bewirkt, das installpkg keine rückfragen bei der installation
# Stellt, und das packet in jedemfall (neu) installiert.
# 4 : Sourcepacket nicht nach MAKEDIR entpacken. Ist dieses Flag gesetzt
# muss sich das Module selber um das Entpacken der sourcedateien kümmern.
# vor allem wichtig bei Packeten, für die es keine source.tgz gibt
# (z.B. aus dem CVS generierte Packete).
# 8 : Erstellung des Packetes aus $TMPROOT wird unterdrückt. Dies ist bei
# manchen Sonderfällen möglich - wenn sich z.B. der Packetnamen nicht
# aus dem Namen des sourcearchives ableiten lässt. Packet sollte in
# so einem Fall in der postmk() Funktion erstellt werden.
# 16 : Packet wird nicht installiert. Bei Packeten wie tar oder bash kann
# die installation mittelst installpkg probleme machen.
# 32 : Dependics File so erzeugen, das die Abhängigkeiten bei der installation
# erfüllt sein müssen. installpkg bricht in so einem fall bei fehlenden
# packeten die installation ab, und gibt nicht "nur" warnmeldungen aus.
# Wichtig bei packeten mit postinstallroutine, die software aus dem
# frisch installierten Packet verwendet (wie z.B. postgresql)
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
# kümmern
#Module zur Erstellung des Packetes: gsettings-desktop-schemas
#Quelle der Source Archive: ftp://ftp.gnome.org/pub/gnome/sources/gsettings-desktop-schemas
#Kurzbeschreibung:
#desktop zubehoer fuer gnome
#
#Letzte Änderung von: $Author: kueller $
#Datum der letzten Änderung: $Date: 2009-12-22 18:20:06 +0100 (Di, 22 Dez 2009) $
#Version der Datei: $Rev: 5984 $
#
#
SRCPATH=WindowManager/Gnome/Prog
premk() {
echo "Nothing to do for premk()"
}
mk() {
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
}
postmk() {
if [ ! -d $TMPROOT/opt/gnome/lib ]; then
mkdir -p $TMPROOT/opt/gnome/lib
fi
mv $TMPROOT/opt/gnome/share/pkgconfig $TMPROOT/opt/gnome/lib/
if [ "$MK64BIT" == "true" ]; then
mkdir -p $TMPROOT/opt/gnome/lib64
tar -C $TMPROOT/opt/gnome/lib -cf - pkgconfig|tar -C $TMPROOT/opt/gnome/lib64 -xvf -
fi
}

View File

@ -91,13 +91,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/usr/X11R7 \
--enable-animation &&
make -j $NUMCPU &&

View File

@ -93,12 +93,9 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libexecdir=/opt/gnome/$LIBDIR/gvfs \

View File

@ -91,13 +91,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libexecdir=\${prefix}/$LIBDIR/bonobo &&

View File

@ -90,13 +90,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&

View File

@ -92,15 +92,12 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--localstatedir=/var/lib &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&

View File

@ -3,7 +3,7 @@
#dieses Framework wird im CVS Repository
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
#
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V963/ViitorMake/SysBuild/xsys/libpanelappletmm $
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V963/ViitorMake/SysBuild/gnome/gnome-keyring $
#
#(c) 2003 Harald Kueller, Germany
#This program is free software; you can redistribute it and/or
@ -56,19 +56,19 @@
# frisch installierten Packet verwendet (wie z.B. postgresql)
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
#
#Module zur Erstellung des Packetes: libpanelappletmm
#Module zur Erstellung des Packetes: libgnome-keyring
#Quelle der Source Archive: www.gnome.org
#Kurzbeschreibung:
#Helper Library fuer appletsteuerung
#keyring addon des Gnome2 Desktops
#
#Letzte Änderung von: $Author$
#Datum der letzten Änderung: $Date: 2008-05-02 16:44:59 +0200 (Fr, 02 Mai 2008) $
#Version der Datei: $Rev$
#Letzte Änderung von: $Author: kueller $
#Datum der letzten Änderung: $Date: 2009-12-21 17:48:50 +0100 (Mo, 21 Dez 2009) $
#Version der Datei: $Rev: 5984 $
#
#
#Pfad zum Basis-Sourcetree :
SRCPATH=X11/Gnome
SRCPATH=WindowManager/Gnome/Lib
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
#SRCDIR=<PFAD>
@ -81,28 +81,26 @@ premk() {
mk32() {
CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
LDFLAGS="-L/lib -L/usr/lib -L/usr/X11R7/lib -L/opt/gnome/lib" \
./configure --target=$TARGET32 \
--prefix=/opt/gnome \
--libexecdir=/opt/gnome/sbin
make -j $NUMCPU
make -j $NUMCPU install
USE_ARCH=32 \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libexecdir=/opt/gnome/lib/gnome-keyring \
--with-pam-dir=/lib/security &&
make -j $NUMCPU &&
make DESTDIR=$TMPROOT install
make distclean
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
./configure --target=$TARGET \
--prefix=/opt/gnome \
$ADDOPTIONS \
--libexecdir=/opt/gnome/sbin
make -j $NUMCPU
make -j $NUMCPU install
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libdir=\${prefix}/${LIBDIR} \
--libexecdir=/opt/gnome/$LIBDIR/gnome-keyring \
--with-pam-dir=/$LIBDIR/security &&
make -j $NUMCPU &&
make DESTDIR=$TMPROOT install
}

View File

@ -90,13 +90,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome &&
make -j $NUMCPU &&
make DESTDIR=$TMPROOT install

View File

@ -88,13 +88,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install

View File

@ -83,6 +83,7 @@ mk32() {
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=32 \
./configure --prefix=/opt/gnome \
--enable-introspection=no \
--libexecdir=/opt/gnome/lib/libgnomekbd &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&
@ -91,14 +92,12 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--enable-introspection=no \
--libexecdir=/opt/gnome/$LIBDIR/libgnomekbd &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&

View File

@ -91,15 +91,12 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ];then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--libexecdir=/opt/gnome/$LIBDIR/libgnomeui
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install

View File

@ -84,7 +84,8 @@ mk32() {
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=$UARCH \
../libgweather*/configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome &&
--enable-introspection=no \
--sysconfdir=/etc/gnome &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&
CheckError "Make install process failed !" 1
@ -95,15 +96,13 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
../libgweather*/configure --prefix=/opt/gnome \
$ADDOPTIONS \
--sysconfdir=/etc/gnome &&
--libdir=\${prefix}/${LIBDIR} \
--enable-introspection=no \
--sysconfdir=/etc/gnome &&
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
}

View File

@ -83,6 +83,7 @@ mk32() {
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=32 \
./configure --prefix=/opt/gnome \
--enable-introspection=no \
--disable-ssl
make -j $NUMCPU
make -j $NUMCPU install
@ -91,13 +92,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ];then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--disable-ssl
make -j $NUMCPU

View File

@ -93,14 +93,12 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ];then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--enable-introspection=no \
--libexecdir=/opt/gnome/$LIBDIR/libunique
make -k -j $NUMCPU &&
make -k -j $NUMCPU DESTDIR=$TMPROOT install &&

View File

@ -83,19 +83,16 @@ mk32() {
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libexecdir=/opt/gnome/lib/metacity
make -j $NUMCPU -k
make -j $NUMCPU -k DESTDIR=$TMPROOT install
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
make distclean
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure $ADDOPTIONS \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--libexecdir=/opt/gnome/$LIBDIR/metacity

View File

@ -85,6 +85,7 @@ mk32() {
LDFLAGS="-L/usr/X11R7/lib" \
./configure --prefix=/opt/gnome \
--sysconfdir=/etc/gnome \
--enable-introspection=no \
--libexecdir=/opt/gnome/lib/nautilus &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&
@ -93,15 +94,13 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ];then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --prefix=/opt/gnome \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--sysconfdir=/etc/gnome \
--enable-introspection=no \
--libexecdir=/opt/gnome/$LIBDIR/nautilus &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&

View File

@ -86,8 +86,8 @@ mk32() {
../shared-mime-info*/configure --prefix=/usr \
--libdir=/usr/lib \
--mandir=/usr/share/man &&
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
make
make DESTDIR=$TMPROOT install
cd ../shared-mime-info*
rm -r ../build-gnome
mkdir ../build-gnome
@ -102,17 +102,14 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ];then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
../shared-mime-info*/configure $ADDOPTIONS \
--prefix=/usr \
--mandir=/usr/share/man &&
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
../shared-mime-info*/configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/usr \
--mandir=/usr/share/man &&
make
make DESTDIR=$TMPROOT install
if [ ! -d $TMPROOT/usr/$LIBDIR/pkgconfig ]; then
mkdir -p $TMPROOT/usr/$LIBDIR/pkgconfig
fi

View File

@ -87,13 +87,10 @@ mk32() {
}
mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64"
fi
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
./configure --prefix=/usr \
$ADDOPTIONS \
--libdir=\${prefix}/${LIBDIR} \
--libexecdir=/usr/lib/vte &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install

View File

@ -84,6 +84,7 @@ mk32() {
USE_ARCH=$UARCH \
./configure --build=$TARGET32 \
--prefix=/usr/X11R7 \
--enable-introspection=no \
--enable-xcb \
--enable-glitz &&
make -j $NUMCPU &&

View File

@ -81,7 +81,8 @@ mk32() {
CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=32 \
./configure --prefix=/usr
./configure --prefix=/usr \
--enable-introspection=no
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
make distclean
@ -95,6 +96,7 @@ mk() {
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --libdir=\${prefix}/${LIBDIR} \
--enable-introspection=no \
--prefix=/usr
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install

View File

@ -129,8 +129,8 @@ mk32() {
-confirm-license \
-scripttools \
-opensource
make -j $NUMCPU
make -j $NUMCPU install
make
make install
cd ../qt-*
rm -r ../build-qt
mkdir ../build-qt
@ -195,8 +195,8 @@ mk() {
-release \
-confirm-license \
-opensource &&
make -j $NUMCPU
make -j $NUMCPU install
make
make install
tar -C /opt/qt-4 -cf - .|tar -C $TMPROOT/opt/qt-4 -xvf -
if [ "$MK64BIT" == "true" ]; then
mv -v $TMPROOT/opt/qt-4/bin/qmake{,-64}

View File

@ -0,0 +1,99 @@
#!/bin/bash
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
#dieses Framework wird im CVS Repository
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt
#
#Lage dieser Datei im Archiv: $HeadURL$
#
#(c) 2003 Harald Kueller, Germany
#This program is free software; you can redistribute it and/or
#modify ist under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version
#2 of the License, or (at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#See the GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not write to the Free Software Foundation,
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#Dies ist ein Module zur Verwendung mit genpkg. Die Erzeugung eines
#Viitor Linux Packetes wird über die Funktionen premk, mk und postmk
#gesteuert. premk() dient zur Vorbereitung des Sourcecodes. Hier können
#diverse Änderungen am sourcecode (mit awk/sed usw.) vorgenommen werden
#mk() umfasst die source Konfiguration und das Übersetzten des source
#codes. Auch die Installation muß von mk erledigt werden. Hier gild dass
#die Installation immer nach $TMPROOT erfolgen soll (meisst kann das mit
#"make DESTDIR=$TMPROOT install" angestossen werden). postmk kann
#vor der packeterstellung noch einiges am installationtree ändern. postmk
#läuft nachdem die Packetabhängigkeiten erstellt wurden.
#Das Verhalten von genpkg kann über die Variable MKPKG gesteuert werden.
#Hier müssen FLAGS zur Steuerung gesetzt werden. Folgende Flags werden
#erkannt:
#
# 1 : Package Erzeugung erzwingen. Packet wird, auch wenn es schon
# vorhanden ist, ohne weitere rückfragen neu Erzeugt.
# 2 : Package Installation erzwingen. Installpkg wird mit -f aufgerufen.
# Das bewirkt, das installpkg keine rückfragen bei der installation
# Stellt, und das packet in jedemfall (neu) installiert.
# 4 : Sourcepacket nicht nach MAKEDIR entpacken. Ist dieses Flag gesetzt
# muss sich das Module selber um das Entpacken der sourcedateien kümmern.
# vor allem wichtig bei Packeten, für die es keine source.tgz gibt
# (z.B. aus dem CVS generierte Packete).
# 8 : Erstellung des Packetes aus $TMPROOT wird unterdrückt. Dies ist bei
# manchen Sonderfällen möglich - wenn sich z.B. der Packetnamen nicht
# aus dem Namen des sourcearchives ableiten lässt. Packet sollte in
# so einem Fall in der postmk() Funktion erstellt werden.
# 16 : Packet wird nicht installiert. Bei Packeten wie tar oder bash kann
# die installation mittelst installpkg probleme machen.
# 32 : Dependics File so erzeugen, das die Abhängigkeiten bei der installation
# erfüllt sein müssen. installpkg bricht in so einem fall bei fehlenden
# packeten die installation ab, und gibt nicht "nur" warnmeldungen aus.
# Wichtig bei packeten mit postinstallroutine, die software aus dem
# frisch installierten Packet verwendet (wie z.B. postgresql)
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
# kümmern
#Module zur Erstellung des Packetes: pulseaudio
#Quelle der Source Archive: http://0pointer.de/lennart/projects/pulseaudio
#Kurzbeschreibung:
#POSIX Audio system with network support
#
#Letzte Änderung von: $Author$
#Datum der letzten Änderung: $Date$
#Version der Datei: $Rev$
#
SRCPATH=MultiMedia/Lib
premk() {
echo "Nothing to do for premk()"
}
mk32() {
CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=32 \
./configure --prefix=/usr
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
make distclean
}
mk() {
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/usr
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
}
postmk() {
echo "Nothing to do for postmk()"
}

View File

@ -78,6 +78,7 @@ mk32() {
make CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=32 \
QMAKESPEC=linux-g++-32 \
-j $NUMCPU
make -j $NUMCPU PREFIX=$TMPROOT/usr install
cd ..

View File

@ -0,0 +1,107 @@
#!/bin/bash
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
#dieses Framework wird im CVS Repository
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
#
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V963/ViitorMake/SysBuild/gnome/libsoup $
#
#(c) 2003 Harald Kueller, Germany
#This program is free software; you can redistribute it and/or
#modify ist under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version
#2 of the License, or (at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#See the GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not write to the Free Software Foundation,
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#Dies ist ein Module zur Verwendung mit genpkg. Die Erzeugung eines
#Viitor Linux Packetes wird über die Funktionen premk, mk und postmk
#gesteuert. premk() dient zur Vorbereitung des Sourcecodes. Hier können
#diverse Änderungen am sourcecode (mit awk/sed usw.) vorgenommen werden
#mk() umfasst die source Konfiguration und das Übersetzten des source
#codes. Auch die Installation muß von mk erledigt werden. Hier gild dass
#die Installation immer nach $TMPROOT erfolgen soll (meisst kann das mit
#"make DESTDIR=$TMPROOT install" angestossen werden). postmk kann
#vor der packeterstellung noch einiges am installationtree ändern. postmk
#läuft nachdem die Packetabhängigkeiten erstellt wurden.
#Das Verhalten von genpkg kann über die Variable MKPKG gesteuert werden.
#Hier müssen FLAGS zur Steuerung gesetzt werden. Folgende Flags werden
#erkannt:
#
# 1 : Package Erzeugung erzwingen. Packet wird, auch wenn es schon
# vorhanden ist, ohne weitere rückfragen neu Erzeugt.
# 2 : Package Installation erzwingen. Installpkg wird mit -f aufgerufen.
# Das bewirkt, das installpkg keine rückfragen bei der installation
# Stellt, und das packet in jedemfall (neu) installiert.
# 4 : Sourcepacket nicht nach MAKEDIR entpacken. Ist dieses Flag gesetzt
# muss sich das Module selber um das Entpacken der sourcedateien kümmern.
# vor allem wichtig bei Packeten, für die es keine source.tgz gibt
# (z.B. aus dem CVS generierte Packete).
# 8 : Erstellung des Packetes aus $TMPROOT wird unterdrückt. Dies ist bei
# manchen Sonderfällen möglich - wenn sich z.B. der Packetnamen nicht
# aus dem Namen des sourcearchives ableiten lässt. Packet sollte in
# so einem Fall in der postmk() Funktion erstellt werden.
# 16 : Packet wird nicht installiert. Bei Packeten wie tar oder bash kann
# die installation mittelst installpkg probleme machen.
# 32 : Dependics File so erzeugen, das die Abhängigkeiten bei der installation
# erfüllt sein müssen. installpkg bricht in so einem fall bei fehlenden
# packeten die installation ab, und gibt nicht "nur" warnmeldungen aus.
# Wichtig bei packeten mit postinstallroutine, die software aus dem
# frisch installierten Packet verwendet (wie z.B. postgresql)
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
#
#Module zur Erstellung des Packetes: glib-networking
#Quelle der Source Archive: ftp://ftp.gnome.org/pub/gnome/sources
#Kurzbeschreibung:
#glib networking tools
#
#Letzte Änderung von: $Author: kueller $
#Datum der letzten Änderung: $Date: 2009-12-22 18:20:06 +0100 (Di, 22 Dez 2009) $
#Version der Datei: $Rev: 5984 $
#
#
#Pfad zum Basis-Sourcetree :
SRCPATH=Network/Lib
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
#SRCDIR=<PFAD>
premk() {
echo "Nothing to do for premk()"
}
mk32() {
CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=32 \
./configure --prefix=/usr \
--without-ca-certificates
make -j $NUMCPU
make -j $NUMCPU install
make -j $NUMCPU DESTDIR=$TMPROOT install
make distclean
}
mk() {
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --libdir=\${prefix}/${LIBDIR} \
--without-ca-certificates \
--prefix=/usr
make -j $NUMCPU
make -j $NUMCPU install
make -j $NUMCPU DESTDIR=$TMPROOT install
}
postmk() {
echo "Nothing to do for postmk()"
}

99
SysBuild/security/gnutls Normal file
View File

@ -0,0 +1,99 @@
#!/bin/bash
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
#dieses Framework wird im CVS Repository
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt
#
#Lage dieser Datei im Archiv: $HeadURL: $
#
#(c) 2003 Harald Kueller, Germany
#This program is free software; you can redistribute it and/or
#modify ist under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version
#2 of the License, or (at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#See the GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not write to the Free Software Foundation,
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#Dies ist ein Module zur Verwendung mit genpkg. Die Erzeugung eines
#Viitor Linux Packetes wird über die Funktionen premk, mk und postmk
#gesteuert. premk() dient zur Vorbereitung des Sourcecodes. Hier können
#diverse Änderungen am sourcecode (mit awk/sed usw.) vorgenommen werden
#mk() umfasst die source Konfiguration und das Übersetzten des source
#codes. Auch die Installation muß von mk erledigt werden. Hier gild dass
#die Installation immer nach $TMPROOT erfolgen soll (meisst kann das mit
#"make DESTDIR=$TMPROOT install" angestossen werden). postmk kann
#vor der packeterstellung noch einiges am installationtree ändern. postmk
#läuft nachdem die Packetabhängigkeiten erstellt wurden.
#Das Verhalten von genpkg kann über die Variable MKPKG gesteuert werden.
#Hier müssen FLAGS zur Steuerung gesetzt werden. Folgende Flags werden
#erkannt:
#
# 1 : Package Erzeugung erzwingen. Packet wird, auch wenn es schon
# vorhanden ist, ohne weitere rückfragen neu Erzeugt.
# 2 : Package Installation erzwingen. Installpkg wird mit -f aufgerufen.
# Das bewirkt, das installpkg keine rückfragen bei der installation
# Stellt, und das packet in jedemfall (neu) installiert.
# 4 : Sourcepacket nicht nach MAKEDIR entpacken. Ist dieses Flag gesetzt
# muss sich das Module selber um das Entpacken der sourcedateien kümmern.
# vor allem wichtig bei Packeten, für die es keine source.tgz gibt
# (z.B. aus dem CVS generierte Packete).
# 8 : Erstellung des Packetes aus $TMPROOT wird unterdrückt. Dies ist bei
# manchen Sonderfällen möglich - wenn sich z.B. der Packetnamen nicht
# aus dem Namen des sourcearchives ableiten lässt. Packet sollte in
# so einem Fall in der postmk() Funktion erstellt werden.
# 16 : Packet wird nicht installiert. Bei Packeten wie tar oder bash kann
# die installation mittelst installpkg probleme machen.
# 32 : Dependics File so erzeugen, das die Abhängigkeiten bei der installation
# erfüllt sein müssen. installpkg bricht in so einem fall bei fehlenden
# packeten die installation ab, und gibt nicht "nur" warnmeldungen aus.
# Wichtig bei packeten mit postinstallroutine, die software aus dem
# frisch installierten Packet verwendet (wie z.B. postgresql)
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
# kümmern
#Module zur Erstellung des Packetes: gnutls
#Quelle der Source Archive: ftp://ftp.gnu.org/gnu/gnutls
#Kurzbeschreibung:
#gnu library mit tls funktionen
#
#Letzte Änderung von: $Author: kueller $
#Datum der letzten Änderung: $Date: $
#Version der Datei: $Rev: 6037 $
#
SRCPATH=Security/Lib
premk() {
echo "Nothing to do for premk()"
}
mk32() {
CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=32 \
./configure --prefix=/usr
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
make distclean
}
mk() {
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --libdir=\${prefix}/${LIBDIR} \
--prefix=/usr
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
}
postmk() {
echo "Nothing to do for postmk()"
}

101
SysBuild/security/nettle Normal file
View File

@ -0,0 +1,101 @@
#!/bin/bash
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
#dieses Framework wird im CVS Repository
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt
#
#Lage dieser Datei im Archiv: $HeadURL: $
#
#(c) 2003 Harald Kueller, Germany
#This program is free software; you can redistribute it and/or
#modify ist under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version
#2 of the License, or (at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#See the GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not write to the Free Software Foundation,
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#Dies ist ein Module zur Verwendung mit genpkg. Die Erzeugung eines
#Viitor Linux Packetes wird über die Funktionen premk, mk und postmk
#gesteuert. premk() dient zur Vorbereitung des Sourcecodes. Hier können
#diverse Änderungen am sourcecode (mit awk/sed usw.) vorgenommen werden
#mk() umfasst die source Konfiguration und das Übersetzten des source
#codes. Auch die Installation muß von mk erledigt werden. Hier gild dass
#die Installation immer nach $TMPROOT erfolgen soll (meisst kann das mit
#"make DESTDIR=$TMPROOT install" angestossen werden). postmk kann
#vor der packeterstellung noch einiges am installationtree ändern. postmk
#läuft nachdem die Packetabhängigkeiten erstellt wurden.
#Das Verhalten von genpkg kann über die Variable MKPKG gesteuert werden.
#Hier müssen FLAGS zur Steuerung gesetzt werden. Folgende Flags werden
#erkannt:
#
# 1 : Package Erzeugung erzwingen. Packet wird, auch wenn es schon
# vorhanden ist, ohne weitere rückfragen neu Erzeugt.
# 2 : Package Installation erzwingen. Installpkg wird mit -f aufgerufen.
# Das bewirkt, das installpkg keine rückfragen bei der installation
# Stellt, und das packet in jedemfall (neu) installiert.
# 4 : Sourcepacket nicht nach MAKEDIR entpacken. Ist dieses Flag gesetzt
# muss sich das Module selber um das Entpacken der sourcedateien kümmern.
# vor allem wichtig bei Packeten, für die es keine source.tgz gibt
# (z.B. aus dem CVS generierte Packete).
# 8 : Erstellung des Packetes aus $TMPROOT wird unterdrückt. Dies ist bei
# manchen Sonderfällen möglich - wenn sich z.B. der Packetnamen nicht
# aus dem Namen des sourcearchives ableiten lässt. Packet sollte in
# so einem Fall in der postmk() Funktion erstellt werden.
# 16 : Packet wird nicht installiert. Bei Packeten wie tar oder bash kann
# die installation mittelst installpkg probleme machen.
# 32 : Dependics File so erzeugen, das die Abhängigkeiten bei der installation
# erfüllt sein müssen. installpkg bricht in so einem fall bei fehlenden
# packeten die installation ab, und gibt nicht "nur" warnmeldungen aus.
# Wichtig bei packeten mit postinstallroutine, die software aus dem
# frisch installierten Packet verwendet (wie z.B. postgresql)
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
# kümmern
#Module zur Erstellung des Packetes : nettle
#Quelle der Source Archive: http://www.lysator.liu.se/~nisse/archive/
#Kurzbeschreibung:
#Low Level Network Crypt
#
#Letzte Änderung von: $Author: kueller $
#Datum der letzten Änderung: $Date: $
#Version der Datei: $Rev: 6037 $
#
SRCPATH=Security/Lib
premk() {
echo "Nothing to do for premk()"
}
mk32() {
CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=32 \
./configure --prefix=/usr \
--enable-shared
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
make distclean
}
mk() {
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --libdir=\${prefix}/${LIBDIR} \
--enable-shared \
--prefix=/usr
make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install
}
postmk() {
echo "Nothing to do for postmk()"
}

View File

@ -90,7 +90,7 @@ mk32() {
--prefix=/usr/X11R7 \
--libexecdir=/usr/X11R7/bin \
--with-linux-table \
--with-x \
--with-x \
--enable-introspection=no
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&