Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100386 - Inkscape 0.42 released
Summary: Inkscape 0.42 released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Graphics Project
URL: http://www.inkscape.org
Whiteboard:
Keywords:
: 100505 (view as bug list)
Depends on: 100431
Blocks:
  Show dependency tree
 
Reported: 2005-07-26 11:22 UTC by Bryce Harrington
Modified: 2005-08-03 00:35 UTC (History)
15 users (show)

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


Attachments
inkscape-0.42.ebuild (inkscape-0.42.ebuild,1.50 KB, application/octet-stream)
2005-07-26 20:50 UTC, Brenden Matthews
Details
inkscape-0.42.ebuild (inkscape-0.42.ebuild,1.54 KB, text/plain)
2005-07-26 22:10 UTC, Brenden Matthews
Details
inkscape-0.42.ebuild (inkscape-0.42.ebuild,1.70 KB, text/plain)
2005-07-28 05:14 UTC, Giacomo Perale
Details
inkscape-0.42.ebuild (inkscape-0.42.ebuild,1.68 KB, text/plain)
2005-07-29 10:51 UTC, Brenden Matthews
Details
Cleaner inkscape-0.42.ebuild (inkscape-0.42.ebuild,1.61 KB, text/plain)
2005-08-03 00:13 UTC, Tony Murray
Details
Fixed clean inkscape-0.42.ebuild (inkscape-0.42.ebuild,1.60 KB, text/plain)
2005-08-03 00:24 UTC, Tony Murray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bryce Harrington 2005-07-26 11:22:20 UTC
The Inkscape 0.42 release is complete, and packages are now available:

https://sourceforge.net/project/showfiles.php?group_id=93438

Lots of new features and fixes since 0.41.  :-)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
Upgrade portage to supply inkscape 0.42

If there are any problems with this release, please report them here and/or at
the Inkscape bug tracker.  

FYI, we are shooting for getting 0.43 out within a month or two.
Comment 1 Brenden Matthews 2005-07-26 20:50:23 UTC
Created attachment 64402 [details]
inkscape-0.42.ebuild

