summaryrefslogtreecommitdiff
path: root/wps/wpsbuild.pl (follow)
Commit message (Collapse)AuthorAge
* Touchscreen: Show a line separator in lists.Thomas Martitz2014-03-03
| | | | | | | | | | | | 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
* wpsbuild: The setting strings can now contain an additional feature constraint.Thomas Martitz2014-03-03
| | | | | | | | | | | 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
* wpsbuild: Call gcc without having to create a temp file.Thomas Martitz2014-01-15
| | | | | | Change-Id: I7adc48209fd3050243770137df2022c617c68dc8 Reviewed-on: http://gerrit.rockbox.org/721 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* wpsbuild: fix copying of remote fontNils Wallménius2012-10-12
| | | | | | Change-Id: I6e6b94d077c106555eed548c7a50c8a22e0ee839 Reviewed-on: http://gerrit.rockbox.org/331 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* Make Cabbiev2 enable icons when selectedAlex Mayer2012-10-06
| | | | | | | | | | | | | 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>
* wpsbuild.pl: Fix FS#12706 - paths for backdrops and icons were not properly ↵Thomas Martitz2012-06-25
| | | | | | constructed. Change-Id: I90b92241501f61e6b1de5305ff6482a9ddbdf722
* wpsbuild.pl: Remove superflous debug statement.Thomas Martitz2012-06-10
| | | | Change-Id: Ic32a6737053ca98d9db479488125b2c6bbd13384
* wpsbuild: Rewrite to fix various issues and support .fmsThomas Martitz2012-06-10
| | | | | | | | | | | | 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
* Fix leading slash regex in wpsbuild.plThomas Martitz2010-08-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27721 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: add get_user_file_path().Thomas Martitz2010-08-01
| | | | | | | | | | | 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
* Changeover to the new skin format. SkinBreakingChange in the wiki has the ↵Jonathan Gordon2010-06-07
| | | | | | | | | | | | | | 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
* Use a different remote font than the main LCD fontRafaël Carré2010-06-03
| | | | | | | | 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
* Fix wpsbuild to properly generate "-" for theme related settings (to get the ↵Thomas Martitz2010-02-21
| | | | | | default values/no file for filename settings). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24813 a1c6a512-1295-4272-9138-f99709370657
* Fix wpsbuild.pl so that rockbox_default wps is builtMichael Chicoine2010-01-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24187 a1c6a512-1295-4272-9138-f99709370657
* Initial custom statusbar commit.Thomas Martitz2009-10-19
| | | | | | | | | | | | | | | | | | | | 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
* Revert r23212, I committed it accidentally.Thomas Martitz2009-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23214 a1c6a512-1295-4272-9138-f99709370657
* initial custom statusbar commitThomas Martitz2009-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23212 a1c6a512-1295-4272-9138-f99709370657
* User definable UI viewport, to be able to restrict the UI into a viewport ↵Thomas Martitz2009-08-16
| | | | | | | | | | | | | 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
* Fix the shipped themes statusbar config line Jonathan Gordon2009-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21825 a1c6a512-1295-4272-9138-f99709370657
* FS#9763 - Sansa Clip modified WPS. This modified wps avoids wps elements ↵Bertrik Sikken2009-01-31
| | | | | | | | | | 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
* Don't copy too many files either. Wait with the copying until the WPS in ↵Jens Arnold2009-01-23
| | | | | | question is known to be included. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19829 a1c6a512-1295-4272-9138-f99709370657
* Fix wpsbuild.pl not installing all required fontsThomas Martitz2009-01-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19826 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#9579 by Bartosz Fabianowski, fixing make zip when your build dir ↵Nils Wallménius2008-11-26
| | | | | | is not inside the source tree git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19223 a1c6a512-1295-4272-9138-f99709370657
* Added support for configurable rockbox directory. FS#9567 by Alex Bennee.Björn Stenberg2008-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
* ignore carriage returns in WPS files to avoid problems with cygwin/tortoisesvnRobert Kukla2008-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16610 a1c6a512-1295-4272-9138-f99709370657
* Turned out that setting the viewer iconset to empty properly chooses the ↵Jens Arnold2008-02-23
| | | | | | 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
* "viewers iconset:" must not be empty, so revert that change to wpsbuild.pl ↵Dave Chapman2008-02-23
| | | | | | 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
* Add empty strings for "backdrop:", "iconset:" and "viewers iconset:" for ↵Dave Chapman2008-02-23
| | | | | | 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
* TAB/whitespace policing - no functional changesDave Chapman2008-02-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16383 a1c6a512-1295-4272-9138-f99709370657
* Fix a bug introduced r16373 - the .cfg files for the bundled themes no ↵Dave Chapman2008-02-23
| | | | | | longer included the fg/bg colours for any target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16382 a1c6a512-1295-4272-9138-f99709370657
* Make the build script ignore color-only options on grayscale targets. Also, ↵Michael Giacomelli2008-02-22
| | | | | | 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
* Set different icons for each resolution in the build script.Michael Giacomelli2008-01-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16131 a1c6a512-1295-4272-9138-f99709370657
* Fix Cabbie on non-color targets by not including the gradient selection bar. ↵Michael Giacomelli2008-01-21
| | | | | | 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
* Make the build script also install any needed icons.Michael Giacomelli2008-01-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16129 a1c6a512-1295-4272-9138-f99709370657
* Change build script to copy any fonts needed for build in themes in ↵Michael Giacomelli2008-01-21
| | | | | | 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
* Update the WPS build script so that included builds can have various ↵Michael Giacomelli2008-01-18
| | | | | | 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
* Enable building WPSs and themes for charcell targets, and add an example WPS ↵Jens Arnold2007-04-04
| | | | | | using special charcell progress and text alignment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13015 a1c6a512-1295-4272-9138-f99709370657
* fix warningsDaniel Stenberg2007-03-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12737 a1c6a512-1295-4272-9138-f99709370657
* add support for foreground and background colorsMarcoen Hirschberg2007-02-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12272 a1c6a512-1295-4272-9138-f99709370657
* hush the "skips due to size restraints" text as you normally don't careDaniel Stenberg2006-10-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11352 a1c6a512-1295-4272-9138-f99709370657
* Added support for multiple rwps for same theme for different devices. ↵Hardeep Sidhu2006-06-15
| | | | | | 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
* Added iCatcher and UniCatcher themes by Ioannis Koutoulakis. Also updated ↵Hardeep Sidhu2006-06-14
| | | | | | 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
* Look for dedicated bitmaps for the LCD dimensions when building the WPS (in ↵Linus Nielsen Feltzing2006-05-15
| | | | | | a subdir, for example iCatcher/160x128x16/) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9938 a1c6a512-1295-4272-9138-f99709370657
* Fixes sundry problems with the WPS bundling script. For best results, ↵Christi Scarborough2006-05-11
| | | | | | 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
* only use the LCD size for bitmap LCDs so that we don't get the WPSesDaniel Stenberg2006-03-18
| | | | | | | for recorder included for the player builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9102 a1c6a512-1295-4272-9138-f99709370657
* When fixing things is it better to do it in a way that causes them to ↵Christi Scarborough2005-11-18
| | | | | | 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
* Add the 'rwps' field for <wps> sections with a RWPS: field, but not for ↵Daniel Stenberg2005-11-18
| | | | | | <rwps> ones. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7958 a1c6a512-1295-4272-9138-f99709370657
* Initial stab at theme support.Christi Scarborough2005-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7952 a1c6a512-1295-4272-9138-f99709370657
* Added tiny docs, only make .cfg files for <wps> sections and shut up a fewDaniel Stenberg2005-11-17
| | | | | | | outputs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7948 a1c6a512-1295-4272-9138-f99709370657
* added copying of RWPS files (if exist)Anton Oleynikov2005-11-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7945 a1c6a512-1295-4272-9138-f99709370657