Latest Tweets

Creació del paquet OpenOffice 3.0 per a Debian en català

Cansat de no troba el OpenOffice 3.0 en català per Debian x86 (creat també per Linux 64 DEB) d’una forma fàcil com anar a la llista i seleccionar Linux DEB en català, ens hem decidit a empaquetar tots els fitxers.
Bé us expliquem més o menys com hem començat.

Agafem com a referència el paquet per a Linux DEB en anglès de la llista:
148M OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz

tar -zxvf OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz
OOO300_m15_native_packed-1_en-US.9379/
OOO300_m15_native_packed-1_en-US.9379/DEBS/
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-draw_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us-draw_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-impress_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-writer_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-core07_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-xsltfilter_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us-help_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-en-us_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-core01_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-ooofonts_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-base_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-binfilter_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-dict-fr_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-writer_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-math_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-core06_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us-math_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-ooolinguistic_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-calc_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-images_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us-calc_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us-writer_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-math_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-calc_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-core05_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-graphicfilter_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-dict-es_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org-ure_1.4.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-core03_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us-binfilter_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-dict-en_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-kde-integration_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-core04_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-pyuno_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-onlineupdate_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/desktop-integration/
OOO300_m15_native_packed-1_en-US.9379/DEBS/desktop-integration/openoffice.org3.0-debian-menus_3.0-9376_all.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us-impress_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3-draw_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-gnome-integration_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-base_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-javafilter_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/openoffice.org3_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us-base_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-impress_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-en-us-res_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-testtool_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/DEBS/ooobasis3.0-core02_3.0.1-15_i386.deb
OOO300_m15_native_packed-1_en-US.9379/licenses/
OOO300_m15_native_packed-1_en-US.9379/licenses/LICENSE_en-US
OOO300_m15_native_packed-1_en-US.9379/licenses/LICENSE_en-US.html
OOO300_m15_native_packed-1_en-US.9379/update
OOO300_m15_native_packed-1_en-US.9379/readmes/
OOO300_m15_native_packed-1_en-US.9379/readmes/README_en-US.html
OOO300_m15_native_packed-1_en-US.9379/readmes/README_en-US

Els paquets a cercar en català serán aquets:

ooobasis3.0-en-us_3.0.1-15_i386.deb
ooobasis3.0-en-us-base_3.0.1-15_i386.deb
ooobasis3.0-en-us-binfilter_3.0.1-15_i386.deb
ooobasis3.0-en-us-calc_3.0.1-15_i386.deb
ooobasis3.0-en-us-draw_3.0.1-15_i386.deb
ooobasis3.0-en-us-help_3.0.1-15_i386.deb
ooobasis3.0-en-us-impress_3.0.1-15_i386.deb
ooobasis3.0-en-us-math_3.0.1-15_i386.deb
ooobasis3.0-en-us-res_3.0.1-15_i386.deb
ooobasis3.0-en-us-writer_3.0.1-15_i386.deb
openoffice.org3-en-us_3.0.1-15_i386.deb
Diccionari en català:
openoffice.org3-dict-en_3.0.1-15_i386.deb

Ara necessitem trovar les localitzacions d’OpenOffice en català

tar zxvf OOo_3.0.1_090114_LinuxIntel_langpack_ca_deb.tar.gz
ca/
ca/DEBS/
ca/DEBS/ooobasis3.0-ca-math_3.0.1-15_i386.deb
ca/DEBS/ooobasis3.0-ca-res_3.0.1-15_i386.deb
ca/DEBS/ooobasis3.0-ca-impress_3.0.1-15_i386.deb
ca/DEBS/ooobasis3.0-ca-calc_3.0.1-15_i386.deb
ca/DEBS/ooobasis3.0-ca_3.0.1-15_i386.deb
ca/DEBS/ooobasis3.0-ca-base_3.0.1-15_i386.deb
ca/DEBS/ooobasis3.0-ca-writer_3.0.1-15_i386.deb
ca/DEBS/ooobasis3.0-ca-binfilter_3.0.1-15_i386.deb
ca/DEBS/openoffice.org3-ca_3.0.1-15_i386.deb
ca/DEBS/ooobasis3.0-ca-draw_3.0.1-15_i386.deb
ca/DEBS/ooobasis3.0-ca-help_3.0.1-15_i386.deb

Aquí teniu els fitxer en català del directori readme:

Esborrem els fitxers en_US i els substituim pels traduïts a OOo_3.0.1_090114_LinuxIntel_langpack_ca_deb.tar.gz.

Per exemple:

ooobasis3.0-en-us_3.0.1-15_i386.deb
ooobasis3.0-ca_3.0.1-15_i386.deb

Tornem a empaquetar-ho tot i llestos:

tar zcvf OOo_3.0.1_LinuxIntel_install_ca.deb.tar.gz OOO300_m15_native_packed-1_ca.9379/

Gràcies als que han participat en les traduccions d’aquests paquets.

Us deixem aquí el fitxer de 155 Mb mentre anem buscant on deixar-lo.
OOo_3.0.1_LinuxIntel_install_ca_deb-aa
OOo_3.0.1_LinuxIntel_install_ca_deb-ab
OOo_3.0.1_LinuxIntel_install_ca_deb-ac

El servidor no permet fitxers més grans de 100MB, per tant els hem tallat

split -b50m OOo_3.0.1_LinuxIntel_install_ca_deb.tar.gz OOo_3.0.1_LinuxIntel_install_ca_deb-

Per juntar-los només cal:

cat OOo_3.0.1_LinuxIntel_install_ca_deb-a* > OOo_3.0.1_LinuxIntel_install_ca_deb.tar.gz