summaryrefslogtreecommitdiff
path: root/tools/buildzip.pl
AgeCommit message (Collapse)Author
2014-02-05Samsung YP-R1 target portLorenzo Miori
This is the basic port to the new target Samsung YP-R1, which runs on a similar platform as YP-R0. Port is usable, although there are still some optimizations that have to be done. Change-Id: If83a8e386369e413581753780c159026d9e41f04
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
2012-06-09Create binary voice string archive on target.Dominik Riebeling
Extend genlang to create files holding the voice strings in a binary format similar to lng. Create such files for all languages during a normal build, put them in a zip file and add them to rockbox.zip so they are installed with a main build. Creating a voice file requires access to the voice strings, which are currently not distributed with Rockbox. Therefore it is necessary to either have access to the source code of the installed build or to use a build the genlang service on rockbox.org can retrieve the strings for, making it impossible for normal users to generate a voice file for custom builds, test builds and older builds that aren't supported by the rockbox.org script. It also requires a network connection when creating voice files with Rockbox Utility even if creating a voice file by itself isn't network related. Furthermore, putting the voice strings on the target is also a prerequisite for eventually supporting a TTS on the player. Strip voice strings path. Change-Id: Ic2f86130909b3b257986a348e5cfcf618c4500c3
2012-05-19Add .nomedia on Android.Dominik Riebeling
Prevent Android from adding theme files to its media database by putting a .nomedia file in the rockbox folder. Change-Id: I76ee3381a6599b9d1ecfe34d15a4fdd35da80336
2012-04-25Add codecs to librbcodec.Sean Bartell
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: http://gerrit.rockbox.org/137 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
2012-03-18Build librbcodec with DSP and metadata.Sean Bartell
All associated files are moved to /lib/rbcodec. Change-Id: I572ddd2b8a996aae1e98c081d06b1ed356dce222
2012-01-25Disable the backdrop in the failsafe theme so the colours acually workJonathan Gordon
Change-Id: Ib65fa0be50dfa050f1db5c615685bdbd992cea1d
2011-12-24Initial commit of the Samsung YP-R0 port.Thomas Martitz
This port is a hybrid native/RaaA port. It runs on a embedded linux system, but is the only application. It therefore can implement lots of stuff that native targets also implement, while leveraging the underlying linux kernel. The port is quite advanced. User interface, audio playback, plugins work mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page). Included in utils/ypr0tools are scripts and programs required to generate a patched firmware. The patched firmware has the rootfs modified to load Rockbox. It includes a early/safe USB mode. This port needs a new toolchain, one that includes glibc headers and libraries. rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may also work. Most of the initial effort is done by Lorenzo Miori and others (on ABI), including reverse engineering and patching of the original firmware, initial drivers, and more. Big thanks to you. Flyspray: FS#12348 Author: Lorenzo Miori, myself Merry christmas to ypr0 owners! :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-05-31Android: install codecs as native libs instead of extracting them (FS#12134).Dominik Riebeling
Codec files are loaded as dynamic libraries. Instead of extracting them from the packaged libmisc.so and therefore having them present twice on the device put them into the apk as native libraries. Decreases the size of the installed Rockbox by the compressed size of the codecs. Also, the extraction on first Rockbox startup gets notably faster since it's less data to extract. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29940 a1c6a512-1295-4272-9138-f99709370657
2011-02-27FS#11966 - use separate modelnames and config files for RaaA. This adds an ↵Dave Chapman
APPLICATION define that can be used in Makefiles, and target-name defines (-DSDLAPP, -DANDROID, -DNOKIAN8XX and -DNOKIAN900) for use elsewhere. LCD size is now hard-coded for the Nokia builds in their config files. A new --app parameter is passed to buildzip.pl to explicitly state that this is an application build - it was previously derived from the model name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29418 a1c6a512-1295-4272-9138-f99709370657
2011-02-26Cosmetic change only - remove tabs.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29411 a1c6a512-1295-4272-9138-f99709370657
2011-02-26Clarify the condition for stripping the leading / in rbdir. The calculation ↵Dave Chapman
of $app in the current code implies that this is not done for any call to buildzip.pl for application builds, but it is in fact only not done for the *install targets - $(MODELNAME) is quoted for the other calls in root.make, and hence $app is false. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29410 a1c6a512-1295-4272-9138-f99709370657
2010-12-28Added the symlinkinstall make target. See #11825Michael Stummvoll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28915 a1c6a512-1295-4272-9138-f99709370657
2010-12-17fix that make install fails on Cygwin.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28848 a1c6a512-1295-4272-9138-f99709370657
2010-11-21FS#6321: Universal Image ViewerTeruaki Kawashima
This unifies jpeg viewer, png viewer, and bmp viewer to one plugin, image viewer, so that you can navigate through different image formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28626 a1c6a512-1295-4272-9138-f99709370657
2010-11-14Fix path detection for app builds in configure and buildzip.pl.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28592 a1c6a512-1295-4272-9138-f99709370657
2010-10-13Do not build remote failsafe skin files for devices without remoteMichael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28277 a1c6a512-1295-4272-9138-f99709370657
2010-09-26Android: Exclude the main binary from make zip.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28169 a1c6a512-1295-4272-9138-f99709370657
2010-09-25fix FS#11596. make "make install" use rbdir. copy image file correctly.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28160 a1c6a512-1295-4272-9138-f99709370657
2010-09-14Another major skin backend update/hopefully bugfix:Jonathan Gordon
Skins are now more self contained in the skin manager which in the future might allow on demand skin loading (i.e smaller skin buffers) Skin backdrops are also managed more intelegently (fixes a bug where you can get a crazy backdrop loaded if a .sbs fails to load) the rockbox_default rescue theme is now called rockbox_failsafe to better express what it actually is. This commit hopefully/maybe fixes the heavily reported data aborts, so please check if you are getting them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28073 a1c6a512-1295-4272-9138-f99709370657
2010-08-29As of r27902, codecs and plugins need to be marked as executable to work in ↵Magnus Holmgren
the UI simulator on Windows. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27936 a1c6a512-1295-4272-9138-f99709370657
2010-08-02Rockbox as an application: Commit current Android port progress.Thomas Martitz
General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too). Problems: - Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now. - no cabbiev2 (only some preliminary files for it), no other default theme. - screen flickers sometimes if the updates are too frequent - no multi screen apk/package - strange behavior when a phone call comes in The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder. I've put a small README in there for instructions. There are some steps needed after the make part, which are described there, and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 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-07-25$rbdir => $temp_dir where appropriate, shadowing $rbdir with the temp dir ↵Thomas Martitz
broke wpsbuild.pl (for rbdir != ".rockbox") git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27545 a1c6a512-1295-4272-9138-f99709370657
2010-07-13Oops, remove leftoversThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27409 a1c6a512-1295-4272-9138-f99709370657
2010-07-13Remove forgotten lines and add a commit regarding app buildsThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27408 a1c6a512-1295-4272-9138-f99709370657
2010-07-13Fix up buildzip.plThomas Martitz
Now it can install RaaA properly into /usr/local/{bin,lib,share} (incompatible with RaaA in svn, because it needs fixing to work with these dirs). make install for sim and target builds is also cleaned up a bit. Additionally, use the install tool for install make targets, it has some advantages over cp. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27407 a1c6a512-1295-4272-9138-f99709370657
2010-07-07buildzip.pl: more fixesRafaël Carré
- cygwin's abs_path() can't operate on non existing path, so only evaluate abs_path("$install/something") if $install is set. (apply r27137 again) - don't set $install to 0 since it's meant to be a string - create the install prefix with mkdir -p before installing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27341 a1c6a512-1295-4272-9138-f99709370657
2010-07-07buildzip.pl: fix r27310 and r27317Rafaël Carré
perl string comparison operator is 'eq', not '==' $install needs to be concatenated to $rbdir for comparsion git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27340 a1c6a512-1295-4272-9138-f99709370657
2010-07-06Add a check for '' not being set. make zip doesn't work for me without it. ↵Magnus Holmgren
Perhaps only a problem on Cygwin? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27317 a1c6a512-1295-4272-9138-f99709370657
2010-07-06Rockbox as an application: Add an 320x240 SDL application target.Thomas Martitz
It still works mostly like the simulator. There's also some minor left overs from the sim, but it does not define SIMULATOR. It installs into the current (build) dir, and you need to run it with '--root .' (because it looks for ./.rockbox and not ./simdisk/rockbox) as options. That's one of the few kludges left that should be resolved soon'ish. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27310 a1c6a512-1295-4272-9138-f99709370657
2009-11-24have buildzip copy the classic_statusbar.grey/mono correctlyJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23731 a1c6a512-1295-4272-9138-f99709370657
2009-11-23wtf perl? 2 extra chars would kill you? seriously?Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23721 a1c6a512-1295-4272-9138-f99709370657
2009-11-23use classic_statusbar.grey.sbs on grey targetsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23719 a1c6a512-1295-4272-9138-f99709370657
2009-11-20fix mono and hwcodec classic_statusbar so they actually loadJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23673 a1c6a512-1295-4272-9138-f99709370657
2009-11-18copy the classic_statusbar and rockbox_none .sbs's to .rsbs's also so remote ↵Jonathan Gordon
displays can use them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23661 a1c6a512-1295-4272-9138-f99709370657
2009-11-16get ready for classic_statusbar... get it added to the .zip. buildwps.pl ↵Jonathan Gordon
needs fixing to work with .sbs files better git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23648 a1c6a512-1295-4272-9138-f99709370657
2009-10-28Add support to buildzip.pl for Lua scriptsMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23388 a1c6a512-1295-4272-9138-f99709370657
2009-10-12New plugin theme_remove which offers a way to remove specified theme.Teruaki Kawashima
See the manual for usage. Flyspray: FS#10187 Author: myself, manual by David Kauffmann git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23130 a1c6a512-1295-4272-9138-f99709370657
2009-07-10Lua:Maurus Cuelenaere
* add ./?/init.lua to the search path for require * put Lua libs in /.rockbox/rocks/viewers/lua/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21739 a1c6a512-1295-4272-9138-f99709370657
2009-05-23Load PictureFlow logo from disk, discarding it after splash screen is done ↵Andrew Mahone
and freeing the used space for the slide cache. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21051 a1c6a512-1295-4272-9138-f99709370657
2009-05-21Lua: add actions.lua to the zip fileMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21023 a1c6a512-1295-4272-9138-f99709370657
2009-05-07Build pictureflow using overlay on lowmem targets, support JPEG AA in PF on ↵Andrew Mahone
all targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20864 a1c6a512-1295-4272-9138-f99709370657
2009-04-12Second try for make install for normal builds. Now differentiate better ↵Thomas Martitz
between "PREFIX not set" and "PREFIX not set, but also not needed". Also, recreate the PREFIX when running make reconf. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20694 a1c6a512-1295-4272-9138-f99709370657
2009-04-11Revert r20687 since it breaks make zip.Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20692 a1c6a512-1295-4272-9138-f99709370657
2009-04-11"make (full)install" for normal builds, specifiy the installation ↵Thomas Martitz
destination with PREFIX (e.g. PREFIX=/mnt/my_dap ../tools/configure). PREFIX not needed for sims, as it defaults to simdisk although PREFIX can override simdisk/. Use zip -r0 for install, and -r9 for for actual zips. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20687 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
2008-12-27Add support for scaled bitmap loads, and for greylib display, toAndrew Mahone
pictureflow, as well as several small fixes in the areas modified. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19598 a1c6a512-1295-4272-9138-f99709370657
2008-12-19Removed firmware requirement, since font zip is built without firmware.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19484 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