Status of inkboard feature
by Denis Leroy
What is the status of the inkboard feature ? Is it considered stable ?
More importantly, is it considered safe (from a security standpoint) ?
We had requests in Fedora to have the feature enabled and so am doing
some testing on my side. It was originally turned off because it was
pretty unstable and would often crash in the loudmouth library, but that
was a while ago...
thx!
-denis
16 years, 10 months
0.44 development status
by Bryce Harrington
Hi all,
I've compiled the status for the 0.44 development checklist. I'm sure
this is already out of date, so please email me updates and I'll update
next weekend.
Luckily, most everything people are working on sound like they could be
wrapped up by the end of the month, however the quantity of things going
on suggests that at least some efforts may require longer. Thus, I
would like to propose the following schedule for getting to Feature
Freeze mode:
Now - Development continues on the ~24 items identified
For non-0.44 feature work, please use branches
May 1st - Achieve completion of at least 50% of the items.
Work continues on the remaining 12.
Work ceases on any other features.
Notification to translators
Begin focusing on bugfixes.
Identify preliminary "must-fix" buglist
May 15th - Feature Freeze
All feature development work ends
Finalize the "must-fix" buglist
Issue pre-release packages for testing
Focus on bug fixes, translations, & docs
TBD - Hard Freeze
Translation work finishes
Final resolution on all "must-fix" bugs
Issue one or more release candidates
TBD - 0.44 Release
How does this plan sound? Has anything been missed?
------------------------------------------------------------------------
Inkscape 0.44 Development Checklist
ICC Preview
===========
Jon Cruz is working on this. Plans to have feature to a finished point
for the release.
* Update Release Notes
CMYK support
============
Jon Cruz is working on this. Plans to have feature to a finished point
for the release.
* Update Release Notes
ArtLibre named icon and cursor loading
======================================
Jon Cruz is working on this. Plans to have feature to a finished point
for the release.
* Update Release Notes
Palette editing and per-file color sets
=======================================
Jon Cruz is working on this. Plans to have feature to a finished point
for the release.
* Update Release Notes
Tablet Bugs
===========
MentalGuy is working on this. Says for the release he wants to get
these resolved.
Brush size adjustment on zoom toggle for calligraphic pen
=========================================================
MentalGuy is working on this and plans to have it to a finished point
for the release.
Layer dialog
============
This is an important feature for the release, and on MentalGuy's todo
list. However, work has been stuck getting Inkscape::LayerManager to
compile due to a subtle detail with sigc::mem_fun(), and it's uncertain
if there is sufficient time to unstick it and finish the feature prior
to the release. Additional people's help may be needed here.
[Beyond the memory issue, are there other aspects to the layer dialog
that others could help with, such as UI work or coding helper features
or whatever? --bh]
* Update Release Notes
Fit Canvas to Selection
=======================
This is a feature ACSpike has been working on, and plans to complete for
the release. The patch is here:
http://www.ekips.org/comp/inkscape/inx/current.diff
ODG Format Support
==================
Ishmal is working on this currently. It basically works and is 90%
done; the one issue at the moment that needs to be fixed for the release
is that image rotations are backwards. [I think this might be fixed
now. -- bh]
DOM Support
===========
Ishmal has been working on this. The newest code is all imported and
builds. [Is there anything else needing to be done prior to release?]
SIOX Support
============
Ishmal has this over half done. The code is all imported and building,
and the selection mechanism is about done. Getting Inkscape and SIOX
intercommunication working, but this can be built as a filter to
potrace, which simplifies things. There are some transformation issues
that need to be sorted out.
Extensions
==========
Ted is focusing on cleaning up extension parameters and felt he'd have
this wrapped up by the end of the month. The plan is to have longer
text (tool tips) available, and a few more widgets. More spacing in the
autogui will be added to make it look nicer.
* Ted reports there is an unverified bug in the ordering of the
effects in the menu, to be investigated.
The Extension Editor is further off, and not being planned for this
release.
Snapping
========
!!! More info needed - Carl and Mathieu (and maybe Ralf?) !!!
* Need to fix the freeze when dragging multiple selected objects:
http://sourceforge.net/tracker/index.php?func=detail&aid=1429049&group_id...
* Update Release Notes
Rendering Performance Speedup
=============================
Andrius has a very interesting rendering speedup patch. The feature is
complete and accepted for the release. There is one known issue to
address with scrolling, but Andrius feels this can be fixed.
* Additional testing needs to be performed
Screenshots
===========
Scislac has taken this task on, and plans to have it done for the
release.
Two screenshots are done currently, and one more is in the works. There
will be a call for more screenshots on the Deviant Art site.
Tutorials
=========
Calligraphy is mostly done, and a few of the other updates to the other
tutorials have been drafted but that stuff definitely needs more work.
Should be possible to have them done by the end of April.
Calligraphic interface tweak
============================
Bulia is working on this change requested by MentalGuy, and feels they
are minor and should have no trouble completing for the release.
Windows font handling bugfixes (DONE)
==============================
Richard (cyreve) has completed these bug fixes and updated the release notes.
* Update ReleaseNotes
Python Extensions on Windows
============================
!!! No owner has been identified for this task !!!
Bulia reports that extensions that rely on PyXML still do not work on
Windows. Due to the number of python extensions, this would be a major
missing feature for Windows users.
Text/Fonts UI
=============
deadchip (aka Milosz Derezynski <internalerror at gmail dot com>) has
written a font lister Gtkmm class, to enable re-use of the font list.
He is planning to write a font picker dialog, and rewrite the current
font picker to use the font _listing_ class. This enables using normal
Gtk components (ListStore, etc.) for accessing the font info. He plans
to have this work done by May 1st, or May 15th at the latest.
Windows "dialogs on top" Patch for GTK
======================================
!!! No owner has been identified for this task !!!
This is not exactly an Inkscape-specific problem, since the code changes
wouldn't be to Inkscape, but it would be nice to have it finally fixed.
This 0.44 release effort may be a good vehicle to tie it to, but we
won't hold up the release if it doesn't get done. Scislac had contacted
the author previously.
* Send a reminder email to the author to find status on this
Undo/Redo Dialog
================
!!! No owner has been identified for this task !!!
We have a patch for this, but the author has not been reachable. Also
needed is undo annotations.
* Unless the author or another developer takes ownership of this
patch within a week or so, perhaps the wise thing to do would be to
incorporate it right after the release, to give maximum debugging
time for 0.55.
New File Chooser in Export
==========================
We have a patch for this, but there were some thoughts of embedding it
in the export dialog directly. In the spirit of "patch first, discuss
later", the best approach may be to stick in the current patch for 0.44,
see what folks think, and do the embedding later.
Additional Release Tasks
========================
The following tasks will need to be done for the release, but are not
required to be done prior to the Feature Freeze:
* Identify the list of must-fix bugs. To keep the freeze phase from
dragging out, we will need to be very choosy in what we allow to be
must-fix bugs.
* Set up a ReleaseChecklist wiki page or similar to keep track of The
List.
* Designate 2 release maintainers.
* Keep and update the above list and encourage people to achieve
completion of the items.
* Notify translators to complete translation work
* Wiki updates
+ Update Roadmap
+ Review/Update FAQ
+ Update InkscapeFeatures
* PR / marketing efforts
+ Plan efforts
+ Draft press release
+ Finalize press release
+ Send out press release [rejon]
* Packaging
Bryce
17 years, 1 month
metadata: general vs. specific in SVG
by Jon Phillips
So, one of the things I've wanted to work on is more specific metadata
usage per-object which we could hav UI for in Inkscape and for use in
Open Clip Art Library. I did some spelunking while doing research on
pippin's gegl (next generation gimp library,
http://pippin.gimp.org/gegl) and I found how to do this in SVG.
The SVG spec defines global and specific per object metadata:
SVG 1.1 standard
http://www.w3.org/TR/SVG11/metadata.html
SVG 1.2 working draft with more specifics
http://www.w3.org/TR/2004/WD-SVG12-20041027/nonvisual.html#external-metadata
Its really simple and is spelled out in the SVG 1.1 spec like so:
<svg>
<metadata>
<!-- general: any namespaced metadata, like rdf:rdf -->
</metadata>
<rect>
<metadata>
<!-- specific: namespaced metadata -->
</metadata>
</rect>
</svg>
Here is what the spec states about the specific metadata: "It is
strongly recommended that at most one 'metadata' element appear as a
child of any particular element, and that this element appear before any
other child elements (except possibly 'desc' or 'title' elements) or
character data content. If metadata-processing user agents need to
choose among multiple 'metadata' elements for processing it should
choose the first one."
Thus, what I think would be a good approach is to generalize Kees'
document metadata dialog into a panel which can be re-used and then
either we add an object metadata dialog (using Jon's panel work), or
just attach this functionality to the object properties dialog.
Thus, one could select any object and attach the same good ole quality
metadata we currently can set to the entire document.
Kees what do you think? Others, what do you think?
This would be awesome for asset management, right Andy, and would also
allow some cool features in compositing multiple elements from Open Clip
Art Library...
Jon
--
Jon Phillips
San Francisco, CA
USA PH 510.499.0894
jon@...235...
http://www.rejon.org
MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon@...896...
IRC: rejon@...897...
Inkscape (http://inkscape.org)
Open Clip Art Library (www.openclipart.org)
Creative Commons (www.creativecommons.org)
San Francisco Art Institute (www.sfai.edu)
17 years, 2 months
Re: [Inkscape-devel] new icons + anyone want to help? + submenu icons
by Tobias Jakobs
> Nicu Buculei (OCAL) wrote:
> > graffoo wrote:
> >> Hi guys,
> >> I have "tangofied" main icons in icons.svg but I have following problem.
> >> How do I change icons for File>Open, File>Save, File>Print, Undo, Redo,
> >> Clipboard manipulation? I didn't found them in the icons.svg and on
> >> winxp these icons are default ugly gnome icons :( Any suggestions?
> >> Also how do I change cursor images?
> >
I understand, that you are interested in a consistent icon theme. But we need
a solution, that works on Windows, Mac OS X and Linux(KDE, Gnome, ...)
> > You can't modify those icons and this is a good thing. They are taken
> > from the GTK theme and the idea is to have them consistent across the
> > entire desktop (bonus if you have a full GTK/GNOME desktop).
> > Inkscape should use the Wimp GTK theme on Windows and those icons should
> > fit the Windows look and feel as much as possible.
Afaik, the Wimp stuff is integrated in GTK and no longer a separate project.
> I thought that. But the problem is as I stated, the icons are not
> default windows on a windows machine.
There are no default Windows icons...
> they are default gnome, which is
> on a win desktop a bit confusing.
That are not the default Gnome, but the default GTK icons. Inkscape is not
a Gnome program.
> just look at the attached file. I
> think a perfect thing would be that if an icon is specified in icons.svg
> file, inkscape will use that icon, and if it isn't specified then use
> the default wimp theme icon. what about that? The other thing is, many
> apps in windows have their custom icons, even the default ones. And when
> Inkscape will use the tango theme, why not use the tango icons also for
> the default ones. I think its less confusing when one app has one icon
> theme than other rather than one app has two icon themes ;) and to solve
> the problem with unification across platforms, simply ship the win
> version of inkscape with the modified icons.svg.
>
To just change the default GTK (not winp ;) ) icon theme to Tango and
change the icon.svg file would work for Windows. But Tango is more then
just an icon theme, it's a new framework. Please note that older iconsets
can be used with our new framework -- and, once ported, will work across
the desktops in a consistent manner.
If Inkscape would use the Tango ArtLibreSet[1] and not the icons.svg we could
change the Incscape, Scribus and Gimp icons just by changing one iconset.
Regards,
Tobias
[1] http://tango.freedesktop.org/ArtLibreSet
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
17 years, 2 months
Getting started with the CAD tools...
by Redefined Horizons
I've got an hour or two at the end of this work to get started on my
CAD tools for Inkscape. (I checked out a couple of books on C++ from
my local library in case I get stuck on something.) :]
First let me ask a question, and then I'll explain my plan. (You guys
can let me know if the plan is feasible with Inkscape's architecture.)
Where can I find the classes used to represent Inkscape's geometries?
(I'm assuming that each geometry type is represented by a separate
class file. Let me know if this is incorrect.)
I've dowloaded the source code for Inkscape 0.44, but I couldn't find
a "geometry" folder in the "src" folder of the distribution. I imagine
there would be a class file for rectangles, circles, elipses, lines,
polylines and polygons. (Unless rectangles are represented as
polylines and elipses as modified circles...)
Now, for my plan of attack...
Here is a basic description of my goal for the CAD tools:
Tools that allow the user to create the basic Inkscape geometries
using precise coordinate entry. (For example, the user could enter
coordinates into a dialog box for the two endpoints of a line and then
create that line, or they might enter the coordinate for the start
point of the line, and then an angle and distance that would be used
to compute the endpoint of the line.) Or the user might use other
tools to select the precise coodinates of existing geometries as the
input for such a tool, instead of entering the coordinates directly.
(For example, selecting the coordinate at the midpoint of a line and
the node of a polygon, and drawing the line with these exact
coordinates as the two endpoints.) These tools will also allow the
user to precisely modify existing geometries. (For example, move a
polygon by precisely selecting two coorinates on existing geometries
to compute the change in X and change in Y for the translation.)
Here is what I need to do:
[1] Design and implement what I call "coordinate selectors". These are
tools that allow very precise selection of points on the canvas.
Typically these points will be selected from existing geometries.I
would like to implement the following coordinate selectors for
Inkscape:
End Point (The coordinate at the end point of a line or polyline.)
Mid Point (The coordinate at the mid point of a line, polyline
segment, or polygon segment.)
Nearest Node (The coordinate at the node nearest to center of
selection window created by a mouse drag on the canvas.)
All Nodes (The coordinates of all nodes within a selection window
created by a mouse drag on the canvas.)
Perpendicular (The coordinate at point on a line, polyline segment,
polygon segment, or projection of any of these segments that is
perpendicular to another selected point.)
Intersection (The coordinate of the point at the intersection of two
or more lines, polyline segments, or polygon segments.)
Offset (The coordinate of a point created by projecting an offset
along the alignment or direction of two other points and a fixed
distance.)
Projected Intersection (The coordinate of a point located at the
projected intersection of any two lines, polyline segments, or polygon
segments.)
I'll get started by examing the geometry classes, which I will need to
use in my calculations for the coordinate tools. But I will also need
to figure out how to add a tool to Inkscapes user interface that
allows the user to drag a window on the canvas and then
programatically access the geometries or shapes that are contained by
or intersect that window. (Perhaps I can use the exisitng
pointer/selection tool in Inkscape?)
Let me know what you think of this plan, and let me know how I can get
to those geometry classes.
Scott Huey
P.S. - I can program the coordinate selectors in a way that allows
them to be used by other developer's tools, not just the ones I
design. For example, in OpenJUMP I am building coordinate selectors
that can store there selected coordinates on a "Coordinate Clipboard"
that can be accessed by the user or programatically.
17 years, 3 months
Layered export for LaTeX
by Jan Gacnik
Hello,
welcome everybody. I am new to Inkscape and this list.
:)
Let me explain my situation. I am an electrical
engineer and currently working towards my PhD degree,
for that reason I am using LaTeX very often. Since the
very first moment I had a problem to find a proper
application to create vector-based graphics in a
convenient way. The special problem is that the labels
in the graphics should use the LaTeX fonts and macros
that I use in my paper.
The only application that supports this (up to my
knowledge) is XFig. The vector based graphics itself
are being exported as Postscript or PDF. An additonal
LaTeX file containing the labels is generated that
includes the PS/PDF graphics file. At compile-time,
LaTeX puts the text above the PS/PDF graphics, just at
the position where it should be. - That is just a
great for me (and a lot of others I know)!
The problem with XFig is the following:
- Usability (argh!)
- Portability (at work I have Windows, I did not find
a proper Version of XFig, JFig that did the same job
as it does on my Mac)
Form what I have seen from Inkscape it has a very good
usability and is platform-independent, a very good
place to start from. :)
Since I have seen others requesting this "layered
LaTeX export feature" on lists and forums, but I did
not see that it was coded, I hereby volunteer to
implement this feature. I hope to get some help from
this list to implement this feature into Inkscape.
I only had a 2 minutes look at the sources, but my
plans are roughly like that:
- descent the document tree, find text items, write
them to a LaTeX file, remove them form the tree
- pass the graphics-only document tree to the standard
PS/PDF export routines
Could it work out that way?
Greetings,
Jan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
17 years, 3 months
Re: [Inkscape-devel] Inkscape-devel Digest, Vol 3, Issue 52
by Lisa Newbury
Very SIMPLE QUESTION; HOW DO I IMPORT ABD EXPORT A FILE? IMPORT I HAVE MANAGED TO DO AFTER 2 WEEKS OF TRYING. EXPORT IS IMPOSSIBLE!
inkscape-devel-request(a)lists.sourceforge.net wrote: Send Inkscape-devel mailing list submissions to
inkscape-devel(a)lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
or, via email, send a message with subject or body 'help' to
inkscape-devel-request(a)lists.sourceforge.net
You can reach the person managing the list at
inkscape-devel-owner(a)lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Inkscape-devel digest..."
Today's Topics:
1. trunk rev 12993 fails to find libwpg.h and still got po/
problems (pbhj)
----------------------------------------------------------------------
Message: 1
Date: Thu, 31 Aug 2006 04:11:06 +0100
From: pbhj
Subject: [Inkscape-devel] trunk rev 12993 fails to find libwpg.h and
still got po/ problems
To: inkscape-devel(a)lists.sourceforge.net
Message-ID: <200608310411.08186.pbhj@...1029...>
Content-Type: text/plain; charset="utf-8"
pandfi@...1446...:/usr/local/svn/inkscape$ svn info
Path: .
URL: https://svn.sourceforge.net/svnroot/inkscape/inkscape/trunk
Repository Root: https://svn.sourceforge.net/svnroot/inkscape
Repository UUID: 79ec4920-5e0a-0410-a93a-b0c7084bcf59
Revision: 12993
Node Kind: directory
Schedule: normal
Last Changed Author: cwebb
Last Changed Rev: 12993
Last Changed Date: 2006-08-30 18:18:14 +0100 (Wed, 30 Aug 2006)
Properties Last Updated: 2006-08-20 12:53:44 +0100 (Sun, 20 Aug 2006)
Error I received:
extension/internal/wpg-input.cpp:48:27: libwpg/libwpg.h: No such file or directory
In file included from extension/internal/wpg-input.cpp:49:
extension/internal/libwpg/WPGStreamImplementation.h:37: warning: `class libwpg::WPGFileStream' has virtual functions but non-virtual destructor
extension/internal/libwpg/WPGStreamImplementation.h:60: warning: `class libwpg::WPGMemoryStream' has virtual functions but non-virtual destructor
extension/internal/wpg-input.cpp:57: error: expected class-name before '{' token
extension/internal/wpg-input.cpp:66: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:66: error: ISO C++ forbids declaration of `WPGPen' with no type
extension/internal/wpg-input.cpp:67: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:67: error: ISO C++ forbids declaration of `WPGBrush' with no type
extension/internal/wpg-input.cpp:68: error: `FillRule' has not been declared
extension/internal/wpg-input.cpp:68: error: ISO C++ forbids declaration of `rule' with no type
extension/internal/wpg-input.cpp:70: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:70: error: ISO C++ forbids declaration of `WPGRect' with no type
extension/internal/wpg-input.cpp:71: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:71: error: ISO C++ forbids declaration of `WPGPoint' with no type
extension/internal/wpg-input.cpp:72: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:72: error: ISO C++ forbids declaration of `WPGPointArray' with no type
extension/internal/wpg-input.cpp:73: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:73: error: ISO C++ forbids declaration of `WPGPath' with no type
extension/internal/wpg-input.cpp:76: error: `WPGPen' does not name a type
extension/internal/wpg-input.cpp:77: error: `WPGBrush' does not name a type
extension/internal/wpg-input.cpp:78: error: `FillRule' does not name a type
extension/internal/wpg-input.cpp: In constructor `Inkscape::Extension::Internal::InkscapePainter::InkscapePainter()':
extension/internal/wpg-input.cpp:96: error: class `Inkscape::Extension::Internal::InkscapePainter' does not have any field named `m_fillRule'
extension/internal/wpg-input.cpp:96: error: `AlternatingFill' was not declared in this scope
extension/internal/wpg-input.cpp:96: warning: unused variable 'AlternatingFill'
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:121: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:122: error: ISO C++ forbids declaration of `WPGPen' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::setPen(int)':
extension/internal/wpg-input.cpp:123: error: `m_pen' was not declared in this scope
extension/internal/wpg-input.cpp:123: error: `pen' was not declared in this scope
extension/internal/wpg-input.cpp:123: warning: unused variable 'm_pen'
extension/internal/wpg-input.cpp:123: warning: unused variable 'pen'
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:126: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:127: error: ISO C++ forbids declaration of `WPGBrush' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::setBrush(int)':
extension/internal/wpg-input.cpp:128: error: `m_brush' was not declared in this scope
extension/internal/wpg-input.cpp:128: error: `brush' was not declared in this scope
extension/internal/wpg-input.cpp:130: error: `WPGBrush' is not a class or namespace
extension/internal/wpg-input.cpp:130: error: `Gradient' was not declared in this scope
extension/internal/wpg-input.cpp:141: error: `WPGColor' was not declared in this scope
extension/internal/wpg-input.cpp:141: error: expected `;' before "color"
extension/internal/wpg-input.cpp:143: error: `color' was not declared in this scope
extension/internal/wpg-input.cpp:141: warning: unused variable 'WPGColor'
extension/internal/wpg-input.cpp:130: warning: unused variable 'Gradient'
extension/internal/wpg-input.cpp:128: warning: unused variable 'brush'
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:162: error: variable or field `setFillRule' declared void
extension/internal/wpg-input.cpp:162: error: `int Inkscape::Extension::Internal::InkscapePainter::setFillRule' is not a static member of `class Inkscape::Extension::Internal::InkscapePainter'
extension/internal/wpg-input.cpp:162: error: `FillRule' was not declared in this scope
extension/internal/wpg-input.cpp:163: error: expected `,' or `;' before '{' token
extension/internal/wpg-input.cpp:177: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:178: error: ISO C++ forbids declaration of `WPGRect' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::drawRectangle(int)':
extension/internal/wpg-input.cpp:180: error: `rect' was not declared in this scope
extension/internal/wpg-input.cpp:182: error: `rx' was not declared in this scope
extension/internal/wpg-input.cpp:182: error: `ry' was not declared in this scope
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:188: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:189: error: ISO C++ forbids declaration of `WPGPoint' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::drawEllipse(int)':
extension/internal/wpg-input.cpp:191: error: `center' was not declared in this scope
extension/internal/wpg-input.cpp:192: error: `rx' was not declared in this scope
extension/internal/wpg-input.cpp:192: error: `ry' was not declared in this scope
extension/internal/wpg-input.cpp:192: warning: unused variable 'rx'
extension/internal/wpg-input.cpp:192: warning: unused variable 'ry'
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:197: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:198: error: ISO C++ forbids declaration of `WPGPointArray' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::drawPolygon(int)':
extension/internal/wpg-input.cpp:199: error: `vertices' was not declared in this scope
extension/internal/wpg-input.cpp:199: warning: unused variable 'vertices'
extension/internal/wpg-input.cpp:202: error: `vertices' was not declared in this scope
extension/internal/wpg-input.cpp:204: error: expected initializer before '&' token
extension/internal/wpg-input.cpp:205: error: expected initializer before '&' token
extension/internal/wpg-input.cpp:207: error: `p1' was not declared in this scope
extension/internal/wpg-input.cpp:208: error: `p2' was not declared in this scope
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:227: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:228: error: ISO C++ forbids declaration of `WPGPath' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::drawPath(int)':
extension/internal/wpg-input.cpp:230: error: `path' was not declared in this scope
extension/internal/wpg-input.cpp:232: error: `WPGPathElement' was not declared in this scope
extension/internal/wpg-input.cpp:232: error: expected `;' before "element"
extension/internal/wpg-input.cpp:233: error: `WPGPoint' was not declared in this scope
extension/internal/wpg-input.cpp:233: error: expected `;' before "point"
extension/internal/wpg-input.cpp:234: error: `element' was not declared in this scope
extension/internal/wpg-input.cpp:236: error: `WPGPathElement' is not a class or namespace
extension/internal/wpg-input.cpp:236: error: `MoveToElement' was not declared in this scope
extension/internal/wpg-input.cpp:237: error: `point' was not declared in this scope
extension/internal/wpg-input.cpp:240: error: `WPGPathElement' is not a class or namespace
extension/internal/wpg-input.cpp:240: error: `LineToElement' was not declared in this scope
extension/internal/wpg-input.cpp:244: error: `WPGPathElement' is not a class or namespace
extension/internal/wpg-input.cpp:244: error: `CurveToElement' was not declared in this scope
extension/internal/wpg-input.cpp:236: warning: unused variable 'MoveToElement'
extension/internal/wpg-input.cpp:240: warning: unused variable 'LineToElement'
extension/internal/wpg-input.cpp:244: warning: unused variable 'CurveToElement'
extension/internal/wpg-input.cpp:232: warning: unused variable 'WPGPathElement'
extension/internal/wpg-input.cpp:233: warning: unused variable 'WPGPoint'
extension/internal/wpg-input.cpp:230: warning: unused variable 'path'
extension/internal/wpg-input.cpp:256: error: `path' was not declared in this scope
extension/internal/wpg-input.cpp:256: warning: unused variable 'path'
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::writeStyle()':
extension/internal/wpg-input.cpp:269: error: expected initializer before '&' token
extension/internal/wpg-input.cpp:270: error: `m_pen' was not declared in this scope
extension/internal/wpg-input.cpp:273: error: `color' was not declared in this scope
extension/internal/wpg-input.cpp:291: error: `m_brush' was not declared in this scope
extension/internal/wpg-input.cpp:291: error: `WPGBrush' has not been declared
extension/internal/wpg-input.cpp:291: error: `NoBrush' was not declared in this scope
extension/internal/wpg-input.cpp:291: warning: unused variable 'm_brush'
extension/internal/wpg-input.cpp:291: warning: unused variable 'NoBrush'
extension/internal/wpg-input.cpp:294: error: `m_fillRule' was not declared in this scope
extension/internal/wpg-input.cpp:294: error: `WindingFill' is not a member of `Inkscape::Extension::Internal::InkscapePainter'
extension/internal/wpg-input.cpp:296: error: `AlternatingFill' is not a member of `Inkscape::Extension::Internal::InkscapePainter'
extension/internal/wpg-input.cpp:299: error: `m_brush' was not declared in this scope
extension/internal/wpg-input.cpp:299: error: `WPGBrush' has not been declared
extension/internal/wpg-input.cpp:299: error: `Gradient' was not declared in this scope
extension/internal/wpg-input.cpp:299: warning: unused variable 'm_brush'
extension/internal/wpg-input.cpp:299: warning: unused variable 'Gradient'
extension/internal/wpg-input.cpp:302: error: `m_brush' was not declared in this scope
extension/internal/wpg-input.cpp:302: error: `WPGBrush' has not been declared
extension/internal/wpg-input.cpp:302: error: `Solid' was not declared in this scope
extension/internal/wpg-input.cpp:302: warning: unused variable 'Solid'
extension/internal/wpg-input.cpp: In member function `virtual SPDocument* Inkscape::Extension::Internal::WpgInput::open(Inkscape::Extension::Input*, const gchar*)':
extension/internal/wpg-input.cpp:320: error: `WPGraphics' has not been declared
extension/internal/wpg-input.cpp:320: error: `isSupported' was not declared in this scope
extension/internal/wpg-input.cpp:320: warning: unused variable 'isSupported'
extension/internal/wpg-input.cpp:328: error: `WPGraphics' has not been declared
extension/internal/wpg-input.cpp:328: error: `parse' was not declared in this scope
extension/internal/wpg-input.cpp:328: warning: unused variable 'parse'
make[2]: *** [extension/internal/wpg-input.o] Error 1
make[2]: Leaving directory `/usr/local/svn/inkscape/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/svn/inkscape'
make: *** [all] Error 2
Action I took:
I had to copy in the libwpg.h (a recent CVS version) in to extensions/internal/libwpg/ in order to compile, even then I still get quite a few warnings with WPG ...
In file included from extension/internal/libwpg/WPG1Parser.h:31,
from extension/internal/libwpg/WPG1Parser.cpp:28:
extension/internal/libwpg/WPGXParser.h:40: warning: `class WPGXParser' has virtual functions but non-virtual destructor
In file included from extension/internal/libwpg/WPG1Parser.cpp:28:
extension/internal/libwpg/WPG1Parser.h:36: warning: `class WPG1Parser' has virtual functions but non-virtual destructor
extension/internal/libwpg/WPG1Parser.cpp: In member function `virtual bool WPG1Parser::parse()':
extension/internal/libwpg/WPG1Parser.cpp:190: warning: unused variable 'recordPos'
extension/internal/libwpg/WPG1Parser.cpp: In member function `void WPG1Parser::handleStartWPG()':
extension/internal/libwpg/WPG1Parser.cpp:237: warning: unused variable 'version'
extension/internal/libwpg/WPG1Parser.cpp:238: warning: unused variable 'bitFlags'
extension/internal/libwpg/WPG1Parser.cpp: In member function `void WPG1Parser::handleColormap()':
extension/internal/libwpg/WPG1Parser.cpp:263: warning: comparison between signed and unsigned integer expressions
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -DHAVE_SSL -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/X11R6/include -DPOTRACE=\"potrace\" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/local/include/cairo -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/local/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I/usr/include/libpng12 -I../cxxtest -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno
-unused-parameter -g -O2 -MT extension/internal/libwpg/WPG2Parser.o -MD -MP -MF "extension/internal/libwpg/.deps/WPG2Parser.Tpo" -c -o extension/internal/libwpg/WPG2Parser.o `test -f 'extension/internal/libwpg/WPG2Parser.cpp' || echo './'`extension/internal/libwpg/WPG2Parser.cpp; \
then mv -f "extension/internal/libwpg/.deps/WPG2Parser.Tpo" "extension/internal/libwpg/.deps/WPG2Parser.Po"; else rm -f "extension/internal/libwpg/.deps/WPG2Parser.Tpo"; exit 1; fi
In file included from extension/internal/libwpg/WPG2Parser.h:31,
from extension/internal/libwpg/WPG2Parser.cpp:28:
extension/internal/libwpg/WPGXParser.h:40: warning: `class WPGXParser' has virtual functions but non-virtual destructor
In file included from extension/internal/libwpg/WPG2Parser.cpp:28:
extension/internal/libwpg/WPG2Parser.h:129: warning: `class WPG2Parser' has virtual functions but non-virtual destructor
extension/internal/libwpg/WPG2Parser.cpp: In constructor `WPG2Parser::ObjectCharacterization::ObjectCharacterization()':
extension/internal/libwpg/WPG2Parser.cpp:161: warning: `WPG2Parser::ObjectCharacterization::lockFlags' will be initialized after
extension/internal/libwpg/WPG2Parser.cpp:155: warning: `bool WPG2Parser::ObjectCharacterization::windingRule'
extension/internal/libwpg/WPG2Parser.cpp:201: warning: when initialized here
extension/internal/libwpg/WPG2Parser.cpp: In member function `virtual bool WPG2Parser::parse()':
extension/internal/libwpg/WPG2Parser.cpp:316: warning: unused variable 'recordPos'
extension/internal/libwpg/WPG2Parser.cpp:317: warning: unused variable 'recordClass'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleStartWPG()':
extension/internal/libwpg/WPG2Parser.cpp:519: warning: comparison between signed and unsigned integer expressions
extension/internal/libwpg/WPG2Parser.cpp:459: warning: unused variable 'viewportX1'
extension/internal/libwpg/WPG2Parser.cpp:460: warning: unused variable 'viewportY1'
extension/internal/libwpg/WPG2Parser.cpp:461: warning: unused variable 'viewportX2'
extension/internal/libwpg/WPG2Parser.cpp:462: warning: unused variable 'viewportY2'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleDPColorPalette()':
extension/internal/libwpg/WPG2Parser.cpp:627: warning: comparison between signed and unsigned integer expressions
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleBrushGradient()':
extension/internal/libwpg/WPG2Parser.cpp:731: warning: unused variable 'granular'
extension/internal/libwpg/WPG2Parser.cpp:732: warning: unused variable 'anchor'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleDPBrushGradient()':
extension/internal/libwpg/WPG2Parser.cpp:753: warning: unused variable 'granular'
extension/internal/libwpg/WPG2Parser.cpp:754: warning: unused variable 'anchor'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleBrushPattern()':
extension/internal/libwpg/WPG2Parser.cpp:925: warning: unused variable 'pattern'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handlePolycurve()':
extension/internal/libwpg/WPG2Parser.cpp:1084: warning: comparison between signed and unsigned integer expressions
extension/internal/libwpg/WPG2Parser.cpp: At global scope:
extension/internal/libwpg/WPG2Parser.cpp:399: warning: 'const char* describePrecision(unsigned char)' defined but not used
extension/internal/libwpg/WPG2Parser.cpp:411: warning: 'const char* describeGradient(unsigned char)' defined but not used
Ultimately I still can't get past the po files:
make[2]: Entering directory `/usr/local/svn/inkscape/po'
file=./`echo fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file fr.po
file=./`echo ga | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file ga.po
file=./`echo gl | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file gl.po
file=./`echo hr | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file hr.po
file=./`echo hu | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file hu.po
file=./`echo it | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file it.po
file=./`echo ja | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file ja.po
ja.po:15: nplurals = 1...
ja.po:899: ...but some messages have 2 plural forms
=== message truncated ===
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
17 years, 3 months
trunk rev 12993 fails to find libwpg.h and still got po/ problems
by pbhj
pandfi@...1446...:/usr/local/svn/inkscape$ svn info
Path: .
URL: https://svn.sourceforge.net/svnroot/inkscape/inkscape/trunk
Repository Root: https://svn.sourceforge.net/svnroot/inkscape
Repository UUID: 79ec4920-5e0a-0410-a93a-b0c7084bcf59
Revision: 12993
Node Kind: directory
Schedule: normal
Last Changed Author: cwebb
Last Changed Rev: 12993
Last Changed Date: 2006-08-30 18:18:14 +0100 (Wed, 30 Aug 2006)
Properties Last Updated: 2006-08-20 12:53:44 +0100 (Sun, 20 Aug 2006)
Error I received:
extension/internal/wpg-input.cpp:48:27: libwpg/libwpg.h: No such file or directory
In file included from extension/internal/wpg-input.cpp:49:
extension/internal/libwpg/WPGStreamImplementation.h:37: warning: `class libwpg::WPGFileStream' has virtual functions but non-virtual destructor
extension/internal/libwpg/WPGStreamImplementation.h:60: warning: `class libwpg::WPGMemoryStream' has virtual functions but non-virtual destructor
extension/internal/wpg-input.cpp:57: error: expected class-name before '{' token
extension/internal/wpg-input.cpp:66: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:66: error: ISO C++ forbids declaration of `WPGPen' with no type
extension/internal/wpg-input.cpp:67: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:67: error: ISO C++ forbids declaration of `WPGBrush' with no type
extension/internal/wpg-input.cpp:68: error: `FillRule' has not been declared
extension/internal/wpg-input.cpp:68: error: ISO C++ forbids declaration of `rule' with no type
extension/internal/wpg-input.cpp:70: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:70: error: ISO C++ forbids declaration of `WPGRect' with no type
extension/internal/wpg-input.cpp:71: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:71: error: ISO C++ forbids declaration of `WPGPoint' with no type
extension/internal/wpg-input.cpp:72: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:72: error: ISO C++ forbids declaration of `WPGPointArray' with no type
extension/internal/wpg-input.cpp:73: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:73: error: ISO C++ forbids declaration of `WPGPath' with no type
extension/internal/wpg-input.cpp:76: error: `WPGPen' does not name a type
extension/internal/wpg-input.cpp:77: error: `WPGBrush' does not name a type
extension/internal/wpg-input.cpp:78: error: `FillRule' does not name a type
extension/internal/wpg-input.cpp: In constructor `Inkscape::Extension::Internal::InkscapePainter::InkscapePainter()':
extension/internal/wpg-input.cpp:96: error: class `Inkscape::Extension::Internal::InkscapePainter' does not have any field named `m_fillRule'
extension/internal/wpg-input.cpp:96: error: `AlternatingFill' was not declared in this scope
extension/internal/wpg-input.cpp:96: warning: unused variable 'AlternatingFill'
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:121: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:122: error: ISO C++ forbids declaration of `WPGPen' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::setPen(int)':
extension/internal/wpg-input.cpp:123: error: `m_pen' was not declared in this scope
extension/internal/wpg-input.cpp:123: error: `pen' was not declared in this scope
extension/internal/wpg-input.cpp:123: warning: unused variable 'm_pen'
extension/internal/wpg-input.cpp:123: warning: unused variable 'pen'
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:126: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:127: error: ISO C++ forbids declaration of `WPGBrush' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::setBrush(int)':
extension/internal/wpg-input.cpp:128: error: `m_brush' was not declared in this scope
extension/internal/wpg-input.cpp:128: error: `brush' was not declared in this scope
extension/internal/wpg-input.cpp:130: error: `WPGBrush' is not a class or namespace
extension/internal/wpg-input.cpp:130: error: `Gradient' was not declared in this scope
extension/internal/wpg-input.cpp:141: error: `WPGColor' was not declared in this scope
extension/internal/wpg-input.cpp:141: error: expected `;' before "color"
extension/internal/wpg-input.cpp:143: error: `color' was not declared in this scope
extension/internal/wpg-input.cpp:141: warning: unused variable 'WPGColor'
extension/internal/wpg-input.cpp:130: warning: unused variable 'Gradient'
extension/internal/wpg-input.cpp:128: warning: unused variable 'brush'
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:162: error: variable or field `setFillRule' declared void
extension/internal/wpg-input.cpp:162: error: `int Inkscape::Extension::Internal::InkscapePainter::setFillRule' is not a static member of `class Inkscape::Extension::Internal::InkscapePainter'
extension/internal/wpg-input.cpp:162: error: `FillRule' was not declared in this scope
extension/internal/wpg-input.cpp:163: error: expected `,' or `;' before '{' token
extension/internal/wpg-input.cpp:177: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:178: error: ISO C++ forbids declaration of `WPGRect' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::drawRectangle(int)':
extension/internal/wpg-input.cpp:180: error: `rect' was not declared in this scope
extension/internal/wpg-input.cpp:182: error: `rx' was not declared in this scope
extension/internal/wpg-input.cpp:182: error: `ry' was not declared in this scope
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:188: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:189: error: ISO C++ forbids declaration of `WPGPoint' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::drawEllipse(int)':
extension/internal/wpg-input.cpp:191: error: `center' was not declared in this scope
extension/internal/wpg-input.cpp:192: error: `rx' was not declared in this scope
extension/internal/wpg-input.cpp:192: error: `ry' was not declared in this scope
extension/internal/wpg-input.cpp:192: warning: unused variable 'rx'
extension/internal/wpg-input.cpp:192: warning: unused variable 'ry'
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:197: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:198: error: ISO C++ forbids declaration of `WPGPointArray' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::drawPolygon(int)':
extension/internal/wpg-input.cpp:199: error: `vertices' was not declared in this scope
extension/internal/wpg-input.cpp:199: warning: unused variable 'vertices'
extension/internal/wpg-input.cpp:202: error: `vertices' was not declared in this scope
extension/internal/wpg-input.cpp:204: error: expected initializer before '&' token
extension/internal/wpg-input.cpp:205: error: expected initializer before '&' token
extension/internal/wpg-input.cpp:207: error: `p1' was not declared in this scope
extension/internal/wpg-input.cpp:208: error: `p2' was not declared in this scope
extension/internal/wpg-input.cpp: At global scope:
extension/internal/wpg-input.cpp:227: error: expected `,' or `...' before '&' token
extension/internal/wpg-input.cpp:228: error: ISO C++ forbids declaration of `WPGPath' with no type
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::drawPath(int)':
extension/internal/wpg-input.cpp:230: error: `path' was not declared in this scope
extension/internal/wpg-input.cpp:232: error: `WPGPathElement' was not declared in this scope
extension/internal/wpg-input.cpp:232: error: expected `;' before "element"
extension/internal/wpg-input.cpp:233: error: `WPGPoint' was not declared in this scope
extension/internal/wpg-input.cpp:233: error: expected `;' before "point"
extension/internal/wpg-input.cpp:234: error: `element' was not declared in this scope
extension/internal/wpg-input.cpp:236: error: `WPGPathElement' is not a class or namespace
extension/internal/wpg-input.cpp:236: error: `MoveToElement' was not declared in this scope
extension/internal/wpg-input.cpp:237: error: `point' was not declared in this scope
extension/internal/wpg-input.cpp:240: error: `WPGPathElement' is not a class or namespace
extension/internal/wpg-input.cpp:240: error: `LineToElement' was not declared in this scope
extension/internal/wpg-input.cpp:244: error: `WPGPathElement' is not a class or namespace
extension/internal/wpg-input.cpp:244: error: `CurveToElement' was not declared in this scope
extension/internal/wpg-input.cpp:236: warning: unused variable 'MoveToElement'
extension/internal/wpg-input.cpp:240: warning: unused variable 'LineToElement'
extension/internal/wpg-input.cpp:244: warning: unused variable 'CurveToElement'
extension/internal/wpg-input.cpp:232: warning: unused variable 'WPGPathElement'
extension/internal/wpg-input.cpp:233: warning: unused variable 'WPGPoint'
extension/internal/wpg-input.cpp:230: warning: unused variable 'path'
extension/internal/wpg-input.cpp:256: error: `path' was not declared in this scope
extension/internal/wpg-input.cpp:256: warning: unused variable 'path'
extension/internal/wpg-input.cpp: In member function `void Inkscape::Extension::Internal::InkscapePainter::writeStyle()':
extension/internal/wpg-input.cpp:269: error: expected initializer before '&' token
extension/internal/wpg-input.cpp:270: error: `m_pen' was not declared in this scope
extension/internal/wpg-input.cpp:273: error: `color' was not declared in this scope
extension/internal/wpg-input.cpp:291: error: `m_brush' was not declared in this scope
extension/internal/wpg-input.cpp:291: error: `WPGBrush' has not been declared
extension/internal/wpg-input.cpp:291: error: `NoBrush' was not declared in this scope
extension/internal/wpg-input.cpp:291: warning: unused variable 'm_brush'
extension/internal/wpg-input.cpp:291: warning: unused variable 'NoBrush'
extension/internal/wpg-input.cpp:294: error: `m_fillRule' was not declared in this scope
extension/internal/wpg-input.cpp:294: error: `WindingFill' is not a member of `Inkscape::Extension::Internal::InkscapePainter'
extension/internal/wpg-input.cpp:296: error: `AlternatingFill' is not a member of `Inkscape::Extension::Internal::InkscapePainter'
extension/internal/wpg-input.cpp:299: error: `m_brush' was not declared in this scope
extension/internal/wpg-input.cpp:299: error: `WPGBrush' has not been declared
extension/internal/wpg-input.cpp:299: error: `Gradient' was not declared in this scope
extension/internal/wpg-input.cpp:299: warning: unused variable 'm_brush'
extension/internal/wpg-input.cpp:299: warning: unused variable 'Gradient'
extension/internal/wpg-input.cpp:302: error: `m_brush' was not declared in this scope
extension/internal/wpg-input.cpp:302: error: `WPGBrush' has not been declared
extension/internal/wpg-input.cpp:302: error: `Solid' was not declared in this scope
extension/internal/wpg-input.cpp:302: warning: unused variable 'Solid'
extension/internal/wpg-input.cpp: In member function `virtual SPDocument* Inkscape::Extension::Internal::WpgInput::open(Inkscape::Extension::Input*, const gchar*)':
extension/internal/wpg-input.cpp:320: error: `WPGraphics' has not been declared
extension/internal/wpg-input.cpp:320: error: `isSupported' was not declared in this scope
extension/internal/wpg-input.cpp:320: warning: unused variable 'isSupported'
extension/internal/wpg-input.cpp:328: error: `WPGraphics' has not been declared
extension/internal/wpg-input.cpp:328: error: `parse' was not declared in this scope
extension/internal/wpg-input.cpp:328: warning: unused variable 'parse'
make[2]: *** [extension/internal/wpg-input.o] Error 1
make[2]: Leaving directory `/usr/local/svn/inkscape/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/svn/inkscape'
make: *** [all] Error 2
Action I took:
I had to copy in the libwpg.h (a recent CVS version) in to extensions/internal/libwpg/ in order to compile, even then I still get quite a few warnings with WPG ...
In file included from extension/internal/libwpg/WPG1Parser.h:31,
from extension/internal/libwpg/WPG1Parser.cpp:28:
extension/internal/libwpg/WPGXParser.h:40: warning: `class WPGXParser' has virtual functions but non-virtual destructor
In file included from extension/internal/libwpg/WPG1Parser.cpp:28:
extension/internal/libwpg/WPG1Parser.h:36: warning: `class WPG1Parser' has virtual functions but non-virtual destructor
extension/internal/libwpg/WPG1Parser.cpp: In member function `virtual bool WPG1Parser::parse()':
extension/internal/libwpg/WPG1Parser.cpp:190: warning: unused variable 'recordPos'
extension/internal/libwpg/WPG1Parser.cpp: In member function `void WPG1Parser::handleStartWPG()':
extension/internal/libwpg/WPG1Parser.cpp:237: warning: unused variable 'version'
extension/internal/libwpg/WPG1Parser.cpp:238: warning: unused variable 'bitFlags'
extension/internal/libwpg/WPG1Parser.cpp: In member function `void WPG1Parser::handleColormap()':
extension/internal/libwpg/WPG1Parser.cpp:263: warning: comparison between signed and unsigned integer expressions
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -DHAVE_SSL -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/X11R6/include -DPOTRACE=\"potrace\" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/local/include/cairo -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/local/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I/usr/include/libpng12 -I../cxxtest -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT extension/internal/libwpg/WPG2Parser.o -MD -MP -MF "extension/internal/libwpg/.deps/WPG2Parser.Tpo" -c -o extension/internal/libwpg/WPG2Parser.o `test -f 'extension/internal/libwpg/WPG2Parser.cpp' || echo './'`extension/internal/libwpg/WPG2Parser.cpp; \
then mv -f "extension/internal/libwpg/.deps/WPG2Parser.Tpo" "extension/internal/libwpg/.deps/WPG2Parser.Po"; else rm -f "extension/internal/libwpg/.deps/WPG2Parser.Tpo"; exit 1; fi
In file included from extension/internal/libwpg/WPG2Parser.h:31,
from extension/internal/libwpg/WPG2Parser.cpp:28:
extension/internal/libwpg/WPGXParser.h:40: warning: `class WPGXParser' has virtual functions but non-virtual destructor
In file included from extension/internal/libwpg/WPG2Parser.cpp:28:
extension/internal/libwpg/WPG2Parser.h:129: warning: `class WPG2Parser' has virtual functions but non-virtual destructor
extension/internal/libwpg/WPG2Parser.cpp: In constructor `WPG2Parser::ObjectCharacterization::ObjectCharacterization()':
extension/internal/libwpg/WPG2Parser.cpp:161: warning: `WPG2Parser::ObjectCharacterization::lockFlags' will be initialized after
extension/internal/libwpg/WPG2Parser.cpp:155: warning: `bool WPG2Parser::ObjectCharacterization::windingRule'
extension/internal/libwpg/WPG2Parser.cpp:201: warning: when initialized here
extension/internal/libwpg/WPG2Parser.cpp: In member function `virtual bool WPG2Parser::parse()':
extension/internal/libwpg/WPG2Parser.cpp:316: warning: unused variable 'recordPos'
extension/internal/libwpg/WPG2Parser.cpp:317: warning: unused variable 'recordClass'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleStartWPG()':
extension/internal/libwpg/WPG2Parser.cpp:519: warning: comparison between signed and unsigned integer expressions
extension/internal/libwpg/WPG2Parser.cpp:459: warning: unused variable 'viewportX1'
extension/internal/libwpg/WPG2Parser.cpp:460: warning: unused variable 'viewportY1'
extension/internal/libwpg/WPG2Parser.cpp:461: warning: unused variable 'viewportX2'
extension/internal/libwpg/WPG2Parser.cpp:462: warning: unused variable 'viewportY2'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleDPColorPalette()':
extension/internal/libwpg/WPG2Parser.cpp:627: warning: comparison between signed and unsigned integer expressions
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleBrushGradient()':
extension/internal/libwpg/WPG2Parser.cpp:731: warning: unused variable 'granular'
extension/internal/libwpg/WPG2Parser.cpp:732: warning: unused variable 'anchor'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleDPBrushGradient()':
extension/internal/libwpg/WPG2Parser.cpp:753: warning: unused variable 'granular'
extension/internal/libwpg/WPG2Parser.cpp:754: warning: unused variable 'anchor'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handleBrushPattern()':
extension/internal/libwpg/WPG2Parser.cpp:925: warning: unused variable 'pattern'
extension/internal/libwpg/WPG2Parser.cpp: In member function `void WPG2Parser::handlePolycurve()':
extension/internal/libwpg/WPG2Parser.cpp:1084: warning: comparison between signed and unsigned integer expressions
extension/internal/libwpg/WPG2Parser.cpp: At global scope:
extension/internal/libwpg/WPG2Parser.cpp:399: warning: 'const char* describePrecision(unsigned char)' defined but not used
extension/internal/libwpg/WPG2Parser.cpp:411: warning: 'const char* describeGradient(unsigned char)' defined but not used
Ultimately I still can't get past the po files:
make[2]: Entering directory `/usr/local/svn/inkscape/po'
file=./`echo fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file fr.po
file=./`echo ga | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file ga.po
file=./`echo gl | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file gl.po
file=./`echo hr | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file hr.po
file=./`echo hu | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file hu.po
file=./`echo it | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file it.po
file=./`echo ja | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -c -o $file ja.po
ja.po:15: nplurals = 1...
ja.po:899: ...but some messages have 2 plural forms
/usr/bin/msgfmt: found 1 fatal error
make[2]: *** [ja.gmo] Error 1
make[2]: Leaving directory `/usr/local/svn/inkscape/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/svn/inkscape'
make: *** [all] Error 2
I've found one other mail ( bug 1343164 @ https://sourceforge.net/tracker/index.php?func=detail&aid=1343164&group_i... ) on the mailing list that seems to refer to this type of situation but there appears to be no resolution. I too can't see why I have to compile all these languages that I wont need. Moreover as grammar doesn't change on a per project basis I don't see how these parts (the plural forms) can be wrong?
I end up removing entries from po/Makefile to ensure compile finishes.
Inkscape segfaults. But at least I can compile it now. My diff at http://slashdot.org/~pbhj/journal/142939.
(gdb) run
Starting program: /home/pandfi/inkscape-svn/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread -1228621600 (LWP 24966)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228621600 (LWP 24966)]
0xb70b7d7b in std::locale::operator= () from /usr/i486-slackware-linux/lib/libstdc++.so.5
(gdb) bt
#0 0xb70b7d7b in std::locale::operator= () from /usr/i486-slackware-linux/lib/libstdc++.so.5
#1 0xb70b0ab1 in std::ios_base::_M_init () from /usr/i486-slackware-linux/lib/libstdc++.so.5
#2 0xb70aed94 in std::basic_ios<char, std::char_traits<char> >::init () from /usr/i486-slackware-linux/lib/libstdc++.so.5
#3 0x085c3eda in global constructors keyed to _ZN8Inkscape5Debug6Logger8_enabledE ()
at /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/fstream:632
#4 0x085c42f5 in __do_global_ctors_aux ()
#5 0x0819eb65 in _init ()
#6 0x085c41fb in __libc_csu_init ()
#7 0xb6f30dbf in __libc_start_main () from /lib/tls/libc.so.6
#8 0x081a7381 in _start () at ../sysdeps/i386/elf/start.S:119
(gdb)
17 years, 3 months
DebugDialog
by T P
I found the DebugDialog code but was confused when setting dialogs.debug to
1 in preferences.xml didn't show the dialog. So I changed the code in
inkscape.cpp, line 573:
if (use_gui == TRUE && prefs_get_int_attribute("dialogs.debug",
"redirect", DEFAULT_LOG_REDIRECT))
{
Inkscape::UI::Dialogs::DebugDialog::getInstance()->captureLogMessages();
Inkscape::UI::Dialogs::DebugDialog::showInstance();
}
Is this the right way to do this?
Adam
17 years, 3 months
Open Clip Art Library's ccHost now accepts SVG files and using up-to-date ccHost pre-3.0SVN
by Jon Phillips
Hello all, I have enabled the great work that Roan has done on adapting
getid3 to use SVG and XML and glued in this work. His work seems to work
great thus far. I changed a few values on in the .htaccess file (which
solves many of the woes ccHost folks complain about and is a good way to
do this with an service provider...another email for that)
Anyhow, this now opens the testing phase for uploading compliant SVG
files that you all are dedicate to the public domain.
There are several tasks that still need to be done before we move over,
however, I think we are within 1-2 days if some of you are dedicated to
rocking this out.
I'm inclined to move over to this new infrastructure as soon as
possible...like by yesterday!
The largest features we need before switching over are:
1.) export of our content from the old system to the new one
2.) SVG thumbnails
3.) writing metadata to SVG files in getid3
4.) migration of old web content from old site to the new one
The tasks are listed on the wiki
(http://openclipart.org/wiki/index.php/CcHost#Phase_1).
How about we divide and conquer these task? Are there tasks that you all
would like to sign up for, or are
already working on?
I will sign up for a task if you all sign up for some :) I'm thinking to
do either number 4 or number 2 in the above list.
###
Otherwise, one of the greatest ways you can help out is by uploading
your SVG clip art to this test site now, leaving comments, testing out
features, emailing the list or chatting if there are issues.
###
If you have administrative access, try out the various features of the
site. There are several new ones since we first started this migration,
such as Manage Files:
http://openclipart.org/cchost/media/admin/files/manage This feature
allows for one to manage the files for the site without having to login
with SSH...pretty cool...
Please help out Open Clip Art Library move over to the new
infrastructure.
Jon
--
Jon Phillips
jon@...158...
cell: 510.499.0894
Software Engineer
Creative Commons
www.creativecommons.org
17 years, 3 months