Commit Graph

31 Commits

Author SHA1 Message Date
Matt Madia
853ce54845 Stubbed out support for InstallSourceArchive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-03 20:42:10 +00:00
Matt Madia
45e4791e6a *cough* forgot that the script will continue even if a single firmware fails
to install properly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-03 20:19:50 +00:00
Matt Madia
0da448bf13 Updated the download location for broadcom's file that contains firmware. Also
added an echo, to confirm the success of installing all firmwares.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-03 20:07:54 +00:00
Matt Madia
199ad3daa6 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 16:04:29 +00:00
Matt Madia
2731f156ed Added support for case-insensitive recognition of package names. Fixes #5854.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:56:46 +00:00
Matt Madia
ac8e7456e6 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:50:22 +00:00
Matt Madia
0e3ac47627 Added '-s', which shows the final list of packages that would be installed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 15:51:17 +00:00
Matt Madia
c333e7dff6 Removed stray echo statement, which was for development purposes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 15:26:41 +00:00
Matt Madia
04f32da88a Added support for installoptionalpackage [<pkg> [<pkg> ...]]. Updated Usage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 15:18:47 +00:00
Matt Madia
bab27a1b73 Added support for '-f' in installoptionalpackage, which removes cached data
before displaying the available optional packages that can be installed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 14:07:19 +00:00
Matt Madia
ad81683e48 Improves the jam-to-bash conversion in ReplaceComparators(). Fixes the
"[: 5: unary operator" aspect of #5685.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-12 21:48:18 +00:00
Matt Madia
ad0be13f31 updated the ignore list as Wifi-ipw2100+fw & Wifi-iprowifi2200+fw are no
longer optional packages


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 05:20:19 +00:00
Matt Madia
74de61fda5 Implemented support for AddExpanderRuleToHaikuImage. Now P7zip and XZ-Utils can
be installed properly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-18 17:14:19 +00:00
Matt Madia
929c602701 Exit immediately if wget fails to download any one of its files. This will
allow future runs to be successful. Fixes #5528


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 20:58:49 +00:00
Matt Madia
8acc2e0854 Fixed a typo in DownloadFileIfNotCached. Fixes #5519.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 12:07:59 +00:00
Matt Madia
e414b34299 Added support for *.tgz,*.tar.gz. It is now consistent with
InstallOptionalHaikuImagePackage's functionality.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 22:13:12 +00:00
Matt Madia
91db81894a Return the original failed exit code and not that of 'echo'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 21:58:27 +00:00
Stephan Aßmus
0c4323bde0 From: Matt Madia
* Fixes check for hybrid builds in installoptionalpackage script.
 * Adds WifiFirmwareScriptData to the packages to ignore.

Closes #5493.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 10:11:22 +00:00
Stephan Aßmus
b6c650ce68 From: Matt Madia
Create the script's tempdir before displaying the initial alert.

Fixes #5509.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 10:05:27 +00:00
Ingo Weinhold
8480d72320 Patch by Matt Madia: Fixed stdout/stderr redirection order.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 10:57:08 +00:00
Fredrik Holmqvist
1b72402c99 Patch by mmadia "In function AddSymlinkToHaikuImage(), mkdir -p "${dirTokens}" needs the '$' escaped.". This fixes #5373.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-06 15:46:08 +00:00
Colin Günther
8a249cd5ad * Recursive dependencies are now correctly handled, so Subversion and BeHappy
should now be able to be installed gracefully. This fixes ticket #5248.
* Enhancement of the -a parameter, so that it accepts multiple packages at once.
  Multiple packages have to be included in double quotes, due to the way getopts
  handles options. This fixes ticket #5315.
* Thanks mmadia for this patch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-28 11:25:25 +00:00
Ingo Weinhold
d2e874ddff Patch by Matt Madia: Replaced non-POSIX "&>" by "2>&1 >".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-25 04:10:32 +00:00
Stephan Aßmus
908b8aa481 Patch by Matt Madia:
Ignore "NetFS" OptionalPackage in the installoptionalpackage script. It is a
source code only optional package which needs to be compiled from within the
tree.

Thanks a lot! Fixes #5297.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-19 21:37:41 +00:00
Colin Günther
81a0bf6fdc Adding a wifi firmware installation script done by mmadia. This script installs
firmware for unshipable broadcom43xx and marvell88w8335. Furthermore it installs
the firmware for ipw2100 and iprowifi2200, which requires the user to consent
to its license terms. Thank you mmadia!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-19 10:17:33 +00:00
Colin Günther
50b6d555c2 Adding svn property svn:executable do make the script executable. Thx Humdinger
for the heads up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-14 08:27:22 +00:00
Colin Günther
ae8d7c50e5 Patch by mmadia: Adding installoptionalpackage to HaikuImage. This is a
temporary solution as long as there is no package manager available. When
executing the script, it mentions this, too. This fixes #4680. Thank you.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 08:30:35 +00:00
Scott McCreary
3221645ea1 fixed pathname in freetype-config
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 06:03:55 +00:00
Jérôme Duval
e19ad5ff1a added freetype-config
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-28 21:22:36 +00:00
Ingo Weinhold
de49044796 * Use the new Add{Files,Symlink}ToHaikuHybridImage rules in HaikuImage and
OptionalPackages. This makes the content definition part in
  AlternativeGCCArchive superfluous.
* Moved the cc and c++ wrapper scripts from src/bin to data/bin.
* Added build variable HAIKU_ADD_OPTIONAL_PACKAGES to add optional packages
  -- the list can be separated by slashes to allow easier passing through
  the shell.
* When invoking the sub-jam that builds the alternative GCC archive, we force
  it to ignore the UserBuildConfigs and we enable the optional packages
  enabled in the main jam.
* Reorganized /boot/develop:
  - There's now an "abi" subdirectory containing a <arch>/<gcc>/ subdirectory
    for each installed ABI-incompatible gcc version and a "current" symlink
    pointed to the currently selected one.
  - All ABI-dependent directories under /boot/develop/ (lib/x86, headers/cpp,
    tools/gnupro) symlink into /boot/develop/abi/current.
  - Changed BELIBRARIES to contain
    /boot/develop/abi/current/library-paths/common instead of /boot/common/lib.
    The former is a symlink to either /boot/common/lib or
    /boot/common/lib/<gccVersion>. There's also a respective "home" symlink.
  - Repackaged the optional binutils+gcc 2/4 packages accordingly. Also fixed
    the obsolete /boot/beos/system/lib/libstdc++.so symlink in the gcc 4
    package.
  - The new structure allows to switch between compilers by changing the
    /boot/develop/abi/current symlink. Added script setgcc to do that.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-27 01:12:34 +00:00
Ingo Weinhold
9c5c2d9d45 Added "which" script, so that the command can be invoked in shell
scripts, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-26 17:41:53 +00:00