[maemo-commits] [maemo-commits] r13255 - in projects/haf/tags/hildon-theme-tools: . 0.5.2-1 0.5.2-1/debian 0.5.2-1/scripts

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Aug 16 15:11:34 EEST 2007
Author: mdk
Date: 2007-08-16 15:11:32 +0300 (Thu, 16 Aug 2007)
New Revision: 13255

Added:
   projects/haf/tags/hildon-theme-tools/0.5.2-1/
   projects/haf/tags/hildon-theme-tools/0.5.2-1/ChangeLog
   projects/haf/tags/hildon-theme-tools/0.5.2-1/NEWS
   projects/haf/tags/hildon-theme-tools/0.5.2-1/configure.ac
   projects/haf/tags/hildon-theme-tools/0.5.2-1/debian/changelog
   projects/haf/tags/hildon-theme-tools/0.5.2-1/scripts/hildon-theme-bootstrap
Removed:
   projects/haf/tags/hildon-theme-tools/0.5.2-1/ChangeLog
   projects/haf/tags/hildon-theme-tools/0.5.2-1/NEWS
   projects/haf/tags/hildon-theme-tools/0.5.2-1/configure.ac
   projects/haf/tags/hildon-theme-tools/0.5.2-1/debian/changelog
   projects/haf/tags/hildon-theme-tools/0.5.2-1/scripts/hildon-theme-bootstrap
Log:
Tagging for 0.5.2-1


Copied: projects/haf/tags/hildon-theme-tools/0.5.2-1 (from rev 13253, projects/haf/trunk/hildon-theme-tools)

