Solved Libreoffice language-packs are not availabel as packages - bad for new user

HI;

At least libreoffice-sv is not available as a package , I dont know status for other languages.

A newbie trying to set up a FreeBSD environment is requiered to install PORTs from Github
And manually do

# cd /usr/ports/editors/libreoffice.sv ; make install

to get the local language pack online.
this is an obstacle to FreeBSD adoption , and I want to endorse that libreoffice language packs be made available as packages.

Regards
 
Strange, I actually install only my country's language pack because it has the main software as dependency...

Code:
[7:24][fmc000@tu45b-freebsd ~]$ pkg prime-origins|grep libreoffice     
editors/libreoffice-it
[14:11][fmc000@tu45b-freebsd ~]$
 
Yeah , Freshports shows package sv-libreoffice not availbel in Quaterly Repository .
Likely explains why I dont find it .
Tried again now pointing to latest Repos - and now it works.
 
BTW: why is the Port called editors/libreoffice-sv while the Package is named sv-libreoffice ?
For pkg name, maybe because to match "practical" naming rules for localized versions. For example, category japanese has japanese/libreoffice which its pkg name is ja-libreoffice. Seen in other languages having its own category like arabic, chinese and french (and more), including other softwares.

On the other hand, naming ports directory like editors/sv-libreoffice makes it hard to find language packs for editors/libreoffice in editors category, which don't have their specific category.

Note that ports for language packs are defining
Code:
LO_I18N=    sv
LO_HAS_HELPPACK=    yes
and includes
Code:
.include "${.CURDIR}/../../editors/libreoffice/Makefile.i18n"

.include <bsd.port.mk>
and defines prefix for its pkg as below.
Code:
PKGNAMEPREFIX=    ${LO_I18N}-

And base name of the pkg is defined like below
Code:
PORTNAME=    libreoffice
in ediors/libreoffice Makefile.common, which is included by editors/libreoffice/Makefile.i18n.
 
Back
Top