Skip to content

Commit 3e6174b

Browse files
committed
updates
1 parent c841800 commit 3e6174b

File tree

3 files changed

+36
-20
lines changed

3 files changed

+36
-20
lines changed

urbinit-base/Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
FROM yebyen/baseimage:i386
2-
RUN /usr/bin/apt-get update
3-
RUN /usr/bin/apt-get -y dist-upgrade
4-
RUN /usr/bin/apt-get -y install apt-utils dialog libterm-readline-perl-perl libgmp3-dev libsigsegv-dev openssl libssl-dev libncurses5-dev git make exuberant-ctags wget screen tmux unzip gcc g++ automake libtool autoconf cmake
2+
RUN /usr/bin/apt-get update && /usr/bin/apt-get -y install apt-utils dialog libterm-readline-perl-perl libgmp3-dev libsigsegv-dev openssl libssl-dev libncurses5-dev git make exuberant-ctags wget screen tmux unzip gcc g++ automake libtool autoconf cmake
3+
#RUN /usr/bin/apt-get -y dist-upgrade

urbinit-src/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM yebyen/urbinit:base-i686
22
RUN /usr/bin/apt-get clean
33
ADD urbit-i386.diff /
4-
RUN git clone https://github.com/urbit/urbit /urbit && cd /urbit && patch -p1 < /urbit-i386.diff
4+
RUN git clone https://github.com/urbit/urbit /urbit && cd /urbit && git clone https://github.com/urbit/arvo && patch -p1 < /urbit-i386.diff
5+
RUN curl -o urbit.pill https://bootstrap.urbit.org/latest.pill

urbinit-src/urbit-i386.diff

+32-16
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,52 @@
11
diff --git a/Makefile b/Makefile
2-
index e692e9d..15e051f 100644
2+
index 83ea4eb..894be2c 100644
33
--- a/Makefile
44
+++ b/Makefile
5-
@@ -35,7 +35,7 @@ BIN=bin
6-
7-
LIB=$(shell pwd)/urb
5+
@@ -49,7 +49,7 @@ ifneq (,$(wildcard /usr/local/opt/openssl/.))
6+
OPENSSLLIB=-L/usr/local/opt/openssl/lib
7+
endif
88

99
-RM=rm -f
1010
+RM=rm -rf
1111
ifneq ($(UNAME),FreeBSD)
1212
CC=gcc
1313
CXX=g++
14-
@@ -459,6 +459,7 @@ debinstall:
14+
@@ -485,8 +485,10 @@ osxpackage:
15+
$(MAKE) $(BIN)/urbit LIB=/usr/local/lib/urb STATIC=yes
16+
mkdir -p inst/usr/local/lib/urb inst/usr/local/bin
17+
cp $(BIN)/urbit inst/usr/local/bin
18+
- cp urb/urbit.pill inst/usr/local/lib/urb
19+
- cp -R urb/zod inst/usr/local/lib/urb
20+
+ cp urbit.pill inst/usr/local/lib/urb
21+
+ #cp -R urb/zod inst/usr/local/lib/urb
22+
+ mkdir -p inst/usr/local/lib/urb
23+
+ cp -R arvo inst/usr/local/lib/urb/arvo
24+
pkgbuild --root inst --identifier org.urbit.urbit --version 0.2 urbit.pkg
25+
26+
debbuild:
27+
@@ -495,12 +497,14 @@ debbuild:
28+
debinstall:
29+
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/urb
30+
install -m755 $(BIN)/urbit $(DESTDIR)/usr/bin
31+
- cp urb/urbit.pill $(DESTDIR)/usr/share/urb
32+
- cp -R urb/zod $(DESTDIR)/usr/share/urb
33+
+ cp urbit.pill $(DESTDIR)/usr/share/urb
34+
+ #cp -R urb/zod $(DESTDIR)/usr/share/urb
35+
+ mkdir -p $(DESTDIR)/usr/share/urb
36+
+ cp -R arvo $(DESTDIR)/usr/share/urb/arvo
1537

1638
clean:
17-
$(RM) $(VERE_OFILES) $(BIN)/urbit urbit.pkg $(VERE_DFILES)
18-
+ $(RM) debian/files debian/urbit*
39+
$(RM) $(VERE_OFILES) $(BIN)/urbit urbit.pkg $(VERE_DFILES) $(TAGS)
40+
- $(RM) -r debian/files debian/urbit*
41+
+ $(RM) -r debian/files debian/urbit* debian/.debhelper debian/debhelper-build-stamp
1942

2043
# 'make distclean all -jn' ∀ n>1 still does not work because it is possible
2144
# Make will attempt to build urbit while it is also cleaning urbit..
22-
@@ -468,5 +469,6 @@ distclean: clean $(LIBUV_MAKEFILE)
23-
$(MAKE) -C outside/ed25519 clean
24-
$(MAKE) -C outside/anachronism clean
25-
$(MAKE) -C outside/scrypt clean
26-
+ $(RM) debian/files debian/urbit*
27-
28-
.PHONY: clean debbuild debinstalldistclean etags osxpackage tags
2945
diff --git a/include/noun/allocate.h b/include/noun/allocate.h
30-
index 26423f9..d6e1aff 100644
46+
index 7ab6b21..4a1310e 100644
3147
--- a/include/noun/allocate.h
3248
+++ b/include/noun/allocate.h
33-
@@ -19,7 +19,7 @@
49+
@@ -23,7 +23,7 @@
3450
**/
3551
/* u3a_bits: number of bits in word-addressed pointer. 29 == 2GB.
3652
*/

0 commit comments

Comments
 (0)