Deleted: projects/haf/tags/hildon-theme-tools/0.5.2-1/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-theme-tools/ChangeLog	2007-08-16 12:07:14 UTC (rev 13253)
+++ projects/haf/tags/hildon-theme-tools/0.5.2-1/ChangeLog	2007-08-16 12:11:32 UTC (rev 13255)
@@ -1,414 +0,0 @@
-2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	[0.5.1-1 release]
-
-	* NEWS:
-	* configure.ac:
-	* debian/changelog: Updating.
-
-2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* scripts/hildon-theme-bootstrap: Updating.
-
-	* src/common.c: Free the keyfile using proper deallocator.
-
-	* src/slicer.c: Fix the confusion with logical vs. bitewise operator.
-
-2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	[0.5.0-1 release]
-
-	* NEWS:
-	* configure.ac:
-	* debian/changelog: Updating.
-
-2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/common.c:
-	* src/common.h:
-	* src/slicer.c: Replacing the 'separate_alpha' keywork with 'noalpha'
-	keyword that enforces no-alpha save. Combined with 'alpha' keyword
-	(that enforces alpha save) it can be used to achieve the desire
-	effect.
-
-2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* COPYING: Updating the COPYING to talk about GPL instead of LGPL
-	license.
-
-2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	[0.4.0-1 release]
-
-	* NEWS:
-	* configure.ac:
-	* debian/changelog: Updating.
-
-2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/common.c:
-	* src/common.h:
-	* src/slicer.h:
-	* src/slicer.c: Adding the option to specify the 'separate_alpha'
-	keyword in the slicer data. This will force the alpha of the image to
-	be saved as a separate file (%s_alpha.png).
-
-2007-02-22  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	[0.3.0-1 release]
-
-	* NEWS:
-	* README:
-	* configure.ac:
-	* debian/changelog:
-	* debian/copyright: Updating.
-
-	* scripts/Makefile.am:
-	* scripts/hildon-theme-bootstrap: Adding new tool for bootstrapping
-	the theme packages.
-	
-	* TODO: Adding a TODO file.
-
-2006-12-08  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* NEWS:
-	* debian/control: Adding perl to dependencies.
-
-2006-12-08  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	[0.2.1-1 release] 
-
-	* NEWS: 
-	* configure.ac:
-	* debian/changelog: Bundling the release.
-
-2006-12-05  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/colourizer.c:
-	* src/outliner.c:
-	* src/regenerator.c:
-	* src/slicer.c: Fixing the prg_name brokeness.
-
-2006-12-05  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* NEWS:
-	* src/outliner.c: Outliner tool will also now outline colors. The
-	generated layers have alpha set to 100% (since it can be manipulated
-	by the designer in the gfx software)
-
-2006-12-05  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	[0.2.0-2 release]
-
-	* debian/changelog:
-	* debian/control: Fixing a dependancy problem.
-
-2006-12-04  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	[0.2.0-1 release]
-
-	* configure.ac:
-	* debian/changelog:
-	* debian/control: Updating to 0.2.0.
-
-	* src/slicer.c: Removing "WARNING" from "Processed" message. 
-
-2006-12-04  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* README: Typo fix. 
-
-	* scripts/hildon-theme-mk-bundle:
-	* scripts/hildon-theme-rc-parser:
-	* scripts/hildon-theme-subst:
-	* src/colourizer.c:
-	* src/common.c:
-	* src/outliner.c:
-	* src/regenerator.c:
-	* src/slicer.c: Last changes to error-reporting.
-
-2006-12-01  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/common.c:
-	* src/common.h:
-	* src/slicer.c: Adding correct parsing for forced-alpha elements.
-
-2006-12-01  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* scripts/Makefile.am:
-	* src/Makefile.am:
-	* src/hildon-theme-mk-bundle:
-	* src/hildon-theme-rc-parser:
-	* src/hildon-theme-subst: Moving scripts from /src to /scripts.
-
-	* scripts/hildon-theme-install: Removing.
-	
-2006-12-01  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/Makefile.am:
-	* src/hildon-theme-mk-bundle: Adding the tool to build layout bundles.
-
-2006-11-30  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/Makefile.am: Wrong category.
-
-2006-11-30  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/Makefile.am:
-	* src/colourizer.c:
-	* src/hildon-theme-rc-parser:
-	* src/hildon-theme-subst:
-	* src/outliner.c:
-	* src/regenerator.c:
-	* src/slicer.c: Adding the subst tool. Fixing the error reporting in
-	other tools.
-
-2006-11-29  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/slicer.c:
-	* src/slicer.h: Detect if image needs alpha.
-
-2006-11-29  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-	
-	* src/hildon-theme-rc-parser:
-	* src/Makefile.am: Adding the new perl script to parse the rc files.
-	
-	* src/colourizer.c:
-	* src/outliner.c:
-	* src/regenerator.c:
-	* src/slicer.c: Some more error info.
-
-2006-11-27  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* scripts/hildon-theme-install: Adding the default text color for
-	VKBButtonTextColor.
-
-2006-11-27  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* configure.ac: Removing -Werror flag. Breaks on ubuntu, etc. 
-
-2006-11-27  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* scripts/hildon-theme-install: Fixes to match the latest layout
-	semantics. 
-
-	* src/Makefile.am:
-	* src/colourizer.c:
-	* src/colourizer.h:
-	* src/outliner.c:
-	* src/outliner.h:
-	* src/regenerator.c:
-	* src/regenerator.h:
-	* src/slicer.c:
-	* src/slicer.h: Removing the silly EXEC_ thing and sticking to default
-	g_get_prgname (). Makes more sense.
-
-2006-11-22  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* configure.ac: Removing pedantic flag.
-
-	* scripts/Makefile.am:
-	* scripts/hildon-theme-install: Removing the caching step (not needed
-	now, will be moved to theme install postinst).
-
-	* src/Makefile.am:
-	* src/cacher.c: Removing the cacher from the build (moved to
-	hildon-theme-cacher)
-
-2006-11-21  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* INSTALL: Adding missing.
-
-	* src/Makefile.am:
-	* src/colourizer.c:
-	* src/colourizer.h:
-	* src/outliner.c:
-	* src/outliner.h:
-	* src/regenerator.c:
-	* src/regenerator.h:
-	* src/slicer.c:
-	* src/slicer.h: Abstracting the tool name into Makefile.am (executable
-	name).
-
-2006-11-21  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* COPYING:
-	* Makefile.am:
-	* configure.ac:
-	* pkgconfig/Makefile.am:
-	* src/Makefile.am: Even more cosmetics.
-
-2006-11-03  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* Makefile.am:
-	* configure.ac: Tiny corrections, all works now again.
-
-2006-11-03  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* debian/rules: One more tiny rules fix.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* debian/rules: Adjusting the rules for new autogen and package name. 
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* README:
-	* configure.ac:
-	* debian/changelog:
-	* debian/control:
-	* pkgconfig/Makefile.am:
-	* pkgconfig/maemo-theme-tools.pc.in:
-	* scripts/Makefile.am:
-	* scripts/maemo-theme-install:
-	* src/Makefile.am: maemo-theme-tools => hildon-theme-tools.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* Makefile.am:
-	* NEWS: Adding some news. 
-
-	* scripts/maemo-theme-install: Correcting the cache-generation
-	routine.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/outliner.c:
-	* src/regenerator.c: Fixing some compilation warnings.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* autogen.sh:
-	* configure.ac: Adding a more recent/sane autogen.sh.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* Makefile.am:
-	* configure.ac:
-	* maemo-theme-tools.pc.in:
-	* pkgconfig:
-	* pkgconfig/Makefile.am:
-	* scripts/Makefile.am: Moving the pkg-config stuff into a separate
-	directory.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* Makefile.am:
-	* configure.ac:
-	* maemo-theme-install:
-	* scripts:
-	* scripts/Makefile.am: Moving the scrips into separate dir.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/cacher.c:
-	* src/colourizer.c:
-	* src/colourizer.h:
-	* src/common.c:
-	* src/common.h:
-	* src/outliner.c:
-	* src/outliner.h:
-	* src/regenerator.c:
-	* src/regenerator.h:
-	* src/slicer.c:
-	* src/slicer.h: Unifying the licenses, codeing style, etc.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* src/Makefile.am:
-	* src/cache-generator.c: Unifying the file naming.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* ./: Housekeeping, reorganizing dirs.
-
-2006-11-02  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* ChangeLog.osso-themes-config:
-	* debian/changelog.osso-themes-config:
-	* themeMakefile.mk: Removing, it doesn't make much sense in this
-	context. 
-
-2006-11-01  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* template-tools/Makefile.am:
-	* template-tools/outliner.c:
-	* template-tools/outliner.h: Adding the outliner tool that can be used
-	to generate the outlines to be used as guides when drawing the theme.
-
-	* template-tools/regenerator.c: Correcting a bug resulting in extra
-	critical warnings about unreffing (when image missing). 
-
-2006-10-24  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* template-tools/Makefile.am:
-	* template-tools/regenerator.c:
-	* template-tools/regenerator.h: Adding a new tool - regenerator. It
-	regenerates the original template image from template layout + sliced
-	image files (ie. existing theme).
-
-2006-10-24  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* template-tools/colourizer.c:
-	* template-tools/common.c:
-	* template-tools/slicer.c: Moving to standard g-error reporting.
-
-2006-10-20  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	[0.1.0 release]
-
-	* AUTHORS: 
-	* debian/changelog: Fixes for 0.1.0 release. 
-
-2006-10-19  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* Makefile.am:
-	* INSTALL: Removing from SVN, adding to maintainer-clean files.
-
-	* maemo-theme-install: Adding cache-files generation. 
-
-2006-10-17  Tuomas Kuosmanen  <tuomas.kuosmanen at nokia.com>
-
-	* maemo-theme-install (add_color_substitutions): (duh! :-))
-	   -install_file ("theme.xml". "matchbox");
-	   +install_file ("theme.xml", "matchbox");
-
-	* configure.ac: removed -Werror and -ansi, it borked the compile 
-	on ubuntu at least.
-
-2006-10-12  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* maemo-theme-install: Changing the script to do the real thing.
-
-2006-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* AUTHORS: Adding self and Toumas.
-
-	* INSTALL: Adding.
-
-	* Makefile.am:
-	* cache-generator/Makefile.am: Adding maintainer-clean files.
-
-	* config.h.in: Removing, it's re-generated by autogen.
-
-	* configure.ac: 
-	* template-tools:
-	* template-tools/Makefile.am:
-	* template-tools/colourizer.c:
-	* template-tools/colourizer.h:
-	* template-tools/common.c:
-	* template-tools/common.h:
-	* template-tools/slicer.c:
-	* template-tools/slicer.h: Adding new stuff - the colorizer and the
-	slicer C tools.
-	
-	* maemo-theme-install: Slightly adjusting, still doesn't launch the
-	proper tools.
-
-2006-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
-
-	* common-rcfiles: Removing this directory, it was committed by
-	accident. 
-
-2006-09-20  Marius Vollmer  <marius.vollmer at nokia.com>
-
-	* Forked from osso-themes-config 2.0.6.

