unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Guile-Config 0.1 Released
@ 2016-02-16  9:19 Alex Sassmannshausen
  2016-02-17  7:28 ` Arne Babenhauserheide
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Sassmannshausen @ 2016-02-16  9:19 UTC (permalink / raw
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

Hello,

I have the pleasure of officially announcing the first release of
Guile-Config.

Guile Config is a library providing a declarative approach to application
configuration specification.  The library provides clean configuration
declaration forms, and processors that take care of:

- Configuration file creation
- Configuration file parsing
- Command-line parameter parsing using getopt-long
- Basic GNU command-line parameter generation (--help, --usage, --version)
- Output generation for (compiled from the configuration declaration):
  + --help and --usage
  + --version

You can download the release tarball at:
  http://alex.pompo.co/software/guile-config-0.1.tar.gz

You can find the git repository at:
  https://github.com/a-sassmannshausen/guile-config

Both addresses may well be augmented soon to Savannah based addresses.

You should only need Guile to perform the usual
  ./configure && make && make install

Documentation can be found as an info manual that is part of the
tarball.

You can also conveniently install guile-config using Guix:
  guix package -i guile-config

(the patch for guile-config is pending, so the above command will not
work yet — but it should in a few days).

Any feedback or comments welcome.

Happy hacking!

Alex

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 212 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guile-Config 0.1 Released
  2016-02-16  9:19 Guile-Config 0.1 Released Alex Sassmannshausen
@ 2016-02-17  7:28 ` Arne Babenhauserheide
  2016-02-17  7:43   ` Alex Sassmannshausen
  0 siblings, 1 reply; 5+ messages in thread
From: Arne Babenhauserheide @ 2016-02-17  7:28 UTC (permalink / raw
  To: alex.sassmannshausen; +Cc: guile-user

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

Hi Alex,

Alex Sassmannshausen writes:

> I have the pleasure of officially announcing the first release of
> Guile-Config.

That’s great!

> You can download the release tarball at:
>   http://alex.pompo.co/software/guile-config-0.1.tar.gz
> You can also conveniently install guile-config using Guix:
>   guix package -i guile-config

Is there a recommended way to use this in my project when my users don’t
use Guix?

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 298 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guile-Config 0.1 Released
  2016-02-17  7:28 ` Arne Babenhauserheide
@ 2016-02-17  7:43   ` Alex Sassmannshausen
  2016-02-17 16:51     ` Barry Fishman
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Sassmannshausen @ 2016-02-17  7:43 UTC (permalink / raw
  To: Arne Babenhauserheide; +Cc: guile-user

Hi Arne,

Arne Babenhauserheide writes:

> Hi Alex,
>
> Alex Sassmannshausen writes:
>
>> I have the pleasure of officially announcing the first release of
>> Guile-Config.
>
> That’s great!
>
>> You can download the release tarball at:
>>   http://alex.pompo.co/software/guile-config-0.1.tar.gz
> …
>> You can also conveniently install guile-config using Guix:
>>   guix package -i guile-config
>
> Is there a recommended way to use this in my project when my users don’t
> use Guix?

You should be able to do the usual GNU installation procedure of:
- download tarball
- untar
- run ./configure && make && make install

You may need to install some additional build tools for this, but
outside build tools the only dependency should be guile.

HTH, let me know if you run into problems with that :-)

