1. 14 Nov, 2017 1 commit
  2. 02 Aug, 2017 2 commits
    • Ralph Giles's avatar
      Update soname for the opusfile 0.9 release. · d9bbf207
      Ralph Giles authored
      The return type of op_serialno changed from ogg_uint32
      to opus_uint32, but those types should be abi compatible.
      d9bbf207
    • Timothy B. Terriberry's avatar
      Print a useful error when pkg-config is missing · 2521a7d8
      Timothy B. Terriberry authored
      Without this check, the PKG_CHECK_MODULES() macro remains
      unexpanded, which gives a syntax error when the shell reaches that
      point in the configure script, even for checks which are disabled
      (e.g., the OpenSSL check when using --disable-http).
      
      Instead, explicitly check for pkg-config and give the user useful
      advice on how to solve the problem if it's not found.
      
      Thanks to eXpl0it3r for reporting a problem for which installing
      pkg-config turned out to be the solution.
      2521a7d8
  3. 04 Nov, 2016 1 commit
    • Ralph Giles's avatar
      Make dot optional in generating documentation. · bff125da
      Ralph Giles authored
      Different distributions of doxygen have different default
      values of HAVE_DOT setting, so we need to pick a specific
      setting to avoid 'missing dot' warnings on some platforms.
      
      Doxygen uses it to generate inclusion graphs for our various
      header files, which is somewhat useful, but not essential.
      We therefore enable dot if it's present (usually through
      the parent graphviz package) but disable it if it's not
      available, silencing the warning, but not giving uniform
      results.
      bff125da
  4. 06 Jul, 2016 1 commit
  5. 31 Dec, 2015 1 commit
    • Ralph Giles's avatar
      Bump soname for v0.7. · 1c955b28
      Ralph Giles authored
      We have added new public interfaces, but are still backward
      compatible with clients built against older releases.
      1c955b28
  6. 27 May, 2015 2 commits
  7. 11 Jun, 2014 1 commit
  8. 12 Apr, 2014 1 commit
  9. 09 Jan, 2014 1 commit
  10. 08 Jan, 2014 1 commit
    • Ralph Giles's avatar
      Make subdir-objects the default. · adf627ed
      Ralph Giles authored
      Automake 1.14.1 warns that this will become the default in the future
      and advises enabling this, I assume to catch conflicts. We already
      use this option in the opus library.
      adf627ed
  11. 20 Aug, 2013 1 commit
  12. 19 Aug, 2013 1 commit
    • Ralph Giles's avatar
      Create zip archives for distribution. · 2e35942f
      Ralph Giles authored
      Windows still doesn't support tar.gz out of the box. If we're
      bothering with project files we might as well make it easy
      to get the source releases.
      2e35942f
  13. 08 Aug, 2013 1 commit
  14. 15 Jul, 2013 1 commit
  15. 02 Jul, 2013 1 commit
    • Ron's avatar
      Always try to update the version when autogen.sh is run · 884aa610
      Ron authored
      This avoids at least one case where ./autogen.sh && ./configure && make
      will re-run configure because the makefile rules updated something that
      it depends upon. Pulling a new version from git will change the version
      so we should update that at the first step rather than iterating after
      the last one.
      884aa610
  16. 28 Jun, 2013 2 commits
    • Ron's avatar
      Switch to using config.h for configuration options · 1eff2631
      Ron authored
      The main motivation for this is it ensures the files will actually be
      rebuilt if the configuration options are changed.
      1eff2631
    • Ron's avatar
      More autoconf housekeeping · c939c736
      Ron authored
      Don't let AC_SEARCH_LIBS([lrintf]) add -lm to LIBS, otherwise we'll
      unconditionally link everything with it.
      
      Correctly handle the third possibility of AC_SEARCH_LIBS, that no
      library at all was found.
      
      Link libopusfile with $lrintf_lib, it uses it and will otherwise fail
      with linkers that use --no-add-needed / --no-copy-dt-needed-entries.
      
      Don't bother to test for doxygen if using it is --disable'd.
      c939c736
  17. 18 May, 2013 1 commit
    • Ron's avatar
      Use m4_esyscmd instead of m4_esyscmd_s · 8df43f7c
      Ron authored
      We shouldn't ever have any trailing newlines that need trimming here,
      and the _s version wasn't added to m4sugar.m4 until autoconf 2.63b,
      so this will let it work with 2.13 again.
      8df43f7c
  18. 13 May, 2013 4 commits
    • Ron's avatar
      Drop the x's from shell tests · 4ed5f102
      Ron authored
      Partly just to give us an extra commit to test the versioning,
      but they really aren't needed in any of those cases, and now
      we're consistent about not using them everywhere.
      4ed5f102
    • Ron's avatar
      Fully automate version updating · ff868661
      Ron authored
      This one meets or exceeds the following requirements:
      
       - Version is checked/updated for every build action when in the git repo.
         Does not require the user to re- ./configure to get the correct version.
      
       - Version is not updated automatically when using exported tarball source.
         Avoids accidentally getting a wrong version from some other git repo in
         a parent directory of the source, and allows setting the correct version
         for distro package exports.
      
       - Automatic updating can be manually suppressed.
         For developers doing lots of change/rebuild cycles they don't plan to
         release, when they don't want a full rebuild triggered for every commit,
         and again for every change made immediately after a commit.
         The version will still always be updated if they do a `make dist`.
      
       - Does not require any manual updating of versions in the mainline git
         repo for each release aside from normal tagging.  The version is
         recorded in one file only, that is automatically generated and will
         never need to be committed.
      
       - Does not require gnu-make features for the autoconf builds.
      
      It does not currently:
      
       - Keep a checksum of every source file in tarball releases to mangle the
         version if people modify the tarball source.  Responsible people can
         manually update the version easily though in such cases.
      ff868661
    • Ron's avatar
      Always build libopusurl · 13488656
      Ron authored
      If --disable-http is used it will just only have file URL support.
      13488656
    • Ron's avatar
      Autoconf and pkg-config support for libopusurl · 428b6bc5
      Ron authored
      428b6bc5
  19. 30 Apr, 2013 1 commit
    • Ulrich Klauer's avatar
      Handle AC_SEARCH_LIBS special result value. · 365ac4c2
      Ulrich Klauer authored
      AC_SEARCH_LIBS will give a result of "none required" if the relevant
       function is available without any special libraries.
      This is the case for lrintf on MinGW.
      Make sure this special value isn't put verbatim into the pkg-config
       files, as it would cause the linker to search for files named
       "none" and "required", and fail.
      Signed-off-by: Timothy B. Terriberry's avatarTimothy B. Terriberry <tterribe@xiph.org>
      365ac4c2
  20. 28 Feb, 2013 4 commits
    • Timothy B. Terriberry's avatar
      Require WindowsXP for mingw32. · cc5f107c
      Timothy B. Terriberry authored
      This allows an i686-pc-mingw32 build to use getaddrinfo/
       freeaddrinfo correctly.
      It's not needed for an i686-w64-mingw32 build, but it doesn't hurt
       to leave it in here.
      i686-pc-mingw32 still won't work correctly, because it does not
       support fseeko/ftello, nor (unless using MSVCRT 8.0 or later)
       _fseeki64/_ftelli64.
      We could define __MSVCRT_VERSION__ to 0x800 to get the latter, but
       this would require different MSVCRT versions than libogg and
       libopus are built with by default, which makes a bit of a mess.
      cc5f107c
    • Timothy B. Terriberry's avatar
      Clean up mingw32 configuruation. · 1e9d7d85
      Timothy B. Terriberry authored
      Properly check for HTTP support and handle the case where it's
       disabled.
      Also fixes the include paths broken by 3e7f0ddc.
      1e9d7d85
    • Timothy B. Terriberry's avatar
      s/OS_WIN32/OP_WIN32/ · 100027a3
      Timothy B. Terriberry authored
      The former is too generic.
      100027a3
    • Ralph Giles's avatar
      Initial winsock support patch from nu774. · 9c097eee
      Ralph Giles authored
      Some tweak might be still needed to take care of OPENSSL_AppLink
      to get https support working. In win32, user application of openssl
      is required to include openssl/applink.c or something, when openssl
      is compiled with OPENSSL_USE_APPLINK.
      
      I don't know how it should be taken care of, from the library point of
      view (it must be done by user of libopusfile, since openssl always
      searches that function in executable module).
      
      Posted to the hydrogenaudio format 2012 November 19.
      http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=97856&view=findpost&p=814582
      9c097eee
  21. 13 Nov, 2012 1 commit
  22. 12 Nov, 2012 1 commit
    • Ron's avatar
      Support --disable-maintainer-mode · ac0af36f
      Ron authored
      Adding AM_MAINTAINER_MODE([enable]) preserves the current behaviour of
      rebuilding the autotools support by default if anything changed to make
      it out of date -- which is desirable for people building from git to
      avoid "Why is the build broken? Oh I forgot to rerun autogen.sh", which
      is an all too frequent FAQ.
      
      But it also allows it to be disabled, which is mostly useful for things
      like distro package builds where the files should be preserved in their
      original form, and configure shouldn't be run twice on the first build
      if the timestamps were not strictly preserved for these files.
      Signed-off-by: default avatarRalph Giles <giles@mozilla.com>
      ac0af36f
  23. 24 Oct, 2012 3 commits
  24. 23 Oct, 2012 2 commits
    • Ralph Giles's avatar
      Don't build the API docs if doxygen isn't available. · bc1985a1
      Ralph Giles authored
      Updates the configure check to match the one in the Opus
      repository.
      bc1985a1
    • Ralph Giles's avatar
      Set the autoconf version from git. · cfd4e2c3
      Ralph Giles authored
      AC_INIT requires that the version string passed in be 'static'
      so we can't use the output of a shell invocation. However, it
      can be computed by an m4 shell invocation. This is what autoconf
      itself does to embed its git version number in PACKAGE_VERSION.
      
      Doing this necessitates the 'echo -n' in git-version.sh. Make
      is smart enough to strip the trailing newline, but AC_INIT is
      not. We must also add -f to autoreconf. Otherwise, autogen.sh
      will only update configure when configure.ac changes, even if
      the output of git-version.sh has changed.
      
      This is still not ideal, since it runs at autogen.sh time, not
      at 'make' time, which is what we want. This seems to be a limitation
      of an upcoming automake release, which removes the old style
      with PACKAGE and VERSION set by shell variables.
      cfd4e2c3
  25. 01 Oct, 2012 3 commits
  26. 29 Sep, 2012 1 commit