Closed Bug 908637 Opened 11 years ago Closed 11 years ago

Bootstrap support for FreeBSD

Categories

(Firefox Build System :: General, defect)

All
FreeBSD
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla26

People

(Reporter: jbeich, Assigned: jbeich)

References

Details

Attachments

(1 file, 1 obsolete file)

There are two package managers and two compilers on FreeBSD:
- pkg_install is the historical one and pkgng meant to replace it
- heavily patched GCC 4.2 and Clang 3.[0-3] since 9.0R

As for future dependencies:
- PulseAudio as ALSA isn't stable on FreeBSD
- GStreamer should be enabled by default for any XP_UNIX
- libv4l brings v4l2 headers and bug 826985
Attached patch loosely based on openbsd.py (obsolete) — Splinter Review
Attachment #794632 - Flags: review?(gps)
Comment on attachment 794632 [details] [diff] [review]
loosely based on openbsd.py

Review of attachment 794632 [details] [diff] [review]:
-----------------------------------------------------------------

Thank you for providing FreeBSD support!

::: python/mozboot/mozboot/freebsd.py
@@ +17,5 @@
> +
> +    def pkg_install(self, *packages):
> +        if self.which('pkg'):
> +            command = ['pkg', 'install', '-x']
> +            command.extend([ i[0] for i in packages ])

Nit: cuddle []
Attachment #794632 - Flags: review?(gps) → review+
Attachment #794632 - Attachment is obsolete: true
Attachment #794898 - Attachment filename: mozboot_freebsd.diff → loosely based on openbsd support
Keywords: checkin-needed
Attachment #794898 - Attachment description: mozboot_freebsd.diff → loosely based on openbsd support
Attachment #794898 - Attachment filename: loosely based on openbsd support → mozboot_freebsd.diff
https://hg.mozilla.org/mozilla-central/rev/ceb5d5cec15a
Assignee: nobody → jbeich
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Blocks: 1022747
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: