Libreoffice 5.2.5 and 5.3.0 + locale + help packages

Here you can post links to your contributed packages.
Posts: 332
Joined: 20. Jun 2016, 20:15

Re: Libreoffice 5.2.5 and 5.3.0 + locale + help packages

Post by DidierSpaier » 14. Feb 2017, 17:46

Well, at second thought I recommend to use Gapan's metagen-simple and put it e.g. in ~/localrepo
Then there is no other constraint than putting the packages and associated files like .dep in the directory ~/localrepo/salix or in a subdirectory of it, at any level. For instance after having stored the package and its associated .dep in ~/localrepo/salix/b/c then having run "sh metagen-simple all" in ~/localrepo I get this:

Code: Select all

didier[~/localrepo]$ tree
└── salix
    └── b
        └── c
            ├── libreoffice-5.3.0-x86_64-1dj.dep
            ├── libreoffice-5.3.0-x86_64-1dj.meta
            ├── libreoffice-5.3.0-x86_64-1dj.txt
            └── libreoffice-5.3.0-x86_64-1dj.txz

3 directories, 7 files
And as I did put the .dep alongside the package, I get:

Code: Select all

didier[~/localrepo]$ cat PACKAGES.TXT

PACKAGE NAME:  libreoffice-5.3.0-x86_64-1dj.txz
PACKAGE LOCATION:  ./salix/b/c
PACKAGE SIZE (compressed):  125388 K
PACKAGE SIZE (uncompressed):  501552 K
PACKAGE REQUIRED:  atk,cairo,gcc-g++,expat,fontconfig,freetype,gcc,gdk-pixbuf2,glib2,gtk+2,libICE,libSM,libX11,libXau,libXaw,libXcomposite,libXcursor,libXdamage,libXdmcp,libXext,libXfixes,libXi,libXinerama,libXmu,libXpm,libXrandr,libXrender,libXt,libpng,libxcb,libxml2,pango,pixman,python,util-linux,zlib
libreoffice: libreoffice (free office suite)
libreoffice: LibreOffice is an Open Source,community-developed,office
libreoffice: productivity suite. It includes key desktop applications,such as a
libreoffice: word processor,spreadsheet,presentation manager,formula editor and
libreoffice: drawing program,with a user interface and feature set similar to
libreoffice: other office suites. LibreOffice also works transparently with a
libreoffice: variety of file formats,including Microsoft Office File Formats.
libreoffice: libreoffice home:

The corresponding line in my /etc/slapt-get/slapt-getrc is:

Code: Select all

You could give another name than "salix" to the directory below localrepo, but then you'd have to edit accordingly.

User avatar
Salix Warrior
Posts: 3141
Joined: 25. May 2010, 17:02

Re: Libreoffice 5.2.5 and 5.3.0 + locale + help packages

Post by mimosa » 15. Feb 2017, 19:13

Thanks Didier, that seems to work very well!

The line in the FAQ to create the checksums contains a typo, and also assumes packages will be .tgz. A little regex would cover all cases, but here's what I did:

Code: Select all

rm CHECKSUMS.md5; find . -name '*.txz' -exec md5sum {} >> CHECKSUMS.md5 \;

Salix Warrior
Posts: 1102
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Libreoffice 5.2.5 and 5.3.0 + locale + help packages

Post by djemos » 15. Feb 2017, 19:55

@mimosa. The answer is in metagen-simple.

Code: Select all

rm CHECKSUMS.md5; find . -name '*.t[glx]z' -exec md5sum {} >> CHECKSUMS.md5 \;

Post Reply