Bug 2499516 - Review Request: libfm-extra - libfm bootstrap library for menu-cache
Summary: Review Request: libfm-extra - libfm bootstrap library for menu-cache
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/lxde/libfm
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-12 17:29 UTC by Shawn W Dunn
Modified: 2026-08-18 04:06 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
ngompa13: fedora-review?


Attachments (Terms of Use)
The .spec file difference from Copr build 10714176 to 10714205 (886 bytes, patch)
2026-07-13 16:43 UTC, Fedora Review Service
no flags Details | Diff

Description Shawn W Dunn 2026-07-12 17:29:04 UTC
SPEC URL: https://download.copr.fedorainfracloud.org/results/sfaulken/testing/fedora-rawhide-x86_64/10711298-libfm-extra/libfm-extra.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/sfaulken/testing/fedora-rawhide-x86_64/10711298-libfm-extra/libfm-extra-1.4.1-1.fc45.src.rpm

Description: glib/gio-based bootstrap library for libfm and menu-cache.  Provides some file management utilities missing in gtk+/glib.

FAS Username: sfaulken





Reproducible: Always

Comment 1 Shawn W Dunn 2026-07-12 17:50:07 UTC
Currently, in Rawhide, and the Fedora point releases, there exists a circular build dependency, with libfm and menu-cache, this hasn't previously been an issue, due to both packages existing, and there not having been any Version mismatches or ABI changes.  This circular dependency was found while attempting to package libfm-qt for EPEL10, where these packages did not already exist.

According to menu-cache upstream https://github.com/lxde/menu-cache/issues/14

Installing:

Since version 0.7.0, libmenu-cache requires libfm-extra for the
menu-cache-gen binary that generates the menu cache. Since libfm
depends on libmenu-cache, there are instructions for bootstrappers
on how to build these libraries together. First, you need to create
libfm-extra. You can easily do this by passing the '--with-extra-only'
option to the libfm configure script and by temporarily installing
libfm-extra. Then, you can successfully build libmenu-cache, followed
by building the full version of libfm.

This package satisfies this dependency, and is in line with with how other distributions are handling the issue.

Comment 2 Neal Gompa 2026-07-12 17:54:09 UTC
Taking this review.

Comment 3 Neal Gompa 2026-07-12 17:57:47 UTC
Initial spec review:

> Source0:        %{url}/archive/%{version}.tar.gz

This should be "%{url}/archive/%{version}/libfm-%{version}.tar.gz"

> BuildRequires:  gcc-c++

You are missing BRs for make, autoconf, automake, and maybe autoconf-archive (if that's used for this)?

> %{?ldconfig_scriptlets}

This does nothing across all supported Fedora and RHEL releases.

> %{_libdir}/%{name}.so.%{soname}
> %{_libdir}/%{name}.so.%{soname}.*

This can be simplified to "%{_libdir}/%{name}.so.%{soname}{,.*}"

Comment 5 Fedora Review Service 2026-07-13 16:31:39 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10714176
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2499516-libfm-extra/fedora-rawhide-x86_64/10714176-libfm-extra/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 6 Fedora Review Service 2026-07-13 16:43:20 UTC
Created attachment 2148513 [details]
The .spec file difference from Copr build 10714176 to 10714205

Comment 7 Fedora Review Service 2026-07-13 16:43:22 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10714205
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2499516-libfm-extra/fedora-rawhide-x86_64/10714205-libfm-extra/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 8 UW_Linux 2026-07-25 03:58:40 UTC Comment hidden (spam)
Comment 9 Cristian Le 2026-07-27 09:00:50 UTC
> The code built with `--with-extra-only`, including `fm-xml-file.c` and the installed public headers, is explicitly licensed under `LGPL-2.1-or-later`.

:+1: And it's not that that upstream *should* provide the license file, they *must* provide it. We can take the liberty here to add the license file in downstream until upstream accepts the patch to include it.

Tip for @uwsy1059, run locally `fedora-review -b 2499516` and you will get the full license-review breakdown (the one mentioned in the review template). It may not catch all license texts and it often misinterprets license, but it can give you a good head start for checking if the project has differently license files. Common things you should manually verify are test data providence and pre-compiled binaries.

Other 2 points, yes :+1:. The dir one is not that pressing if nothing else is expected to co-own the directory (don't remember if it would leave `%{_includedir}/libfm-1.0` folder upon uninstall though).

Some extra review points:
- One thing suspicious is why is `--disable-static` not sufficient and you have to do a `find $RPM_BUILD_ROOT -name '*.la'`?
- Can you manually do `autoreconf` instead of the `autogen.sh`?

Comment 10 UW_Linux 2026-07-27 10:06:42 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.