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

Aroio ng 2020.02 #5

Open
wants to merge 25 commits into
base: aroio-ng-2020.02
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
76a2b2f
Merge pull request #2 from unicap/aroio-ng-2020.02
Melf11 Jul 23, 2020
e4c85c4
added aroio-webinterface package and removes aroio-ui package
Melf11 Jul 24, 2020
eaa8954
added gitignore
Melf11 Jul 24, 2020
4c92594
Update README.md
Melf11 Jul 24, 2020
5844820
updated gitignore
Melf11 Jul 24, 2020
56cf625
renamed package from aroio-webinterface to webinterface
Melf11 Jul 24, 2020
4a07e6d
updated httpd config
Melf11 Jul 24, 2020
128bb6b
reverted httpd.conf
Melf11 Aug 6, 2020
3155788
renamed webinterface package name in aroio_defconfig
Melf11 Aug 6, 2020
fb2cb56
updated httpd.conf to correct webinterface path
Melf11 Aug 6, 2020
d1a1f3e
fixed webinterface package
Melf11 Aug 6, 2020
549c178
remove old webinterface during webinterface integration
Melf11 Aug 7, 2020
1b98577
Update README.md
Melf11 Aug 7, 2020
f9b0afb
removed python-pyjwt from webinterface dependencies - is already incl…
Melf11 Aug 7, 2020
7ec9852
Merge branch 'aroio-ng-2020.02' of github.com:aroio/aroio-ng into aro…
Melf11 Aug 7, 2020
0ee5b50
added missing packages
Melf11 Aug 11, 2020
d29aa78
added missing packages
Melf11 Aug 11, 2020
7cf505e
added missing packages
Melf11 Aug 11, 2020
7458aca
added missing packages
Melf11 Aug 11, 2020
0d0bed9
removed hash from webintarface package
Melf11 Aug 11, 2020
7bc84c6
adde version to webinterface
Melf11 Aug 11, 2020
8d0074d
updarted webinterface version
Melf11 Aug 12, 2020
b616bf5
merged upstream
Nov 10, 2020
86bf89f
merged upstream
Nov 10, 2020
7dae743
Merge pull request #6 from unicap/aroio-ng-2020.02
Melf11 Nov 27, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
output/
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@ To initialize this buildroot:
Note: replace "/output/" with a path of your choice.

```
git clone --recurse-submodules [email protected]:unicap/aroio-ng.git
cd aroio-ng/buildroot
mkdir /output/
make BR2_EXTERNAL=../aroio O=/output/aroio aroio_defconfig
git clone --recurse-submodules [email protected]:aroio/aroio-ng.git
cd aroio-ng
mkdir output
cd buildroot
make BR2_EXTERNAL=../aroio O=../output/aroio aroio_defconfig
```

Build image:

```
cd /output/aroio
make
cd ../output/aroio
make -j // -j is to use all available cou cores
```

Save a new defconfig:

```
cd /output/aroio
cd output/aroio
make savedefconfig
```
8 changes: 7 additions & 1 deletion aroio/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,11 @@ source "$BR2_EXTERNAL_aroio_PATH/package/brutefir/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/jack-connect-persistent/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/jack_minimix/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/rtl8812au/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/aroio-ui/Config.in"

source "$BR2_EXTERNAL_aroio_PATH/package/python-dataclasses/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/python-fastapi/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/python-h11/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/python-httptools/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/python-starlette/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/python-uvicorn/Config.in"
source "$BR2_EXTERNAL_aroio_PATH/package/webinterface/Config.in"
14 changes: 14 additions & 0 deletions aroio/configs/aroio_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,17 @@ BR2_PACKAGE_ALSA_PLUGINS=y
BR2_PACKAGE_BRUTEFIR=y
BR2_PACKAGE_JACK_CONNECT_PERSISTENT=y
BR2_PACKAGE_JACK_MINIMIX=y

BR2_PACKAGE_PYTHON_CLICK=y
BR2_PACKAGE_PYTHON_DATACLASSES=y
BR2_PACKAGE_PYTHON_FASTAPI=y
BR2_PACKAGE_PYTHON_H11=y
BR2_PACKAGE_PYTHON_HTTPTOOLS=y
BR2_PACKAGE_PYTHON_PYDANTIC=y
BR2_PACKAGE_PYTHON_STARLETTE=y
BR2_PACKAGE_PYTHON_UVICORN=y
BR2_PACKAGE_PYTHON_UVLOOP=y
BR2_PACKAGE_PYTHON_WEBSOCKETS=y
BR2_PACKAGE_PYTHON_SETUPTOOLS=y
BR2_PACKAGE_PYTHON_PYJWT=y
BR2_PACKAGE_WEBINTERFACE=y
3 changes: 1 addition & 2 deletions aroio/overlay/etc/httpd.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
I:index.html
I:/opt/webinterface/frontend/index.html
*.php:/usr/bin/php-cgi
/:aroio:abacus
6 changes: 6 additions & 0 deletions aroio/package/python-dataclasses/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_DATACLASSES
bool "python-dataclasses"
help
A backport of the dataclasses module for Python 3.6.

