The .xcf loader referenced decodes only up to v002, which is too old to
be of value.
<title>wmf</title>\r
<para>libwmf0.2-7-gtk</para>\r
</section>\r
<title>wmf</title>\r
<para>libwmf0.2-7-gtk</para>\r
</section>\r
- <section id="xcf">\r
- <title>xcf</title>\r
- <para>\r
- <programlisting>https://gitorious.org/xcf-pixbuf-loader/mainline?p=xcf-pixbuf-loader:mainline.git;a=summary</programlisting>\r
- </para>\r
- </section>\r
<section id="jp2">\r
<title>JP2/JPC/JPX/J2K/JPF</title>\r
<para>If your distribution has the libpixbufloader-jasper.so loader, these file formats will also be displayed.</para>\r
<section id="jp2">\r
<title>JP2/JPC/JPX/J2K/JPF</title>\r
<para>If your distribution has the libpixbufloader-jasper.so loader, these file formats will also be displayed.</para>\r
description=$'
Geeqie is an image viewer.
This script will download, compile, and install Geeqie on Debian-based systems.
If run from a folder that already contains the Geeqie sources, the source
code will be updated from the repository.
description=$'
Geeqie is an image viewer.
This script will download, compile, and install Geeqie on Debian-based systems.
If run from a folder that already contains the Geeqie sources, the source
code will be updated from the repository.
-Dialogs allow the user to install additional features, including
-additional pixbuf loaders.
+Dialogs allow the user to install additional features.
Command line options are:
-v --version The version of this file
Command line options are:
-v --version The version of this file
-# Optional pixbuf loaders
-optional_loaders_array=(
-".xcf Gimp files"
-"xcf"
-)
-
####################################################################
# Get System Info
# Derived from: https://github.com/coto/server-easy-install (GPL)
####################################################################
# Get System Info
# Derived from: https://github.com/coto/server-easy-install (GPL)
-install_xcf()
-{
- rm -rf xcf-pixbuf-loader
- package_install libbz2-dev
- git clone https://github.com/StephaneDelcroix/xcf-pixbuf-loader.git
- cd xcf-pixbuf-loader
- ./autogen.sh
- make
-
- # There must be a better way...
- loader_locn=$(gdk-pixbuf-query-loaders | grep "LoaderDir" | tr -d '#[:space:]')
-
- OLDIFS=$IFS
- IFS='='
- set $loader_locn
- OLDIFS=$IFS
-
- if [ -d $2 ]
- then
- sudo --askpass cp .libs/libioxcf.so $2
- sudo --askpass gdk-pixbuf-query-loaders --update-cache
- fi
- cd -
- rm -rf xcf-pixbuf-loader
-}
-
-install_extra_loaders()
-{
- if [ -n "$extra_loaders" ]
- then
- OLDIFS=$IFS
- IFS='|'
- set $extra_loaders
- while [ $# -gt 0 ];
- do
- case $1 in
- "xcf" )
- install_xcf
- ;;
- esac
-
- shift
- done
- IFS=$OLDIFS
- fi
- return
-}
-
uninstall()
{
current_dir=$(basename $PWD)
uninstall()
{
current_dir=$(basename $PWD)
-# Get the optional loaders not yet installed
-((i=0))
-gdk-pixbuf-query-loaders | grep xcf >/dev/null
-if [[ $? == 1 ]]
-then
- if [ -z "$loaders_string" ]
- then
- loaders_string=$'FALSE\n'"${optional_loaders_array[$i]}"$'\n'"${optional_loaders_array[$i+1]}"
- else
- loaders_string="$loaders_string"$'\nFALSE\n'"${optional_loaders_array[$i]}"$'\n'"${optional_loaders_array[$i+1]}"
- fi
-fi
-
kill $zen_pid 2>/dev/null
# Ask the user which options to install
kill $zen_pid 2>/dev/null
# Ask the user which options to install
-# Ask the user which extra loaders to install
-if [ -n "$loaders_string" ]
-then
- extra_loaders=$(echo "$loaders_string" | zenity --title="$title" --width=370 --height=400 --list --checklist --text 'These loaders are not part of the main repository,\nbut are known to work to some extent.' --column='Select' --column='Library files' --column='Library' --hide-column=3 --print-column=3 2>/dev/null)
-
- if [[ $? == 1 ]]
- then
- exit_install
- fi
-fi
-
# Start of Zenity progress section
zen_pipe=$(mktemp --dry-run --tmpdir geeqie_install_pipe_XXXXXX)
mkfifo $zen_pipe
# Start of Zenity progress section
zen_pipe=$(mktemp --dry-run --tmpdir geeqie_install_pipe_XXXXXX)
mkfifo $zen_pipe
echo "6" > $zen_pipe
echo "#Installing extra loaders..." > $zen_pipe
echo "6" > $zen_pipe
echo "#Installing extra loaders..." > $zen_pipe
echo "10" > $zen_pipe
echo "#Getting new sources from server..." > $zen_pipe
echo "10" > $zen_pipe
echo "#Getting new sources from server..." > $zen_pipe