Commit Graph

1359 Commits

Author SHA1 Message Date
Stephan Aßmus
f3d6fe6493 Disabled ffmpeg build for anything than x86, since there are problems
on PPC and it was pointless to give the PPC developers trouble while
there isn't even a desktop on PPC yet. Sorry about that!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 10:01:22 +00:00
Scott McCreary
8f25594c11 Fixed the BeAE build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-10 01:41:29 +00:00
Scott McCreary
d3902df608 Added Ruby and Paladin as OptionalPackages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-08 08:01:53 +00:00
Stephan Aßmus
631e3dcf4b * FFmpeg is not x86-only at all. The Jamfile tries to configure
the build depending on the target architecture.
 * Add the folder for media plugins to home/config/add-ons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-07 10:19:35 +00:00
Stephan Aßmus
d29fcc50b8 Switched support for AVI files from native Reader to
FFmpeg plugin, which now works for much more files
in my testings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-06 21:23:39 +00:00
Stephan Aßmus
9abb7d4713 Remove the Matroska reader from the image and enable
Matroska support in the FFmpeg plugin. I have a few streams
to test with, most didn't play right with the Matroska reader,
many simply crash. With the FFmpeg matroska support, most files
do play fine. Seeking the audio stream is a problem, in that
the FFmpeg code does not build the index for the audio stream,
and so seeking always falls back to regions of the file that
have already played. The audio will catch up eventually and
playback will be fine again. A minority of files I could test
with don't work right, those seem all to be older files.
Overall, the support for Matroska files has much improved
with this commit. I am still investigating why FFplay has
no trouble seeking in mkv files, while the FFmpeg plugin only
seeks perfectly in video streams. It may be a problem that
the FFmpeg plugin uses completely separate AVFormatContexts
for each stream, which on the other hand allows to seek BMediaTracks
independently from each other and resolves concurrency issues.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-06 09:50:24 +00:00
Scott McCreary
3a82446b9a Add man and groff as optionalpackages, update cmake, bzip2, p7zip, openssh to move their
man files from /boot/common/man to B_COMMON_DOCUMENTATION_DIRECTORY/man.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-01 15:26:28 +00:00
Rene Gollent
703b67c0ca Update Web+ to r545 to fix compatibility with recent Locale Kit ABI changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-31 00:07:28 +00:00
Scott McCreary
10c5ff834d Second try at python-2.6.6
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-30 05:53:08 +00:00
Scott McCreary
843c2663c8 Update openssl to 1.0.0a and python to 2.6.6
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-30 02:37:40 +00:00
Adrien Destugues
18900042ce * Use defines for the SCSI commands instead of the numeric opcode directly
* Colorize the trace output for easier syslog reading
 * Add usb_floppy to the default image
 * disable error tracing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-28 08:57:29 +00:00
Stephan Aßmus
e9a09f6670 * Enabled the mp2/mp3 decoder in the ffmpeg plug-in (CodecTable.h).
* Removed the mp3_reader and mp3_decoder from the image and from
   the source tree even. The mpeg123lib based decoder was crashy,
   since the lib didn't cope with bad input data too well, whatever
   the reason, but bad input can also be a specially crafted file.
   I didn't see the value in keeping two decoders around that use
   a third party library as backend. While reading in the mp3_decoder
   code, I even saw that it used global variables in the mpeg123 lib
   to figure out framerate and channel count, after decoding a bit of
   input. Obviously this has concurrency issues.
 * Removed the mp4_reader from the image. It is native code, and should
   perhaps be preferred over imported code, but I don't have the
   resources to look into it, and David doesn't seem to have the time
   either. There are basically three types of problems with the
   native mp4 reader: 1) It is way too CPU intensive. I have many HD
   files that don't play at all, since there is not enough time left
   for actual decoding. 2) Seeking leaves a lot of visual artifacts
   (with the very same decoder plug-in), since there seems something
   wrong either with finding true keyframes, or with flushing buffers
   correctly. And 3) very often audio stops working at all after
   seeking. Sometimes a keyframe is returned for audio which is very
   far away from the wanted frame, which currently triggers bad
   behavior in the audio producer node in MediaPlayer and can even
   crash the media_addon_server. With the ffmpeg based mp4 reader,
   none of these problems exist: Seeking is perfect, no artifacts,
   CPU load is low enough for pretty much all HD clips I tested with,
   and audio always works and is always in perfect sync with the video
   after seeking.

If there are regressions after this commit at all (I tested a lot of
files), then I anticipate only that the ffmpeg plugin does not advertise
support for files it could actually handle (i.e. easily fixable). In
those cases hopefully a test stream can be made available. If the
native mp4 reader is improved to the point that it works as well as
the ffmpeg mp4 demuxer, we can easily switch it back, but for now, users
will prefer reliable playback.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-27 17:16:00 +00:00
Axel Dörfler
d26fafe96b * The arp module gives warnings in GCC4, so the typo was actually needed; this
temporarily fixes the build again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-27 12:09:47 +00:00
Axel Dörfler
40b788d449 * Fixed typo that prevented the datalink_protocols to be compiled with -Werror.
* Enabled -Werror for the protocols.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-27 10:53:04 +00:00
Oliver Tappe
8b31c7e7aa * oops - removed debug leftover
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-27 00:58:34 +00:00
Oliver Tappe
540cbcd8e6 * add explicit check against mismatching version of legacy compiler, avoids
trying to build the compiler when it's not going to work


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-27 00:57:11 +00:00
Axel Dörfler
f9bb7404fa * Updated the GCC2 package to version -100818. This will soon be needed to be
able to build Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-26 14:31:52 +00:00
Rene Gollent
4e3080b72d Updated cdrtools optional package rebuilt by Chris Roberts due to some errors that crept into the earlier one. Added iconv as dependency.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-25 20:49:21 +00:00
Rene Gollent
2dda1d60ea Remove duplicated files from cdrtools package. Closes #6501.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-25 14:04:39 +00:00
Oliver Tappe
34d9bfb077 Missed this when working on warnings a couple of days ago:
* enable -Werror for print add-ons and wonderbrush translator add-on

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-23 14:40:29 +00:00
Scott McCreary
87bd186931 Updated yasm to 1.1.0
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-23 06:56:08 +00:00
Matt Madia
dbbd40614e Siarzhuk Zharski updated Vim to version 7.3. Updated files per request.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-22 10:03:30 +00:00
Oliver Tappe
eba0c4d6d7 * enabled -Werror for all apps
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-19 17:36:23 +00:00
Oliver Tappe
3605272d0f * turns out src/kits/tracker was low hanging fruit, as it didn't contain any
warnings at all - enabled -Werror for all kits

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-19 15:54:21 +00:00
Oliver Tappe
1662a36480 * fix the single remaining gcc2-warning in media kit and enable -Werror for it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-19 15:46:54 +00:00
Oliver Tappe
269ebc04b9 Fix #6373, second try
* make BDADDR_* macros refer to value types instead of addresses
* adjust all interfaces using bdaddr_t* to use (mostly const) refs instead,
  which IMHO makes the interface & code clearer
* that got rid of a couple of const incorrectness casts
* some cleanup along the way


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-19 15:29:02 +00:00
Oliver Tappe
32a2294fdc * revert r38213, as it introduces initialization problems
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-19 14:40:17 +00:00
Rene Gollent
c36933ad2e Fetch ICU PPC optional package from the default optional packages dir.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 23:22:42 +00:00
Andreas Färber
6f5eadd525 ppc: Add ICU package
As an interim solution for fixing the build,
download an ICU package from Haiku Ports.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 23:06:15 +00:00
Rene Gollent
316c84b2b4 Update WebPositive to r544 - fixes compatibility break due to
recent layout kit changes.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 22:59:13 +00:00
Oliver Tappe
e0ef64750f * fix #6373 by switching the BD... macros to take the address of corresponding
constants, which had to be defined in several places in order to be available
  in the kernel addons, network protocols and the server/kit.
