From: Ian Jackson Date: Tue, 29 Mar 2016 21:53:52 +0000 (+0100) Subject: Drop a lot of -l options from xduplic-copier. X-Git-Tag: archive/debian/5.0.0~36 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=commitdiff_plain;h=da9328975b6b0158ee0bc6aabe3d1a0fbe884000;hp=2cc287fb570f7ae032e12cdbfbd77d4489e7566b Drop a lot of -l options from xduplic-copier. 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. --- diff --git a/cprogs/Makefile b/cprogs/Makefile index 9545aba..0e60a4f 100644 --- a/cprogs/Makefile +++ b/cprogs/Makefile @@ -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 diff --git a/debian/changelog b/debian/changelog index c62d944..3875da6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 29 Mar 2016 22:35:23 +0100