View previous topic :: View next topic |
Author |
Message |
cafaia n00b
Joined: 11 Oct 2014 Posts: 61 Location: Frederico Westphalen/Brasil
|
Posted: Tue Apr 23, 2024 2:42 pm Post subject: FLAGS removed from many programs [SOLVED] |
|
|
Hello everybody!
In recent days I have seen that many FLAGS are being removed from many programs and PORTAGE warns that if we want more resources we have to install extra programs.
Message like this from the 'sys-apps/inxi-3.3.33.1' program:
Code: | Optional features as suggested by inxi --recommends:
net-wireless/bluez-tools for bt-adapter: -E bluetooth data (if no hciconfig, btmgmt)
app-admin/doas for doas: -Dx hddtemp-user; -o file-user (alt for sudo)
sys-apps/ipmitool for ipmitool: -s IPMI sensors (servers)
sys-libs/freeipmi for ipmi-sensors: -s IPMI sensors (servers)
sys-apps/sysvinit for runlevel: -I fallback to Perl
dev-util/vulkan-tools for vulkaninfo: -G Vulkan API info
app-misc/wayland-utils for wayland-info: -G Wayland data (not for X)
x11-misc/wmctrl for wmctrl: -S active window manager (fallback) |
I wonder if it wouldn't be better to make FLAGS available for these extra resources and if this is now part of the Gentoo rules...
I thank you in advance for everyone's attention!
Last edited by cafaia on Tue Apr 23, 2024 8:22 pm; edited 1 time in total |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9612 Location: beyond the rim
|
Posted: Tue Apr 23, 2024 3:05 pm Post subject: |
|
|
For that specific example I only see three conditional dependencies in the older ebuilds, compared to about two dozen optional dependencies mentioned in postinst. Using use-flags just to control optional runtime dependencies is questionable (without any impact on the build process), as this will result in completely pointless package rebuilds (as the resulting binary doesn't change). Basically we're talking about plugins here, not dependencies.
Don't know what the current official policy regarding that is though. But given that there is a dedicated eclass for this I'd guess the new approach reflects the current policy. |
|
Back to top |
|
|
cafaia n00b
Joined: 11 Oct 2014 Posts: 61 Location: Frederico Westphalen/Brasil
|
Posted: Tue Apr 23, 2024 4:36 pm Post subject: |
|
|
Hello Genone!
First of all, I want to thank you for your attention, thank you very much!
My concern is that WORLD will have programs that will be secondary, I may be thinking about meta EBUILDS, in which additional programs are installed.
Another example I cite is the app-misc/recoll-1.37.4-r1 program, which for me would be more interesting to have FLAGS that install these additional programs:
Code: | >>> Messages generated by process 404438 on 2024-04-21 12:12:40 -03 for package app-misc/recoll-1.37.4-r1:
LOG: postinst
Install additional packages for optional runtime features:
app-text/tesseract for PDF files with OCR support
app-text/antiword for MS Word files support
app-office/lyx for Lyx files support
dev-python/rarfile for RAR archives support
dev-python/pylzma for 7zip archives support
dev-python/icalendar for iCalendar files support
app-text/pstotext for Postscript files support
app-text/unrtf for RTF files support
virtual/tex-base for TeX files support
virtual/tex-base for DVI files support
media-libs/mutagen for tags in audio files support
media-libs/exiftool for tags in image files support |
Of course, I understand the new policy of the current ECLASS, what I would like to do is just discuss it...
Big hug and thanks again for the clarification! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Tue Apr 23, 2024 7:07 pm Post subject: |
|
|
cafaia,
You can make your own set to keep world smaller.
Consider the set called recoll-options, call it what you will.
List the packages you would like from Code: | Install additional packages for optional runtime features:
app-text/tesseract for PDF files with OCR support
app-text/antiword for MS Word files support
app-office/lyx for Lyx files support
dev-python/rarfile for RAR archives support
dev-python/pylzma for 7zip archives support
dev-python/icalendar for iCalendar files support
app-text/pstotext for Postscript files support
app-text/unrtf for RTF files support
virtual/tex-base for TeX files support
virtual/tex-base for DVI files support
media-libs/mutagen for tags in audio files support
media-libs/exiftool for tags in image files support | then Code: | emerge @recoll-options |
The listed packages in recoll-options will be installed and @recoll-options added to world.
Its a little like a meta package. If you want to go the whole meta package route, you can write the recoll-meta ebuild and add it to your overlay.
Now you can invent the USE flags that you would like too, if they do not already exist. You might even contribute the ebuild to ::gentoo. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
cafaia n00b
Joined: 11 Oct 2014 Posts: 61 Location: Frederico Westphalen/Brasil
|
Posted: Tue Apr 23, 2024 8:21 pm Post subject: |
|
|
Hello NeddySeagoon!
Thank you very much for your attention and suggestions, I thought about this too after I opened the topic, or creating a SET or my own EBUILD...
Of course, I was also looking for the new ECLASS policy, so I really appreciate you both for your help and clarifications!
Big hug to both of you and thank you very much once again! |
|
Back to top |
|
|
|