Pardus-es
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
Últimos temas
» Hola Parduseros
por Yoyo Miér Nov 28, 2012 11:29 am

» No me funciona el teclado, no puedo escribir nada
por Averiguoalgoylesrespondo Miér Nov 07, 2012 11:15 am

» Failed to connect: Conexión negada
por mamc2501 Jue Sep 20, 2012 5:42 am

» Hacer una distribución más amigable
por DwLinuxero Sáb Ago 04, 2012 4:25 am

» Hercules DJ console Mk2
por DwLinuxero Vie Ago 03, 2012 8:54 pm

» Repositorio Pardus Life, la comunidad Hispana de Pardus, ya cuenta con repositorio propio :)
por paran0id Dom Jul 29, 2012 1:47 am

» Me retiro…. ¿es el fin de Pardus Life y Pardus-es? no lo se, dejo la puerta abierta....
por exterminador Sáb Jul 28, 2012 1:48 am

» Como agregar a opensuse al grub de pardus
por 1persona Miér Jun 13, 2012 9:19 am

» Ayuda!!!!!
por AhmedMedina Mar Jun 12, 2012 8:29 am

» Pardus 2012 “Anka” con KDE 4.8.2 y Kernel 3.2.5 lista para probar
por portaro Lun Jun 11, 2012 10:12 am

» no se puede montar disco duro externo [ntfs]
por paran0id Jue Jun 07, 2012 4:42 am

» AYUDA mi Pardus no inicia! [Resuelto]
por AhmedMedina Mar Jun 05, 2012 11:01 am

» Information from the worldforum
por richdb Lun Jun 04, 2012 1:42 am

» Nuevos Hostings de imágenes para subir imágenes al foro
por exterminador Dom Jun 03, 2012 5:10 am

» HowTo Dual-Boot Linux
por 1persona Lun Mayo 28, 2012 11:43 am

¿Quién está en línea?
En total hay 5 usuarios en línea: 0 Registrados, 0 Ocultos y 5 Invitados

Ninguno

[ Ver toda la lista ]


El record de usuarios en línea fue de 73 durante el Vie Feb 02, 2024 1:14 pm
Conectarse

Recuperar mi contraseña

Buscar
 
 

Resultados por:
 


Rechercher Búsqueda avanzada

Navegación
 Portal
 Índice
 Miembros
 Perfil
 FAQ
 Buscar

Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

2 participantes

Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por Yoyo Jue Oct 20, 2011 8:38 am

Hola, paran0id

Creo recordar que me dijiste una vez que habías hecho un .pisi del Decibel Audio Player, por eso me dirijo a ti tongue

http://decibel.silent-blade.org/

El caso es que hay nueva versión, la 1.08, he instalado las dependencias

Código:
python, gnome-python, python-gtk, python-mutagen, gst-python, dbus-python, python-imaging

Y compilado de forma manual con

Código:
sudo make install

Y se instala y funciona perfecto Very Happy

Lo que no puedo es crear el .pisi desde PiSiDo

He probado todas las variantes posibles en el actions.py y siempre me sale lo mismo

Programa terminado.
Error de Sintaxis en Script de Acciones (/home/yoyo/Compilation/decibel-audio-player/actions.py): invalid syntax (actions.py, line 10)
Favor use 'pisi help' para ayuda general.

He hecho lo de WorkDir = "."

