# deco/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This distro's version of "deco" adds the following features rela- tive to mid-2018 upstream versions: New filename extensions supported: .br and .tar.br # Needs: brotli .brotli and .tar.brotli # Ditto .crx # Needs: dd, unzip .jpg (unpacks to .pnm) # Needs: convert or djpeg .mp3 (unpacks to .wav) # Needs: sox or ffmpeg .ogg (unpacks to .wav) # Needs: oggdec .pdf (unpacks to .png and .txt) # Needs: convert, pdfimages, pdftotext .png (unpacks to .pnm) # Needs: convert or netpbm .zim # Needs: zimdump .zst and .tar.zst # Needs: zstd .zstd and .tar.zstd # Ditto Uses parallel programs "pbzip2" and/or "pigz" if they're available (but the programs are optional). #--------------------------------------------------------------------- 2. The source tarball used by this package was created based on "git" upstream sources. A procedure similar to the following was used. "YYMMDD" specifies a six-digit date. OUTBASE=deco YYMMDD=180320 DIR=$OUTBASE-git-$YYMMDD URL_ONE=https://github.com/peha/deco.git URL_TWO=https://github.com/peha/deco-archive.git rm -fr $OUTBASE $DIR $DIR.tar* git clone $URL_ONE $DIR cd $DIR git clone $URL_TWO deco-archive cd .. tar jcf $DIR.tar.bz2 $DIR #--------------------------------------------------------------------- 3. Filename extensions supported and associated dependencies. This isn't necessarily a complete list. New types supported: Extension Programs Notes ----------- ----------------------------- -------------------------- .br brotli .brotli brotli .crx dd, unzip .jpg convert or djpeg Unpacks to .pnm .mp3 sox or ffmpeg Unpacks to .wav .ogg cptime, oggdec Unpacks to .wav .pdf convert, pdfimages, pdftotext Unpacks to .png and .txt .png convert or netpbm Unpacks to .pnm .tar.br tar, brotli .tar.brotli tar, brotli .tar.zst tar, zstd .tar.zstd tar, zstd .zim zimdump .zst zstd .zstd zstd Supported by upstream: Extension Programs Notes ----------- ----------------------------- -------------------------- .7z 7za p7zip .a ar binutils .ace unace .alz unalz To be reviewed .ape MAC.exe, wine Omitted .apk unzip .ar ar binutils .arc arc .arj arj .ark arc .bz2 bunzip2 .cab cabextract or unshield .cbr unrar .cbz unzip .cpio cpio .cpio.bz2 cpio, bzcat .cpio.gz cpio, gzip .cpio.lz cpio, lzip .cpio.lzo cpio, lzop .cpio.xz cpio, xzcat .deb dpkg-deb .ear unzip .flac flac .gem tar .gz gunzip .ipsw unzip .jar unzip .lha lha .lrz lrunzip .lz lzip .lzh lha .lzma lzma or unlzma lzma or xzutils .lzo lzop .odc .odf .odg .odi .odm .odp .ods .odt .otc .otf .otg .oth .oti .otp .ots .ott .oxt unzip .pk3 unzip .pk4 unzip .rar unrar .rpm cpio, rpm2cpio or bunzip2, cpio, gunzip, rpmoffset .rz rzip .shn shorten .sue arc .t7z tar, 7za .tar tar .tar.7z tar, 7za .tar.bz2 tar .tar.gz tar .tar.lrz tar, lrunzip .tar.lz lzip, tar .tar.lzma tar, { lzma or lzcat } .tar.rz rzip, tar .tar.xz tar, unxz .tar.z tar .taz tar .tbz tar .tgz tar .tlz tar, { lzma or lzcat or or lzip } .txz tar, unxz .udeb dpkg-deb .wsz unzip .xpi unzip .xz unxz .z gunzip .zip unzip .zoo zoo #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.07 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] configure = none license = See "license*.txt" in installed tree licfile = LICENSE #--------------------------------------------------------------------- # These are primarily runtime dependencies. [depends] arc:forward arj:forward brotli:forward cabextract:forward cpio dpkg:forward flac:forward gzip infozip lrzip:forward p7zip:forward pigz:forward pbzip2:forward rpm:forward rzip shorten:forward tar unrar:forward unzip xzutils zimdump:forward zoo:forward #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin SHADIR=$PKGDIR_PROD/share/deco mkdir -p $BINDIR SHADIR make && make install cd deco-archive make && make install #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 180320 Added package. Started with git-180320. 180610 Improved "tbz" and "tgz" extractors 190716 Added support for "jpg", "ogg", and "pdf"