[Qgis-community-team] Re: Plugin icons

Otto Dassau otto.dassau at gmx.de
Sat Aug 2 04:43:05 EDT 2008


Hi Tara,

On Fri, 01 Aug 2008 12:46:58 -0700
Tara Athan <tara_athan at alt2is.com> wrote:

> OK, lets see if I have this
> 
> Procedure to update icons
> *This should be done once per release, as soon as the GUI freeze is in 
> place.
> 1. Use svn or an svn client to update local copy of QGIS source code and 
> user guide Makefile
> 2. Modify Makefile as follows
>    a. change QGISPLUGINSSOURCE to the correct path for the local copy
>    b. add commands to the target "updateicons" for any new plugins
>    c. verify the paths for existing plugins, modify if necessary
> 3. If any new plugins have been added, create a folder 
> "plugins_name_images" containing a Makefile, and also a file 
> "plugins_name.tex"
> 4. execute "make updateicons" from the command line
> 5. modify all Makefiles to be consistent with the new image names
> 5. insert %FIXME comments for all latex errors resulting from missing 
> images (This will happen for all screenshots and for missing icon images)
> 5. commit these changes
> 6. send an email to qgis-community-team with the following instructions
>     a. execute "make clean"
>     b. svn update your local copy
>     c. please update your sections wherever %FIXME appears
> 
> Does that look correct?

yes! thanks for listing it. I added it to the ManualReleaseChecklist1.0 as a
task to be done after GUI freeze. Please modify if necessary.

thanks a lot
 Otto
 
> Otto Dassau wrote:
> > Hi Tara,
> >
> > On Fri, 01 Aug 2008 07:57:36 -0700
> > Tara Athan <tara_athan at alt2is.com> wrote:
> >
> >   
> >> Otto- I updated my local copy of the user guid: creation of new folders 
> >> such as operation_system_icon and moving those images is working OK.
> >>
> >> However when I try to clean up the old files, I see this:
> >> $ make updateicon
> >> (cd ./images && rm -f *.png *.eps && cp 
> >> /software/qgis_head/src/plugins/../../images/themes/default/*.png .)
> >> cp: cannot stat 
> >> `/software/qgis_head/src/plugins/../../images/themes/default/*.png': No 
> >> such file or directory
> >> make: *** [updateicon] Error 1
> >>     
> >
> > you only need to adapt the path to qgis sources in the Makefiles on your
system
> >
> > QGISPLUGINSOURCE=...
> >  
> >   
> >> I think we need to separate the removing of old eps files from the 
> >> copying of new images.
> >> This is what I was thinking would be required:
> >> One person will need to get the new images from the software source and 
> >> move them into their user guide local copy, then commit.
> >>     
> >
> > yes and he needs to adapt changes due to new names in the .tex files and
> > Makefiles and make sure it all compiles well again.
> >
> >   
> >> Everyone else will need to remove their old eps files and update from SVN.
> >>     
> >
> > all other users only need to use these 2 commands to make everything work
again:
> >
> > make clean -> removes all current eps files and the folder finalpix
> > svn up -> update to current images...
> >
> > or am I missing something?
> >
> >  regards,
> >   Otto
> > 
> >> Tara
> >>     
> >>> I did following steps now:
> >>>
> >>> - removed old png and eps image/icon files except screenies using Makefile

> >>>   option 'updateicon'
> >>> - moved operation system icons nix.png, osx.png and win.png to its own
> >>>       
> > folder
> >   
> >>>   /operation_system_icons. Otherwise they would be deleted during 'make
> >>>   updateicon'.
> >>> - adapted all .tex files, where image names in QGIS sources changed to
make
> >>>       
> > it
> >   
> >>>   compile again.
> >>>
> >>> I hope this is what you wanted to. The step 'make updateicon' and
'adaption
> >>>       
> > of
> >   
> >>> all .tex files with changed icon names' need to be repeated before 1.0
> >>>       
> > release,
> >   
> >>> but for now, i think we can move on with our task list.
> >>>
> >>> regards,
> >>>  Otto
   
> >>>> regards,
> >>>>  Otto
     
> >>>>> Tara
> >>>>>
> >>>>> Tim Sutton wrote:
> >>>>>       
> >>>>>           
> >>>>>> Hi Tara
> >>>>>>
> >>>>>> Ok so today I did the necessary changes so all plugin icons are named
> >>>>>> after their parent directory. The exception is GRASS which is a more
> >>>>>> complicated affair since the plugin supports themes. That said there
> >>>>>> should no longer be any name collisions on plugin icons. Hope that
> >>>>>> helps.
> >>>>>>
> >>>>>> Regards



More information about the Qgis-community-team mailing list