Révision 1220

tmp/org.txm.rcp.feature/win/TXM.bat (revision 1220)
73 73

  
74 74
(
75 75
set _JAVA_OPTIONS=-Duser.home="%USERHOME%"
76
echo running "%installdir%TXM.exe" -run --launcher.ini "%DOTTXM%TXM.ini" -data "%DOTTXM%data" -user "%DOTTXM%user" -install "%installdir%"
76
echo running "%installdir%TXM.exe" -run --launcher.ini "%DOTTXM%TXM.ini" -data "%DOTTXM%data" -user "%DOTTXM%user" -install "%installdir%"echo running "%installdir%TXM.exe" -log -run --launcher.ini "%DOTTXM%TXM.ini" -consolelog -clean -debug -console -noexit -data "%TXMHOME%corpora" -user "%DOTTXM%user" -install "%installdir%\"
77 77
REM "%installdir%TXM.exe" -run --launcher.ini "%DOTTXM%TXM.ini" -data "%DOTTXM%corpora" -user "%DOTTXM%user" -install "%installdir%"
78 78
"%installdir%TXM.exe" -log -run --launcher.ini "%DOTTXM%TXM.ini" -consolelog -clean -debug -console -noexit -data "%TXMHOME%corpora" -user "%DOTTXM%user" -install "%installdir%\"
79 79
) >"%TXMHOME%TXMOutputLogs.txt" 2>"%TXMHOME%TXMErrorLogs.txt" 
tmp/org.txm.setups/shared/mac/BUILDPKG.pkgproj (revision 1220)
22 22
									<key>GID</key>
23 23
									<integer>80</integer>
24 24
									<key>PATH</key>
25
									<string>Applications/TXM</string>
25
									<string>Applications/TXM-TXMVERSION.app</string>
26 26
									<key>PATH_TYPE</key>
27 27
									<integer>1</integer>
28 28
									<key>PERMISSIONS</key>
......
463 463
				<key>IDENTIFIER</key>
464 464
				<string>org.txm</string>
465 465
				<key>NAME</key>
466
				<string>TXM</string>
466
				<string>TXM-TXMVERSION</string>
467 467
				<key>OVERWRITE_PERMISSIONS</key>
468 468
				<false/>
469 469
				<key>VERSION</key>
470
				<string>0.8.0</string>
470
				<string>TXMVERSION</string>
471 471
			</dict>
472 472
			<key>UUID</key>
473 473
			<string>B3537FD7-A0A7-4961-A28B-1EF5E91B357D</string>
......
1483 1483
				</dict>
1484 1484
			</array>
1485 1485
			<key>NAME</key>
1486
			<string>TXM_0.8.0_MacOSX_installer</string>
1486
			<string>TXM_TXMVERSION_MacOSX_installer</string>
1487 1487
		</dict>
1488 1488
	</dict>
1489 1489
	<key>SHARED_GLOBAL_DATA</key>
tmp/org.txm.setups/shared/mac/finish_en.txt (revision 1220)
1 1

  
2
You can start TXM with the 'TXM.app' file found in the "Applications" / "TXM" directory.
2
You can start TXM with the "Applications" / "TXMTXMVERSION" app.
3 3

  
4 4
If you want to automatically tag and lemmatize your corpora with the TreeTagger software during import, you need to follow additional installation instructions given in the "Help > Install TreeTagger" menu.
tmp/org.txm.setups/shared/mac/CLEAN (revision 1220)
1 1
#!/bin/sh
2
echo "** TXM preinstall: remove /Applications/TXM"
3
if [ ! -f "/Applications/TXM" ]; then
4
	sudo rm -rf /Applications/TXM
2

  
3
VERSION="-TXMVERSION"
4

  
5
echo "** TXM preinstall: remove /Applications/TXM${VERSION}.app"
6
if [ ! -f "/Applications/TXM${VERSION}.app" ]; then
7
	sudo rm -rf /Applications/TXM${VERSION}.app
5 8
	if [ $? != 0 ];then
6
		echo "** TXM preinstall: failed to delete /Applications/TXM"
9
		echo "** TXM preinstall: failed to delete /Applications/TXM${VERSION}.app"
7 10
		exit 1
8 11
	fi
9 12
fi
......
28 31
	fi
29 32
fi
30 33

  
31
if [ ! -f "$HOME/TXM/.txm" ]; then
32
	sudo rm -rf "$HOME/TXM/.txm"
34
if [ ! -f "$HOME/TXM${VERSION}/.txm" ]; then
35
	sudo rm -rf "$HOME/TXM${VERSION}/.txm"
33 36
	if [ $? != 0 ];then
34
		echo "** TXM preinstall: failed to delete $HOME/TXM/.txm"
37
		echo "** TXM preinstall: failed to delete $HOME/TXM${VERSION}/.txm"
35 38
		exit 1
36 39
	fi
40
fi
41

  
42
if [ ! -f "$HOME/TXM${VERSION}/corpora/.metadata" ]; then
43
	sudo rm -rf "$HOME/TXM${VERSION}/corpora/.metadata"
44
	if [ $? != 0 ];then
45
		echo "** TXM preinstall: failed to delete $HOME/TXM${VERSION}/corpora/.metadata"
46
		exit 1
47
	fi
37 48
fi
tmp/org.txm.setups/shared/mac/finish_fr.txt (revision 1220)
1 1

  
2
TXM se lance par le fichier "TXM.app" situ? dans le r?pertoire "Applications" / "TXM".
2
TXM se lance avec l'application "Applications" / "TXM".
3 3

  
4 4
Si vous souhaitez ?tiqueter et lemmatiser automatiquement vos corpus avec le logiciel TreeTagger lors de l'import, vous devez suivre les instructions d'installation suppl?mentaires fournies dans le menu "Aide > Installer TreeTagger".
tmp/org.txm.setups/shared/mac/Applications/TXM.app/Contents/MacOS/TXM (revision 1220)
1
#!/bin/sh
2
# This script launch TXM in the right directory and with the right TXM.ini file
3

  
4
echo "Prepare redirections in $HOME/TXMPostInstallOutputLogs.txt and $HOME/TXMPostInstallErrorLogs.txt files"
5

  
6
LOGFILESMSG=", see $HOME/TXMPostInstallOutputLogs.txt and $HOME/TXMPostInstallErrorLogs.txt output and error messages files."
7
VERSION=0.8.0
8
exec 3>$HOME/TXMPostInstallOutputLogs.txt
9
exec 4>$HOME/TXMPostInstallErrorLogs.txt
10

  
11
echo "$HOME is '$HOME'"
12

  
13
if [ ! -d "$HOME" ]; then
14
	echo "TXM: Impossible to access user home directory ($HOME). Aborting"
15
	exit 1
16
fi
17

  
18
echo "Creating all necessary directories"
19

  
20
TXMHOME="$HOME/TXM_$VERSION"
21
echo "TXMHOME='$TXMHOME'"
22
if [ ! -d "$TXMHOME" ]; then
23
	mkdir "$TXMHOME"
24
fi
25
if [ ! -d "$TXMHOME" ]; then
26
	zenity --info --text="TXM: Impossible to access '$TXMHOME' directory. Aborting$LOGFILESMSG"
