AutomatingArtwork

Revision 5 as of 2006-06-21 15:18:48

Clear message

Summary

A set of scripts will be written and/or changed to automate the process from cutting out the icons to building a test package and showing an overview of the changes that went in.

Rationale

Doing ubuntu-artwork updates currently is highly manual work and requires time and concentration. Most parts of it could be automated.

Use cases

Icon designer Dave worked hard to improve a batch of icons and sends the master sheets to his Ubuntu contact. It only takes a little while until he can see all the icons in action.

Package maintainer Daniel is close to a deadline and needs to update the artwork package. He does not need to do somersaults to get all the changes in.

Scope

The changes will involve the existing scripts that rename the cut out the icons, rename them and regenerate the Makefile.am files. Some additional scripts will have to be written for creating symlinks, creating Makefile.am files, adding them to configure.ac

Design

The script should go through the following steps:

  • run gimp on .psd files, remove informational layer, save as .png file
  • copy files to into icon-categorizer directory
  • run strip-icons iconprio/iconprio.csv on them (we could run on whitelist.csv as well, and then automatically uuencode, uudecode)
  • links are generated as specified in the CSV files.
  • copy icon directories to icon-spec-rename
  • run ./icon-spec-rename on them
  • get last ubuntu-artwork package
  • copy spec-renamed icons in
  • run update-Makefile.am on the icon directory
  • (sanity check: this only updates Makefile.am's, doesn't generate them - while it sounds easy, there are other things to take into consideration as well: configure.in needs adding of that Makefile, index.theme must get a new stanza for that change)
  • here comes the tricky part, because:
    • some sheets were missing icons they had before (remove all of them? and just replace with what we have to date?)
    • some icons had to be edited manually (could be done via blacklist - but that has to be checked as well)
    • we had chosen a wrong name (ok, needs to be fixed in the .csv files, but I noted it mostly during this stage)
  • pbuild it
  • check the debdiff of the two packages to see missing files etc
  • go through iterations of the above

Implementation

Code

Data preservation and migration

Outstanding issues

BoF agenda and discussion

  • Is modularization of icons also considered? I mean many icons are based on or variations of say folders or disks. So when the folder icon gets changed, do all the variations (folder-new, folder-home, ...) also have to be changed?
    • DanielHolbach: No, the spec concerns only the process of producing the ubuntu-artwork package from said icon master sheets.


CategorySpec