Discussion:
[9fans] bzip2
(too old to reply)
Jeff Sickel
2012-12-29 02:44:33 UTC
Permalink
Is there any particular reason that /sys/src/cmd/bzip2/lib/mkfile
pulls in /sys/src/cmd/mksyslib instead of /sys/src/cmd/mklib? And
for that matter, is there a reason that libbzip2.a is created when
the bzip2 utilities are built but not copied to /$objtype/lib?

-jas
erik quanstrom
2012-12-29 03:01:07 UTC
Permalink
Post by Jeff Sickel
Is there any particular reason that /sys/src/cmd/bzip2/lib/mkfile
pulls in /sys/src/cmd/mksyslib instead of /sys/src/cmd/mklib? And
for that matter, is there a reason that libbzip2.a is created when
the bzip2 utilities are built but not copied to /$objtype/lib?
it might be influenced by the fact that compression wants to be
part of libflate (flate(2)). so it seemed like a bad idea to have two
compression libraries.

the question i have is, why isn't bzip2 part of libflate?

- erik
Richard Miller
2012-12-29 10:30:36 UTC
Permalink
Post by Jeff Sickel
is there a reason that libbzip2.a is created when
Post by Jeff Sickel
the bzip2 utilities are built but not copied to /$objtype/lib?
...
the question i have is, why isn't bzip2 part of libflate?
/sys/src/cmd/bzip2/LICENSE might offer a clue.
erik quanstrom
2012-12-29 14:02:42 UTC
Permalink
Post by Richard Miller
Post by Jeff Sickel
is there a reason that libbzip2.a is created when
Post by Jeff Sickel
the bzip2 utilities are built but not copied to /$objtype/lib?
...
the question i have is, why isn't bzip2 part of libflate?
/sys/src/cmd/bzip2/LICENSE might offer a clue.
it appears to be a reworked four-clause bsd license. (drop
notice on binary distribution; add notice of alteration.)

wikipedia claims that bzip2 is open source.

maybe i'm missing something, but i don't see the problem
with the license. is there something specific you see?

- erik
Richard Miller
2012-12-29 14:31:58 UTC
Permalink
Post by erik quanstrom
Post by Richard Miller
/sys/src/cmd/bzip2/LICENSE might offer a clue.
maybe i'm missing something, but i don't see the problem
with the license. is there something specific you see?
No, that's why I said "might". It's just that the separate
license shows that it's an import, so there might have
been an intention to keep it distinct from /$objtype/lib
which is all (well, nearly all) original Plan 9 software.

Loading...