Skip to content

Commit

Permalink
next; unmount on exit not default
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnorantGuru committed Apr 18, 2012
1 parent 3eb766c commit 3c23ed5
Show file tree
Hide file tree
Showing 11 changed files with 129 additions and 129 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,3 +1,6 @@
0.7.6
unmount on exit no longer default (affects new installs)

0.7.5 2012-04-14:
replaced udisks with libudev kernel support for device detection and info
udisks v1 & v2 now supported for mount/unmount as normal user
Expand Down
117 changes: 24 additions & 93 deletions README
@@ -1,9 +1,7 @@
README for SpaceFM v0.7.5 ALPHA TEST VERSION
README for SpaceFM v0.7.5+ ALPHA TEST VERSION


USE AT YOUR OWN RISK

This is a test release - please test functions carefully
This is a test release - please test functions carefully


For updates and instructions visit:
Expand Down Expand Up @@ -34,30 +32,30 @@ DESCRIPTION

PACKAGES

Debian/Ubuntu packages are available here:
NOTE: These convenience deb packages contain the source code and will
build and install SpaceFM automatically.
antiX's current test release includes spacefm:
http://news.softpedia.com/news/AntiX-M12-test-2-Has-Linux-Kernel-3-2-9-256940.shtml

Arch Linux's AUR includes spacefm and spacefm-git:
http://aur.archlinux.org/packages.php?ID=55777
http://aur.archlinux.org/packages.php?ID=58247

Debian-based deb packages are available in Downloads (to save a file, click
on its filename and click 'View Raw'):
https://github.com/IgnorantGuru/spacefm/tree/master/packages

and are also available in the author's PPA:
http://igurublog.wordpress.com/downloads/ppa/

These convenience deb packages contain the source code and will build
and install SpaceFM automatically on most Debian-based distros.

NOTE: libgtk must be >= 2.24. Debian Squeeze and Ubuntu 10.04 users
may not be able to install SpaceFM due to repositories missing
package libgdk-pixbuf2.0-0

https://github.com/IgnorantGuru/spacefm/tree/master/packages
(To save a file, click on its filename and click 'View Raw')

also available via the author's PPA:
http://igurublog.wordpress.com/downloads/ppa/

For signatures and SHA256 sums see
http://ignorantguru.github.com/spacefm/spacefm.SHA256.txt

antiX's current test release includes spacefm:
http://news.softpedia.com/news/AntiX-M12-test-2-Has-Linux-Kernel-3-2-9-256940.shtml

Arch Linux's AUR includes spacefm and spacefm-git:
http://aur.archlinux.org/packages.php?ID=55777
http://aur.archlinux.org/packages.php?ID=58247

Foresight Lxde uses SpaceFM as its default file manager; Foresight includes
spacefm in its repositories:
http://www.foresightlinux.se/wiki-en/index.php?title=Spacefm
Expand All @@ -80,6 +78,8 @@ PACKAGES
Sabayon includes spacefm in its repositories:
http://www.sabayon.org/

Ubuntu: see 'Debian-based' above

VectorLinux has spacefm test packages available:
http://vectorlinux.com/

Expand Down Expand Up @@ -114,8 +114,8 @@ BUILD
1) Install required build dependencies (below are Debian package names -
packages names on your distro may vary but should be similar):

autotools-dev bash dbus desktop-file-utils libc6 libcairo2 libdbus-1-3
libglib2.0-0 libgtk2.0-0 (>=2.24) libpango1.0-0
autotools-dev bash build-essential dbus desktop-file-utils libc6
libcairo2 libdbus-1-3 libglib2.0-0 libgtk2.0-0 (>=2.24) libpango1.0-0
libstartup-notification0 libx11-6 shared-mime-info intltool pkg-config
libgtk2.0-dev libglib2.0-dev fakeroot libstartup-notification0-dev
libdbus-1-dev libgdk-pixbuf2.0-0 libudev0 (>=143) libudev-dev
Expand Down Expand Up @@ -289,79 +289,10 @@ Otherwise, run these command AS ROOT:
update-desktop-database -q



TRANSLATIONS

Translating SpaceFM doesn't require any special tools - just a text editor.
To create a translation of SpaceFM for your language, follow these steps.

1) Install build dependencies listed above in BUILD, download the SpaceFM
source code tarball, and extract it.

2) Open a terminal and enter the source code subdirectory 'po'

3) Generate a spacefm.pot file:

intltool-update --pot

4) Create a .po file for your language. This example uses french (fr) -
change 'fr' in the examples below to your language:

cp fr.po fr-old.po # copy the old po file for reference
cp spacefm.pot fr.po # create a new po file

5) Open fr.po in your text editor. Translate each msgid into the
corresponding msgstr. To see examples, consult fr-old.po

6) cd into the directory containing configure and run make normally:

cd ..
./configure
make

If necessary, correct any syntax errors or warnings produced by make
relating to your .po file and repeat step 6 until make is successful.

7) Test your translation by installing and running spacefm:

sudo make install
rm -rf /tmp/spacefm-test
spacefm --config-dir /tmp/spacefm-test

NOTE: Because of SpaceFM's design mode, your newly translated strings will
only appear in menu item names when starting with a fresh config
directory as shown above.

8) Once translations in menus and dialogs are the way you want them, release
your translated .po file:

If you are familiar with github, you can clone the spacefm repo and do a
pull request.

OR, add the .po file to a public gist https://gist.github.com/ or host
it elsewhere, then open a new issue asking for your file to be merged into
the source: https://github.com/IgnorantGuru/spacefm/issues/new

OR, email your .po file: http://igurublog.wordpress.com/contact-ignorantguru/

9) Translated strings will change occassionally as new SpaceFM versions are
released. To update your translation:

Generate a spacefm.pot file:

intltool-update --pot

Then merge the new strings with the already translated ones:

intltool-update --dist fr

OR, if you don’t want to overwrite fr.po initially, you can merge into a
new test file:

intltool-update --dist --output-file=fr-test.po fr

Then complete any missing or fuzzy translations in the .po file, and repeat
steps 7 and 8.
Adding or updating a translation of SpaceFM doesn't require any special tools,
just a text editor. For instructions, see the TRANSLATE file.


LICENSE
Expand Down
77 changes: 77 additions & 0 deletions TRANSLATE
@@ -0,0 +1,77 @@
TRANSLATIONS

Translating SpaceFM doesn't require any special tools - just a text editor.
To create a translation of SpaceFM for your language, follow these steps.

1) Install build dependencies listed above in BUILD, download the SpaceFM
source code tarball, and extract it.

2) Open a terminal and enter the source code subdirectory 'po'

3) Generate a spacefm.pot file:

intltool-update --pot

4) Create a .po file for your language. This example uses french (fr) -
change 'fr' in the examples below to your language:

cp fr.po fr-old.po # copy the old po file for reference
cp spacefm.pot fr.po # create a new po file

5) Open fr.po in your text editor. Translate each msgid into the
corresponding msgstr. To see examples, consult fr-old.po

6) cd into the directory containing configure and run make normally:

cd ..
./configure
make

If necessary, correct any syntax errors or warnings produced by make
relating to your .po file and repeat step 6 until make is successful.

7) Test your translation by installing and running spacefm:

sudo make install
rm -rf /tmp/spacefm-test
spacefm --config-dir /tmp/spacefm-test

NOTE: Because of SpaceFM's design mode, your newly translated strings will
only appear in menu item names when starting with a fresh config
directory as shown above.

To start spacefm with a particular locale:

LANG=fr_FR.utf8 spacefm --config-dir /tmp/spacefm-test

8) Once translations in menus and dialogs are the way you want them, release
your translated .po file:

If you are familiar with github, you can clone the spacefm repo and do a
pull request.

OR, add the .po file to a public gist https://gist.github.com/ or host
it elsewhere, then open a new issue asking for your file to be merged into
the source: https://github.com/IgnorantGuru/spacefm/issues/new

OR, email your .po file: http://igurublog.wordpress.com/contact-ignorantguru/

9) Translated strings will change occassionally as new SpaceFM versions are
released. To update your translation:

Generate a spacefm.pot file:

intltool-update --pot

Then merge the new strings with the already translated ones:

intltool-update --dist fr

OR, if you don’t want to overwrite fr.po initially, you can merge into a
new test file:

intltool-update --dist --output-file=fr-test.po fr

Then complete any missing or fuzzy translations in the .po file, and repeat
steps 7 and 8.

