unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Re: svg library ideas
@ 2023-01-31  6:59 Pedro Andres Aranda Gutierrez
  0 siblings, 0 replies; 13+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2023-01-31  6:59 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

Jean Louis wrote:
>* Po Lu <luangruo@yahoo.com> [2023-01-27 16:11]:
>>  BTW, remember what I said about C and portability?  Rust is already
>>  causing problems for a new Emacs port, despite there being no Emacs code
>>  written in Rust at all.
>
>What I know is that Ice Window Manager (IceWM) uses Nanosvg:
>
>memononen/nanosvg: Simple stupid SVG parser:
>https://github.com/memononen/nanosvg

Wow, cute and clean :-)
However, I don't see it in the packages for my distro :-(
Maybe that can mean something...

/PA


-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet

[-- Attachment #2: Type: text/html, Size: 1338 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Re: svg library ideas
@ 2023-02-03  6:39 Pedro Andres Aranda Gutierrez
  2023-02-03  8:00 ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2023-02-03  6:39 UTC (permalink / raw)
  To: emacs-devel, Po Lu, Richard Stallman

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

Po Lu write:

> Building anything with Rust also involves downloading a lot of binary
code off the internet, and I am not quite comfortable with that.

And, on top, it's extremely painful in platforms were librsvg is not
available. Would it make sense to look at using the ICEWM library in Emacs
as an alternative? Downloading and compiling it as part of the process of
building Emacs seems less painful than building librsvg...

Just thinking about a summer challenge...

/PA
-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet

[-- Attachment #2: Type: text/html, Size: 1072 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-03  6:39 Re: svg library ideas Pedro Andres Aranda Gutierrez
@ 2023-02-03  8:00 ` Eli Zaretskii
  2023-02-03 11:25   ` Jean Louis
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2023-02-03  8:00 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel, luangruo, rms

> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> Date: Fri, 3 Feb 2023 07:39:04 +0100
> 
> > Building anything with Rust also involves downloading a lot of binary
> code off the internet, and I am not quite comfortable with that.
> 
> And, on top, it's extremely painful in platforms were librsvg is not available. Would it make sense to look at
> using the ICEWM library in Emacs as an alternative? Downloading and compiling it as part of the process of
> building Emacs seems less painful than building librsvg... 

AFAIU, IceWM is an X11 window manager, so how could it be an
alternative for librsvg, which is a library for displaying SVG images?



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-03  8:00 ` Eli Zaretskii
@ 2023-02-03 11:25   ` Jean Louis
  2023-02-03 12:31     ` Po Lu
                       ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Jean Louis @ 2023-02-03 11:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Pedro Andres Aranda Gutierrez, emacs-devel, luangruo, rms

* Eli Zaretskii <eliz@gnu.org> [2023-02-03 11:02]:
> > From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> > Date: Fri, 3 Feb 2023 07:39:04 +0100
> > 
> > > Building anything with Rust also involves downloading a lot of binary
> > code off the internet, and I am not quite comfortable with that.
> > 
> > And, on top, it's extremely painful in platforms were librsvg is
> > not available. Would it make sense to look at using the ICEWM
> > library in Emacs as an alternative? Downloading and compiling it
> > as part of the process of building Emacs seems less painful than
> > building librsvg...
> 
> AFAIU, IceWM is an X11 window manager, so how could it be an
> alternative for librsvg, which is a library for displaying SVG images?

IceWM uses this library:

memononen/nanosvg: Simple stupid SVG parser:
https://github.com/memononen/nanosvg


--
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-03 11:25   ` Jean Louis
@ 2023-02-03 12:31     ` Po Lu
  2023-02-03 13:37       ` Jean Louis
  2023-02-03 12:42     ` Eli Zaretskii
  2023-02-03 13:56     ` Yuri Khan
  2 siblings, 1 reply; 13+ messages in thread
From: Po Lu @ 2023-02-03 12:31 UTC (permalink / raw)
  To: emacs-devel, Jean Louis, Eli Zaretskii; +Cc: Pedro Andres Aranda Gutierrez, rms

AFAIK this library does not support embedding images inside SVG files.


On February 3, 2023 7:25:59 PM GMT+08:00, Jean Louis <bugs@gnu.support> wrote:
>* Eli Zaretskii <eliz@gnu.org> [2023-02-03 11:02]:
>> > From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
>> > Date: Fri, 3 Feb 2023 07:39:04 +0100
>> > 
>> > > Building anything with Rust also involves downloading a lot of binary
>> > code off the internet, and I am not quite comfortable with that.
>> > 
>> > And, on top, it's extremely painful in platforms were librsvg is
>> > not available. Would it make sense to look at using the ICEWM
>> > library in Emacs as an alternative? Downloading and compiling it
>> > as part of the process of building Emacs seems less painful than
>> > building librsvg...
>> 
>> AFAIU, IceWM is an X11 window manager, so how could it be an
>> alternative for librsvg, which is a library for displaying SVG images?
>
>IceWM uses this library:
>
>memononen/nanosvg: Simple stupid SVG parser:
>https://github.com/memononen/nanosvg
>
>
>--
>Jean
>
>Take action in Free Software Foundation campaigns:
>https://www.fsf.org/campaigns
>
>In support of Richard M. Stallman
>https://stallmansupport.org/
>



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-03 11:25   ` Jean Louis
  2023-02-03 12:31     ` Po Lu
@ 2023-02-03 12:42     ` Eli Zaretskii
  2023-02-03 13:56     ` Yuri Khan
  2 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2023-02-03 12:42 UTC (permalink / raw)
  To: Jean Louis; +Cc: paaguti, emacs-devel, luangruo, rms

> Date: Fri, 3 Feb 2023 14:25:59 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>,
>   emacs-devel@gnu.org, luangruo@yahoo.com, rms@gnu.org
> 
> * Eli Zaretskii <eliz@gnu.org> [2023-02-03 11:02]:
> > AFAIU, IceWM is an X11 window manager, so how could it be an
> > alternative for librsvg, which is a library for displaying SVG images?
> 
> IceWM uses this library:
> 
> memononen/nanosvg: Simple stupid SVG parser:
> https://github.com/memononen/nanosvg

Thanks.  The README says:

  This project is not actively maintained.
  [...]
  NanoSVG is a simple stupid single-header-file SVG parse.

Not sure this is good enough for us, so someone would have to
investigate and report back.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-03 12:31     ` Po Lu
@ 2023-02-03 13:37       ` Jean Louis
  0 siblings, 0 replies; 13+ messages in thread
From: Jean Louis @ 2023-02-03 13:37 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel, Eli Zaretskii, Pedro Andres Aranda Gutierrez, rms

* Po Lu <Luangruo@yahoo.com> [2023-02-03 15:33]:
> AFAIK this library does not support embedding images inside SVG files.

Maybe you could add to it?

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-03 11:25   ` Jean Louis
  2023-02-03 12:31     ` Po Lu
  2023-02-03 12:42     ` Eli Zaretskii
@ 2023-02-03 13:56     ` Yuri Khan
  2023-02-04  7:06       ` Jean Louis
  2023-02-04  7:07       ` Jean Louis
  2 siblings, 2 replies; 13+ messages in thread
From: Yuri Khan @ 2023-02-03 13:56 UTC (permalink / raw)
  To: Eli Zaretskii, Pedro Andres Aranda Gutierrez, emacs-devel,
	luangruo, rms

On Fri, 3 Feb 2023 at 18:50, Jean Louis <bugs@gnu.support> wrote:

> IceWM uses this library:
>
> memononen/nanosvg: Simple stupid SVG parser:
> https://github.com/memononen/nanosvg

Does it? In Ubuntu ≥22.04, the icewm package lists librsvg2-2 in its
runtime dependencies. (But not in 18.04 or 20.04.)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-03 13:56     ` Yuri Khan
@ 2023-02-04  7:06       ` Jean Louis
  2023-02-04  8:49         ` Eli Zaretskii
  2023-02-04  7:07       ` Jean Louis
  1 sibling, 1 reply; 13+ messages in thread
From: Jean Louis @ 2023-02-04  7:06 UTC (permalink / raw)
  To: Yuri Khan
  Cc: Eli Zaretskii, Pedro Andres Aranda Gutierrez, emacs-devel,
	luangruo, rms

* Yuri Khan <yuri.v.khan@gmail.com> [2023-02-03 16:58]:
> On Fri, 3 Feb 2023 at 18:50, Jean Louis <bugs@gnu.support> wrote:
> 
> > IceWM uses this library:
> >
> > memononen/nanosvg: Simple stupid SVG parser:
> > https://github.com/memononen/nanosvg
> 
> Does it? In Ubuntu ≥22.04, the icewm package lists librsvg2-2 in its
> runtime dependencies. (But not in 18.04 or 20.04.)

Then it changed, they upgraded it, now using that one. Sorry!
Information is not updated! ☹️

Can you use this one?

AmanithSVG, a software library for reading and rendering SVG files:
https://www.amanithsvg.com/

"It doesn't depend on third party libraries with the exception of the
C/C++ standard library and a modified version of PugiXML"


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-03 13:56     ` Yuri Khan
  2023-02-04  7:06       ` Jean Louis
@ 2023-02-04  7:07       ` Jean Louis
  1 sibling, 0 replies; 13+ messages in thread
From: Jean Louis @ 2023-02-04  7:07 UTC (permalink / raw)
  To: Yuri Khan
  Cc: Eli Zaretskii, Pedro Andres Aranda Gutierrez, emacs-devel,
	luangruo, rms

* Yuri Khan <yuri.v.khan@gmail.com> [2023-02-03 16:58]:
> On Fri, 3 Feb 2023 at 18:50, Jean Louis <bugs@gnu.support> wrote:
> 
> > IceWM uses this library:
> >
> > memononen/nanosvg: Simple stupid SVG parser:
> > https://github.com/memononen/nanosvg

And why not implement in that library embedded pictures?

Maybe is not much work to make fork or to contribute to it.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-04  7:06       ` Jean Louis
@ 2023-02-04  8:49         ` Eli Zaretskii
  2023-02-04 18:38           ` Jean Louis
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2023-02-04  8:49 UTC (permalink / raw)
  To: Jean Louis; +Cc: yuri.v.khan, paaguti, emacs-devel, luangruo, rms

> Date: Sat, 4 Feb 2023 10:06:35 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: Eli Zaretskii <eliz@gnu.org>,
>   Pedro Andres Aranda Gutierrez <paaguti@gmail.com>,
>   emacs-devel@gnu.org, luangruo@yahoo.com, rms@gnu.org
> 
> Can you use this one?
> 
> AmanithSVG, a software library for reading and rendering SVG files:
> https://www.amanithsvg.com/

That site says:

 Source Code

 In order to satisfy all the needs to have total control over the
 software, the complete AmanithSVG (along with AmanithVG) engine
 source code is always available as a licensing option.

How can we use a library that is not Free Software and whose source
code is only available "as a licensing option"?  The SDK they tell to
download includes only binaries and header files, the sources of the
library itself are indeed not available.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-04  8:49         ` Eli Zaretskii
@ 2023-02-04 18:38           ` Jean Louis
  2023-02-05  4:29             ` Richard Stallman
  0 siblings, 1 reply; 13+ messages in thread
From: Jean Louis @ 2023-02-04 18:38 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: yuri.v.khan, paaguti, emacs-devel, luangruo, rms

* Eli Zaretskii <eliz@gnu.org> [2023-02-04 11:50]:
> > Date: Sat, 4 Feb 2023 10:06:35 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: Eli Zaretskii <eliz@gnu.org>,
> >   Pedro Andres Aranda Gutierrez <paaguti@gmail.com>,
> >   emacs-devel@gnu.org, luangruo@yahoo.com, rms@gnu.org
> > 
> > Can you use this one?
> > 
> > AmanithSVG, a software library for reading and rendering SVG files:
> 
> That site says:
> 
>  Source Code
> 
>  In order to satisfy all the needs to have total control over the
>  software, the complete AmanithSVG (along with AmanithVG) engine
>  source code is always available as a licensing option.

You are right. For some reason I assumed that all software on Github
is free software, and I was reading their terms back in time and
understood, maybe wrongly, that only free software may be placed in
free accounts, and not proprietary one.

That is grave mistake.

--
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: svg library ideas
  2023-02-04 18:38           ` Jean Louis
@ 2023-02-05  4:29             ` Richard Stallman
  0 siblings, 0 replies; 13+ messages in thread
From: Richard Stallman @ 2023-02-05  4:29 UTC (permalink / raw)
  To: Jean Louis; +Cc: eliz, yuri.v.khan, paaguti, emacs-devel, luangruo

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

Most of the packages in GitHub carry no license, which means
they are non-free.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-02-05  4:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-03  6:39 Re: svg library ideas Pedro Andres Aranda Gutierrez
2023-02-03  8:00 ` Eli Zaretskii
2023-02-03 11:25   ` Jean Louis
2023-02-03 12:31     ` Po Lu
2023-02-03 13:37       ` Jean Louis
2023-02-03 12:42     ` Eli Zaretskii
2023-02-03 13:56     ` Yuri Khan
2023-02-04  7:06       ` Jean Louis
2023-02-04  8:49         ` Eli Zaretskii
2023-02-04 18:38           ` Jean Louis
2023-02-05  4:29             ` Richard Stallman
2023-02-04  7:07       ` Jean Louis
  -- strict thread matches above, loose matches on Subject: below --
2023-01-31  6:59 Pedro Andres Aranda Gutierrez

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).