Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make install for macOS, icons folder, icns files, updates in INSTALL,…
… README and LISEZMOI"
- Loading branch information
Showing
16 changed files
with
168 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
GeneWeb 5.01 | ||
GeneWeb 7.00 | ||
|
||
Pour demarrer avec GeneWeb, suivez les instructions suivantes: | ||
Ouvrez la page START.htm | ||
|
||
Si vous etes sous Windows: | ||
Double-cliquez sur le fichier "index.htm" du repertoire "doc", | ||
et suivez les instructions. | ||
|
||
Si vous etes sous Unix ou Mac: | ||
Lancez votre navigateur Web. | ||
Si vous avez installe GeneWeb, par exemple dans | ||
/home/dupont/geneweb | ||
ouvrez la location: | ||
file:/home/dupont/geneweb/gw/doc/index.htm | ||
et suivez les instructions. | ||
Si vous avez l'intention d'ouvrir une base, vous devez avoir d�marr� le programme gwd | ||
en double cliquant sur l'icone gwd.bat (Windows), gwd.command (macOS) or gwd (Linux). | ||
Si vous avez l'intention de g�rer ou cr�er une base, vous devez avoir d�marr� le programme gwsetup | ||
en double cliquant sur l'icone gwsetup.bat (Windows), gwsetup.command (macOS) or gwsetup (Linux). | ||
|
||
Sur macOS, geneweb.command tue les versions pr�c�dentes, ouvre les deux programmes et | ||
minimise la fen�tre correspondante. | ||
|
||
----------------- | ||
|
||
Voir le fichier CHANGES (en anglais) dans ce repertoire-ci pour les | ||
changements par rapport aux versions precedentes. | ||
|
||
----------------- | ||
|
||
GeneWeb est Copyright (c) 1998-2007 INRIA. | ||
GeneWeb est Copyright (c) 1998-2016 INRIA. | ||
Cr�ateur d'origine Daniel de Rauglaudre | ||
|
||
Remarques, suggestions, questions, rapports d'anomalie a: | ||
daniel.de_rauglaudre@inria.fr | ||
http://pauillac.inria.fr/~ddr/ | ||
Remarques, suggestions, questions, rapports d'erreur sur: | ||
https://github.com/geneweb/geneweb/issues | ||
or | ||
https://groups.yahoo.com/neo/groups/GeneWeb/info | ||
|
||
Veuillez preciser le numero de version ci-dessus et le systeme sur lequel | ||
vous tournez (Unix, Windows, Mac). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
GeneWeb 5.01 | ||
GeneWeb 7.00 | ||
|
||
If you are under Windows: | ||
Double-click on the file "index.htm" of the directory "doc", | ||
and follow the instructions. | ||
Open the START.htm page | ||
|
||
If you are under Unix or Mac | ||
Launch your Web navigator. | ||
If you installed GeneWeb, for example in | ||
/home/smith/geneweb | ||
open the location: | ||
file:/home/smith/geneweb/gw/doc/index.htm | ||
and follow the instructions. | ||
If you intend to open a base, you must have started the gwd program | ||
by double clicking on the gwd.bat (Windows), gwd.command (macOS) or gwd (Linux) icon. | ||
If you intend to manage or create a base, you must have started the gwsetup program | ||
by double clicking on the gwsetup.bat (Windows), gwsetup.command (macOS) or gwsetup (Linux) icon. | ||
|
||
On macOS geneweb.command will kill previous versions, start both programs and minimises | ||
the corresponding window. | ||
|
||
----------------- | ||
|
||
See the file CHANGES in the present directory for the changes since | ||
the previous versions. | ||
|
||
----------------- | ||
|
||
GeneWeb is Copyright (c) 1998-2007 INRIA. | ||
GeneWeb is Copyright (c) 1998-2016 INRIA. | ||
Original creator Daniel de Rauglaudre | ||
|
||
Remarks, suggestions, questions, bug reports to: | ||
daniel.de_rauglaudre@inria.fr | ||
http://pauillac.inria.fr/~ddr/ | ||
https://github.com/geneweb/geneweb/issues | ||
or | ||
https://groups.yahoo.com/neo/groups/GeneWeb/info | ||
|
||
Please specify the version number above and the system you use (Unix, | ||
Windows, Mac) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
|
||
# Installation script | ||
|
||
PWD=$1 | ||
DISTRIB=$2 | ||
RESOURCES=$3 | ||
TARGET=~/Desktop | ||
read -p "Where do you want to install? $HOME/Desktop/[GeneWeb-7.00-Mac]:" mot | ||
|
||
if [ "$mot" = "" ] ; then | ||
TARGET=$HOME/Desktop/GeneWeb-7.00-Mac | ||
else | ||
TARGET=$HOME/Desktop/$mot | ||
fi | ||
pwd | ||
echo "Installing GeneWeb in $TARGET" | ||
|
||
rm -f -R $TARGET | ||
mkdir -p $TARGET | ||
mkdir -p $TARGET/bases | ||
|
||
cp $PWD/$DISTRIB/CHANGES.txt $TARGET | ||
cp $PWD/$DISTRIB/LICENSE.txt $TARGET | ||
cp $PWD/$DISTRIB/README.txt $TARGET | ||
cp $PWD/$DISTRIB/LISEZMOI.txt $TARGET | ||
cp $PWD/$DISTRIB/START.htm $TARGET | ||
cp $PWD/$DISTRIB/geneweb.command $TARGET | ||
cp $PWD/$DISTRIB/gwd.command $TARGET | ||
cp $PWD/$DISTRIB/gwsetup.command $TARGET | ||
cp -R $PWD/$DISTRIB/gw $TARGET | ||
|
||
$PWD/$RESOURCES/seticon.sh $PWD/$RESOURCES/icons/gw-folder.icns $TARGET > /dev/null | ||
$PWD/$RESOURCES/seticon.sh $PWD/$RESOURCES/icons/gw.icns $TARGET/geneweb.command > /dev/null | ||
$PWD/$RESOURCES/seticon.sh $PWD/$RESOURCES/icons/gwd.icns $TARGET/gwd.command > /dev/null | ||
$PWD/$RESOURCES/seticon.sh $PWD/$RESOURCES/icons/gwsetup.icns $TARGET/gwsetup.command > /dev/null | ||
|
||
echo "Done install" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/sh | ||
# Sets an icon on file or directory | ||
# Usage setIcon.sh iconimage.jpg /path/to/[file|folder] | ||
iconSource=$1 | ||
iconDestination=$2 | ||
icon=/tmp/`basename $iconSource` | ||
rsrc=/tmp/icon.rsrc | ||
|
||
# Create icon from the iconSource | ||
cp $iconSource $icon | ||
|
||
# Add icon to image file, meaning use itself as the icon | ||
sips -i $icon | ||
|
||
# Take that icon and put it into a rsrc file | ||
DeRez -only icns $icon > $rsrc | ||
|
||
# Apply the rsrc file to | ||
SetFile -a C $iconDestination | ||
|
||
if [ -f $iconDestination ]; then | ||
# Destination is a file | ||
Rez -append $rsrc -o $iconDestination | ||
elif [ -d $iconDestination ]; then | ||
# Destination is a directory | ||
# Create the magical Icon\r file | ||
touch $iconDestination/$'Icon\r' | ||
Rez -append $rsrc -o $iconDestination/Icon? | ||
SetFile -a V $iconDestination/Icon? | ||
fi | ||
|
||
# Sometimes Finder needs to be reactivated | ||
#osascript -e 'tell application "Finder" to quit' | ||
#osascript -e 'delay 2' | ||
#osascript -e 'tell application "Finder" to activate' |