Joel Holdsworth | 1 May 2011 17:32
Picon
Gravatar

Gtk3 and libgdl

Hi All,

I'm interested in upstreaming libgdl so that we can remove it from the 
inkscape codebase, but I notice that GDL has now been ported to Gtk3. 
Are there any plans in motion to port inkscape to Gtk3. Or is this 
something I could consider involving myself with.

Best Regards
Joel Holdsworth

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
Joel Holdsworth | 1 May 2011 17:28
Picon
Gravatar

Upstreaming Inkscape's libcroco

Hi Inkscape Devs,

I've decided to take it upon myself to try and get Inkscape's libcroco
pushed upstream. I've been doing some web searching about the previous
discussions that have gone on about it:

http://mail.gnome.org/archives/libcroco-list/2007-February/msg00000.html
http://mail.gnome.org/archives/libcroco-list/2009-March/msg00001.html
https://answers.launchpad.net/inkscape/+question/123799
https://bugs.launchpad.net/debian/+source/inkscape/+bug/648246
https://bugzilla.gnome.org/show_bug.cgi?id=572454
http://bugs.gentoo.org/show_bug.cgi?id=252510

I've been doing some work pulling out the differences between inkscape
and upstream crocco into a series of tidy patches. The main differences
are the libxml split-out, fixes for compiler warnings, and a couple of
minor bug fixes.

But as you know the main issue is about splitting out libxml, and I see
that this has already been attempted
here:http://bugzilla-attachments.gnome.org/attachment.cgi?id=129078

Do anyone know anything about the status of this patch? Was is rejected
for some reason?

Best Regards
Joel Holdsworth

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
(Continue reading)

Jon Cruz | 1 May 2011 19:05
Gravatar

Re: Upstreaming Inkscape's libcroco


On May 1, 2011, at 8:28 AM, Joel Holdsworth wrote:

> I've been doing some work pulling out the differences between inkscape
> and upstream crocco into a series of tidy patches. The main differences
> are the libxml split-out, fixes for compiler warnings, and a couple of
> minor bug fixes.
> 
> But as you know the main issue is about splitting out libxml, and I see
> that this has already been attempted
> here:http://bugzilla-attachments.gnome.org/attachment.cgi?id=129078
> 
> Do anyone know anything about the status of this patch? Was is rejected
> for some reason?

One factor would be to ensure what you are starting with in Inkscape is the latest. I know that one of our guys a
while back went and did a lot of fixup to libcroco itself that needed to be pulled back down into Inkscape. I
do not believe that had yet happened.

That then moves us on into needing to determine the state of the external project. Among other things it
would be good to know what periods of time it was fallow, and when different people took up development
again (assuming that it is under active development, as it now appears to be the case).

Finally we'll need to resolve distribution needs. For example, since it is not common for lib2geom to be
installed on end-users' machines, we have that code pulled internally for building. Or perhaps we can use
a libcroco-dev package only at compile-time to get a static lib linked in.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
(Continue reading)

Josh Andler | 1 May 2011 19:10
Picon

Re: Upstreaming Inkscape's libcroco

Hey Joel,

