Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 252510

Summary: media-gfx/inkscape bundles a copy of libcroco
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: CONFIRMED ---    
Severity: normal CC: dilfridge, esigra, gnome, jstein, n-roeser, sam
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 251464    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-25 20:15:44 UTC
Would be nice to use the system copy instead.
Comment 1 Markus Meier gentoo-dev 2009-01-04 15:28:04 UTC
the internal copy is a more recent copy of libcroco (according to upstreams svn) and will go away when libcroco-0.47 will be released.
the diffstat between libcroco and internal copy:

 cr-additional-sel.c   |  136 +++-------
 cr-additional-sel.h   |   14 +
 cr-attr-sel.c         |   78 ++---
 cr-attr-sel.h         |    2
 cr-cascade.c          |   65 +---
 cr-declaration.c      |  210 ++++++---------
 cr-doc-handler.c      |   84 ++----
 cr-enc-handler.c      |   46 +--
 cr-enc-handler.h      |    6
 cr-fonts.c            |  252 ++----------------
 cr-input.c            |  386 +++++++++++-----------------
 cr-num.c              |   89 ++----
 cr-om-parser.c        |  130 ++++-----
 cr-parser.c           |  428 +++++++++++--------------------
 cr-parsing-location.c |   56 +---
 cr-prop-list.c        |  119 ++------
 cr-pseudo.c           |   43 ---
 cr-rgb.c              |  457 ++++++++++++++-------------------
 cr-rgb.h              |    4
 cr-sel-eng.c          |  460 +++++++++++++++-------------------
 cr-sel-eng.h          |   22 -
 cr-selector.c         |   79 +----
 cr-simple-sel.c       |   62 +---
 cr-simple-sel.h       |    6
 cr-statement.c        |  674 +++++++++++++++++---------------------------------
 cr-statement.h        |    4
 cr-string.c           |   15 -
 cr-style.c            |  101 +++----
 cr-stylesheet.c       |    4
 cr-term.c             |   38 +-
 cr-term.h             |    2
 cr-tknzr.c            |   82 ++----
 cr-token.c            |    4
 cr-utils.c            |   19 -
 cr-utils.h            |    8
 libcroco.h            |    6
 36 files changed, 1597 insertions(+), 2594 deletions(-)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-12-20 14:01:24 UTC
Ten years later, it is still bundled.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2020-05-06 20:33:52 UTC
Still bundled.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-07 04:24:56 UTC
So, I think https://gitlab.com/inkscape/libcroco may have become a de-facto successor to libcroco in general?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2022-03-03 23:31:14 UTC
(In reply to Sam James from comment #4)
> So, I think https://gitlab.com/inkscape/libcroco may have become a de-facto
> successor to libcroco in general?

Looks like it, yes. Someone more familiar with gnomish stuff should try packaging a snapshot.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2024-04-24 04:15:15 UTC
(In reply to Andreas K. Hüttel from comment #5)
> (In reply to Sam James from comment #4)
> > So, I think https://gitlab.com/inkscape/libcroco may have become a de-facto
> > successor to libcroco in general?
> 
> Looks like it, yes. Someone more familiar with gnomish stuff should try
> packaging a snapshot.

Any gnomes around?
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2024-05-05 11:53:57 UTC
Basically the build system got replaced with CMake, and all support for 
standalone install removed on the way. Hacking it back in, but that's kind 
of an unrewarding task...

See https://github.com/akhuettel/gentoo/tree/libcroco