I am looking at fuse-3.2.0. This package has dropped autotools in favor of meson/ninja. We are still in a bit of a learning mode and I am going to present what I've found asking for comment.

sed -i '/^udev/,$ s/^/#/' util/meson.build

meson --prefix=/usr $PWD build
cd build
ninja -j1

DESTDIR=$DEST $SUDO ninja install

mv -vf /usr/lib/libfuse3.so.3 /lib
ln -sfvn ../../lib/libfuse3.so.3.2.0 /usr/lib/libfuse3.so

mv -vf /usr/bin/fusermount3  /bin
mv -vf /usr/sbin/mount.fuse3 /sbin


install -v -m755 -d $DEST/usr/share/doc/fuse-3.2.0/html

install -v -m644  ../doc/{README.NFS,kernel.txt} \
                    $DEST/usr/share/doc/fuse-3.2.0

cp -Rv ../doc/html $DEST/usr/share/doc/fuse-3.2.0

gunzip $DEST/usr/share/man/man1/fusermount3.1.gz
gunzip $DEST/usr/share/man/man8/mount.fuse.8.gz

These are the issues:

The sed removes the install of the boot script and the udev rule. I'm unsure if the udev rule (KERNEL=="fuse", MODE="0666") is required, but if that is needed, we probably should add that manually. The installation location of the files is hard coded.

meson insists that --bindir, --sbindir, etc be subdirectories of prefix.
If we change --prefix to /, then we would need to specify or move ./usr/share/man/*, /usr/lib/pkgconfig, /usr/include/fuse3. We would still need to remove/recreate /usr/lib/libfuse3.so.

The docs are not installed as a part of the ninja build and if they were, would would probably need to rename the directory to get a versioned directory name.

ninja insists on installing man pages compressed. The uncompressed files are only about 12K so the compression seems obsolete to me.

Feedback?

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to