https://github.com/ericvsmith/dataclasses
5 changes: 5 additions & 0 deletions aroio/package/python-dataclasses/python-dataclasses.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/dataclasses/json
md5 969e12cac2b69ddc280758f76b481372 dataclasses-0.7.tar.gz
sha256 494a6dcae3b8bcf80848eea2ef64c0cc5cd307ffc263e17cdf42f3e5420808e6 dataclasses-0.7.tar.gz
# Locally computed sha256 checksums
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt
14 changes: 14 additions & 0 deletions aroio/package/python-dataclasses/python-dataclasses.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
################################################################################
#
# python-dataclasses
#
################################################################################

PYTHON_DATACLASSES_VERSION = 0.7
PYTHON_DATACLASSES_SOURCE = dataclasses-$(PYTHON_DATACLASSES_VERSION).tar.gz
PYTHON_DATACLASSES_SITE = https://files.pythonhosted.org/packages/7a/71/fdbab71f1f714e03ead2d264bf444f88379bc09b2937d54ec83894057f80
PYTHON_DATACLASSES_SETUP_TYPE = setuptools
PYTHON_DATACLASSES_LICENSE = Apache-2.0
PYTHON_DATACLASSES_LICENSE_FILES = LICENSE.txt

$(eval $(python-package))
9 changes: 9 additions & 0 deletions aroio/package/python-fastapi/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_FASTAPI
bool "python-fastapi"
select BR2_PACKAGE_PYTHON_PYDANTIC # runtime
select BR2_PACKAGE_PYTHON_STARLETTE # runtime
help
FastAPI framework, high performance, easy to learn, fast to
code, ready for production.

https://github.com/tiangolo/fastapi
5 changes: 5 additions & 0 deletions aroio/package/python-fastapi/python-fastapi.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/fastapi/json
md5 2aadc93da3f177388b17a541cafb748a fastapi-0.55.1.tar.gz
sha256 912bc1a1b187146fd74dd45e17ea10aede3d962c921142c412458e911c50dc4c fastapi-0.55.1.tar.gz
# Locally computed sha256 checksums
sha256 4ec89ffc81485b97fec584b2d4a961032eeffe834453894fd9c1274906cc744e LICENSE
14 changes: 14 additions & 0 deletions aroio/package/python-fastapi/python-fastapi.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
################################################################################
#
# python-fastapi
#
################################################################################

PYTHON_FASTAPI_VERSION = 0.55.1
PYTHON_FASTAPI_SOURCE = fastapi-$(PYTHON_FASTAPI_VERSION).tar.gz
PYTHON_FASTAPI_SITE = https://files.pythonhosted.org/packages/0a/13/785d0e5967128628f1d6c05ba16d4c9bf9506d7fd35bbe5b2e269d2804ab
PYTHON_FASTAPI_SETUP_TYPE = distutils
PYTHON_FASTAPI_LICENSE = MIT
PYTHON_FASTAPI_LICENSE_FILES = LICENSE

$(eval $(python-package))
7 changes: 7 additions & 0 deletions aroio/package/python-h11/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_H11
bool "python-h11"
help
A pure-Python, bring-your-own-I/O implementation of
HTTP/1.1.

https://github.com/python-hyper/h11
5 changes: 5 additions & 0 deletions aroio/package/python-h11/python-h11.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/h11/json
md5 53affae306153388512040e038519fa3 h11-0.9.0.tar.gz
sha256 33d4bca7be0fa039f4e84d50ab00531047e53d6ee8ffbc83501ea602c169cae1 h11-0.9.0.tar.gz
# Locally computed sha256 checksums
sha256 37db5bb85926db28a427a25867f10b1232003aea1be69ccb851138adb8e6f361 LICENSE.txt
14 changes: 14 additions & 0 deletions aroio/package/python-h11/python-h11.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
################################################################################
#
# python-h11
#
################################################################################

PYTHON_H11_VERSION = 0.9.0
PYTHON_H11_SOURCE = h11-$(PYTHON_H11_VERSION).tar.gz
PYTHON_H11_SITE = https://files.pythonhosted.org/packages/34/5a/abaa557d20b210117d8c3e6b0b817ce9b329b2e81f87612e60102a924323
PYTHON_H11_SETUP_TYPE = setuptools
PYTHON_H11_LICENSE = MIT
PYTHON_H11_LICENSE_FILES = LICENSE.txt

$(eval $(python-package))
6 changes: 6 additions & 0 deletions aroio/package/python-httptools/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_HTTPTOOLS
bool "python-httptools"
help
A collection of framework independent HTTP protocol utils.

https://github.com/MagicStack/httptools
5 changes: 5 additions & 0 deletions aroio/package/python-httptools/python-httptools.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/httptools/json
md5 063a9b6f8c79cf5f11592e7a49715275 httptools-0.1.1.tar.gz
sha256 41b573cf33f64a8f8f3400d0a7faf48e1888582b6f6e02b82b9bd4f0bf7497ce httptools-0.1.1.tar.gz
# Locally computed sha256 checksums
sha256 f4573e7cb7676745fb5b8d36fa548aa93e391cfb6872ddacd65130c45ea6a92d LICENSE
14 changes: 14 additions & 0 deletions aroio/package/python-httptools/python-httptools.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
################################################################################
#
# python-httptools
#
################################################################################

PYTHON_HTTPTOOLS_VERSION = 0.1.1
PYTHON_HTTPTOOLS_SOURCE = httptools-$(PYTHON_HTTPTOOLS_VERSION).tar.gz
PYTHON_HTTPTOOLS_SITE = https://files.pythonhosted.org/packages/d9/6f/aad92c3f090e2f74dd728d58d3bba4c832d35199814af99673ee7300b582
PYTHON_HTTPTOOLS_SETUP_TYPE = setuptools
PYTHON_HTTPTOOLS_LICENSE = MIT
PYTHON_HTTPTOOLS_LICENSE_FILES = LICENSE

$(eval $(python-package))
6 changes: 6 additions & 0 deletions aroio/package/python-starlette/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_STARLETTE
bool "python-starlette"
help
The little ASGI library that shines.

https://github.com/encode/starlette
3 changes: 3 additions & 0 deletions aroio/package/python-starlette/python-starlette.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/starlette/json
md5 888aa6af0a42e5d1f2aeea4941e8102d starlette-0.13.4.tar.gz
sha256 04fe51d86fd9a594d9b71356ed322ccde5c9b448fc716ac74155e5821a922f8d starlette-0.13.4.tar.gz
12 changes: 12 additions & 0 deletions aroio/package/python-starlette/python-starlette.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
################################################################################
#
# python-starlette
#
################################################################################

PYTHON_STARLETTE_VERSION = 0.13.4
PYTHON_STARLETTE_SOURCE = starlette-$(PYTHON_STARLETTE_VERSION).tar.gz
PYTHON_STARLETTE_SITE = https://files.pythonhosted.org/packages/a1/4f/1f9a90f596c4cdfaa7a9ea68dc3e68bc86073f9581acda507a24617780d0
PYTHON_STARLETTE_SETUP_TYPE = setuptools

$(eval $(python-package))
11 changes: 11 additions & 0 deletions aroio/package/python-uvicorn/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
config BR2_PACKAGE_PYTHON_UVICORN
bool "python-uvicorn"
select BR2_PACKAGE_PYTHON_CLICK # runtime
select BR2_PACKAGE_PYTHON_H11 # runtime
select BR2_PACKAGE_PYTHON_HTTPTOOLS # runtime
select BR2_PACKAGE_PYTHON_UVLOOP # runtime
select BR2_PACKAGE_PYTHON_WEBSOCKETS # runtime
help
The lightning-fast ASGI server.

https://github.com/encode/uvicorn
3 changes: 3 additions & 0 deletions aroio/package/python-uvicorn/python-uvicorn.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/uvicorn/json
md5 9f82b3674ced119596afe3b7b977f82c uvicorn-0.11.5.tar.gz
sha256 596eaa8645b6dbc24d6610e335f8ddf5f925b4c4b86fdc7146abb0bf0da65d17 uvicorn-0.11.5.tar.gz
12 changes: 12 additions & 0 deletions aroio/package/python-uvicorn/python-uvicorn.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
################################################################################
#
# python-uvicorn
#
################################################################################

PYTHON_UVICORN_VERSION = 0.11.5
PYTHON_UVICORN_SOURCE = uvicorn-$(PYTHON_UVICORN_VERSION).tar.gz
PYTHON_UVICORN_SITE = https://files.pythonhosted.org/packages/9a/dd/8be4cdd599dafb69c1a2a2427eec14b218d9fc047cb0fd41060afc2852a8
PYTHON_UVICORN_SETUP_TYPE = setuptools

$(eval $(python-package))
10 changes: 5 additions & 5 deletions aroio/package/webinterface/webinterface.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
#
################################################################################

WEBINTERFACE_VERSION = b62ae0d5439e8dd72bffe34817cab298c1e8bcb4
WEBINTERFACE_VERSION = 2.0.7
WEBINTERFACE_GIT_SUBMODULES = YES
WEBINTERFACE_SITE_METHOD = git
WEBINTERFACE_SITE = git://github.com/aroio/webinterface
WEBINTERFACE_LICENSE = MIT
WEBINTERFACE_DEPENDENCIES = python3 python-uvicorn python-fastapi

define WEBINTERFACE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
-C $(@D) all
endef
#define WEBINTERFACE_BUILD_CMDS
# $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
# -C $(@D) all
#endef

define WEBINTERFACE_INSTALL_TARGET_CMDS
rm -rf $(TARGET_DIR)/opt/www
Expand Down