Hi everyone
Today I try to determine how to remove two unwanted wordbook files from libreoffice/extras/source/wordbook:
hu_AkH11.dic and sl.dic.
These foreign language (incomplete) dics should be removed, unless they are used in some unit test.
Bug 139961, 68576 etc
Can be removed? OK?
Using master build
I deleted the files and then realized I needed to make two blank files with their names
hu_AkH11.dic and sl.dic.
Surely removal cant be as easy as:
Searching opengrok for hu_AkH11.dic
Editing 3 code files to remove mention of hu_AkH11.dic
Recompiling
(trying now)
…
// Z
user@user:/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice$ ./autogen.sh --with-distro=LibreOfficeLinux --disable-online-update --disable-breakpad 2>&1 > log.autogen.txt
configure: WARNING: Clang compiler not found.
config.status: error: cannot find input file: `.vscode/vs-code-template.code-workspace.in'
Error running configure at ./autogen.sh line 321.
user@user:/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice$ ./configure --with-package-format=deb --enable-epm --enable-release-build --enable-dbgutil --srcdir=/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice --enable-option-checking=fatal --with-help=html --with-lang=el 2>&1 > log_configure-help=html-lang=el.enable-epm-dbgutil
configure: WARNING: Clang compiler not found.
config.status: error: cannot find input file: `.vscode/vs-code-template.code-workspace.in'
user@user:/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice$ make 2>&1 > log.make.txt
/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/unoidl/source/sourceprovider-parser.y:13.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
13 | %pure-parser
| ^~~~~~~~~~~~
| %define api.pure
/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/unoidl/source/sourceprovider-parser.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/connectivity/source/parse/sqlbison.y: warning: 13 shift/reduce conflicts [-Wconflicts-sr]
/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/connectivity/source/parse/sqlbison.y: warning: 15 reduce/reduce conflicts [-Wconflicts-rr]
/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/connectivity/source/parse/sqlbison.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
/usr/bin/cp: cannot stat '/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/extras/source/wordbook/hu_AkH11.dic': No such file or directory
make[1]: *** [/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/solenv/gbuild/Package.mk:35: /media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/instdir/share/wordbook/hu_AkH11.dic] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:289: build] Error 2
// C
...
[build XSL] templates/wizard/styles/xos/content.xml
[build XSL] templates/wizard/styles/xos/settings.xml
[build XSL] templates/wizard/styles/xos/styles.xml
[build XSL] templates/wizard/styles/xos/META-INF/manifest.xml
[build CPY] templates/wizard/styles/xos/Thumbnails/thumbnail.png
/usr/bin/cp: cannot stat '/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/extras/source/wordbook/sl.dic': No such file or directory
make[1]: *** [/media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/solenv/gbuild/Package.mk:35: /media/user/4f6ea6ab-e43a-4aff-bd8d-42d86e840bad/lo/libreoffice/instdir/share/wordbook/sl.dic] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:289: build] Error 2
=============================================
I created two blank files, hu_AkH11.dic and sl.dic. , and it builds OK
No mention of two blank dic files
(thesaurus.dic.png)
--
Alex Tao
Alex Tao
Tao Submarines and Systems
Chios
Aegean Sea
Attachment:
thesaurus.dic.png
Description: PNG image