Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libreoffice: versions, license - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Mon Oct 17, 2022 8:38 pm    Post subject: libreoffice: versions, license - SOLVED Reply with quote

I'm trying to clean up my system. No obsolete packages, everything looks fine. One thing bothers me that during these updates one message tells me to enable use flag base for libreoffice.
Code:
 equery uses libreoffice
does not even have "base" as a USE flag.
Quote:
janos@andraslinux ~ $ qlist -IRv | grep office
acct-group/libreoffice-0::gentoo
acct-user/libreoffice-0::gentoo
app-office/dia-0.97.3-r1::gentoo
app-office/libreoffice-7.3.6.2::gentoo
app-office/libreoffice-l10n-7.3.6.2::gentoo
app-office/planner-0.14.6_p20130520-r2::gentoo
app-text/libstaroffice-0.0.7::gentoo
janos@andraslinux ~ $
is confusing as if I have two libreoffice packages installed (same with
Code:
eix-installed all | grep office
Even more confusing is that I cannot even deselect "libreoffice-l10n-7.3.6.2" or "libstaroffice" because of something like no atom, etc.
Then I did
Code:
emerge --deselect libreoffice
- OK, no error.
But then (maybe a mistake) I tried
Quote:
andraslinux /etc/portage # emerge -a libreoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] app-office/libreoffice-7.3.6.2

!!! The following installed packages are masked:
- media-libs/faac-1.30::gentoo (masked by: MPEG-4 license(s))
A copy of the 'MPEG-4' license is located at '/var/db/repos/gentoo/licenses/MPEG-4'.

- app-text/mpage-2.5.6-r1::gentoo (masked by: freedist license(s))
A copy of the 'freedist' license is located at '/var/db/repos/gentoo/licenses/freedist'.

- sys-kernel/linux-firmware-20220913-r2::gentoo (masked by: || ( ) linux-fw-redistributable license(s))
A copy of the 'linux-fw-redistributable' license is located at '/var/db/repos/gentoo/licenses/linux-fw-redistributable'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No] No

Quitting.

andraslinux /etc/portage #
That is strange, because in my /etc/portage/make.conf file:
Quote:

## JGK 10/17/2022 for mjpegtools quicktime license
ACCEPT_LICENSE="MPEG-4"
##

## JGK 10/17/2022 for libreoffice emerge
ACCEPT_LICENSE="freedist"
ACCEPT_LICENSE="linux-fw-redistributable"
ACCEPT_LICENSE="no-source-code"
##
Now I'm stuck. Can anybody please help? - janos/jankom

Last edited by jankom on Tue Nov 29, 2022 3:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55369
Location: 56N 3W

PostPosted: Mon Oct 17, 2022 8:55 pm    Post subject: Reply with quote

jankom,


