Closed Bug 43117 Opened 24 years ago Closed 2 years ago

Add Sound support to hpux mozilla builds

Categories

(Core :: Widget: Gtk, defect, P5)

HP
HP-UX
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: jdunn, Unassigned)

References

Details

Currently widget/src/gtk/nsSound.cpp only is supported on Linux or a system with libesd. On HP, we need to add support for their audio system libAlib (/opt/audio/lib) which does support WAV (Microsoft RIFT) format.
Blocks: 18687
Status: NEW → ASSIGNED
QA Contact: doronr → jaworski
Target Milestone: --- → M30
setting QA Contact to barrettl.
QA Contact: jaworski → barrettl
No longer blocks: 18687
updating dependency and assigning to shannon
Assignee: jdunn → shannond
Blocks: 18687
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
nsSound.cpp is needed for AIM sounds - these are heard on Linux but not on HP-UX
Got sound working early last week :-) After discussions with Jim Dunn on the best method for integrating this code into widget/src/gtk with the linux version, Jim suggested we make the HP-UX code a separate file (nsSound_hpux.cpp) and check for HP-UX in the Makefile.
Diff of Makefile.in: Index: Makefile.in =================================================================== RCS file: /cvsroot/mozilla/widget/src/gtk/Makefile.in,v retrieving revision 1.72 diff -r1.72 Makefile.in 46d45 < nsSound.cpp \ 56a56,65 > ifeq ($(OS_ARCH), HP-UX) > CPPSRCS += \ > nsSound_hpux.cpp \ > $(NULL) > else > CPPSRCS += \ > nsSound.cpp \ > $(NULL) > endif > 60c69 < $(MOZ_COMPONENT_LIBS) \ --- > $(MOZ_COMPONENT_LIBS) \ 95a105,115 > ifeq ($(OS_ARCH), HP-UX) > # Add the HP-UX audio library to libs and > # includes > LIBS += \ > -L/opt/audio/lib -lAlib \ > $(NULL) > INCLUDES += \ > -I/opt/audio/include \ > $(NULL) > endif >
Revised Makefile.in - extra LIBS not needed since we're using PRLoadLibrary: Index: Makefile.in =================================================================== RCS file: /cvsroot/mozilla/widget/src/gtk/Makefile.in,v retrieving revision 1.72 diff -r1.72 Makefile.in 46d45 < nsSound.cpp \ 56a56,65 > ifeq ($(OS_ARCH), HP-UX) > CPPSRCS += \ > nsSound_hpux.cpp \ > $(NULL) > else > CPPSRCS += \ > nsSound.cpp \ > $(NULL) > endif > 60c69 < $(MOZ_COMPONENT_LIBS) \ --- > $(MOZ_COMPONENT_LIBS) \ 95a105,111 > ifeq ($(OS_ARCH), HP-UX) > # Add the HP-UX audio library include path > INCLUDES += \ > -I/opt/audio/include \ > $(NULL) > endif >
adding myself to cc
-> jdunn
Assignee: shannond → jdunn
Status: ASSIGNED → NEW
Product: Browser → Seamonkey
Assignee: jdunn → general
Priority: P3 → --
QA Contact: BarrettLndstrm → general
Assignee: general → nobody
Component: General → Widget: Gtk
Product: SeaMonkey → Core
QA Contact: general → gtk
Does HP even still build Mozilla stuff on HPUX anymore?
No Firefox 3 or the latest Firefox 2 at the time of writing, but the answer is yes, they do still build Mozilla stuff: http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXJAVAFFTB
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.