Commit 16178081 authored by Arturo Martín Romero's avatar Arturo Martín Romero :thinking:
Browse files

Versión 8.2-3 de vegachess para la gestión de torneos de ajedrez

parents
No related merge requests found
Pipeline #1895 failed with stages
in 9 seconds
Showing with 411 additions and 0 deletions
+411 -0
variables:
_USER: "builduser"
_PATH: /home/$_USER/$CI_PROJECT_NAME
stages:
- build
- upload
# build-vitalinux14:
# image: vitalinux14:dev
# stage: build
# script:
# - useradd -m $_USER
# - mkdir -p $_PATH
# - mv * $_PATH
# - pushd $_PATH
# - su -c "/usr/bin/debuild --no-tgz-check -us -uc" $_USER
# - popd
# - mv /home/$_USER/*.deb .
# artifacts:
# expire_in: 1 days
# paths:
# - ./*.deb
# only:
# - tags
# upload-vitalinux14:
# image: vitalinux14:dev
# stage: upload
# script:
# - MIGASFREE_PACKAGER_PROJECT=Lubuntu-14.04 migasfree-upload -f *.deb
# dependencies:
# - build-vitalinux14
# only:
# - tags
build-vitalinux18:
image: vitalinux18:dev
stage: build
script:
- useradd -m $_USER
- mkdir -p $_PATH
- mv * $_PATH
- pushd $_PATH
- su -c "/usr/bin/debuild --no-tgz-check -us -uc" $_USER
- popd
- mv /home/$_USER/*.deb .
artifacts:
expire_in: 1 days
paths:
- ./*.deb
only:
- tags
upload-vitalinux18:
image: vitalinux18:dev
stage: upload
script:
- MIGASFREE_PACKAGER_PROJECT=VX-18.04 migasfree-upload -f *.deb
dependencies:
- build-vitalinux18
only:
- tags
\ No newline at end of file
README.md 0 → 100644
# Paquete DEB vx-dga-l-vegateam-chesstournament
Vega, VegaTeam and Orion, released since 2003 and able to administer any chess tournament (individual or for teams).
They have been organized in order to reproduce the arbiter’s tasks during a tournament which include:
1. Registration of the players;
2. Perform the pairing of next round;
3. Insert the results of the current round;
4. Prepare the cross table and other ranking lists.
## Usuarios Destinatarios
Usuarios que quieren organizar un torneo de ajedrez.
## Aspectos Interesantes
Visitar la web del proyecto: https://www.vegachess.com/ns/
## Como Crear o Descargar el paquete DEB a partir del codigo de GitHub
Para crear el paquete DEB será necesario encontrarse dentro del directorio donde localizan los directorios que componen el paquete. Una vez allí, se ejecutará el siguiente comando (es necesario tener instalados los paquetes apt-get install debhelper devscripts):
```bash
apt-get install debhelper devscripts
/usr/bin/debuild --no-tgz-check -us -uc
```
En caso de no querer crear el paquete para tu distribución, puedes hacer uso del que está disponible para Vitalinux (*Lubuntu 14.04*) desde el siguiente repositorio:
[Respositorio de paquetes DEB de Vitalinux](http://migasfree.educa.aragon.es/repo/VX-18.04/STORES/base/)
## Como Instalar el paquete vx-dga-l-*.deb:
Para la instalación de paquetes que estan en el equipo local puede hacerse uso de ***dpkg*** o de ***gdebi***, siendo este último el más aconsejado para que se instalen de manera automática también las dependencias correspondientes.
```bash
gdebi vx-dga-l-*.deb
```
# Paquete DEB vx-dga-l-vegateam-chesstournament
Paquete encargado de configurar asociaciones entre aplicaciones (*.desktop) y mimetypes de archivos.
En concreto se puede hacer lo siguiente:
[Default Applications] : asociación entre mimetype y aplicación (Desktop) que la abrirá por defecto (si se pincha doble click)
[Added Associations] : asociación entre mimetypes y aplicaciones (desktop) que aparecerá como opciones al pinchar con el botón derecho y elegir "abrir con"
El formato sería de la siguiente forma:
```
[Default Applications]
application/x-shockwave-flash=vx-firefox-swf.desktop
[Added Associations]
application/x-shockwave-flash=vx-firefox-swf.desktop;otro.desktop;...
```
# Usuarios Destinatarios
Usuarios que requieren obligar asociaciones entre aplicaciones y mimetypes de archivos
# Aspectos Interesantes:
Para poder configurar lo anterior se ha creado un programa en python **/usr/bin/vx-configparser** haciendo uso del módulo **configparser**. El uso de esta aplicación sería la siguiente:
```
ARCHIVO="/usr/share/applications/mimeapps.list"
vx-configparser "${ARCHIVO}" "Default Applications" "image/pb;video/px;" "app1.desktop"
vx-configparser "${ARCHIVO}" "Added Associations" "image/pb;video/px;" "app1.desktop;app2.desktop;app3.desktop;..."
```
# Como Crear o Descargar el paquete DEB a partir del codigo de GitHub
Para crear el paquete DEB será necesario encontrarse dentro del directorio donde localizan los directorios que componen el paquete. Una vez allí, se ejecutará el siguiente comando (es necesario tener instalados los paquetes apt-get install debhelper devscripts):
```
apt-get install debhelper devscripts
/usr/bin/debuild --no-tgz-check -us -uc
```
En caso de no querer crear el paquete para tu distribución, puedes hacer uso del que está disponible para Vitalinux (*Lubuntu 14.04*) desde el siguiente repositorio:
[Respositorio de paquetes DEB de Vitalinux](http://migasfree.educa.aragon.es/repo/Lubuntu-14.04/STORES/base/)
# Como Instalar el paquete vx-dga-l-*.deb:
Para la instalación de paquetes que estan en el equipo local puede hacerse uso de ***dpkg*** o de ***gdebi***, siendo este último el más aconsejado para que se instalen de manera automática también las dependencias correspondientes.
```
gdebi vx-dga-l-*.deb
```
vx-dga-l-vegateam-chesstournament (8.2-3) unstable; urgency=low
* Versión 8.2-3 de vegachess para la gestión de torneos de ajedrez
-- Arturo Martín <amartinromero@gmail.com> Mon, 21 Nov 2022 10:45:06 +0200
\ No newline at end of file
9
Source: vx-dga-l-vegateam-chesstournament
Section: utils
Priority: extra
Maintainer: Arturo Martín <amartinromero@gmail.com>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.5
Homepage: https://www.vegachess.com
Package: vx-dga-l-vegateam-chesstournament
Architecture: amd64
Depends: ${misc:Depends}
Description: To administer any chess tournament
Vega, VegaTeam and Orion, released since 2003 and able to administer any chess tournament (individual or for teams)
Format: http://dep.debian.net/deps/dep5
Upstream-Name: vx-dga-l-vegateam-chesstournament
Files: *
Copyright: 2017 Arturo Martín <amartinromero@gmail.com>
License: GPL-3.0+
Files: debian/*
Copyright: 2017 Arturo Martín <amartinromero@gmail.com>
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".
usr/*
\ No newline at end of file
#!/bin/bash
# postinst script for vx-dga-l-vegateam-chesstournament
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
# https://www.vegachess.com
FICH="/usr/share/vitalinux/apps/vegalinux/Vega"
ENLACE="/usr/bin/vega"
[[ -f "${FICH}" && ! -L "${ENLACE}" ]] && \
ln -sf "${FICH}" "${ENLACE}" && \
echo "=> Creando el enlace simbólico: ${ENLACE}"
FICH="/usr/share/vitalinux/apps/vegalinux/VegaTeam"
ENLACE="/usr/bin/vegateam"
[[ -f "${FICH}" && ! -L "${ENLACE}" ]] && \
ln -sf "${FICH}" "${ENLACE}" && \
echo "=> Creando el enlace simbólico: ${ENLACE}"
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/bin/sh
# pretinst script for vx-dga-l-vegateam-chesstournament
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install|upgrade)
;;
abort-upgrade)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/bin/bash
# prerm script for vx-dga-l-vegateam-chesstournament
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove)
for ENLACE in "/usr/bin/vega" "/usr/bin/vegateam" ; do
[[ -L "${ENLACE}" ]] && \
rm -Rf "${ENLACE}" && \
echo "=> Eliminamos el enlace simbólico: ${ENLACE}"
done
;;
upgrade|deconfigure)
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/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 $@
[Desktop Entry]
Encoding=UTF-8
Name=Chess Tournament Individual
Name[es]=Torneo de Ajedrez Individual
Name[es_ES]=Torneo de Ajedrez Individual
Comment=Torneo de Ajedrez Individual
Exec=/usr/bin/vega
Icon=vx-vega
Categories=Education;
Type=Application
Terminal=false
[Desktop Entry]
Encoding=UTF-8
Name=Chess Tournament Team
Name[es]=Torneo de Ajedrez por Equipos
Name[es_ES]=Torneo de Ajedrez por Equipos
Comment=Torneo de Ajedrez por Equipos
Exec=/usr/bin/vegateam
Icon=vx-vega
Categories=Education;
Type=Application
Terminal=false
This diff is collapsed.
Vega - Swiss Pairing Software
==============================
License
-------
This software and all files that accompany it are Freeware.
You are free to use, copy and distribute the software and encourage its use.
This software is copyright (C) 2003 - 2013 Luigi FORLANO (author).
The author reserves the right to change this agreement for future versions of the software.
You must not reverse-engineer or modify the software and you should only distribute the original file. This software must not be sold. If you distribute the software you must not charge a fee.
This software is provided as is with no warranties either express or implied as to its suitability for use on any computer system.
The author cannot be held responsible for any problems or damages caused directly or indirectly by the use of this software including but not limited to loss of data, money, or business. You use this software entirely at your own risk.
FEEDBACK
--------
I will appreciate every comments, questions and bug report if any.
vega@vegachess.com
Vega - Swiss Pairing Software
=============================
VEGA Linux version run
'./vega' for the individual tournament
'./vegateam' for the team tournament
Please read the license terms and the user manual.
Enjoy!
FEEDBACK
--------
I will appreciate every comments, questions and bug report if any.
vega@vegachess.com
File added
File added
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