Libreoffice 5.2.5 and 5.3.0 + locale + help packages

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

Re: Libreoffice 5.2.5 and 5.3.0 + locale + help packages

Post by DidierSpaier »

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
.
├── PACKAGES.TXT
├── PACKAGES.TXT.gz
├── metagen-simple.sh
└── 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
didier[~/localrepo]$
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
PACKAGE CONFLICTS:  
PACKAGE SUGGESTS:  
PACKAGE DESCRIPTION:
libreoffice: libreoffice (free office suite)
libreoffice: 
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: libreoffice home: http://www.documentfoundation.org/
libreoffice: 

didier[~/localrepo]$
The corresponding line in my /etc/slapt-get/slapt-getrc is:

Code: Select all

SOURCE=file:///home/didier/localrepo:CUSTOM
You could give another name than "salix" to the directory below localrepo, but then you'd have to edit metagen-simple.sh accordingly.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Libreoffice 5.2.5 and 5.3.0 + locale + help packages

Post by mimosa »

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 \;
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Libreoffice 5.2.5 and 5.3.0 + locale + help packages

Post by djemos »

@mimosa. The answer is in metagen-simple.

Code: Select all

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