Code:
[I] app-office/libreoffice
     Available versions:  *7.3.4.2-r1^t{tbz2} 7.3.6.2^t{tbz2} **7.3.9999*l^t **9999*l^t {accessibility base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird googledrive gstreamer +gtk java kde ldap +mariadb odk pdfimport postgres test vulkan LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" PYTHON_SINGLE_TARGET="python3_8 python3_9 python3_10 python3_11"}
     Installed versions:  7.3.6.2^t{tbz2}(18:18:18 03/10/22)(branding clang cups dbus gtk mariadb vulkan -accessibility -base ...
takes USE=base.
Set it if you want the database component to work.

libreoffice-l10n is pulled in by app-office/libreoffice. It's not in world, at least, it shouldn't be, so you cant deselect it.

Code:
ACCEPT_LICENSE="freedist"
ACCEPT_LICENSE="linux-fw-redistributable"
ACCEPT_LICENSE="no-source-code"
works but its messy. It can be a space separated list, like USE.

Code:
- media-libs/faac-1.30::gentoo (masked by: MPEG-4 license(s))
A copy of the 'MPEG-4' license is located at '/var/db/repos/gentoo/licenses/MPEG-4'.

You are missing that license.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Mon Oct 17, 2022 10:58 pm    Post subject: Reply with quote

MPEG-4 license is in /var/ldb/repos/gentoo/licenses
Code:
andraslinux /var/db/repos/gentoo/licenses # file MPEG-4
MPEG-4: ASCII text

I rearranged /etc/portage/make.conf (relevant section):
Quote:
## JGK 10/17/2022 for mjpegtools quicktime license
ACCEPT_LICENSE="MPEG-4"
##

## JGK 10/17/2022 for libreoffice emerge
ACCEPT_LICENSE="MPEG-4" "freedist"
##
Now it is twice listed.
But
Code:
andraslinux /etc/portage # emerge -a libreoffice
"/etc/portage/make.conf", line 62: Unexpected EOF
andraslinux /etc/portage #
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Mon Oct 17, 2022 11:06 pm    Post subject: Reply with quote

There's a syntax error in your make.conf.

Try
Code:
ACCEPT_LICENSE="MPEG-4 freedist"

instead of
Code:
ACCEPT_LICENSE="MPEG-4" "freedist"

If you don't care about licenses, use
Code:
ACCEPT_LICENSE="*"
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Tue Oct 18, 2022 12:52 am    Post subject: Reply with quote

Great! Those stupid quotation marks. Yes, I changed the ACCEPT_LICENSE part to include all concatenated - space separated - license acceptance including the repeated MPEG-4, and now the emerge is working hard.
Thanks. I learned again something - janos/jankom
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Tue Oct 18, 2022 1:41 pm    Post subject: base Reply with quote

OK, libreoffice finally compiled and it works. However, I'm still confused.
Quote:
>>> Installing (1 of 1) app-office/libreoffice-7.3.6.2::gentoo
* Updating icons cache ... [ ok ]
* Updating .desktop files database ... [ ok ]
* Updating shared mime info database ... [ ok ]
* Updating icons cache ... [ ok ]
* Updating .desktop files database ... [ ok ]
* Updating shared mime info database ... [ ok ]

>>> Recording app-office/libreoffice in "world" favorites file...

* Messages for package app-office/libreoffice-7.3.6.2:
* Log file: /var/log/portage/log/app-office:libreoffice-7.3.6.2:20221018-004824.log

* If you plan to use Base application you must enable USE base.

* GNU info directory index is up-to-date.
andraslinux /etc/portage # geany

yet, quoting from /etc/portagepackage.use file
Quote:
## JGK - 01/14/2022: based on gentoo forum posting
app-office/libreoffice base java firebird

and I can open the base option from the general main menu.
Also,
Code:
janos@andraslinux ~ $ equery uses libreoffice
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-office/libreoffice-7.3.6.2:
 U I
 - - accessibility                               : Add support for
                                                   accessibility (eg 'at-spi'
                                                   library)
 + + bluetooth                                   : Enable Bluetooth Support
 + + branding                                    : Enable Gentoo specific
                                                   branding
 - - clang                                       : Use Clang compiler instead
                                                   of GCC
 + + cups                                        : Add support for CUPS (Common
                                                   Unix Printing System)
 - - custom-cflags                               : Build with user-specified
                                                   CFLAGS (unsupported)
 + + dbus                                        : Enable dbus support for
                                                   anything that needs it
                                                   (gpsd, gnomemeeting, etc)
 - - debug                                       : Enable extra debug
                                                   codepaths, like asserts and
                                                   extra output. If you want to
                                                   get meaningful backtraces
                                                   see https://wiki.gentoo.org/
                                                   wiki/Project:Quality_Assuran
                                                   ce/Backtraces
 - - eds                                         : Enable support for
                                                   Evolution-Data-Server (EDS)
 - - googledrive                                 : Enable support for remote
                                                   files on Google Drive
 - - gstreamer                                   : Add support for
                                                   media-libs/gstreamer
                                                   (Streaming media)
 + + gtk                                         : Add support for
                                                   x11-libs/gtk+ (The GIMP
                                                   Toolkit)
 + + java                                        : Add support for Java
 - - kde                                         : Add support for software
                                                   made by KDE, a free software
                                                   community
 - - ldap                                        : Add LDAP support
                                                   (Lightweight Directory
                                                   Access Protocol)
 - - libreoffice_extensions_nlpsolver            : LIBREOFFICE_EXTENSIONS
                                                   option to build non-linear
                                                   solver for calc
 - - libreoffice_extensions_scripting-beanshell  : LIBREOFFICE_EXTENSIONS
                                                   option to build beanshell
                                                   scripts parser
 - - libreoffice_extensions_scripting-javascript : LIBREOFFICE_EXTENSIONS
                                                   option to build javascript
                                                   scripts parser
 - - libreoffice_extensions_wiki-publisher       : LIBREOFFICE_EXTENSIONS
                                                   option to build mediawiki
                                                   integration
 + + mariadb                                     : Prefer mariadb connector
                                                   over mysql connector
 - - odk                                         : Build the Office Development
                                                   Kit
 - - pdfimport                                   : Enable PDF import via the
                                                   Poppler library
 - - postgres                                    : Add support for the
                                                   postgresql database
 + + python_single_target_python3_10             : Build for Python 3.10 only
 - - python_single_target_python3_8              : Build for Python 3.8 only
 - - python_single_target_python3_9              : Build for Python 3.9 only
 - - test                                        : Enable dependencies and/or
                                                   preparations necessary to
                                                   run tests (usually
                                                   controlled by FEATURES=test
                                                   but can be toggled
                                                   independently)
 - - vulkan                                      : Enable Vulkan usage via the
                                                   skia library (clang
                                                   recommended)
janos@andraslinux ~ $
There is no such thing as "base"
Just curious.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2223

PostPosted: Tue Oct 18, 2022 1:54 pm    Post subject: Re: base Reply with quote

jankom wrote:
There is no such thing as "base"
Just curious.


There most certainly is:

Code:
emerge -pvO app-office/libreoffice

These are the packages that would be merged, in order:

[ebuild  N     ] app-office/libreoffice-7.3.6.2::gentoo  USE="branding cups dbus gtk mariadb -accessibility -base -bluetooth -clang -coinmp -custom-cflags -debug -eds -firebird -googledrive -gstreamer -java -kde -ldap -odk -pdfimport -postgres -test -vulkan" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11" 372,412 KiB


Something is preventing equery from seeing it for you, but I do see it. emerge is the ultimate authority here and it does exist.
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Tue Oct 18, 2022 2:16 pm    Post subject: Reply with quote

I get nearly the same thing
Code:
andraslinux /etc/portage # emerge -pvO app-office/libreoffice

These are the packages that would be merged, in order:

[ebuild   R    ] app-office/libreoffice-7.3.6.2::gentoo  USE="bluetooth branding cups dbus gtk java mariadb -accessibility (-base) -clang (-coinmp) -custom-cflags -debug -eds (-firebird) -googledrive -gstreamer -kde -ldap -odk -pdfimport -postgres -test -vulkan" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 (-python3_11)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
andraslinux /etc/portage #
Shall I try editing my package.use file from "base" to "+base"? Maybe a stupid question. The meaning of "-" is "not set"? and the meaning of (-base) with parenthesis is "optional" or "not in default otptions", therefore the "+" confirms the need for it?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55369
Location: 56N 3W

PostPosted: Tue Oct 18, 2022 2:34 pm    Post subject: Reply with quote

jankom,

The brackets around the USE flag (-base) means that the state is forced. Off in this case.
That's done in your profile or in your local changes to your profile.

If you had been editing your profile in /etc/portage/profile you would know, so what does
Code:
eselect profile list
show?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Tue Oct 18, 2022 2:56 pm    Post subject: profile Reply with quote

Code:
andraslinux /home/janos # eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/17.1 (stable)
  [2]   default/linux/amd64/17.1/selinux (stable)
  [3]   default/linux/amd64/17.1/hardened (stable)
  [4]   default/linux/amd64/17.1/hardened/selinux (stable)
  [5]   default/linux/amd64/17.1/desktop (stable) *
  [6]   default/linux/amd64/17.1/desktop/gnome (stable)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable)
  [8]   default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (dev)
  [9]   default/linux/amd64/17.1/desktop/plasma (stable)
  [10]  default/linux/amd64/17.1/desktop/plasma/systemd (stable)
  [11]  default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (dev)
  [12]  default/linux/amd64/17.1/desktop/systemd (stable)
  [13]  default/linux/amd64/17.1/desktop/systemd/merged-usr (dev)
  [14]  default/linux/amd64/17.1/developer (exp)
  [15]  default/linux/amd64/17.1/no-multilib (stable)
  [16]  default/linux/amd64/17.1/no-multilib/hardened (stable)
  [17]  default/linux/amd64/17.1/no-multilib/hardened/selinux (stable)
  [18]  default/linux/amd64/17.1/no-multilib/systemd (dev)
  [19]  default/linux/amd64/17.1/no-multilib/systemd/merged-usr (dev)
  [20]  default/linux/amd64/17.1/no-multilib/systemd/selinux (exp)
  [21]  default/linux/amd64/17.1/systemd (stable)
  [22]  default/linux/amd64/17.1/systemd/merged-usr (dev)
  [23]  default/linux/amd64/17.1/systemd/selinux (exp)
  [24]  default/linux/amd64/17.1/clang (exp)
  [25]  default/linux/amd64/17.1/systemd/clang (exp)
  [26]  default/linux/amd64/17.0 (dev)
  [27]  default/linux/amd64/17.0/selinux (exp)
  [28]  default/linux/amd64/17.0/hardened (exp)
  [29]  default/linux/amd64/17.0/hardened/selinux (exp)
  [30]  default/linux/amd64/17.0/desktop (exp)
  [31]  default/linux/amd64/17.0/desktop/gnome (dev)
  [32]  default/linux/amd64/17.0/desktop/gnome/systemd (exp)
  [33]  default/linux/amd64/17.0/desktop/plasma (dev)
  [34]  default/linux/amd64/17.0/desktop/plasma/systemd (exp)
  [35]  default/linux/amd64/17.0/developer (exp)
  [36]  default/linux/amd64/17.0/no-multilib (exp)
  [37]  default/linux/amd64/17.0/no-multilib/hardened (exp)
  [38]  default/linux/amd64/17.0/no-multilib/hardened/selinux (exp)
  [39]  default/linux/amd64/17.0/systemd (dev)
  [40]  default/linux/amd64/17.0/x32 (dev)
  [41]  default/linux/amd64/17.0/musl (dev)
  [42]  default/linux/amd64/17.0/musl/clang (exp)
  [43]  default/linux/amd64/17.0/musl/hardened (exp)
  [44]  default/linux/amd64/17.0/musl/hardened/selinux (exp)
andraslinux /home/janos #

OK. Maybe my system is swrewed up. Initially (a couple of years ago) I installed Gentoo on my home Fitlet2 machine. Previously I had an old 32 bit desktop with fedora-3 and then CentOS-6. So when I installed Gentoo on the new machine I was not familiar with gentoo. Now I'm learning and love it; I build my customized OS.
Long story short: I use OpneRC, not systemd. yet systemd is in my profile. I thinl, my profile is #174.
What should be the correct profile setting?
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Tue Oct 18, 2022 3:29 pm    Post subject: Reply with quote

CORRECTION: Profile is 171 - janos/jankom
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5828
Location: Bavaria

PostPosted: Tue Oct 18, 2022 5:50 pm    Post subject: Reply with quote

jankom wrote:
CORRECTION: Profile is 171 - janos/jankom

Your profile is #5 because here is the *
Code:
  [5]   default/linux/amd64/17.1/desktop (stable) *


jankom wrote:
I get nearly the same thing [...]

Shall I try editing my package.use file from "base" to "+base"? [...]

No ! You will see (base) because you have a stable system (amd64). If you would have an unstable system (~amd64) you would see:
Code:
# ACCEPT_KEYWORDS="~amd64" emerge -pv libreoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-office/libreoffice-7.3.6.2::gentoo  USE="branding cups dbus kde mariadb -accessibility -base -bluetooth -clang -coinmp -custom-cflags -debug -eds -firebird -googledrive -gstreamer -gtk -java -ldap -odk -pdfimport -postgres -test -vulkan" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


Usually unstable versions of most applications are greater than stable versions. But at the moment libreoffice-7.3.6.2 is the only version for stable AND unstable. Look here:
Code:
# eix libreoffice

[...]

[I] app-office/libreoffice
     Verfügbare Versionen:   *7.3.4.2-r1^t 7.3.6.2^t **7.3.9999*l^t **9999*l^t {accessibility base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird googledrive gstreamer +gtk java kde ldap +mariadb odk pdfimport postgres test vulkan LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" PYTHON_SINGLE_TARGET="python3_8 python3_9 python3_10 python3_11"}
     Installierte Versionen: 7.3.6.2^t(05:08:56 11.10.2022)(branding cups dbus kde mariadb -accessibility -base -bluetooth -clang -coinmp -custom-cflags -debug -eds -firebird -googledrive -gstreamer -gtk -java -ldap -odk -pdfimport -postgres -test -vulkan LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11")
     Startseite:             https://www.libreoffice.org
     Beschreibung:           A full office productivity suite

[...]


The reason for being unstable is here:
Quote:
# Andreas Sturmlechner <asturm@gentoo.org> (2020-10-05)
# REQUIRED_USE="base? ( firebird )", dev-db/firebird is not stable
app-office/libreoffice base


P.S.: In file: /var/db/repos/gentoo/profiles/arch/amd64/package.use.stable.mask


Last edited by pietinger on Tue Oct 18, 2022 8:26 pm; edited 2 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55369
Location: 56N 3W

PostPosted: Tue Oct 18, 2022 7:44 pm    Post subject: Reply with quote

jankom,

If you really want to build libreoffice with USE=base you can unmask the base USE flag, just on libreoffice.
When you do that, portage will complain that there are no stable versions of dev-db/firebird and stop.

Then you can accept the testing version of dev-db/firebird ... then rinse and repeat until it either builds or you get a slot conflict because two different things want tow different versions of the same thing installed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2390

PostPosted: Tue Oct 18, 2022 7:48 pm    Post subject: Reply with quote

equery u needs --forced-masked to show masked flags.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5828
Location: Bavaria

PostPosted: Tue Oct 18, 2022 8:13 pm    Post subject: Reply with quote

sam_ wrote:
equery u needs --forced-masked to show masked flags.

Sam,

how does this work ? (Maybe I am too stupid)

I tried:

Code:
# equery --forced-masked u libreoffice
# equery u libreoffice --forced-masked
# equery u --forced-masked libreoffice


A look into manpage doesnt say a word about it ... :?:
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Tue Oct 18, 2022 8:44 pm    Post subject: Reply with quote

OK, thanks.
Quote:
P.S.: In file: /usr/portage/profiles/arch/amd64/package.use.stable.mask
I do not have /usr/portage directory.

As far as "base" is concerned I'm still confused.
The /etc/portage/package.use file does have "base java firebird" specified - see my earlier quotes from that file. Yet
Code:
eix libreoffice
shows (partially quoted):
Quote:
[I] app-office/libreoffice
Available versions: 7.3.4.2-r1^t 7.3.6.2^t **7.3.9999*l^t **9999*l^t {accessibility base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird googledrive gstreamer +gtk java kde ldap +mariadb odk pdfimport postgres test vulkan LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" PYTHON_SINGLE_TARGET="python3_8 python3_9 python3_10 python3_11"}
Installed versions: 7.3.6.2^t(08:45:29 10/18/22)(bluetooth branding cups dbus gtk java mariadb -accessibility -base -clang -coinmp -custom-cflags -debug -eds -firebird -googledrive -gstreamer -kde -ldap -odk -pdfimport -postgres -test -vulkan LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11")
Homepage: https://www.libreoffice.org
Description: A full office productivity suite
that is for installed version "...-base ... -firebird..." (those are negated). Does that mean that the version is such, not the actual installation? If so then why firebird does not show up in the drop down list of base of "Connect to existing database". If the base component is available to me then why firebird is not, i.e. how do I know which USE flags were honored at compilation? See also earlier section that "base" is not even shown in the output of "equery uses libreoffice" command? Actually, neither does firebird. Maybe I should remove "java" from the package.use file because it is already included in the "installed version"? Having java there together with base and firebird confuses the system???
Something is not clear.

janos/jankom
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55369
Location: 56N 3W

PostPosted: Tue Oct 18, 2022 8:57 pm    Post subject: Reply with quote

jankom,

Code:
/usr/portage/
is the old default location of the ::gentoo repo.
Its now in
Code:
/var/db/repos/gentoo/
by default.

/etc/portage/package.use cannot on its own, affect forced USE flags. Its required to set them but first you must remove the forcing to be free to set them.

Make a file
Code:
/etc/portage/profile/package.use.mask/libreoffice
containing
Code:
app-office/libreoffice -base -firebird
to reverse the masking.

Then you can go down the package.accept_kewords rabbit hole

Code:
emerge -pv libreoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-office/libreoffice-7.3.6.2::gentoo  USE="branding clang cups dbus gtk mariadb vulkan -accessibility (-base) -bluetooth (-coinmp) -custom-cflags -debug -eds (-firebird) -googledrive -gstreamer -java -kde -ldap -odk -pdfimport -postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 (-python3_11)" 0 KiB


Notice (-base) (-firebird) they are both forced off.
When you fix the profile, they will become active and can be set in the normal way.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5828
Location: Bavaria

PostPosted: Tue Oct 18, 2022 10:18 pm    Post subject: Reply with quote

jankom,

sorry for giving you the wrong directory (yes, it is the old one, like Neddy explained).



Neddy,

wouldn't it be better to install the "unstable" version of libre-office and then only set "base" in his Use-flags ?

Instead of unmasking these flags in the stable version, I would work with the unstable:

Code:
/etc/portage/package.accept_keywords
=>
app-office/libreoffice ~amd64
dev-db/firebird ~amd64

/etc/portage/package.use
=>
app-office/libreoffice base firebird
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Tue Nov 29, 2022 3:21 pm    Post subject: Closing this thread as SOLVED Reply with quote

Finally my libreoffice installation works well. As far as licensing is concerned see masked by MPEG04 license - SOLVED.
I also had to emerge mariadb, and now I can work in an .odb file residing on a remote machine, having the database on the mysql server on the remote machine, and accessing the file on my home network from a fuse mounted directory.

Thanks again for all who have commented and helped.

Janos/jankom


Last edited by jankom on Wed Nov 30, 2022 7:45 pm; edited 2 times in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23584

PostPosted: Tue Nov 29, 2022 4:06 pm    Post subject: Re: Closing this thread as SOLVED Reply with quote

jankom wrote:
Finally my libreoffice installation works well. As far as licensing is concerned see my topic
Quote:

masked by MPEG04 license - SOLVED
.
You can use [topic] instead of [quote] to cite other threads, causing the forum to automatically link to them, so that readers do not need to search for the topic by title.
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Wed Nov 30, 2022 3:18 pm    Post subject: Hu, Reply with quote

Edited my post, but did I do it correctly? Thanks anyway for the suggestion.

Where is the detailed documentation (user manual) of this forum? I wouls like to find out how to use emoticon, what is GLSA, cose Tags, etc. So far I did things trial and error.

Thanks Janos/jankom
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23584

PostPosted: Wed Nov 30, 2022 4:26 pm    Post subject: Re: Hu, Reply with quote

jankom wrote:
As far as licensing is concerned see https://forums.gentoo.org/viewtopic-t-1159375-highlight-.html.
jankom wrote:
Edited my post, but did I do it correctly?
No, you did not. According to the forum's documentation (available as the link BBCode in the left margin of the posting page), specifically Linking within the forums, you want [topic=topic-id-number]text-to-put-in-post[/topic]. In this case, that would be [topic=1159375]masked by MPEG04 license - SOLVED[/topic], which would render as masked by MPEG04 license - SOLVED.
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Wed Nov 30, 2022 7:49 pm    Post subject: Reply with quote

Done, and thanks again! :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum