# HG changeset patch # User Aleksej Bobylev # Date 1362358719 0 # Node ID 0e5af63ef05012fed1704ce86d4ebbb25b868be1 # Parent aa987445591bb362de9a33d9bacbf3e1fc9aa22d Teach Cook how to use Bazaar diff -r aa987445591b -r 0e5af63ef050 cook --- a/cook Tue Feb 26 08:21:34 2013 +0100 +++ b/cook Mon Mar 04 00:58:39 2013 +0000 @@ -237,6 +237,24 @@ echo t | svn co $url $pkgsrc fi create_tarball ;; + bzr*) + url=${WGET_URL#bzr|} + gettext -e "Getting source from bazaar...\n" + cd $SRC + pkgsrc=${url#*:} + if [ "$BRANCH" ]; then + echo "bzr -Ossl.cert_reqs=none branch $url -r $BRANCH" + bzr -Ossl.cert_reqs=none branch $url -r $BRANCH + else + echo "bzr -Ossl.cert_reqs=none branch $url" + bzr -Ossl.cert_reqs=none branch $url + cd $pkgsrc && BRANCH=$(bzr revno) && cd .. + gettext -e "Don't forget to add to receipt:\n" + echo -e 'BRANCH="'$BRANCH'"'"\n\n" + fi + mv $pkgsrc $pkgsrc-$BRANCH + pkgsrc=$pkgsrc-$BRANCH + create_tarball ;; *) gettext -e "\nERROR: Unable to handle:"; echo -e " $WGET_URL \n" | \ tee -a $LOGS/$PACKAGE.log diff -r aa987445591b -r 0e5af63ef050 data/cookutils-doc.desktop --- a/data/cookutils-doc.desktop Tue Feb 26 08:21:34 2013 +0100 +++ b/data/cookutils-doc.desktop Mon Mar 04 00:58:39 2013 +0000 @@ -1,6 +1,7 @@ [Desktop Entry] +Type=Application Name=Cookutils Doc +Name[ru]=Документация CookUtils Exec=browser file:///usr/share/doc/cookutils/cookutils.html Icon=text-html -Type=Application -Categories=Documentation; +Categories=Documentation;System; diff -r aa987445591b -r 0e5af63ef050 doc/style.css --- a/doc/style.css Tue Feb 26 08:21:34 2013 +0100 +++ b/doc/style.css Mon Mar 04 00:58:39 2013 +0000 @@ -1,6 +1,9 @@ /* CSS style for SliTaz Doc */ -body { font: 88% sans-serif, vernada, arial; margin: 0; } +body { + font: 88% "DejaVu Sans", Ubuntu, "Droid Sans", "Liberation Sans", FreeSans, sans-serif; + margin: 0; +} h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; } h2 { color: #444; } h3 { color: #666; font-size: 140%; } a:hover { text-decoration: none; }