Copied: projects/haf/tags/hildon-theme-tools/0.5.2-1/ChangeLog (from rev 13254, projects/haf/trunk/hildon-theme-tools/ChangeLog)

Deleted: projects/haf/tags/hildon-theme-tools/0.5.2-1/NEWS
===================================================================
--- projects/haf/trunk/hildon-theme-tools/NEWS	2007-08-16 12:07:14 UTC (rev 13253)
+++ projects/haf/tags/hildon-theme-tools/0.5.2-1/NEWS	2007-08-16 12:11:32 UTC (rev 13255)
@@ -1,27 +0,0 @@
-[0.5.1 release]
-* Fixing the memory allocation problem 
-* Updated repo addresses for bootstrap tool
-
-[0.5.0 release]
-* Removing the 'separate_alpha' keyword
-* Adding the 'noalpha' keyword
-
-[0.4.0 release]
-* Slicer supports now 'separate_alpha' keyword
-
-[0.3.0 release]
-* Fixing a tiny dep problem in debian package
-* New tool: hildon-theme-bootstrap
-
-[0.2.1 release]
-* Outliner tool now outlines colors as well. 
-* Fixing prg name brokeness.
-
-[0.2.0 release]
-* Second release, lots of new tools and stuff.
-
-[0.1.0 release]
-* First official release
-
-[0.0.0]
-* Everything is new, enjoy!

Copied: projects/haf/tags/hildon-theme-tools/0.5.2-1/NEWS (from rev 13254, projects/haf/trunk/hildon-theme-tools/NEWS)

Deleted: projects/haf/tags/hildon-theme-tools/0.5.2-1/configure.ac
===================================================================
--- projects/haf/trunk/hildon-theme-tools/configure.ac	2007-08-16 12:07:14 UTC (rev 13253)
+++ projects/haf/tags/hildon-theme-tools/0.5.2-1/configure.ac	2007-08-16 12:11:32 UTC (rev 13255)
@@ -1,24 +0,0 @@
-AC_INIT(Makefile.am)
-AM_INIT_AUTOMAKE(hildon-theme-tools, 0.5.1)
-AM_CONFIG_HEADER(config.h)
-
-AC_CANONICAL_HOST
-
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_HEADER_STDC
-
-CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wmissing-declarations"
-
-GTK_VERSION=2.6.4
-
-PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_VERSION)
-AC_SUBST(GTK_LIBS)
-AC_SUBST(GTK_CFLAGS)
-AC_SUBST(GTK_VERSION)
-
-AC_OUTPUT([Makefile                             \
-           scripts/Makefile                     \
-           pkgconfig/hildon-theme-tools.pc      \
-           pkgconfig/Makefile                   \
-	   src/Makefile])

Copied: projects/haf/tags/hildon-theme-tools/0.5.2-1/configure.ac (from rev 13254, projects/haf/trunk/hildon-theme-tools/configure.ac)

Deleted: projects/haf/tags/hildon-theme-tools/0.5.2-1/debian/changelog
===================================================================
--- projects/haf/trunk/hildon-theme-tools/debian/changelog	2007-08-16 12:07:14 UTC (rev 13253)
+++ projects/haf/tags/hildon-theme-tools/0.5.2-1/debian/changelog	2007-08-16 12:11:32 UTC (rev 13255)
@@ -1,60 +0,0 @@
-hildon-theme-tools (0.5.1-1) unstable; urgency=low
-
-  * Fixing the memory allocation problem 
-  * Updated repo addresses for bootstrap tool
-
- -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com>  Tue, 19 Jun 2007 12:13:51 +0300
-
-hildon-theme-tools (0.5.0-1) unstable; urgency=low
-
-  * Removing the 'separate_alpha' keyword
-  * Adding the 'noalpha' keyword
-
- -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com>  Wed, 09 May 2007 15:57:06 +0300
-
-hildon-theme-tools (0.4.0-1) unstable; urgency=low
-
-  * Slicer supports now 'separate_alpha' keyword.
-
- -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com>  Mon, 07 May 2007 11:10:26 +0300
-
-hildon-theme-tools (0.3.0-1) unstable; urgency=low
-
-  * Fixing a tiny dep problem in debian package
-  * New tool: hildon-theme-bootstrap
-
- -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com>  Thu, 22 Feb 2007 10:50:59 +0200
-
-hildon-theme-tools (0.2.1-1) unstable; urgency=low
-
-  * Outliner tool now outlines colors as well. 
-  * Fixing prg name brokeness.
-
- -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com>  Fri, 08 December 2006 15:00:06 +0300
-
-hildon-theme-tools (0.2.0-2) unstable; urgency=low
-
-  * Fixing a dependancy problem.
-
- -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com>  Tue, 05 December 2006 10:00:06 +0300
-
-hildon-theme-tools (0.2.0-1) unstable; urgency=low
-
-  * Second official release.
-  * Adding a lot of new tools. 
-  * Fixing the build system.
-  * Should work as expected now.
-
- -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com>  Mon, 04 December 2006 15:00:06 +0300
-
-hildon-theme-tools (0.1.0-1) unstable; urgency=low
-
-  * First official release.
-
- -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com>  Fri, 20 October 2006 14:55:06 +0300
-
-hildon-theme-tools (0.0-unreleased1) unstable; urgency=low
-
-  * Copied from osso-themes-config 2.0.6-1, and modified a bit.
-
- -- Marius Vollmer <marius.vollmer at nokia.com>  Wed, 20 Sep 2006 13:24:56 +0300