He comentado en el actions.py las dos primeras funciones (setup() y build() y dejado la última install () tanto en el modo Auto como CMake y nada de nada, siempre el mismo error

Y por si acaso he probado en otras como Scons y nada, siempre lo mismo

A ver tu como coño lo hiciste....

Saludos



Última edición por Yoyo el Jue Oct 20, 2011 9:24 am, editado 1 vez
Yoyo
Yoyo
Administrador

Mensajes : 1013
Puntos : 1361
Reputación : 73
Fecha de inscripción : 26/08/2010
Localización : Andalucía/España

http://parduslife.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por paran0id Jue Oct 20, 2011 9:10 am

Ok, por partes xD

En primer lugar se hace con las funciones autotools, luego has hecho bien en comentar las dos primeras funciones. Y según el error tienes algo mal en tu línea 10, pero no puedo saber qué es xD así que estaría bien que me dieras el actions.py y si eso el todo el log de la operación (haz el .pisi con la terminal usando pisi):

Código:
sudo pisi bi pspec.xml &> log.txt

o por último, para no liarno más te paso mi actions.py:

Código:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

# Use this as variables:
# Package Name : decibel-audio-player
# Version : 1.07
# Summary : Open-source audio player for GNU/Linux

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

# if archive have project in a sub directory:
# WorkDir="decibel-audio-player-"+ get.srcVERSION() +"/sub_project_dir/"

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

Ya me dirás si funciona.
paran0id
paran0id
Administrador

Mensajes : 305
Puntos : 378
Reputación : 37
Fecha de inscripción : 28/08/2010
Edad : 35
Localización : Barcelona

http://tuneatulinux.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por Yoyo Jue Oct 20, 2011 9:14 am

Veamos, así lo tengo yo en Auto

Pero en la línea 10 no hay nada. Yo las dos primeras opciones, setup y build no las he eliminado, solo comentado

Código:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

# Use this as variables:
# Package Name : ___package_name___
# Version : ___version___
# Summary : ___summary___

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

# if archive have project in a sub directory:
# WorkDir="___package_name___-"+ get.srcVERSION() +"/sub_project_dir/"

#def setup():
    #autotools.configure()

#def build():
    #autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

#    pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "NEWS", "README")
#    pisitools.dobin("___package_name___")
Yoyo
Yoyo
Administrador

Mensajes : 1013
Puntos : 1361
Reputación : 73
Fecha de inscripción : 26/08/2010
Localización : Andalucía/España

http://parduslife.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por Yoyo Jue Oct 20, 2011 9:23 am

Vaya, solucionado!!!

Me he fijado en el tuyo y solo he cambiado esta parte dejándola así

Código:
# Use this as variables:
# Package Name : decibel-audio-player
# Version : 1.08
# Summary : Open-source audio player for GNU/Linux


Que antes estaba así sin poner nombres

Código:
# Use this as variables:
# Package Name : ___package_name___
# Version : ___version___
# Summary : ___summary___

Vaya tontería no? Twisted Evil

Muchas gracias, cumpa....................

He instalado el .pisi resultante y todo correcto Very Happy

Viva Pardus!!!! y paran0id Razz
Yoyo
Yoyo
Administrador

Mensajes : 1013
Puntos : 1361
Reputación : 73
Fecha de inscripción : 26/08/2010
Localización : Andalucía/España

http://parduslife.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por Yoyo Jue Oct 20, 2011 9:27 am

Dejo el actions.py correcto aquí para futuras referencias, que yo tengo muy mala cabeza, así mañana lo hago para 32-bits Very Happy

Código:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

# Use this as variables:
# Package Name : decibel-audio-player
# Version : 1.08
# Summary : Open-source audio player for GNU/Linux

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

# if archive have project in a sub directory:
# WorkDir="___package_name___-"+ get.srcVERSION() +"/sub_project_dir/"

#def setup():
    #autotools.configure()

#def build():
    #autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

#    pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "NEWS", "README")
#    pisitools.dobin("___package_name___")
Yoyo
Yoyo
Administrador

Mensajes : 1013
Puntos : 1361
Reputación : 73
Fecha de inscripción : 26/08/2010
Localización : Andalucía/España

http://parduslife.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por paran0id Jue Oct 20, 2011 9:29 am

WTF? Yo lo acabo de hacer con el tuyo y sin problemas Neutral

Pero si ya está solucionado, mejor Wink
paran0id
paran0id
Administrador

Mensajes : 305
Puntos : 378
Reputación : 37
Fecha de inscripción : 28/08/2010
Edad : 35
Localización : Barcelona

http://tuneatulinux.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por Yoyo Jue Oct 20, 2011 9:35 am

paran0id escribió:WTF? Yo lo acabo de hacer con el tuyo y sin problemas Neutral

Pero si ya está solucionado, mejor Wink

Ok, gracias

Pues con el mio, sin rellenar nombres, no salía, lo que no se es donde has aprendido esta parte del autotools xDD

Bueno ya está todo

Acá el log

Código:
Generando paquete fuente: decibel-audio-player
DEBUG: ComponentDB initialized in 0.0120000839233.
DEBUG: RepoDB initialized in 0.0116679668427.
DEBUG: InstallDB initialized in 0.0121760368347.
decibel-audio-player-1.08.tar.gz [cached]
Descompactando archivo(s)...
 descompactado (/var/pisi/decibel-audio-player-1.08-1/work)
Configurando fuente...
Generando fuente (build)...
Verificando Paquete %s.
Instalando...
Build con Sandbox habilitado...
cat start.sh | sed -e 's!prefix!/var/pisi/decibel-audio-player-1.08-1/install/usr/local!g' > decibel-audio-player;
cat start-remote.sh | sed -e 's!prefix!/var/pisi/decibel-audio-player-1.08-1/install/usr/local!g' > decibel-audio-player-remote;
echo /var/pisi/decibel-audio-player-1.08-1/install/usr/local
/var/pisi/decibel-audio-player-1.08-1/install/usr/local
install -m 755 -d /var/pisi/decibel-audio-player-1.08-1/install/usr/local/bin /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/man/man1 /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/res /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/applications /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/pix /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/pixmaps
install -m 755 -d /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/gui
install -m 755 -d /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/media
install -m 755 -d /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/media/format
install -m 755 -d /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/media/track
install -m 755 -d /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/tools
install -m 755 -d /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/modules
install -m 644 src/*.py /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src
install -m 644 src/gui/*.py /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/gui
install -m 644 src/tools/*.py /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/tools
install -m 644 src/media/*.py /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/media
install -m 644 src/media/track/*.py /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/media/track
install -m 644 src/media/format/*.py /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/media/format
install -m 644 src/modules/*.py /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/src/modules
install -m 644 res/*.ui /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/res
install -m 644 doc/decibel-audio-player.1 /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/man/man1
install -m 644 doc/decibel-audio-player-remote.1 /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/man/man1
install -m 644 pix/*.png /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/decibel-audio-player/pix
install -m 644 pix/decibel-audio-player.png /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/pixmaps
install -m 644 res/decibel-audio-player.desktop /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/applications
if test -L /var/pisi/decibel-audio-player-1.08-1/install/usr/local/bin/decibel-audio-player; then rm -f /var/pisi/decibel-audio-player-1.08-1/install/usr/local/bin/decibel-audio-player; fi
install -m 755 decibel-audio-player /var/pisi/decibel-audio-player-1.08-1/install/usr/local/bin
if test -L /var/pisi/decibel-audio-player-1.08-1/install/usr/local/bin/decibel-audio-player-remote; then rm -f /var/pisi/decibel-audio-player-1.08-1/install/usr/local/bin/decibel-audio-player-remote; fi
install -m 755 decibel-audio-player-remote /var/pisi/decibel-audio-player-1.08-1/install/usr/local/bin
make -C po dist
make[1]: se ingresa al directorio `/var/pisi/decibel-audio-player-1.08-1/work/decibel-audio-player-1.08/po'
for pofile in de.po; do \
        install -m 755 -d ../locale/de/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/de/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in pl.po; do \
        install -m 755 -d ../locale/pl/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/pl/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
pl.po:268: atención: Los mensajes internacionalizados no deben contener la secuencia de escape `\r'
for pofile in ja.po; do \
        install -m 755 -d ../locale/ja/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/ja/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in he.po; do \
        install -m 755 -d ../locale/he/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/he/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in tr.po; do \
        install -m 755 -d ../locale/tr/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/tr/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in ga.po; do \
        install -m 755 -d ../locale/ga/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/ga/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in sl.po; do \
        install -m 755 -d ../locale/sl/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/sl/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in sr.po; do \
        install -m 755 -d ../locale/sr/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/sr/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in da.po; do \
        install -m 755 -d ../locale/da/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/da/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in ca.po; do \
        install -m 755 -d ../locale/ca/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/ca/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in ru.po; do \
        install -m 755 -d ../locale/ru/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/ru/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in it.po; do \
        install -m 755 -d ../locale/it/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/it/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in ro.po; do \
        install -m 755 -d ../locale/ro/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/ro/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in nb.po; do \
        install -m 755 -d ../locale/nb/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/nb/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in kk.po; do \
        install -m 755 -d ../locale/kk/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/kk/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in pt.po; do \
        install -m 755 -d ../locale/pt/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/pt/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in es.po; do \
        install -m 755 -d ../locale/es/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/es/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
es.po:258: atención: Los mensajes internacionalizados no deben contener la secuencia de escape `\r'
for pofile in ar.po; do \
        install -m 755 -d ../locale/ar/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/ar/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in hr.po; do \
        install -m 755 -d ../locale/hr/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/hr/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in nn.po; do \
        install -m 755 -d ../locale/nn/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/nn/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in en_GB.po; do \
        install -m 755 -d ../locale/en_GB/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/en_GB/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in fr.po; do \
        install -m 755 -d ../locale/fr/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/fr/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in eo.po; do \
        install -m 755 -d ../locale/eo/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/eo/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in bs.po; do \
        install -m 755 -d ../locale/bs/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/bs/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in cs.po; do \
        install -m 755 -d ../locale/cs/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/cs/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in bg.po; do \
        install -m 755 -d ../locale/bg/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/bg/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in pt_BR.po; do \
        install -m 755 -d ../locale/pt_BR/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/pt_BR/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in el.po; do \
        install -m 755 -d ../locale/el/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/el/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in nl.po; do \
        install -m 755 -d ../locale/nl/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/nl/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in sv.po; do \
        install -m 755 -d ../locale/sv/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/sv/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
sv.po:191: atención: Los mensajes internacionalizados no deben contener la secuencia de escape `\r'
for pofile in zh_CN.po; do \
        install -m 755 -d ../locale/zh_CN/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/zh_CN/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in fa.po; do \
        install -m 755 -d ../locale/fa/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/fa/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in hu.po; do \
        install -m 755 -d ../locale/hu/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/hu/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
for pofile in ko.po; do \
        install -m 755 -d ../locale/ko/LC_MESSAGES/;\
        msgconv -t UTF-8 ${pofile} -o ${pofile}_utf8;\
        msgfmt ${pofile}_utf8 -o ../locale/ko/LC_MESSAGES/decibel-audio-player.mo;\
        rm ${pofile}_utf8;\
done
make[1]: se sale del directorio `/var/pisi/decibel-audio-player-1.08-1/work/decibel-audio-player-1.08/po'
for lang in `find locale/ -maxdepth 1 -mindepth 1 -type d -printf "%f "`; do \
        install -m 755 -d /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/locale/$lang/LC_MESSAGES;\
        install -m 644 locale/$lang/LC_MESSAGES/decibel-audio-player.mo /var/pisi/decibel-audio-player-1.08-1/install/usr/local/share/locale/$lang/LC_MESSAGES/; \
done
DEBUG: valor devuelto de "make DESTDIR=/var/pisi/decibel-audio-player-1.08-1/install install" es 0
Construyendo paquete: decibel-audio-player
Creando /home/yoyo/Compilation/decibel-audio-player-1.08-1-p11-x86_64.pisi...                                                                                       
Conservando carpeta build


Y acá mi amado Decibel Audio Player GTKoso xDD

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) THtAAl

Yoyo
Yoyo
Administrador

Mensajes : 1013
Puntos : 1361
Reputación : 73
Fecha de inscripción : 26/08/2010
Localización : Andalucía/España

http://parduslife.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por paran0id Jue Oct 20, 2011 9:51 am

Perfecto entonces Smile

Para saber qué funciones usar es simple:

Si para compilar el programa se tiene que hacer el típico ./configure make make install > Autotools

Si se tiene que hacer cmake make make install > Cmake

Si se tiene que hacer qmake make make install > Qt4 (si no me equivoco)

Aunque hay casos (que ya me los encontré) en los que no sabes si poner autotools o cmake xD

Ahí lo dejo por si alguien lo necesita saber xD Todo es cuestión de mirar las instrcciones para compilar Wink
paran0id
paran0id
Administrador

Mensajes : 305
Puntos : 378
Reputación : 37
Fecha de inscripción : 28/08/2010
Edad : 35
Localización : Barcelona

http://tuneatulinux.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por Yoyo Jue Oct 20, 2011 9:54 am

paran0id escribió:Perfecto entonces Smile

Para saber qué funciones usar es simple:

Si para compilar el programa se tiene que hacer el típico ./configure make make install > Autotools

Si se tiene que hacer cmake make make install > Cmake

Si se tiene que hacer qmake make make install > Qt4 (si no me equivoco)

Aunque hay casos (que ya me los encontré) en los que no sabes si poner autotools o cmake xD

Ahí lo dejo por si alguien lo necesita saber xD Todo es cuestión de mirar las instrcciones para compilar Wink

Ok, eso estaba mas o menos claro, muchas gracias

Pero yo me refería a como sabías que, por ejemplo, había que cambiar esto

Código:
# Use this as variables:
# Package Name : ___package_name___
# Version : ___version___
# Summary : ___summary___

Por esto otro, osea rellenarlo

Código:
# Use this as variables:
# Package Name : decibel-audio-player
# Version : 1.08
# Summary : Open-source audio player for GNU/Linux

Yo ha sido hacer eso y me ha funcionado... esa parte no la tenía clara pues casi todos los paquetes que he hecho son con CMake y no había tenido que tocar ahí
Yoyo
Yoyo
Administrador

Mensajes : 1013
Puntos : 1361
Reputación : 73
Fecha de inscripción : 26/08/2010
Localización : Andalucía/España

http://parduslife.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por paran0id Jue Oct 20, 2011 7:06 pm

aaah!! Es que si no recuerdo mal, lo que hice fue solo crear los archivos action.py y pspec.xml, luego los compile con la terminal con pisi. De ahí que me haya sustituido las variables el pisido Wink

Eso es muy útil, por ejemplo, cuando tienes que crear el archivo .desktop (con su correspondiente carpeta files, claro).
paran0id
paran0id
Administrador

Mensajes : 305
Puntos : 378
Reputación : 37
Fecha de inscripción : 28/08/2010
Edad : 35
Localización : Barcelona

http://tuneatulinux.wordpress.com/

Volver arriba Ir abajo

Decibel Audio Player y PiSiDo  (paran0id) - (Solucionado) Empty Re: Decibel Audio Player y PiSiDo (paran0id) - (Solucionado)

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.