Given your interest in this area, you may want to get in contact with Abhishek Sharma (who I've added to the discussion) as his Summer of Code project relates to our css parsing and libcroco. I'm not saying what you're doing should not be pursued, however, if he finds that keeping libcroco is the correct path, your work could free him up to doing more work on our internal css handling.

Cheers,
Josh



On Sun, May 1, 2011 at 8:28 AM, Joel Holdsworth <joel-IJEoVVyKhCJXvIrf17iDB/XRex20P6io@public.gmane.org> wrote:
Hi Inkscape Devs,

I've decided to take it upon myself to try and get Inkscape's libcroco
pushed upstream. I've been doing some web searching about the previous
discussions that have gone on about it:

http://mail.gnome.org/archives/libcroco-list/2007-February/msg00000.html
http://mail.gnome.org/archives/libcroco-list/2009-March/msg00001.html
https://answers.launchpad.net/inkscape/+question/123799
https://bugs.launchpad.net/debian/+source/inkscape/+bug/648246
https://bugzilla.gnome.org/show_bug.cgi?id=572454
http://bugs.gentoo.org/show_bug.cgi?id=252510

I've been doing some work pulling out the differences between inkscape
and upstream crocco into a series of tidy patches. The main differences
are the libxml split-out, fixes for compiler warnings, and a couple of
minor bug fixes.

But as you know the main issue is about splitting out libxml, and I see
that this has already been attempted
here:http://bugzilla-attachments.gnome.org/attachment.cgi?id=129078

Do anyone know anything about the status of this patch? Was is rejected
for some reason?

Best Regards
Joel Holdsworth


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Jon Cruz | 1 May 2011 19:11
Gravatar

Re: Gtk3 and libgdl


On May 1, 2011, at 8:32 AM, Joel Holdsworth wrote:

> Hi All,
> 
> I'm interested in upstreaming libgdl so that we can remove it from the 
> inkscape codebase, but I notice that GDL has now been ported to Gtk3. 
> Are there any plans in motion to port inkscape to Gtk3. Or is this 
> something I could consider involving myself with.

Well, we are definitely waiting for Gtk3 to stabilize and be adopted before switching to that as a
dependency. Being somewhat tied to GNOME3 is another problem, as that presents certain barriers to
adoption in and of itself. Also many of the gains we want from it (new input support and such) are not yet
implemented, so switching now will not bring us all of the eventual gains.

Along that direction, I recently updated our wiki list of distro support in the field:

http://wiki.inkscape.org/wiki/index.php/Tracking_Dependencies#Distros

At the moment it looks like Gtk+ 2.20 is going to be the safe one for us to require this year. OpenSuse will drop
support for 11.2 next month, and since Ubuntu 10.04 LTS has been out for a bit now, it is safe to ignore 8.04 LTS.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
Josh Andler | 1 May 2011 19:54
Picon

Re: Gtk3 and libgdl

On Sun, May 1, 2011 at 10:11 AM, Jon Cruz <jon-RUx6KpYSjRtAfugRpC6u6w@public.gmane.org> wrote:


On May 1, 2011, at 8:32 AM, Joel Holdsworth wrote:

> Hi All,
>
> I'm interested in upstreaming libgdl so that we can remove it from the
> inkscape codebase, but I notice that GDL has now been ported to Gtk3.
> Are there any plans in motion to port inkscape to Gtk3. Or is this
> something I could consider involving myself with.

Well, we are definitely waiting for Gtk3 to stabilize and be adopted before switching to that as a dependency. Being somewhat tied to GNOME3 is another problem, as that presents certain barriers to adoption in and of itself. Also many of the gains we want from it (new input support and such) are not yet implemented, so switching now will not bring us all of the eventual gains.

While we are waiting for it to stabilize, getting Inkscape to compile against GTK3 sooner rather than later is definitely a good goal. Basically, any leg work that can be done now instead of it all needing to be done down the road will only help us transition that much faster once it's time.

In the meantime, I would say that it would be worth seeing what the differences in the GDL we have now are compared to upstream to see if there might be ways we want to use it differently as opposed to looking to push our changes upstream (basically if it has nicer or comparable ways to do what we have customized in our copy).

Cheers,
Josh
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Ted Gould | 4 May 2011 10:43
Favicon
Gravatar

Re: Gtk3 and libgdl

On Sun, 2011-05-01 at 16:32 +0100, Joel Holdsworth wrote:
> I'm interested in upstreaming libgdl so that we can remove it from the 
> inkscape codebase, but I notice that GDL has now been ported to Gtk3. 
> Are there any plans in motion to port inkscape to Gtk3. Or is this 
> something I could consider involving myself with.

I think we could probably remove libgdl from the Inkscape code based and
use the stable GTK 2 version of the library, and then making upgrading
that dependency as part of the GTK 3 upgrade effort.

		--Ted

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
~suv | 4 May 2011 11:19
Picon

Recent surge of spam in the wiki

In recent weeks, Inkscape's Wiki is increasingly targeted by
(presumably) spam bots which create a new user and a new page with spam
(including uploaded images) [1].

1) Could the wiki use tighter rules for the creation of new users
(captchas?) that can't be exploited as easily as apparently the current
configuration?

2) Who does have admin credentials to change the current wiki configuration?

3) Who else does have admin rights to clean up (delete pages, block user
accounts)? At the moment, it seems as if 'Legio noctis' is the only one
with sufficient admin rights who cares and cleans up from time to time,
but if the spam surges as it has in recent days, maybe this clean-up
task could be shared by several users, or even done by a script?

