Merge lp:~logan/ubuntu/raring/scheme2c/debian-merge into lp:ubuntu/raring/scheme2c

Proposed by Logan Rosen on 2012-11-28
Status: Merged
Merged at revision: 16
Proposed branch: lp:~logan/ubuntu/raring/scheme2c/debian-merge
Merge into: lp:ubuntu/raring/scheme2c
Diff against target: 437 lines (+213/-92)
8 files modified
debian/changelog (+21/-0)
debian/compat (+1/-1)
debian/control (+4/-3)
debian/patches/debian-changes (+178/-84)
doc/embedded.tex (+2/-2)
doc/smithnotes.tex (+1/-1)
scsc/makefile (+2/-0)
xlib/makefile (+4/-1)
To merge this branch: bzr merge lp:~logan/ubuntu/raring/scheme2c/debian-merge
Reviewer Review Type Date Requested Status
Daniel Holbach Approve on 2012-11-29
Ubuntu branches 2012-11-28 Pending
Review via email: mp+136770@code.launchpad.net
To post a comment you must log in.
Daniel Holbach (dholbach) wrote :

Good work.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-10-28 10:16:01 +0000
3+++ debian/changelog 2012-11-28 20:03:23 +0000
4@@ -1,3 +1,24 @@
5+scheme2c (2011.07.26-5ubuntu1) raring; urgency=low
6+
7+ * Merge from Debian unstable. Remaining changes:
8+ - Build with -U_FORTIFY_SOURCE to fix FTBFS (on ARM too).
9+
10+ -- Logan Rosen <logatronico@gmail.com> Wed, 28 Nov 2012 14:58:22 -0500
11+
12+scheme2c (2011.07.26-5) unstable; urgency=low
13+
14+ * include missing xlib .sch files used by, e.g., QobiScheme
15+
16+ -- Barak A. Pearlmutter <bap@debian.org> Thu, 15 Mar 2012 15:29:55 +0000
17+
18+scheme2c (2011.07.26-4) unstable; urgency=low
19+
20+ * dh 9
21+ * bump debian policy (no changes required)
22+ * minor non-functional upstream tweaks
23+
24+ -- Barak A. Pearlmutter <bap@debian.org> Thu, 01 Mar 2012 20:53:25 +0000
25+
26 scheme2c (2011.07.26-3ubuntu1) precise; urgency=low
27
28 * Merge from Debian testing. Remaining changes:
29
30=== modified file 'debian/compat'
31--- debian/compat 2011-07-19 19:41:56 +0000
32+++ debian/compat 2012-11-28 20:03:23 +0000
33@@ -1,1 +1,1 @@
34-8
35+9
36
37=== modified file 'debian/control'
38--- debian/control 2011-07-26 20:30:04 +0000
39+++ debian/control 2012-11-28 20:03:23 +0000
40@@ -1,12 +1,13 @@
41 Source: scheme2c
42 Section: lisp
43 Priority: extra
44-Maintainer: Barak A. Pearlmutter <bap@debian.org>
45-Build-Depends: debhelper (>= 8),
46+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
47+XSBC-Original-Maintainer: Barak A. Pearlmutter <bap@debian.org>
48+Build-Depends: debhelper (>= 9),
49 libsigsegv-dev, libx11-dev,
50 texlive-latex-base, texlive-latex-extra, latex209-bin,
51 texlive-fonts-recommended, ghostscript
52-Standards-Version: 3.9.2
53+Standards-Version: 3.9.3
54 Homepage: http://scheme2c.alioth.debian.org/
55 Vcs-Git: git://git.debian.org/git/collab-maint/scheme2c.git
56 Vcs-Browser: http://git.debian.org/?p=collab-maint/scheme2c.git
57
58=== modified file 'debian/patches/debian-changes'
59--- debian/patches/debian-changes 2011-10-09 21:43:11 +0000
60+++ debian/patches/debian-changes 2012-11-28 20:03:23 +0000
61@@ -5,12 +5,10 @@
62 information below has been extracted from the changelog. Adjust it or drop
63 it.
64 .
65- scheme2c (2011.07.26-3) unstable; urgency=low
66+ scheme2c (2011.07.26-5) unstable; urgency=low
67 .
68- * single debian patch source option (closes: #643271)
69- * tiny upstream documentation tweaks
70+ * include missing xlib .sch files used by, e.g., QobiScheme
71 Author: Barak A. Pearlmutter <bap@debian.org>
72-Bug-Debian: http://bugs.debian.org/643271
73
74 ---
75 The information above should follow the Patch Tagging Guidelines, please
76@@ -25,6 +23,17 @@
77 Reviewed-By: <name and email of someone who approved the patch>
78 Last-Update: <YYYY-MM-DD>
79
80+--- scheme2c-2011.07.26.orig/README
81++++ scheme2c-2011.07.26/README
82+@@ -170,7 +170,7 @@ running ULTRIX.
83+ such as ~/bin:
84+
85+ 8 >cd ..
86+- 9 >make "DESTDIR = /udir/`whoami`/bin" install-private
87++ 9 >make prefix=$HOME/s2c BINDIR=. LIBDIR=. LIBSUBDIR=. install
88+ 10 >rehash
89+
90+ Given that this directory in the current search path, the compiler can
91 --- scheme2c-2011.07.26.orig/CHANGES
92 +++ scheme2c-2011.07.26/CHANGES
93 @@ -64,7 +64,7 @@ Compiler changes since the 01nov91jfb re
94@@ -36,66 +45,103 @@
95
96 7. Lambda expressions containing arguments that are not symbols now result
97 in an error message rather than a compiler error.
98---- scheme2c-2011.07.26.orig/README
99-+++ scheme2c-2011.07.26/README
100-@@ -170,7 +170,7 @@ running ULTRIX.
101- such as ~/bin:
102-
103- 8 >cd ..
104-- 9 >make "DESTDIR = /udir/`whoami`/bin" install-private
105-+ 9 >make prefix=$HOME/s2c BINDIR=. LIBDIR=. LIBSUBDIR=. install
106- 10 >rehash
107-
108- Given that this directory in the current search path, the compiler can
109---- scheme2c-2011.07.26.orig/scrt/makefile
110-+++ scheme2c-2011.07.26/scrt/makefile
111-@@ -41,7 +41,7 @@ INSTALL_SCRIPT = ${INSTALL}
112- .SUFFIXES:
113- .SUFFIXES: .o .c .sc .s
114+--- /dev/null
115++++ scheme2c-2011.07.26/INSTALL
116+@@ -0,0 +1,45 @@
117++#!/bin/sh
118++
119++# QUICK BUILD/INSTALLATION GUIDE
120++
121++# Quick instructions for building s2c on Debian amd64, including the
122++# X11-enabled libraries etc. All lines including "-C doc" can be
123++# omitted to skip the manuals. Switch AMD64 to LINUX (for i386) or ARM
124++# (for arm). Change prefix to /usr or /home/username, and other
125++# locations, as appropriate.
126++
127++# required development libraries: libsigsegv-dev, libx11-dev
128++
129++# required to build documentation:
130++# texlive-latex-base, texlive-latex-extra, latex209-bin,
131++# texlive-fonts-recommended, ghostscript
132++
133++# In the root of the unpacked sources run:
134++
135++set -e
136++set -x
137++
138++A=AMD64
139++P="prefix=/usr/local MANDIR=\$(prefix)/share/man DOCDIR=\$(prefix)/share/doc/scheme2c"
140++D=~/tmp/s2c
141++I="$P DESTDIR=$D"
142++T=~/tmp/scheme2c-binary.tar.gz
143++MAKE=make
144++
145++${MAKE} $P for$A
146++${MAKE} $P -C $A
147++${MAKE} $P -C $A/cdecl all
148++${MAKE} $P -C $A/xlib sizeof.cdecl libs2cxl.a s2cixl
149++${MAKE} $P -C doc
150++
151++${MAKE} $I -C $A/scrt install
152++${MAKE} $I -C $A/scsc install
153++${MAKE} $I -C $A/cdecl install
154++${MAKE} $I -C $A/xlib install
155++${MAKE} $I -C doc install
156++
157++tar -zcf $T -C $D .
158++
159++# The result is a tarball which can be installed with, e.g.,
160++
161++# sudo tar -C / -zxf $T
162+--- scheme2c-2011.07.26.orig/cdecl/makefile
163++++ scheme2c-2011.07.26/cdecl/makefile
164+@@ -19,7 +19,7 @@ MISC = sizeof.c sch.sc README document l
165+
166+ SRCDIR = ../../cdecl
167
168 -SCC = ../scsc/s2cc
169 +SCC = ../scsc/Xs2cc
170- SCCFLAGS =
171-
172- SRCDIR = ../../scrt
173-@@ -111,24 +111,20 @@ Xmv: Xs2ci Xlibs2c.a
174- mv Xlibs2c.a libs2c.a
175-
176- port:
177-- $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS}" "SCC = echo" \
178-+ $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS}" "SCC=echo" \
179- Xlibs2c.a Xs2ci Xmv ${Plib}
180-
181- libs2c_p.a: libs2c.a
182- mkdir -p saveobj
183- mv ${Sruntime} ${Cruntime} ${Aruntime} saveobj/
184- rm -f libs2c_p.a
185-- $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS} -pg" ${Sruntime} ${Cruntime} \
186-+ $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS} -pg" ${Sruntime} ${Cruntime} \
187- ${Aruntime}
188- ar q libs2c_p.a ${Cruntime} ${Sruntime} ${Aruntime}
189- ${RANLIB} libs2c_p.a
190- mv saveobj/* ./
191- rmdir saveobj
192-
193--install-private:
194-- $(MAKE) "DESTDIR=${DESTDIR}" "LIBDIR=/." "BINDIR=/. LIBSUBDIR=." \
195-- "OWNER = -o `whoami`" install
196--
197- install:
198- ${INSTALL} -d ${DESTDIR}${LIBDIR}/${LIBSUBDIR}
199- ${INSTALL_DATA} libs2c.a ${DESTDIR}${LIBDIR}/${LIBSUBDIR}/
200-@@ -160,8 +156,8 @@ bindist:
201- libs2c.a ${Plib} s2ci ${destdir}
202-
203- all:
204-- $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS}" "SCC = ${SCC}" \
205-- "SCCFLAGS = ${SCCFLAGS}" Xlibs2c.a Xs2ci Xmv ${Plib}
206-+ $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS}" "SCC=${SCC}" \
207-+ "SCCFLAGS=${SCCFLAGS}" Xlibs2c.a Xs2ci Xmv ${Plib}
208-
209- srclinks:
210- for x in ${Cruntimec} ${Chfiles} ${Sruntimec} ${Sruntimesc} ${Smisc}; \
211+
212+ .sc.c:
213+ ${SCC} -C $*.sc
214+--- scheme2c-2011.07.26.orig/doc/embedded.tex
215++++ scheme2c-2011.07.26/doc/embedded.tex
216+@@ -150,11 +150,11 @@ application. The current time slice valu
217+ \subsection*{Sample embedded application}
218+
219+ A sample embedded Scheme application, \texttt{embedded}, is found in
220+-the directory \texttt{server}. A typescript of its execution shows
221++the directory \texttt{scrt}. A typescript of its execution shows
222+ how an application should interact with an embedded Scheme system.
223+ \begin{quote}
224+ \begin{verbatim}
225+-csh 990 >embedded
226++$ embedded
227+ Embedded Scheme->C Test Bed
228+ 0- (+ 1 2)
229+ 3
230+--- scheme2c-2011.07.26.orig/doc/smithnotes.tex
231++++ scheme2c-2011.07.26/doc/smithnotes.tex
232+@@ -62,7 +62,7 @@ is executed, the window looks like this:
233+
234+ \begin{quote}
235+ \begin{verbatim}
236+-csh >s2ci
237++$ s2ci
238+ Scheme->C -- 01sep91jfb -- Copyright 1989 Digital Equipment Corporation
239+ >
240+ \end{verbatim}
241+--- scheme2c-2011.07.26.orig/doc/s2cc.l
242++++ scheme2c-2011.07.26/doc/s2cc.l
243+@@ -149,7 +149,7 @@ error file.
244+ .br
245+ /.../libs2c_p.a profiled library (optional)
246+ .br
247+-/.../s2cc c-shell script
248++/.../s2cc shell script
249+ .br
250+ /.../s2ccomp compiler
251+ .br
252 --- scheme2c-2011.07.26.orig/xlib/makefile
253 +++ scheme2c-2011.07.26/xlib/makefile
254 @@ -17,7 +17,7 @@ CDECL = ../cdecl/s2cdecl
255@@ -107,17 +153,25 @@
256 SCXLIB = libs2cxl.a
257
258 XD = X.cdecl Xatom.cdecl Xlib.cdecl Xresource.cdecl Xutil.cdecl \
259---- scheme2c-2011.07.26.orig/doc/s2cc.l
260-+++ scheme2c-2011.07.26/doc/s2cc.l
261-@@ -149,7 +149,7 @@ error file.
262- .br
263- /.../libs2c_p.a profiled library (optional)
264- .br
265--/.../s2cc c-shell script
266-+/.../s2cc shell script
267- .br
268- /.../s2ccomp compiler
269- .br
270+@@ -39,6 +39,9 @@ xdsc = depth.sc screen.sc visual.sc xarc
271+ xvisualinfo.sc xwindowattributes.sc xwindowchanges.sc xwmhints.sc \
272+ xpixmapformatvalues.sc xtextproperty.sc
273+
274++xdschextra = xws2.sch xws3.sch xws4.sch xws5.sch xws6.sch xws7.sch \
275++ xws8.sch xws9.sch xws10.sch xwsr4.sch
276++
277+ xdsch = depth.sch screen.sch visual.sch xarc.sch xchar2b.sch xcharstruct.sch \
278+ xclasshint.sch xcomposestatus.sch xcolor.sch xlibCONSTANTS.sch \
279+ xevent.sch xfontprop.sch xfontstruct.sch xgcvalues.sch \
280+@@ -49,7 +52,7 @@ xdsch = depth.sch screen.sch visual.sch
281+ xlibSTUBS.sch xtextitem.sch xtextitem16.sch xtimecoord.sch \
282+ xlibTYPES.sch xvisualinfo.sch xwindowattributes.sch \
283+ xwindowchanges.sch xwmhints.sch xpixmapformatvalues.sch \
284+- xtextproperty.sch
285++ xtextproperty.sch $(xdschextra)
286+
287+
288+ xdc = depth.c screen.c visual.c xarc.c xchar2b.c xcharstruct.c \
289 --- scheme2c-2011.07.26.orig/scsc/makefile
290 +++ scheme2c-2011.07.26/scsc/makefile
291 @@ -81,24 +81,29 @@ sc-to-c: ${scc}
292@@ -161,7 +215,7 @@
293 ln -sf s2cc ${DESTDIR}${BINDIR}/scc
294 ${INSTALL} -d ${DESTDIR}${LIBDIR}/${LIBSUBDIR}
295 ${INSTALL_PROGRAM} s2ccomp ${DESTDIR}${LIBDIR}/${LIBSUBDIR}/
296-@@ -112,19 +117,7 @@ clean-sc-to-c:
297+@@ -112,19 +117,9 @@ clean-sc-to-c:
298 noprogs:
299 rm -f s2ccomp Xs2ccomp
300
301@@ -182,17 +236,8 @@
302 - echo `pwd`'/Xs2ccomp -scl ${SCL} -scmh ${SCMH} \
303 - -cc ${CC} -LIBDIR ' `pwd`'/${RTDIR} $$*' >> Xs2cc
304 - chmod +x Xs2cc
305---- scheme2c-2011.07.26.orig/cdecl/makefile
306-+++ scheme2c-2011.07.26/cdecl/makefile
307-@@ -19,7 +19,7 @@ MISC = sizeof.c sch.sc README document l
308-
309- SRCDIR = ../../cdecl
310-
311--SCC = ../scsc/s2cc
312-+SCC = ../scsc/Xs2cc
313-
314- .sc.c:
315- ${SCC} -C $*.sc
316++
317++.PHONY: all clean port install sc-to-c srclinks noprogs clean-sc-to-c
318 --- scheme2c-2011.07.26.orig/test/makefile
319 +++ scheme2c-2011.07.26/test/makefile
320 @@ -2,7 +2,7 @@
321@@ -232,3 +277,52 @@
322 + ./test54
323 +
324 +.PHONY: autotest-test autotest-test50 autotest-test54
325+--- scheme2c-2011.07.26.orig/scrt/makefile
326++++ scheme2c-2011.07.26/scrt/makefile
327+@@ -41,7 +41,7 @@ INSTALL_SCRIPT = ${INSTALL}
328+ .SUFFIXES:
329+ .SUFFIXES: .o .c .sc .s
330+
331+-SCC = ../scsc/s2cc
332++SCC = ../scsc/Xs2cc
333+ SCCFLAGS =
334+
335+ SRCDIR = ../../scrt
336+@@ -111,24 +111,20 @@ Xmv: Xs2ci Xlibs2c.a
337+ mv Xlibs2c.a libs2c.a
338+
339+ port:
340+- $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS}" "SCC = echo" \
341++ $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS}" "SCC=echo" \
342+ Xlibs2c.a Xs2ci Xmv ${Plib}
343+
344+ libs2c_p.a: libs2c.a
345+ mkdir -p saveobj
346+ mv ${Sruntime} ${Cruntime} ${Aruntime} saveobj/
347+ rm -f libs2c_p.a
348+- $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS} -pg" ${Sruntime} ${Cruntime} \
349++ $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS} -pg" ${Sruntime} ${Cruntime} \
350+ ${Aruntime}
351+ ar q libs2c_p.a ${Cruntime} ${Sruntime} ${Aruntime}
352+ ${RANLIB} libs2c_p.a
353+ mv saveobj/* ./
354+ rmdir saveobj
355+
356+-install-private:
357+- $(MAKE) "DESTDIR=${DESTDIR}" "LIBDIR=/." "BINDIR=/. LIBSUBDIR=." \
358+- "OWNER = -o `whoami`" install
359+-
360+ install:
361+ ${INSTALL} -d ${DESTDIR}${LIBDIR}/${LIBSUBDIR}
362+ ${INSTALL_DATA} libs2c.a ${DESTDIR}${LIBDIR}/${LIBSUBDIR}/
363+@@ -160,8 +156,8 @@ bindist:
364+ libs2c.a ${Plib} s2ci ${destdir}
365+
366+ all:
367+- $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS}" "SCC = ${SCC}" \
368+- "SCCFLAGS = ${SCCFLAGS}" Xlibs2c.a Xs2ci Xmv ${Plib}
369++ $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS}" "SCC=${SCC}" \
370++ "SCCFLAGS=${SCCFLAGS}" Xlibs2c.a Xs2ci Xmv ${Plib}
371+
372+ srclinks:
373+ for x in ${Cruntimec} ${Chfiles} ${Sruntimec} ${Sruntimesc} ${Smisc}; \
374
375=== modified file 'doc/embedded.tex'
376--- doc/embedded.tex 2008-08-10 22:48:11 +0000
377+++ doc/embedded.tex 2012-11-28 20:03:23 +0000
378@@ -150,11 +150,11 @@
379 \subsection*{Sample embedded application}
380
381 A sample embedded Scheme application, \texttt{embedded}, is found in
382-the directory \texttt{server}. A typescript of its execution shows
383+the directory \texttt{scrt}. A typescript of its execution shows
384 how an application should interact with an embedded Scheme system.
385 \begin{quote}
386 \begin{verbatim}
387-csh 990 >embedded
388+$ embedded
389 Embedded Scheme->C Test Bed
390 0- (+ 1 2)
391 3
392
393=== modified file 'doc/smithnotes.tex'
394--- doc/smithnotes.tex 2011-07-19 19:41:56 +0000
395+++ doc/smithnotes.tex 2012-11-28 20:03:23 +0000
396@@ -62,7 +62,7 @@
397
398 \begin{quote}
399 \begin{verbatim}
400-csh >s2ci
401+$ s2ci
402 Scheme->C -- 01sep91jfb -- Copyright 1989 Digital Equipment Corporation
403 >
404 \end{verbatim}
405
406=== modified file 'scsc/makefile'
407--- scsc/makefile 2011-08-19 13:44:46 +0000
408+++ scsc/makefile 2012-11-28 20:03:23 +0000
409@@ -121,3 +121,5 @@
410 for x in ${scsc} ${scc} ${scsch}; \
411 do ln -s ${SRCDIR}/$$x $$x;\
412 done
413+
414+.PHONY: all clean port install sc-to-c srclinks noprogs clean-sc-to-c
415
416=== modified file 'xlib/makefile'
417--- xlib/makefile 2011-08-19 13:44:46 +0000
418+++ xlib/makefile 2012-11-28 20:03:23 +0000
419@@ -39,6 +39,9 @@
420 xvisualinfo.sc xwindowattributes.sc xwindowchanges.sc xwmhints.sc \
421 xpixmapformatvalues.sc xtextproperty.sc
422
423+xdschextra = xws2.sch xws3.sch xws4.sch xws5.sch xws6.sch xws7.sch \
424+ xws8.sch xws9.sch xws10.sch xwsr4.sch
425+
426 xdsch = depth.sch screen.sch visual.sch xarc.sch xchar2b.sch xcharstruct.sch \
427 xclasshint.sch xcomposestatus.sch xcolor.sch xlibCONSTANTS.sch \
428 xevent.sch xfontprop.sch xfontstruct.sch xgcvalues.sch \
429@@ -49,7 +52,7 @@
430 xlibSTUBS.sch xtextitem.sch xtextitem16.sch xtimecoord.sch \
431 xlibTYPES.sch xvisualinfo.sch xwindowattributes.sch \
432 xwindowchanges.sch xwmhints.sch xpixmapformatvalues.sch \
433- xtextproperty.sch
434+ xtextproperty.sch $(xdschextra)
435
436
437 xdc = depth.c screen.c visual.c xarc.c xchar2b.c xcharstruct.c \

Subscribers

People subscribed via source and target branches

to all changes: