Changeset - f3b8dfcf8463
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 8 months ago 2024-05-14 21:38:49
drewp@bigasterisk.com
reorder
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
makefile
Show inline comments
 
### setup ###
 

	
 
performance_mode:
 
	for x ( /sys/devices/system/cpu/cpufreq/policy*/scaling_governor) { echo performance | sudo tee $x }
 

	
 

	
 
packages:
 
	sudo aptitude install -y \
 
		audacity \
 
		coffeescript \
 
		curl \
 
		git \
 
		libblas-dev \
 
		libcairo2-dev \
 
		libffi-dev \
 
		libjpeg8-dev \
 
		liblapack-dev \
 
		libssl-dev \
 
		libzmq3-dev \
 
		mercurial \
 
		nginx-core \
 
		nginx-full \
 
		normalize-audio \
 
		python3-cairo-dev \
 
		python3-dev \
 
		python3-opencv \
 
		python3-pygame \
 
		python3-tk \
 
		sox \
 
@@ -54,48 +51,51 @@ pdm_local_install:
 
	pip install "pdm==2.12.4"
 
	ln -s ../.local/bin/pdm ~/bin
 

	
 
js:
 
	pnpm install --reporter append-only
 

	
 
py:
 
	pdm sync
 

	
 
setup: packages gst_packages pnpm js py
 

	
 
deps: js py
 

	
 
push_github:
 
	hg bookmark -r default main && hg push git+ssh://git@github.com/drewp/light9.git
 

	
 
pull_github:
 
	hg pull git+ssh://git@github.com/drewp/light9.git
 

	
 
### show ###
 

	
 
qlc_artnet_dmx_proxy:
 
	qlcplus --open cur/qlc.qxw
 

	
 
performance_mode:
 
	for x ( /sys/devices/system/cpu/cpufreq/policy*/scaling_governor) { echo performance | sudo tee $x }
 

	
 
no_screen_blanking:
 
	xset s off
 
	xset -dpms
 

	
 
pulseaudio_loopback_device:
 
	pactl load-module module-loopback
 

	
 
show_data_checkpoint:
 
	hg add ${LIGHT9_SHOW} 
 
	hg com ${LIGHT9_SHOW} -m "checkpoint show data"
 

	
 
### pi setup ###
 

	
 
raspberry_pi_packages:
 
	sudo apt-get install python3-picamera python3-dev python3-twisted python3-virtualenv
 

	
 
raspberry_pi_virtualenv:
 
	mkdir -p env_pi
 
	virtualenv -p /usr/bin/python3 --system-site-packages env_pi
 
	env_pi/bin/pip install cyclone 'coloredlogs==6.0'
 

	
 
### arduino build ###
 

	
 
/usr/share/arduino/Arduino.mk:
0 comments (0 inline, 0 general)