Commit ca7f587d authored by Daniel Bissani Furlin's avatar Daniel Bissani Furlin
Browse files

SCRUM#395: Add dependencies

parent ba14495d
Pipeline #14398 failed with stages
in 47 seconds
package/debian/le-conf
package/debian/le-conf.debhelper.log
package/debian/le-conf.substvars
package/debian/le-conf.*.debhelper
package/debian/le-multiterminal
package/debian/le-multiterminal.debhelper.log
package/debian/le-multiterminal.substvars
package/debian/files
package/debian/debhelper-build-stamp
le-conf_*.tar.xz
le-conf_*.build
le-conf_*.dsc
le-conf_*.changes
le-conf_*.deb
build.sh
build
......@@ -6,9 +6,8 @@ Uploaders: Stephanie Briere Americo <sba16@c3sl.ufpr.br>
Build-Depends: debhelper (>=9)
Standards-Version: 3.9.6
Vcs-Git: https://gitlab.c3sl.ufpr.br/le6/le-multiterminal.git
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/le-multiterminal.git
Package: le-multiterminal
Architecture: all
Depends: ${misc:Depends}, curl, xserver-xorg-video-siliconmotion-hwe-16.04, compton, numlockx, xserver-xephyr-hwe-16.04, libc-bin
Architecture: amd64
Depends: ${misc:Depends}, curl, xserver-xorg-video-siliconmotion-hwe-16.04, compton, numlockx, xserver-xephyr-hwe-16.04, libc-bin, lightdm, xorg, udev, systemd, policykit-1-gnome, libcairo2
Description: Configura multiterminal para funcionar com o LE
......@@ -22,4 +22,3 @@ License: GPL-3.0+
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
etc /
usr /
opt /
etc/X11/xorg.conf.d/97-proinfo-monitores.conf etc/X11/xorg.conf.d/
etc/X11/xorg.conf.d/98-proinfo-urbano.conf etc/X11/xorg.conf.d/
etc/le-multiterminal/readme etc/le-multiterminal/
etc/polkit-1/localauthority/50-local.d/90-restrict-guest-permissions.pkla etc/polkit-1/localauthority/50-local.d/
etc/systemd/system/le-multiterminal.service etc/systemd/system/
etc/systemd/system/xorg-daemon.service etc/systemd/system/
etc/systemd/system/xorg-daemon.socket etc/systemd/system/
etc/udev/rules.d/71-seat-usb.rules etc/udev/rules.d/
etc/udev/rules.d/73-seat-attach-assistant.rules etc/udev/rules.d/
etc/xdg/lightdm/lightdm.conf.d/97-no-screen-blanking.conf etc/xdg/lightdm/lightdm.conf.d/
opt/le-multiterminal/configurar-multiterminal.sh opt/le-multiterminal/
opt/le-multiterminal/detect-keyboard.sh opt/le-multiterminal/
opt/le-multiterminal/find-devices.sh opt/le-multiterminal/
opt/le-multiterminal/multiseat-controller.sh opt/le-multiterminal/
opt/le-multiterminal/multiterminal.sh opt/le-multiterminal/
opt/le-multiterminal/read-devices opt/le-multiterminal/
opt/le-multiterminal/seat-parent-window opt/le-multiterminal/
opt/le-multiterminal/window-acess.sh opt/le-multiterminal/
opt/le-multiterminal/write-message opt/le-multiterminal/
usr/local/bin/seat-attach-assistant usr/local/bin
usr/local/bin/update-xorg-conf usr/local/bin
usr/local/bin/xephyr-wrapper usr/local/bin
usr/local/bin/xorg-daemon usr/local/bin
......@@ -13,5 +13,4 @@ systemctl start xorg-daemon.socket
udevadm trigger
echo "Por favor reinicie o sistema para o multiterminal ser reconfigurado!"
exit 0
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
override_dh_usrlocal:
......@@ -2,51 +2,11 @@
# Script adapted from Laércio de Sousa <laerciosousa@sme-mogidascruzes.sp.gov.br>
cd ../../
# Copia arquivo que altera permissões dos usuários
install -m 644 etc/polkit-1/localauthority/50-local.d/* /etc/polkit-1/localauthority/50-local.d
# Copia arquivos do X para systemd
install -m 644 etc/systemd/system/* /etc/systemd/system
# Copia configs de usb para o udev
install -m 644 etc/udev/rules.d/* /etc/udev/rules.d
# Cria diretorio
install -d /etc/X11/xorg.conf.d
# Copia configurações de monitores para xorg
install -m 644 etc/X11/xorg.conf.d/9[78]*.conf /etc/X11/xorg.conf.d
# Copia scripts para bin
# mapeia as portas usb para monitores
install -m 755 usr/local/bin/seat-attach-assistant /usr/local/bin
# Copia script que atualiza entradas no xorg para bin (explicado no arquivo)
install -m 755 usr/local/bin/update-xorg-conf /usr/local/bin
# Copia script para executar o X para bin
install -m 755 usr/local/bin/xorg-daemon /usr/local/bin
# Copia script do Xephyr para bin
install -m 755 usr/local/bin/xephyr-wrapper /usr/local/bin
# Cria diretorio e copia configs do lightdm
install -d /etc/xdg/lightdm/lightdm.conf.d
install -m 644 etc/xdg/lightdm/lightdm.conf.d/*.conf /etc/xdg/lightdm/lightdm.conf.d
install -d /etc/le-multiterminal
install -d /opt/le-multiterminal
install -m 755 opt/le-multiterminal/* /opt/le-multiterminal
#cd ../../
# roda o script que atualiza as configs do xorg
update-xorg-conf "Silicon.Motion" /etc/X11/xorg.conf.d/98-proinfo-*.conf
systemctl daemon-reload
systemctl enable le-multiterminal
# habilita e roda o xorg-daemon
systemctl enable xorg-daemon.socket
systemctl start xorg-daemon.socket
apt update
apt -y upgrade
apt -y install curl xserver-xorg-video-siliconmotion-hwe-16.04 compton numlockx xserver-xephyr-hwe-16.04
# Pede eventos ao kernel: "força" a identificação dos dispositivos na maquina
udevadm trigger
#POSTINST
#update-xorg-conf "Silicon.Motion" /etc/X11/xorg.conf.d/98-proinfo-*.conf
#systemctl enable le-multiterminal
#systemctl enable xorg-daemon.socket
#systemctl daemon-reload
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment