Commit Graph

710 Commits

Author SHA1 Message Date
Stephan Aßmus
d35b3513de Updated Pe optional package with a newer one (GCC2 only).
* The Save file panel has no more overlapping controls. (patch by Maxime Simon,
  Thanks a lot!)
* Functions at the top can now be jumped to via function popup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-14 17:24:14 +00:00
Ingo Weinhold
77e84f219a configure does now check the yasm version for target architecture x86, and
sets the HAIKU_YASM build variable, which will be checked in BuildSetup.
Re-running configure or adding the variable manually to
generated/build/BuildConfig is required.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-13 10:50:17 +00:00
Ingo Weinhold
b8f38f28ae Re-added avcodec.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 09:55:55 +00:00
Ingo Weinhold
526d707eb6 Added new build tool create_image which is now used to create and/or clear a
raw image. This fixes the problem that an existing image couldn't be resized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 09:18:18 +00:00
Ingo Weinhold
a76d4f314c Removed avcodec from the build as long as it is broken.
gcc 2.95.3 build:

Cc /home/bonefish/develop/haiku/haiku/generated-gcc2/objects/haiku/x86/release/add-ons/media/plugins/avcodec/libavcodec/dsputil_mmx.o
In file included from /home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/dsputil_mmx.c:31:
/home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/mmx.h:24: warning: #warning Everything in this header is deprecated, use plain __asm__()! New code using this header will be rejected.
/home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/dsputil_mmx.c: In function `gmc_mmx':
/home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/dsputil_mmx.c:1753: Invalid `asm' statement:
/home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/dsputil_mmx.c:1753: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 20:22:10 +00:00
David McPaul
c773b05743 put ape_reader back in image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 06:52:43 +00:00
David McPaul
31433f615e test for valid ASFLAGS before calling yasm
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 06:23:14 +00:00
Michael Lotz
96e5f9e535 * Don't build avcodec with assembly targets using yasm - because it breaks the
build.
* Remove the APE reader from the image as it also depends on the non-working
  yasm rule.

Please don't just leave the build in such a broken state. It's really annoying
when you're held up by stuff like that when you want to work on something.
Just leave changes like those disabled until you have verified that they work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 00:00:19 +00:00
David McPaul
1c258c3d59 use yasm instead of nasm
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 03:21:06 +00:00
Philippe Houdoin
87e87a7d96 As Urias reports, OpenGL kit and stuffs build on PPC target too now, so let's add
them to the image. Thanks Urias for testing, submitting patches and... being 
patient ;)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 03:09:05 +00:00
Ingo Weinhold
e7f2fa91bc Don't use MakeLocate to make sure that the parent directory exists, since
that also sets LOCATE, which could cause jam to incorrectly place our
directory. Should fix the problems with the SSL build feature some people
have been seeing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-08 18:03:18 +00:00
Ingo Weinhold
ff81d306d4 * Moved the optional package dependency definitions into the new
build/jam/OptionalPackageDependencies and include it earlier (before the
  Jamfiles).
* Introduced build/jam/OptionalBuildFeatures which is supposed to do the setup
  for optional build features that need it.
* Renamed USE_SSL to HAIKU_BUILD_FEATURE_SSL and made it more intelligent.
  The OpenSSL optional package is downloaded and unzipped automatically when
  enabled. Switching between enabled/disabled HAIKU_BUILD_FEATURE_SSL is
  handled gracefully -- the concerned components are built in separate
  subdirectories. Adding the OpenSSL optional package to the image also enables
  HAIKU_BUILD_FEATURE_SSL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-08 10:07:17 +00:00
Ingo Weinhold
d339b68bef * Added UnzipArchive rule which unzips a zip file into a target directory.
* Added DownloadOptionalPackage which is mainly a wrapper around DownloadFile
  preventing the package from being downloaded twice, even if invoked more
  than once.
