GSoC 2013 - Embedding of license and attribution metadata
by Christoffer Holmstedt
Hi
I'm studying Master in Software Engineering at Mälardalen University in
Sweden and looking in to the possiblities of participating in GSoC 2013.
I've used Inkscape for several years as a user and want a deeper
understanding of how c/c++ is used in larger projects so I feel that
Inkscape can be a good project for me. Enough about me for this time, as
Johan Engelen posted in an earlier conversation [1] I will try to spend my
time fixing bugs instead of "fine tuning" my GSoC application.
So to my suggestion and questions. For the last weeks I've been in contact
with Jonas Öberg a Shuttleworth Fellow running the project "License and
attribution metadata" [2,3]. With start from the 1st of June 2013 they will
begin their work of developing a library for storing license and
attribution metadata in digital works.
My suggestion for GSoC 2013 is to use that library in Inkscape. There are
both benefits and problems that comes with trying to use a library while
it's still in alpha/prototype stages so what do you think about this?
1) Is this work of any interest?
2) What do you think about developing the additions to Inkscape as GSoC
project in parallell with creation of a library for this?
[1]
http://inkscape.13.x6.nabble.com/Guides-Improvement-and-GSoC-2013-td49664...
[2]
http://jonasoberg.net/post/40518443141/embedded-metadata-for-digital-works
[3] http://www.shuttleworthfoundation.org/fellows/jonas-oberg/
Regards
--
Christoffer Holmstedt
10 years, 1 month
Re: [Inkscape-devel] Displayig a Tool in the Menu
by Arshdeep Singh
Hello all,
I have also assigned a ' Shift+Ctrl+R ' , shortcut to the new widget I
linked with the 'Recolor Artwork' entry. Till this blossoms into a possible
new tool, the ad-hoc
:D
---------- Forwarded message ----------
From: Arshdeep Singh <moduli16@...400...>
Date: Tue, Apr 16, 2013 at 11:54 AM
Subject: Re: [Inkscape-devel] Displayig a Tool in the Menu
To: Jon Cruz <jon@...18...>, inkscape-devel(a)lists.sourceforge.net
Hi all,
I was successful in showing the custom widget in the menu of *Object. *I
used the *fillstyle* widget as an instance to test my code.
Screenshots are attached.
On Mon, Apr 15, 2013 at 8:07 PM, Arshdeep Singh <moduli16@...400...> wrote:
> *came to you for advice.
>
>
> On Mon, Apr 15, 2013 at 7:23 PM, Arshdeep Singh <moduli16@...400...>wrote:
>
>> I had added that Jon. Only then I cam to your for advice.
>>
>>
>> On Mon, Apr 15, 2013 at 12:46 PM, Jon Cruz <jon@...18...> wrote:
>>
>>>
>>> On Apr 14, 2013, at 11:27 AM, Arshdeep Singh wrote:
>>>
>>> > Thankyou Jon. Actually I've done this a number of times. Adding
>>> >
>>> > registerFactory("RecolorArtwork", &create<RecolorArtwork, Floating
>>> Behavior>);
>>> >
>>> > gives an error saying that RecolorArtwork was not defined in the scope.
>>> >
>>> > Complete Error:
>>> > Make error line 301: problem compiling:
>>> src/ui/dialog/dialog-manager.cpp: In con
>>> > structor 'Inkscape::UI::Dialog::DialogManager::DialogManager()':
>>> > src/ui/dialog/dialog-manager.cpp:108:51: error: 'RecolorArtwork' was
>>> not declare
>>> > d in this scope
>>>
>>> Might only need to add the #include for your new header.
>>>
>>> Similar to line 27:
>>>
>>> #include "ui/dialog/fill-and-stroke.h"
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Arshdeep Singh
>> Third Year, Computer Engineering
>> Delhi Technological University
>> Ph: +91-9654115614
>> https://sites.google.com/site/adsingh1729/home
>>
>
>
>
> --
> Arshdeep Singh
> Third Year, Computer Engineering
> Delhi Technological University
> Ph: +91-9654115614
> https://sites.google.com/site/adsingh1729/home
>
--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home
--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home
10 years, 1 month
Re: [Inkscape-devel] Displayig a Tool in the Menu
by Arshdeep Singh
Hi all,
I was successful in showing the custom widget in the menu of *Object. *I
used the *fillstyle* widget as an instance to test my code.
Screenshots are attached.
On Mon, Apr 15, 2013 at 8:07 PM, Arshdeep Singh <moduli16@...400...> wrote:
> *came to you for advice.
>
>
> On Mon, Apr 15, 2013 at 7:23 PM, Arshdeep Singh <moduli16@...400...>wrote:
>
>> I had added that Jon. Only then I cam to your for advice.
>>
>>
>> On Mon, Apr 15, 2013 at 12:46 PM, Jon Cruz <jon@...18...> wrote:
>>
>>>
>>> On Apr 14, 2013, at 11:27 AM, Arshdeep Singh wrote:
>>>
>>> > Thankyou Jon. Actually I've done this a number of times. Adding
>>> >
>>> > registerFactory("RecolorArtwork", &create<RecolorArtwork, Floating
>>> Behavior>);
>>> >
>>> > gives an error saying that RecolorArtwork was not defined in the scope.
>>> >
>>> > Complete Error:
>>> > Make error line 301: problem compiling:
>>> src/ui/dialog/dialog-manager.cpp: In con
>>> > structor 'Inkscape::UI::Dialog::DialogManager::DialogManager()':
>>> > src/ui/dialog/dialog-manager.cpp:108:51: error: 'RecolorArtwork' was
>>> not declare
>>> > d in this scope
>>>
>>> Might only need to add the #include for your new header.
>>>
>>> Similar to line 27:
>>>
>>> #include "ui/dialog/fill-and-stroke.h"
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Arshdeep Singh
>> Third Year, Computer Engineering
>> Delhi Technological University
>> Ph: +91-9654115614
>> https://sites.google.com/site/adsingh1729/home
>>
>
>
>
> --
> Arshdeep Singh
> Third Year, Computer Engineering
> Delhi Technological University
> Ph: +91-9654115614
> https://sites.google.com/site/adsingh1729/home
>
--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home
10 years, 1 month
Cairo compositing in handles
by Jabiertxo Arraiza Cenoz
>From similar input in IRC:
Hi to all, i have a cuestion to developers.
Anybody know if there is actual work for give Cairo compositing to the
overlay lines?
I see some similar in actual build with the handles in pen tool.
I'm working in this direction with the help of Gez and don`t want to
duplicate works.
Hi, Jabier.
10 years, 1 month
Re: [Inkscape-devel] Displayig a Tool in the Menu
by Arshdeep Singh
Hi all,
I have been successful in making a menu-item in the *Object* Menu of the
name *Recolor Artwork*. Just as an exercise I have copied the Fill and
Stroke .cpp and .h files and translated the entire dialog to under the name
*RecolorArtwork* rather than *FillAndStroke*. Logically this should mean
that the entire dialog box shall now be replicated under the pseudonym of *
RecolorArtwork*.
To add a menu-item I edited the *menu-skeleton.h* file's variable *
menus_skeleton[]. *
I added
" <verb verb-id=\"DialogRecolorArtwork\" />\n "
under
" <verb verb-id=\"DialogFillStroke\" />\n "
This handles the display part of the task. Now what remains is linking the
action and verb.
I added a enum value:
*SP_VERB_DIALOG_RECOLOR_ARTWORK* in *verbs.h*
and in *verbs.cpp * I added:
*new DialogVerb(SP_VERB_DIALOG_RECOLOR_ARTWORK, "DialogRecolorArtwork",
N_("_Recolor Artwork..."),*
* N_("Description of Recolor Artwork..."),
INKSCAPE_ICON("dialog-fill-and-stroke")),
*
This links the verb *SP_VERB_DIALOG_RECOLOR_ARTWORK *and *
DialogRecolorArtwork. *
In the same file *verbs.cpp*, I added:
*case SP_VERB_DIALOG_RECOLOR_ARTWORK:*
* dt->_dlg_mgr->showDialog("RecolorArtwork");*
* break;*
in the function:
*
*
*void DialogVerb::perform(SPAction *action, void *data) *
*
*
which launches the appropriate dialog or rather it should. Sadly this is
not the case ?
Can someone please help me point out the what am I missing out ?
-demicoder
On Sun, Apr 14, 2013 at 2:10 PM, Arshdeep Singh <moduli16@...400...> wrote:
> Thankyou for the information. :)
>
> I managed to find the 'display' part of the menu-items in "
> menus-skeleton.h " .
>
> SYNTAX in MENU-SKELETON.H -
>
> " <submenu name=\"" N_("_Object") "\">\n"
> " <verb verb-id=\"DialogFillStroke\" />\n"
>
> verb-id attaches the action to launch the menu-item. I am unable to figure
> out where establish this verb-id and requisite action.
>
> It shall be really helpful if you could point me in the right direction !
>
>
> On Sun, Apr 14, 2013 at 12:57 AM, Jon Cruz <jon@...18...> wrote:
>
>>
>> On Apr 12, 2013, at 11:20 AM, Arshdeep Singh wrote:
>>
>> > Hi all,
>> > I have made a small widget that is populated in a page in a notebook in
>> a panel. Right now, for experimental purposes it contains only a GTKButton.
>> How can I make it appear in a menu like Fill and Stroke ?
>> >
>> > Fill and Stroke is created under Object->Fill and Stroke
>> (Shift+Ctrl+F).
>>
>>
>> We're trying to focus on a more logical approach, rather than physical.
>> In that direction we set up verbs and actions then just get those placed
>> into the menus.
>>
>> Actions are a GTK+ concept
>> https://developer.gnome.org/gtk2/stable/GtkAction.html
>> https://developer.gnome.org/gtkmm/unstable/classGtk_1_1Action.html
>>
>> Then we have a higher-level concept of a 'verb'. Verbs, aside from
>> predating GtkAction's addition to Gtk, are not tied to a specific Gtk
>> window but apply per document. We also have helpers that can get a gkt
>> action from an inkscape verb.
>>
>>
>>
>>
>
>
> --
> Arshdeep Singh
> Third Year, Computer Engineering
> Delhi Technological University
> Ph: +91-9654115614
> https://sites.google.com/site/adsingh1729/home
>
--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home
10 years, 1 month
Grids - new coordinate system
by Johan Engelen
Hi all,
We have to change the coordinate system used by grids in XML. I think
it is the only thing left that has the inverted coord-system in XML. I
changed it in the guides improvements branch, and it works fine. The
only problem is: grids of old files will show wrong, they are not
"upgraded" to the new format, because there is (yet) no way to
distinguish old-style from new-style grids. How should I go about this?
It is relatively easy to fix it manually for each file, but I understand
it is an annoyance.
Cheers,
Johan
10 years, 1 month
Displayig a Tool in the Menu
by Arshdeep Singh
Hi all,
I have made a small widget that is populated in a page in a notebook in a
panel. Right now, for experimental purposes it contains only a GTKButton.
How can I make it appear in a menu like Fill and Stroke ?
Fill and Stroke is created under Object->Fill and Stroke (Shift+Ctrl+F).
--
demicoder
10 years, 1 month
Introducing myself and GSoC 2013 student participation
by Jiabao Wu
Hello,
Thanks to you all and the rest of the Inkscape community for making such a
great project.
I am a masters student at Australian National University. I am currently
part of a course on FOSS run by Andrew Tridge and Bob Edwards.This boosted
my huge enthusiasm in contributing to the FOSS community and the software I
use. For this course I will be making a report on the study of the
Inkscape(inc. culture, governance, etc), as well as a report of my work.
The experience from my Bachelor of I.T left me feeling like I didn't know
very much about real software development. Studying your project has really
helped to open my eyes and I want to contribute as much as I can.
I sent my first patch recently to fix the too small default window size,
which is at https://bugs.launchpad.net/inkscape/+bug/830663. Thanks to ~suv
and JazzyNico for testing it. It has not been accepted and is still being
discussed. I am looking forward to more recommendations and suggestions on
how I can improve the patch. At the mean time, I will try to fix more bugs
and send more patches.
Finally I greatly enjoyed my short time with inkscape and hope to
participate in GSoC as well.
Cheers,
Jiabao
10 years, 1 month