Linux package

Bug #1371273 reported by hilaire
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Dr. Geo
Won't Fix

Bug Description

I'm trying to make a package for Archlinux but I have one issue.

All files are in /usr/share/drgeo2, and when I launch it as normal user, an error occures.

Got startup errors:
    PrimitiveFailed: primitive #createDirectory: in UnixStore failed
That's because I didn't create MySketches and MyExports in /usr/share/drgeo2.

Is there anyway these files can be created in user home directory ?

Thanks for reading.

Tags: workstation
Revision history for this message
hilaire (hilaire-fernandes) wrote :

The problem comes from DrGeo trying to create user folder in /usr/share/drgeo2.

There are a couple of files with a required RW access to fully exploit the DrGeo capability.
The architecture directory you mentioned is a good idea, in that case DrGeo just need a dedicated startup script whose main action will be to:

- ensure for a 'MyDrGeo' user folder with the following files copied (need of RW access)*, others files (ReadOnly) can be linked to the /usr/share/drgeo2:

├── drgeo.changes*
├── drgeo.image*
├── locale
├── PharoV20.sources
├── UnDotum.ttf
└── wqy-microhei.ttc

This is a rought idea, that may need some refinement.
I hope it does not need change in DrGeo code (drgeo.image). In that case it can be done for later release.

tags: added: workstation
Changed in drgeo:
status: New → In Progress
Revision history for this message
hilaire (hilaire-fernandes) wrote :

For an example start up script with read only part of Dr. Geo, read:

Revision history for this message
hilaire (hilaire-fernandes) wrote :

Here a modified version of the script, with the following changes:

- some refactoring
- link examples and SmalltalkSketches
- there is no locales directory in the top hierarchy, it is underneath and already correctly linked

Revision history for this message
hilaire (hilaire-fernandes) wrote :

Updated version: only check existence of regular file.

summary: - Unix permission
+ Linux package
Changed in drgeo:
milestone: wip → none
Changed in drgeo:
status: In Progress → Opinion
status: Opinion → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.