mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Merged in radustoma/haikuports/newb (pull request #261)
Updated JamMin by removing patches, which were applied to the JamMin repo, and fixing some build and install errors.
This commit is contained in:
@@ -6,8 +6,8 @@ Jamfiles are also used for organizing targets— each Jamfile is a separate \
|
||||
project that can be built independently from the other projects.
|
||||
"
|
||||
HOMEPAGE="https://github.com/HaikuArchives/JamMin"
|
||||
SRC_URI="git+https://github.com/HaikuArchives/JamMin.git#681e87d6d4"
|
||||
REVISION="2"
|
||||
SRC_URI="git+https://github.com/HaikuArchives/JamMin.git#85ce20ccc0"
|
||||
REVISION="3"
|
||||
COPYRIGHT="2003 Guido Casiraghi"
|
||||
LICENSE="MIT"
|
||||
|
||||
@@ -33,11 +33,10 @@ REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
PATCHES="jampatch-1.patch"
|
||||
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd source
|
||||
make OBJ_DIR=objects \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
}
|
||||
@@ -45,6 +44,6 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp objects/JamApp $appsDir
|
||||
cp source/objects/JamApp $appsDir
|
||||
addAppDeskbarSymlink $appsDir/JamApp
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
diff --git a/JamMin.rdef b/JamMin.rdef
|
||||
index 1707392..a46587d 100644
|
||||
--- a/JamMin.rdef
|
||||
+++ b/JamMin.rdef
|
||||
@@ -13,10 +13,7 @@ resource app_version {
|
||||
variety = B_APPV_ALPHA,
|
||||
internal = 0,
|
||||
|
||||
- short_info = "The Jamfile Administrator",
|
||||
- long_info = #'CSTR' array {
|
||||
-
|
||||
- }
|
||||
+ short_info = "The Jamfile Administrator"
|
||||
};
|
||||
|
||||
resource app_flags B_SINGLE_LAUNCH;
|
||||
diff --git a/JamMinWindow.cpp b/JamMinWindow.cpp
|
||||
index 2b0077f..2b3c9af 100644
|
||||
--- a/JamMinWindow.cpp
|
||||
+++ b/JamMinWindow.cpp
|
||||
@@ -1001,10 +1001,6 @@ JamMinWindow::IsSystemLibraryPath(BPath* libPath)
|
||||
//if (ret == B_OK) {
|
||||
if ( strcmp(libPath->Path(), path.Path()) == 0 ) return true;
|
||||
//}
|
||||
- ret = find_directory(B_COMMON_LIB_DIRECTORY, &path);
|
||||
- if (ret == B_OK) {
|
||||
- if ( strcmp(libPath->Path(), path.Path()) == 0 ) return true;
|
||||
- }
|
||||
|
||||
ret = find_directory(B_USER_LIB_DIRECTORY, &path); //the same as B_COMMON_LIB_DIRECTORY
|
||||
if (ret == B_OK) {
|
||||
diff --git a/makefile b/makefile
|
||||
new file mode 100644
|
||||
index 0000000..8514e9d
|
||||
--- /dev/null
|
||||
+++ b/makefile
|
||||
@@ -0,0 +1,14 @@
|
||||
+## JamMin makefile for Haiku OS ##
|
||||
+
|
||||
+NAME= JamApp
|
||||
+
|
||||
+TYPE= APP
|
||||
+
|
||||
+SRCS= TargetSettingsWin.cpp TargetConfig.cpp main.cpp LinkerSettingsView.cpp JMOpenFilePanel.cpp JamMinWindow.cpp JamMinApp.cpp JamFile.cpp IncludeSettingsView.cpp GeneralSettingsView.cpp CompilerSettingsView.cpp
|
||||
+RDEFS= JamMin.rdef
|
||||
+LIBS= be stdc++.r4 root tracker
|
||||
+OPTIMIZE= FULL
|
||||
+WARNINGS = ALL
|
||||
+
|
||||
+## include makefile engine
|
||||
+include $(BUILDHOME)/etc/makefile-engine
|
||||
Reference in New Issue
Block a user