Kilka zmian technicznych, troche porzadku oraz uaktualnienie dystrybucji dla rpma.
git-svn-id: svn://atos.wmid.amu.edu.pl/utt@48 e293616e-ec6a-49c2-aa92-f4a8b91c5d16
This commit is contained in:
parent
40358d23e5
commit
9b57c4d68c
7
app/DONE
7
app/DONE
@ -1,7 +0,0 @@
|
|||||||
ZROBIONE:
|
|
||||||
* compiledic - plik tymczasowe [PK]
|
|
||||||
* lista zaleznosci dla komend system w perlu [PK]
|
|
||||||
* poprawic utt_make_conf (wykrywanie slownikow) [PK]
|
|
||||||
* Makefile do gph (install).
|
|
||||||
* Usuniecie bibliotek (aplhabet, erro).
|
|
||||||
* (dla gue i lem) Poprawna obsluga opcji --one-line i oraz --one-field.
|
|
16
app/TODO
16
app/TODO
@ -1,23 +1,15 @@
|
|||||||
BARDZO WAZNE:
|
BARDZO WAZNE:
|
||||||
|
* przemyslec sposob wybierania jezyka / slownika po zainstalowaniu roznych dystrybucji [PK, TO]
|
||||||
* zawieszanie sie lema dla wyrazow z pola -I (np. kor) [ZROBIONE,TO]
|
|
||||||
* komunikaty o nieznalezieniu slownika (lem) [ZROBIONE, TO]
|
|
||||||
|
|
||||||
WAZNE:
|
WAZNE:
|
||||||
* zamienic kota na lepszego (Kubis) [TO]
|
* zamienic kota na lepszego (Kubis) [TO]
|
||||||
* sen - unikać dwukrotnego wstawiania BOSów i EOSów
|
* sen - unikac dwukrotnego wstawiania BOSow i EOSow [TO]
|
||||||
* polaczyc sen'y [TO]
|
* polaczyc sen'y [TO]
|
||||||
* programy z atrybutyem input-field: funkcja process_seg zwraca false, gdy nie ma pola podanego po -I [ZROBIONE,TO]
|
|
||||||
* generowanie i sprawdzanie zaleznosci dla tarballa [PK]
|
* generowanie i sprawdzanie zaleznosci dla tarballa [PK]
|
||||||
* przygotowanie dystrybujcji slownikow [PK]
|
|
||||||
* (zrobione dla ser?) Nazwy pmdb2re -> pmdb.tag2re (grp, ser). [ZROBIONE,TO]
|
|
||||||
* Zadania zwiazane z rozbudowa ser (src/ser/TODO).
|
* Zadania zwiazane z rozbudowa ser (src/ser/TODO).
|
||||||
* Nowa funkcjonalność dla kot? con? - każde zdanie w nowym wierszu
|
* Nowa funkcjonalnosc dla kot? con? - kazde zdanie w nowym wierszu
|
||||||
* opcja info w dgp powinna miec domyslna wartosc d lub h
|
* opcja info w dgp powinna miec domyslna wartosc d lub h
|
||||||
* podczas tworzenia dystrybucji pojawiaja sie komunikaty:
|
* przyspieszyc process_seg() -> obliczanie prefiksow pol z opcji -s i -S raz na poczatku programu, a nie w kolko
|
||||||
find: /home/to/work/utt/lang/dist/tarball/utt-0.9.2/share/utt/pl_PL.UTF-8/.svn: Nie ma takiego pliku ani katalogu
|
|
||||||
find: /home/to/work/utt/lang/dist/tarball/utt-0.9.2/share/utt/pl_PL.ISO-8859-2/.svn: Nie ma takiego pliku ani katalogu
|
|
||||||
* przyspieszyć process_seg() -> obliczanie prefiksów pól z opcji -s i -S raz na poczatku programu, a nie w kolko
|
|
||||||
* kor: nie dziala opcja distance
|
* kor: nie dziala opcja distance
|
||||||
* zunifikowac opcje cor i kor
|
* zunifikowac opcje cor i kor
|
||||||
|
|
||||||
|
14
app/dist/common/prepare_conf.sh
vendored
Executable file
14
app/dist/common/prepare_conf.sh
vendored
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if test 3 -ne $#
|
||||||
|
then
|
||||||
|
echo "Usage: " `basename $0` src_conf_dir dest_conf_dir replacement
|
||||||
|
else
|
||||||
|
POLEC="s/PATH_PREFIX/$3/g"
|
||||||
|
|
||||||
|
for FN in `ls $1/*.conf`
|
||||||
|
do
|
||||||
|
BN=`basename ${FN}`
|
||||||
|
sed ${POLEC} ${FN} > $2/${BN}
|
||||||
|
done
|
||||||
|
fi
|
7
app/dist/spec/Makefile
vendored
7
app/dist/spec/Makefile
vendored
@ -14,8 +14,11 @@ rpm:
|
|||||||
if test -d ${_RPM_FROOT}; then rm -fr ${_RMP_FROOT}; fi
|
if test -d ${_RPM_FROOT}; then rm -fr ${_RMP_FROOT}; fi
|
||||||
mkdir -p ${_UTT_ROOT}
|
mkdir -p ${_UTT_ROOT}
|
||||||
cp -rf ${UTT_DIST_DIR}/* ${_UTT_ROOT}/
|
cp -rf ${UTT_DIST_DIR}/* ${_UTT_ROOT}/
|
||||||
cp ../common/utt_make_config.pl ${_UTT_ROOT}/bin/
|
mkdir -p ${_UTT_ROOT}/cnf
|
||||||
chmod 755 ${_UTT_ROOT}/bin/utt_make_config.pl
|
mv ${_UTT_ROOT}/etc/utt/*.conf ${_UTT_ROOT}/cnf/
|
||||||
|
${DIR}/../common/prepare_conf.sh ${_UTT_ROOT}/cnf ${_UTT_ROOT}/etc/utt \\\/usr\\\/local
|
||||||
|
rm -rf ${_UTT_ROOT}/cnf
|
||||||
|
|
||||||
cp ../files/* ${_UTT_ROOT}/
|
cp ../files/* ${_UTT_ROOT}/
|
||||||
cd ${_RPM_FROOT}; rpmbuild -bb ${DIR}/utt.spec
|
cd ${_RPM_FROOT}; rpmbuild -bb ${DIR}/utt.spec
|
||||||
|
|
||||||
|
2
app/dist/spec/README
vendored
2
app/dist/spec/README
vendored
@ -1,6 +1,6 @@
|
|||||||
This directory contains files necessary to produce rpm package.
|
This directory contains files necessary to produce rpm package.
|
||||||
|
|
||||||
First, you must have variable _UTT_DIST_DIR defined properly.
|
First, you must have variable UTT_DIST_DIR defined properly.
|
||||||
This variable should be defined by main Makefile.
|
This variable should be defined by main Makefile.
|
||||||
|
|
||||||
To create rpm file, just write:
|
To create rpm file, just write:
|
||||||
|
7
app/dist/tarball/INSTALL
vendored
7
app/dist/tarball/INSTALL
vendored
@ -1,6 +1,5 @@
|
|||||||
Here you can find some information about how to install utt.
|
Here you can find some information about how to install utt.
|
||||||
|
|
||||||
You should just unpack archive and then
|
You should just unpack archive and then execute
|
||||||
execute
|
make test
|
||||||
bin/utt_make_config.pl
|
make install
|
||||||
|
|
||||||
|
2
app/dist/tarball/Makefile
vendored
2
app/dist/tarball/Makefile
vendored
@ -35,7 +35,7 @@ default:
|
|||||||
@# config files
|
@# config files
|
||||||
mkdir -p ${_TARBALL_ROOT}/cnf
|
mkdir -p ${_TARBALL_ROOT}/cnf
|
||||||
mv ${_TARBALL_ROOT}/etc/utt/*.conf ${_TARBALL_ROOT}/cnf/
|
mv ${_TARBALL_ROOT}/etc/utt/*.conf ${_TARBALL_ROOT}/cnf/
|
||||||
${DIR}/prepare_conf.sh ${_TARBALL_ROOT}/cnf ${_TARBALL_ROOT}/etc/utt
|
${DIR}/../common/prepare_conf.sh ${_TARBALL_ROOT}/cnf ${_TARBALL_ROOT}/etc/utt \~\\\/.local
|
||||||
rm -rf ${_TARBALL_ROOT}/cnf
|
rm -rf ${_TARBALL_ROOT}/cnf
|
||||||
cp ./INSTALL ${_TARBALL_ROOT}/
|
cp ./INSTALL ${_TARBALL_ROOT}/
|
||||||
cp ./Makefile.tarball ${_TARBALL_ROOT}/Makefile
|
cp ./Makefile.tarball ${_TARBALL_ROOT}/Makefile
|
||||||
|
7
app/dist/tarball/prepare_conf.sh
vendored
7
app/dist/tarball/prepare_conf.sh
vendored
@ -1,7 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
for FN in `ls $1/*.conf`
|
|
||||||
do
|
|
||||||
BN=`basename ${FN}`
|
|
||||||
sed 's/PATH_PREFIX/~\/.local/g' ${FN} > $2/${BN}
|
|
||||||
done
|
|
2
lang/dist/tarball/Makefile
vendored
2
lang/dist/tarball/Makefile
vendored
@ -32,7 +32,7 @@ default:
|
|||||||
echo "Tworze pelna dystrybucje!"; \
|
echo "Tworze pelna dystrybucje!"; \
|
||||||
cp -fr ${UTT_DIC_BIN}/* ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/; \
|
cp -fr ${UTT_DIC_BIN}/* ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/; \
|
||||||
cp -fr ${UTT_DIC_CONF_HOME}/* ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/; \
|
cp -fr ${UTT_DIC_CONF_HOME}/* ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/; \
|
||||||
find ${_TARBALL_ROOT}/${_UTT_DIC_HOME} -name .svn -exec rm -rf {} \; ; \
|
find ${_TARBALL_ROOT}/${_UTT_DIC_HOME} -type d -path '*/.svn' -exec rm -rf {} \; ; \
|
||||||
tar -czf ${UTT_DIC_OUTPUT}/${_TAR_FILE_NAME}.all.tar.gz utt*; \
|
tar -czf ${UTT_DIC_OUTPUT}/${_TAR_FILE_NAME}.all.tar.gz utt*; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user