aboutsummaryrefslogtreecommitdiffstats
path: root/PACKAGING
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-24 19:21:38 +0000
committerDavid Robillard <d@drobilla.net>2011-05-24 19:21:38 +0000
commita38e6092f2f7562786aef99bde5a5986f5fc57b6 (patch)
tree2f7473643fc4b12d784293ea5adf55410a5a96ce /PACKAGING
parentf8f5624a4df07c388567d112fba243dd88482eeb (diff)
downloadserd-a38e6092f2f7562786aef99bde5a5986f5fc57b6.tar.gz
serd-a38e6092f2f7562786aef99bde5a5986f5fc57b6.tar.bz2
serd-a38e6092f2f7562786aef99bde5a5986f5fc57b6.zip
Add PACKAGING file
git-svn-id: http://svn.drobilla.net/serd/trunk@194 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'PACKAGING')
-rw-r--r--PACKAGING29
1 files changed, 29 insertions, 0 deletions
diff --git a/PACKAGING b/PACKAGING
new file mode 100644
index 00000000..3eced169
--- /dev/null
+++ b/PACKAGING
@@ -0,0 +1,29 @@
+This library is designed to allow parallel installation of different major
+versions. To facilitate this, the shared library name, include directory, and
+pkg-config file are suffixed with the major version number of the library.
+
+For example, if this library was named "foo" and at version 1.x.y:
+
+/usr/include/foo-1/foo/foo.h
+/usr/lib/foo-1.so.1.x.y
+/usr/lib/pkgconfig/foo-1.pc
+
+Dependencies check for pkg-config name "foo-1" and will build
+against a compatible version 1, regardless any other installed versions.
+
+*** IMPORTANT GUIDELINES FOR PACKAGERS ***
+
+Packages should follow the same conventions as above, i.e. include the major
+version (and only the major version) in the name of the package. Continuing the
+example above, the package(s) would be named foo-1 and foo-1-dev. This way,
+if/when version 2 comes out, it may be installed at the same time as version 1
+without breaking anything.
+
+Please do not create packages of this library that do not follow these
+guidelines, you will break things and cause unnecessary headaches. Please do
+not use any number as a suffix other than the actual major version number of the
+upstream source package.
+
+Because program and documentation names are not versioned, these should be
+included in separate packages which may replace previous versions, since
+there is little use in having parallel installations of them. \ No newline at end of file