27
	echo "TXM: Impossible to access '$DIR' directory. Aborting$LOGFILESMSG"
28
	exit 1
29
fi
30

  
31
DIR="$TXMHOME/.txm"
32
echo "DIR='$DIR'"
33
if [ ! -d "$DIR" ]; then
34
	mkdir "$DIR"
35
fi
36
if [ ! -d "$DIR" ]; then
37
	zenity --info --text="TXM: Impossible to access '$DIR' directory. Aborting$LOGFILESMSG"
38
	echo "TXM: Impossible to access '$DIR' directory. Aborting$LOGFILESMSG"
39
	exit 1
40
fi
41
LOGFILES=", see log files $HOME/TXMPostInstallLogs.txt and $HOME/TXMPostInstallErrorLogs.txt."
42

  
43
vercomp () {
44
    echo "test $1 $2"
45
    if [[ $1 == $2 ]]
46
    then
47
        return 0
48
    fi
49
    local IFS=.
50
    local i ver1=($1) ver2=($2)
51
    # fill empty fields in ver1 with zeros
52
    for ((i=${#ver1[@]}; i<${#ver2[@]}; i++))
53
    do
54
        ver1[i]=0
55
    done
56
    for ((i=0; i<${#ver1[@]}; i++))
57
    do
58
        if [[ -z ${ver2[i]} ]]
59
        then
60
            ver2[i]=0
61
        fi
62
        if ((10#${ver1[i]} > 10#${ver2[i]}))
63
        then
64
            return 0
65
        fi
66
        if ((10#${ver1[i]} < 10#${ver2[i]}))
67
        then
68
            return 1
69
        fi
70
    done
71
    return 0
72
}
73

  
74

  
75
echo "TXM: looking at the last TXM install date from the /usr/lib/TXM/STAMP file"
76

  
77
if [ ! -f "/Applications/TXM-TXMVERSION.app/STAMP" ]; then
78
	echo "TXM: Impossible to access '/Applications/TXM-TXMVERSION.app/STAMP' file. Aborting$LOGFILESMSG"
79
	exit 1
80
fi
81

  
82
STAMP=`stat -t %Y%m%d "/Applications/TXM-TXMVERSION.app/STAMP" | cut -d\  -f11`
83

  
84
if [ $? != 0 ]; then
85
    echo "TXM: Can't find STAMP file /Applications/TXM-TXMVERSION.app/STAMP $LOGFILES"
86
    exit 1 ;
87
fi
88

  
89
echo "TXM: if .txm folder does not contain the STAMP file, its a new install."
90
if [ ! -e "$TXMHOME/.txm/$STAMP" ]; then
91

  
92
	echo "New TXM install: it's the first launch after the installation"
93
	if [ -f "/tmp/org.txm.rcpapplication.prefs" ]; then
94
		rm -f "/tmp/org.txm.rcpapplication.prefs" # remove previous preference files if any
95
	fi
96

  
97
	echo "Backing up previous TXM 0.7.6 preferences if any..."
98
	if [ -f "$HOME/.txm/configuration/.settings/org.txm.rcpapplication.prefs" ]; then
99
		echo "Found preference file: $HOME/.txm/configuration/.settings/org.txm.rcpapplication.prefs"
100
		cp -f "$HOME/.txm/configuration/.settings/org.txm.rcpapplication.prefs" "/tmp/org.txm.rcpapplication.prefs"
101
		if [ $? != 0 ]; then
102
  			echo "Failed to copy old preference file in /tmp/org.txm.rcpapplication.prefs"
103
		fi
104
	fi
105

  
106
	echo "Backing up previous TXM 0.7.7 preferences if any..."
107
	if [ -f "$HOME/.txm/data/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.txm.rcpapplication.prefs" ]; then
108
		echo "Found preference file: $HOME/.txm/data/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.txm.rcpapplication.prefs"
109
		cp -f "$HOME/.txm/data/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.txm.rcpapplication.prefs" "/tmp/org.txm.rcpapplication.prefs"
110
		if [ $? != 0 ]; then
111
  			echo "Failed to copy old preference file in /tmp/org.txm.rcpapplication.prefs"
112
		fi
113
	fi
114

  
115
	echo "TXM: Installing up to date TXM directories."
116
	rm -rf "$TXMHOME/.txm"
117
	if [ -d "$TXMHOME/.txm" ]; then
118
	    zenity --info --text="TXM: Failed to remove $TXMHOME/.txm directory$LOGFILESMSG"
119
	    echo "TXM: Failed to remove $TXMHOME/.txm directory$LOGFILESMSG"
120
	    exit 1 ;
121
	fi
122

  
123
    mkdir "$TXMHOME/.txm"
124
	mkdir "$TXMHOME/.txm/user"
125
	mkdir "$TXMHOME/.txm/data"
126

  
127
    if [ ! -d "$TXMHOME/.txm" ]; then
128
		echo "TXM: Impossible to access '$TXMHOME/.txm' directory. Aborting$LOGFILESMSG"
129
		exit 1
130
    fi
131

  
132
    echo "TXM: getting '/Applications/TXM-TXMVERSION.app/TXM.ini' and set write permission of '$TXMHOME/.txm/TXM.ini'"
133
    cp "/Applications/TXM-TXMVERSION.app/Contents/TXM/TXM.ini" "$TXMHOME/.txm/TXM.ini" &&
134
    chmod +w "$TXMHOME/.txm/TXM.ini";
135
    
136
    if [ $? != 0 ]; then
137
       	echo "TXM: Can't launch TXM: failed to set TXM.ini file$LOGFILESMSG"
138
        exit 1
139
    fi
140

  
141
    echo "TXM: creating the $TXMHOME/.txm/$STAMP install STAMP file."
142
    touch "$TXMHOME/.txm/$STAMP"
143

  
144
    if [ $? != 0 ]; then
145
		echo "TXM: Can't launch TXM: failed to create the $TXMHOME/.txm/$STAMP install STAMP file$LOGFILESMSG"
146
        exit 1
147
    fi
148
fi
149

  
150
#) 1>&3 2>&4
151

  
152
# don't exec TXM if problem occurs
153
if [ $? != 0 ]; then
154
    echo "TXM: An error occurred. Aborting$LOGFILESMSG";
155
    exit 1 ;
156
fi
157

  
158
TXMINIARGSVM=""
159
TXMINIARGS=""
160
STARTVMARGS=0
161
while read i ; do 	
162
	if [ $STARTVMARGS == 1 ]; then
163
 		TXMINIARGSVM="$TXMINIARGSVM $i" ;
164
	else
165
		TXMINIARGS="$TXMINIARGS $i" ;
166
	fi
167
	
168
	if [ $i == "-vmargs" ]; then
169
 	   STARTVMARGS=1
170
	fi
171
done < "$TXMHOME/.txm/TXM.ini"; 
172

  
173
echo "TXM INI ARGS = $TXMINIARGS"
174
echo "TXM INI VM ARGS = $TXMINIARGSVM"
175

  
176
OSVERSION=`sw_vers -productVersion`
177

  
178
vercomp $OSVERSION "10.7"
179

  
180
#if [ $? != 0 ];then
181
#	echo "TXM: Running TXM for Mac OS X $OSVERSION with the binary launcher..."
182
#	open "/Applications/TXM-TXMVERSION.app" --args -run --launcher.ini "$TXMHOME/.txm/TXM.ini" -data "$TXMHOME/.txm/data" -user "$TXMHOME/.txm/user" -install "/Applications/TXM-TXMVERSION.app" &
183
#else
184
	echo "TXM: Running TXM for Mac OS X $OSVERSION with the JAR launcher..."
185
	/Applications/TXM-TXMVERSION.app/Contents/TXM/jre/Contents/Home/bin/java -Djava.library.path="$(echo  /Applications/TXM-TXMVERSION.app/Contents/TXM/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_*/eclipse_*.so)" -XX:MaxPermSize=256m -XstartOnFirstThread $TXMINIARGSVM -jar "$(echo /Applications/TXM-TXMVERSION.app/Contents/TXM/plugins/org.eclipse.equinox.launcher_*.jar)" -os macosx -ws cocoa -arch x86_64 -showsplash -run -data "$TXMHOME/corpora" -user "$TXMHOME/.txm/user" -install "/Applications/TXM-TXMVERSION.app/Contents/TXM"
186
#fi
tmp/org.txm.setups/shared/mac/intro_en.txt (revision 1220)
5 5

  
6 6
TXM will install R Packages, this default behavior can be changed during installation.
7 7

  
8
Minimum requirements: MAC OS X 10.6
8
Minimum requirements: MAC OS X 10.10
tmp/org.txm.setups/shared/mac/BUILDPKG.pmdoc/03opt-contents.xml (revision 1220)
1
<pkg-contents spec="1.12"><f n="opt" o="mdecorde" g="staff" p="16877" pt="/Users/mdecorde/Desktop/TXM_0.8.0_MacOSX/opt" m="false" t="file"><f n="local" o="mdecorde" g="staff" p="16877"><f n="lib" o="mdecorde" g="staff" p="16877"><f n="libasprintf.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libasprintf.dylib" o="mdecorde" g="staff" p="33188"/><f n="libbz2.1.0.6.dylib" o="mdecorde" g="staff" p="33188"/><f n="libbz2.1.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libbz2.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libbz2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libexpat.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libexpat.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextlib-0.19.3.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextlib.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextpo.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextpo.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextsrc-0.19.3.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextsrc.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgio-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgio-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libglib-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libglib-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgmodule-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgmodule-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgobject-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgobject-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgthread-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgthread-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.5.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.5.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.5.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.6.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.6.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.6.3.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.6.dylib" o="mdecorde" g="staff" p="33188"/><f n="libiconv.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libiconv.dylib" o="mdecorde" g="staff" p="33188"/><f n="libintl.8.dylib" o="mdecorde" g="staff" p="33188"/><f n="libintl.dylib" o="mdecorde" g="staff" p="33188"/><f n="liblzma.5.dylib" o="mdecorde" g="staff" p="33188"/><f n="liblzma.dylib" o="mdecorde" g="staff" p="33188"/><f n="libncurses.5.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcre.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcre.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcre.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcrecpp.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcrecpp.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcreposix.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcreposix.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.5.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.5.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.5.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.6.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.6.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.6.3.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.6.dylib" o="mdecorde" g="staff" p="33188"/></f></f></f></pkg-contents>
1

  
2
<pkg-contents spec="1.12">
3
<f n="opt" o="mdecorde" g="staff" p="16877" pt="/Users/mdecorde/Desktop/TXM_TXMVERSION_MacOSX/opt" m="false" t="file">
4
<f n="local" o="mdecorde" g="staff" p="16877">
5
<f n="lib" o="mdecorde" g="staff" p="16877">
6
<f n="libasprintf.0.dylib" o="mdecorde" g="staff" p="33188"/>
7
<f n="libasprintf.dylib" o="mdecorde" g="staff" p="33188"/>
8
<f n="libbz2.1.0.6.dylib" o="mdecorde" g="staff" p="33188"/>
9
<f n="libbz2.1.0.dylib" o="mdecorde" g="staff" p="33188"/>
10
<f n="libbz2.1.dylib" o="mdecorde" g="staff" p="33188"/>
11
<f n="libbz2.dylib" o="mdecorde" g="staff" p="33188"/>
12
<f n="libexpat.1.dylib" o="mdecorde" g="staff" p="33188"/>
13
<f n="libexpat.dylib" o="mdecorde" g="staff" p="33188"/>
14
<f n="libgettextlib-0.19.3.dylib" o="mdecorde" g="staff" p="33188"/>
15
<f n="libgettextlib.dylib" o="mdecorde" g="staff" p="33188"/>
16
<f n="libgettextpo.0.dylib" o="mdecorde" g="staff" p="33188"/>
17
<f n="libgettextpo.dylib" o="mdecorde" g="staff" p="33188"/>
18
<f n="libgettextsrc-0.19.3.dylib" o="mdecorde" g="staff" p="33188"/>
19
<f n="libgettextsrc.dylib" o="mdecorde" g="staff" p="33188"/>
20
<f n="libgio-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
21
<f n="libgio-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
22
<f n="libglib-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
23
<f n="libglib-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
24
<f n="libgmodule-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
25
<f n="libgmodule-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
26
<f n="libgobject-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
27
<f n="libgobject-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
28
<f n="libgthread-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
29
<f n="libgthread-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
30
<f n="libhistory.5.0.dylib" o="mdecorde" g="staff" p="33188"/>
31
<f n="libhistory.5.1.dylib" o="mdecorde" g="staff" p="33188"/>
32
<f n="libhistory.5.2.dylib" o="mdecorde" g="staff" p="33188"/>
33
<f n="libhistory.6.1.dylib" o="mdecorde" g="staff" p="33188"/>
34
<f n="libhistory.6.2.dylib" o="mdecorde" g="staff" p="33188"/>
35
<f n="libhistory.6.3.dylib" o="mdecorde" g="staff" p="33188"/>
36
<f n="libhistory.6.dylib" o="mdecorde" g="staff" p="33188"/>
37
<f n="libiconv.2.dylib" o="mdecorde" g="staff" p="33188"/>
38
<f n="libiconv.dylib" o="mdecorde" g="staff" p="33188"/>
39
<f n="libintl.8.dylib" o="mdecorde" g="staff" p="33188"/>
40
<f n="libintl.dylib" o="mdecorde" g="staff" p="33188"/>
41
<f n="liblzma.5.dylib" o="mdecorde" g="staff" p="33188"/>
42
<f n="liblzma.dylib" o="mdecorde" g="staff" p="33188"/>
43
<f n="libncurses.5.dylib" o="mdecorde" g="staff" p="33188"/>
44
<f n="libpcre.0.dylib" o="mdecorde" g="staff" p="33188"/>
45
<f n="libpcre.1.dylib" o="mdecorde" g="staff" p="33188"/>
46
<f n="libpcre.dylib" o="mdecorde" g="staff" p="33188"/>
47
<f n="libpcrecpp.0.dylib" o="mdecorde" g="staff" p="33188"/>
48
<f n="libpcrecpp.dylib" o="mdecorde" g="staff" p="33188"/>
49
<f n="libpcreposix.0.dylib" o="mdecorde" g="staff" p="33188"/>
50
<f n="libpcreposix.dylib" o="mdecorde" g="staff" p="33188"/>
51
<f n="libreadline.5.0.dylib" o="mdecorde" g="staff" p="33188"/>
52
<f n="libreadline.5.1.dylib" o="mdecorde" g="staff" p="33188"/>
53
<f n="libreadline.5.2.dylib" o="mdecorde" g="staff" p="33188"/>
54
<f n="libreadline.6.1.dylib" o="mdecorde" g="staff" p="33188"/>
55
<f n="libreadline.6.2.dylib" o="mdecorde" g="staff" p="33188"/>
56
<f n="libreadline.6.3.dylib" o="mdecorde" g="staff" p="33188"/>
57
<f n="libreadline.6.dylib" o="mdecorde" g="staff" p="33188"/>
58
</f>
59
</f>
60
</f>
61
</pkg-contents>
tmp/org.txm.setups/shared/mac/BUILDPKG.pmdoc/01applications.xml (revision 1220)
1
<pkgref spec="1.12" uuid="010E4888-F605-4E8A-BAA6-15FAE49B744F"><config><identifier>org.txm.txm071.Applications.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Applications</installFrom><installTo mod="true">/Applications</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>installFrom.path</mod><mod>scripts.preinstall.isRelativeType</mod><mod>identifier</mod><mod>parent</mod><mod>installTo.path</mod><mod>scripts.postinstall.isRelativeType</mod><mod>installFrom.isRelativeType</mod></config><scripts><preinstall relative="true" mod="true">CLEAN</preinstall><postinstall relative="true" mod="true">INSTALL</postinstall></scripts><contents><component id="org.eclipse.eclipse" path="/Users/mdecorde/Desktop/TXM_0.8.0_MacOSX/Applications/TXM/.main.app" version="4.4"/><component id="appified.mdecorde.TXM" path="/Users/mdecorde/Desktop/TXM_0.8.0_MacOSX/Applications/TXM/TXM.app" version="0.1"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
1

  
2
<pkgref spec="1.12" uuid="010E4888-F605-4E8A-BAA6-15FAE49B744F">
3
<config>
4
<identifier>org.txm.txm071.Applications.pkg
5
</identifier>
6
<version>1.0
7
</version>
8
<description>
9
</description>
10
<post-install type="none"/>
11
<requireAuthorization/>
12
<installFrom relative="true" mod="true">Applications
13
</installFrom>
14
<installTo mod="true">/Applications
15
</installTo>
16
<flags>
17
<followSymbolicLinks/>
18
</flags>
19
<packageStore type="internal">
20
</packageStore>
21
<mod>installTo
22
</mod>
23
<mod>installFrom.path
24
</mod>
25
<mod>scripts.preinstall.isRelativeType
26
</mod>
27
<mod>identifier
28
</mod>
29
<mod>parent
30
</mod>
31
<mod>installTo.path
32
</mod>
33
<mod>scripts.postinstall.isRelativeType
34
</mod>
35
<mod>installFrom.isRelativeType
36
</mod>
37
</config>
38
<scripts>
39
<preinstall relative="true" mod="true">CLEAN
40
</preinstall>
41
<postinstall relative="true" mod="true">INSTALL
42
</postinstall>
43
</scripts>
44
<contents>
45
<component id="org.eclipse.eclipse" path="/Users/mdecorde/Desktop/TXM_TXMVERSION_MacOSX/Applications/TXM-TXMVERSION.app" version="4.4"/>
46
<component id="appified.mdecorde.TXM" path="/Users/mdecorde/Desktop/TXM_TXMVERSION_MacOSX/Applications/TXM-TXMVERSION.app" version="0.1"/>
47
<filter>/CVS$
48
</filter>
49
<filter>/\.svn$
50
</filter>
51
<filter>/\.cvsignore$
52
</filter>
53
<filter>/\.cvspass$
54
</filter>
55
<filter>/\.DS_Store$
56
</filter>
57
</contents>
58
</pkgref>
tmp/org.txm.setups/shared/mac/BUILDPKG.pmdoc/index.xml (revision 1220)
1
<pkmkdoc spec="1.12"><properties><title>TXM 0.8.0</title><build>/Users/mdecorde/Desktop/TXM_0.8.0_MacOSX.pkg</build><organization>org.txm</organization><userSees ui="both"/><min-target os="3"/><domain anywhere="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="Applications" id="choice110" starts_selected="true" starts_enabled="false" starts_hidden="true"><pkgref id="org.txm.txm071.Applications.pkg"/></choice><choice title="R packages" id="choice129" tooltip="install R packages needed: 'Rserve', 'lattice', 'cluster', 'scatterplot3d', 'factomineR' and 'textometry'." description="If you don't select that option, please install these packages manually before using TXM. See FAQ: https://groupes.renater.fr/wiki/txm-users/public/faq#installation_mac_os_x_le_moteur_de_statistique_r_ne_demarre_pas" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.txm.txm078.rlibs.pkg"/></choice><choice title="opt" id="choice123" starts_selected="true" starts_enabled="false" starts_hidden="true"><pkgref id="org.txm.txm078.opt.pkg"/></choice></contents><resources bg-scale="proportional" bg-align="center"><locale lang="fr"><resource relative="true" mod="true" type="background">background.jpg</resource><resource relative="true" mod="true" type="license">Applications/TXM/license_agreement_fr.txt</resource><resource relative="true" mod="true" type="readme">readme_fr.txt</resource><resource relative="true" mod="true" type="welcome">intro_fr.txt</resource><resource relative="true" mod="true" type="conclusion">finish_fr.txt</resource></locale><locale lang="en"><resource relative="true" mod="true" type="background">background.jpg</resource><resource relative="true" mod="true" type="license">Applications/TXM/license_agreement.txt</resource><resource relative="true" mod="true" type="readme">readme_en.txt</resource><resource relative="true" mod="true" type="welcome">intro_en.txt</resource><resource relative="true" mod="true" type="conclusion">finish_en.txt</resource></locale></resources><flags/><item type="file">01applications.xml</item><item type="file">02rlibs.xml</item><item type="file">03opt.xml</item><mod>properties.title</mod><mod>properties.systemDomain</mod></pkmkdoc>
1

  
2
<pkmkdoc spec="1.12">
3
<properties>
4
<title>TXM TXMVERSION
5
</title>
6
<build>/Users/mdecorde/Desktop/TXM_TXMVERSION_MacOSX.pkg
7
</build>
8
<organization>org.txm
9
</organization>
10
<userSees ui="both"/>
11
<min-target os="3"/>
12
<domain anywhere="true"/>
13
</properties>
14
<distribution>
15
<versions min-spec="1.000000"/>
16
<scripts>
17
</scripts>
18
</distribution>
19
<contents>
20
<choice title="Applications" id="choice110" starts_selected="true" starts_enabled="false" starts_hidden="true">
21
<pkgref id="org.txm.txm071.Applications.pkg"/>
22
</choice>
23
<choice title="R packages" id="choice129" tooltip="install R packages needed: 'Rserve', 'lattice', 'cluster', 'scatterplot3d', 'factomineR' and 'textometry'." description="If you don't select that option, please install these packages manually before using TXM TXMVERSION. See FAQ: https://groupes.renater.fr/wiki/txm-users/public/faq#installation_mac_os_x_le_moteur_de_statistique_r_ne_demarre_pas" starts_selected="true" starts_enabled="true" starts_hidden="false">
24
<pkgref id="org.txm.txm078.rlibs.pkg"/>
25
</choice>
26
<choice title="opt" id="choice123" starts_selected="true" starts_enabled="false" starts_hidden="true">
27
<pkgref id="org.txm.txm078.opt.pkg"/>
28
</choice>
29
</contents>
30
<resources bg-scale="proportional" bg-align="center">
31
<locale lang="fr">
32
<resource relative="true" mod="true" type="background">background.jpg
33
</resource>
34
<resource relative="true" mod="true" type="license">Applications/TXM-TXMVERSION.app/Contents/TXM/license_agreement_fr.txt
35
</resource>
36
<resource relative="true" mod="true" type="readme">readme_fr.txt
37
</resource>
38
<resource relative="true" mod="true" type="welcome">intro_fr.txt
39
</resource>
40
<resource relative="true" mod="true" type="conclusion">finish_fr.txt
41
</resource>
42
</locale>
43
<locale lang="en">
44
<resource relative="true" mod="true" type="background">background.jpg
45
</resource>
46
<resource relative="true" mod="true" type="license">Applications/TXM-TXMVERSION.app/Contents/TXM/license_agreement.txt
47
</resource>
48
<resource relative="true" mod="true" type="readme">readme_en.txt
49
</resource>
50
<resource relative="true" mod="true" type="welcome">intro_en.txt
51
</resource>
52
<resource relative="true" mod="true" type="conclusion">finish_en.txt
53
</resource>
54
</locale>
55
</resources>
56
<flags/>
57
<item type="file">01applications.xml
58
</item>
59
<item type="file">02rlibs.xml
60
</item>
61
<item type="file">03opt.xml
62
</item>
63
<mod>properties.title
64
</mod>
65
<mod>properties.systemDomain
66
</mod>
67
</pkmkdoc>
tmp/org.txm.setups/shared/mac/BUILDPKG.pmdoc/02rlibs-contents.xml (revision 1220)
1
<pkg-contents spec="1.12"><f n="rlibs.R" o="mdecorde" g="staff" p="33188" pt="/Users/mdecorde/Desktop/TXM_0.8.0_MacOSX/Applications/TXM/R/rlibs.R" m="false" t="file"/></pkg-contents>
1

  
2
<pkg-contents spec="1.12">
3
<f n="rlibs.R" o="mdecorde" g="staff" p="33188" pt="/Users/mdecorde/Desktop/TXM_TXMVERSION_MacOSX/Applications/TXM-TXMVERSION.app/Contents/TXM/R/rlibs.R" m="false" t="file"/>
4
</pkg-contents>
tmp/org.txm.setups/shared/mac/BUILDPKG.pmdoc/03rlibs-contents.xml (revision 1220)
1
<pkg-contents spec="1.12"><f n="rlibs.R" o="mdecorde" g="staff" p="33188" pt="/Users/mdecorde/Desktop/TXM_0.8.0_MacOSX/Applications/TXM/R/rlibs.R" m="false" t="file"/></pkg-contents>
1

  
2
<pkg-contents spec="1.12">
3
<f n="rlibs.R" o="mdecorde" g="staff" p="33188" pt="/Users/mdecorde/Desktop/TXM_TXMVERSION_MacOSX/Applications/TXM-TXMVERSION.app/Contents/TXM/R/rlibs.R" m="false" t="file"/>
4
</pkg-contents>
tmp/org.txm.setups/shared/mac/BUILDPKG.pmdoc/02rlibs.xml (revision 1220)
1
<pkgref spec="1.12" uuid="627D63FB-F669-4740-A45E-20CCE6883109"><config><identifier>org.txm.txm078.rlibs.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Applications/TXM/R/rlibs.R</installFrom><installTo mod="true">/Applications/TXM/R</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.path</mod><mod>parent</mod><mod>installTo</mod></config><contents><file-list>02rlibs-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
1

  
2
<pkgref spec="1.12" uuid="627D63FB-F669-4740-A45E-20CCE6883109">
3
<config>
4
<identifier>org.txm.txm078.rlibs.pkg
5
</identifier>
6
<version>1.0
7
</version>
8
<description>
9
</description>
10
<post-install type="none"/>
11
<requireAuthorization/>
12
<installFrom relative="true" mod="true">Applications/TXM-TXMVERSION.app/R/rlibs.R
13
</installFrom>
14
<installTo mod="true">/Applications/TXM-TXMVERSION.app/Contents/TXM/R
15
</installTo>
16
<flags>
17
<followSymbolicLinks/>
18
</flags>
19
<packageStore type="internal">
20
</packageStore>
21
<mod>installTo.path
22
</mod>
23
<mod>installFrom.path
24
</mod>
25
<mod>parent
26
</mod>
27
<mod>installTo
28
</mod>
29
</config>
30
<contents>
31
<file-list>02rlibs-contents.xml
32
</file-list>
33
<filter>/CVS$
34
</filter>
35
<filter>/\.svn$
36
</filter>
37
<filter>/\.cvsignore$
38
</filter>
39
<filter>/\.cvspass$
40
</filter>
41
<filter>/\.DS_Store$
42
</filter>
43
</contents>
44
</pkgref>
tmp/org.txm.setups/shared/mac/BUILDPKG.pmdoc/02opt-contents.xml (revision 1220)
1
<pkg-contents spec="1.12"><f n="opt" o="mdecorde" g="staff" p="16877" pt="/Users/mdecorde/Desktop/TXM_0.8.0_MacOSX/opt" m="false" t="file"><f n="local" o="mdecorde" g="staff" p="16877"><f n="lib" o="mdecorde" g="staff" p="16877"><f n="libasprintf.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libasprintf.dylib" o="mdecorde" g="staff" p="33188"/><f n="libbz2.1.0.6.dylib" o="mdecorde" g="staff" p="33188"/><f n="libbz2.1.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libbz2.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libbz2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libexpat.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libexpat.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextlib-0.19.3.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextlib.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextpo.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextpo.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextsrc-0.19.3.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgettextsrc.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgio-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgio-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libglib-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libglib-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgmodule-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgmodule-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgobject-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgobject-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgthread-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libgthread-2.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.5.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.5.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.5.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.6.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.6.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.6.3.dylib" o="mdecorde" g="staff" p="33188"/><f n="libhistory.6.dylib" o="mdecorde" g="staff" p="33188"/><f n="libiconv.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libiconv.dylib" o="mdecorde" g="staff" p="33188"/><f n="libintl.8.dylib" o="mdecorde" g="staff" p="33188"/><f n="libintl.dylib" o="mdecorde" g="staff" p="33188"/><f n="liblzma.5.dylib" o="mdecorde" g="staff" p="33188"/><f n="liblzma.dylib" o="mdecorde" g="staff" p="33188"/><f n="libncurses.5.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcre.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcre.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcre.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcrecpp.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcrecpp.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcreposix.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libpcreposix.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.5.0.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.5.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.5.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.6.1.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.6.2.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.6.3.dylib" o="mdecorde" g="staff" p="33188"/><f n="libreadline.6.dylib" o="mdecorde" g="staff" p="33188"/></f></f></f></pkg-contents>
1

  
2
<pkg-contents spec="1.12">
3
<f n="opt" o="mdecorde" g="staff" p="16877" pt="/Users/mdecorde/Desktop/TXM_TXMVERSION_MacOSX/opt" m="false" t="file">
4
<f n="local" o="mdecorde" g="staff" p="16877">
5
<f n="lib" o="mdecorde" g="staff" p="16877">
6
<f n="libasprintf.0.dylib" o="mdecorde" g="staff" p="33188"/>
7
<f n="libasprintf.dylib" o="mdecorde" g="staff" p="33188"/>
8
<f n="libbz2.1.0.6.dylib" o="mdecorde" g="staff" p="33188"/>
9
<f n="libbz2.1.0.dylib" o="mdecorde" g="staff" p="33188"/>
10
<f n="libbz2.1.dylib" o="mdecorde" g="staff" p="33188"/>
11
<f n="libbz2.dylib" o="mdecorde" g="staff" p="33188"/>
12
<f n="libexpat.1.dylib" o="mdecorde" g="staff" p="33188"/>
13
<f n="libexpat.dylib" o="mdecorde" g="staff" p="33188"/>
14
<f n="libgettextlib-0.19.3.dylib" o="mdecorde" g="staff" p="33188"/>
15
<f n="libgettextlib.dylib" o="mdecorde" g="staff" p="33188"/>
16
<f n="libgettextpo.0.dylib" o="mdecorde" g="staff" p="33188"/>
17
<f n="libgettextpo.dylib" o="mdecorde" g="staff" p="33188"/>
18
<f n="libgettextsrc-0.19.3.dylib" o="mdecorde" g="staff" p="33188"/>
19
<f n="libgettextsrc.dylib" o="mdecorde" g="staff" p="33188"/>
20
<f n="libgio-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
21
<f n="libgio-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
22
<f n="libglib-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
23
<f n="libglib-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
24
<f n="libgmodule-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
25
<f n="libgmodule-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
26
<f n="libgobject-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
27
<f n="libgobject-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
28
<f n="libgthread-2.0.0.dylib" o="mdecorde" g="staff" p="33188"/>
29
<f n="libgthread-2.0.dylib" o="mdecorde" g="staff" p="33188"/>
30
<f n="libhistory.5.0.dylib" o="mdecorde" g="staff" p="33188"/>
31
<f n="libhistory.5.1.dylib" o="mdecorde" g="staff" p="33188"/>
32
<f n="libhistory.5.2.dylib" o="mdecorde" g="staff" p="33188"/>
33
<f n="libhistory.6.1.dylib" o="mdecorde" g="staff" p="33188"/>
34
<f n="libhistory.6.2.dylib" o="mdecorde" g="staff" p="33188"/>
35
<f n="libhistory.6.3.dylib" o="mdecorde" g="staff" p="33188"/>
36
<f n="libhistory.6.dylib" o="mdecorde" g="staff" p="33188"/>
37
<f n="libiconv.2.dylib" o="mdecorde" g="staff" p="33188"/>
38
<f n="libiconv.dylib" o="mdecorde" g="staff" p="33188"/>
39
<f n="libintl.8.dylib" o="mdecorde" g="staff" p="33188"/>
40
<f n="libintl.dylib" o="mdecorde" g="staff" p="33188"/>
41
<f n="liblzma.5.dylib" o="mdecorde" g="staff" p="33188"/>
42
<f n="liblzma.dylib" o="mdecorde" g="staff" p="33188"/>
43
<f n="libncurses.5.dylib" o="mdecorde" g="staff" p="33188"/>
44
<f n="libpcre.0.dylib" o="mdecorde" g="staff" p="33188"/>
45
<f n="libpcre.1.dylib" o="mdecorde" g="staff" p="33188"/>
46
<f n="libpcre.dylib" o="mdecorde" g="staff" p="33188"/>
47
<f n="libpcrecpp.0.dylib" o="mdecorde" g="staff" p="33188"/>
48
<f n="libpcrecpp.dylib" o="mdecorde" g="staff" p="33188"/>
49
<f n="libpcreposix.0.dylib" o="mdecorde" g="staff" p="33188"/>
50
<f n="libpcreposix.dylib" o="mdecorde" g="staff" p="33188"/>
51
<f n="libreadline.5.0.dylib" o="mdecorde" g="staff" p="33188"/>
52
<f n="libreadline.5.1.dylib" o="mdecorde" g="staff" p="33188"/>
53
<f n="libreadline.5.2.dylib" o="mdecorde" g="staff" p="33188"/>
54
<f n="libreadline.6.1.dylib" o="mdecorde" g="staff" p="33188"/>
55
<f n="libreadline.6.2.dylib" o="mdecorde" g="staff" p="33188"/>
56
<f n="libreadline.6.3.dylib" o="mdecorde" g="staff" p="33188"/>
57
<f n="libreadline.6.dylib" o="mdecorde" g="staff" p="33188"/>
58
</f>
59
</f>
60
</f>
61
</pkg-contents>
tmp/org.txm.setups/shared/mac/INSTALL (revision 1220)
1 1
#!/bin/sh
2 2

  
3
VERSION="-TXMVERSION"
4

  
3 5
vercomp () {
4 6
    echo "test $1 $2"
5 7
    if [[ $1 == $2 ]]
......
71 73

  
72 74
say $SAY_STARTINSTALL
73 75
echo "** TXM postinstall: start post installation"
74
TXMINSTALLDIR="/Applications/TXM"
76
TXMINSTALLDIR="/Applications/TXM${VERSION}.app"
75 77

  
76 78
# remove "try(library(textometrieR))" from .Rprofile if any
77 79
if [ -f "$HOME/.Rprofile" ]; then
......
86 88

  
87 89
say $SAY_INSTALLR
88 90
if [ ! -d "/usr/local/lib/tcl8" ]; then
89
	installer -pkg "$TXMINSTALLDIR/R/tcltk-8.5.5-x11.pkg" -allowUntrusted -target /
91
	installer -pkg "$TXMINSTALLDIR/Contents/TXM/R/tcltk-8.5.5-x11.pkg" -allowUntrusted -target /
90 92
	if [ $? != 0 ]; then
91
			echo "** TXM install: installation of tcltk failed. Aborting."
92
			exit 1;
93
		echo "** TXM install: installation of tcltk failed. Aborting."
94
		exit 1
93 95
	fi
94 96
else 
95 97
	echo "Skipping tcl8 installation"
96 98
fi
97 99

  
98 100
if [ ! -d "/usr/local/share/texinfo" ]; then
99
	installer -pkg "$TXMINSTALLDIR/R/texinfo-6.1-0.pkg" -allowUntrusted -target /
101
	installer -pkg "$TXMINSTALLDIR/Contents/TXM/R/texinfo-6.1-0.pkg" -allowUntrusted -target /
100 102
	if [ $? != 0 ]; then
101
			echo "** TXM install: installation of texinfo failed. Aborting."
102
			exit 1;
103
		echo "** TXM install: installation of texinfo failed. Aborting."
104
		exit 1
103 105
	fi
104 106
else 
105
	echo "Skipping Texinfo installation"
107
	echo "Skipping 'texinfo' installation"
106 108
fi
107 109

  
108 110
if [ ! -d "/opt/X11/bin" ]; then
109
	installer -pkg "$TXMINSTALLDIR/R/XQuartz.pkg" -allowUntrusted -target /
111
	installer -pkg "$TXMINSTALLDIR/Contents/TXM/R/XQuartz.pkg" -allowUntrusted -target /
110 112
	if [ $? != 0 ]; then
111
			echo "** TXM install: installation of XQuartz failed. Aborting."
112
			exit 1;
113
		echo "** TXM install: installation of XQuartz failed. Aborting."
114
		exit 1
113 115
	fi
114 116
else 
115
	echo "Skipping XQartz installation"
117
	echo "Skipping XQuartz installation"
116 118
fi
117 119

  
118
tar xzf "$TXMINSTALLDIR/R/R.tar.gz" -C "$TXMINSTALLDIR/R"
119
if [ $? != 0 ]; then
120
		echo "** TXM install: failed to extract R binaries. Aborting."
121
		exit 1;
122
fi
123

  
124 120
say $SAY_CREATESTAMP
125 121
echo "** TXM postinstall: create STAMP file"
126 122
# Create STAMP
......
134 130
say $SAY_SETFILERIGHTS
135 131
echo "** TXM postinstall: set rights"
136 132
# Set executable files
137
chmod -R +rx "$TXMINSTALLDIR/cwb/bin"
138
chmod +x "$TXMINSTALLDIR"/TXM/plugins/CQP.macosx*/res/macosx/*
133
chmod +x "$TXMINSTALLDIR"/Contents/TXM/plugins/CQP.macosx*/res/macosx/*
139 134

  
140 135
chmod -R +r "$TXMINSTALLDIR"
141
chmod +rx "$TXMINSTALLDIR/TXM.app/Contents/MacOS/TXM"
136
chmod +rx "$TXMINSTALLDIR/Contents/MacOS/TXM"
142 137
chmod -R +rx /opt/local/lib
143 138

  
144 139
echo "sudo chown -R $USER $TXMINSTALLDIR"
tmp/org.txm.setups/.settings/org.eclipse.core.resources.prefs (revision 1220)
1 1
eclipse.preferences.version=1
2
encoding//shared/mac/finish_fr.txt=MacRoman
3
encoding//shared/mac/intro_fr.txt=MacRoman
4
encoding//shared/mac/readme_fr.txt=MacRoman
2 5
encoding//shared/win/txm.nsi=ISO-8859-1
3 6
encoding/SetupMessages_fr.properties=UTF-8
tmp/org.txm.setups/BuildMacOSXIntel.sh (revision 1220)
1 1
version=`cat VERSION`
2
subversion=`cat SUBVERSION`
3
fullversion="${version}${subversion}"
2 4
STEP=$1
3 5

  
4
rm -f "TXM_${version}_MacOSX.tar.gz"
5
rm -rf "TXM_${version}_MacOSX"
6
mkdir "TXM_${version}_MacOSX"
6
rm -f "TXM_${fullversion}_MacOSX.tar.gz"
7
rm -rf "TXM_${fullversion}_MacOSX"
8
mkdir "TXM_${fullversion}_MacOSX"
7 9

  
8 10
# ensure INSTALL CLEAN file rights
9 11
chmod 775 shared/mac/INSTALL shared/mac/CLEAN
......
13 15
fi
14 16

  
15 17
echo " copy mac shared files: R"
16
rsync -r  --exclude '.svn' shared/mac/* "TXM_${version}_MacOSX"
18
rsync -r  --exclude '.svn' shared/mac/* "TXM_${fullversion}_MacOSX"
17 19
if [ $? != 0 ]; then
18 20
	echo "** MacOSXIntel.sh : failed to copy Mac shared files"
19 21
	exit 1;
20 22
fi
21 23

  
22 24
echo " copy shared files: css, xsl, scripts, samples..."
23
rsync -r  --exclude '.svn' shared/all/* "TXM_${version}_MacOSX/Applications/TXM"
25
rsync -r  --exclude '.svn' shared/all/* "TXM_${fullversion}_MacOSX/Applications/TXM.app/Contents/TXM"
24 26
if [ $? != 0 ]; then
25 27
	echo "** MacOSXIntel.sh : failed to copy shared files"
26 28
	exit 1;
27 29
fi
28 30

  
29
echo "convert licence files encoding to MacRoman"
30
iconv -f utf8 -t MAC shared/all/license_agreement_fr.txt > "TXM_${version}_MacOSX/Applications/TXM/license_agreement_fr.txt"
31
iconv -f utf8 -t MAC shared/all/license_agreement.txt > "TXM_${version}_MacOSX/Applications/TXM/license_agreement.txt"
32
iconv -f utf8 -t MAC shared/all/LICENSE_FR.TXT > "TXM_${version}_MacOSX/Applications/TXM/LICENSE_FR.TXT"
33
iconv -f utf8 -t MAC shared/all/LICENSE.TXT > "TXM_${version}_MacOSX/Applications/TXM/LICENSE.TXT"
31
echo " convert licence files encoding to MacRoman"
32
iconv -f utf8 -t MAC shared/all/license_agreement_fr.txt > "TXM_${fullversion}_MacOSX/Applications/TXM.app/Contents/TXM/license_agreement_fr.txt"
33
iconv -f utf8 -t MAC shared/all/license_agreement.txt > "TXM_${fullversion}_MacOSX/Applications/TXM.app/Contents/TXM/license_agreement.txt"
34
iconv -f utf8 -t MAC shared/all/LICENSE_FR.TXT > "TXM_${fullversion}_MacOSX/Applications/TXM.app/Contents/TXM/LICENSE_FR.TXT"
35
iconv -f utf8 -t MAC shared/all/LICENSE.TXT > "TXM_${fullversion}_MacOSX/Applications/TXM.app/Contents/TXM/LICENSE.TXT"
34 36

  
35
echo "remove parasite settings"
37
echo " remove parasite settings"
36 38
rm -f "exportRCP/macosx.cocoa.x86_64/TXM/p2/org.eclipse.equinox.p2.engine/.settings/*" &&
37 39
rm -f "exportRCP/macosx.cocoa.x86_64/TXM/p2/org.eclipse.equinox.p2.engine/profileRegistry/profile.profile/.data/.settings/*"
38 40
if [ $? != 0 ]; then
......
40 42
	exit 1;
41 43
fi
42 44

  
43
echo "copy eclipse build files"
44
rsync -r  --exclude '.svn' "../../CQP.macosx/res/macosx"/* "TXM_${version}_MacOSX/Applications/TXM/cwb/bin" &&
45
chmod -R +x "TXM_${version}_MacOSX/Applications/TXM/cwb/bin"
46
if [ $? != 0 ]; then
47
	echo "** MacOSXIntel.sh : failed to copy CQP.macosx plugin files"
48
	exit 1;
45
echo " rename TXM eclipse launcher"
46
if [ ! -f  "exportRCP/macosx.cocoa.x86_64/MacOS/launcher" ]; then
47

  
48
	mv "exportRCP/macosx.cocoa.x86_64/MacOS/TXM" "exportRCP/macosx.cocoa.x86_64/MacOS/launcher"
49
	if [ $? != 0 ]; then
50
		echo "** MacOSXIntel.sh : failed to binaries files"
51
		exit 1;
52
	fi
49 53
fi
50 54

  
51 55
echo " copy eclipse arch dependent build"
52
rsync -r  --exclude '.svn' "exportRCP/macosx.cocoa.x86_64/TXM" "TXM_${version}_MacOSX/Applications/TXM"
56
rsync -r  --exclude '.svn' "exportRCP/macosx.cocoa.x86_64/"* "TXM_${fullversion}_MacOSX/Applications/TXM.app/Contents"
53 57
if [ $? != 0 ]; then
54 58
	echo "** MacOSXIntel.sh : failed to binaries files"
55 59
	exit 1;
56 60
fi
57 61

  
58
chmod +x "TXM_${version}_MacOSX/INSTALL" &&
59
chmod +x "TXM_${version}_MacOSX/CLEAN"
62
chmod +x "TXM_${fullversion}_MacOSX/INSTALL" &&
63
chmod +x "TXM_${fullversion}_MacOSX/CLEAN"
60 64
if [ $? != 0 ]; then
61 65
	echo "** MacOSXIntel.sh : failed to chmod +x INSTALL & CLEAN files"
62 66
	exit 1;
63 67
fi
64 68

  
65
mv "TXM_${version}_MacOSX/Applications/TXM/TXM.app" "TXM_${version}_MacOSX/Applications/TXM/.main.app"
66
if [ $? != 0 ]; then
67
	echo "** MacOSXIntel.sh : failed to hide TXM.app"
68
	exit 1;
69
fi
70

  
71 69
#echo "set LSUIElement to 1"
72
#find ./TXM_${version}_MacOSX/Applications/TXM/.main.app/Contents/Info.plist -type f -exec sed -i 's/<dict>/<dict><key>LSUIElement<\/key><string>1<\/string>/g' {} \;
70
#find ./TXM_${fullversion}_MacOSX/Applications/TXM.app/.main.app/Contents/Info.plist -type f -exec sed -i 's/<dict>/<dict><key>LSUIElement<\/key><string>1<\/string>/g' {} \;
73 71
#if [ $? != 0 ]; then
74 72
#	echo "** MacOSXIntel.sh : failed to fix Info.plist"
75 73
#	exit 1;
76 74
#fi
77 75

  
78 76
echo " clean"
79
bash directoryCleaner.sh "TXM_${version}_MacOSX"
77
bash directoryCleaner.sh "TXM_${fullversion}_MacOSX"
80 78
if [ $? != 0 ]; then
81
	echo "** $APP: failed to clean mac setup TXM_${version}_MacOSX"
79
	echo "** $APP: failed to clean mac setup TXM_${fullversion}_MacOSX"
82 80
	exit 1;
83 81
fi
84 82

  
85
echo "Tar gz TXM_${version}_MacOSX"
86
tar -zcf "TXM_${version}_MacOSX.tar.gz" TXM_${version}_MacOSX
83
echo " search&replace in files TXMVERSION"
84
find "TXM_${fullversion}_MacOSX/CLEAN" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
85
find "TXM_${fullversion}_MacOSX/finish_en.txt" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
86
find "TXM_${fullversion}_MacOSX/INSTALL" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
87
find "TXM_${fullversion}_MacOSX/BUILDPKG.pmdoc/01applications.xml" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
88
find "TXM_${fullversion}_MacOSX/BUILDPKG.pmdoc/02opt-contents.xml" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
89
find "TXM_${fullversion}_MacOSX/BUILDPKG.pmdoc/02rlibs-contents.xml" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
90
find "TXM_${fullversion}_MacOSX/BUILDPKG.pmdoc/02rlibs.xml" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
91
find "TXM_${fullversion}_MacOSX/BUILDPKG.pmdoc/03opt-contents.xml" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
92
find "TXM_${fullversion}_MacOSX/BUILDPKG.pmdoc/03rlibs-contents.xml" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
93
find "TXM_${fullversion}_MacOSX/BUILDPKG.pmdoc/index.xml" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
94
find "TXM_${fullversion}_MacOSX/BUILDPKG.pkgproj" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
95
find "TXM_${fullversion}_MacOSX/Applications/TXM.app" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
96

  
97
echo " rename files to add version=$version"
98
mv "TXM_${fullversion}_MacOSX/Applications/TXM.app" "TXM_${fullversion}_MacOSX/Applications/TXM-${fullversion}.app"
99

  
100
echo "Tar gz TXM_${fullversion}_MacOSX"
101
tar -zcf "TXM_${fullversion}_MacOSX.tar.gz" "TXM_${fullversion}_MacOSX"
87 102
if [ $? != 0 ]; then
88
	echo "** MacOSXIntel.sh : failed to tar gz TXM_${version}_MacOSX"
103
	echo "** MacOSXIntel.sh : failed to tar gz TXM_${fullversion}_MacOSX"
89 104
	exit 1;
90 105
fi
91 106

  
......
93 108
	echo "Local test: The archive is not sent to shared files."
94 109
else
95 110
	echo "Sending to ensldfs.ens-lyon.fr/services/labo_ana_corpus/PartageTemp"
96
	smbclient -A auth.txt "//ensldfs.ens-lyon.fr/services" -c "cd \"/Laboratoires/labo_ana_corpus/Projets/Textométrie/Logiciel/TXM/$STEP\" ; put TXM_${version}_MacOSX.zip ; exit"
111
	smbclient -A auth.txt "//ensldfs.ens-lyon.fr/services" -c "cd \"/Laboratoires/labo_ana_corpus/Projets/Textométrie/Logiciel/TXM/$STEP\" ; put TXM_${fullversion}_MacOSX.zip ; exit"
97 112
	if [ $? != 0 ]; then
98
		echo "** MacOSXIntel.sh : failed to send TXM_${version}_MacOSX to labo_ana_corpus"
113
		echo "** MacOSXIntel.sh : failed to send TXM_${fullversion}_MacOSX to labo_ana_corpus"
99 114
		exit 1;
100 115
	fi
101 116
fi
102 117

  
103
#cp "TXM_${version}_MacOSX.tar.gz" /run/user/1001/gvfs/smb-share\:server\=ensldfs.ens-lyon.fr\,share\=services\,user\=$USER/Laboratoires/labo_ana_corpus/PartageTemp
118
#cp "TXM_${fullversion}_MacOSX.tar.gz" /run/user/1001/gvfs/smb-share\:server\=ensldfs.ens-lyon.fr\,share\=services\,user\=$USER/Laboratoires/labo_ana_corpus/PartageTemp
104 119
#if [ $? != 0 ]; then
105
#	echo "** $APP: TXM_${version}_MacOSX.tar.gz not copied PartageTemp"
120
#	echo "** $APP: TXM_${fullversion}_MacOSX.tar.gz not copied PartageTemp"
106 121
#	exit 1;
107 122
#fi

Formats disponibles : Unified diff