Start frei für KDE4
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4944 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
c7632f9e5b
commit
94ca63575b
@ -67,14 +67,14 @@
|
||||
#
|
||||
#
|
||||
|
||||
SRCPATH=X11_2/KDE
|
||||
SRCPATH=WindowManager/KDE
|
||||
|
||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||
#ausgeführt (sprich unpack src; cd src; premk)
|
||||
#Hier kann z.B. das Makefile gepatcht werden (SED lässt grüssen
|
||||
|
||||
premk() {
|
||||
X11R7_Fix
|
||||
echo "Nothing do do for premk()"
|
||||
}
|
||||
|
||||
#Hier wird der Make Prozess der Sourcen definiert
|
||||
@ -82,28 +82,23 @@ mk() {
|
||||
if [ "$MK64BIT" == "true" ]; then
|
||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
||||
fi
|
||||
ldconfig
|
||||
export QTDIR=/usr/$LIBDIR/qt
|
||||
export PATH=$PATH:/usr/$LIBDIR/qt/bin:/usr/X11R7/bin
|
||||
CC="gcc $BUILDOPTIONS" \
|
||||
CXX="g++ $BUILDOPTIONS" \
|
||||
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR -L/usr/$LIBDIR/qt/lib" \
|
||||
./configure --target=$TARGET \
|
||||
$ADDOPTIONS \
|
||||
--prefix=/opt/kde \
|
||||
--without-acl &&
|
||||
for i in `find . -name "Makefile"`; do
|
||||
sed -e "s%/usr/man%\$(DESTDIR)/\$(prefix)/man%" $i |
|
||||
sed -e "s%/usr/lib %/usr/$LIBDIR %" |
|
||||
sed -e "s%/usr/lib$%/usr/$LIBDIR%" >/tmp/Makefile
|
||||
mv /tmp/Makefile $i
|
||||
done
|
||||
USE_ARCH=$UARCH \
|
||||
./configure $ADDOPTIONS \
|
||||
--prefix=/opt/kde
|
||||
#for i in `find . -name "Makefile"`; do
|
||||
#sed -e "s%/usr/man%\$(DESTDIR)/\$(prefix)/man%" $i |
|
||||
#sed -e "s%/usr/lib %/usr/$LIBDIR %" |
|
||||
#sed -e "s%/usr/lib$%/usr/$LIBDIR%" >/tmp/Makefile
|
||||
#mv /tmp/Makefile $i
|
||||
#done
|
||||
#Probleme mit gssapi - hier sind die libs nicht richtig gesetzt
|
||||
sed -e "s%^GSSAPI_LIBS.*$%GSSAPI_LIBS = -lgssapi_krb5%" \
|
||||
kioslave/http/Makefile >/tmp/Makefile
|
||||
mv /tmp/Makefile kioslave/http/Makefile
|
||||
sed -e "s%_ipp_free_attr%//_ipp_free_attr%" kdeprint/cups/ipprequest.cpp >/tmp/ipprequest.cpp
|
||||
mv /tmp/ipprequest.cpp kdeprint/cups/ipprequest.cpp
|
||||
#sed -e "s%^GSSAPI_LIBS.*$%GSSAPI_LIBS = -lgssapi_krb5%" \
|
||||
#kioslave/http/Makefile >/tmp/Makefile
|
||||
#mv /tmp/Makefile kioslave/http/Makefile
|
||||
#sed -e "s%_ipp_free_attr%//_ipp_free_attr%" kdeprint/cups/ipprequest.cpp >/tmp/ipprequest.cpp
|
||||
#mv /tmp/ipprequest.cpp kdeprint/cups/ipprequest.cpp
|
||||
make -j $NUMCPU &&
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
}
|
Loading…
Reference in New Issue
Block a user