Репозитории ALT
S: | 1.4.0.7-alt7 |
5.1: | 1.4.0.1-alt1.M51.1 |
4.0: | 1.4-alt0.6.M40.1 |
Группа :: Обучение
Пакет: scratch
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 001-usr-bin-scratch.patch
Скачать
Скачать
--- a/src/scratch 2010-04-23 19:45:22 +0400
+++ b/src/scratch 2010-04-23 21:32:19 +0400
@@ -1,10 +1,13 @@
#!/bin/sh
# Squeakvm wrapper to load Scratch image.
-#------------------------------------------------------------
+#-----------------------------------------------------------------
+#add "LD_PRELOAD=$( libdir)libv4l/v4l1compat.so" for webcam support
+#-----------------------------------------------------------------
-/usr/bin/scratch_squeak_vm \
--plugins /usr/lib/scratch/Plugins \
+LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so \
+/usr/bin/squeak \
+-plugins /usr/lib/squeak/current \
-vm-sound-pulse \
-/usr/lib/scratch/Scratch.image "${@}"
+/usr/share/scratch/Scratch.image "${@}"