Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building on MacOS with pd-lib-builder #1

Open
wants to merge 80 commits into
base: master
Choose a base branch
from

Commits on Jun 25, 2015

  1. Configuration menu
    Copy the full SHA
    16517a2 View commit details
    Browse the repository at this point in the history
  2. changed some comments

    katjav committed Jun 25, 2015
    Configuration menu
    Copy the full SHA
    9c7e501 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3906a92 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e1fa90 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b43f7ad View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2015

  1. Configuration menu
    Copy the full SHA
    84ae43e View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2015

  1. use $(metafile) in version expansion

    lib.version is only expanded if the file named by $(metafile) exists, but then it uses a hardcoded filename to do the actual expansion.
    
    this patch uses $(metafile) to do the expansion instead.
    umlaeute committed Oct 28, 2015
    Configuration menu
    Copy the full SHA
    0a7d057 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2015

  1. Merge pull request #3 from umlaeute/patch-1

    use $(metafile) instead of hardcoded filename in lib.version expansion
    katjav committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    d2fa193 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2015

  1. Configuration menu
    Copy the full SHA
    9015ba7 View commit details
    Browse the repository at this point in the history
  2. bump version to 0.0.1

    katjav committed Oct 31, 2015
    Configuration menu
    Copy the full SHA
    974b617 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2015

  1. Configuration menu
    Copy the full SHA
    164d294 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2015

  1. Use CPPFLAGS, CFLAGS and LDFLAGS to override/add build flags

    This commit reorganizes the accumulation of build flags in such a way that
    non-obligatory build flags can be overriden or added by specifying
    CPPFLAGS, CFLAGS and LDFLAGS as arguments from command line or environment.
    katjav committed Dec 5, 2015
    Configuration menu
    Copy the full SHA
    589d7fc View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2015

  1. Improve methods for searching Pd include paths.

    I've also tried to make printed info a bit more helpful.
    katjav committed Dec 6, 2015
    Configuration menu
    Copy the full SHA
    0595e44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15832b5 View commit details
    Browse the repository at this point in the history
  3. Bumped to version 0.0.2.

    katjav committed Dec 6, 2015
    Configuration menu
    Copy the full SHA
    ed37e6b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e08bab9 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2015

  1. Introduce pre and post targets.

    Targets pre and post can be defined in the including (library) makefile.
    They are added to provide extra flexibility. Target all will
    build pre, $(executable) and post in deterministic order. Built-in
    documentation is modified to reflect the new situation.
    katjav committed Dec 8, 2015
    Configuration menu
    Copy the full SHA
    c428456 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5678ac View commit details
    Browse the repository at this point in the history
  3. Remove cruft from .PHONY:

    katjav committed Dec 8, 2015
    Configuration menu
    Copy the full SHA
    abeb4de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8cba158 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2015

  1. Merge branch 'eval-system-specific-defines', update version to 0.2.0

    This merge introduces the evaluation of optional multiline defines
    'forLinux', 'forDarwin' and 'forWindows', which can be used as a flexible
    replacement for system-specific variables as in Pd-extended's Makefile
    template. Example code is added to Makefile.pdlibbuilder's built-in
    documentation.
    katjav committed Dec 19, 2015
    Configuration menu
    Copy the full SHA
    3946ea5 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2015

  1. Configuration menu
    Copy the full SHA
    c6fe183 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2015

  1. Configuration menu
    Copy the full SHA
    c887569 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2015

  1. Merge branch 'command-line-build-flags', bump version to 0.2.1

    Command line variable CFLAGS now work according to conventions (overriding
    all non-essential C flags). CPPFLAGS and LDFLAGS are also implemented.
    Built-in documentation updated.
    katjav committed Dec 27, 2015
    Configuration menu
    Copy the full SHA
    98f3582 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2016

  1. Remove target 'pre' from Makefile.pdlibbuilder

    Phony target 'pre' forces rebuilds. This should not be default
    behavior of Makefile.pdlibbuilder. If one needs a pre-build target
    (phony or real file), declare it as prerequisite of $(all.objects)
    in the library makefile after inclusion of Makefile.pdlibbuilder.
    A pre-build target can have any name that isn't a target in
    Makefile.pdlibbuilder.
    katjav committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    d94538e View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2016

  1. Bump to version 0.2.2 after removal of 'pre' target

    Also remove associated documentation comments.
    katjav committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    c989c8e View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2016

  1. Disable dep. checking for fat builds on OSX <= 10.5. Version 0.2.3

    Multiple arch flags are incompatible with option -MM for preprocessor
    on (at least) OSX <= 10.5. Non clean builds would stall on this. This
    commit disables dependency checking for fat builds (current default
    for OSX) on ppc and i386. Assuming that development is done on newer
    systems / machines it should rarely hurt.
    katjav committed Mar 29, 2016
    Configuration menu
    Copy the full SHA
    eb614fd View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2016

  1. Fix regression bug that disabled all dependency checking

    The bug was probably introduced with version 0.2.3.
    Bump version to 0.2.4.
    katjav committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    1d7bb5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1a4c9b View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2016

  1. Fix dependency checking for object files in other directories

    And bump version to 0.2.5
    katjav committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    f06e550 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2016

  1. allow installed files to contain weirdo characters

    ...like '$' (e.g. "$arg-help.pd")
    by installing them one-by-one and using single-quotes
    (so the shell doesn't expand the dollargs)
    
    NOTE: this does not fix compiling such weirdo filenames
    
    Closes: pure-data/pd-lib-builder#19
    umlaeute committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    49a0b2f View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2016

  1. Do not pass architecture flags for dependency checking

    Only pass flags categories which can be expected to hold -I flags
    to the preprocessor for dependency checking. Omit categories which
    may contain architecture and tuning flags. This is a small and
    hopefully reasonable limitation of dependency-checking functionality.
    The preprocessor will still see predefined macros, amongst which
    architecture definition. Thus, eventual architecture-dependent include
    statements in the source code are considered for native architecture
    during dependency checking.
    
    This commit should resolve the rebuild issue on OSX, where some compiler
    versions can not handle multiple architecture flags during dependency
    checking.
    katjav committed Sep 20, 2016
    Configuration menu
    Copy the full SHA
    9fd1795 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2832db3 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2016

  1. updated cyclone link

    danomatika committed Sep 30, 2016
    Configuration menu
    Copy the full SHA
    5c9fed1 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2016

  1. Configuration menu
    Copy the full SHA
    dc9a8df View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2016

  1. Scrap all default include / bin paths except vanilla's

    Multiple defaults cause confusion and after discussion vanilla is preferred
    default because:
    
    1. vanilla is actively maintained
    2. currently most pd lib authors develop against vanilla
    3. unlike other pd flavors, vanilla is not part of a centralized build system
       with internal include path
    katjav committed Oct 4, 2016
    Configuration menu
    Copy the full SHA
    a6a89dc View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2016

  1. Configuration menu
    Copy the full SHA
    4815915 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b5e359 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2016

  1. Respect flag '-mmacosx-version-min=*' from lib makefile

    Makefile.pdlibbuilder sets a default minimum OSX version for optimal
    support of older OSX versions. With this commit, '-mmacosx-version-min=*'
    in variable 'cflags' from the lib makefile is respected, not overridden.
    
    A lib makefile can now determine the minimum OSX version (for example to
    support C++11, which was the direct motivation for this change).
    
    This is a response to pull request #22 'Making minimum Mac OS X version
    configurable', but note that it is implemented in a different way.
    katjav committed Oct 9, 2016
    Configuration menu
    Copy the full SHA
    a7d3098 View commit details
    Browse the repository at this point in the history
  2. Set version to 0.2.8 after merging 'install-dollarfiles'

    Update version number because of previous (merge) commit. The
    merge was done with github's 'Merge' button. Never again. The merged
    commit was 49a0b2f from 2016-06-28 allowing installed files to
    contain weirdo characters, and closing issue #19.
    katjav committed Oct 9, 2016
    Configuration menu
    Copy the full SHA
    5b920b1 View commit details
    Browse the repository at this point in the history
  3. Introduce variable 'PD_PATH', bump version to 0.3.0

    This variable is useful when building against a 'portable' pd install.
    Makefile.pdlibbuilder should now be compatible with centralized build
    systems when PD_PATH is passed as make argument, or set in environment.
    katjav committed Oct 9, 2016
    Configuration menu
    Copy the full SHA
    41e9743 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2016

  1. Defer expansion of $(pdbinpath) to correctly find pd.dll (bugfix)

    The issue was introduced in version 0.3.0 from the previous commit
    (41e9743).
    katjav committed Oct 13, 2016
    Configuration menu
    Copy the full SHA
    a0c87be View commit details
    Browse the repository at this point in the history
  2. Introduce variables PDDIR, PDINCLUDEDIR, PDBINDIR, PDLIBDIR

    These new path variables are aliases of existing ones that didn't have
    coherent names. The new variables are all defined such that they are
    overridable from the environment, as indicated by the upper case syntax.
    katjav committed Oct 13, 2016
    Configuration menu
    Copy the full SHA
    b0dab72 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2016

  1. Rewrite variable descriptions after introduction of 'PDDIR' & Co.

    Variables PDDIR, PDINCLUDEDIR, PDBINDIR and PDLIBDIR were introduced in
    the previous commit as API replacement for a less coherent set of path
    variable names, and made these paths settable in the environment.
    This commit (re)writes variable descriptions accordingly and reorganizes
    descriptions with the intention to give a more comprehensible overview of
    the API structure.
    katjav committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    cf04da9 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2016

  1. Merge branch 'configurable-minimum-osxversion'

    This merges commit a7d3098 which responded to issue #22. With this commit,
    cflag '-mmacosx-version-min=*' from a lib makefile is respected, not
    overridden by a default minimum version.
    katjav committed Oct 26, 2016
    Configuration menu
    Copy the full SHA
    ff9b40c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48c4127 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c680bf View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2016

  1. Configuration menu
    Copy the full SHA
    006d957 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    058ba82 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2016

  1. Fix bug where incorrect message about m_pd.h is given

    And bump to version 0.4.2
    katjav committed Oct 30, 2016
    Configuration menu
    Copy the full SHA
    2e13d8f View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2016

  1. Replace flags '-fpic' with '-fPIC'

    Reportedly '-fPIC' should work for all architectures while '-fpic'
    does not.
    katjav committed Nov 2, 2016
    Configuration menu
    Copy the full SHA
    426b38b View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.txt

    katjav committed Nov 2, 2016
    Configuration menu
    Copy the full SHA
    6120db1 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2016

  1. removed trailing whitespace

    umlaeute authored and katjav committed Nov 22, 2016
    Configuration menu
    Copy the full SHA
    cdd3b43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb839ed View commit details
    Browse the repository at this point in the history
  3. Use variable 'system' when evaluating 'for{Linux,Darwin,Windows}

    This evaluates correctly in the case where 'system' is defined for
    the purpose of cross compiling. This commit addresses issue #31.
    katjav committed Nov 22, 2016
    Configuration menu
    Copy the full SHA
    2c14110 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    872c34b View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2018

  1. Swap OS and machine detection so OS comes first

    This is in preparation for target architecture detection through
    gcc / g++.
    katjav committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    4be3e99 View commit details
    Browse the repository at this point in the history
  2. Introduce variable 'target.arch'

    It stores the first field of <cpu>-<vendor>-<os> triplet
    as retrieved from command '<compiler> -dumpmachine' where <compiler>
    is g++ or gcc.
    katjav committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    fa3c2ca View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef21a16 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2018

  1. Leave out architecture 'ia64'

    As per suggestion of Johannes Zmoelnig. It is not relevant and
    also not compatible with x86_64.
    katjav committed Jan 21, 2018
    Configuration menu
    Copy the full SHA
    37d2353 View commit details
    Browse the repository at this point in the history
  2. Introduce remainder architecture category for Windows

    And explicitly specify Intel 32 bit architectures, where 'mingw32'
    is included to support MSYS1.
    katjav committed Jan 21, 2018
    Configuration menu
    Copy the full SHA
    f83d429 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    867ad5e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    231e344 View commit details
    Browse the repository at this point in the history
  5. Assume system is "Windows" when uname says "MSYS"

    Needed for building with pd-lib-builder on AppVeyor.
    katjav committed Jan 21, 2018
    Configuration menu
    Copy the full SHA
    e4d42f2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    77ff876 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    13796bf View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2018

  1. Revert 'uname --machine' to 'uname -m' (bug fix OSX)

    Long option name '--machine' was introduced in commit fa3c2ca for
    explicitness, however it is not supported by clang / OSX.
    katjav committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    a01ee16 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. Merge branch 'target-arch-mingw'

    This merges a series of commits implementing target
    architecture detection for Windows builds, and the
    setting of appropriate options for 32 and 64 bit builds.
    katjav committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    215bf3e View commit details
    Browse the repository at this point in the history
  2. Bump version to 0.5.0, ready for Windows 64 bit

    Update version number after merge commit 215bf3e. This is the first
    version handling 64 bit builds for Windows.
    katjav committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    80d7dc0 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2018

  1. Add 'pd-lib-builder/' from commit '7d4c0ca9bb184acfde98469f1ba9670f8f…

    …851b30'
    
    git-subtree-dir: pd-lib-builder
    git-subtree-mainline: 81d22e6
    git-subtree-split: 7d4c0ca9bb184acfde98469f1ba9670f8f851b30
    megrimm committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    9189e33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d977e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8dd9ec2 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2018

  1. use libpocketsphinx.dylib not *.so

    On MacOS there is no libpocketsphinx.so only  libpocketsphinx.dylib
    megrimm committed Feb 25, 2018
    Configuration menu
    Copy the full SHA
    035fd8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    258f025 View commit details
    Browse the repository at this point in the history
  3. add filetype git ignore

    megrimm committed Feb 25, 2018
    Configuration menu
    Copy the full SHA
    2a72ee7 View commit details
    Browse the repository at this point in the history
  4. remove unused lines

    megrimm committed Feb 25, 2018
    Configuration menu
    Copy the full SHA
    1fef154 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. replace models with newer

    was getting "ERROR: "ngrams_raw.c", line 356: Corrupted model, some trigrams have no corresponding bigram" because old models were corrupted (see https://stackoverflow.com/questions/36409042/pocketsphinx-error-reading-hub4-5000-dmp"
    megrimm committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    4d085d5 View commit details
    Browse the repository at this point in the history
  2. add new models

    replace old models (corrupted) with new ones
    megrimm committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    86d6a1a View commit details
    Browse the repository at this point in the history
  3. remove because unnessasary

    megrimm committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    c7eeaed View commit details
    Browse the repository at this point in the history
  4. replace homebrew sphinx locations MacOS

    homebrew installs sphinx stuff in weird places so i recomend just downloading from github, make and install oneself
    megrimm committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    71f872a View commit details
    Browse the repository at this point in the history