On 2 May 2012 05:54, Olivier Bilodeau <[email protected]> wrote:
> Hi Lex,
>
> Thanks for the reply.
>
>>> I would like to update the fedora package for asciidoc as our software's
>>> documentation requires an asciidoc >= 8.6.2 to be built and fedora still
>>> ships with 8.4.5 (even in rawhide).
>>>
>>> One of the patches no longer applies cleanly and I wanted to see if it
>>> was implemented upstream or not. It's called datadir (see attached
>>> asciidoc-8.4.5-datadir.patch). And I couldn't figure it out..
>>
>> Hi,
>>
>> No its not integrated, but I can't figure out what it is trying to achieve?
>>
>> Note, the handling of all plugins was unified in 8.6.6 for backends,
>> filters and themes and that is probably why it doesn't apply.  With
>> this change the patch might not be required any more or it will need
>> to be completely re-written depending on what it is trying to do.
>>
>
> It seems to put most of asciidoc's files under /usr/share/asciidoc/
> instead of /etc/asciidoc/ in order to align with the Filesystem
> Hierarchy Standard (FHS)[1]. Which says:
>
> "The /etc hierarchy contains configuration files. A "configuration file"
> is a local file used to control the operation of a program; it must be
> static and cannot be an executable binary."
>
> Is it something that asciidoc supports through it's Makefile now?
>
> In any case, I'll look at what the debian package does and I'll update
> the spec accordingly.

Hi,

Ok, I see, it is high time distros stopped just dumping stuff in one
directory, but that gripe is OT for this list :)

On my machine it looks like debian configured it with prefix=/usr
datadir=/usr/share/asciidoc sysconfdir=/etc/asciidoc

But they must also have changed progsymlink to rename and not link the
"executables" asciidoc and a2x since they are python files without an
extension (bad Karma there too :(

Good luck.

Cheers
Lex

>
> [1]: http://www.pathname.com/fhs/pub/fhs-2.3.html
> --
> Olivier Bilodeau
> [email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
> (www.packetfence.org)
>
> --
> You received this message because you are subscribed to the Google Groups 
> "asciidoc" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/asciidoc?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to