tools-uclibc/desktop: update build for uclibc desktop (lilblue)
This commit is contained in:
parent
7666dee327
commit
3d4d415a27
11 changed files with 32 additions and 7 deletions
2
tools-uclibc/desktop/portage/env/cmake.conf
vendored
Normal file
2
tools-uclibc/desktop/portage/env/cmake.conf
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#this should go upstream
|
||||||
|
LDFLAGS="-lpthread"
|
1
tools-uclibc/desktop/portage/env/mplayer2.conf
vendored
Normal file
1
tools-uclibc/desktop/portage/env/mplayer2.conf
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
LDFLAGS="-lintl"
|
|
@ -1 +1,2 @@
|
||||||
CFLAGS="-liconv"
|
#this should go upstream
|
||||||
|
LDFLAGS="-liconv -lpthread"
|
||||||
|
|
2
tools-uclibc/desktop/portage/env/slim.conf
vendored
Normal file
2
tools-uclibc/desktop/portage/env/slim.conf
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#this should go upstream
|
||||||
|
LDFLAGS="-lpthread"
|
2
tools-uclibc/desktop/portage/env/xanim.conf
vendored
Normal file
2
tools-uclibc/desktop/portage/env/xanim.conf
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#This needs to be fixed in the tree
|
||||||
|
LDFLAGS="-ldl"
|
1
tools-uclibc/desktop/portage/env/xdg-user-dirs.conf
vendored
Normal file
1
tools-uclibc/desktop/portage/env/xdg-user-dirs.conf
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
LDFLAGS="-liconv -lpthread"
|
|
@ -1,10 +1,15 @@
|
||||||
app-crypt/pinentry pinentry.conf
|
app-crypt/pinentry pinentry.conf
|
||||||
dev-libs/pakchois pakchois.conf
|
dev-libs/pakchois pakchois.conf
|
||||||
dev-python/pygobject pygobject.conf
|
dev-python/pygobject pygobject.conf
|
||||||
|
dev-util/cmake cmake.conf
|
||||||
dev-vcs/git git.conf
|
dev-vcs/git git.conf
|
||||||
media-gfx/fontforge fontforge.conf
|
media-gfx/fontforge fontforge.conf
|
||||||
media-libs/libquicktime libquicktime.conf
|
media-libs/libquicktime libquicktime.conf
|
||||||
media-video/ffmpeg ffmpeg.conf
|
media-video/ffmpeg ffmpeg.conf
|
||||||
|
media-video/mplayer2 mplayer2.conf
|
||||||
|
media-video/xanim xanim.conf
|
||||||
net-print/cups-filters cups-filters.conf
|
net-print/cups-filters cups-filters.conf
|
||||||
sys-apps/coreutils coreutils.conf
|
sys-apps/coreutils coreutils.conf
|
||||||
x11-libs/gdk-pixbuf gdk-pixbuf.conf
|
x11-libs/gdk-pixbuf gdk-pixbuf.conf
|
||||||
|
x11-misc/slim slim.conf
|
||||||
|
x11-misc/xdg-user-dirs xdg-user-dirs.conf
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
env-update
|
env-update
|
||||||
emerge --keep-going -evq world
|
emerge -evq --keep-going --with-bdeps=y world
|
||||||
|
|
|
@ -19,6 +19,7 @@ mount_dirs() {
|
||||||
mount --bind /proc/ "${ROOTFS}"/proc/
|
mount --bind /proc/ "${ROOTFS}"/proc/
|
||||||
mount --bind /dev/ "${ROOTFS}"/dev/
|
mount --bind /dev/ "${ROOTFS}"/dev/
|
||||||
mount --bind /dev/pts "${ROOTFS}"/dev/pts/
|
mount --bind /dev/pts "${ROOTFS}"/dev/pts/
|
||||||
|
mount -t tmpfs shm "${ROOTFS}"/dev/shm
|
||||||
mount --bind /sys/ "${ROOTFS}"/sys/
|
mount --bind /sys/ "${ROOTFS}"/sys/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,6 +157,7 @@ cleanup_dirs() {
|
||||||
|
|
||||||
unmount_dirs() {
|
unmount_dirs() {
|
||||||
umount "${ROOTFS}"/sys/
|
umount "${ROOTFS}"/sys/
|
||||||
|
umount "${ROOTFS}"/dev/shm
|
||||||
umount "${ROOTFS}"/dev/pts/
|
umount "${ROOTFS}"/dev/pts/
|
||||||
umount "${ROOTFS}"/dev/
|
umount "${ROOTFS}"/dev/
|
||||||
umount "${ROOTFS}"/proc/
|
umount "${ROOTFS}"/proc/
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
env-update
|
env-update
|
||||||
emerge -1q gcc
|
|
||||||
emerge -1q uclibc
|
|
||||||
emerge -1q binutils
|
emerge -1q binutils
|
||||||
|
source /etc/profile
|
||||||
|
env-update
|
||||||
|
emerge -1q gcc
|
||||||
|
source /etc/profile
|
||||||
|
env-update
|
||||||
|
emerge -1q uclibc
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
#!/bin/bash -l
|
#!/bin/bash -l
|
||||||
|
|
||||||
|
#hacky - for some reason cairo fails to rebuild
|
||||||
|
#unless binutils is rebuilt first. It fails to
|
||||||
|
#find libibirty.
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
env-update
|
env-update
|
||||||
#hacky - for some reason cairo fails to rebuild
|
|
||||||
#unless binutils is rebuilt first.
|
|
||||||
emerge -q binutils
|
emerge -q binutils
|
||||||
emerge -uvNDq world
|
source /etc/profile
|
||||||
|
env-update
|
||||||
|
emerge -1q x11-libs/cairo
|
||||||
|
|
||||||
|
emerge -uvNDq --keep-going --with-bdeps=y world
|
||||||
|
|
Loading…
Add table
Reference in a new issue