De-Linting recipes.

*	apr_util
	Added PATCHES to recipe, some cleaning up.
	Won't build, even though I cleaned out the repository folder:

	"[Errno -2147459069] No such file or directory:
	'/HiQ-Data/sources/haikuports/repository/apr_util-1.3.10.DependencyInfo'"

*	arc
	Improved DESCRIPTION
	Won't build:

	/sources/arc-5.21p/arc.c: In function `main':
	/sources/arc-5.21p/arc.c:231: parse error before `int'
	/sources/arc-5.21p/arc.c:232: `fd' undeclared (first use in this function)
	/sources/arc-5.21p/arc.c:232: (Each undeclared identifier is reported only once
	/sources/arc-5.21p/arc.c:232: for each function it appears in.)

*	bc
	Supply the correct pachset name.
	Improved SUMMARY.
	Minor cosmetics.

*	beshare
	Removed missing patchset which was declared alongside the existing one.
	Minor cosmetics.

*	brexx
	Added PATCHES to the recipe.
	Minor cosmetics.
	Won't build:

	/packages/gcc-2.95.3_2014_10_14-3/.self/develop/tools/i586-pc-haiku/bin/ld: cannot find -lPortManager
	collect2: ld returned 1 exit status
	make[1]: *** [obj/rx] Error 1
	make[1]: Leaving directory `/sources/BeBRexx/src'
	make: [brexx] Error 2 (ignored)
	Collecting files to be packaged ...
	Error: Couldn't access "/sources/BeBRexx/PortManager/obj/PortManager": No such file or directory

*	cd
	Improved SUMMARY.
	Minor cosmetics.
	Won't build:

	Fetching package for devel:libim ...
	*** failed to find a match for "devel:libim": Name not found

*	celestia
	Improved SUMMARY.
	Minor cosmetics.

*	chmlib
	Removed "." from SUMMARY.
	Minor cosmetics.

*	colorcode
	Removed "." from SUMMARY.
	Minor cosmetics.

*	command_not_found
	Removed "(C)" from copyright.
	Created a proper patchset from the provided patch.
	Added PATCHES. Remove manual patching from INSTALL().
	Minor cosmetics.

*	coveredcalc
	Removed "." from SUMMARY.
	Minor cosmetics.
	Added cmd:svn to BUILD_PREREQUIRES.

*	cyberdogs_sdl
	Improved and removed "." from SUMMARY.
	Minor cosmetics.
This commit is contained in:
Humdinger
2015-07-19 06:59:39 +02:00
parent 90be2592da
commit 9e09e1e072
13 changed files with 164 additions and 180 deletions

View File

@@ -1,13 +1,20 @@
SUMMARY="CD (Canvas Draw) is a platform-independent graphics library."
SUMMARY="A platform-independent graphics library"
DESCRIPTION="CD (Canvas Draw) is a platform-independent graphics library. It \
is implemented in several platforms using native graphics libraries: Microsoft \
Windows (GDI) and X-Windows (XLIB).
The library contains functions to support both vector and image applications, \
and the visualization surface can be either a window or a more abstract \
surface, such as Image, Clipboard, Metafile, PS, and so on."
HOMEPAGE="http://www.tecgraf.puc-rio.br/cd/"
SOURCE_URI="http://heanet.dl.sourceforge.net/project/canvasdraw/$portVersion/Docs%20and%20Sources/cd-${portVersion}_Sources.zip"
# They have a tar.gz but the permissions are broken inside it (will create unreadable files)
CHECKSUM_SHA256="533facb78db1638028740da472352a51d766518b8ab925ebd4c3ca90eb1cbb8e"
PATCHES="cd-5.8.patchset"
LICENSE="MIT"
COPYRIGHT="1994-2014 Tecgraf, PUC-Rio."
REVISION="1"
ARCHITECTURES="x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
cd$secondaryArchSuffix = $portVersion
lib:libcd$secondaryArchSuffix = $portVersion
@@ -28,7 +35,26 @@ PROVIDES="
lib:libftgl$secondaryArchSuffix = $portVersion
lib:libpdflib$secondaryArchSuffix = $portVersion
"
PROVIDES_devel="
cd${secondaryArchSuffix}_devel = $portVersion
devel:libcd$secondaryArchSuffix = $portVersion
devel:libcdgl$secondaryArchSuffix = $portVersion
devel:libcdlua51$secondaryArchSuffix = $portVersion
devel:libcdlua52$secondaryArchSuffix = $portVersion
devel:libcdluagl51$secondaryArchSuffix = $portVersion
devel:libcdluagl52$secondaryArchSuffix = $portVersion
devel:libcdluaim51$secondaryArchSuffix = $portVersion
devel:libcdluaim52$secondaryArchSuffix = $portVersion
devel:libcdluapdf51$secondaryArchSuffix = $portVersion
devel:libcdluapdf52$secondaryArchSuffix = $portVersion
devel:libcdpdf$secondaryArchSuffix = $portVersion
devel:libcdcontextplus$secondaryArchSuffix = $portVersion
devel:libcdluacontextplus51$secondaryArchSuffix = $portVersion
devel:libcdluacontextplus52$secondaryArchSuffix = $portVersion
devel:libftgl$secondaryArchSuffix = $portVersion
devel:libpdflib$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
@@ -38,8 +64,7 @@ REQUIRES="
lib:libfontconfig$secondaryArchSuffix
lib:libim$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
"
"
BUILD_REQUIRES="
devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
@@ -50,8 +75,7 @@ BUILD_REQUIRES="
devel:liblua$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:make
@@ -59,10 +83,12 @@ BUILD_PREREQUIRES="
cmd:as$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:which
"
"
SOURCE_DIR="cd"
PATCHES="cd-5.8.patchset"
BUILD()
{
cd src
@@ -110,35 +136,3 @@ TEST()
#popd
#../bin/Haiku11/cdtest
}
PROVIDES_devel="
cd${secondaryArchSuffix}_devel = $portVersion
devel:libcd$secondaryArchSuffix = $portVersion
devel:libcdgl$secondaryArchSuffix = $portVersion
devel:libcdlua51$secondaryArchSuffix = $portVersion
devel:libcdlua52$secondaryArchSuffix = $portVersion
devel:libcdluagl51$secondaryArchSuffix = $portVersion
devel:libcdluagl52$secondaryArchSuffix = $portVersion
devel:libcdluaim51$secondaryArchSuffix = $portVersion
devel:libcdluaim52$secondaryArchSuffix = $portVersion
devel:libcdluapdf51$secondaryArchSuffix = $portVersion
devel:libcdluapdf52$secondaryArchSuffix = $portVersion
devel:libcdpdf$secondaryArchSuffix = $portVersion
devel:libcdcontextplus$secondaryArchSuffix = $portVersion
devel:libcdluacontextplus51$secondaryArchSuffix = $portVersion
devel:libcdluacontextplus52$secondaryArchSuffix = $portVersion
devel:libftgl$secondaryArchSuffix = $portVersion
devel:libpdflib$secondaryArchSuffix = $portVersion
"
LICENSE="MIT"
COPYRIGHT="1994-2014 Tecgraf, PUC-Rio."
DESCRIPTION="
CD (Canvas Draw) is a platform-independent graphics library. It is implemented \
in several platforms using native graphics libraries: Microsoft Windows (GDI) \
and X-Windows (XLIB).
The library contains functions to support both vector and image applications, \
and the visualization surface can be either a window or a more abstract \
surface, such as Image, Clipboard, Metafile, PS, and so on.
"