Hi all,
I'm going to implement a couple of changes which I'm rumbling about from
a while and I 'd like to share some thoughts.
* Short summary (and quick rationale)
-------------------------------------
1) Add an option (enabled by default) to install versioned files,
enabling parallel installation, (e.g. like gstreamer et. al does).
See below for an example.
2) Get rid at least partially of our static linking mess and ship
some of our internal libraries as shared but private.
See below for an example.
NEITHER OF THE ABOVE WILL AFFECT THE avi* TOOLS!
Because they changes much more slowly and because I wanto to avoid (as
much as is possible) hurting the people who already need only them
(think the transcode-tools package).
* Discussion
------------
* 1. versioned installation
---------------------------
In order to foster and/or make easier the 1.2.0 spread, and also to fix
of some major annoyances when installing more than one transcode (e.g.
for development), the idea is to install executables, plugin dir and
documentation with the version number embedded.
Example of the new proposed installation tree
${TRANSCODE_PREFIX}
|-- bin
| |-- avi*
| |-- tccat-1.2
| |-- tcdecode-1.2
| |-- tcmodinfo-1.2
| |-- ...
| `-- transcode-1.2
|-- lib
| `-- transcode-1.2
| `-- *.so
`-- share
|-- doc
| `-- transcode-1.2
|-- man
| `-- man1
| |-- avi*
| |-- tccat-1.2.1
| |-- tcdecode1.2.1
| |-- transcode-1.2.1
| |-- ...
| `-- transcode_import-1.2.1
`-- transcode-1.2
|-- modules.cfg
`-- profiles
|-- dvd-ntsc.cfg
|-- dvd-pal.cfg
|-- svcd-ntsc.cfg
|-- svcd-pal.cfg
|-- vcd-ntsc.cfg
|-- vcd-pal.cfg
|-- xvcd-ntsc.cfg
`-- xvcd-pal.cfg
I've to figure out some details about the manpages, but that's the core
idea. I think given the fact that an option is provided to use the old
unversioned scheme, this change should be much more worth than
trouble :)
Of course modules (e.g. import_mpeg2) will use the versioned name if
avalaible.
For point #2 of the above, see the next email.
Comments and discussion always welcome.
--
Francesco Romani // Ikitt
http://fromani.exit1.org ::: transcode homepage
http://tcforge.berlios.de ::: transcode experimental forge