Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión ddab0b89

Añadido por Rafael J. García Perdigón hace más de 8 años

Añadidos varios paquetes

Ver diferencias:

ubuntu/trusty/all/linex-accel-rotate/debian/compat
8
ubuntu/trusty/all/linex-accel-rotate/debian/control
Package: accel-rotate
Version: 0.2
Architecture: all
Maintainer: SSID <administracionsi@edu.gobex.es>, Pilolli Pietro <alpha@paranoici.org>
Depends: python, x11-xserver-utils, xinput
Conflicts: accel-rotate
Replaces: accel-rotate
Priority: optional
Homepage: https://code.google.com/p/classmate-pc-drivers/
Description: python script to support autorotation for classmate pcs running linux.
ubuntu/trusty/all/linex-accel-rotate/debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: linex-accel-rotate
Files: *
Copyright: 2016 Gobierno de Extremadura
License: GPL-3.0+
Files: debian/*
Copyright: 2016 Gobierno de Extremadura
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
ubuntu/trusty/all/linex-accel-rotate/debian/install
usr
ubuntu/trusty/all/linex-accel-rotate/debian/postinst
#!/bin/sh
set -e
sed 's/exit 0/\/usr\/bin\/accel-rotate.py \& \n\n&/g' -i /etc/gdm3/Init/Default
sed 's/exit 0/display-setup-script=/usr/bin/accel-rotate.py/g' -i /etc/lightdm/lightdm.conf
ubuntu/trusty/all/linex-accel-rotate/debian/postrm
#!/bin/sh
set -e
sed 's/\/usr\/bin\/accel-rotate.py \&//g' -i /etc/gdm3/Init/Default
sed '/./,/^$/!d' -i /etc/gdm3/Init/Default
ubuntu/trusty/all/linex-accel-rotate/debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
ubuntu/trusty/all/linex-accel-rotate/debian/source/format
3.0 (native)
ubuntu/trusty/all/linex-accel-rotate/usr/bin/accel-rotate.py
#!/usr/bin/python
##########################################################################
#
# accel.py - Handling accelerometer events of an Intel Classmate Netbook
# The script is inspired on Kay Hannay <klinux@hannay.de> work
#
# Copyright (C) 2012 Pilolli Pietro <alpha@paranoici.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Modified by SSID - April 2014
#
# Added a check at the beginning of the execution, to KILL other processes HAW HAW HAW
#
##########################################################################
import sys
import os
import signal
import math
import time
import ctypes
import struct
import fcntl
import subprocess
# Extracted from <asm-generic/ioctl.h>.
# The following is for compatibility across the various Linux
# platforms. The generic ioctl numbering scheme doesn't really enforce
# a type field. De facto, however, the top 8 bits of the lower 16
# bits are indeed used as a type field, so we might just as well make
# this explicit here. Please be sure to use the decoding macros
# below from now on.
_IOC_NRBITS = 8
_IOC_TYPEBITS = 8
# Let any architecture override either of the following before
# including this file.
_IOC_SIZEBITS = 14
_IOC_NRSHIFT = 0
_IOC_TYPESHIFT =(_IOC_NRSHIFT+_IOC_NRBITS)
_IOC_SIZESHIFT =(_IOC_TYPESHIFT+_IOC_TYPEBITS)
_IOC_DIRSHIFT =(_IOC_SIZESHIFT+_IOC_SIZEBITS)
# Direction bits, which any architecture can choose to override
# before including this file.
_IOC_WRITE = 1
_IOC_READ = 2
# Extracted from <include/linux/input.h>.
# Software event type.
EV_SW = 5
# Tablet mode.
SW_TABLET_MODE = 1
# Absolute accelerometer axis constants.
ABS_X = 0
ABS_Y = 1
ABS_Z = 2
# Local def.
INT6='iiiiii'
def _IOC(direction,type,nr,size):
return (((direction) << _IOC_DIRSHIFT) |
((type) << _IOC_TYPESHIFT) |
((nr) << _IOC_NRSHIFT) |
((size) << _IOC_SIZESHIFT))
# Used to create numbers.
def _IOR(type_, nr, size):
return _IOC(_IOC_READ, type_, nr, size)
# Get all software switch states.
def EVIOCGSW(len):
return _IOC(_IOC_READ, 69, 0x1b, len)
# Get the device name.
def EVIOCGNAME(length):
return (_IOC_READ<<_IOC_DIRSHIFT)|(length<<_IOC_SIZESHIFT)|(0x45<<_IOC_TYPESHIFT)|(0x06<<_IOC_NRSHIFT)
# Get absolute value/limits.
def EVIOCGABS(abs):
return _IOR(69, 0x40 + abs, 40)
# Unblank the screen.
def unblank_screen():
xset_command = 'xset dpms force on'
os.system(xset_command)
# Rectify the touchscreen axis matrix.
def rectify_touchscreen(orientation):
property='\'Coordinate Transformation Matrix\''
head = 'xinput set-prop \'' + touchscreen_device + '\' ' + property
if orientation == "inverted":
matrix='-1 0 1 0 -1 1 0 0 1'
elif orientation == "normal":
matrix = '1 0 0 0 1 0 0 0 1'
elif orientation == "left":
matrix = '0 -1 1 1 0 0 0 0 1'
elif orientation == "right":
matrix = '0 1 0 -1 0 1 0 0 1'
xinput_command = head + ' ' + matrix
print xinput_command
os.system(xinput_command)
# Set screen orientation.
def set_orientation(orientation):
# Rotate the screen.scree
print "Rotating "+orientation
xrandr_command = 'xrandr -o' + orientation
os.system('xrandr -o ' + orientation)
# Rotate the screen respecting its orientation.
def rotate_screen(orientation):
print "Rotate " + orientation
unblank_screen()
rectify_touchscreen(orientation)
set_orientation(orientation)
return orientation
# Get abs value.
def get_abs(fdacc, code):
buf = struct.pack(INT6, 0, 0, 0, 0, 0, 0)
abs = fcntl.ioctl(fdacc, EVIOCGABS(code), buf)
(val,min,max,fuzz,flat,resolution) = struct.unpack(INT6, abs)
return val
# Autorotate the screen when the pc is in tablet mode
# in the right position depending on accel data.
def autorotate_tablet(fdacc, orientation):
axis_x = get_abs(fdacc, ABS_X)
axis_y = get_abs(fdacc, ABS_Y)
axis_z = get_abs(fdacc, ABS_Z)
print str(axis_x) + " " + str(axis_y) + " " + str(axis_z)
threshold = 180
if(axis_x < (-1*threshold)):
if (orientation != "right"):
orientation = rotate_screen("right")
elif(axis_x > threshold):
if (orientation != "left"):
orientation = rotate_screen("left")
elif(axis_y > -60):
if (orientation != "inverted"):
orientation = rotate_screen("inverted")
elif(axis_x < (threshold/3) ) and (axis_x > (-1*threshold/3)):
if (orientation != "normal"):
orientation = rotate_screen("normal")
return orientation
# Handle the cmpc_tablet event and discriminate
# if the pc is in tablet mode (tablet_mode=True)
# or in laptop mode (tablet_mode=False).
def handle_tablet_mode_event(fdtab, tablet_mode):
# Read first byte from evdev.
input = fdtab.read(8)
ev_type = struct.unpack("H", input[0:2])[0]
ev_code = struct.unpack("H", input[2:4])[0]
ev_val = struct.unpack("H", input[4:6])[0]
print "type "+str(ev_type)+", code "+str(ev_code)+", val "+str(ev_val)
if ev_type == EV_SW:
if ev_code == SW_TABLET_MODE:
if ev_val:
print "TABLET MODE"
orientation = rotate_screen("inverted")
tablet_mode = True
else:
print "LAPTOP MODE"
orientation = rotate_screen("normal")
tablet_mode = False
return tablet_mode
# Setup the file descriptor in order to enable non blocking read.
def setnonblock(fd):
fl = fcntl.fcntl(fd, fcntl.F_GETFL)
fcntl.fcntl(fd, fcntl.F_SETFL, fl | os.O_NONBLOCK)
# Get the tablet mode;
# It returns True if the computer is in tablet mode,
# it returns False otherwise.
def get_tablet_mode():
tablet_mode = False
size = struct.calcsize('i')
buf = size*'\x00'
test = fcntl.ioctl(fdtab, EVIOCGSW(size), buf)
values = struct.unpack("i", test)
bit = values[0]
if bit != 0:
tablet_mode = True
return tablet_mode
# Open the input event device called by name;
# it returns the file descriptor opened in nonblocking mode.
def open_input_device(device_name):
devices = os.listdir("/dev/input/")
for evdev in devices:
try:
buffer = "\0"*512
file_name = "/dev/input/" + evdev
fd = open(file_name, "r")
setnonblock(fd)
name = fcntl.ioctl(fd, EVIOCGNAME(256), buffer)
name = name[:name.find("\0")]
# Return the file descriptor if tablet is found.
if(name == device_name):
return fd
else:
fd.close()
except (IOError, OSError), err:
continue
return None
# Open tablet device.
def open_tablet_device():
# Device name for classmate tablet mode.
tablet="cmpc_tablet"
fdtab = open_input_device(tablet)
if (fdtab == None):
print "No tablet device found. Exiting..."
sys.exit(1)
return fdtab
# Found accelerometer device name.
def found_accelerometer_device_name():
# Accelerometer device list containing names of supported accelerometer devices.
accelerometer_list= list()
# Device name for old classmate accelerometer.
cmpc_acc="cmpc_accel"
accelerometer_list.append(cmpc_acc)
# Device name for new classmate accelerometer.
cmpc_acc4="cmpc_accel_v4"
accelerometer_list.append(cmpc_acc4)
fdaccelerometer = None
for accelerometer in accelerometer_list:
fdaccelerometer = open_input_device(accelerometer)
if (fdaccelerometer != None):
print "Found accelerometer \'" + accelerometer + "\'"
fdaccelerometer.close()
return accelerometer
print "No accelerometer device " + accelerometer + "found. Exiting..."
sys.exit(1)
return None
# Open accelerometer device.
def open_accelerometer_device(acc_devname):
if (acc_devname != None):
fdaccelerometer = open_input_device(acc_devname)
return fdaccelerometer
return None
def found_touchscreen_device():
# Touchscreen device list containing names of supported touchscreen devices.
touchscreen_list = list()
# For taiwaneese classmate.
ntrig='N-Trig MultiTouch'
touchscreen_list.append(ntrig)
# For portuguese version.
touchhid='HID TOUCH HID Touch Panel'
touchscreen_list.append(touchhid)
eturbotouch='eTurboTouch eTurboTouch'
touchscreen_list.append(eturbotouch)
# For spanish version
ilitek="ILITEK ILITEK Multi-Touch"
touchscreen_list.append(ilitek)
fdtouchscreen = None
for touchscreen in touchscreen_list:
fdtouchscreen = open_input_device(touchscreen)
if (fdtouchscreen != None):
print "Found touchscreen \'" + touchscreen + "\'"
fdtouchscreen.close()
return touchscreen
print "No touchscreen found"
return None
# Main.
# Check for pids of running accel-rotate.py processes, then KILL THEM ALL!
# All but this one, you know. We are not THAT retarded. Yet.
pid_actual = os.getpid()
die_wish_pids_list = subprocess.check_output("ps --no-headers -o pid -C accel-rotate.py", shell = True)
for dying_pid in die_wish_pids_list.split():
if (dying_pid != str(pid_actual)):
os.kill(int(dying_pid), signal.SIGKILL)
orientation = "normal"
touchscreen_device = found_touchscreen_device()
# The file descriptor for the tablet device.
fdtab = open_tablet_device()
# Get the initial tablet mode state.
tablet_mode = get_tablet_mode()
accelerometer_device_name = found_accelerometer_device_name()
if tablet_mode:
fdacc = open_accelerometer_device(accelerometer_device_name)
else:
fdacc = None
orientation = "inverted"
while True:
time.sleep(1)
# The main loop.
# If tablet mode autorotate the screen in the right position respecting the accel data.
#print "Tablet mode "+str(tablet_mode)
#print "Fdacc "+str(fdacc)
if tablet_mode:
orientation = autorotate_tablet(fdacc, orientation)
try:
#print "Intentando giro a "+orientation
# If a tablet mode event has been found then update the tablet mode status.
tablet_mode = handle_tablet_mode_event(fdtab, tablet_mode)
if tablet_mode:
fdacc = open_accelerometer_device(accelerometer_device_name)
else:
if (fdacc!=None):
fdacc.close()
fdacc=None
except IOError:
continue
ubuntu/trusty/all/linex-archive-keyring/archive.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.11 (GNU/Linux)
mQENBFA3OGgBCADnrlFt1qIIqhL5/iyUbGDjp9UgRXs4ATppGQLg5rvUGizqTkQb
/OeEDFLOxif69UbQ/KfGa8Or7pIA4SWZ9oXKEtwYqY1bkYPpgieYfg21AO9U6uFv
J63Di1o2YHt0O0aI0ByUxg2kJ1SoLoWMhAZ0ASGuDOIao+XyTCgWu74yTzon6rCc
8XxDq9kUQoBh7vREdAlerLIrPHCB6o1+/TpuWWavVohwY9THnIbvBp7C0lcF393m
PmVrcyYamg5CHo66S94QSnW2Avy9vQA8WZAh+8nncRnlzXpbWE02XAn/gmvgn+Kr
XVc2xhUJR7KANnP3CNPkiysij4rjAVCfV75JABEBAAG0lVNlY2Npb24gQWRtaW5p
c3RyYWNpb24gZGUgU2lzdGVtYXMgSW5mb21hdGljb3MgKENsYXZlIGRlIFNlY2Np
b24gQWRtaW5pc3RyYWNpb24gZGUgU2lzdGVtYXMgSW5mb3JtYXRpY29zKSA8YWRt
aW5pc3RyYWNpb25zaUBlZHUuanVudGFleHRyZW1hZHVyYS5uZXQ+iQE4BBMBAgAi
BQJQNzhoAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRBNEWF4miyNbrMZ
B/46mVdQCc3Qe2bCOEDCGl1F+n7fsE5ehZ4KeueKBQFWAp/zEVWLe1vm9gocroCY
oEf9kJE3bWm2MQ3KloQwhbHsUmUsXBu6F+ZYl6Dz8a2Z5qKTz07N6Fmew2Ym5Cas
uRGMHxTHgPiiyl8gOnB6z2bCni4RM/ab9qNDaO7UneuAmsO7nVYO3h0UQ96VsoKE
5vNgO3+bkKojWWr1tAsl3N8oBej+9XcRD5DAFzDi09xtfxHlfF7YF/TmUSBOaDk3
6t5PJn1qQXCS3wfqIiTy9bUUI96KFy5EHBo/A25ZqbWnnvGkMZNPW/4uFpZomX7m
Vupz4cT3zTXBopKVJhJWe1BbuQENBFA3OGgBCACvYUN2T5z8iHtiQpriVfmM5Yzw
0CWFRl2RJSXZvSUM+/HlxBlYausO2thl0luvhnudFNGm1zRyFtfzOA4LvEh4cYCs
JhTWuW+NUMqAgXJCaRSggGFZvG7W/Zf+70oou7J9JW/9vHTvnWxJkJX9hsal4sN3
/Kt75E/AFjrlvhRC608dESUJ/vQTCOJn2mYWggiuOLg7nTacDMJH50U2qF7cOftY
Y9QKVoBCm0tSNtKw+y6iUAvlUIAb65qsMEnxHQvNaK4O7rtYjGx+60yr1LBnWgoq
BMpkwDoM7rpwXwGAXvj0+PDCMmaKFTbdoSiQer2gs/YFknzSJBg7i/5nYkbHABEB
AAGJAR8EGAECAAkFAlA3OGgCGwwACgkQTRFheJosjW6RNgf8D7cjACYQTJMWEou+
dNNWRr/rUkMs//XXH5Q6hwwAYJni0oycUrIc4ty0uCqbj2yXEcuT8kuX79OCgCFS
MkyzWs4uQFHf3ZnPwZrHYdOsvt+DXQea77tTf/XTj+7DoLHxLwoN2MLTG1K4WURR
DVCsdSpg2IngZQUC1tllNDoA9ypdD0hOkfXCx5wXpEeYm+vms+WiAXDGPqWGeWWL
jZ7ywd8yfLNANBURHWfN6iUjRMxzQOLlGfbb6dgapfheZHIhPezQxjAy8AUVRNJy
+Rk6l2Zb+vLuw90W8xMJmbJHZDRBCNDWmq4bPDS0vAu3T6MfKDXKahjHfEnLdI/N
1+3lPQ==
=pXPP
-----END PGP PUBLIC KEY BLOCK-----
ubuntu/trusty/all/linex-archive-keyring/debian/changelog
linex-archive-keyring (1.0) linex; urgency=low
* Initial release.
-- Rafael J. García Perdigón <rafael.garciap@gobex.es> Thu, 15 Oct 2015 11:53:10 +0200
ubuntu/trusty/all/linex-archive-keyring/debian/compat
7
ubuntu/trusty/all/linex-archive-keyring/debian/control
Source: linex-archive-keyring
Priority: extra
Section: utils
Maintainer: Rafael J. García Perdigón <rafael.garciap@gobex.es>
Uploaders: Rafael J. García Perdigón <rafael.garciap@gobex.es>
Build-Depends: debhelper (>> 7.0.50~), gnupg
Standards-Version: 3.9.2.0
Package: linex-archive-keyring
Architecture: all
Depends: ${misc:Depends}
Description: GnuPG archive keys for the AdministracionSI repository
GnuPG archive keys for the AdministracionSI repository
ubuntu/trusty/all/linex-archive-keyring/debian/copyright
Format: http://dep.debian.net/deps/dep5/
Upstream-Name: pkg-mozilla-archive-keyring
Upstream-Contact: Maintainers of Mozilla-related packages <pkg-mozilla-maintainers@lists.alioth.debian.org>
Source: http://mozilla.debian.net/archive.asc
Files: *
Copyright: 2011, Mike Hommey <glandium@debian.org>
License: GPL-2+
On Debian systems the full text of the GNU General Public
License can be found in the `/usr/share/common-licenses/GPL-2'
file.
ubuntu/trusty/all/linex-archive-keyring/debian/linex-archive-keyring.install
linex-archive-keyring.gpg etc/apt/trusted.gpg.d
ubuntu/trusty/all/linex-archive-keyring/debian/rules
#!/usr/bin/make -f
KEYRING=linex-archive-keyring.gpg
%:
dh $@
$(KEYRING): archive.asc
gpg --homedir $(CURDIR) --no-default-keyring --keyring $(CURDIR)/$@ --import $<
override_dh_auto_build: $(KEYRING)
override_dh_auto_clean:
rm -f *.gpg *.gpg~
ubuntu/trusty/all/linex-archive-keyring/debian/source/format
3.0 (native)
ubuntu/trusty/all/linex-backgrounds/debian/changelog
linex-backgrounds (1.0) linex; urgency=low
* Initial release.
-- Rafael J. García Perdigón <rafael.garciap@gobex.es> Wed, 29 Oct 2015 10:44:27 +0100
ubuntu/trusty/all/linex-backgrounds/debian/compat
8
ubuntu/trusty/all/linex-backgrounds/debian/control
Source: linex-backgrounds
Section: admin
Priority: extra
Maintainer: Rafael Jesús García Perdigón<rafael.garciap@gobex.es>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.4
Package: linex-backgrounds
Architecture: all
Depends: lightdm
Description: linex backgrounds config
Adds linex backgrounds.
ubuntu/trusty/all/linex-backgrounds/debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lingobex-desktop-theme
Files: *
Copyright: 2014 Gobierno de Extremadura
License: GPL-3.0+
Files: debian/*
Copyright: 2014 Gobierno de Extremadura
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
ubuntu/trusty/all/linex-backgrounds/debian/install
usr
ubuntu/trusty/all/linex-backgrounds/debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
ubuntu/trusty/all/linex-backgrounds/debian/source/format
3.0 (native)
ubuntu/trusty/all/linex-desktop-config/debian/changelog
linex-desktop-config (1.0) linex; urgency=low
* Initial Release. Configure linex desktop for xubuntu.
-- Rafael J. García Perdigón <rafael.garciap@gobex.es> Fri, 19 Sep 2014 10:10:03 +0200
ubuntu/trusty/all/linex-desktop-config/debian/compat
8
ubuntu/trusty/all/linex-desktop-config/debian/control
Source: linex-desktop-config
Section: x11
Priority: optional
Maintainer: Rafael Jesús García Perdigón <rafael.garciap@gobex.es>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.4
Package: linex-desktop-config
Architecture: all
Depends: ${misc:Depends}, linex-taskbar-config, linex-backgrounds
Description: Configuración del Escritorio de Linex
Configuración, applets y apariciencia
en el escritorio de linex.
ubuntu/trusty/all/linex-desktop-config/debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lingobex-desktop-theme
Files: *
Copyright: 2014 Gobierno de Extremadura
License: GPL-3.0+
Files: debian/*
Copyright: 2014 Gobierno de Extremadura
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
ubuntu/trusty/all/linex-desktop-config/debian/install
usr
ubuntu/trusty/all/linex-desktop-config/debian/linex-desktop-config.links
/usr/share/linex-desktop-config/xfce4-desktop.xml /etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
ubuntu/trusty/all/linex-desktop-config/debian/postrm
#!/bin/bash
set -e
PKG="linex-desktop-config"
SHAREDIR="/usr/share/linex-desktop-config"
remove_divert() {
diverter=$(dpkg-divert --listpackage $1)
if [ "$diverter" = "$PKG" ]; then
dpkg-divert --package $PKG --rename --remove $1
fi
}
if [ "$1" = remove ]; then
remove_divert /etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
fi
exit 0
ubuntu/trusty/all/linex-desktop-config/debian/preinst
#!/bin/bash
set -e
PKG="linex-desktop-config"
SHAREDIR="/usr/share/linex-desktop-config"
divert() {
diverted_file=$1
dpkg-divert --package "$PKG" --add --rename \
--divert "${diverted_file}-pre-$PKG" $diverted_file
}
divert /etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
exit 0
ubuntu/trusty/all/linex-desktop-config/debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
ubuntu/trusty/all/linex-desktop-config/usr/share/linex-desktop-config/xfce4-desktop.xml
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-desktop" version="1.0">
<property name="desktop-icons" type="empty">
<property name="style" type="int" value="2"/>
<property name="file-icons" type="empty">
<property name="show-home" type="bool" value="true"/>
<property name="show-filesystem" type="bool" value="true"/>
<property name="show-removable" type="bool" value="true"/>
<property name="show-trash" type="bool" value="true"/>
</property>
</property>
<property name="backdrop" type="empty">
<property name="screen0" type="empty">
<property name="monitor0" type="empty">
<property name="image-path" type="string" value="/usr/share/xfce4/backdrops/fondo_4a.png"/>
<property name="image-style" type="int" value="5"/>
<property name="image-show" type="bool" value="true"/>
</property>
<property name="monitor1" type="empty">
<property name="image-path" type="string" value="/usr/share/xfce4/backdrops/fondo_4a.png"/>
<property name="image-style" type="int" value="5"/>
<property name="image-show" type="bool" value="true"/>
</property>
</property>
</property>
</channel>
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/debian/changelog
linex-education-menus (1.0) linex; urgency=low
* Modify debian-edu education-menus to support linex configuration.
-- Rafael J. García Perdigón <rafael.garciap@gobex.es> Tue, 11 Nov 2014 11:46:28 +0100
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/debian/compat
8
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/debian/control
Source: linex-education-menus
Section: x11
Priority: extra
Maintainer: Rafael Jesús García Perdigón<rafael.garciap@gobex.es>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.4
Package: linex-education-menus
Architecture: all
Depends: ${misc:Depends}, desktop-profiles
Conflicts: education-menus
Replaces: education-menus
Provides: education-menus
Description: linex education menus configuration.
Configure linex menus to show categorized. Besides contain
metapackages to install categories of applications.
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lingobex-desktop-theme
Files: *
Copyright: 2014 Gobierno de Extremadura
License: GPL-3.0+
Files: debian/*
Copyright: 2014 Gobierno de Extremadura
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/debian/install
etc
usr
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/debian/postinst
#!/bin/bash
#Borramos la cache de menús para que tome efecto el nuevo.
mv /etc/xdg/xdg-xubuntu/menus /etc/xdg/xdg-xubuntu/menus_xubuntu
CACHE_FILE=/var/cache/desktop-profiles/activated_profiles
test -r $CACHE_FILE && rm $CACHE_FILE 2>/dev/null
/usr/bin/update-profile-cache 2>/dev/null
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/debian/postrm
#!/bin/bash
#Borramos la cache de menús para que tome efecto el nuevo.
mv /etc/xdg/xdg-xubuntu/menus_xubuntu /etc/xdg/xdg-xubuntu/menus
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/etc/desktop-profiles/debian-edu-menus.listing
# Menu reordering for teachers and students
edu-linex-menus;XDG_CONFIG;/usr/share/linex-edu/menu;;;Menu reordering
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Astronomy.directory
[Desktop Entry]
Name=Astronomy
Name[es]=Astronomía
Icon=edu-astronomy
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Chemistry.directory
[Desktop Entry]
Name=Chemistry
Name[es]=Química
Icon=edu-chemistry
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/DebianEdu.directory
[Desktop Entry]
Name=Education
Name[af]=Opvoeding
Name[ar]=تعليميّة
Name[as]=শিক্ষাবিষয়ক বস্তু
Name[be]=Адукацыя
Name[be@latin]=Adukacyja
Name[bg]=Обучение
Name[bn]=শিক্ষা
Name[bn_IN]=শিক্ষাবিষয়ক বস্তু
Name[br]=Deskadurezh
Name[ca]=Educació
Name[cs]=Vzdělávání
Name[cy]=Addysg
Name[da]=Læringsprogrammer
Name[de]=Bildung
Name[dz]=ཤེས་རིག
Name[el]=Εκπαίδευση
Name[en_CA]=Education
Name[en_GB]=Education
Name[eo]=Edukado
Name[es]=Educación
Name[et]=Õppeprogrammid
Name[eu]=Hezkuntza
Name[fa]=آموزش
Name[fi]=Opetusohjelmat
Name[fr]=Éducation
Name[ga]=Oideachas
Name[gl]=Educación
Name[gn]=Arandu
Name[gu]=શિક્ષણ
Name[he]=לימוד
Name[hi]=शिक्षा
Name[hu]=Oktatás
Name[hy]=Ուսուցում
Name[id]=Pendidikan
Name[it]=Istruzione
Name[ja]=教育・教養
Name[ka]=განათლება
Name[kn]=ಶಿಕ್ಷಣ
Name[ko]=교육
Name[ku]=Zanîn
Name[ky]=Билим берүү иштемелери
Name[lt]=Švietimas
Name[lv]=Izglītības
Name[mg]=Fanabeazana
Name[mk]=Едукација
Name[ml]=വിദ്യാഭ്യാസം
Name[mn]=Боловсрол
Name[mr]=शिक्षण
Name[nb]=Opplæring
Name[nl]=Educatie
Name[nn]=Utdanning
Name[oc]=Educacion
Name[or]=ଶିକ୍ଷା
Name[pa]=ਸਿੱਖਿਆ
Name[pl]=Nauka
Name[pt]=Educação
Name[pt_BR]=Educação
Name[ro]=Educaţie
Name[ru]=Образовательные
Name[si]=අධ්‍යාපනික
Name[sk]=Vzdelávanie
Name[sl]=Izobraževanje
Name[sq]=Edukim
Name[sr]=Образовање
Name[sr@Latn]=Obrazovanje
Name[sv]=Utbildning
Name[ta]=கல்வி
Name[te]=విద్య
Name[th]=การศึกษา
Name[tr]=Eğitim
Name[ug]=ئوقۇتۇش
Name[uk]=Навчання
Name[uz@cyrillic]=Таълим
Name[vi]=Giáo dục
Name[zh_CN]=教育
Name[zh_HK]=教育
Name[zh_TW]=教育
Icon=linexedu
Type=Directory
Encoding=UTF-8
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Economy.directory
[Desktop Entry]
Name=Economy
Name[es]=Economía
Icon=edu-economy
Type=Directory
Encoding=UTF-8
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Electricity.directory
[Desktop Entry]
Type=Directory
Encoding=UTF-8
Name=Electricity
Name[es]=Electricidad
Comment=
Icon=edu-electricity
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Geography.directory
[Desktop Entry]
Name=Geography
Name[es]=Geografía
Icon=edu-geography
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Kids.directory
[Desktop Entry]
Name=Kids
Name[es]=Chavales
Icon=edu-kids
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Languages.directory
[Desktop Entry]
Name=Languages
Name[es]=Lengua e idiomas
Icon=edu-languages
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Literature.directory
[Desktop Entry]
Name=Literature
Name[es]=Literatura
Icon=edu-literature
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Mathematics.directory
[Desktop Entry]
Name=Mathematics
Name[es]=Matemáticas
Name[pt]=Matemáticas
Comment[es]=Aplicaciones didacticas sobre matematicas
Icon=edu-mathematics
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Miscellaneous.directory
[Desktop Entry]
Name=Miscellaneous
Name[es]=Varios
Icon=edu-miscellaneous
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Music.directory
[Desktop Entry]
Name=Music
Name[es]=Música
Icon=edu-music
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Physics.directory
[Desktop Entry]
Name=Physics
Name[es]=Física
Icon=edu-physics
Type=Directory
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/desktop-directories/Sports.directory
[Desktop Entry]
Name=Sports
Name[ar]=الرياضة
Name[be]=Спартыўныя
Name[bg]=Спортни
Name[bn]=খেলাধূলা
Name[bs]=Sport
Name[ca]=Esports
Name[cs]=Sporty
Name[da]=Sport
Name[de]=Sport
Name[dz]=རྩེད་རིགས་ཚུ།
Name[el]=Αθλητικά
Name[eo]=Sporto
Name[es]=Deportes
Name[eu]=Kirolak
Name[fi]=Urheilu
Name[fr]=Sports
Name[gl]=Deportes
Name[gu]=રમતો
Name[he]=ספורט
Name[hi]=खेलकूद
Name[hr]=Sportske
Name[hu]=Sportok
Name[id]=Olahraga
Name[it]=Sport
Name[ja]=スポーツ
Name[km]=កីឡា
Name[ko]=스포츠
Name[ku]=Werzîş
Name[lt]=Sporto
Name[mk]=Спорт
Name[ml]=കായികം
Name[mr]=क्रीडा
Name[nb]=Sport
Name[ne]=खेलहरू
Name[nl]=Sport
Name[nn]=Sport
Name[pa]=ਖੇਡਾਂ
Name[pl]=Sportowe
Name[pt]=Desporto
Name[pt_BR]=Esportes
Name[ro]=Sport
Name[ru]=Спортивные
Name[sk]=Športy
Name[sq]=Sporte
Name[sv]=Sport
Name[ta]=கேளிக்கை
Name[th]=กีฬา
Name[tl]=Palakasan
Name[tr]=Sporlar
Name[uk]=Спортивні
Name[vi]=Thể thao
Name[wo]=Espoor
Name[zh_CN]=体育类
Name[zh_TW]=運動
Icon=edu-sports
Type=Directory
Encoding=UTF-8
ubuntu/trusty/all/linex-education-menus-Con-Desktop-Profile/usr/share/doc/education-menus/copyright
This package was debianized by Raphael Hertzog <hertzog@debian.org> on
Mon, 23 Jul 2001 15:37:01 +0200.
Author(s): Raphael Hertzog <hertzog@debian.org> and
Petter Reinholdtsen <pere@hungry.com>
The source is available from
<URL:https://alioth.debian.org/projects/debian-edu/>
Copyright:
For the pixmaps directory:
... Diferencia truncada por exceder el máximo tamaño visualizable.

Exportar a: Unified diff