Commit Graph

838 Commits

Author SHA1 Message Date
Augustin Cavalier
8a9e1e0d4a Removal of non-Haiku target platform logic from build system (part 1.)
Following recent changes to use libroot_build on Haiku also, it is now
actually impossible to build Haiku components on non-Haiku platforms
(BeOS R5, Dan0, BONE, Zeta), so we can remove any logic related to this.

This is only the first part; still to be removed are:
 * SetSubDirSupportedPlatformsBeOSCompatible
 * HOST_PLATFORM_BEOS_COMPATIBLE
 * TARGET_PLATFORM_BEOS_COMPATIBLE
2017-12-31 16:14:22 -05:00
Augustin Cavalier
add916a765 Restore the "GPL licensing not permitted" in GLUT license headers.
It was originally there but was removed erroneously. The emails in which
we received permission to relicense stated this restriction explicitly.
2017-12-20 19:35:55 -05:00
Leorize
0006cc3fbf libs/bsd: add explicit_bzero(3)
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-12-16 12:54:58 -05:00
Leorize
9a1d046775 libs/bsd: add readpassphrase(3)
Imported from freedesktop libbsd project

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-12-16 12:54:23 -05:00
Augustin Cavalier
be622abddb fluidsynth: Remove from tree.
Not included in the build (or even wired to Jam) since the new package
repo changes merge.
2017-12-01 10:14:45 +01:00
Augustin Cavalier
5f8613a22c build: Cleanup and fixes following previous commits.
* Hashing semantics for the new build repositories are different than
   the old ones, so update those (if the x86 build was not broken before
   it is now...)
 * OptionalPackages has been updated slightly (removed libtool and git_cvs
   from the default images, as they are rarely used nowadays and would pull
   in a bunch of dependencies we don't really care for either)
 * Removed lib:libqrencode from Haiku package requires (qrencode_kdl is a
   static library, the userland libqrencode is not used anywhere in the tree,
   as far as I can tell)
 * Fix build of JPEG2000 translator after update
 * Decouple fluidsynth build machinery and remove from image now that it
   is no longer used
 * Update repository URL in Repositories preflet
2017-11-25 21:15:10 +01:00
Jérôme Duval
ad7432f214 freebsd11_network: adapt code based on needs of the pcnet R11.1 driver. 2017-11-18 18:44:18 +01:00
Jérôme Duval
5dc915bd4d freebsd11_network: adapt code based on needs of the ipro100 R11.1 driver. 2017-11-18 18:13:33 +01:00
Jérôme Duval
76ad0d68c3 freebsd11_network: adapt code based on needs of the rtl81xx R11.1 driver. 2017-11-18 16:34:12 +01:00
Alexander von Gluck IV
1d3d336a97 libbsd: Move lutimes to bsd compat
* Rework be149e8ccf since lutimes isn't posix
2017-11-17 14:27:26 -06:00
Jérôme Duval
078cb10834 freebsd11_network: adapt code based on needs of the e1000 R11.1 driver. 2017-11-15 21:21:44 +01:00
Jérôme Duval
f9a21cf8ba freebsd11_network: copy freebsd_network from 9.3. 2017-11-15 21:20:07 +01:00
Jérôme Duval
a295d3f46e wait4(): retrieve dead team entries usage information.
* This adds a parameter to the wait_for_child syscall. I extended the test case
to show the actual retrieved information.
* fix #13546
2017-10-10 17:20:46 +02:00
Augustin Cavalier
0ed0bc5384 termcap: Update from 2011/02/20 to 2017/08/26.
Note that this reverts a Haiku-specific patch to mark "xterm"
as supporting 256-color mode.
2017-09-12 14:34:42 -04:00
Jérôme Duval
d9823ef5a0 PrintJob: make struct print_file_header packed.
* also struct _page_header_: on x86_64, these would align to 8 bytes, which the code
doesn't handle well.
* remove beos leftovers.
2017-07-31 17:11:53 +02:00
Jérôme Duval
c57b500a15 libprint: fix invalid use of long. 2017-07-16 11:35:42 +02:00
Augustin Cavalier
bbb7a5b327 libs/util: Delete unused portions.
We only include 4 .c files of this in the build, so delete everything
else.
2017-07-03 12:02:38 -04:00
Augustin Cavalier
c7258f02db PDF Writer & PDFlib: Remove from tree.
Now supplied via HaikuPorts packages.

I *think* this was the last component in the tree with a
non-OSI license.
2017-07-01 18:46:58 -04:00
Adrien Destugues
5bb8320035 Fix a few more uses of PAGE_SIZE 2017-04-14 07:23:23 +02:00
Adrien Destugues
6caa391f67 Fix another use of PAGE_SIZE
Not detected when building locally, probably I should have done a clean
build.
2017-04-14 07:18:38 +02:00
Fredrik Holmqvist
4bef8ab8de Function needs more void. 2017-03-27 20:12:24 +02:00
Fredrik Holmqvist
35226072bc __FreeBSD_version__ is always 8, remove old #if
Reduce number of todos...
2017-03-27 19:04:30 +02:00
Augustin Cavalier
ad05d1f087 libs/agg: Remove GPC.
It was licensed with a "no commercial usage allowed" license, which if
we were using it would be a gray area at best. We weren't using it at all,
and AGG seems to have disabled building it by default, so just remove it
from the tree entirely.

Briefly discussed on IRC.
2017-03-18 19:27:45 -04:00
Jim Barry
ba62028d23 Fixed bug exposed by g++ warning "unused parameter ‘char_map’".
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-03-08 15:59:54 -05:00
John Horigan
2651cf9b02 Only create VS6 bugfix routine if we are running VS6 and actually use it, this is to prevent an annoying warning about unused code
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-03-08 15:01:41 -05:00
Fredrik Holmqvist
8bc91c5e0f Prettify code. 2017-03-01 22:44:04 +01:00
Fredrik Holmqvist
73c5d705cd Use static inline (gcc2 issue). Some format cleanup. 2017-03-01 20:32:37 +01:00
Fredrik Holmqvist
5e3916baee FreeBSD compability layer optimized read and writes.
FreeBSD has a simple inlined bus_space_read while Haikus had one
with call overhead.
This still needs cleanup as it is x86 specific, which it was already.
Also it redefines inX and outX defines as arch/x86/arch_cpu.h has a
C++ namespace so it can't be included from FreeBSD drivers C-files.

The results of these changes should be worth it though.
2017-03-01 18:32:18 +01:00
Julian Harnath
662dfd3a3f posix_error_mapper: fix pthread_mutex*_get*()
* Commit 0bec83a8 added const to the signatures of
  pthread_mutex*_get*() functions. The declarations in
  posix_error_mapper now didn't match that anymore, so the
  extern C was lost, adding C++ mangling to the functions
  from posix_error_mapper. This made linking applications with
  posix_error_mapper fail.
2017-02-28 01:12:26 +00:00
Humdinger
970591cb2d Change of window title in print dialog
Another change from "Page setup" to "Paper setup".
Will I (or Vidrep) find another occurance? We'll find out...
2017-01-23 19:31:26 +01:00
Andrew Aldridge
a735975461 Sync atheros813x with FreeBSD
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12328.
Fixed a style error (2 lines between functions).
2017-01-22 09:20:01 +01:00
Humdinger
5f050a9e7a Change strings in Printer prefs
Per tests by Vidrep, makes the GUI slightly more consistent.
Plus additional sentence casing.
2017-01-05 18:26:00 +01:00
Michael Lotz
40044981eb FreeBSD compat: Align allocations according to FreeBSD man page.
According to the FreeBSD kernel malloc man page the allocator is
expected to return power of two aligned addresses for allocations up to
one page size. While it also states that this shouldn't be relied upon,
at least our (directly copied) bus_dmamem_alloc expects it and drivers
may depend on it as well. Looking through the FreeBSD commit logs, this
expectation seems to be rooted quite deeply.

This fixes watchdog timeouts in the ipro1000 driver under KVM and may
help with #11953. It might also be related to #9099 and #9601 as those
seem memory allocation related as well.
2016-12-11 01:09:17 +01:00
Adrien Destugues
8efb6db7b9 elf.h: rename ELF_MAGIC to ELFMAG
- This is how it is named in other versions of elf.h (Linux, glibc, possibly more)
- ELF_MAGIC is used by libelf for the same thing, and the defines conflicts,
  breaking libelf build on Haiku.
2016-08-06 20:32:47 +02:00
Augustin Cavalier
ef0ed91e55 libcrypt: Remove from tree.
Not used by anything, and not included in the build.
2016-07-18 18:06:53 -04:00
Jérôme Duval
60ac5356ac Fix debug build of libtextencoding.so. 2016-04-25 19:08:01 +02:00
looncraz
f696e88a2c Convert various more things to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0038, 0040, 0042-0044 from looncraz, unmodified.
2016-01-04 07:29:14 -05:00
Axel Dörfler
65484549f0 libunwind: Fixed build warning. 2015-11-16 20:37:18 +01:00
Jonathan Schleifer
82f5db2e26
More libunwind compilation fixes 2015-11-09 20:00:06 +01:00
Jonathan Schleifer
ab1ac5930b
Fix a typo 2015-11-09 19:56:38 +01:00
Jonathan Schleifer
8e3c9301d9
Add Jamfile for x86 libunwind 2015-11-09 19:06:11 +01:00
Jonathan Schleifer
7a541d13ed
Some progress towards libunwind compiling
* Add main Jamfile
 * Add x86_64 Jamfile
 * Add config.h for Haiku
 * Add defines missing from elf.h
 * Don't include some missing files
2015-11-09 18:16:08 +01:00
Jonathan Schleifer
18941b085c
Import libc++ 2015-11-09 18:02:17 +01:00
Jonathan Schleifer
f2c0917eea
Import libcxxrt 2015-11-09 18:01:58 +01:00
Jonathan Schleifer
d77787f2a4
Import libunwind 2015-11-09 18:01:42 +01:00
Jessica Hamilton
0baf9d8d8d gpt partitioning: generate uuids for disks & partitions.
Also added src/libs/uuid to tree, sources adapted from
http://git.kernel.org/cgit/fs/ext2/e2fsprogs.git/tree/lib/uuid.
2015-10-08 02:12:14 +00:00
Alexander von Gluck IV
7e24b659c4 build: Convert to external libedit build package
* Drop lib/edit and matching bsd header
* Convert Debugger to libedit build package
* Should solve problems with libedit consumers
  not defining _BSD_SOURCE
* Progress on #10267
2015-07-04 15:29:05 -05:00
Philippe Saint-Pierre
03c41782bb agg: avoid writting beyond the array size
Potentially trying to add two new items to an array without enough room left.

CID 991455
2015-07-03 11:32:45 -04:00
Adrien Destugues
27dab5c12d freebsd_network: add __UNCONST
Needed by the new DNS resolver from NetBSD.
2015-06-14 15:46:50 +02:00
Jérôme Duval
e22a18e9f3 Add a feature for expat.
* Icon-O-Matic and Cortex are dependent on the feature.
* remove expat lib from the build and from the tree.
* expat package is added to regular builds.
2015-06-10 23:31:55 +02:00