Commit 50cae84b by Ernesto Crespo Avila

Migrado de github

parents
canaima-radiotray-conf
======================
\ No newline at end of file
Section: misc
Priority: optional
Homepage: http://canaima.softwarelibre.gob.ve
Standards-Version: 3.9.1
Package: canaima-radiotray-conf
Version: 0.7
Maintainer: Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve>
Pre-Depends: radiotray,gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-bad, gir1.0-gstreamer-0.10,gstreamer0.10-ffmpeg, gstreamer0.10-ffmpeg-dbg, gstreamer0.10-nice, gstreamer0.10-plugins-base-apps, gstreamer0.10-plugins-base, libgstreamer-plugins-base0.10-0, gstreamer0.10-plugins-good, gstreamer0.10-pulseaudio
Depends: ${misc:Depends}
Architecture: all
Copyright: copyright
Changelog: changelog
Files: ./files/radiotray.desktop /etc/skel/.config/autostart/radiotray.desktop
./files/bookmarks.xml /etc/skel/.local/share/radiotray/bookmarks.xml
File: postinst
#!/bin/sh -e
# preinst for main-package-config. Divert some configuration file of main-package.
.
set -e
.
PKG=canaima-radiotray-conf
.
if [ "$1" = configure ] ; then
.
for usuario in /home/*? ; do
.
usuario_min=$(basename $usuario)
.
case $(grep "${usuario_min}:.*:.*:.*:.*:.*:::" /etc/shadow ) in
.
'')
#no se hace nada
;;
.
*)
usuario=${usuario_min}
.
if [ -f /home/${usuario}/.config/autostart/radiotray.desktop ];
.
then
.
cp -r /etc/skel/.config/autostart/radiotray.desktop /home/${usuario}/.config/autostart/radiotray.desktop
.
chown ${usuario}.${usuario} /home/${usuario}/.config/autostart/radiotray.desktop
else
.
mkdir -p /home/${usuario}/.config; chown -R ${usuario}.${usuario} /home/${usuario}/.config
.
mkdir -p /home/${usuario}/.config/autostart; chown -R ${usuario}.${usuario} /home/${usuario}/.config/autostart
.
cp -r /etc/skel/.config/autostart/radiotray.desktop /home/${usuario}/.config/autostart/radiotray.desktop
.
chown ${usuario}.${usuario} /home/${usuario}/.config/autostart/radiotray.desktop
.
fi
.
if [ -f /home/${usuario}/.local/share/radiotray/bookmarks.xml ];
.
then
.
cp -r /etc/skel/.local/share/radiotray/bookmarks.xml /home/${usuario}/.local/share/radiotray/bookmarks.xml
.
chown ${usuario}.${usuario} /home/${usuario}/.local/share/radiotray/bookmarks.xml
.
else
.
mkdir -p /home/${usuario}/.local; chown -R ${usuario}.${usuario} /home/${usuario}/.local
.
mkdir -p /home/${usuario}/.local/share; chown -R ${usuario}.${usuario} /home/${usuario}/.local/share
.
mkdir -p /home/${usuario}/.local/share/radiotray; chown -R ${usuario}.${usuario} /home/${usuario}/.local/share/radiotray
.
cp -r /etc/skel/.local/share/radiotray/bookmarks.xml /home/${usuario}/.local/share/radiotray/bookmarks.xml
.
chown ${usuario}.${usuario} /home/${usuario}/.local/share/radiotray/bookmarks.xml
.
fi
.
esac
.
done
.
fi
.
exit 0
File: prerm
#!/bin/sh -e
.
set -e
.
PKG=canaima-radiotray-conf
.
if [ "$1" = configure ] ; then
.
for usuario in /home/*? ; do
.
usuario_min=$(basename $usuario)
.
case $(grep "${usuario_min}:.*:.*:.*:.*:.*:::" /etc/shadow ) in
.
'')
#no se hace nada
;;
.
*)
usuario=${usuario_min}
.
if [ -f /home/${usuario}/.config/autostart/radiotray.desktop ];
.
then
.
rm -f /home/${usuario}/.config/autostart/radiotray.desktop
.
fi
.
if [ -f /home/${usuario}/.local/share/radiotray/bookmarks.xml ];
.
then
.
rm -f /home/${usuario}/.local/share/radiotray/bookmarks.xml
.
fi
.
esac
.
done
.
fi
.
exit 0
Description: Radiotray bookmarks to Venezuelan radio streaming
Radiotray config to autostart in gnome and radio stream bookmark
canaima-radiotray-conf (1:0.7) unstable; urgency=low
* Add gir1.0-gstreamer-0.10 in Pre-Depends.
* Add gstreamer0.10-ffmpeg in Pre-Depends.
* Add gstreamer0.10-ffmpeg-dbg in Pre-Depends.
* Add gstreamer0.10-nice in Pre-Depends.
* Add gstreamer0.10-plugins-base-apps in Pre-Depends.
* Add gstreamer0.10-plugins-base in Pre-Depends.
* Add libgstreamer-plugins-base0.10-0 in Pre-Depends.
* Add gstreamer0.10-plugins-good in Pre-Depends.
* Add gstreamer0.10-pulseaudio in Pre-Depends.
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Tue, 07 Aug 2012 09:32:49 -0430
canaima-radiotray-conf (1:0.6-3) unstable; urgency=low
* Remove pulseaudio depends.
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Wed, 04 Jul 2012 16:21:42 -0430
canaima-radiotray-conf (1:0.6-2) unstable; urgency=low
* Fix Enredate URL Bookmarks.
* Add Radio El arado y el mar.
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Wed, 04 Jul 2012 13:54:26 -0430
canaima-radiotray-conf (1:0.6-1) unstable; urgency=low
* Fix Alba Ciudad URL Bookmarks.
* Add Radio GNU URL Bookmarks.
* Add predepends in control file.
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Wed, 04 Jul 2012 11:40:04 -0430
canaima-radiotray-conf (1:0.5-3) unstable; urgency=low
* Fix bookmarks name.
* Change radiotray directory to files directory.
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Mon, 02 Jul 2012 16:47:44 -0430
canaima-radiotray-conf (1:0.5-2) unstable; urgency=low
* Fix error path in postinst file
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Fri, 20 Jan 2012 17:22:29 -0430
canaima-radiotray-conf (1:0.5-1) unstable; urgency=low
* Fix error path in postinst file
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Fri, 20 Jan 2012 14:38:12 -0430
canaima-radiotray-conf (1:0.5) unstable; urgency=low
* Change standard version to 3.9.1
* Change architecture to any
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Fri, 20 Jan 2012 11:47:20 -0430
canaima-radiotray-conf (1:0.4) unstable; urgency=low
* Fix error path in postinst file
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Fri, 20 Jan 2012 11:36:55 -0430
canaima-radiotray-conf (1:0.3) unstable; urgency=low
* Change posinst file
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Thu, 19 Jan 2012 17:32:14 -0430
canaima-radiotray-conf (1:0.2) unstable; urgency=low
* Add posinst and /prerm
-- Ermesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Thu, 12 Jan 2012 12:02:00 -0430
canaima-radiotray-conf (1:0.1) unstable; urgency=low
* First release.
-- Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve> Fri, 23 Dec 2011 10:57:05 -0430
Authors:
Copyright (C) 2011 Ernesto Nadir Crespo Avila <ecrespo@cenditel.gob.ve>
License:
This package 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; version 2 dated June, 1991.
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, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
<bookmarks>
<group name="root">
</group>
<group name="Medios Publicos">
<bookmark name="RNV Canal Clásico" url="http://www.telepuertovirtual2.tv/rnvclasico "/>
<bookmark name="AlbaCiudad 96.3" url="http://radio.albaciudad.org:8000/alba96.mp"/>
<bookmark name="RNV noticias" url="http://www.telepuertovirtual2.tv/rnvnoticias"/>
</group>
<group name="Comunidad de Software Libre">
<bookmark name="Software Libre Venezuela SOLVE" url="http://resorte.solve.web.ve:8000/RadioSolve.ogg"/>
<bookmark name="Radio Cooperativa Tecnológica Somos Libre Barinas" url="http://resorte.solve.web.ve:8000/RadioSLBarinas.ogg"/>
<bookmark name="Radio entreHackers" url="http://resorte.solve.web.ve:8000/entrehackers.ogg"/>
<bookmark name="Radio enredate" url="http://resorte.solve.web.ve:8000/enredate.ogg"/>
<bookmark name="Radio GNU" url="http://audio.radiognu.org/radiognu.ogg"/>
</group>
<group name="Varios">
<bookmark name="Radio Mágica 106.3 FM" url="http://resorte.solve.web.ve:8000/magicafm.ogg"/>
<bookmark name="El arado y el mar" url="http://184.82.117.136:9964/"/>
</group>
</bookmarks>
[Desktop Entry]
Type=Application
Exec=radiotray
Hidden=false
X-GNOME-Autostart-enabled=true
Name[es_VE]=radiotray
Name=radiotray
Comment[es_VE]=Cliente de radio por internet
Comment=Cliente de radio por internet
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