diff options
author | ahze <ahze@FreeBSD.org> | 2005-06-28 12:33:31 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-06-28 12:33:31 +0800 |
commit | 7d998890d5d3db35283c7430dfb6965554e7bb78 (patch) | |
tree | 0dfaf78fe72c797b2afb35b9b5c9f1ac914ef1ea /sysutils | |
parent | f9091d784dc3f53a7372525f35c1286f74e1317c (diff) | |
download | freebsd-ports-gnome-7d998890d5d3db35283c7430dfb6965554e7bb78.tar.gz freebsd-ports-gnome-7d998890d5d3db35283c7430dfb6965554e7bb78.tar.zst freebsd-ports-gnome-7d998890d5d3db35283c7430dfb6965554e7bb78.zip |
- Fix gconf/os.statvfs hack by making defining the default tmp directory as .
you can also change the default tmp directory by creating
/apps/serpentine/temporary_dir with string to directory.
Ideas from: marcus
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/serpentine/Makefile | 1 | ||||
-rw-r--r-- | sysutils/serpentine/files/patch-serpentine_common.py | 14 | ||||
-rw-r--r-- | sysutils/serpentine/files/patch-serpentine_preferences.py | 12 |
3 files changed, 13 insertions, 14 deletions
diff --git a/sysutils/serpentine/Makefile b/sysutils/serpentine/Makefile index ce43279b2bb0..ca80936c2ad8 100644 --- a/sysutils/serpentine/Makefile +++ b/sysutils/serpentine/Makefile @@ -7,6 +7,7 @@ PORTNAME= serpentine PORTVERSION= 0.6.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://download.berlios.de/${PORTNAME}/ diff --git a/sysutils/serpentine/files/patch-serpentine_common.py b/sysutils/serpentine/files/patch-serpentine_common.py deleted file mode 100644 index e62dfd0826a1..000000000000 --- a/sysutils/serpentine/files/patch-serpentine_common.py +++ /dev/null @@ -1,14 +0,0 @@ ---- serpentine/common.py.orig Sat Jun 25 12:39:33 2005 -+++ serpentine/common.py Sat Jun 25 12:40:00 2005 -@@ -111,9 +111,9 @@ - - # Now check if cache location is ok - try: -- s = os.statvfs (preferences.temporary_dir) -+ s = os.statvfs ("/var/tmp") - # Raise exception if temporary dir is not ok -- assert preferences.temporary_dir_is_ok -+ # assert preferences.temporary_dir_is_ok - except OSError, AssertionError: - raise SerpentineCacheError (SerpentineCacheError.INVALID, "Please " \ - "check if the cache location exists and " \ diff --git a/sysutils/serpentine/files/patch-serpentine_preferences.py b/sysutils/serpentine/files/patch-serpentine_preferences.py new file mode 100644 index 000000000000..8cd2bf989b89 --- /dev/null +++ b/sysutils/serpentine/files/patch-serpentine_preferences.py @@ -0,0 +1,12 @@ +--- serpentine/preferences.py.orig Mon Jun 27 16:30:18 2005 ++++ serpentine/preferences.py Mon Jun 27 16:31:13 2005 +@@ -93,7 +93,8 @@ + # temp + self.__tmp = gaw.GConfValue ( + key = "/apps/serpentine/temporary_dir", +- data_spec = gaw.Spec.STRING ++ data_spec = gaw.Spec.STRING, ++ default = "." + ) + + # Pool |