* InstallOptionalHaikuImagePackage uses DownloadOptionalPackage now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-08 09:55:33 +00:00
Ingo Weinhold
35d0aeac70 Added rule SetupFeatureObjectsDir that simplifies using different output
directories when a certain feature is enabled/disabled/configured a certain
way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-08 09:51:01 +00:00
Michael Lotz
3613bfc871 Adding a run_on_exit kernel debugger add-on. It installs a debugger command
"on_exit" with which you can add commands to run when exiting the debugger.
With this you could for example "on_exit sync" and "on_exit shutdown -r" when
your app_server crashed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-08 07:45:59 +00:00
Ingo Weinhold
b3660edb89 Reenabled ntfs. I wouldn't mount it writable, but reading shouldn't harm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-07 13:53:22 +00:00
Stephan Aßmus
49950a1598 Patch by siarzhuk: Added an optional package for a Keymap switcher application.
Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 20:23:18 +00:00
Clemens Zeidler
ed6b5cc571 Simplify the mail configuration.
- Introduce a database of known providers.
- Guess the mx server if the provider is not known.
- Guess default setting.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 18:07:31 +00:00
Stephan Aßmus
ad5cf1c575 Patch by BGA/Matt Madia: Fix the location of lpe symlink home -> common. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 13:15:16 +00:00
Axel Dörfler
64805bb7f0 * Copy keyboard layouts to the image as well.
* I noticed a bit too late that we usually have lower caps folder in our
  repository. Well, if someone complains enough... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 15:59:08 +00:00
