Skip to content

Commit

Permalink
Devel (#182)
Browse files Browse the repository at this point in the history
prepare 2023.01
  • Loading branch information
uliss authored Feb 1, 2023
1 parent f5ebc3f commit 7221b14
Show file tree
Hide file tree
Showing 3,497 changed files with 283,749 additions and 122,957 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 2 additions & 4 deletions src/.dir-locals.el → .dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; see also https://github.com/erdc-cm/petsc-dev/blob/master/.dir-locals.el
; indent with space; make sure lines are not too long
(
(nil . ((indent-tabs-mode . nil)
(tab-width . 4)
Expand All @@ -7,6 +7,4 @@
(c-mode . ((c-file-style . "bsd")
(c-basic-offset . 4)
(c-comment-only-line-offset . 4)
))
(haskell-mode . ((eval . (highlight-regexp "^ *"))))
(java-mode . ((c-file-style . "bsd"))))
)))
38 changes: 38 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
root = true

[*]
# please only ever use utf-8
charset = utf-8

; C and friends
[**.{c,cpp,h,hh,m,mm}]
# indent 4 spaces, BSD-style
indent_style = space
indent_size = 4
indent_brace_style = BSD

## let git handle proper EOL
#end_of_line = lf

trim_trailing_whitespace = true
insert_final_newline = true

max_line_length = 80

#continuation_indent_size = 4
spaces_around_operators = true

; applies only to Makefiles
[makefile]
indent_style = tab
tab_width = 4
[**.am]
indent_style = tab
tab_width = 4

[**.tcl]
indent_style = space
indent_size = 4
#continuation_indent_size = 8
#curly_bracket_next_line = false

16 changes: 16 additions & 0 deletions .github/workflows/puredata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pure-data

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
- master
- develop
pull_request:
workflow_dispatch:

jobs:
puredata:
uses: pure-data/pure-data-ci/.github/workflows/puredata.yml@main
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,5 @@ mac/tk*
mac/embedded

msw/tcltk*
# vim temp files
*.swp
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,15 @@
[submodule "ceammc/extra/faust/faust"]
path = ceammc/extra/faust/faust
url = https://github.com/grame-cncm/faust.git
[submodule "ceammc/extra/httplib/cpp-httplib"]
path = ceammc/extra/httplib/cpp-httplib
url = https://github.com/yhirose/cpp-httplib.git
[submodule "ceammc/extra/miniz/miniz"]
path = ceammc/extra/miniz/miniz
url = https://github.com/richgel999/miniz.git
[submodule "ceammc/extra/artnet/libartnet"]
path = ceammc/extra/artnet/libartnet
url = https://github.com/uliss/libartnet.git
[submodule "ceammc/distrib/tcl/tkdnd"]
path = ceammc/distrib/tcl/tkdnd
url = https://github.com/uliss/tkdnd.git
64 changes: 0 additions & 64 deletions .travis.yml

This file was deleted.

16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# CEAMMC Pd distribution changelog

## [2023.01]
### Updated:
- drag and drop plugin added for MacOS
- Windows installer fixed
- **CEAMMC** external library v0.9.6 - [ceammc/CHANGELOG.md](ceammc/CHANGELOG.md)

## [2022.11]
### Updated:
- migration to Pd version 0.53.0
- **CEAMMC** external library v0.9.5 - [ceammc/CHANGELOG.md](ceammc/CHANGELOG.md)

### Removed:
- disable externals libdir and import in default build options
- temporary disable flext base external, cause their using obsolete Pd api calls (error(), for example)
- removed link to FLOSS and Kreidler tutorial, cause they are really old at this time

## [2021.11]
### Added:
- disable enternal FFTease and LyonPotpourri externals cause they available via deken
Expand Down
19 changes: 14 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.13)
project(puredata)

if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
Expand All @@ -15,7 +15,12 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
endif()

if(APPLE)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
set(CMAKE_OSX_ARCHITECTURES "arm64")
else()
set(CMAKE_OSX_ARCHITECTURES "x86_64")
endif()