~suv

[1]
<http://wiki.inkscape.org/wiki/index.php?title=Special:RecentChanges&hidebots=0&days=30&limit=500>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
Tavmjong Bah | 6 May 2011 11:38
Picon
Favicon
Gravatar

Complie error


Hi,

	Just tried to compile Inkscape trunk on my spanking new laptop
(replacing my 6.5 year old one). It failed in 2geom with an error from
the boost library. I used Fedora 15 beta which has boost 1.46 and gcc
4.6. The error message is:

In file included from 2geom/transforms.cpp:37:0:
./2geom/transforms.h: In member function ‘S&
Geom::ShearBase<S>::operator*=(const S&) [with S = Geom::HShear]’:
./2geom/transforms.h:59:9:   instantiated from ‘void
Geom::TransformConcept<T>::constraints() [with T = Geom::HShear]’
/usr/include/boost/concept/detail/has_constraints.hpp:42:98:
instantiated from ‘const bool
boost::concepts::not_satisfied<Geom::TransformConcept<Geom::HShear>
>::value’
/usr/include/boost/concept/detail/has_constraints.hpp:45:31:
instantiated from
‘boost::concepts::not_satisfied<Geom::TransformConcept<Geom::HShear> >’
/usr/include/boost/mpl/if.hpp:67:11:   instantiated from
‘boost::mpl::if_<boost::concepts::not_satisfied<Geom::TransformConcept<Geom::HShear> >,
boost::concepts::constraint<Geom::TransformConcept<Geom::HShear> >,
boost::concepts::requirement<boost::concepts::failed************
Geom::TransformConcept<Geom::HShear>::************> >’
/usr/include/boost/concept/detail/general.hpp:50:8:   instantiated from
‘boost::concepts::requirement_<void
(*)(Geom::TransformConcept<Geom::HShear>)>’
2geom/transforms.cpp:121:120:   instantiated from here
./2geom/transforms.h:212:77: error: invalid initialization of reference
of type ‘Geom::HShear&’ from expression of type ‘const Geom::HShear’
./2geom/transforms.h: In member function ‘S&
Geom::ShearBase<S>::operator*=(const S&) [with S = Geom::VShear]’:
./2geom/transforms.h:59:9:   instantiated from ‘void
Geom::TransformConcept<T>::constraints() [with T = Geom::VShear]’
/usr/include/boost/concept/detail/has_constraints.hpp:42:98:
instantiated from ‘const bool
boost::concepts::not_satisfied<Geom::TransformConcept<Geom::VShear>
>::value’
/usr/include/boost/concept/detail/has_constraints.hpp:45:31:
instantiated from
‘boost::concepts::not_satisfied<Geom::TransformConcept<Geom::VShear> >’
/usr/include/boost/mpl/if.hpp:67:11:   instantiated from
‘boost::mpl::if_<boost::concepts::not_satisfied<Geom::TransformConcept<Geom::VShear> >,
boost::concepts::constraint<Geom::TransformConcept<Geom::VShear> >,
boost::concepts::requirement<boost::concepts::failed************
Geom::TransformConcept<Geom::VShear>::************> >’
/usr/include/boost/concept/detail/general.hpp:50:8:   instantiated from
‘boost::concepts::requirement_<void
(*)(Geom::TransformConcept<Geom::VShear>)>’
2geom/transforms.cpp:122:120:   instantiated from here
./2geom/transforms.h:212:77: error: invalid initialization of reference
of type ‘Geom::VShear&’ from expression of type ‘const Geom::VShear’
./2geom/transforms.h: In member function ‘S&
Geom::ShearBase<S>::operator*=(const S&) [with S = Geom::HShear]’:
./2geom/transforms.h:212:80: warning: control reaches end of non-void
function [-Wreturn-type]
./2geom/transforms.h: In member function ‘S&
Geom::ShearBase<S>::operator*=(const S&) [with S = Geom::VShear]’:
./2geom/transforms.h:212:80: warning: control reaches end of non-void
function [-Wreturn-type]
make[3]: *** [2geom/transforms.o] Error 1

Any clues?

Tav

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
~suv | 6 May 2011 17:32
Picon

Re: Complie error

On 6/5/11 11:38, Tavmjong Bah wrote:

> 	Just tried to compile Inkscape trunk on my spanking new laptop
> (replacing my 6.5 year old one). It failed in 2geom with an error from
> the boost library. I used Fedora 15 beta which has boost 1.46 and gcc
> 4.6. The error message is:
> 
> In file included from 2geom/transforms.cpp:37:0:
> ./2geom/transforms.h: In member function ‘S&
> Geom::ShearBase<S>::operator*=(const S&) [with S = Geom::HShear]’:
> ./2geom/transforms.h:59:9:   instantiated from ‘void
> Geom::TransformConcept<T>::constraints() [with T = Geom::HShear]’
> /usr/include/boost/concept/detail/has_constraints.hpp:42:98:
> instantiated from ‘const bool
> boost::concepts::not_satisfied<Geom::TransformConcept<Geom::HShear>
> > ::value’
> /usr/include/boost/concept/detail/has_constraints.hpp:45:31:
> instantiated from
> ‘boost::concepts::not_satisfied<Geom::TransformConcept<Geom::HShear> >’
> /usr/include/boost/mpl/if.hpp:67:11:   instantiated from
> ‘boost::mpl::if_<boost::concepts::not_satisfied<Geom::TransformConcept<Geom::HShear> >,
boost::concepts::constraint<Geom::TransformConcept<Geom::HShear> >,
boost::concepts::requirement<boost::concepts::failed************
Geom::TransformConcept<Geom::HShear>::************> >’
> /usr/include/boost/concept/detail/general.hpp:50:8:   instantiated from
> ‘boost::concepts::requirement_<void
> (*)(Geom::TransformConcept<Geom::HShear>)>’
> 2geom/transforms.cpp:121:120:   instantiated from here
> ./2geom/transforms.h:212:77: error: invalid initialization of reference
> of type ‘Geom::HShear&’ from expression of type ‘const Geom::HShear’
> ./2geom/transforms.h: In member function ‘S&
> Geom::ShearBase<S>::operator*=(const S&) [with S = Geom::VShear]’:
> ./2geom/transforms.h:59:9:   instantiated from ‘void
> Geom::TransformConcept<T>::constraints() [with T = Geom::VShear]’
> /usr/include/boost/concept/detail/has_constraints.hpp:42:98:
> instantiated from ‘const bool
> boost::concepts::not_satisfied<Geom::TransformConcept<Geom::VShear>
> > ::value’
> /usr/include/boost/concept/detail/has_constraints.hpp:45:31:
> instantiated from
> ‘boost::concepts::not_satisfied<Geom::TransformConcept<Geom::VShear> >’
> /usr/include/boost/mpl/if.hpp:67:11:   instantiated from
> ‘boost::mpl::if_<boost::concepts::not_satisfied<Geom::TransformConcept<Geom::VShear> >,
boost::concepts::constraint<Geom::TransformConcept<Geom::VShear> >,
boost::concepts::requirement<boost::concepts::failed************
Geom::TransformConcept<Geom::VShear>::************> >’
> /usr/include/boost/concept/detail/general.hpp:50:8:   instantiated from
> ‘boost::concepts::requirement_<void
> (*)(Geom::TransformConcept<Geom::VShear>)>’
> 2geom/transforms.cpp:122:120:   instantiated from here
> ./2geom/transforms.h:212:77: error: invalid initialization of reference
> of type ‘Geom::VShear&’ from expression of type ‘const Geom::VShear’
> ./2geom/transforms.h: In member function ‘S&
> Geom::ShearBase<S>::operator*=(const S&) [with S = Geom::HShear]’:
> ./2geom/transforms.h:212:80: warning: control reaches end of non-void
> function [-Wreturn-type]
> ./2geom/transforms.h: In member function ‘S&
> Geom::ShearBase<S>::operator*=(const S&) [with S = Geom::VShear]’:
> ./2geom/transforms.h:212:80: warning: control reaches end of non-void
> function [-Wreturn-type]
> make[3]: *** [2geom/transforms.o] Error 1
> 
> Any clues?

The same error was reported in #inkscape (irc) by a user on Arch linux,
compiling inkscape (trunk as well as the ocal branch) with GCC 4.6
(no solution known so far).

<http://gbpaste.org/lLFxG> (2011-04-16)

~suv

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel

Gmane