First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 100386
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bryce Harrington <bryce@bryceharrington.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
inkscape-0.42.ebuild inkscape-0.42.ebuild application/octet-stream Brenden Matthews 2005-07-26 20:50 0000 1.50 KB Details
inkscape-0.42.ebuild inkscape-0.42.ebuild text/plain Brenden Matthews 2005-07-26 22:10 0000 1.54 KB Details
inkscape-0.42.ebuild inkscape-0.42.ebuild text/plain Giacomo Perale 2005-07-28 05:14 0000 1.70 KB Details
inkscape-0.42.ebuild inkscape-0.42.ebuild text/plain Brenden Matthews 2005-07-29 10:51 0000 1.68 KB Details
inkscape-0.42.ebuild Cleaner inkscape-0.42.ebuild text/plain Tony Murray 2005-08-03 00:13 0000 1.61 KB Details
inkscape-0.42.ebuild Fixed clean inkscape-0.42.ebuild text/plain Tony Murray 2005-08-03 00:24 0000 1.60 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 100386 depends on: 100431 Show dependency tree
Show dependency graph
Bug 100386 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-26 11:22 0000
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 From Brenden Matthews 2005-07-26 20:50:23 0000 -------
Created an attachment (id=64402) [edit]
inkscape-0.42.ebuild

Ebuild attached.  Tested on amd64 with no problems.

------- Comment #2 From Greg Watson (linuxkrn) 2005-07-26 21:25:38 0000 -------
Tested on x86 (P4 Xeon's) and works great!

------- Comment #3 From Mike Vanecek 2005-07-26 21:30:41 0000 -------
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 From Brenden Matthews 2005-07-26 22:09:18 0000 -------
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 From Brenden Matthews 2005-07-26 22:10:39 0000 -------
Created an attachment (id=64408) [edit]
inkscape-0.42.ebuild

------- Comment #6 From Neil Darlow 2005-07-27 06:40:03 0000 -------
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 From Jakub Moc 2005-07-27 11:56:25 0000 -------
*** Bug 100505 has been marked as a duplicate of this bug. ***

------- Comment #8 From Bryce Harrington 2005-07-27 12:21:56 0000 -------
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 From Keith Constable 2005-07-27 22:00:03 0000 -------
Please re-attach the ebuild as text/plain.

------- Comment #10 From Brenden Matthews 2005-07-27 23:16:35 0000 -------
(In reply to comment #9)
> Please re-attach the ebuild as text/plain.

My bad.  Sorry for the spam :/

------- Comment #11 From Giacomo Perale 2005-07-28 05:14:23 0000 -------
Created an attachment (id=64521) [edit]
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 From Keith Constable 2005-07-28 08:51:59 0000 -------
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 From Bryce Harrington 2005-07-28 10:46:03 0000 -------
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 From Giacomo Perale 2005-07-28 11:40:22 0000 -------
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 From Mikkel Høgh 2005-07-29 08:44:40 0000 -------
works great on my pentium 4 system :)

------- Comment #16 From Bryce Harrington 2005-07-29 10:18:15 0000 -------
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 From Horst Schirmeier 2005-07-29 10:33:51 0000 -------
Works fine on my ancient Athlon machine (CFLAGS="-march=athlon -O2 -pipe").

------- Comment #18 From Brenden Matthews 2005-07-29 10:51:13 0000 -------
Created an attachment (id=64646) [edit]
inkscape-0.42.ebuild

changes to reflect comment 16

------- Comment #19 From Horst Schirmeier 2005-07-29 15:59:46 0000 -------
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 From Karol Wojtaszek (RETIRED) 2005-07-30 03:10:31 0000 -------
Commited to portage ebuild from Comment #18. Thanks for help.

------- Comment #21 From rubik's cube 2005-07-30 11:34:52 0000 -------
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 From Giacomo Perale 2005-07-30 17:16:01 0000 -------
btw, the whole src_unpack() section of the ebuild is now useless and should be
removed from the final ebuild

------- Comment #23 From Tony Murray 2005-08-03 00:13:57 0000 -------
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.

------- Comment #24 From Tony Murray 2005-08-03 00:24:09 0000 -------
Created an attachment (id=64970) [edit]
Fixed clean inkscape-0.42.ebuild

Whoops, use the gnome2.eclass config function.

------- Comment #25 From Brenden Matthews 2005-08-03 00:35:37 0000 -------
(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.

First Last Prev Next    No search results available      Search page      Enter new bug