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,9 +1,7 @@
SUMMARY="Command-not-found program"
DESCRIPTION="
Command-not-found hooks into the command_not_found_handle \
DESCRIPTION="Command-not-found hooks into the command_not_found_handle \
to inform end users where to find an application if they don't have it. \
It can also check for typos (a feature of zsh).
"
It can also check for typos (a feature of zsh)."
HOMEPAGE="https://github.com/jrabbit-cnf/"
SOURCE_URI="git+https://github.com/jrabbit/haiku-cnf.git#87cd5d0c212e377cffa5d3e2a00c143fe751c6fb"
ARCHITECTURES="x86 x86_gcc2"
@@ -11,28 +9,30 @@ REVISION="1"
DISABLE_SOURCE_PACKAGE="yes"
LICENSE="GNU GPL v2"
COPYRIGHT="(c) 2011 Jrabbit"
COPYRIGHT="2011 Jrabbit"
PROVIDES="
command_not_found = $portVersion
cmd:command_not_found = $portVersion
"
"
REQUIRES="
haiku
cmd:python
"
"
BUILD_REQUIRES="
cmd:python
"
"
POST_INSTALL_SCRIPTS="
boot/post-install/install_cnf.py
"
"
PATCHES="command_not_found-0.0.1.patchset"
INSTALL()
{
mkdir -p $binDir
install -m 0755 haiku_cnf.py $binDir/command_not_found
mkdir -p $postInstallDir
patch < "$portDir/install-script.patch"
mv install_cnf.py $postInstallDir
}

View File

@@ -1,5 +1,13 @@
--- install_cnf.py.orig 2014-01-04 15:27:36.568590336 +0000
+++ install_cnf.py 2014-01-04 15:30:33.947126272 +0000
From 475d61b3d40fc506e47a492fb9ef391f246cc2f3 Mon Sep 17 00:00:00 2001
From: Humdinger <humdingerb@gmail.com>
Date: Sun, 19 Jul 2015 09:51:15 +0200
Subject: Creating patchset from original patch.
diff --git a/install_cnf.py b/install_cnf.py
index 3e976a3..4104419 100644
--- a/install_cnf.py
+++ b/install_cnf.py
@@ -1,32 +1,29 @@
#!/bin/env python
import os
@@ -46,3 +54,6 @@
options.close()
-os.system("install -m 755 haiku_cnf.py /boot/common/bin/command_not_found.py")
\ No newline at end of file
--
2.2.2