9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kris Maglione <bsdaemon@comcast.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Announce: standalone libixp
Date: Sat, 30 Jun 2007 12:47:16 -0400	[thread overview]
Message-ID: <20070630164716.GQ28917@kris.home> (raw)
In-Reply-To: <20070630153814.GA17008@nibiru.local>

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

On Sat, Jun 30, 2007 at 05:38:14PM +0200, Enrico Weigelt wrote:
>I've just finished my standlone libixp package (forked from wmii).

There's no need to 'fork' it from wmii, it's always been 
available standalone, the latest snapshot just happens to be 
distributed with wmii.

>It's an completely standalone package with no deps (beside libc),
>provides pkg-config descriptor and shared library. Include files
>are installed in their own subdir ($INCLUDEDIR/9p-ixp).

I really see no need to create a separate include directory.  
There are only 2 include files, ixp.h and ixp_fcall.h (the 3 new 
ones for the threading stubs don't count. There's really no need 
for them).

I really don't see the need for pkg-config either. It's designed 
for libraries that are so insanely complex that you need helpers 
just to build or link against them:

%pkg-config --cflags --libs gnome
-DNEED_GNOMESUPPORT_H -I/usr/local/include/gnome-1.0 -I/usr/local/include -I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/X11R6/include  -L/usr/local/lib -lgnome -lgnomesupport -lintl -lesd -laudiofile -lm -lglib-12  

As for the shared object, I just don't see the point. If you 
provide it as a shared object, then people will use the shared 
object rather than statically linking it. I can't see any point 
in that. It's tiny, on purpose, and is meant to be statically 
linked. The only case where I see a point in a shared object is 
when it's used to interface with an interperater, and I'm not 
sure that justifies installing one by default.

Lastly, you wrote a gmakefile.

-- 
Kris Maglione

In a hierarchical system, the rate of pay varies
inversely with the unpleasantness and difficulty
of the task.

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

  reply	other threads:[~2007-06-30 16:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-30 15:38 Enrico Weigelt
2007-06-30 16:47 ` Kris Maglione [this message]
2007-06-30 16:50   ` Kris Maglione
2007-06-30 17:30   ` Enrico Weigelt
2007-06-30 17:41     ` Kris Maglione
2007-07-01 12:50       ` Enrico Weigelt
2007-07-01 16:15         ` Iruata Souza
2007-07-01 10:11     ` Charles Forsyth
     [not found]     ` <dba1bd02516b1cfbf4119d7c567ec8e9@terzarima.net>
2007-07-01 12:42       ` Enrico Weigelt
2007-06-30 16:47 ` Uriel
2007-07-01 23:22   ` Roman Shaposhnik
2007-07-02  0:45     ` Enrico Weigelt
2007-07-03  3:50       ` Roman Shaposhnik
2007-07-03  4:09         ` Kris Maglione
2007-07-03 15:10         ` Enrico Weigelt
2007-07-03 19:45           ` Federico Benavento
2007-07-03 20:31           ` Jonathan Cast
2007-07-03 21:14             ` Wes Kussmaul
2007-07-03 21:51           ` Martin Neubauer
2007-07-03 23:16             ` Enrico Weigelt
2007-07-04  3:36               ` Iruata Souza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070630164716.GQ28917@kris.home \
    --to=bsdaemon@comcast.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).