Git Product home page Git Product logo

gpo-xdch47's People

Contributors

charlzklug avatar lima-limon-inc avatar sophietheopossum avatar xdch47 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gpo-xdch47's Issues

Adding fonts to libreoffice (online)

I can emerge corefonts and other font packages on my gentoo server, and they appear in the fontslist within libreoffice-online. But as soon as one new font is chosen, the text in the document disapears. May this be a problem with access rights on the fonts? Do you happen to know how to correctly install fonts for libreoffice-online?

Consider adding dev-python/lxml as a dependency for www-apps/loolwsd

Otherwise it cannot be configured:

>>> Emerging (1 of 1) www-apps/loolwsd-7.0.1.1-r1::xdch47
>>> Failed to emerge www-apps/loolwsd-7.0.1.1-r1, Log file:
>>>  '/var/tmp/portage/www-apps/loolwsd-7.0.1.1-r1/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.16, 1.01, 1.41
 * Package:    www-apps/loolwsd-7.0.1.1-r1
 * Repository: xdch47
 * USE:        abi_x86_64 amd64 elibc_glibc filecaps kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking loolwsd-7.0.1.1.tar.gz to /var/tmp/portage/www-apps/loolwsd-7.0.1.1-r1/work
>>> Source unpacked in /var/tmp/portage/www-apps/loolwsd-7.0.1.1-r1/work
>>> Preparing source in /var/tmp/portage/www-apps/loolwsd-7.0.1.1-r1/work/loolwsd-7.0.1.1 ...
 * Applying 0001-loolconfig-adjust-path-for-systemplate.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-apps/loolwsd-7.0.1.1-r1/work/loolwsd-7.0.1.1 ...
 * econf: updating loolwsd-7.0.1.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating loolwsd-7.0.1.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/sha
re --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/loolwsd-7.0.1.1-r1 --htmld
ir=/usr/share/doc/loolwsd-7.0.1.1-r1/html --with-sysroot=/ --libdir=/usr/lib64 --with-lo-path=/usr/lib64/libreoffice --with-lokit-path=/usr/include/L
ibreOfficeKit --with-logfile=/var/log/loolwsd/loolwsd.log --with-vendor=gentoo overlay - xdch47 --with-info-url=https://github.com/xdch47/gpo-xdch47/
tree/master/www-apps/loolwsd --with-max-connections 20 --with-max-documents 10 --disable-setcap --disable-werror --enable-anonymization
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes
checking for setcap... /sbin/setcap
checking for lxml for python3... no
configure: error: lxml for python3 is needed. It might be in a package called python3-lxml.

The ebuild also violates sandbox:

 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/tmp/portage/www-apps/loolwsd-7.0.1.1-r1/temp/sandbox.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkostemp
S: deny
P: /usr/lib64/libreoffice/share/fonts/truetype/.uuid.TMP-XXXXXX
A: /usr/lib64/libreoffice/share/fonts/truetype/.uuid.TMP-XXXXXX
R: /usr/lib64/libreoffice/share/fonts/truetype/.uuid.TMP-XXXXXX
C: fc-cache /usr/lib64/libreoffice/share/fonts/truetype 
 * --------------------------------------------------------------------------------

Is it fixable?

I made tests a noop with this patch:

--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2201,12 +2201,8 @@
 	./run_unit.sh --log-file test.log --trs-file test.trs --valgrind
 
 # run unittest during the normal build
-all-local: unittest
+all-local:
 	@echo
-	@echo "Running build-time unit tests.  For more thorough testing, please run 'make check'."
-	@echo
-	@fc-cache "@LO_PATH@"/share/fonts/truetype
-	@UNITTEST=1 ${top_builddir}/test/unittest
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

This helped with the violation.

net-im/gajim-omemo: PYTHON_COMPAT problem

cannot properly execute /var/lib/layman/xdch47/net-im/gajim-omemo/gajim-omemo-2.7.13.ebuild
     Reading category 119|178 ( 66): net-im... * ERROR: net-im/gajim-url-image-preview-2.5.7::xdch47 failed (depend phase):
 *   No supported implementation in PYTHON_COMPAT.
 * 
 * Call stack:
 *                              ebuild.sh, line 628:  Called source '/var/lib/layman/xdch47/net-im/gajim-url-image-preview/gajim-url-image-preview-2.5.7.ebuild'
 *   gajim-url-image-preview-2.5.7.ebuild, line   8:  Called inherit 'python-r1'
 *                              ebuild.sh, line 308:  Called __qa_source '/var/db/repos/gentoo/eclass/python-r1.eclass'
 *                              ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/python-r1.eclass'
 *                       python-r1.eclass, line 236:  Called _python_set_globals
 *                       python-r1.eclass, line 190:  Called _python_set_impls
 *                 python-utils-r1.eclass, line 171:  Called die
 * The specific snippet of code:
 *              die "No supported implementation in PYTHON_COMPAT."
 * 
 * If you need support, post the output of `emerge --info '=net-im/gajim-url-image-preview-2.5.7::xdch47'`,
 * the complete build log and the output of `emerge -pqv '=net-im/gajim-url-image-preview-2.5.7::xdch47'`.
 * Working directory: '/usr/lib/python3.11/site-packages'
 * S: '/gajim-url-image-preview-2.5.7'

Need to update PYTHON_COMPAT and remove unsupported python versions

Any plans to update Gitea?

There are several new version out. They have been marked with breaking changes. But 1.9.5 would be great.

Bump to libreoffice-6.3

Hi xdch47,

after updating I still can access libreoffice-administration console, but cannot open documents within my nextcloud instance.

Thanks in advance if you like to share an updated ebuild. :)

loolwsd.log:
http://dpaste.com/1BM1W1E

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.