9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Announce: standalone libixp
Date: Sat, 30 Jun 2007 19:30:41 +0200	[thread overview]
Message-ID: <20070630173039.GB1435@nibiru.local> (raw)
In-Reply-To: <20070630164716.GQ28917@kris.home>

* Kris Maglione <bsdaemon@comcast.net> wrote:
> 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.

Ah, didn't know of that.
I just took it from wmii and changed it to my needs.

> >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 want to keep things clean and reduce pollution of /usr/include.

> 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 is an easy to use database to check for libs and get
the right flags and pathes. If evryone would use it, builds would
be much, much easier. Esoteric "tests" (like they're common in
autoconf world) are not needed anymore. Simply query pkg-config.

Especially if you don't have evrything in standard locations
(ie. on crosscompiling), there's no need for laying hands on
individual packages - just tweak pkg-config *once*.

> %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

I don't see what's the problem here. It's very easy to use.

> 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.

Don't you want people the freedom to choose what they like best ?

There are valid reasons for using shared libraries, ie. not the
need to rebuild applications on library update or saving resources.


cu
--
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------


  parent reply	other threads:[~2007-06-30 17:30 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
2007-06-30 16:50   ` Kris Maglione
2007-06-30 17:30   ` Enrico Weigelt [this message]
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=20070630173039.GB1435@nibiru.local \
    --to=weigelt@metux.de \
    --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).