| Newsgroups |
gmane.linux.lfs.beyond.devel,gmane.linux.lfs.devel |
| Message-ID |
<[email protected]> |
On Wed, 2025-09-03 at 19:52 -0500, Bruce Dubbs wrote:
> I just finished moving pcre2 from BLFS to LFS needed by grep and less.
>
> By my count we now have 98 packages in LFS. The process has made me think that
> perhaps we should have a few more that are used very frequently in BLFS. Here is a
> list for discussion:
>
> sqlite: see https://wiki.linuxfromscratch.org/lfs/ticket/5784
> We probably want to add libarchive to get unzip for the sqlite documentation.
> There are 38 references to libarchive in BLFS.
> We also may want to consider just archiving the separate zip and unzip packages
> in BLFS. Are they useful?
unzip is already archived, now /usr/bin/unzip is a symlink to bsdunzip
from libarchive.
Zip should still be useful: a zip archive produced by bsdtar is not
recognized by some implementations, like PHP zip module. So if a
website wants you to upload a .zip file you may have to use zip. Also
libarchive does not provide a "bsdzip" that we can directly use as a
drop-in.
libarchive also has libxml2 and lzo as optional dependencies, but I
don't think they are very useful. For the XAR format it can use expat
instead of libxml2, and for lzo ... have you really seen a lzo
compressed file in these years?? I even want to archive it from BLFS.
BLFS claims btrfs-progs "requires" it but actually it can be disabled
using --disable-lzo:
AC_ARG_ENABLE([lzo],
AS_HELP_STRING([--disable-lzo], [build without lzo compression support (btrfs-restore, btrfs-receive, mkfs.btrfs) (default: enabled)]),
[], [enable_lzo=yes]
)
> libxml2: It's not strictly necessary for LFS, but there are 64 references
> to it in BLFS.
The problem is we need to build it with ICU to satisfy QtWebEngine, but
ICU is rather heavy. If we don't move ICU too we can only "copy"
libxml2, not moving it.
The point I want to move sqlite is to avoid rebuilding Python 3 in BLFS,
and I don't want to make libxml2 yet another package we have to
rebuild...
--
Xi Ruoyao <[email protected]>
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page