Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913848 - x11-misc/xscreensaver-6.07: no file of OCRAStd.otf with USE=fonts enabled
Summary: x11-misc/xscreensaver-6.07: no file of OCRAStd.otf with USE=fonts enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pascal Jäger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-08 05:37 UTC by Yixun Lan
Modified: 2023-09-08 12:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2023-09-08 05:37:36 UTC
make[1]: Leaving directory '/var/tmp/portage/x11-misc/xscreensaver-6.07/work/xscreensaver-6.07/po'
removed '/var/tmp/portage/x11-misc/xscreensaver-6.07/image/usr/share/fonts/xscreensaver/gallant12x22.ttf'
rm: cannot remove '/var/tmp/portage/x11-misc/xscreensaver-6.07/image/usr/share/fonts/xscreensaver/OCRAStd.otf': No such file or directory
 * ERROR: x11-misc/xscreensaver-6.07::gentoo failed (install phase):
 *   (no error message)
 *


Reproducible: Always
Comment 1 Yixun Lan archtester gentoo-dev 2023-09-08 05:43:28 UTC
this will fix the problem, but can you confirm OCRA.ttf having same license issue? so we should delete it?

if yes, then I can help to push the fix to portage tree.. 

--- a/x11-misc/xscreensaver/xscreensaver-6.07.ebuild
+++ b/x11-misc/xscreensaver/xscreensaver-6.07.ebuild
@@ -221,7 +221,7 @@ src_install() {

        if use fonts; then
                # Do not install fonts with unclear licensing
-               rm -v "${ED}${FONTDIR}"/{gallant12x22.ttf,OCRAStd.otf} || die
+               rm -v "${ED}${FONTDIR}"/{gallant12x22.ttf,OCRA.ttf} || die
Comment 2 Florian Schmaus gentoo-dev 2023-09-08 08:14:58 UTC
Debian has fonts-ocr-a [1] which contains a file OCRA.ttf. According do Debian's licensing information, it is in the "Public Domain". The shasum of /usr/share/fonts/truetype/ocr-a/OCRA.ttf from fonts-ocr-a_1.0-10_all.deb is

  5e0446db73c05a3b8826533fed6192e932e66cb9

The shasum of hacks/fonts/OCRA.ttf of xscreensaver 6.07 is

  d221493fa6a960cce7418b57c453013a66099573

So the two do not match.

But I feel like we may still be looking at the some source of origin.

Alternatively, we could wait till Debian updates https://salsa.debian.org/debian/xscreensaver/-/blob/master/debian/copyright#L8 when they package xscreensaver 6.07.

1: https://tracker.debian.org/pkg/fonts-ocr-a
Comment 3 Larry the Git Cow gentoo-dev 2023-09-08 12:04:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193ea947caa4cbe902ace8a0b54d91c878d281bb

commit 193ea947caa4cbe902ace8a0b54d91c878d281bb
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-09-08 12:04:03 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-09-08 12:04:03 +0000

    x11-misc/xscreensaver: fix fonts removal
    
    Closes: https://bugs.gentoo.org/913848
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 x11-misc/xscreensaver/xscreensaver-6.07.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)