Alex



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guile-Config 0.1 Released
  2016-02-17  7:43   ` Alex Sassmannshausen
@ 2016-02-17 16:51     ` Barry Fishman
  2016-02-17 17:33       ` Alex Sassmannshausen
  0 siblings, 1 reply; 5+ messages in thread
From: Barry Fishman @ 2016-02-17 16:51 UTC (permalink / raw
  To: Alex Sassmannshausen; +Cc: guile-user


On 2016-02-17 08:43:43 +0100, Alex Sassmannshausen wrote:
> Arne Babenhauserheide writes:
>> Is there a recommended way to use this in my project when my users don’t
>> use Guix?
>
> You should be able to do the usual GNU installation procedure of:
> - download tarball
> - untar
> - run ./configure && make && make install
>
> You may need to install some additional build tools for this, but
> outside build tools the only dependency should be guile.
>
> HTH, let me know if you run into problems with that :-)

Is there a public repository for this software?

The configure fails on any guile 2.1. Part of the problem seems to be
that configure script does not like to put stuff under 2.2 but just 2.0.

After installing in 2.0.11, I found that the Texinfo file had:

@dircategory Guile
@direntry
* Guile Config: (Config).       Declarative program configuration
@end direntry

but the info file is not Config or Config.info, but conf.info.

As a general side note, not specific to this modules:

it seems unnecessarily hard to install packages using the current
configure environment.  This is in spite of the fact that when one
installs a packages there must already have a working guile present,
which presumably knows more about its install environment that a lot of
sed/m4/bash/whatever twisty code.

Unlike most other high level environments, Guile seem to insist on using
this junk which makes distributing the code far more complex that the
writing it in the first place.

Then with each Guile update, one seems to need to start over,
considering how many guile modules fail to pass their tests, usually
having nothing to do with the code itself.  Currently the popular
failure involves trying to:

(primitive-load "/bin/sh")

for some inexplicable reason.

Personally I just use GNU make and some:

sitedir = $(shell guile-config sitedir)

style assignments.

Having a standard configure environment based on Guile producing generic
Makefiles would be useful.  Even after the current style configure
completes the resulting Makefiles seem to be far more complicated than
necessary for a guile module.

It seems that a general GNU configure environment based on Guile is
becoming increasingly remote as Guile moves from a simple to build
extension language to a complex multi-language environment, too far down
the build dependency chain to use.

--
Barry Fishman



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guile-Config 0.1 Released
  2016-02-17 16:51     ` Barry Fishman
@ 2016-02-17 17:33       ` Alex Sassmannshausen
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Sassmannshausen @ 2016-02-17 17:33 UTC (permalink / raw
  To: Barry Fishman; +Cc: guile-user

Hi Barry,

Barry Fishman writes:

> On 2016-02-17 08:43:43 +0100, Alex Sassmannshausen wrote:
>> Arne Babenhauserheide writes:
>>> Is there a recommended way to use this in my project when my users don’t
>>> use Guix?
>>
>> You should be able to do the usual GNU installation procedure of:
>> - download tarball
>> - untar
>> - run ./configure && make && make install
>>
>> You may need to install some additional build tools for this, but
>> outside build tools the only dependency should be guile.
>>
>> HTH, let me know if you run into problems with that :-)
>
> Is there a public repository for this software?

As per my original email, the public repository is currently hosted on
github at:
  https://github.com/a-sassmannshausen/guile-config

> The configure fails on any guile 2.1. Part of the problem seems to be
> that configure script does not like to put stuff under 2.2 but just 2.0.

huh.  Interesting.  Thanks for testing, I'll look into that in the near
future.

> After installing in 2.0.11, I found that the Texinfo file had:
>
> @dircategory Guile
> @direntry
> * Guile Config: (Config).       Declarative program configuration
> @end direntry
>
> but the info file is not Config or Config.info, but conf.info.

Quite right — that is an oversight on my part due to some recent
namespace changing.  I've made a new release tarball and uploaded it to
the site.

The URL for it is:
  http://alex.pompo.co/software/guile-config-0.1.1.tar.gz

> As a general side note, not specific to this modules:
>
> [...]

I certainly sympathise with the perspective that packaging Guile modules
is currently… cumbersome.  Unfortunately I do not feel qualified to say
much beyond that, as I don't understand build systems well enough.

I'll leave to others, more knowledgeable than I am, to comment on these
thoughts.

Thanks for testing, and for your feedback!

Best wishes,
Alex



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-17 17:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-16  9:19 Guile-Config 0.1 Released Alex Sassmannshausen
2016-02-17  7:28 ` Arne Babenhauserheide
2016-02-17  7:43   ` Alex Sassmannshausen
2016-02-17 16:51     ` Barry Fishman
2016-02-17 17:33       ` Alex Sassmannshausen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).