On 07/10/2017 02:46 PM, Maikel Enrique Pernía Matos wrote:
El lun, 10-07-2017 a las 13:44 -0400, Maikel Llamaret Heredia escribió:
El 10/07/17 a las 11:04, Leodanis Pozo Ramos escribió:
Colegas, un saludo a todos. Para aquellos que realicen tareas de
conversión de video tanto en sus hogares como en su trabajo les
sugerimos revisen este link:

http://debianhlg.cubava.cu/vuelve-a-escena-videomorph-ahora-con-la-version-1-0/



espero que les sea de provecho.


saludos,

lpozo


______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

De ser posible, en las fuentes, en el README.md o donde sea aclaren
todas las dependencias necesarias para poder crear los paquetes para las
diferentes distros. Luego hago un *tar.xz con makepkg para crear un
paquete de VideoMorph para ArchLinux (y derivadas) y se pudiera hacer lo
mismo para RPM y DEB. Es decir, facilítenle la labor a los
empaquetadores, algo que debería generalizarse para todos los
desarrollos cubanos.

En cuanto al funcionamiento de Videomorph, hace versiones que no la
pruebo, pero está bien lograda, salvo los íconos de la interfaz que
hasta donde vi, no me gustaba ni un poco, debía lograrse un diseño mas
acorde a las tendencias de diseño actual, se que no es lo esencial, pero
es algo así como un tiquismiquismo de mi parte a ver si se rompe ya con
la tendencia de que en Linux no puede haber interfaces gráficas bonitas.

Sería bueno poder incrustarse subtítulos a las conversiones (hasta la
versión de videomorph que tengo, no se puede hacer), algo similar a como
puede hacerse en FF Multi Converter (que también lleva Python en Qt) y
funciona genialmente.

Estuve leyendo el post, en el se informa que esta nueva versión permite
incrustar los subtítulos, con relación a la automatización en la
construcción de los paquetes en mi caso en los fuentes incluyo un script
que es muy fácil de modificar y que se encarga de construir el *.deb, no
digo que sea la mejor opción pero al menos es una opción que funciona,
adjunto la copia del script para construir el paquete de CyU.


<script>

#!/bin/bash

#############################################################################
##
##  Copyleft : 2013 - 2017 Maikel Enrique Pernía Matos.
##  Contact: perniama...@infomed.sld.cu
##
##  This file is part of the CyU application.
##
##  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 2 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, write to the Free Software
##  Foundation, Inc., ##  51 Franklin Street, Fifth Floor, Boston,
##  MA 02110-1301 USA.
##
##
#############################################################################

echo "--> Hello World!"

FILE=./cyu

