1 |
commit: 3d4d415a27d8d11de167f48ad675b6d843d7d023 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 24 18:08:07 2014 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 24 18:09:11 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=commit;h=3d4d415a |
7 |
|
8 |
tools-uclibc/desktop: update build for uclibc desktop (lilblue) |
9 |
|
10 |
--- |
11 |
tools-uclibc/desktop/portage/env/cmake.conf | 2 ++ |
12 |
tools-uclibc/desktop/portage/env/mplayer2.conf | 1 + |
13 |
tools-uclibc/desktop/portage/env/pinentry.conf | 3 ++- |
14 |
tools-uclibc/desktop/portage/env/slim.conf | 2 ++ |
15 |
tools-uclibc/desktop/portage/env/xanim.conf | 2 ++ |
16 |
tools-uclibc/desktop/portage/env/xdg-user-dirs.conf | 1 + |
17 |
tools-uclibc/desktop/portage/package.env | 5 +++++ |
18 |
tools-uclibc/desktop/rebuild.sh | 2 +- |
19 |
tools-uclibc/desktop/run.sh | 2 ++ |
20 |
tools-uclibc/desktop/toolchain.sh | 6 +++++- |
21 |
tools-uclibc/desktop/update.sh | 11 ++++++++--- |
22 |
11 files changed, 31 insertions(+), 6 deletions(-) |
23 |
|
24 |
diff --git a/tools-uclibc/desktop/portage/env/cmake.conf b/tools-uclibc/desktop/portage/env/cmake.conf |
25 |
new file mode 100644 |
26 |
index 0000000..08f1d68 |
27 |
--- /dev/null |
28 |
+++ b/tools-uclibc/desktop/portage/env/cmake.conf |
29 |
@@ -0,0 +1,2 @@ |
30 |
+#this should go upstream |
31 |
+LDFLAGS="-lpthread" |
32 |
|
33 |
diff --git a/tools-uclibc/desktop/portage/env/mplayer2.conf b/tools-uclibc/desktop/portage/env/mplayer2.conf |
34 |
new file mode 100644 |
35 |
index 0000000..51d9d82 |
36 |
--- /dev/null |
37 |
+++ b/tools-uclibc/desktop/portage/env/mplayer2.conf |
38 |
@@ -0,0 +1 @@ |
39 |
+LDFLAGS="-lintl" |
40 |
|
41 |
diff --git a/tools-uclibc/desktop/portage/env/pinentry.conf b/tools-uclibc/desktop/portage/env/pinentry.conf |
42 |
index 518a258..a97e239 100644 |
43 |
--- a/tools-uclibc/desktop/portage/env/pinentry.conf |
44 |
+++ b/tools-uclibc/desktop/portage/env/pinentry.conf |
45 |
@@ -1 +1,2 @@ |
46 |
-CFLAGS="-liconv" |
47 |
+#this should go upstream |
48 |
+LDFLAGS="-liconv -lpthread" |
49 |
|
50 |
diff --git a/tools-uclibc/desktop/portage/env/slim.conf b/tools-uclibc/desktop/portage/env/slim.conf |
51 |
new file mode 100644 |
52 |
index 0000000..08f1d68 |
53 |
--- /dev/null |
54 |
+++ b/tools-uclibc/desktop/portage/env/slim.conf |
55 |
@@ -0,0 +1,2 @@ |
56 |
+#this should go upstream |
57 |
+LDFLAGS="-lpthread" |
58 |
|
59 |
diff --git a/tools-uclibc/desktop/portage/env/xanim.conf b/tools-uclibc/desktop/portage/env/xanim.conf |
60 |
new file mode 100644 |
61 |
index 0000000..68f559e |
62 |
--- /dev/null |
63 |
+++ b/tools-uclibc/desktop/portage/env/xanim.conf |
64 |
@@ -0,0 +1,2 @@ |
65 |
+#This needs to be fixed in the tree |
66 |
+LDFLAGS="-ldl" |
67 |
|
68 |
diff --git a/tools-uclibc/desktop/portage/env/xdg-user-dirs.conf b/tools-uclibc/desktop/portage/env/xdg-user-dirs.conf |
69 |
new file mode 100644 |
70 |
index 0000000..247baf2 |
71 |
--- /dev/null |
72 |
+++ b/tools-uclibc/desktop/portage/env/xdg-user-dirs.conf |
73 |
@@ -0,0 +1 @@ |
74 |
+LDFLAGS="-liconv -lpthread" |
75 |
|
76 |
diff --git a/tools-uclibc/desktop/portage/package.env b/tools-uclibc/desktop/portage/package.env |
77 |
index fa23f55..f5d3142 100644 |
78 |
--- a/tools-uclibc/desktop/portage/package.env |
79 |
+++ b/tools-uclibc/desktop/portage/package.env |
80 |
@@ -1,10 +1,15 @@ |
81 |
app-crypt/pinentry pinentry.conf |
82 |
dev-libs/pakchois pakchois.conf |
83 |
dev-python/pygobject pygobject.conf |
84 |
+dev-util/cmake cmake.conf |
85 |
dev-vcs/git git.conf |
86 |
media-gfx/fontforge fontforge.conf |
87 |
media-libs/libquicktime libquicktime.conf |
88 |
media-video/ffmpeg ffmpeg.conf |
89 |
+media-video/mplayer2 mplayer2.conf |
90 |
+media-video/xanim xanim.conf |
91 |
net-print/cups-filters cups-filters.conf |
92 |
sys-apps/coreutils coreutils.conf |
93 |
x11-libs/gdk-pixbuf gdk-pixbuf.conf |
94 |
+x11-misc/slim slim.conf |
95 |
+x11-misc/xdg-user-dirs xdg-user-dirs.conf |
96 |
|
97 |
diff --git a/tools-uclibc/desktop/rebuild.sh b/tools-uclibc/desktop/rebuild.sh |
98 |
index c22e006..20d52bd 100755 |
99 |
--- a/tools-uclibc/desktop/rebuild.sh |
100 |
+++ b/tools-uclibc/desktop/rebuild.sh |
101 |
@@ -2,4 +2,4 @@ |
102 |
|
103 |
source /etc/profile |
104 |
env-update |
105 |
-emerge --keep-going -evq world |
106 |
+emerge -evq --keep-going --with-bdeps=y world |
107 |
|
108 |
diff --git a/tools-uclibc/desktop/run.sh b/tools-uclibc/desktop/run.sh |
109 |
index 6cc99fa..7fd2b4b 100755 |
110 |
--- a/tools-uclibc/desktop/run.sh |
111 |
+++ b/tools-uclibc/desktop/run.sh |
112 |
@@ -19,6 +19,7 @@ mount_dirs() { |
113 |
mount --bind /proc/ "${ROOTFS}"/proc/ |
114 |
mount --bind /dev/ "${ROOTFS}"/dev/ |
115 |
mount --bind /dev/pts "${ROOTFS}"/dev/pts/ |
116 |
+ mount -t tmpfs shm "${ROOTFS}"/dev/shm |
117 |
mount --bind /sys/ "${ROOTFS}"/sys/ |
118 |
} |
119 |
|
120 |
@@ -156,6 +157,7 @@ cleanup_dirs() { |
121 |
|
122 |
unmount_dirs() { |
123 |
umount "${ROOTFS}"/sys/ |
124 |
+ umount "${ROOTFS}"/dev/shm |
125 |
umount "${ROOTFS}"/dev/pts/ |
126 |
umount "${ROOTFS}"/dev/ |
127 |
umount "${ROOTFS}"/proc/ |
128 |
|
129 |
diff --git a/tools-uclibc/desktop/toolchain.sh b/tools-uclibc/desktop/toolchain.sh |
130 |
index 0458679..01e406e 100755 |
131 |
--- a/tools-uclibc/desktop/toolchain.sh |
132 |
+++ b/tools-uclibc/desktop/toolchain.sh |
133 |
@@ -2,6 +2,10 @@ |
134 |
|
135 |
source /etc/profile |
136 |
env-update |
137 |
+emerge -1q binutils |
138 |
+source /etc/profile |
139 |
+env-update |
140 |
emerge -1q gcc |
141 |
+source /etc/profile |
142 |
+env-update |
143 |
emerge -1q uclibc |
144 |
-emerge -1q binutils |
145 |
|
146 |
diff --git a/tools-uclibc/desktop/update.sh b/tools-uclibc/desktop/update.sh |
147 |
index 434d47f..56f2e50 100755 |
148 |
--- a/tools-uclibc/desktop/update.sh |
149 |
+++ b/tools-uclibc/desktop/update.sh |
150 |
@@ -1,8 +1,13 @@ |
151 |
#!/bin/bash -l |
152 |
|
153 |
+#hacky - for some reason cairo fails to rebuild |
154 |
+#unless binutils is rebuilt first. It fails to |
155 |
+#find libibirty. |
156 |
source /etc/profile |
157 |
env-update |
158 |
-#hacky - for some reason cairo fails to rebuild |
159 |
-#unless binutils is rebuilt first. |
160 |
emerge -q binutils |
161 |
-emerge -uvNDq world |
162 |
+source /etc/profile |
163 |
+env-update |
164 |
+emerge -1q x11-libs/cairo |
165 |
+ |
166 |
+emerge -uvNDq --keep-going --with-bdeps=y world |