Ebuild attached.  Tested on amd64 with no problems.
Comment 2 Greg Watson (linuxkrn) 2005-07-26 21:25:38 UTC
Tested on x86 (P4 Xeon's) and works great!
Comment 3 Mike Vanecek 2005-07-26 21:30:41 UTC
Some additional optional requirements to get the python scripting to work too -
found this in the Gentoo forum posted by Matteo Azzali:

<<<<<<<<<<<<<<<<<<<<< Quoted from Forum >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Just to warn in advance.
Compile (emerge) inkscape 0.42 will not require them,
but they'll be required to run inkscape scripts (very good new feature)
so there'll be need for libxml-xql-perl (requiring perl)
and python-xml (requiring python).
http://packages.debian.org/unstable/source/libxml-xql-perl
http://pyxml.sourceforge.net/
Since these packages aren't in portage
at the moment, I just wanted to warn (if someone post a link to a
"howto create ebuilds" tutorial I can also try to write down....)

bit more docs:
http://www.inkscape.org/cgi-bin/wiki.pl?GettingExtensionsWorking
http://www.inkscape.org/cgi-bin/wiki.pl?GettingEffectsWorking

P.S.:Since scripting will need big dependancies and is not compile-needed,
maybe a specific use flag will be useful too.
<<<<<<<<<<<<<<<<<<<<< End Quote >>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Thought some of you might find that interesting - looking forward to testing the
ebuild.
Comment 4 Brenden Matthews 2005-07-26 22:09:18 UTC
I added an ebuild for XML-XQL as per the comment above, pyxml is already in
portage.  I modified to ebuild to reflect this.
Comment 5 Brenden Matthews 2005-07-26 22:10:39 UTC
Created attachment 64408 [details]
inkscape-0.42.ebuild
Comment 6 Neil Darlow 2005-07-27 06:40:03 UTC
Would it be possible to break-up the operation of the plugin USE flag into,
perhaps, plugin and scripting?

This would allow installation of the scripting dependencies separately from the
other plugin elements.

I personally would make use of the Perl and Python scripting features but have
no need for Dia, skencil etc.

Regards,
Neil Darlow
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-07-27 11:56:25 UTC
*** Bug 100505 has been marked as a duplicate of this bug. ***
Comment 8 Bryce Harrington 2005-07-27 12:21:56 UTC
Good idea to break up the USE flag, we expect to see growth in the use of
scripting over the next few releases, and the Gentoo package needs a smarter way
of handling this, so that if someone doesn't need every extension available,
they don't have to install a huge amount of secondary packages.

Bryce
Comment 9 Keith Constable 2005-07-27 22:00:03 UTC
Please re-attach the ebuild as text/plain.
Comment 10 Brenden Matthews 2005-07-27 23:16:35 UTC
(In reply to comment #9)
> Please re-attach the ebuild as text/plain.

My bad.  Sorry for the spam :/
Comment 11 Giacomo Perale 2005-07-28 05:14:23 UTC
Created attachment 64521 [details]
inkscape-0.42.ebuild

inkscape 0.42 ebuild. New USE flag 'scripting', with conditions on 'perl' and
'python'

scripting? ( python? ( dev-python/pyxml )
	     perl? ( dev-perl/XML-XQL ) )
Comment 12 Keith Constable 2005-07-28 08:51:59 UTC
Are the changes you made to separate the plugins from the scripting actually
going to change the way that Inkscape is built?

For example, lets say that I already have pyxml installed, but don't want
scripting support to be available in Inkscape.  Will setting USE="-scripting"
actually *force* Inkscape to be built without scripting even if pyxml is available?

You may also want to consider reassigning the bug to zypher@gentoo.org since he
is the specific maintainer for this package (as per package metadata).
Comment 13 Bryce Harrington 2005-07-28 10:46:03 UTC
I should explain something regarding "effects" and "scripting", as I just
realized it could lead to some confusion from a packaging standpoint.

From a packaging perspective, effects (also sometimes called extensions) and
scripting are two completely different, unrelated things.

Effects are (generally) external programs that are exec'd by Inkscape and could
be written in any language, including Python, Perl, Java, C/C++, etc. etc.  They
are handed some portion of the SVG document (usually the current selection),
allowed to make whatever alternations they desire, and then return the changed
SVG to Inkscape.  Effects are a relatively new feature but already a number of
extensions have been contributed and are available in the program.

Separate from this, Inkscape also has scripting support.  This literally means
that a Python interpreter and a Perl interpreter can be compiled into the
application.  This allows you to type in scripts into a dialog in Inkscape and
have them be interpreted and (in theory) operate on the document directly. 
However, this is still a very early-in-development feature and is not very
widely used except for development/experimentation purposes.

Anyway, I just wanted to clarify this in case people noticed the --with-perl and
--with-python options in the configure script; those flags are for the script
interpreters, not for the Effects mechanism.  Also, in this thread where people
(including myself) have spoken about 'scripting', we really were (mostly)
talking about the 'Effects' feature.

Also, I think it may be worth naming the USE flag 'effects' rather than
'scripting', to avoid future confusion.  Possibly the scripting features can be
turned on/off via the normal gentoo 'perl' and 'python' USE flags?



Comment 14 Giacomo Perale 2005-07-28 11:40:22 UTC
how about this solution:

* 'perl' and 'python' use flag enabling python and perl support at compile time
* 'effects' use flag, who implies a dependency on pyxml (if python use flag is
enabled) and/or on XML-XQL (if perl flag is enabled)

This means simply renaming the 'scripting' flag in my ebuild. 
Comment 15 Mikkel Høgh 2005-07-29 08:44:40 UTC
works great on my pentium 4 system :)
Comment 16 Bryce Harrington 2005-07-29 10:18:15 UTC
That sounds good, however it's not necessary to make the effects conditional   
on the perl or python scripting, since those things are completely orthogonal.    
I.e., the effects will work regardless of whether you specify --with-perl or   
--with-python for compile.  Thus I think you can simplify to this:  
   
* 'perl' and 'python' use flag enabling internal python and perl support at 
compile time  
* 'effects' use flag, who implies a dependency on pyxml and on XML-XQL  
 
  
Comment 17 Horst Schirmeier 2005-07-29 10:33:51 UTC
Works fine on my ancient Athlon machine (CFLAGS="-march=athlon -O2 -pipe").
Comment 18 Brenden Matthews 2005-07-29 10:51:13 UTC
Created attachment 64646 [details]
inkscape-0.42.ebuild

changes to reflect comment 16
Comment 19 Horst Schirmeier 2005-07-29 15:59:46 UTC
Btw, why don't you use the ebuild function 'use_enable' for the 'mmx' flag, or
'use_with' for the 'bonobo', 'inkjar', 'gnome', ... flags like you did for the
'spell' flag? This would allow to keep the ebuild unmodified even if the
inkscape people change the default autoconf setting for one of these options.
Comment 20 Karol Wojtaszek (RETIRED) gentoo-dev 2005-07-30 03:10:31 UTC
Commited to portage ebuild from Comment #18. Thanks for help.
Comment 21 quazgar 2005-07-30 11:34:52 UTC
As 0.42 has several major bugs (such as line width not working), this bug
#100386 should be reopened (or marked upstream?), the ebuild should rather not
got into portage until 0.42.1 is out. An announcement for this has already been
made on www.inkscape.org
Comment 22 Giacomo Perale 2005-07-30 17:16:01 UTC
btw, the whole src_unpack() section of the ebuild is now useless and should be
removed from the final ebuild
Comment 23 Tony Murray 2005-08-03 00:13:57 UTC
Created attachment 64969 [details]
Cleaner inkscape-0.42.ebuild

Here is a cleaner ebuild.  It uses use_with and use_enable, removes the
src_unpack function, and also moved the G2CONF line into the src_compile
function so it isn't processed every time the ebuild is.
Comment 24 Tony Murray 2005-08-03 00:24:09 UTC
Created attachment 64970 [details]
Fixed clean inkscape-0.42.ebuild

Whoops, use the gnome2.eclass config function.
Comment 25 Brenden Matthews 2005-08-03 00:35:37 UTC
(In reply to comment #23)
> Created an attachment (id=64969) [edit]
> Cleaner inkscape-0.42.ebuild
> 
> Here is a cleaner ebuild.  It uses use_with and use_enable, removes the
> src_unpack function, and also moved the G2CONF line into the src_compile
> function so it isn't processed every time the ebuild is.

Very nice.  You beat me to it.  But I was just going to wait for 0.42.1.