* fonts.scm -> packaging "un-fonts", download isses
@ 2016-02-28 22:40 Nils Gillmann
2016-02-29 6:32 ` Ricardo Wurmus
0 siblings, 1 reply; 10+ messages in thread
From: Nils Gillmann @ 2016-02-28 22:40 UTC (permalink / raw)
To: guix-devel
I try to package/import some leftovers from gentoo I have,
currently the fontset "un-fonts".
I get some errors while trying to download it. Currently it's
based on another font package where I try to adopt my existing
ebuild into. Here is the package definition and the output:
(define-public font-un-fonts
(package
(name "font-un-fonts")
(version "1.0.2")
(source (origin
(method url-fetch)
(uri (string-append
"https://kldp.net/frs/download.php/4695/"
"un-fonts-core-" version "-080608" ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"13liaz2pmww3aqabm55la5npd08m1skh334ky7qfidxaz5s742iv"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let ((tar (string-append (assoc-ref %build-inputs "tar")
"/bin/tar"))
(PATH (string-append (assoc-ref %build-inputs "gzip")
"/bin"))
(font-dir (string-append %output "/share/fonts/truetype"))
(doc-dir (string-append %output "/share/doc/" ,name)))
(setenv "PATH" PATH)
(system* tar "xvf" (assoc-ref %build-inputs "source"))
(mkdir-p font-dir)
(mkdir-p doc-dir)
(chdir (string-append "un-fonts-ttf-" ,version))
(for-each (lambda (ttf)
(copy-file ttf
(string-append font-dir "/"
(basename ttf))))
(find-files "." "\\.ttf$"))
(for-each (lambda (doc)
(copy-file doc
(string-append doc-dir "/"
(basename doc))))
'("COPYING" "README"))))))
(native-inputs
`(("source" ,source)
("tar" ,tar)
("gzip" ,gzip)))
(home-page "https://kldp.net/projects/unfonts/")
(synopsis
"Un-fonts is a collection of Korean fonts")
(description
"Un-fonts is a family of mainly Korean fonts.
It contains the following fonts and styles:
UnBatang, UnBatangBold: serif
UnDotum, UnDotumBold: sans-serif
UnGraphic, UnGraphicBold: sans-serif style
UnDinaru, UnDinaruBold, UnDinaruLight
UnPilgi, UnPilgiBold: script
UnGungseo: cursive, brush-stroke
")
(license license:gpl2)))
the error output (to cut down the line length here) is located
here: https://ptpb.pw/EFI5
--
ng
irc://loupsycedyglgamf.onion:67/~NiAsterisk
http://loupsycedyglgamf.onion/NiAsterisk/
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fonts.scm -> packaging "un-fonts", download isses
2016-02-28 22:40 fonts.scm -> packaging "un-fonts", download isses Nils Gillmann
@ 2016-02-29 6:32 ` Ricardo Wurmus
2016-02-29 10:04 ` Nils Gillmann
0 siblings, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2016-02-29 6:32 UTC (permalink / raw)
To: Nils Gillmann; +Cc: guix-devel
Nils Gillmann <niasterisk@grrlz.net> writes:
> the error output (to cut down the line length here) is located
> here: https://ptpb.pw/EFI5
This looks like a server configuration error.
rekado in ~: wget -qS https://kldp.net/frs/download.php/4695/un-fonts-core-1.0.2-080608.tar.gz
HTTP/1.1 200 OK
Date: Mon, 29 Feb 2016 06:30:09 GMT
Server: Apache/2.2.3 (CentOS)
Strict-Transport-Security: max-age=31536000;
X-Powered-By: PHP/5.1.6
Set-Cookie: PHPSESSID=creje4c2bqduntkoqj0h78urk0; path=/
Expires: 0
Cache-Control: no-cache
Pragma: no-cache
Accept-Ranges: bytes
Content-Range: bytes 0-20117427/20117428
Content-Length: 20117428
Content-Disposition: attachment; filename*=UTF-8''un-fonts-core-1.0.2-080608.tar.gz
Last-Modified: Wed, 11 Nov 2009 02:21:19 GMT
Connection: close
Content-Type: .gz
The “Content-Type” is not a valid MIME type. Our downloader is very
strict about header validation. You might want to report this to
whoever maintains “kldp.net”, which would benefit everyone, or we could
make the header validation in the Guile HTTP client more lax.
~~ Ricardo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fonts.scm -> packaging "un-fonts", download isses
2016-02-29 6:32 ` Ricardo Wurmus
@ 2016-02-29 10:04 ` Nils Gillmann
2016-02-29 10:28 ` Nils Gillmann
0 siblings, 1 reply; 10+ messages in thread
From: Nils Gillmann @ 2016-02-29 10:04 UTC (permalink / raw)
To: guix-devel
Ricardo Wurmus <rekado@elephly.net> writes:
> Nils Gillmann <niasterisk@grrlz.net> writes:
>
>> the error output (to cut down the line length here) is located
>> here: https://ptpb.pw/EFI5
>
> This looks like a server configuration error.
>
Okay, thanks for looking into that.
> rekado in ~: wget -qS https://kldp.net/frs/download.php/4695/un-fonts-core-1.0.2-080608.tar.gz
> HTTP/1.1 200 OK
> Date: Mon, 29 Feb 2016 06:30:09 GMT
> Server: Apache/2.2.3 (CentOS)
> Strict-Transport-Security: max-age=31536000;
> X-Powered-By: PHP/5.1.6
> Set-Cookie: PHPSESSID=creje4c2bqduntkoqj0h78urk0; path=/
> Expires: 0
> Cache-Control: no-cache
> Pragma: no-cache
> Accept-Ranges: bytes
> Content-Range: bytes 0-20117427/20117428
> Content-Length: 20117428
> Content-Disposition: attachment; filename*=UTF-8''un-fonts-core-1.0.2-080608.tar.gz
> Last-Modified: Wed, 11 Nov 2009 02:21:19 GMT
> Connection: close
> Content-Type: .gz
>
> The “Content-Type” is not a valid MIME type. Our downloader is very
> strict about header validation. You might want to report this to
> whoever maintains “kldp.net”, which would benefit everyone, or we could
> make the header validation in the Guile HTTP client more lax.
>
> ~~ Ricardo
>
>
>
Thanks, I'll report it to the admin today, in the meantime: I
read this right, there's no workaround without altering our
downloader, nothing I could do in the package definition right now?
thanks,
--
ng
irc://loupsycedyglgamf.onion:67/~NiAsterisk
http://loupsycedyglgamf.onion/NiAsterisk/
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fonts.scm -> packaging "un-fonts", download isses
2016-02-29 10:04 ` Nils Gillmann
@ 2016-02-29 10:28 ` Nils Gillmann
2016-02-29 10:39 ` Ricardo Wurmus
0 siblings, 1 reply; 10+ messages in thread
From: Nils Gillmann @ 2016-02-29 10:28 UTC (permalink / raw)
To: guix-devel
Followup:
I just downloaded the debian package of the fonts and looked at
its content, particulary the README.Debian.
According to them, upstream looks dead, a licensing issue (use of
pure GPL) exists and has been reported years ago, but was never
acted upon. The Debian file was signed in May 2012.
I seriously doubt that I get an reaction to my Email, but I have
send it.
With the licensing issue, can it still be packaged? Is it legally
possible if I warn in the description that the fonts has those 3
issues?
https://packages.debian.org/sid/fonts/fonts-unfonts-core
https://fedoraproject.org/wiki/UN_fonts
--
ng
irc://loupsycedyglgamf.onion:67/~NiAsterisk
http://loupsycedyglgamf.onion/NiAsterisk/
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fonts.scm -> packaging "un-fonts", download isses
2016-02-29 10:28 ` Nils Gillmann
@ 2016-02-29 10:39 ` Ricardo Wurmus
2016-02-29 10:52 ` Nils Gillmann
0 siblings, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2016-02-29 10:39 UTC (permalink / raw)
To: Nils Gillmann; +Cc: guix-devel
Nils Gillmann <niasterisk@grrlz.net> writes:
> Followup:
>
> I just downloaded the debian package of the fonts and looked at
> its content, particulary the README.Debian.
>
> According to them, upstream looks dead, a licensing issue (use of
> pure GPL) exists and has been reported years ago, but was never
> acted upon. The Debian file was signed in May 2012.
Upstream[1] says this about the license:
2 저작권
은글꼴의 저작권은 GPL + (문서/이미지에 대한)embed 예외 조항이 포함되어
은글꼴을 사용한 출판 및 디자인에 대해 상업용,비상업용 목적으로
사용하는 데에 아무런 문제가 없습니다.
[1]: http://kldp.net/projects/unfonts
If I understand correctly, this means that the fonts are released under
GPL + embed exception (for documents / images). README.Debian seems to
be outdated. The upstream note is from 2012/12/29.
~~ Ricardo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fonts.scm -> packaging "un-fonts", download isses
2016-02-29 10:39 ` Ricardo Wurmus
@ 2016-02-29 10:52 ` Nils Gillmann
2016-02-29 12:29 ` Ricardo Wurmus
0 siblings, 1 reply; 10+ messages in thread
From: Nils Gillmann @ 2016-02-29 10:52 UTC (permalink / raw)
To: guix-devel
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> Nils Gillmann <niasterisk@grrlz.net> writes:
>
>> Followup:
>>
>> I just downloaded the debian package of the fonts and looked at
>> its content, particulary the README.Debian.
>>
>> According to them, upstream looks dead, a licensing issue (use of
>> pure GPL) exists and has been reported years ago, but was never
>> acted upon. The Debian file was signed in May 2012.
>
> Upstream[1] says this about the license:
>
> 2 저작권
>
> 은글꼴의 저작권은 GPL + (문서/이미지에 대한)embed 예외 조항이 포함되어
> 은글꼴을 사용한 출판 및 디자인에 대해 상업용,비상업용 목적으로
> 사용하는 데에 아무런 문제가 없습니다.
>
> [1]: http://kldp.net/projects/unfonts
>
> If I understand correctly, this means that the fonts are released under
> GPL + embed exception (for documents / images). README.Debian seems to
> be outdated. The upstream note is from 2012/12/29.
>
> ~~ Ricardo
>
>
Oh, that's good news, thanks.
As (license:) for the package, is it still gpl2 or is this GPL +
something I could find in fonts.scm ?
--
ng
irc://loupsycedyglgamf.onion:67/~NiAsterisk
http://loupsycedyglgamf.onion/NiAsterisk/
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fonts.scm -> packaging "un-fonts", download isses
2016-02-29 10:52 ` Nils Gillmann
@ 2016-02-29 12:29 ` Ricardo Wurmus
2016-03-04 11:53 ` Nils Gillmann
2016-03-04 13:17 ` Nils Gillmann
0 siblings, 2 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2016-02-29 12:29 UTC (permalink / raw)
To: Nils Gillmann; +Cc: guix-devel
Nils Gillmann <niasterisk@grrlz.net> writes:
> Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
>
>> Nils Gillmann <niasterisk@grrlz.net> writes:
>>
>>> Followup:
>>>
>>> I just downloaded the debian package of the fonts and looked at
>>> its content, particulary the README.Debian.
>>>
>>> According to them, upstream looks dead, a licensing issue (use of
>>> pure GPL) exists and has been reported years ago, but was never
>>> acted upon. The Debian file was signed in May 2012.
>>
>> Upstream[1] says this about the license:
>>
>> 2 저작권
>>
>> 은글꼴의 저작권은 GPL + (문서/이미지에 대한)embed 예외 조항이 포함되어
>> 은글꼴을 사용한 출판 및 디자인에 대해 상업용,비상업용 목적으로
>> 사용하는 데에 아무런 문제가 없습니다.
>>
>> [1]: http://kldp.net/projects/unfonts
>>
>> If I understand correctly, this means that the fonts are released under
>> GPL + embed exception (for documents / images). README.Debian seems to
>> be outdated. The upstream note is from 2012/12/29.
>>
>> ~~ Ricardo
>>
>>
>
> Oh, that's good news, thanks.
> As (license:) for the package, is it still gpl2 or is this GPL +
> something I could find in fonts.scm ?
I did not see any restriction to a particular version of the GPL, but I
didn’t look very carefully. If no particular version is mentioned you
can just use “gpl3+” (because “GPL” means “any version of the GPL”).
Add the embed exception in a comment above the license field.
I do suggest you check the sources once more, though. Just grep for
“GPL” and see if they mention the GPL version.
~~ Ricardo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fonts.scm -> packaging "un-fonts", download isses
2016-02-29 12:29 ` Ricardo Wurmus
@ 2016-03-04 11:53 ` Nils Gillmann
2016-03-05 0:03 ` Andreas Enge
2016-03-04 13:17 ` Nils Gillmann
1 sibling, 1 reply; 10+ messages in thread
From: Nils Gillmann @ 2016-03-04 11:53 UTC (permalink / raw)
To: guix-devel
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> Nils Gillmann <niasterisk@grrlz.net> writes:
>
>> Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
>>
>>> Nils Gillmann <niasterisk@grrlz.net> writes:
>>>
>>>> Followup:
>>>>
>>>> I just downloaded the debian package of the fonts and looked at
>>>> its content, particulary the README.Debian.
>>>>
>>>> According to them, upstream looks dead, a licensing issue (use of
>>>> pure GPL) exists and has been reported years ago, but was never
>>>> acted upon. The Debian file was signed in May 2012.
>>>
>>> Upstream[1] says this about the license:
>>>
>>> 2 저작권
>>>
>>> 은글꼴의 저작권은 GPL + (문서/이미지에 대한)embed 예외 조항이 포함되어
>>> 은글꼴을 사용한 출판 및 디자인에 대해 상업용,비상업용 목적으로
>>> 사용하는 데에 아무런 문제가 없습니다.
>>>
>>> [1]: http://kldp.net/projects/unfonts
>>>
>>> If I understand correctly, this means that the fonts are released under
>>> GPL + embed exception (for documents / images). README.Debian seems to
>>> be outdated. The upstream note is from 2012/12/29.
>>>
>>> ~~ Ricardo
>>>
>>>
>>
>> Oh, that's good news, thanks.
>> As (license:) for the package, is it still gpl2 or is this GPL +
>> something I could find in fonts.scm ?
>
> I did not see any restriction to a particular version of the GPL, but I
> didn’t look very carefully. If no particular version is mentioned you
> can just use “gpl3+” (because “GPL” means “any version of the GPL”).
> Add the embed exception in a comment above the license field.
>
> I do suggest you check the sources once more, though. Just grep for
> “GPL” and see if they mention the GPL version.
>
> ~~ Ricardo
cat COPYING:
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
(etc)
quote from the COPYING delivered with the latest packaged
version available. They might have changed the website, but they
did not update the package.
What counts for us is what we deliver, therefore the version
packaged, therefore GPL2 with no exception.
wdyt?
--
ng
irc://loupsycedyglgamf.onion:67/~NiAsterisk
https://psyced.org:34443/NiAsterisk/
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fonts.scm -> packaging "un-fonts", download isses
2016-02-29 12:29 ` Ricardo Wurmus
2016-03-04 11:53 ` Nils Gillmann
@ 2016-03-04 13:17 ` Nils Gillmann
1 sibling, 0 replies; 10+ messages in thread
From: Nils Gillmann @ 2016-03-04 13:17 UTC (permalink / raw)
To: guix-devel
Changing to archive.org as recommended does not fix the mime
type:
building path(s) `/gnu/store/7fgpnklam8v0fbklqzmgir2ryg3hb79n-font-un-fonts-1.0.2.tar.gz'
Starting download of /gnu/store/7fgpnklam8v0fbklqzmgir2ryg3hb79n-font-un-fonts-1.0.2.tar.gz
From https://web.archive.org/web/20160304052853/http://kldp.net/frs/download.php/4695/un-fonts-core-1.0.2-080608.tar.gz...
following redirection to `https://web.archive.org/web/20150807013056/http://kldp.net/frs/download.php/4695/un-fonts-core-1.0.2-080608.tar.gz'...
ERROR: Bad media-type header component: .gz
failed to download "/gnu/store/7fgpnklam8v0fbklqzmgir2ryg3hb79n-font-un-fonts-1.0.2.tar.gz" from "https://web.archive.org/web/20160304052853/http://kldp.net/frs/download.php/4695/un-fonts-core-1.0.2-080608.tar.gz"
builder for `/gnu/store/lans15ffv24v073jrjadaqs8i307369y-font-un-fonts-1.0.2.tar.gz.drv' failed to produce output path `/gnu/store/7fgpnklam8v0fbklqzmgir2ryg3hb79n-font-un-fonts-1.0.2.tar.gz'
cannot build derivation `/gnu/store/2sax0df6xyd1gazvx2wbajc7yg2lzgj6-font-un-fonts-1.0.2.drv': 1 dependencies couldn't be built
guix build: error: build failed: build of `/gnu/store/2sax0df6xyd1gazvx2wbajc7yg2lzgj6-font-un-fonts-1.0.2.drv' failed
--
ng
irc://loupsycedyglgamf.onion:67/~NiAsterisk
https://psyced.org:34443/NiAsterisk/
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2016-03-05 0:03 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-28 22:40 fonts.scm -> packaging "un-fonts", download isses Nils Gillmann
2016-02-29 6:32 ` Ricardo Wurmus
2016-02-29 10:04 ` Nils Gillmann
2016-02-29 10:28 ` Nils Gillmann
2016-02-29 10:39 ` Ricardo Wurmus
2016-02-29 10:52 ` Nils Gillmann
2016-02-29 12:29 ` Ricardo Wurmus
2016-03-04 11:53 ` Nils Gillmann
2016-03-05 0:03 ` Andreas Enge
2016-03-04 13:17 ` Nils Gillmann
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.