* enable -Werror for all servers

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-17 21:46:32 +00:00
Oliver Tappe
8f62243f37 * fix warnings in Keymap preflet about hidden virtual by renaming SetFont()
to SetBaseFont() (and fFont to fBaseFont)
* enabled -Werror for all preflets


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-17 17:37:15 +00:00
Oliver Tappe
37cebf6883 * fixed all warnings in FileTypes preflet and enabled -Werror
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-17 16:41:28 +00:00
Oliver Tappe
2655efc395 Fixes to Notifications preflet
* CID-1501: protect against dynamic_cast potentially returning NULL
* additional style fixes
* fixed all warnings and enabled -Werror

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-17 14:56:51 +00:00
Oliver Tappe
529fd9af5d Fixed all warnings in Shortcuts preflet and enabled -Werror for it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-17 14:35:28 +00:00
Scott McCreary
9fef36ccc8 updated cdrtools to 3.00
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 10:59:01 +00:00
Scott McCreary
f50aabd24d update curl optional package to 7.21.1
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 17:30:39 +00:00
Andreas Färber
8b006b36e7 Allow to suppress individual Optional Packages
Add Jam rule SuppressOptionalHaikuImagePackages as a mechanism to keep
packages from being installed.

Extend the UserBuildConfig.ReadMe document to cover the new command.

Closes ticket #6260.

Changes from v1:
* Simplified IsOptionalHaikuImagePackageAdded as suggested by Ingo.
* Added example as documentation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 16:43:55 +00:00
Scott McCreary
84f7450097 Update autoconf to 2.67
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-05 03:16:18 +00:00
Philippe Houdoin
e45b794a5d OpenGL add-ons should be hybrid targets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-04 14:09:48 +00:00
Adrien Destugues
a7faa05822 * Allow to put the different catalogs for the bin/ directory in spearate places in the generated folder.
*  I didn't manage to make it work for the translations, however. If someone with better jam knowledge could look at it...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 14:10:15 +00:00
Adrien Destugues
4d978eea2f * Fix the WinDecorator and some parts of the MacDecorator
* Since they all work reasonalbly well, add them to the default image. (beOs had them after all)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 10:32:19 +00:00
Rene Gollent
7283e760ab Update Web+ to r542 for locale kit compatibility fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-02 02:17:33 +00:00
Rene Gollent
f6896f2175 Update Web+ to r541.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-31 18:19:10 +00:00
Oliver Tappe
f0900cb3ea * fixed a warning in the opengl preflet and added the current
state of things for all preflets to the EnableWerror 
  declarations


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-29 20:13:00 +00:00
Matt Madia
19aa183a5d Increased the size of the default image. Upon first boot, less than 800 KiB was
available for a gcc2hybrid.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-29 18:31:36 +00:00
Matt Madia
7bb30491f0 Fixed the haiku-netboot-archive, as ipv4_datagram was removed in r37794.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 20:12:49 +00:00
Axel Dörfler
61729d9323 * Reworked the complete stack to allow more than one address per network
interface - this caused quite a number of changes.
* Network interfaces, and its addresses are now reference counted (not yet
  complete, though, InterfaceAddresses need to hold references to their
  interface as well).
* There are two known regressions of this commit that I will fix later:
  - you cannot remove interfaces anymore
  - IPv4 multicast was broken anyway, but now it's disabled, too.
* Moved a device_interfaces.cpp|h out of interfaces.cpp.
* The datalink layer chain is now instantiated per domain per interface,
  not just per interface anymore.
* When a buffer reaches the network layer, it has no known interface yet, ie.
  the ipv4|6|whatever modules need to set this manually.
* Added more debug output, and some new debugger commands, the control option
  is now printed in clear text.
* Added hash_address() function to the address modules. Added "const" to
  set_to_defaults() where needed.
* Fixed net_buffer's restore header functions offset use as reported by Atis.
* Improved buffer dump output, use the domain module to print the address if
  available.
* Moved net_buffer::type into the union, as it's not needed by the upper layers
  anymore.
* Moved IPv6 specific code from {add|remove}_default_route() to where it
  belongs, but disabled it for the time being.
* Completely discarded useless ipv4_datagram module.
* Added ping6 to the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 17:38:23 +00:00
Michael Pfeiffer
6f0d416957 * Moved enconding files into system/data/PDF Writer directory,
as correctly pointed out by Ingo these are no setting files.
* Use find_directory() here and in places marked with TODOs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 14:45:25 +00:00
Adrien Destugues
ba12b8a9c1 * Remove references to the timezone files in userbuildconfig jamfiles. We would need another AddSymlinkToHaikuImage
example...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 10:46:02 +00:00