graphics/picasa: Updated for version 3.0.5744

This commit is contained in:
Robby Workman 2010-05-13 00:28:08 +02:00 committed by David Somero
parent 6105d7b369
commit 423eae9d46
5 changed files with 42 additions and 18 deletions

View File

@ -1,11 +1,15 @@
Google's Picasa Image Suite
Picasa is software that helps you instantly find, edit and share all
the pictures on your PC. Every time you open Picasa, it automatically
locates all your pictures (even ones you forgot you had) and sorts
them into visual albums organized by date with folder names you will
recognize. Picasa also makes advanced editing simple by putting one
click fixes and powerful effects at your fingertips.
Picasa is software that helps you instantly find, edit and share all the
pictures on your PC. Every time you open Picasa, it automatically locates
all your pictures (even ones you forgot you had) and sorts them into visual
albums organized by date with folder names you will recognize. Picasa also
makes advanced editing simple by putting one click fixes and powerful effects
at your fingertips.
NOTE: As best I can tell, the browser plugin and screensaver plugin
do not work correctly, if at all; patches are welcome.
NOTE: As best I can tell, the browser plugin and screensaver plugin do not
work correctly, if at all; patches are welcome.
Also note that while this should *build* a 64bit package, it requires 32bit
compatibility libraries to actually be usable. We don't support those those
here, so caveat lector.

View File

@ -1,8 +1,14 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View File

@ -1,8 +1,8 @@
#!/bin/bash
#
# Slackware build script of picasa (binary repackaging)
# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,8 +24,8 @@
PRGNAM=picasa
VERSION=${VERSION:-3.0.5744}
ARCH=${ARCH:-i386} # The binary is built for i386 - leave this alone
BUILD=${BUILD:-1}
ARCH=${ARCH:-i386}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -33,13 +33,22 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "x86_64" ]; then
SRCARCH=amd64
LIBDIRSUFFIX="64"
else
ARCH=i386
SRCARCH=i386
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
ar -x $CWD/picasa_3.0-current_i386.deb
ar -x $CWD/picasa_3.0-current_${SRCARCH}.deb
tar xvf data.tar.gz
rm data.tar.gz control.tar.gz debian-binary
chown -R root:root .
@ -68,7 +77,7 @@ sed -e s'|EXEC|picasafontcfg|' -e s'|ICON|picasa-fontcfg.xpm|' \
$PKG/opt/google/picasa/3.0/desktop/picasa-fontcfg.desktop.template \
> $PKG/usr/share/applications/google-picasa-fontcfg.desktop
for i in $PKG/usr/share/applications/*.desktop ; do
echo "Categories=Graphics;Photography;Photograph;Viewer;2DGraphics;Application;Applications" \
echo "Categories=Graphics;Photography;Photograph;Viewer;2DGraphics;" \
>> $i ;
done
@ -95,10 +104,13 @@ done
# Kill some stuff we don't need/want
rm -rf $PKG/usr/lib/{xulrunner-addons,mozilla-firefox,iceweasel,firefox}
rm -rf $PKG/usr/share/gconf
if [ "$ARCH" = "x86_64" ]; then
mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -c n -l y -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -c n -l y -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -3,6 +3,8 @@ VERSION="3.0.5744"
HOMEPAGE="http://picasa.google.com/"
DOWNLOAD="http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_3.0-current_i386.deb"
MD5SUM="4350390a4c2a0fadea9320221a8f9bb9"
DOWNLOAD_x86_64="http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_3.0-current_amd64.deb"
MD5SUM_x86_64="6accd6c633ece16acd177ffda0688572"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="dsomero"

View File

@ -14,6 +14,6 @@ picasa: locates all your pictures (even ones you forgot you had) and sorts
picasa: them into visual albums organized by date with folder names you will
picasa: recognize. Picasa also makes advanced editing simple by putting one
picasa: click fixes and powerful effects at your fingertips.
picasa:
picasa:
picasa: Homepage: http://picasa.google.com
picasa:
picasa: