Package: src:cmucl
Followup-For: Bug #714655

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I create a patch for this bug.

If no reponse comes to this bug in the next week I intend to NMU this package
to fix this bug by uploading to DELAYED/7. I will update this bug at that time
accordingly.

Thanks for considering. 

- -- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (500, 'stable'), (99, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJSa6/OAAoJEJxcmesFvXUKE6MH/j2At0yvswzZAz9CzK1m59AB
OzlT9YKmnGi5TNoONU9XOeZB/gCaDpRP7iWa2i1/fmnbO0bxi9aFr4tQhdflme70
9H6dR3QWOCap0+n8E6McJCcRGulEKUZc6fTp4HUIlan48ts8wHrOzrUxCxq4ddZj
6WC9vOquoxVjGZLDmWYhbTByivh/Ad9eq5Ur958qxRYSbgj4C2aLrScjo/AFMuEa
lcDnromRBiNnrKnMPwe/CFFx7H6SI2Yds/eiOVQRbgzEd3VTle/IE3KM4jjJVKNP
Tqg7bgVS8ZvVowyllIXnmeVH+co0VR00Y3GNlvomQ4RlUb8fmcfag3YkpJfnH6g=
=xDiK
-----END PGP SIGNATURE-----
diff -Nru cmucl-20c/debian/changelog cmucl-20c/debian/changelog
--- cmucl-20c/debian/changelog	2012-01-23 12:33:24.000000000 +0100
+++ cmucl-20c/debian/changelog	2013-10-26 13:53:13.000000000 +0200
@@ -1,3 +1,14 @@
+cmucl (20c-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Transition from lesstif2 to motif (Closes: #714655)
+  * Build depend on libxt-dev (was pulled in by lesstif2 until now)
+  * Add patch to not link against libXp (it is going to be removed
+    from Debian, see bug #657253) and other unnecessary libraries
+    (libXext was no build dependency anyways)
+
+ -- Paul Gevers <elb...@debian.org>  Sat, 26 Oct 2013 13:50:06 +0200
+
 cmucl (20c-2) unstable; urgency=low
 
   * Actually reference the changelog for 20c, not 19d!
diff -Nru cmucl-20c/debian/control cmucl-20c/debian/control
--- cmucl-20c/debian/control	2012-01-17 14:47:33.000000000 +0100
+++ cmucl-20c/debian/control	2013-10-26 13:53:13.000000000 +0200
@@ -1,6 +1,6 @@
 Source: cmucl
 Section: lisp
-Build-Depends: debhelper (>= 7), lesstif2-dev, cmucl (>= 20c), hevea, tidy, a2ps, x11proto-core-dev, bc, texlive-extra-utils, texlive, texlive-latex-extra, po-debconf
+Build-Depends: debhelper (>= 7), libmotif-dev, libxt-dev, cmucl (>= 20c), hevea, tidy, a2ps, x11proto-core-dev, bc, texlive-extra-utils, texlive, texlive-latex-extra, po-debconf
 Priority: optional
 Maintainer: Debian Common Lisp Team <pkg-common-lisp-de...@lists.alioth.debian.org>
 Uploaders: Peter Van Eynde <pvane...@debian.org>
@@ -40,8 +40,6 @@
  This package contains the lisp interface to motif and
  the motifd server program that actually does the processing.
  .
- The motifd server is based on lesstif.
- .
  Included in this package is an X based replacement for the tty based
  debugger and inspector.
 
diff -Nru cmucl-20c/debian/patches/dont-link-unnessary-libs.patch cmucl-20c/debian/patches/dont-link-unnessary-libs.patch
--- cmucl-20c/debian/patches/dont-link-unnessary-libs.patch	1970-01-01 01:00:00.000000000 +0100
+++ cmucl-20c/debian/patches/dont-link-unnessary-libs.patch	2013-10-26 13:32:55.000000000 +0200
@@ -0,0 +1,32 @@
+Description: libXp isn't doing anything and going to be removed from Debian
+ Don't link against Xp as Xprint already has been removed and libXp isn't
+ doing anything useful anymore.
+ .
+ See bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657253
+ .
+ Remove other unnecessary dependencies at the same time (build dependency on
+ libXext-dev was missing from debian/control anyways):
+ dpkg-shlibdeps: warning: package could avoid a useless dependency if
+   debian/cmucl-clm/usr/lib/cmucl/motifd was not linked against libICE.so.6
+   (it uses none of the library's symbols)
+ dpkg-shlibdeps: warning: package could avoid a useless dependency if
+   debian/cmucl-clm/usr/lib/cmucl/motifd was not linked against libSM.so.6
+   (it uses none of the library's symbols)
+ dpkg-shlibdeps: warning: package could avoid a useless dependency if
+   debian/cmucl-clm/usr/lib/cmucl/motifd was not linked against libdl.so.2
+   (it uses none of the library's symbols)
+ dpkg-shlibdeps: warning: package could avoid a useless dependency if
+   debian/cmucl-clm/usr/lib/cmucl/motifd was not linked against libXext.so.6
+   (it uses none of the library's symbols)
+Author: Paul Gevers <elb...@debian.org>
+
+--- cmucl-20c.orig/src/motif/server/Config.x86
++++ cmucl-20c/src/motif/server/Config.x86
+@@ -1,6 +1,6 @@
+ CFLAGS += -O2 -I/usr/X11R6/include -I. -I$(VPATH)
+ LDFLAGS += -L/usr/X11R6/lib
+-LIBS = -lXm -lXt -lXext -lX11 -lSM -lICE -lXp -ldl -lpthread
++LIBS = -lXm -lXt -lX11 -lpthread
+ # This def assumes you are building in the same or parallel
+ # tree to the CVS souce layout. Sites may need to customize
+ # this path.
diff -Nru cmucl-20c/debian/patches/series cmucl-20c/debian/patches/series
--- cmucl-20c/debian/patches/series	2012-01-16 14:30:04.000000000 +0100
+++ cmucl-20c/debian/patches/series	2013-10-26 13:53:13.000000000 +0200
@@ -10,3 +10,4 @@
 fix-cmu-user-html-output.patch
 texlive-pdf-output-fixes.patch
 workaround-for-gcc-4.6-overoptimization
+dont-link-unnessary-libs.patch

Reply via email to