20 changes: 10 additions & 10 deletions configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for spacefm 0.7.5.
# Generated by GNU Autoconf 2.68 for spacefm 0.7.5+.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Expand Down Expand Up @@ -567,8 +567,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='spacefm'
PACKAGE_TARNAME='spacefm'
PACKAGE_VERSION='0.7.5'
PACKAGE_STRING='spacefm 0.7.5'
PACKAGE_VERSION='0.7.5+'
PACKAGE_STRING='spacefm 0.7.5+'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1376,7 +1376,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures spacefm 0.7.5 to adapt to many kinds of systems.
\`configure' configures spacefm 0.7.5+ to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1446,7 +1446,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of spacefm 0.7.5:";;
short | recursive ) echo "Configuration of spacefm 0.7.5+:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1579,7 +1579,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
spacefm configure 0.7.5
spacefm configure 0.7.5+
generated by GNU Autoconf 2.68

Copyright (C) 2010 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1944,7 +1944,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by spacefm $as_me 0.7.5, which was
It was created by spacefm $as_me 0.7.5+, which was
generated by GNU Autoconf 2.68. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -2763,7 +2763,7 @@ fi

# Define the identity of the package.
PACKAGE='spacefm'
VERSION='0.7.5'
VERSION='0.7.5+'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -15859,7 +15859,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by spacefm $as_me 0.7.5, which was
This file was extended by spacefm $as_me 0.7.5+, which was
generated by GNU Autoconf 2.68. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -15916,7 +15916,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
spacefm config.status 0.7.5
spacefm config.status 0.7.5+
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.in
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.

AC_INIT([spacefm], [0.7.5])
AC_INIT([spacefm], [0.7.5+])
AC_CONFIG_SRCDIR([src/main.c])
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
Expand Down
13 changes: 4 additions & 9 deletions data/spacefm-mansrc-en.html
Expand Up @@ -53,12 +53,7 @@

<p><li>Provide extensive <b>system maintenance capabilities</b>. Perform-as-root functions allow you to edit, copy, move, and delete files and folders as root, change permissions, and create links. SpaceFM can also be run as root for full system maintenance needs.

<p><li>Remain largely <b>independent</b> of particular distributions, desktop environments, and libraries. Written entirely in C, SpaceFM uses GTK2 for its GUI and allows you to customize many GUI elements without modifying your GTK theme, or it can be run with no theme. By default, it relies only on stock GTK icons. SpaceFM has its own built-in virtual filesystem (VFS) code which uses core C filesystem functions for speed and reliability, and has no dependence on gvfs, etc. It includes built-in support for inotify-capable kernels (most are), meaning there are no dependencies on file alteration monitors (fam, gamin, gvfs, etc). (For rare kernels without inotify support, SpaceFM can easily be built with deprecated fam/gamin support.) SpaceFM has built-in libudev kernel support for device detection and information, with no dependency on udisks (although you may still want udisks or pmount installed for non-root mounting). (SpaceFM can also be built with deprecated HAL support instead of libudev.)
</ul>

<!-- # Limitations -->
<ul>
<li>SpaceFM makes no network connections and is <b>not a network browser</b>. It browses only mounted filesystems and does not navigate smb://, ftp://, and similar URLs. It is possible to add custom commands which automate mounting of network shares, or to use another program to mount the shares locally.
<p><li>Remain largely <b>independent</b> of particular distributions, desktop environments, and libraries. Written entirely in C, SpaceFM uses GTK2 for its GUI and allows you to customize many GUI elements without modifying your GTK theme, or it can be run with no theme. By default, it relies only on stock GTK icons. SpaceFM has its own built-in virtual filesystem (VFS) code which uses core C filesystem functions for speed and reliability, and has no dependence on gvfs, etc. It includes built-in support for inotify-capable kernels (most are), meaning there are no dependencies on file alteration monitors (fam, gamin, gvfs, etc). (For rare kernels without inotify support, SpaceFM can easily be built with deprecated fam/gamin support.) SpaceFM uses udev for device detection and information, with no dependency on udisks (although you may still want udisks or pmount installed for non-root mounting). (SpaceFM can also be built with deprecated HAL support instead of libudev.)
</ul>


Expand All @@ -70,13 +65,13 @@

<p>Due to the extensive changes in many parts of the project, SpaceFM was released with its new name as an alpha test version in January 2012.

<p>* Beginning with version 0.7.5 in April 2012, SpaceFM replaced udisks with libudev kernel support for device detection and information. SpaceFM users can set any custom program to be used for non-root user mounting and unmounting (including but not limited to pmount and udisks v1/v2). A custom mount program is also currently under development.
<p>* Beginning with version 0.7.5 in April 2012, SpaceFM replaced udisks with direct udev support for device detection and information. SpaceFM users can set any custom program to be used for non-root user mounting and unmounting (including but not limited to pmount and udisks v1/v2). A custom mount program is also currently under development.


<!-- @Introduction @Highlights -->

<ul>
<li>Lightweight - Written in C with GTK2 stability, inotify and libudev kernel support
<li>Lightweight - Written in C with GTK2 stability, inotify kernel and libudev support
<li>Responsive - Built-in vfs runs fast with low resource usage (no gvfs, etc)
<li>Flexible - Can appear very simple or very complex depending on configuration
<li>Multiple Windows - A single instance opens multiple windows
Expand Down Expand Up @@ -232,7 +227,7 @@

<P>To use the installer, first install <b>required <i>build</i> dependencies</b> (below are Debian package names - packages names in your distribution's repository may vary but should be similar):

<blockquote><i>autotools-dev bash dbus desktop-file-utils libc6 libcairo2 libdbus-1-3 libglib2.0-0 libgtk2.0-0 (>=2.24) libpango1.0-0 libstartup-notification0 libx11-6 shared-mime-info intltool pkg-config libgtk2.0-dev libglib2.0-dev fakeroot libstartup-notification0-dev libdbus-1-dev libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-dev libudev0 (>=143) libudev-dev</i></blockquote>
<blockquote><i>autotools-dev bash build-essential dbus desktop-file-utils libc6 libcairo2 libdbus-1-3 libglib2.0-0 libgtk2.0-0 (>=2.24) libpango1.0-0 libstartup-notification0 libx11-6 shared-mime-info intltool pkg-config libgtk2.0-dev libglib2.0-dev fakeroot libstartup-notification0-dev libdbus-1-dev libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-dev libudev0 (>=143) libudev-dev</i></blockquote>

<p><b>Also</b> Recommended:
<blockquote><i>eject, lsof, wget, ktsuss|gksu, pmount|udisks</i></blockquote>
Expand Down

0 comments on commit 3c23ed5

Please sign in to comment.