|
a/doc/sc2mpd.txt |
|
b/doc/sc2mpd.txt |
|
... |
|
... |
361 |
- The OpenHome build system is very complicated because it works on
|
361 |
- The OpenHome build system is very complicated because it works on
|
362 |
multiple platforms and multiple language bindings.
|
362 |
multiple platforms and multiple language bindings.
|
363 |
|
363 |
|
364 |
The *sc2mpd* source comes with a shell script named _ohbuild.sh_ to help
|
364 |
The *sc2mpd* source comes with a shell script named _ohbuild.sh_ to help
|
365 |
with this. It has several functions:
|
365 |
with this. It has several functions:
|
|
|
366 |
|
366 |
- Cloning the OpenHome and checking out verified revisions
|
367 |
- Cloning the OpenHome and checking out verified revisions
|
367 |
- Applying a few minor patches to ensure that the build will work in a
|
368 |
- Applying a few minor patches to ensure that the build will work in a
|
368 |
simplified environment (e.g. without a c# compiler).
|
369 |
simplified environment (e.g. without a c# compiler).
|
369 |
- Creating a tar file of a compact trimmed tree.
|
370 |
- Creating a tar file of a compact trimmed tree.
|
370 |
- Running the build either from the cloned tree or the tar file.
|
371 |
- Running the build either from the cloned tree or the tar file.
|
|
... |
|
... |
404 |
though).
|
405 |
though).
|
405 |
|
406 |
|
406 |
After restarting *upmpdcli*, it should advertise the _Receiver_ service and
|
407 |
After restarting *upmpdcli*, it should advertise the _Receiver_ service and
|
407 |
appear in the Songcast Sender menus.
|
408 |
appear in the Songcast Sender menus.
|
408 |
|
409 |
|
|
|
410 |
==== Building a Debian package from an sc2mpd tar distribution
|
|
|
411 |
|
|
|
412 |
Here follows a synopsis of building a debian package for an sc2mpd tar
|
|
|
413 |
distribution. You'll need to replace the 1.1.1 and 20151223 versions with
|
|
|
414 |
whatever you are building. Note that the 1.1.1 value must match what you
|
|
|
415 |
have in the Debian changelog (or update the changelog).
|
|
|
416 |
|
|
|
417 |
The $distdir and $sc2mpd_src values stand for places where you store the tar
|
|
|
418 |
files and the sc2mpd (git) source tree.
|
|
|
419 |
|
|
|
420 |
mkdir sc2mpd_build
|
|
|
421 |
cd sc2mpd_build
|
|
|
422 |
cp $distdir/sc2mpd-1.1.1.tar.gz sc2mpd_1.1.1.orig.tar.gz
|
|
|
423 |
cp $distdir/openhome-sc2-20151223.tar.gz sc2mpd_1.1.1.orig-openhome.tar.gz
|
|
|
424 |
tar xzf sc2mpd_1.1.1.orig.tar.gz
|
|
|
425 |
cp -rp $sc2mpd_src/debian sc2mpd-1.1.1/
|
|
|
426 |
cd sc2mpd-1.1.1
|
|
|
427 |
mkdir openhome
|
|
|
428 |
cd openhome
|
|
|
429 |
tar xzf ../../sc2mpd_1.1.1.orig-openhome.tar.gz
|
|
|
430 |
cd ..
|
|
|
431 |
debuild
|
|
|
432 |
|
|
|
433 |
|