File: library-versioning.patch

package info (click to toggle)
tse3 0.3.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,892 kB
  • sloc: cpp: 22,940; sh: 8,559; makefile: 332; perl: 47
file content (19 lines) | stat: -rw-r--r-- 1,171 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Daniel Burrows <dburrows@debian.org>
Description:
 Modify the package to build a shared library whose soname is tied to
 the current version of tse3 (via -release).  This is far less than
 ideal for a whole raft of reasons, but since upstream refuses to use
 sonames and breaks binary compatibility at will, it is the only option
 I can see for making this package sane; I now am of the opinion that
 trying to support a pure static library is worse.

--- tse3-0.3.1.orig/src/tse3/Makefile.am
+++ tse3-0.3.1/src/tse3/Makefile.am
@@ -2,6 +2,7 @@
 tse3hdir = $(pkgincludedir)
 
 lib_LTLIBRARIES = libtse3.la
+libtse3_la_LDFLAGS = -release @VERSION@
 
 libtse3_la_SOURCES = DisplayParams.cpp Error.cpp FileBlockParser.cpp Filter.cpp TSE2MDL.cpp FlagTrack.cpp KeySigTrack.cpp Metronome.cpp Midi.cpp MidiCommandFilter.cpp MidiData.cpp MidiEcho.cpp MidiFile.cpp MidiFilter.cpp MidiMapper.cpp MidiParams.cpp Mixer.cpp Mutex.cpp Notifier.cpp Panic.cpp Part.cpp Phrase.cpp PhraseEdit.cpp PhraseList.cpp Playable.cpp RepeatTrack.cpp MidiScheduler.cpp Serializable.cpp Song.cpp TempoTrack.cpp TimeSigTrack.cpp Track.cpp Transport.cpp TSE3.cpp TSE3MDL.cpp
 man_MANS = tse3.3