if(MACOSX_SDK)
set(CMAKE_OSX_SYSROOT ${MACOSX_SDK})
endif()
Expand Down Expand Up @@ -52,7 +57,9 @@ if(UNIX)
set(CMAKE_MACOSX_RPATH TRUE)
# @rpath on macosx
# set(CMAKE_SKIP_RPATH True)
# set(CMAKE_OSX_DEPLOYMENT_TARGET "10.6")
if(CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.12")
endif()
# set(CMAKE_SKIP_BUILD_RPATH FALSE)
# set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
# set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR TRUE)
Expand All @@ -73,6 +80,7 @@ set(CMAKE_CXX_STANDARD 11)

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

include(CheckLSBTypes)
include(build_options)
include(ceammc/external_version.cmake)
include(version)
Expand Down Expand Up @@ -122,6 +130,7 @@ add_subdirectory(extra)
add_subdirectory(doc)
add_subdirectory(mac)


if(GETTEXT_FOUND)
add_subdirectory(po)
endif()
Expand All @@ -132,12 +141,12 @@ endif()

add_subdirectory(ceammc)

include(summary)
include(package)
include(summary)

add_custom_target(puredata_changelog SOURCES CHANGELOG.md)

file(GLOB _DEB_FILES "debian/*")
add_custom_target(deb_files SOURCES ${_DEB_FILES})

add_custom_target(ci_files SOURCES .travis.yml appveyor.yml)
add_custom_target(ci_files SOURCES appveyor.yml)
69 changes: 69 additions & 0 deletions README.translators.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
Notes for translators
=====================

The Pd GUI interface is available in multiple languages.

If support for your language is only partial or missing completely,
you are invited to join the Pd translation effort.

# Project mailinglist

We don't have a specific mailinglist for translating Pd,
so we use the ordinary Pd mailinglist:

https://lists.puredata.info/listinfo/pd-list

Feel free to subscribe to the mailinglist to discuss translation issues.

# Different translation workflows

There are two ways to manage the translations:

- using the Weblate web application at

https://hosted.weblate.org/projects/pure-data/

- using the Git repository to grab and commit PO files

## Translation with Weblate

If you decide to use Weblate, you don't have to learn Git usage.
Get in touch with us on the above mailing list so that we can setup
the initial translation files for you, and once they appear
on Weblate, you can start working!
You should communicate us the ISO code of your translation
(see "How to start a new translation" for more information on possible ISO codes).

If you want to retrieve the content of Weblate via git you can use
this git repository as remote:

```
$ git remote add weblate https://hosted.weblate.org/git/pure-data/pure-data
```

## Translation without Weblate

---------------------------

If you're not using Weblate, you'll have to interact with the Git
repository. So read README.git first. Really. And then please respect the
guidelines below.

Write meaningful commit messages. Always start with the language
code of the affected translations. Some examples of good commit
messages:

* it: Translated menus
* pt_br: Complete translation of deken


# How to start a new translation

See the `po/README.txt` for adding a new translation manually.


In any case, you must find out the language code for your translation
(it looks like `fr` or `de_at`).

See https://www.gnu.org/software/gettext/manual/html_node/Usual-Language-Codes.html
for a list of such codes.
10 changes: 5 additions & 5 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ or from the Pure Data community site:

https://puredata.info

Installation instructions are in INSTALL.txt and the HTML documentation at:
Installation instructions are in INSTALL.txt and the Pd Manual at:

http://msp.ucsd.edu/Pd_documentation/index.htm

If you download and unpack Pd, you will also find the HTML documentation
locally in the file "doc/1.manual/index.htm".
If you download and unpack Pd, you will also find the Manual locally
in the file "doc/1.manual/index.htm".

Linux (or FreeBSD): In some Linux installations you can download Pd via "apt-get
install puredata" or "dnf install puredata"; otherwise you can download
Expand All @@ -44,7 +44,7 @@ menu.

Except as otherwise noted, all files in the Pd distribution are

Copyright (c) 1997-2017 Miller Puckette and others.
Copyright (c) 1997-2021 Miller Puckette and others.

For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see LICENSE.txt included in the Pd distribution.
Expand All @@ -58,4 +58,4 @@ Lindsay, Karl MacMillan, Thomas Musil, Toshinori Ohkouchi, Winfried Ritsch,
Vibeke Sorensen, Rand Steiger, Hans-Christoph Steiner, Shahrokh Yadegari, Dan
Wilcox, David Zicarelli, IOhannes m zmoelnig, and probably many others for
contributions of code, documentation, ideas, and expertise. This work has
received support from Intel, Keith Mcmillen Instruments, and UCSD.
received support from Intel, Keith McMillen Instruments, ZKM, IEM, and UCSD.
8 changes: 8 additions & 0 deletions build/mac/coverage/cmake_single.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#/bin/bash

# M1 apple check (Faust not build at this moment)
BUILD_WITH_FAUST=ON
if [[ $(uname -m) == 'arm64' ]]; then
BUILD_WITH_FAUST=OFF
fi

cmake -G Ninja -DWITH_COVERAGE=ON \
-DWITH_PORTAUDIO=OFF \
-DWITH_DUMMY_AUDIO=ON \
Expand All @@ -11,4 +17,6 @@ cmake -G Ninja -DWITH_COVERAGE=ON \
-DWITH_EXT_LYONPOTPOURRI=OFF \
-DWITH_EXT_AUTOTUNE=OFF \
-DWITH_FFTW=OFF \
-DWITH_FAUST=${BUILD_WITH_FAUST} \
-DWITH_EXT_FLEXT=OFF \
../../../..
12 changes: 11 additions & 1 deletion build/mac/debug/cmake_single.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
#!/bin/bash

# M1 apple check (Faust not build at this moment)
BUILD_WITH_FAUST=ON
if [[ $(uname -m) == 'arm64' ]]; then
BUILD_WITH_FAUST=ON
export LLVM_DIR=/opt/local/libexec/llvm-11/lib/cmake/llvm
fi


cmake -G Ninja \
-DCMAKE_CXX_FLAGS=-ffast-math\
-DCMAKE_C_FLAGS=-ffast-math \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX=`pwd`/dist/pd_ceammc \
-DWITH_FLUIDSYNTH=ON \
-DARCH=x86_64 \
-DLEAPMOTION_ROOT=~/work/src/LeapSDK \
-DENABLE_TESTS=ON \
-DWITH_EXT_FLEXT=OFF \
-DWITH_FAUST=$BUILD_WITH_FAUST \
-DWITH_BENCHMARK=ON\
../../../..

Loading

0 comments on commit 7221b14

Please sign in to comment.