chiark / gitweb /
Drop a lot of -l options from xduplic-copier.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 29 Mar 2016 21:53:52 +0000 (22:53 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 29 Mar 2016 21:53:54 +0000 (22:53 +0100)
This gets rid of a lot of these:

 dpkg-shlibdeps: warning: package could avoid a useless dependency if /home/ian/things/Chiark-utils/chiark-utils.git/debian/tmp/chiark-utils-bin/usr/bin/xduplic-copier was not linked against libXt.so.6 (it uses none of the library's symbols)

On platforms without shared library support, it may be necessary to
edit the Makefile to put them back.

cprogs/Makefile
debian/changelog

index 9545aba74ed39464f918f79296b6c0a7047769cc..0e60a4feff0be08ce41214754b4e9b99a3b92843 100644 (file)
@@ -66,8 +66,9 @@ readbuffer.o writebuffer.o rwbuffer.o wrbufcore.o trivsoundd.o:       rwbuffer.h
 
 xbatmon-simple: LDLIBS += -lX11 -lm
 
-xduplic-copier: LDLIBS += -lXmu -lSM -lICE -lXt -lXext
-xduplic-copier: LDLIBS += -lX11 -lxcb -lXau -lXdmcp
+xduplic-copier: LDLIBS += -lXmu -lX11
+#xduplic-copier: LDLIBS += -lXmu -lSM -lICE -lXt -lXext
+#xduplic-copier: LDLIBS += -lX11 -lxcb -lXau -lXdmcp
 
 summer:                summer.o
 summer:                LDLIBS += -lnettle -lgmp
index c62d944356dfbd4744c37aa43a2e838f7c58860f..3875da67505c7bc870e23571a67ccefb2196f58b 100644 (file)
@@ -5,6 +5,7 @@ chiark-utils (4.5.0~~iwj1) unstable; urgency=medium
   * Install manpage summer(1).
   * Provide more .txt `docs' (xbatmon-simple.txt, rcopy-repeatedly.txt).
   * Drop `-isp' from dpkg-gencontrol invocation.
+  * Drop a lot of -l options from xduplic-copier.
 
  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 29 Mar 2016 22:35:23 +0100