HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Back to Query
  • Next Ticket →

Ticket #278 (closed task: fixed)

Opened 6 years ago

Last modified 5 years ago

[libsndfile] add - files attached needs review

Reported by: michaelvoliveira Owned by: michaelvoliveira
Priority: normal Milestone: Unscheduled
Component: media-libs/libsndfile Version: 1.0
Severity: normal Keywords: sndfile
Cc:

Description

A C library for reading and writing files containing sampled sound

Attachments

libsndfile-1.0.21.OptionalPackageDescription​ (158 bytes) - added by michaelvoliveira 6 years ago.
Optional Package Description file. So, this ticket is complete to review ;)
libsndfile-1.0.21.bep​ (967 bytes) - added by michaelvoliveira 5 years ago.
corrected license entry
libsndfile-1.0.21.patch​ (1.7 KB) - added by michaelvoliveira 5 years ago.
Patch to update sndfile-play-beos functions! it play sounds now!! \o/ and Replace orginal sndfile-play

Download all attachments as: .zip

Change History

Changed 6 years ago by michaelvoliveira

  • attachment libsndfile-1.0.21.OptionalPackageDescription​ added

Optional Package Description file. So, this ticket is complete to review ;)

comment:1 Changed 5 years ago by michaelvoliveira

  • Owner changed from scottmc to michaelvoliveira
  • Status changed from new to assigned

comment:2 Changed 5 years ago by michaelvoliveira

  • Summary changed from [libsndfile] add to [libsndfile] add - files attached needs review

comment:3 Changed 5 years ago by augiedoggie

The OPD file contains some invalid data but it needs to be merged into the bep file anyhow. The license names must be exactly the same as the ones in /boot/system/data/licenses. For example 'GNU LGPLv.2.1' should be 'GNU LGPL v2.1' and 'GNU LGPLv.3' should be 'GNU LGPL v3'

comment:4 Changed 5 years ago by scottmc

using the last .bep file you posted it's failing to build for me with this error:

In file included from /boot/develop/haikuports/media-libs/libsndfile/work/libsndfile-1.0.21/src/sds.c:26:
/boot/develop/headers/posix/math.h:184: warning: declaration of `exp' shadows global declaration
  CC    svx.o
  CC    txw.o
  CC    voc.o
  CC    wve.o
  CC    w64.o
  CC    wav_w64.o
  CC    wav.o
/boot/develop/haikuports/media-libs/libsndfile/work/libsndfile-1.0.21/src/wav.c: In function `wav_write_header':
/boot/develop/haikuports/media-libs/libsndfile/work/libsndfile-1.0.21/src/wav.c:1131: Internal compiler error, output_operand_lossage `invalid expression as operand'
make[3]: *** [wav.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Did you patch it and forget to include it? Or were you using gcc4 instead of gcc2?

Changed 5 years ago by michaelvoliveira

  • attachment libsndfile-1.0.21.bep​ added

corrected license entry

comment:5 Changed 5 years ago by michaelvoliveira

humm... seems that this one only builds with GCC4.. because when I set gcc2, configure command return the following warning

configure: WARNING: *** This compiler does not support the 1999 ISO C Standard ***
configure: WARNING: *** feature known as the flexible array struct member.     ***

Will be necessary create a patch to handle it, but I don't know how

comment:6 Changed 5 years ago by michaelvoliveira

Beyond that, sndfile-play-beos.cpp has to be updated to play sound files in Haiku

Changed 5 years ago by michaelvoliveira

  • attachment libsndfile-1.0.21.patch​ added

Patch to update sndfile-play-beos functions! it play sounds now!! \o/ and Replace orginal sndfile-play

comment:7 Changed 5 years ago by michaelvoliveira

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed: Done in r1087. Thanks!

comment:8 Changed 5 years ago by michaelvoliveira

This lib will never build to GCC2.

There's a compiler bug, fixed in > 4.2 versions

 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34688

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/