summaryrefslogtreecommitdiff
path: root/wps/wpsbuild.pl
AgeCommit message (Collapse)Author
2014-03-03Touchscreen: Show a line separator in lists.Thomas Martitz
This patch adds a configurable line separator between list items, very similar to lists in Android. Additionally, below the list item there is a thicker line. It can be disabled in the settings. Its color can be configured as well. Remote and monochrome displays are explicitly unsupported. If there is desire this can be changed but it doesn't seem useful to me. Change-Id: I005313b0d8f5ecd15864bf20e66ea4e3390d8b7d
2014-03-03wpsbuild: The setting strings can now contain an additional feature constraint.Thomas Martitz
The setting strings are now of the form setting[.resolution[&feature]] (resolution can be a regex, .+ to match all resultions). wpsbuild.pl will check against features.txt to see if the target meets it. This can be used, for example, to add/override default settings for touchscreen devices. Change-Id: I2eafa02f10b362a8e7de8e1f3a53115e70d28084
2014-01-15wpsbuild: Call gcc without having to create a temp file.Thomas Martitz
Change-Id: I7adc48209fd3050243770137df2022c617c68dc8 Reviewed-on: http://gerrit.rockbox.org/721 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-10-12wpsbuild: fix copying of remote fontNils Wallménius
Change-Id: I6e6b94d077c106555eed548c7a50c8a22e0ee839 Reviewed-on: http://gerrit.rockbox.org/331 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-10-06Make Cabbiev2 enable icons when selectedAlex Mayer
adds 'show icons: on' to cabbiev2.cfg file. when you switch theme away from cabbiev2 to a theme with 'show icons: off' then switch back to cabbiev2 the icons are still off which doesnt mimic the default settings presented by rockbox. Change-Id: Iee051c687a9a6843fece96a2a16280916b1d2599 Reviewed-on: http://gerrit.rockbox.org/325 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com> Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-06-25wpsbuild.pl: Fix FS#12706 - paths for backdrops and icons were not properly ↵Thomas Martitz
constructed. Change-Id: I90b92241501f61e6b1de5305ff6482a9ddbdf722
2012-06-10wpsbuild.pl: Remove superflous debug statement.Thomas Martitz
Change-Id: Ic32a6737053ca98d9db479488125b2c6bbd13384
2012-06-10wpsbuild: Rewrite to fix various issues and support .fmsThomas Martitz
wpsbuild.pl is enhanced to produce fallback themes that were previously hardcoded in buildzip.pl. It also recognizes resolution strings as regular expressions now so you can specify resolution dependant settings as <setting>.<regex>: <value> (needed to support single themes on multiple resolutions). The WPSBUILD syntax completely changed as well and it includes the fallback themes as well. Ultimately wpsbuild is also able to install .fms files. Change-Id: Idf5994f17b9750983d7bc3ef583540a8cdae1dde
2010-08-05Fix leading slash regex in wpsbuild.plThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27721 a1c6a512-1295-4272-9138-f99709370657
2010-08-01Rockbox as an application: add get_user_file_path().Thomas Martitz
For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox). This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local. On the DAPs it's a no-op, returing /.rockbox directly. Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
2010-06-07Changeover to the new skin format. SkinBreakingChange in the wiki has the ↵Jonathan Gordon
runown of the changes. Major changes are paramerterised tags now use %tag(param,param), colours are removed from the %V() tag, %Vi gets a required (but can be -) label as its first param). utils/skinupdater/ has a program to update individual skins, and a perl script to update a whole zip. Themesite will be unusable for the time being (you should be able to upload new themes once it updates checkwps though). I obviously havnt tested every updated wps in this change so let me know if one doesnt load git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26641 a1c6a512-1295-4272-9138-f99709370657
2010-06-03Use a different remote font than the main LCD fontRafaël Carré
Works for both wps config and settings Only change targets with LCD_REMOTE_HEIGHT <= 64 (irivers) to use 08-Rockfont git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26505 a1c6a512-1295-4272-9138-f99709370657
2010-02-21Fix wpsbuild to properly generate "-" for theme related settings (to get the ↵Thomas Martitz
default values/no file for filename settings). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24813 a1c6a512-1295-4272-9138-f99709370657
2010-01-05Fix wpsbuild.pl so that rockbox_default wps is builtMichael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24187 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Initial custom statusbar commit.Thomas Martitz
The custom statusbar can be used as a WPS for the main UI, using .(r)sbs files. It's using the skin engine and knows all tags the WPS also knows. The default folder for .sbs is the wps folder to reuse images used in the WPS. As it can be shown in the WPS also, it's useful to move shared parts to the custom statusbar in order to save skin buffer space. There are a few restrictions/TODOs: *) Peak meter doesn't redraw nicely(not frequent enough), as very frequent updates would slow the UI down as hell (some targets fight with it in the WPS already: FS#10686) *) No touchregion support as the statusbar doesn't have any action handling (it won't fail to parse though). *) Drawing stuff into the default VP is forbidden (loading images in it is not). You *need* to use viewports for the displaying stuff (parsing fails if no viewport is used). *) Themes that don't use a custom ui viewport can be fixed up using the new %Vi tag to avoid nasty redraw effectts (you must not draw into it as well, it's used to fix up the ui viewport). %Vi describes the viewport that the lists can use without getting in the way of the statusbar. Otherwise, it behaves like the classic statusbar, it can be configured in the theme settings, and can be turned off in the wps using %wd. Note to translaters: When translating LANG_STATUSBAR_CUSTOM, please consider using the same translation as for LANG_CHANNEL_CUSTOM if it's compatible. They could be combined later then. Flyspray: FS#10566 Author: myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23258 a1c6a512-1295-4272-9138-f99709370657
2009-10-16Revert r23212, I committed it accidentally.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23214 a1c6a512-1295-4272-9138-f99709370657
2009-10-16initial custom statusbar commitThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23212 a1c6a512-1295-4272-9138-f99709370657
2009-08-16User definable UI viewport, to be able to restrict the UI into a viewport ↵Thomas Martitz
for all bitmap displays. Flyspray: FS#8799 This will allow for pretty themes, for example those with nice glass effects on their backdrops (some might argue they're wasting screen space but it's upto them), as well as allowing for future background WPS updates in the main UI. Plugins are not converted yet, they simply use the full screen. Ideally, any plugin that does *not* want the UI viewport, should take care of that itself (i.e. plugins should normally use the UI viewport). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22365 a1c6a512-1295-4272-9138-f99709370657
2009-07-12Fix the shipped themes statusbar config line Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21825 a1c6a512-1295-4272-9138-f99709370657
2009-01-31FS#9763 - Sansa Clip modified WPS. This modified wps avoids wps elements ↵Bertrik Sikken
getting split over the yellow/cyan parts of the display. Also introduces a mechanism for selecting a target specific wps if there is already another wps with the same screen size. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19889 a1c6a512-1295-4272-9138-f99709370657
2009-01-23Don't copy too many files either. Wait with the copying until the WPS in ↵Jens Arnold
question is known to be included. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19829 a1c6a512-1295-4272-9138-f99709370657
2009-01-23Fix wpsbuild.pl not installing all required fontsThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19826 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Accept FS#9579 by Bartosz Fabianowski, fixing make zip when your build dir ↵Nils Wallménius
is not inside the source tree git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19223 a1c6a512-1295-4272-9138-f99709370657
2008-11-24Added support for configurable rockbox directory. FS#9567 by Alex Bennee.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
2008-03-10ignore carriage returns in WPS files to avoid problems with cygwin/tortoisesvnRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16610 a1c6a512-1295-4272-9138-f99709370657
2008-02-23Turned out that setting the viewer iconset to empty properly chooses the ↵Jens Arnold
default iconset, and the problem with the default viewer iconset on greyscale targets was that there was a file too much in icons/. The defaults are copied from elsewhere, and differ between grey/mono and colour targets. The extraneous file overwrote the default when building the .zip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16399 a1c6a512-1295-4272-9138-f99709370657
2008-02-23"viewers iconset:" must not be empty, so revert that change to wpsbuild.pl ↵Dave Chapman
and make iCatcher specify /.rockbox/icons/viewers.bmp. Thanks to Jens for pointing this out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16386 a1c6a512-1295-4272-9138-f99709370657
2008-02-23Add empty strings for "backdrop:", "iconset:" and "viewers iconset:" for ↵Dave Chapman
iCatcher, and adapt wpsbuild.pl to accept empty strings. Also change wpslist to allow any number of spaces (including 0) between the : and the value. NOTE: The other bundled themes (and third-party themes) should be changed to specify values for everything set by CabbieV2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16385 a1c6a512-1295-4272-9138-f99709370657
2008-02-23TAB/whitespace policing - no functional changesDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16383 a1c6a512-1295-4272-9138-f99709370657
2008-02-23Fix a bug introduced r16373 - the .cfg files for the bundled themes no ↵Dave Chapman
longer included the fg/bg colours for any target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16382 a1c6a512-1295-4272-9138-f99709370657
2008-02-22Make the build script ignore color-only options on grayscale targets. Also, ↵Michael Giacomelli
change how backdrop files are entered in preperation for setting a default theme. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16373 a1c6a512-1295-4272-9138-f99709370657
2008-01-21Set different icons for each resolution in the build script.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16131 a1c6a512-1295-4272-9138-f99709370657
2008-01-21Fix Cabbie on non-color targets by not including the gradient selection bar. ↵Michael Giacomelli
Also, update the build script so that different targets can have different selection bars. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16130 a1c6a512-1295-4272-9138-f99709370657
2008-01-21Make the build script also install any needed icons.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16129 a1c6a512-1295-4272-9138-f99709370657
2008-01-21Change build script to copy any fonts needed for build in themes in ↵Michael Giacomelli
preperation for commiting a default theme. Maybe not the best use of space, but theres only 2 built in themes with fonts so it makes little difference. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16125 a1c6a512-1295-4272-9138-f99709370657
2008-01-18Update the WPS build script so that included builds can have various ↵Michael Giacomelli
additional features. This version allows me to compile the new proposed default WPS into new builds. See FS#8443 for more info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16099 a1c6a512-1295-4272-9138-f99709370657
2007-04-04Enable building WPSs and themes for charcell targets, and add an example WPS ↵Jens Arnold
using special charcell progress and text alignment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13015 a1c6a512-1295-4272-9138-f99709370657
2007-03-12fix warningsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12737 a1c6a512-1295-4272-9138-f99709370657
2007-02-11add support for foreground and background colorsMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12272 a1c6a512-1295-4272-9138-f99709370657
2006-10-26hush the "skips due to size restraints" text as you normally don't careDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11352 a1c6a512-1295-4272-9138-f99709370657
2006-06-15Added support for multiple rwps for same theme for different devices. ↵Hardeep Sidhu
Updated iCatcher theme with different rwps for H1x0 and H3x0. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10126 a1c6a512-1295-4272-9138-f99709370657
2006-06-14Added iCatcher and UniCatcher themes by Ioannis Koutoulakis. Also updated ↵Hardeep Sidhu
wpsbuild to support different fonts for same theme depending on target screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10120 a1c6a512-1295-4272-9138-f99709370657
2006-05-15Look for dedicated bitmaps for the LCD dimensions when building the WPS (in ↵Linus Nielsen Feltzing
a subdir, for example iCatcher/160x128x16/) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9938 a1c6a512-1295-4272-9138-f99709370657
2006-05-11Fixes sundry problems with the WPS bundling script. For best results, ↵Christi Scarborough
delete your .rocbox/wps and ./rockbox/themes dirs before upgrading. Note that within CVS, no distinction is made any more between a .wps and .rwps, that's all fixed up at make zip stage. wpses are now all named with a .<width>x<height>x<depth> suffix and the appropriate ones for the platform are installed. Text wpses have a .txt suffix. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9907 a1c6a512-1295-4272-9138-f99709370657
2006-03-18only use the LCD size for bitmap LCDs so that we don't get the WPSesDaniel Stenberg
for recorder included for the player builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9102 a1c6a512-1295-4272-9138-f99709370657
2005-11-18When fixing things is it better to do it in a way that causes them to ↵Christi Scarborough
actually work. Some more bugs in wpsbuild.pl squashed. Also, themes moved to the main menu. Resetting to default themes now works properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7965 a1c6a512-1295-4272-9138-f99709370657
2005-11-18Add the 'rwps' field for <wps> sections with a RWPS: field, but not for ↵Daniel Stenberg
<rwps> ones. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7958 a1c6a512-1295-4272-9138-f99709370657
2005-11-18Initial stab at theme support.Christi Scarborough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7952 a1c6a512-1295-4272-9138-f99709370657
2005-11-17Added tiny docs, only make .cfg files for <wps> sections and shut up a fewDaniel Stenberg
outputs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7948 a1c6a512-1295-4272-9138-f99709370657
2005-11-17added copying of RWPS files (if exist)Anton Oleynikov
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7945 a1c6a512-1295-4272-9138-f99709370657