if [ -f $FILE ]; then

        NAME='cyu-qt'

        VERSION=`grep ^VERSION ./VERSION | sed 's/VERSION://g'`

        REVISION=`grep ^REVISION ./VERSION | sed 's/REVISION://g'`

        SIZE=`du -s ${PKG_NAME} | awk {'print $1'} | sed 's/[a-zA-Z]//g'`

        ARCH=`dpkg-architecture | grep ^DEB_BUILD_ARCH= | sed
's/DEB_BUILD_ARCH=//g'`

        PKG_NAME=${NAME}_${VERSION}-${REVISION}_${ARCH}

        echo "--> create dirs"

        mkdir -p $PKG_NAME/DEBIAN
        mkdir -p $PKG_NAME/usr/lib/cyu/i18n
        mkdir -p $PKG_NAME/usr/share/applications
        mkdir -p $PKG_NAME/usr/share/doc/cyu-qt

        echo "--> copy files"
        cp -a i18n/*.qm $PKG_NAME/usr/lib/cyu/i18n
        cp -a src/resources/cyu.png $PKG_NAME/usr/lib/cyu/
        cp -a cyu $PKG_NAME/usr/lib/cyu/

        echo "--> create debian packages files"

cat > $PKG_NAME/DEBIAN/control << EOF
Package: ${NAME}
Version: ${VERSION}.${REVISION}
Installed-Size: ${SIZE}
Section: utils
Maintainer: Maikel Enrique Pernía Matos <perniama...@infomed.sld.cu>
Priority: optional
Architecture: ${ARCH}
Depends: libqt4-gui (>=4:4.6.3-4), libqtgui4 (>=4:4.6.3-4), libqt4-core
(>=4:4.6.3-4), libqtcore4 (>=4:4.6.3-4), coreutils (>=8.5-1)
Description: CyU-Qt software to divide/join files
  CyU-Qt Is a FrontEnd to divide and join any type of archive; east uses
the programs SPLIT and CAT of GNU Core Utilities, that generally include
in the distributions of GNU/Linux.
EOF

cat > $PKG_NAME/DEBIAN/postinst << EOF
#! /bin/bash -e

ln -fs "/usr/lib/cyu/cyu" "/usr/bin/cyu"
EOF

cat > $PKG_NAME/DEBIAN/prerm << EOF
#! /bin/bash -e

rm "/usr/bin/cyu"
EOF

        chmod 755 $PKG_NAME/DEBIAN/postinst
        chmod 755 $PKG_NAME/DEBIAN/prerm

        echo "--> create desktop entry"

cat > $PKG_NAME/usr/share/applications/cyu.desktop << EOF
[Desktop Entry]
Name=Dividir/Unir ficheros
Name[es]=Dividir/Unir ficheros
Name[en]=Divide/Join files
Name[fr]=Diviser/Unir des fichiers
Name[pt]=Dividir/Unir ficheiros
GenericName=Dividir/unir ficheros
GenericName[es]=Dividir/unir ficheros
GenericName[en]=Divide/join files
GenericName[fr]=Diviser/unir des fichiers
GenericName[pt]=Dividir/unir ficheiros
Comment=Software para dividir/unir ficheros
Comment[es]=Software para dividir/unir ficheros
Comment[en]=Software to divide/join files
Comment[fr]=Logiciel pour diviser/unir des fichiers
Comment[pt]=Software para dividir/unir ficheiros
Version=${VERSION}-${REVISION}
Exec=/usr/bin/cyu
Icon=/usr/lib/cyu/cyu.png
Type=Application
Terminal=false
StartupNotify=true
Encoding=UTF-8
Categories=Utility;
EOF

        echo "--> compress changelog file"

        cp -a CHANGELOG $PKG_NAME/usr/share/doc/cyu-qt/changelog

        gzip -9 $PKG_NAME/usr/share/doc/cyu-qt/changelog

        echo "--> create copyright file"

cat > $PKG_NAME/usr/share/doc/cyu-qt/copyright << EOF
     Copyright (C) 2013 - 2017.  Maikel Enrique Pernía Matos
     Contact: perniama...@infomed.sld.cu

     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 2 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, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
     MA 02110-1301 USA.
EOF


        echo "--> create checksum file"

        for x in `find ${PKG_NAME}/usr/`; do
                md5sum $x >> $PKG_NAME/DEBIAN/md5sum 2> /dev/null;
        done

        cat $PKG_NAME/DEBIAN/md5sum | sed "s/${PKG_NAME}\/usr\//usr\//g" >
$PKG_NAME/DEBIAN/md5sum1
        mv $PKG_NAME/DEBIAN/md5sum1 $PKG_NAME/DEBIAN/md5sum

        echo "--> building debian package"

        dpkg-deb -b $PKG_NAME 1> /dev/null

        rm -rf $PKG_NAME

else
        echo """
     ==============================
         Binary file not found.
     ==============================
      Please execute this commands:
       ./configure
       make

      And then try again.
     ==============================
     """
fi
echo "--> Bye!"


<script>




--
Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l



Al menos para la rama .deb ya hemos desarrollado un script para empaquetar VideoMorph, tenemos en el tintero el empaquetado para .rpm. Anyway, gracias Maikel por el aporte, lo revisaremos.

saludos,

lpozo

______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l
  • [Gu... Leodanis Pozo Ramos
    • ... Ulises Gonzalez Horta
    • ... Maikel Enrique Pernía Matos
    • ... Maikel Enrique Pernía Matos
    • ... Maikel Llamaret Heredia
      • ... Maikel Enrique Pernía Matos
        • ... Leodanis Pozo Ramos
      • ... Leodanis Pozo Ramos
        • ... Tec. Comunicaciones Transgaviota Centro (Wilfredo Martínez Consuegra)
        • ... Arian Molina Aguilera
        • ... Abel Meneses Abad
    • ... Leodanis Pozo Ramos

Responder a