mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
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:
@@ -0,0 +1,59 @@
|
||||
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
|
||||
|
||||
-hacks = """# command-not-found tomfoolery
|
||||
-if [ -e /boot/common/bin/python ]; then
|
||||
- command_not_found_handle(){
|
||||
- /boot/common/bin/python /boot/common/bin/command_not_found.py "$1"
|
||||
- }
|
||||
-else
|
||||
- command_not_found_handle(){
|
||||
- echo "$1 not found: try installoptionalpkg $1; and check installoptionalpkg -l"
|
||||
- }
|
||||
-fi
|
||||
+hacks = """
|
||||
+#!/bin/env python
|
||||
+command_not_found_handle(){
|
||||
+ /bin/env python /bin/command_not_found "$1"
|
||||
+}
|
||||
\n
|
||||
"""
|
||||
|
||||
-
|
||||
default_options="""{
|
||||
"autocorrect": false,
|
||||
"spellcheck": false,
|
||||
"haikuports": false
|
||||
}\n"""
|
||||
-home = os.environ['HOME']
|
||||
-if not os.path.exists("%s/config/settings/command-not-found/options.json" % home):
|
||||
- profile = open("/etc/profile", "a")
|
||||
+
|
||||
+if not os.path.exists("/boot/common/etc/profile.d/command-not-found.sh")
|
||||
+ os.mkdir("/boot/common/etc/profile.d")
|
||||
+ profile = open("/boot/common/etc/profile.d/command-not-found.sh", "a")
|
||||
profile.write(hacks)
|
||||
profile.close()
|
||||
+
|
||||
+home = os.environ['HOME']
|
||||
+if not os.path.exists("%s/config/settings/command-not-found/options.json" % home):
|
||||
os.mkdir("%s/config/settings/command-not-found/" % home)
|
||||
options = open("%s/config/settings/command-not-found/options.json" % home, "w")
|
||||
options.write(default_options)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user