Axel Dörfler
a6354157ca * Moved some stuff in data/etc/ to data/system/data because that's where
they now end up in the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 14:55:59 +00:00
François Revol
dc54109d98 Install bash as bash, and symlink sh to it, it's how it's done on other platforms and more logical.
Btw those defines here are x86 only... FIXME


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 09:14:21 +00:00
François Revol
c9c87ba8dc Introduce a BeOSCompatibility OptionalPackage for those why need to demo apps before fixing them, you lazy. :P
Use with caution, it will disappear someday.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 08:57:29 +00:00
Rene Gollent
909dad39fb Mark Flurry as x86-only for now, as other platforms don't yet have a libGL. Thanks again to Urias.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 03:35:59 +00:00
Stephan Aßmus
3a45db8ab8 Added PoorMan to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 22:00:00 +00:00
Axel Dörfler
4f4312b1c7 * Fixed Canna (and bug #3660) for real this time.
* Cleaned up CannaLooper.cpp/h to mostly conform to our coding style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 13:35:46 +00:00
Rene Gollent
df0389f978 Fix building library symlinks. Should un-break building things within Haiku. Thanks Axel for helping track this down.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 23:34:13 +00:00
Axel Dörfler
e78f5dd383 * Updated to the relocated/renamed beos/system directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 09:42:58 +00:00
Axel Dörfler
317bd7dda3 * Changed directory structure as suggested on the mailing list.
* Made the TimeZoneView less error prone, and also actually use Haiku code (the
  previous check didn't work since it used #if, not #ifdef).
* Also took the liberty to rename our boot loader to haiku_loader, since I had
  to update the nasm binary anyway. Updated the assembly sources to nasm 2.0.
* I haven't found where the synth location in the MIDI code is specified,
  though.
* Also, NetBootArchive, and FloppyBootImage haven't been updated yet. Will do
  so next.
* Some optional packages still put their license to beos/etc/licenses. I didn't
  update them yet, as we'll probably do so anyway at some point. Also, I think
  we might want to introduce a common/data/licenses instead for those.
* If you encounter any problems, please tell!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 09:02:44 +00:00
Axel Dörfler
aa3b737bf7 * Added CharacterMap to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 15:00:40 +00:00
Axel Dörfler
ee6a2e164f * Added hda driver to the image by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 12:53:29 +00:00
Stephan Aßmus
0562493379 Patch by Matt Madia to add UserBootscript.sample and UserSetupEnvironment.sample
files in /boot/home/config/boot. Thanks! Though eventually I'd like to have a
more intuitive method of adding start up applications.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 09:21:31 +00:00
Ingo Weinhold
0feb2904db Moved AssembleNasm to MainBuildRules.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 15:11:55 +00:00
David McPaul
91fbc75fd1 Fix coding style violation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 09:33:33 +00:00
David McPaul
73734dbf97 Add nasm rule and action
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 06:52:51 +00:00
Rene Gollent
a638252106 Use correct case for Preferences folder name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 20:42:42 +00:00
Rene Gollent
684409f06f Add symlink to config/be/Preferences when installing Bluetooth optional package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 20:38:32 +00:00
Karsten Heimrich
52bc210d99 * add flurry to the image
* seems we hit a race during shutdown, thus the BGLView would already be delete
  by unload_add_on, crashing the screenblanker (tested with several GL saver)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 20:29:53 +00:00
Stephan Aßmus
fb886ec014 The Preferences and Demos entries in the Be menu are no longer links to the
folders in /boot/beos/, but are real folders, with links to the respective
entries in the /boot/beos/preferences and demos folders. This allows third
party software to place links into the Preferences and Demos entries in the
Deskbar. Fixes ticket #3612.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-27 11:55:52 +00:00
Stephan Aßmus
09908323b5 Patch by aljen: Added GCC4 Pe package.
Two notes by myself:
* I've changed the patch to remove code duplication. This is always preferable.
* GCC4 packages may break, because Haiku does not claim to keep binary
  compatibility with itself until after the R1 release. Even then we may not
  keep it for GCC4, since Haiku will most likely be GCC2, and there will be a
  real GCC4 switch where we will try to make API changes that will be supported
  in future releases. So GCC4 packages should be considered very carefully.
  In the case of Pe, there may be the benefit of faster launch times, since
  most libs will be already loaded (unlike if it's a GCC2 package on a GCC4
  Haiku). I am just saying the benefits need to outweight the additional work
  to maintain and test these packages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-27 11:32:09 +00:00
Rene Gollent
9236d82104 Update Vision package to fix missing InfoPopper support and an off by one pixel bug in the notify list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 23:21:08 +00:00
Stephan Aßmus
a62f575a80 BuyNow was renamed to DebugNow... sorry about forgetting HaikuImage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 11:41:58 +00:00
Ingo Weinhold
5efbbbe0fa Missing space between Firefox and LibLayout. Spotted by "sarmale".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 18:29:13 +00:00
Michael Pfeiffer
b94767fe93 Updated BePDF optional package to version 1.1.1b1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-23 06:46:18 +00:00
Ingo Weinhold
39d58e2f49 Experimental approach to tackle the problem with Be's negative error codes and
ported software:
* If the macro B_USE_POSITIVE_POSIX_ERRORS is defined the POSIX error code
  constants (ENOMEM, EINTR,...) will have positive values.
* Introduced the macros B_TO_{POSITIVE,NEGATIVE}_ERROR() which do convert a
  given error code to a positive/negative value.
* Added static library libposix_error_mapper.a that overrides all POSIX
  functions (save the ones I forgot to add :-)) directly meddling with error
  codes (having them as parameter or returning them) dealing with the
  positive<->negative error code conversions. The functions have hidden
  visibility, so they affect only the shared object they are linked into.
* So ideally all one has to do is to build a ported software with
  -DB_USE_POSITIVE_POSIX_ERRORS and -lposix_error_mapper and be good with
  respect to error code problems.
* Potential issues:
  - When mixing ported and Haiku native code, i.e. using Haiku native code in
    a ported software or using a ported library in a Haiku native application
    care must be taken to convert error codes where the two interface. That's
    what the B_TO_{POSITIVE,NEGATIVE}_ERROR() macros are supposed to be used
    for.
  - A ported static library can obviously not be linked directly against
    -lposix_error_mapper. The shared object linking a against the ported static
    library has to do that. The previous point applies when that causes mixing
    with Haiku native code.
  - When dependent ported libraries are used probably all of them should use
    the error mapping.

Comments welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-22 15:43:03 +00:00
Rene Gollent
591911f345 Update gcc4 package with the aforementioned changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-19 23:08:35 +00:00
Rene Gollent
9dd3f93aa0 Updated gcc2 Vision package with some UTF-8 bugfixes from Francois, and to pick up some updates made to ControlLook in the Haiku tree.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-19 22:17:11 +00:00
Stephan Aßmus
432ce3738d * Tracked down the mkdepend tool which Ingo used in his updated makefile-engine
which auto-generates dependencies. It was written by Lars Duening for BeOS
  and uses libglob, which is also part of make. To re-use libglob and since
  make is already part of the Haiku tree, I added mkdepend to the bin tools.
* Added Lars Duening's copyright to AboutSystem.
* Added skeleton makefile and makefile-engine to data/develop.
* Added mkdepend and makefile-engine files to the Development optional package.
  It could be argued to move the make bin command there too, from it's current
  location in the HaikuImage file. However, make could be useful to always
  have available.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-19 12:19:41 +00:00
Ingo Weinhold
d15b54c97f Removed HAIKU_ADD_ALL_OPTIONAL_PACKAGES build variable. It did more harm than
good lately.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-19 12:15:13 +00:00
Ingo Weinhold
292e63bf9f * Applied (slighly modified) patch by Matt Madia: When the
--alternative-gcc-output-dir configure option has been specified,
  HAIKU_ADD_ALTERNATIVE_GCC_LIBS is set by default. One has to explicitely
  unset it in UserBuildConfig to avoid building the alternative gcc libs.
* Adjusted documentation accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-19 12:06:15 +00:00