From d190b53420aa4a90aced8c4eb714589874bd2d51 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Sun, 19 Jul 2015 14:05:34 +0200 Subject: [PATCH] De-Linting recipes. * bdh-calc License is Zlib. Improved SUMMARY. Minor cosmetics. * daa2iso Removed "." from SUMMARY. Minor cosmetics. * dash Removed "." from SUMMARY. Moved some things into BUILD_PREREQUIRES. * ddrescue Shortened SUMMARY. Added cmd:lzip to BUILD_PREREQUIRES. Minor cosmetics. * diffutils Removed "." from SUMMARY. Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * discount Shortened SUMMARY. Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * doctranslator Shortened SUMMARY. Corrected checksum. Added SECONDARY_ARCHITECTURES. * dos2unix Removed "." from SUMMARY. Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * dtc Improved DESCRIPTION Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * dulwich Removed "." from SUMMARY. Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. --- app-cdr/daa2iso/daa2iso-0.1.7e.recipe | 13 +++------ app-shells/dash/dash-0.5.7.recipe | 15 +++++----- app-text/discount/discount-2.1.3.recipe | 25 ++++++---------- app-text/dos2unix/dos2unix-1.0.recipe | 9 +++--- dev-python/dulwich/dulwich-0.9.7.recipe | 18 +++++------- haiku-apps/bdhcalc/bdhcalc-1.1.recipe | 27 +++++++---------- .../doctranslator/doctranslator-0.1.0.recipe | 29 +++++++++---------- sys-apps/diffutils/diffutils-3.3.recipe | 21 +++++++------- sys-apps/dtc/dtc-1.4.1.recipe | 11 ++++--- sys-fs/ddrescue/ddrescue-1.19.recipe | 17 +++++------ 10 files changed, 78 insertions(+), 107 deletions(-) diff --git a/app-cdr/daa2iso/daa2iso-0.1.7e.recipe b/app-cdr/daa2iso/daa2iso-0.1.7e.recipe index 6b8cd7857..0d97a9994 100644 --- a/app-cdr/daa2iso/daa2iso-0.1.7e.recipe +++ b/app-cdr/daa2iso/daa2iso-0.1.7e.recipe @@ -1,9 +1,7 @@ -SUMMARY="A tool for converting DAA/GBI images to ISO format." -DESCRIPTION=" -DAA2ISO is an open source command-line/GUI tool for converting single and \ -multipart DAA and GBI images to the original ISO format. -DAA/GBI files are 'Direct Access Archive' used by PowerISO and gBurner -" +SUMMARY="A tool for converting DAA/GBI images to ISO format" +DESCRIPTION="DAA2ISO is an open source command-line/GUI tool for converting \ +single and multipart DAA and GBI images to the original ISO format. +DAA/GBI files are 'Direct Access Archive' used by PowerISO and gBurner" LICENSE="GNU GPL v2" COPYRIGHT="Luigi Auriemma" HOMEPAGE="http://aluigi.org/mytoolz.htm#daa2iso" @@ -17,15 +15,12 @@ PROVIDES=" daa2iso = $portVersion cmd:daa2iso = $portVersion " - REQUIRES=" haiku " - BUILD_REQUIRES=" haiku_devel " - BUILD_PREREQUIRES=" cmd:make cmd:gcc diff --git a/app-shells/dash/dash-0.5.7.recipe b/app-shells/dash/dash-0.5.7.recipe index a0ee1cc57..eeba9b3fd 100644 --- a/app-shells/dash/dash-0.5.7.recipe +++ b/app-shells/dash/dash-0.5.7.recipe @@ -1,9 +1,8 @@ -SUMMARY="POSIX-compliant implementation of /bin/sh." -DESCRIPTION=" -Dash is a POSIX-compliant implementation of /bin/sh that aims to be as small \ -as possible. It does this without sacrificing speed where possible. In fact, \ -it is significantly faster than bash (the GNU Bourne-Again Shell) for most tasks. -" +SUMMARY="POSIX-compliant implementation of /bin/sh" +DESCRIPTION="Dash is a POSIX-compliant implementation of /bin/sh that aims to \ +be as small as possible. It does this without sacrificing speed where \ +possible. In fact, it is significantly faster than bash (the GNU Bourne-Again \ +Shell) for most tasks." HOMEPAGE="http://gondor.apana.org/~herbert/dash/" SOURCE_URI="http://gondor.apana.org/~herbert/dash/files/dash-0.5.7.tar.gz" CHECKSUM_SHA256="ae89fa9f1145b7748cf0740e1df04cd52fdf8a285da4911dd0f04983efba4e39" @@ -19,15 +18,15 @@ PROVIDES=" dash = $portVersion cmd:dash = $portVersion " - REQUIRES=" haiku lib:libreadline lib:libncursesw " - BUILD_REQUIRES=" haiku_devel + " +BUILD_PREREQUIRES=" cmd:gcc cmd:awk cmd:make diff --git a/app-text/discount/discount-2.1.3.recipe b/app-text/discount/discount-2.1.3.recipe index 087531d91..2971faac0 100644 --- a/app-text/discount/discount-2.1.3.recipe +++ b/app-text/discount/discount-2.1.3.recipe @@ -1,12 +1,9 @@ -SUMMARY="An implementation of John Gruber's Markdown text to html language written in C" -DESCRIPTION=" -Markdown provides a library that gives you formatting functions suitable for \ -marking down entire documents or lines of text, a command-line program that \ -you can use to mark down documents interactively or from a script, and a tiny \ -(3 programs so far) suite of example programs that show how to fully utilize \ -the markdown library. -" - +SUMMARY="An implementation of John Gruber's Markdown text to html language" +DESCRIPTION="Markdown provides a library that gives you formatting functions \ +suitable for marking down entire documents or lines of text, a command-line \ +program that you can use to mark down documents interactively or from a \ +script, and a tiny (3 programs so far) suite of example programs that show \ +how to fully utilize the markdown library." HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/" SOURCE_URI="http://www.pell.portland.or.us/~orc/Code/discount/discount-2.1.3.tar.bz2" CHECKSUM_SHA256="7280da7a27be42244311912eeee19695623f196817ec08f43b652fcc2ded975d" @@ -22,15 +19,13 @@ PROVIDES=" cmd:mkd2html = $portVersion compat >= 2 cmd:theme = $portVersion compat >= 2 " - REQUIRES=" haiku " - -BUILD_REQUIRES="" - -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku_devel + " +BUILD_PREREQUIRES=" cmd:make cmd:gcc cmd:g++ @@ -40,12 +35,10 @@ BUILD_PREREQUIRES=" cmd:sed cmd:find " - PROVIDES_devel=" discount_devel = $portVersion compat >= 2 devel:libmarkdown " - REQUIRES_devel=" discount == $portVersion " diff --git a/app-text/dos2unix/dos2unix-1.0.recipe b/app-text/dos2unix/dos2unix-1.0.recipe index 4cd70ca76..9c1fae428 100644 --- a/app-text/dos2unix/dos2unix-1.0.recipe +++ b/app-text/dos2unix/dos2unix-1.0.recipe @@ -1,4 +1,4 @@ -SUMMARY="dos2unix and unix2dos end of line file convertors." +SUMMARY="dos2unix and unix2dos end of line file convertors" DESCRIPTION="DOS/Windows like to put CR/LF at the end of lines whereas UNIX like to have just LF. Dos2unix and unix2dos are simple parser/converter command line programs to convert between the two formats." HOMEPAGE="http://www.programmersheaven.com/download/3118/download.aspx" SOURCE_URI="http://ports-space.haiku-files.org/source/dos2unix-1.0.zip" @@ -14,17 +14,16 @@ PROVIDES=" cmd:dos2unix cmd:unix2dos " - REQUIRES=" haiku " - -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku_devel + " +BUILD_PREREQUIRES=" cmd:gcc " - BUILD() { gcc -O -o dos2unix DOS2UNIX.C diff --git a/dev-python/dulwich/dulwich-0.9.7.recipe b/dev-python/dulwich/dulwich-0.9.7.recipe index 262d2adf9..b9734c6f7 100644 --- a/dev-python/dulwich/dulwich-0.9.7.recipe +++ b/dev-python/dulwich/dulwich-0.9.7.recipe @@ -1,9 +1,7 @@ -SUMMARY="Simple Python implementation of the Git file formats and protocols." -DESCRIPTION=" -Dulwich is a simple Python implementation of the Git file formats and \ -protocols. All functionality is available in pure Python. Optional C \ -extensions can be built for improved performance. -" +SUMMARY="Simple Python implementation of the Git file formats and protocols" +DESCRIPTION="Dulwich is a simple Python implementation of the Git file \ +formats and protocols. All functionality is available in pure Python.\ +Optional C extensions can be built for improved performance." HOMEPAGE="http://www.samba.org/~jelmer/dulwich/" SOURCE_URI="https://pypi.python.org/packages/source/d/dulwich/dulwich-0.9.7.tar.gz" CHECKSUM_SHA256="12e77b0434a3bb3075e9c96e608ee9c3f85e49bc9c8335139aba8795de4000f3" @@ -21,16 +19,14 @@ PROVIDES=" cmd:dul_web = $portVersion cmd:dulwich = $portVersion " - REQUIRES=" haiku cmd:python " - -BUILD_REQUIRES="" - -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku_devel + " +BUILD_PREREQUIRES=" cmd:python cmd:gcc " diff --git a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe index 5003e6590..cf10f3d95 100644 --- a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe +++ b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe @@ -1,18 +1,15 @@ -SUMMARY="Fully functunal 64bit calculator" -DESCRIPTION=" -BDH Calc is a fully functional 64bit calculator, supporting common arithmetic \ -operations like adding, subtracting, dividing and multiplying as well as \ -bitwise operators. You can choose the word size and whether the sign is \ -considered to simulate any integral data type. Moreover the calculator \ -supports binary, decimal and hexadecimal conversion. -" -HOMEPAGE="http://github.com/ThomasCompix/BDH-Calc" -SOURCE_URI="git://github.com/ThomasCompix/BDH-Calc.git#4a6865932ae0e95244ed0149b6e8c4f437ea742a" +SUMMARY="Fully functional 64bit calculator" +DESCRIPTION="BDH Calc is a fully functional 64bit calculator, supporting \ +common arithmetic operations like adding, subtracting, dividing and \ +multiplying as well as bitwise operators. You can choose the word size and \ +whether the sign is considered to simulate any integral data type. Moreover \ +the calculator supports binary, decimal and hexadecimal conversion." +HOMEPAGE="http://github.com/HaikuArchives/BDH-Calc" +SOURCE_URI="git://github.com/HaikuArchives/BDH-Calc.git#6a3433a5fb558f592dd246b400221f2223770e75" REVISION="1" -LICENSE="Undetermined" +LICENSE="Zlib" COPYRIGHT="1999 Scott Hammond" - -ARCHITECTURES="x86 x86_gcc2 !ppc" +ARCHITECTURES="x86 x86_gcc2 ?x86_64" PROVIDES=" bdhcalc = $portVersion @@ -21,13 +18,11 @@ PROVIDES=" REQUIRES=" haiku " - BUILD_REQUIRES=" haiku_devel " - BUILD_PREREQUIRES=" - cmd:gcc + cmd:g++ " BUILD() diff --git a/haiku-apps/doctranslator/doctranslator-0.1.0.recipe b/haiku-apps/doctranslator/doctranslator-0.1.0.recipe index 72fae02b5..aaa085995 100644 --- a/haiku-apps/doctranslator/doctranslator-0.1.0.recipe +++ b/haiku-apps/doctranslator/doctranslator-0.1.0.recipe @@ -1,35 +1,34 @@ -SUMMARY="A translator for DOC documents." -DESCRIPTION="This translator translates DOC files to plain text, PostScript or - PDF using antiword." +SUMMARY="A translator for DOC documents" +DESCRIPTION="This translator converts DOC files to plain text, PostScript or \ +PDF using antiword." HOMEPAGE="http://github.com/TwoFX/DOCTranslator" SOURCE_URI="https://github.com/HaikuArchives/DOCTranslator/archive/7b8fa2b6d0ce027ce9e9b03cbdc21016190436de.zip" -CHECKSUM_SHA256="d7db1df858c2e775412bf5fcafaf1b6010461a208fe0c3bc680f582794dd8dea" - -SOURCE_DIR="DOCTranslator-7b8fa2b6d0ce027ce9e9b03cbdc21016190436de" - +CHECKSUM_SHA256="ce271927e70e49a2c00eb46df785202bb7de9c7abdaf1f96ef533d827e346588" REVISION="2" LICENSE="MIT" COPYRIGHT="2014 Markus Himmel" ARCHITECTURES="x86 x86_gcc2" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" - doctranslator = $portVersion + doctranslator$secondaryArchSuffix = $portVersion + addon:doctranslator$secondaryArchSuffix = $portVersion " - REQUIRES=" - haiku + haiku$secondaryArchSuffix antiword >= 0.37 " - BUILD_REQUIRES=" - haiku_devel + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" makefile_engine + cmd:gcc$secondaryArchSuffix + cmd:make " -BUILD_PREREQUIRES=" - cmd:make - cmd:gcc" +SOURCE_DIR="DOCTranslator-7b8fa2b6d0ce027ce9e9b03cbdc21016190436de" BUILD() { diff --git a/sys-apps/diffutils/diffutils-3.3.recipe b/sys-apps/diffutils/diffutils-3.3.recipe index 8b635de09..3e36ef95d 100644 --- a/sys-apps/diffutils/diffutils-3.3.recipe +++ b/sys-apps/diffutils/diffutils-3.3.recipe @@ -1,9 +1,9 @@ -SUMMARY="Several programs for finding differences between files." -DESCRIPTION=" -You can use the diff command to show differences between two files, or each \ -corresponding file in two directories. diff outputs differences between files \ -line by line in any of several formats, selectable by command line options. \ -This set of differences is often called a ‘diff’ or ‘patch’. +SUMMARY="Several programs for finding differences between files" +DESCRIPTION="You can use the diff command to show differences between two \ +files, or each corresponding file in two directories. diff outputs \ +differences between files line by line in any of several formats, selectable \ +by command line options. This set of differences is often called a ‘diff’ or \ +‘patch’. You can use the cmp command to show the offsets and line numbers where two \ files differ. cmp can also show all the characters that differ between the two \ files, side by side. @@ -12,8 +12,7 @@ people have made independent changes to a common original, diff3 can report \ the differences between the original and the two changed versions, and can \ produce a merged file that contains both persons' changes together with \ warnings about conflicts. -You can use the sdiff command to merge two files interactively. -" +You can use the sdiff command to merge two files interactively." LICENSE="GNU GPL v3" COPYRIGHT="1992-2013 Free Software Foundation, Inc." HOMEPAGE="http://www.gnu.org/software/diffutils/" @@ -29,13 +28,13 @@ PROVIDES=" cmd:diff3 = $portVersion cmd:sdiff = $portVersion " - REQUIRES=" haiku " - -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku_devel + " +BUILD_PREREQUIRES=" cmd:make cmd:gcc cmd:awk diff --git a/sys-apps/dtc/dtc-1.4.1.recipe b/sys-apps/dtc/dtc-1.4.1.recipe index b7434df4e..e8f2d6d8c 100644 --- a/sys-apps/dtc/dtc-1.4.1.recipe +++ b/sys-apps/dtc/dtc-1.4.1.recipe @@ -1,7 +1,6 @@ SUMMARY="The Device Tree Compiler" -DESCRIPTION=" -The Device Tree Compiler -" +DESCRIPTION="The Device Tree Compiler (DTC) is the toolchain for building \ +device tree source files (*.dts) into the binary format (*.dtb)." HOMEPAGE="https://git.kernel.org/cgit/utils/dtc/dtc.git" SOURCE_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git#v1.4.1" LICENSE="GNU GPL v2" @@ -28,13 +27,13 @@ PROVIDES=" lib:libfdt_$portVersion$secondaryArchSuffix = $portVersion devel:libfdt$secondaryArchSuffix = $portVersion " - REQUIRES=" haiku$secondaryArchSuffix " - -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" cmd:bison >= 2.5 cmd:flex cmd:gcc$secondaryArchSuffix diff --git a/sys-fs/ddrescue/ddrescue-1.19.recipe b/sys-fs/ddrescue/ddrescue-1.19.recipe index 0206f61cd..345946e9d 100644 --- a/sys-fs/ddrescue/ddrescue-1.19.recipe +++ b/sys-fs/ddrescue/ddrescue-1.19.recipe @@ -1,14 +1,13 @@ -SUMMARY="Copy data from one file or block device to another with read-error recovery" -DESCRIPTION="GNU ddrescue is a data recovery tool. \ -It copies data from one file or block device \ -(hard disc, cdrom, etc) to another, \ -trying to rescue the good parts first in case of read errors. -" +SUMMARY="Copy data between file or block devices with read-error recovery" +DESCRIPTION="GNU ddrescue is a data recovery tool. It copies data from one \ +file or block device (hard disc, cdrom, etc) to another, trying to rescue the \ +good parts first in case of read errors." HOMEPAGE="http://www.gnu.org/software/ddrescue/" SOURCE_URI="http://ftpmirror.gnu.org/ddrescue/ddrescue-1.19.tar.lz" CHECKSUM_SHA256="ed8d0c9d9aac80a9110e9cb0d0a91a7390d3bf9f816b67a62ca4eb140f4747b8" REVISION="1" -COPYRIGHT="2004-2014 Antonio Diaz Diaz +COPYRIGHT=" + 2004-2014 Antonio Diaz Diaz " LICENSE="GNU GPL v2" @@ -34,18 +33,16 @@ PROVIDES=" cmd:ddrescue$commandSuffix = $portVersion cmd:ddrescuelog$commandSuffix = $portVersion " - REQUIRES=" haiku$secondaryArchSuffix lib:libgcc_s$secondaryArchSuffix lib:libstdc++$secondaryArchSuffix " - BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " - BUILD_PREREQUIRES=" + cmd:lzip cmd:make cmd:gcc$secondaryArchSuffix "