Readme update

This commit is contained in:
2015-09-03 19:54:57 +02:00
parent e6e8b5c74a
commit 0a972a5bce

View File

@@ -86,36 +86,44 @@ In case of corrupted or no-dos images, message will be shown.
Requirements Requirements
------------ ------------
It requires the `unadf <http://freecode.com/projects/unadf>`_ utility. It requires ``unadf`` utility from `ADFlib <https://github.com/lclevy/ADFlib>`_
Unfortunately, the page containing original sources doesn't exists repository, with included `that commit
anymore. Luckily, there is a copy of the source (and useful patches) in `Debian <https://github.com/lclevy/ADFlib/commit/d36dc2f395f3e8fcee81f66bc86994e166b6140f>`_
repository <http://packages.debian.org/sid/unadf>`_. in particular, which introduced separation between filename and comment
attribute on Amiga Fast File System.
There should be one change made to the source of unadf, though. While using If it turns out that your distribution doesn't provide proper version of ADFlib,
"-lr" switch, unadf by default also displays comments next to file name, there will be a need for building it by hand.
separated by the comma. If comment or filename contains comma sign, there is no
way to distinguish where filename ends and comment starts. In ``extras``
directory there is a patch for fixing this - no comments would be displayed by
default.
First, grab the sources and Debian patches. Apply them. To do this manually, It may be done by using following steps:
extract ``unadf_0.7.11a-3.debian.tar.gz`` and ``unadf_0.7.11a.orig.tar.gz`` into
some temporary directory. Apply patches in order like in debian/patches/series #. Grab the `sources
file. Then apply patch from extras directory:: <http://http.debian.net/debian/pool/main/u/unadf/unadf_0.7.11a.orig.tar.gz>`_
and `patches
<http://http.debian.net/debian/pool/main/u/unadf/unadf_0.7.11a-3.debian.tar.gz>`_
from `Debian repository <http://packages.debian.org/sid/unadf>`_.
#. Extract ``unadf_0.7.11a-3.debian.tar.gz`` and ``unadf_0.7.11a.orig.tar.gz``
into some temporary directory::
$ mkdir temp $ mkdir temp
$ cd temp $ cd temp
$ tar zxf ~/Downloads/unadf_0.7.11a-3.debian.tar.gz $ tar zxf ~/Downloads/unadf_0.7.11a-3.debian.tar.gz
$ tar zxf ~/Downloads/unadf_0.7.11a.orig.tar.gz $ tar zxf ~/Downloads/unadf_0.7.11a.orig.tar.gz
$ cd unadf-0.7.11a $ cd unadf-0.7.11a
#. Apply Debian patches::
$ for i in `cat ../debian/patches/series`; do $ for i in `cat ../debian/patches/series`; do
> patch -Np1 < "../debian/patches/${i}" > patch -Np1 < "../debian/patches/${i}"
> done > done
#. Apply the patch from extras directory::
$ patch -Np1 < [path_to_this_repo]/extras/unadf_separate_comment.patch $ patch -Np1 < [path_to_this_repo]/extras/unadf_separate_comment.patch
$ make $ make
$ cp Demo/unadf [destination_path] $ cp Demo/unadf [destination_path]
``unadf`` binary should be placed in ``$PATH``. #. Place ``unadf`` binary under directory reachable by ``$PATH``.
For optional dms support, `xdms <http://zakalwe.fi/~shd/foss/xdms/>`_ utility is For optional dms support, `xdms <http://zakalwe.fi/~shd/foss/xdms/>`_ utility is
needed. needed.