Copied: projects/haf/tags/hildon-theme-tools/0.5.2-1/debian/changelog (from rev 13254, projects/haf/trunk/hildon-theme-tools/debian/changelog)

Deleted: projects/haf/tags/hildon-theme-tools/0.5.2-1/scripts/hildon-theme-bootstrap
===================================================================
--- projects/haf/trunk/hildon-theme-tools/scripts/hildon-theme-bootstrap	2007-08-16 12:07:14 UTC (rev 13253)
+++ projects/haf/tags/hildon-theme-tools/0.5.2-1/scripts/hildon-theme-bootstrap	2007-08-16 12:11:32 UTC (rev 13255)
@@ -1,250 +0,0 @@
-#! /usr/bin/env bash
-
-# GPL license, Copyright (c) 2007 by Nokia Corporation                       
-#                                                                            
-# Authors:                                                                   
-#      Michael Dominic K. <michael.kostrzewa at nokia.com>
-#                                                                            
-# This program is free software; you can redistribute it and/or modify it    
-# under the terms of the GNU General Public License as published by the      
-# Free Software Foundation, version 2.                                                                   
-#                                                                            
-# This program is distributed in the hope that it will be useful, but        
-# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License   
-# for more details.                                                          
-#                                                                            
-# You should have received a copy of the GNU General Public License along    
-# with this program; if not, write to the Free Software Foundation, Inc., 59 
-# Temple Place - Suite 330, Boston, MA 02111-1307, USA.                      
-
-# Vars
-LAYOUTS="hildon-theme-layout-3 hildon-theme-layout-4"
-LAYOUT=
-THEME_NAME=
-THEME_DIR=
-AUTHOR_NAME=
-AUTHOR_EMAIL=
-PACKAGE_NAME=
-SVN_ADDRESS=
-
-function show_banner 
-{
-        echo "Theme bootstrap tool by Michael Dominic K.";
-        echo "Copyright 2007 by Nokia Corporation.";
-        echo
-        echo "This tool will bootstrap a new theme directory structure.";
-        echo 
-}
-
-function show_layout_options
-{
-        echo "Which layout do you want to use?"
-        select opt in $LAYOUTS; do
-                if [ "$opt" == "hildon-theme-layout-3" ]; then 
-                        LAYOUT="hildon-theme-layout-3"
-                        SVN_ADDRESS="https://stage.maemo.org/svn/maemo/projects/haf/tags/hildon-theme-plankton/3.1.1-1/"
-                        return
-                elif [ "$opt" == "hildon-theme-layout-4" ]; then
-                        LAYOUT="hildon-theme-layout-4"
-                        SVN_ADDRESS="https://stage.maemo.org/svn/maemo/projects/haf/tags/hildon-theme-plankton/4.9.0-1/"
-                        return
-                else
-                        echo "Bad selection!"
-                fi
-        done
-}
-
-function ask_for_theme_name 
-{
-        echo "What's the theme name? [ie. My Theme]"
-
-        while [ "$THEME_NAME" = "" ]; do
-                echo -n "#? "
-                read THEME_NAME
-        done
-}
-
-function ask_for_theme_dir
-{
-        echo "What's the theme directory? [ie. mytheme]"
-
-        while [ "$THEME_DIR" = "" ]; do
-                echo -n "#? "
-                read THEME_DIR
-        done
-        PACKAGE_NAME="hildon-theme-$THEME_DIR"
-}
-
-function ask_for_author_name
-{
-        echo "What's the author name? [ie. John Doe]"
-
-        while [ "$AUTHOR_NAME" = "" ]; do
-                echo -n "#? "
-                read AUTHOR_NAME
-        done
-}
-
-function ask_for_author_dir
-{
-        echo "What's the author's e-mail? [ie. john_doe at gmail.com]"
-
-        while [ "$AUTHOR_EMAIL" = "" ]; do
-                echo -n "#? "
-                read AUTHOR_EMAIL
-        done
-}
-
-function show_summary
-{
-        echo "Summary:"
-        echo
-        echo "Theme name      : $THEME_NAME"
-        echo "Layout          : $LAYOUT"
-        echo "Package name    : $PACKAGE_NAME"
-        echo "Theme directory : $THEME_DIR [/usr/share/themes/$THEME_DIR]"
-        echo "Author          : $AUTHOR_NAME <$AUTHOR_EMAIL>"
-        echo
-
-        echo "Is this correct? [y/n]"
-        OPTION=
-        while [[ "$OPTION" != "y" && "$OPTION" != "n" ]]; do
-                echo -n "#? "
-                read OPTION
-        done
-
-        if [ "$OPTION" = "n" ]; then
-                exit
-        fi
-
-}
-
-function fetch
-{
-        echo "Fetching source from subversion repository..."
-        svn co $SVN_ADDRESS $PACKAGE_NAME 
-
-        if [ "$?" -ne "0" ]; then
-                echo "Failed to fetch source!"
-                exit 128
-        fi
-}
-
-function parse_configure
-{
-        echo "Tweaking configure.ac"
-        
-        sed -i -e "s:plankton:$THEME_DIR:" configure.ac
-        sed -i -e "s:Plankton:$THEME_NAME:" configure.ac
-}
-
-function remove_and_touch
-{
-        echo "Replacing basic files..."
-        rm -f README
-        rm -f AUTHORS
-        rm -f ChangeLog
-        rm -f NEWS
-        touch README
-        touch AUTHORS
-        touch NEWS
-        touch ChangeLog
-}
-
-function fix_control_file
-{
-        echo "Fixing the debian control file..."
-        sed -i -e "s:plankton:$THEME_DIR:" control
-        sed -i -e "s:Michael Dominic Kostrzewa:$AUTHOR_NAME:" control
-        sed -i -e "s:michael.kostrzewa at nokia.com:$AUTHOR_EMAIL:" control
-        sed -i -e '/^Conflicts:.*/d' control
-        sed -i -e '/^Replaces:.*/d' control
-}
-
-function fix_postinst
-{
-        echo "Fixing the postinst script..."
-        sed -i -e "s:plankton:$THEME_DIR:" postinst
-}
-
-function fix_rules
-{
-        echo "Fixing the debian rules..."
-        sed -i -e "s:plankton:$THEME_DIR:" rules
-}
-
-function fix_copyright 
-{
-        echo "Fixing copyright headers..."
-        sed -i -e '/Nokia/d' copyright
-}
-
-function fix_changelog
-{
-        # We want to maintain the version number here
-        echo "Fixing the debian changelog..."
-        LINE=`grep "unstable" -m 1 changelog`
-        DATE=`date -R`
-        echo "$LINE"                                    >  changelog
-        echo                                            >> changelog
-        echo "  * New theme"                            >> changelog
-        echo                                            >> changelog
-        echo " -- $AUTHOR_NAME <$AUTHOR_EMAIL>  $DATE"  >> changelog
-        echo                                            >> changelog
-
-        sed -i -e "s:plankton:$THEME_DIR:" changelog
-}
-
-# First show the banner
-show_banner
-
-# Show the layout options
-show_layout_options
-echo
-
-# Ask for theme name
-ask_for_theme_name
-echo
-
-# Ask for theme directory
-ask_for_theme_dir
-echo
-
-# Ask for theme name
-ask_for_author_name
-echo
-
-# Ask for theme name
-ask_for_author_dir
-echo
-
-# Show summary
-show_summary
-
-# Fetch if from svn
-fetch
-
-# Change in to the proper directory
-cd $PACKAGE_NAME
-
-# Parse configure.ac, replace basic files
-parse_configure
-remove_and_touch
-
-# Do the right thing in the debian directory
-cd debian
-fix_control_file
-fix_postinst
-fix_rules
-fix_copyright
-fix_changelog
-
-echo
-echo "The the layout was created in $PACKAGE_NAME - go ahead"
-echo "and modify the graphics to your liking."
-echo 
-echo "Please note that the theme package has all the licensing data"
-echo "set to GPL. If you'd like to license your theme under different terms"
-echo "make sure to change the copyright information manually."
-echo

Copied: projects/haf/tags/hildon-theme-tools/0.5.2-1/scripts/hildon-theme-bootstrap (from rev 13254, projects/haf/trunk/hildon-theme-tools/scripts/hildon-theme-bootstrap)


More information about the maemo-commits mailing list