From b9d930cb802cd93a7e607e17686d5906a0f01c75 Mon Sep 17 00:00:00 2001 From: wifislax-ng Date: Wed, 23 Mar 2016 04:20:11 +0100 Subject: [PATCH] Revisados updater gnome --- Desarrollo/zenity_updater | 20 ++- Juegos/four-in-a-row_updater | 41 ++---- Librerias/ORBit2_updater | 9 +- Librerias/gnome-mime-data_updater | 9 +- Librerias/gnome-vfs_updater | 9 +- Librerias/id3lib_updater | 209 ++++++++++++++++++++++++++++++ Librerias/libbonobo_updater | 9 +- Librerias/libbonoboui_updater | 9 +- Librerias/libgee1_updater | 10 +- Librerias/libgee_updater | 12 +- Librerias/libgnome_updater | 9 +- Librerias/libgnomecanvas_updater | 9 +- Librerias/libxml++_updater | 13 +- Librerias/qqwing_updater | 9 +- Librerias/yelp-tools_updater | 12 +- Librerias/yelp-xsl_updater | 12 +- Multimedia/brasero_updater | 4 +- Multimedia/easytag_updater | 21 ++- Oficina/glabels_updater | 13 +- Python/py3gobject3_updater | 4 +- 20 files changed, 328 insertions(+), 115 deletions(-) create mode 100755 Librerias/id3lib_updater diff --git a/Desarrollo/zenity_updater b/Desarrollo/zenity_updater index 0e6a699..3cb46ba 100755 --- a/Desarrollo/zenity_updater +++ b/Desarrollo/zenity_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151025 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,12 +18,18 @@ f_variables(){ F_variables() { PRGNAM=zenity echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.acc.umu.se/pub/gnome/sources/$PRGNAM/ - RAMA=`curl -s $WEB |grep -o -E 'href="([^"#]+)"'| grep "/"|tail -1|cut -d '"' -f2|cut -d "/" -f-1` - VERSION=`curl -s ${WEB}${RAMA}/|grep LATEST|cut -d- -f3|cut -d '"' -f-1` + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.xz SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=${WEB}${RAMA}/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES +} + +# Comprobar dependencias +F_dependencias(){ +DEPENDENCIAS="libgnomecanvas" +f_dependencias } # Descomprimimos el fichero descargado y compilamos @@ -74,6 +80,8 @@ f_comprobarUpdates f_arquitectura #Comprobamos version instalada del paquete f_versionInstalada +#Compronar dependencias +F_dependencias #Si no existe el fichero se descargara f_download #Preparamos entorno @@ -83,4 +91,4 @@ F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Juegos/four-in-a-row_updater b/Juegos/four-in-a-row_updater index 06c682f..72999e0 100755 --- a/Juegos/four-in-a-row_updater +++ b/Juegos/four-in-a-row_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151024 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,36 +18,16 @@ f_variables(){ F_variables() { PRGNAM=four-in-a-row echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/gnome/sources/$PRGNAM/ - RAMA=`curl -s $WEB | grep [0-9]/| tail -1 | cut -d '>' -f3 | cut -d / -f-1` - VERSION=`curl -s ${WEB}${RAMA}/ | grep .xz | tail -1 | cut -d- -f9 | cut -d t -f-1 | sed "s/.$//g"` - DOWNLOAD=http://ftp.gnome.org/pub/gnome/sources/$PRGNAM/$RAMA/$PRGNAM-$VERSION.tar.xz -} - -# Si el paquete no existe se descargara de internet -F_download(){ - if [ ! -f $PRGNAM-$VERSION.tar.xz ]; then - echo - echo "$CYAN"Descargando sources de $PRGNAM-$VERSION"$CIERRE" - sleep 1 - aria2c -x 3 $DOWNLOAD - fi + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` + EXTENSION=tar.xz + SOURCES=$PRGNAM-$VERSION.$EXTENSION + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Descomprimimos el fichero descargado y compilamos F_compilar(){ -echo -echo "$VERDE"Descomprimiendo ..."$CIERRE" -sleep 1 -tar xvf $PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - echo echo "$VERDE"Configurando ..."$CIERRE" sleep 1 @@ -55,6 +35,7 @@ sleep 1 CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -91,10 +72,12 @@ f_arquitectura #Comprobamos version instalada del paquete f_versionInstalada #Si no existe el fichero se descargara -F_download +f_download +#Preparamos entorno +f_preparar #Descomprimir fichero descargado y compilamos F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Librerias/ORBit2_updater b/Librerias/ORBit2_updater index 30230f0..75fe1cb 100755 --- a/Librerias/ORBit2_updater +++ b/Librerias/ORBit2_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160210 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,11 +18,12 @@ f_variables(){ F_variables() { PRGNAM=ORBit2 echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=ftp://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14 - VERSION=2.14.19 + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.bz2 SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=$WEB/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Descomprimimos el fichero descargado y compilamos diff --git a/Librerias/gnome-mime-data_updater b/Librerias/gnome-mime-data_updater index 8854c5d..de582b9 100755 --- a/Librerias/gnome-mime-data_updater +++ b/Librerias/gnome-mime-data_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160210 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,11 +18,12 @@ f_variables(){ F_variables() { PRGNAM=gnome-mime-data echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/GNOME/sources/$PRGNAM/2.18 - VERSION=2.18.0 + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.bz2 SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=$WEB/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Descomprimimos el fichero descargado y compilamos diff --git a/Librerias/gnome-vfs_updater b/Librerias/gnome-vfs_updater index 320eba4..6b7678f 100755 --- a/Librerias/gnome-vfs_updater +++ b/Librerias/gnome-vfs_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160210 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,11 +18,12 @@ f_variables(){ F_variables() { PRGNAM=gnome-vfs echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/GNOME/sources/$PRGNAM/2.24 - VERSION=2.24.4 + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.bz2 SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=$WEB/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Comprobar dependencias diff --git a/Librerias/id3lib_updater b/Librerias/id3lib_updater new file mode 100755 index 0000000..8a2d556 --- /dev/null +++ b/Librerias/id3lib_updater @@ -0,0 +1,209 @@ +#!/bin/sh + +# Script by www.seguridadwireless.net + +SCRIPT_VERSION=20160323 + +############################################################ +## Funciones comunes. Su nombre empieza por f_ ## +############################################################ +f_variables(){ + . /opt/wifislax-updaters/Funciones/funciones_updater +} + +############################################################ +## Funciones propias del script. Su nombre empieza por F_ ## +############################################################ +# Definicion de variables +F_variables() { + PRGNAM=id3lib + echo -ne "\033]2;${PRGNAM}_updater\007" + WEB=https://sourceforge.net/projects/id3lib/files/id3lib + RAMA=`curl -s $WEB/|grep -m1 "class=\"folder"|awk '{print $2}'|cut -d "\"" -f 2` + VERSION=`curl -s $WEB/$RAMA/|grep tar.gz|tail -1|cut -d- -f2|cut -d t -f-1|sed 's/.$//g'` + EXTENSION=tar.gz + SOURCES=$PRGNAM-$VERSION.$EXTENSION + DOWNLOAD=$WEB/$RAMA/$SOURCES +} + +# Descomprimimos el fichero descargado y compilamos +F_compilar(){ +if [ $VERSION = 3.8.3 ]; then + +echo +echo "$VERDE"Parcheando ..."$CIERRE" +sleep 1 + +echo " +ZGlmZiAtcnVOIGlkM2xpYi0zLjguMy5vcmlnL0NoYW5nZUxvZyBpZDNsaWItMy44LjMvQ2hhbmdl +TG9nCi0tLSBpZDNsaWItMy44LjMub3JpZy9DaGFuZ2VMb2cJMjAwMy0wMy0wMiAwMToyMzowMC4w +MDAwMDAwMDAgKzAxMDAKKysrIGlkM2xpYi0zLjguMy9DaGFuZ2VMb2cJMjAwNi0wMi0yMiAwMDoz +Mzo1OS45NDYyMTQ0NzIgKzAxMDAKQEAgLTEsMyArMSw4IEBACisyMDA2LTAyLTE3ICBKZXJvbWUg +Q291ZGVyYworCisgICAgKiBQYXRjaCBmcm9tIFNwb29uIHRvIGZpeCBVVEYtMTYgd3JpdGluZyBi +dWcKKyAgICAgIGh0dHA6Ly9zb3VyY2Vmb3JnZS5uZXQvdHJhY2tlci9pbmRleC5waHA/ZnVuYz1k +ZXRhaWwmYWlkPTEwMTYyOTAmZ3JvdXBfaWQ9OTc5JmF0aWQ9MzAwOTc5CisKIDIwMDMtMDMtMDIg +U3VuZGF5IDE3OjM4ICAgVGhpam1lbiBLbG9rIDx0aGlqbWVuQGlkM2xpYi5vcmc+CiAKIAkqIFRI +QU5LUyAoMS4yMCk6IGFkZGVkIG1vcmUgcGVvcGxlIApkaWZmIC1ydU4gaWQzbGliLTMuOC4zLm9y +aWcvc3JjL2lvX2hlbHBlcnMuY3BwIGlkM2xpYi0zLjguMy9zcmMvaW9faGVscGVycy5jcHAKLS0t +IGlkM2xpYi0zLjguMy5vcmlnL3NyYy9pb19oZWxwZXJzLmNwcAkyMDAzLTAzLTAyIDAxOjIzOjAw +LjAwMDAwMDAwMCArMDEwMAorKysgaWQzbGliLTMuOC4zL3NyYy9pb19oZWxwZXJzLmNwcAk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y8gRW5kIHBhdGNoCiAgIH0KICAgcmV0dXJuIHdyaXRlci5nZXRDdXIoKSAtIGJlZzsK +IH0K" | base64 -d > $TMP/id3lib_3.8.3_UTF16_writing_bug.patch + +echo " +U3VibWl0dGVkIEJ5OiAgICAgICAgICAgIHppcHBvIHppcHBvQG9wcGl6Lm5ldApEYXRlOiAgICAg +ICAgICAgICAgICAgICAgMjAwOC0xMC0yOApJbml0aWFsIFBhY2thZ2UgVmVyc2lvbjogMy44LjMK +VXBzdHJlYW0gU3RhdHVzOiAgICAgICAgIFVua25vd24KT3JpZ2luOiAgICAgICAgICAgICAgICAg +IHppcHBvQG9wcGl6Lm5ldApEZXNjcmlwdGlvbjpGaXhlcyB0aGluZ3MgdXAgZm9yIEdDQy00LjMu +MgoKZGlmZiAtTmF1ciBpZDNsaWItMy44LjMvZXhhbXBsZXMvZGVtb19jb252ZXJ0LmNwcCAzMi9p +ZDNsaWItMy44LjMvZXhhbXBsZXMvZGVtb19jb252ZXJ0LmNwcAotLS0gaWQzbGliLTMuOC4zL2V4 +YW1wbGVzL2RlbW9fY29udmVydC5jcHAJMjAwMy0wMy0wMiAwMDoyMzowMC4wMDAwMDAwMDAgKzAw +MDAKKysrIDMyL2lkM2xpYi0zLjguMy9leGFtcGxlcy9kZW1vX2NvbnZlcnQuY3BwCTIwMDgtMTAt +MjkgMjA6MTA6MDQuMDAwMDAwMDAwICswMDAwCkBAIC04NCw3ICs4NCw3IEBACiAgIH0KIH0KIAot +aW50IG1haW4oIHVuc2lnbmVkIGludCBhcmdjLCBjaGFyICogY29uc3QgYXJndltdKQoraW50IG1h +aW4oaW50IGFyZ2MsIGNoYXIgKiBjb25zdCBhcmd2W10pCiB7CiAgIGZsYWdzX3QgdWxGbGFnID0g +SUQzVFRfQUxMOwogICBnZW5nZXRvcHRfYXJnc19pbmZvIGFyZ3M7CmRpZmYgLU5hdXIgaWQzbGli +LTMuOC4zL2V4YW1wbGVzL2RlbW9fY29weS5jcHAgMzIvaWQzbG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pbXBsZW1lbnRlZCBmcmFtZXMg +c28gdGhhdCB0aGVpciBkYXRhIGlzIHByZXNlcnZlZCB3aGVuCg== +" | base64 -d > $TMP/id3lib-3.8.3-GCC43FIX-1.patch + +echo " +LS0tIGEvRG94eWZpbGUuaW4JMjAwNS0wMS0wNSAxNDoyNzowNS4wMDAwMDAwMDAgKzAxMDAKKysr +IGIvRG94eWZpbGUuaW4JMjAwNS0wMS0wNSAxNDozMDoxOS4wMDAwMDAwMDAgKzAxMDAKQEAgLTI2 +MywxNCArMjYzLDE3IEBACiAKIElOUFVUICAgICAgICAgICAgICAgICAgPSAuLi9zcmMgXAogICAg +ICAgICAgICAgICAgICAgICAgICAgIC4uL2luY2x1ZGUvaWQzL2ZpZWxkLmggXAotICAgICAgICAg +ICAgICAgICAgICAgICAgIC4uL2luY2x1ZGUvaWQzL2ZyYW1lLmggXAogICAgICAgICAgICAgICAg +ICAgICAgICAgIC4uL2luY2x1ZGUvaWQzL2dsb2JhbHMuaCBcCisgICAgICAgICAgICAgICAgICAg +ICAgICAgLi4vaW5jbHVkZS9pZDMvaGVscGVycy5oIFwKKyAgICAgICAgICAgICAgICAgICAgICAg +ICAuLi9pbmNsdWRlL2lkMy9pZDNsaWJfZnJhbWUuaCBcCisgICAgICAgICAgICAgICAgICAgICAg +ICAgLi4vaW5jbHVkZS9pZDMvaWQzbGliX3N0cmVhbXMuaCBcCisgICAgICAgICAgICAgICAgICAg +ICAgICAgLi4vaW5jbHVkZS9pZDMvaWQzbGliX3N0cmluZ3MuaCBcCiAgICAgICAgICAgICAgICAg +ICAgICAgICAgLi4vaW5jbHVkZS9pZDMvbWlzY19zdXBwb3J0LmggXAogICAgICAgICAgICAgICAg +ICAgICAgICAgIC4uL2luY2x1ZGUvaWQzL3JlYWRlci5oIFwKICAgICAgICAgICAgICAgICAgICAg +ICAgICAuLi9pbmNsdWRlL2lkMy9yZWFkZXJzLmggXAogICAgICAgICAgICAgICAgICAgICAgICAg +IC4uL2luY2x1ZGUvaWQzL3NpemVkX3R5cGVzLmggXAogICAgICAgICAgICAgICAgICAgICAgICAg +IC4uL2luY2x1ZGUvaWQzL3RhZy5oIFwKLSAgICAgICAgICAgICAgICAgICAgICAgICAuLi9pbmNs +dWRlL2lkMy90YWcuaCBcCisgICAgICAgICAgICAgICAgICAgICAgICAgLi4vaW5jbHVkZS9pZDMv +dXRpbHMuaCBcCiAgICAgICAgICAgICAgICAgICAgICAgICAgLi4vaW5jbHVkZS9pZDMvd3JpdGVy +LmggXAogICAgICAgICAgICAgICAgICAgICAgICAgIC4uL2luY2x1ZGUvaWQzL3dyaXRlcnMuaAog +Cg==" | base64 -d > $TMP/id3lib_Doxyfile.patch + + +patch -p1 < $TMP/id3lib_3.8.3_UTF16_writing_bug.patch || exit 1 +patch -p1 < $TMP/id3lib-3.8.3-GCC43FIX-1.patch || exit 1 +patch -p1 -d doc < $TMP/id3lib_Doxyfile.patch || exit 1 +fi + +echo +echo "$VERDE"Configurando ..."$CIERRE" +sleep 1 + +sed -i "s%iomanip.h%iomanip%g" configure + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --enable-static=no \ + --enable-debug=no \ + --build=$ARCH-slackware-linux + +echo +echo "$VERDE"Compilando ..."$CIERRE" +sleep 1 + +make || exit 1 +make install DESTDIR=$PKG || exit 1 +} + +################################### +## BLOQUE PRINCIPAL DE EJECUCION ## +################################### +# Si se cierra el script inesperadamente, ejecutar la funcion de limpieza +trap f_exitmode SIGHUP SIGINT + +#Inicializamos las variables globales +f_variables +#Comprobamos conexion a Internet +f_comprobarConexion +#Inicializamos las variables del script +F_variables +#Creamos directorio de trabajo +f_directorioTemporal +#Mostramos el mensaje de presentacion +f_presentacion +#Comprobamos updates del script +f_comprobarUpdates +#Asignamos o detectamos arquitectura +f_arquitectura +#Comprobamos version instalada del paquete +f_versionInstalada +#Si no existe el fichero se descargara +f_download +#Preparamos entorno +f_preparar +#Descomprimir fichero descargado y compilamos +F_compilar +#Hacemos strip sobre el paquete +f_strip +#Creamos xzm , instalamos y salimos +f_tareasFinales \ No newline at end of file diff --git a/Librerias/libbonobo_updater b/Librerias/libbonobo_updater index 4b3bbd6..9d45b65 100755 --- a/Librerias/libbonobo_updater +++ b/Librerias/libbonobo_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160210 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,11 +18,12 @@ f_variables(){ F_variables() { PRGNAM=libbonobo echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/gnome/sources/$PRGNAM/2.32 - VERSION=2.32.1 + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.bz2 SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=$WEB/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Comprobar dependencias diff --git a/Librerias/libbonoboui_updater b/Librerias/libbonoboui_updater index 672906b..b3f58b0 100755 --- a/Librerias/libbonoboui_updater +++ b/Librerias/libbonoboui_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160210 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,11 +18,12 @@ f_variables(){ F_variables() { PRGNAM=libbonoboui echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.acc.umu.se/pub/gnome/sources - VERSION=2.24.5 + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.bz2 SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=$WEB/$PRGNAM/2.24/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Comprobar dependencias diff --git a/Librerias/libgee1_updater b/Librerias/libgee1_updater index 936786d..b217713 100755 --- a/Librerias/libgee1_updater +++ b/Librerias/libgee1_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151024 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -19,14 +19,12 @@ F_variables() { PRGNAM=libgee1 SRCNAM=libgee echo -ne "\033]2;${SRCNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/gnome/sources/$SRCNAM/ - #RAMA=`curl -s $WEB | grep [0-9]/| tail -1 | cut -d '>' -f3 | cut -d / -f-1` + WEB=http://ftp.gnome.org/pub/gnome/sources/$SRCNAM RAMA=0.6 VERSION=0.6.8 - #VERSION=`curl -s ${WEB}${RAMA}/ | grep .xz | tail -1 | cut -d- -f3 | cut -d t -f-1 | sed "s/.$//g"` EXTENSION=tar.xz SOURCES=$SRCNAM-$VERSION.$EXTENSION - DOWNLOAD=http://ftp.gnome.org/pub/gnome/sources/$SRCNAM/$RAMA/$SOURCES + DOWNLOAD=$WEB/$RAMA/$SOURCES } # Descomprimimos el fichero descargado y compilamos @@ -83,4 +81,4 @@ F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Librerias/libgee_updater b/Librerias/libgee_updater index dccbebf..05f2168 100755 --- a/Librerias/libgee_updater +++ b/Librerias/libgee_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151024 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,12 +18,12 @@ f_variables(){ F_variables() { PRGNAM=libgee echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/gnome/sources/$PRGNAM/ - RAMA=`curl -s $WEB | grep [0-9]/| tail -1 | cut -d '>' -f3 | cut -d / -f-1` - VERSION=`curl -s ${WEB}${RAMA}/ | grep .xz | tail -1 | cut -d- -f3 | cut -d t -f-1 | sed "s/.$//g"` + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.xz SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=http://ftp.gnome.org/pub/gnome/sources/$PRGNAM/$RAMA/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Descomprimimos el fichero descargado y compilamos @@ -80,4 +80,4 @@ F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Librerias/libgnome_updater b/Librerias/libgnome_updater index f3e9b38..2ba9186 100755 --- a/Librerias/libgnome_updater +++ b/Librerias/libgnome_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160211 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,11 +18,12 @@ f_variables(){ F_variables() { PRGNAM=libgnome echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/GNOME/sources/$PRGNAM/2.32 - VERSION=2.32.1 + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.bz2 SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=$WEB/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Comprobar dependencias diff --git a/Librerias/libgnomecanvas_updater b/Librerias/libgnomecanvas_updater index a17be06..33619aa 100755 --- a/Librerias/libgnomecanvas_updater +++ b/Librerias/libgnomecanvas_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160211 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,11 +18,12 @@ f_variables(){ F_variables() { PRGNAM=libgnomecanvas echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/gnome/sources/$PRGNAM/2.30 - VERSION=2.30.3 + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.bz2 SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=$WEB/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Descomprimimos el fichero descargado y compilamos diff --git a/Librerias/libxml++_updater b/Librerias/libxml++_updater index 2f6da58..2bd024f 100755 --- a/Librerias/libxml++_updater +++ b/Librerias/libxml++_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160315 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,15 +18,12 @@ f_variables(){ F_variables() { PRGNAM=libxml++ echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/GNOME/sources/$PRGNAM - #RAMA=`curl -s $WEB/|grep 'href="[0-9]'|tail -1|cut -d '"' -f2|sed 's/.$//g'` - #VERSION=`curl -s $WEB/$RAMA/|grep LATEST-IS|head -1|cut -d - -f3|cut -d '"' -f-1` - # Fixed version -> rompe libffado - RAMA=2.40 - VERSION=2.40.1 + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.xz SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=$WEB/$RAMA/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Descomprimimos el fichero descargado y compilamos diff --git a/Librerias/qqwing_updater b/Librerias/qqwing_updater index 5ca4031..461a54f 100755 --- a/Librerias/qqwing_updater +++ b/Librerias/qqwing_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151024 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,8 +18,8 @@ f_variables(){ F_variables() { PRGNAM=qqwing echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://qqwing.com/ - VERSION=1.3.1 + WEB=https://github.com/stephenostermiller/qqwing + VERSION=`curl -s $WEB/releases|grep tar.gz|head -1|cut -d / -f5|cut -d t -f-1|sed 's/.$//g'|cut -d v -f2` EXTENSION=tar.gz SOURCES=$PRGNAM-$VERSION.$EXTENSION DOWNLOAD=http://qqwing.com/$SOURCES @@ -33,6 +33,7 @@ sleep 1 CFLAGS="$SLKCFLAGS" \ ./configure \ +--libdir=/usr/lib${LIBDIRSUFFIX} \ --prefix=/usr echo @@ -74,4 +75,4 @@ F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Librerias/yelp-tools_updater b/Librerias/yelp-tools_updater index 3058788..a52a38e 100755 --- a/Librerias/yelp-tools_updater +++ b/Librerias/yelp-tools_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151024 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,12 +18,12 @@ f_variables(){ F_variables() { PRGNAM=yelp-tools echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.acc.umu.se/pub/gnome/sources/$PRGNAM/ - RAMA=`curl -s $WEB | grep [0-9]/ | tail -1 | cut -d '>' -f3 | cut -d '/' -f-1` - VERSION=`curl -s $WEB$RAMA/ | grep .xz | tail -1 | cut -d - -f3 | cut -d t -f-1 | sed 's/.$//g'` + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.xz SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=http://ftp.acc.umu.se/pub/gnome/sources/$PRGNAM/$RAMA/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Comprobar dependencias @@ -86,4 +86,4 @@ F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Librerias/yelp-xsl_updater b/Librerias/yelp-xsl_updater index 849ef12..52a049d 100755 --- a/Librerias/yelp-xsl_updater +++ b/Librerias/yelp-xsl_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151024 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,12 +18,12 @@ f_variables(){ F_variables() { PRGNAM=yelp-xsl echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.acc.umu.se/pub/gnome/sources/$PRGNAM/ - RAMA=`curl -s $WEB | grep [0-9]/ | tail -1 | cut -d '>' -f3 | cut -d '/' -f-1` - VERSION=`curl -s $WEB$RAMA/ | grep .xz | tail -1 | cut -d - -f3 | cut -d t -f-1 | sed 's/.$//g'` + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.xz SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=http://ftp.acc.umu.se/pub/gnome/sources/$PRGNAM/$RAMA/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Descomprimimos el fichero descargado y compilamos @@ -80,4 +80,4 @@ F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Multimedia/brasero_updater b/Multimedia/brasero_updater index 1c80ffa..fbeb954 100755 --- a/Multimedia/brasero_updater +++ b/Multimedia/brasero_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160322 +SCRIPT_VERSION=20160324 CATEGORIA=Grabacion ############################################################ @@ -21,7 +21,7 @@ F_variables() { echo -ne "\033]2;${PRGNAM}_updater\007" WEB=https://download.gnome.org/sources/$PRGNAM RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` - VERSION=`curl -s ${WEB}/${RAMA}/|egrep -o "IS-$RAMA.[0-9]{1,2}"|cut -d- -f2|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.xz SOURCES=$PRGNAM-$VERSION.$EXTENSION DOWNLOAD=$WEB/$RAMA/$SOURCES diff --git a/Multimedia/easytag_updater b/Multimedia/easytag_updater index 7f7e5ff..3abb149 100755 --- a/Multimedia/easytag_updater +++ b/Multimedia/easytag_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151024 +SCRIPT_VERSION=20160323 CATEGORIA="Editores de audio" ############################################################ @@ -19,12 +19,18 @@ f_variables(){ F_variables() { PRGNAM=easytag echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/gnome/sources/$PRGNAM/ - RAMA=`curl -s $WEB | grep [0-9]/| tail -1 | cut -d '>' -f3 | cut -d / -f-1` - VERSION=`curl -s ${WEB}${RAMA}/ | grep .xz | tail -1 | cut -d- -f2 | cut -d t -f-1 | sed "s/.$//g"` + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.xz SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=http://ftp.gnome.org/pub/gnome/sources/$PRGNAM/$RAMA/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES +} + +# Comprobar dependencias +F_dependencias(){ +DEPENDENCIAS="id3lib" +f_dependencias } # Descomprimimos el fichero descargado y compilamos @@ -37,6 +43,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --disable-nautilus-actions \ --build=$ARCH-slackware-linux @@ -71,6 +78,8 @@ f_comprobarUpdates f_arquitectura #Comprobamos version instalada del paquete f_versionInstalada +# Comprobar dependencias +F_dependencias #Si no existe el fichero se descargara f_download #Preparamos entorno @@ -80,4 +89,4 @@ F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Oficina/glabels_updater b/Oficina/glabels_updater index 7c78f32..7aa275a 100755 --- a/Oficina/glabels_updater +++ b/Oficina/glabels_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160402 +SCRIPT_VERSION=20160323 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,12 +18,12 @@ f_variables(){ F_variables() { PRGNAM=glabels echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=http://ftp.gnome.org/pub/GNOME/sources/$PRGNAM/ - RAMA=`curl -s $WEB|grep 'href="[0-9]'|tail -1|cut -d '"' -f2|cut -d / -f-1` - VERSION=`curl -s $WEB${RAMA}/|grep LATEST-IS|cut -d- -f3|cut -d '"' -f-1` + WEB=https://download.gnome.org/sources/$PRGNAM + RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.xz SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=http://ftp.gnome.org/pub/GNOME/sources/$PRGNAM/$RAMA/$SOURCES + DOWNLOAD=${WEB}/${RAMA}/$SOURCES } # Descomprimimos el fichero descargado y compilamos @@ -36,6 +36,7 @@ sleep 1 CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ @@ -80,4 +81,4 @@ F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Python/py3gobject3_updater b/Python/py3gobject3_updater index 7385483..3deab3a 100755 --- a/Python/py3gobject3_updater +++ b/Python/py3gobject3_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160323 +SCRIPT_VERSION=20160324 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -21,7 +21,7 @@ F_variables() { echo -ne "\033]2;${PRGNAM}_updater\007" WEB=http://ftp.gnome.org/pub/gnome/sources/$SRCNAM RAMA=`curl -s $WEB/|egrep -o ">[0-9].[0-9]{1,2}/"|tr -d '>/'|egrep -v "1$|3$|5$|7$|9$"|tail -1` - VERSION=`curl -s ${WEB}/${RAMA}/|egrep -o "IS-$RAMA.[0-9]{1,2}"|cut -d- -f2|tail -1` + VERSION=`curl -s ${WEB}/${RAMA}/|grep LATEST|tail -1|cut -d- -f3|cut -d '"' -f-1` EXTENSION=tar.xz SOURCES=$SRCNAM-$VERSION.$EXTENSION DOWNLOAD=$WEB/$RAMA/$SOURCES