wok-current rev 18176

xombrero: link application icons, change desktop file
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 03 02:05:43 2015 +0300 (2015-07-03)
parents c3364b33da58
children c5bef900f5df
files locale-el/receipt xombrero/receipt xombrero/stuff/xombrero.conf xombrero/stuff/xombrero.desktop
line diff
     1.1 --- a/locale-el/receipt	Wed Jul 01 21:28:11 2015 +0000
     1.2 +++ b/locale-el/receipt	Fri Jul 03 02:05:43 2015 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6  PACKAGE="locale-el"
     1.7 -VERSION="4.2"
     1.8 +VERSION="5.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Greek locale pack"
    1.11  MAINTAINER="al.bobylev@gmail.com"
     2.1 --- a/xombrero/receipt	Wed Jul 01 21:28:11 2015 +0000
     2.2 +++ b/xombrero/receipt	Fri Jul 03 02:05:43 2015 +0300
     2.3 @@ -9,8 +9,10 @@
     2.4  WEB_SITE="https://opensource.conformal.com/wiki/xombrero"
     2.5  TARBALL="$PACKAGE-$VERSION.tgz"
     2.6  WGET_URL="https://opensource.conformal.com/snapshots/$PACKAGE/$TARBALL"
     2.7 +CONFIG_FILES="/etc/xombrero.conf"
     2.8  TAGS="web-browser"
     2.9  
    2.10 +SUGGESTED="cacerts"
    2.11  DEPENDS="gtk+ libwebkit libbsd"
    2.12  BUILD_DEPENDS="gtk+-dev libwebkit-dev libsoup-dev gnutls-dev libbsd-dev \
    2.13  groff wget"
    2.14 @@ -19,14 +21,21 @@
    2.15  compile_rules()
    2.16  {
    2.17  	find -type f -print0 | xargs -0 sed -i 's|/usr/local|/usr|'
    2.18 -	sed -i "s|xombrero %u|xombrero -f /etc/xombrero.conf %u|" xombrero.desktop
    2.19 +	cp -f $stuff/xombrero.desktop .
    2.20  	make PREFIX="/usr" -C linux GTK_VERSION="gtk2" install
    2.21  }
    2.22  
    2.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.24  genpkg_rules()
    2.25  {
    2.26 -	mkdir $fs/etc
    2.27 +	mkdir -p $fs/etc
    2.28  	cp -a $install/* $fs
    2.29  	cp $stuff/xombrero.conf $fs/etc
    2.30 +
    2.31 +	# Link icons
    2.32 +	for size in 16 32 48 64 128 256; do
    2.33 +		mkdir -p $fs/usr/share/icons/hicolor/${size}x$size/apps
    2.34 +		ln -s /usr/share/xombrero/xombreroicon$size.png \
    2.35 +			$fs/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png
    2.36 +	done
    2.37  }
     3.1 --- a/xombrero/stuff/xombrero.conf	Wed Jul 01 21:28:11 2015 +0000
     3.2 +++ b/xombrero/stuff/xombrero.conf	Fri Jul 03 02:05:43 2015 +0300
     3.3 @@ -38,7 +38,7 @@
     3.4  # spell_check_languages	= en_US
     3.5  # default_zoom_level	= 1.0
     3.6  # encoding		= UTF-8
     3.7 -# ssl_ca_file		= /etc/ssl/certs/ca-certificates.crt
     3.8 +# ssl_ca_file		= /etc/ssl/ca-bundle.crt
     3.9  # ssl_strict_certs	= 1
    3.10  # enable_strict_transport = 0
    3.11  # ctrl_click_focus	= 1
    3.12 @@ -99,6 +99,7 @@
    3.13  # external_editor	= gvim -f <file>
    3.14  # external_editor	= xterm -geometry 177x58+0+0 -font -*-fixed-medium-r-*-*-15-*-*-*-*-*-iso8859-* -e vim -f <file>
    3.15  # external_editor	= emacsclient -c <file>
    3.16 +external_editor = leafpad <file>
    3.17  
    3.18  # "default_script" points to a script executed by the run_script
    3.19  # command. The only argument passed to this script is the current URI.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/xombrero/stuff/xombrero.desktop	Fri Jul 03 02:05:43 2015 +0300
     4.3 @@ -0,0 +1,12 @@
     4.4 +[Desktop Entry]
     4.5 +Type=Application
     4.6 +Name=xombrero Browser
     4.7 +Name[ru]=Браузер xombrero
     4.8 +Comment=Minimalist's Web Browser
     4.9 +Comment[ru]=Минималистичный браузер
    4.10 +Exec=xombrero -f /etc/xombrero.conf %u
    4.11 +Icon=xombrero
    4.12 +Terminal=false
    4.13 +StartupNotify=false
    4.14 +Categories=Network;WebBrowser;
    4.15 +MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;