From 2c7b436c6097b0cd2a183fb735f15c0bc14ae363 Mon Sep 17 00:00:00 2001 From: Radu Toma Date: Wed, 3 Dec 2014 19:46:04 +0000 Subject: [PATCH 01/28] Updated JamMin by removing patches, which were applied to the JamMin repo, and fixing some build and install errors. --- haiku-apps/jammin/jammin-0.1.0.recipe | 7 ++- haiku-apps/jammin/patches/jampatch-1.patch | 51 ---------------------- 2 files changed, 3 insertions(+), 55 deletions(-) delete mode 100644 haiku-apps/jammin/patches/jampatch-1.patch diff --git a/haiku-apps/jammin/jammin-0.1.0.recipe b/haiku-apps/jammin/jammin-0.1.0.recipe index 304c280be..06ba969d5 100644 --- a/haiku-apps/jammin/jammin-0.1.0.recipe +++ b/haiku-apps/jammin/jammin-0.1.0.recipe @@ -6,7 +6,7 @@ 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" +SRC_URI="git+https://github.com/HaikuArchives/JamMin.git" REVISION="2" 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 } diff --git a/haiku-apps/jammin/patches/jampatch-1.patch b/haiku-apps/jammin/patches/jampatch-1.patch deleted file mode 100644 index ab7bb8b26..000000000 --- a/haiku-apps/jammin/patches/jampatch-1.patch +++ /dev/null @@ -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 From 38bea89e7306b2fd53a22d97bc23317c22558154 Mon Sep 17 00:00:00 2001 From: Radu Toma Date: Thu, 4 Dec 2014 17:56:42 +0000 Subject: [PATCH 02/28] Updated JamMin recipe --- haiku-apps/jammin/jammin-0.1.0.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haiku-apps/jammin/jammin-0.1.0.recipe b/haiku-apps/jammin/jammin-0.1.0.recipe index 06ba969d5..22ebdf6a8 100644 --- a/haiku-apps/jammin/jammin-0.1.0.recipe +++ b/haiku-apps/jammin/jammin-0.1.0.recipe @@ -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" -REVISION="2" +SRC_URI="git+https://github.com/HaikuArchives/JamMin.git#85ce20ccc0" +REVISION="3" COPYRIGHT="2003 Guido Casiraghi" LICENSE="MIT" From d74f3260811b464c30e8fa6aa0d49ae540fe032d Mon Sep 17 00:00:00 2001 From: Nav Date: Thu, 4 Dec 2014 20:41:18 +0200 Subject: [PATCH 03/28] Fixed recipe for Organizer --- haiku-apps/organizer/organizer-0.1.recipe | 7 +- .../organizer/patches/organizer-0.1.patchset | 562 ------------------ 2 files changed, 4 insertions(+), 565 deletions(-) delete mode 100644 haiku-apps/organizer/patches/organizer-0.1.patchset diff --git a/haiku-apps/organizer/organizer-0.1.recipe b/haiku-apps/organizer/organizer-0.1.recipe index 6504f3d25..67a104dac 100644 --- a/haiku-apps/organizer/organizer-0.1.recipe +++ b/haiku-apps/organizer/organizer-0.1.recipe @@ -21,6 +21,8 @@ BUILD_REQUIRES=" " BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + devel:libGL makefile_engine cmd:gcc cmd:make @@ -36,12 +38,11 @@ PATCHES="organizer-0.1.patch" USER_SETTINGS_FILES=" settings/fSub directory" -PATCHES="organizer-0.1.patchset" - BUILD() { cd Source - make OBJ_DIR=objects BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make + cd .. } INSTALL() diff --git a/haiku-apps/organizer/patches/organizer-0.1.patchset b/haiku-apps/organizer/patches/organizer-0.1.patchset deleted file mode 100644 index 3bf5d9b7d..000000000 --- a/haiku-apps/organizer/patches/organizer-0.1.patchset +++ /dev/null @@ -1,562 +0,0 @@ -From 9c4c954831ab5388dfc2bd18b1a220ca8b6e3b47 Mon Sep 17 00:00:00 2001 -From: Chris Roberts -Date: Mon, 2 Dec 2013 18:52:50 -0700 -Subject: applying patch organizer-0.1.patch - - -diff --git a/Source/App/Secret/glView.cpp b/Source/App/Secret/glView.cpp -index 96ef6c5..931e9a6 100644 ---- a/Source/App/Secret/glView.cpp -+++ b/Source/App/Secret/glView.cpp -@@ -22,7 +22,7 @@ - // Constructor/destructor - TutGLView::TutGLView( Wind *owner_wind, BRect frame, const char *name, - int32 mode, int32 flags ) -- : BGLView( frame, const_cast( name ), mode, flags, -+ : BGLView( frame, name, mode, flags, - BGL_RGB | BGL_DOUBLE | BGL_DEPTH ), - pad_x( 1.0 ), - pad_y(-2.0), -@@ -131,7 +131,7 @@ void TutGLView::ErrorCallback( GLenum err ) - // out. You'll have to run the application from a Terminal to see - // these. - fprintf( stderr, "Unexpected error occured (%ld):\n", err ); -- fprintf( stderr, "\t%s\n", gluErrorString( err ) ); -+ //fprintf( stderr, "\t%s\n", gluErrorString( err ) ); - } - - void TutGLView::Render( void ) -@@ -164,7 +164,7 @@ void TutGLView::gInit( void ) - glMatrixMode( GL_PROJECTION ); - glLoadIdentity(); - BRect r = Bounds(); -- gluPerspective( 45.0, r.Width() / r.Height(), 0.1, 100.0 ); -+ //gluPerspective( 45.0, r.Width() / r.Height(), 0.1, 100.0 ); - glMatrixMode( GL_MODELVIEW ); - } - -@@ -178,7 +178,7 @@ void TutGLView::gReshape( int width, int height ) - glViewport( 0, 0, width, height ); - glMatrixMode( GL_PROJECTION ); - glLoadIdentity(); -- gluPerspective( 45.0, (float)width/(float)height, 0.1, 100.0 ); -+ //gluPerspective( 45.0, (float)width/(float)height, 0.1, 100.0 ); - glMatrixMode( GL_MODELVIEW ); - } - -diff --git a/Source/App/calenderView.cpp b/Source/App/calenderView.cpp -index 54f6930..d72b47e 100644 ---- a/Source/App/calenderView.cpp -+++ b/Source/App/calenderView.cpp -@@ -55,7 +55,7 @@ mCalender->SetDay(mCalender->ThisDay()); - //Load Settings - MSave load("load"); - --find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - String.SetTo(Path.Path()); - String.Append(SAVE_SETTINGS_PATH); - Path.SetTo(String.String()); -diff --git a/Source/App/editScriptView.cpp b/Source/App/editScriptView.cpp -index a4df6d3..70a2cd4 100644 ---- a/Source/App/editScriptView.cpp -+++ b/Source/App/editScriptView.cpp -@@ -145,7 +145,7 @@ BString tempString2; - BString tempString3; - BString FilePath; - --find_directory(B_COMMON_SETTINGS_DIRECTORY, &fPath); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &fPath); - tempString.SetTo(fPath.Path()); - tempString.Append(SAVE_HISTORY_PATH); - fPath = tempString.String(); -@@ -183,7 +183,7 @@ BPath Path; - int ItemNumber = 1; - MSave Save("Save"); - --find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - tempString.SetTo(Path.Path()); - tempString.Append(SAVE_HISTORY_PATH); - for (int a = 1; a <= INT_MAXFILES; a++) -diff --git a/Source/App/editWindow.cpp b/Source/App/editWindow.cpp -index 6684829..1feb57e 100644 ---- a/Source/App/editWindow.cpp -+++ b/Source/App/editWindow.cpp -@@ -302,7 +302,7 @@ BString FilePath; - MSave Save("save"); - if(!strcmp(fPath.String(), "")) - { -- find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+ find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - fPath.SetTo(Path.Path()); - fPath.Append(SAVE_NOTE_PATH); - Path = fPath.String(); -@@ -359,7 +359,7 @@ BEntry Entry("/boot/home"); - MSave Save("save"); - if(!strcmp(fPath.String(), "")) - { -- find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+ find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - fPath.SetTo(Path.Path()); - fPath.Append(SAVE_NOTE_PATH); - Path = fPath.String(); -@@ -430,7 +430,7 @@ BEntry Entry("/boot/home"); - MSave Save("save"); - if(!strcmp(fPath.String(), "")) - { -- find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+ find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - fPath.SetTo(Path.Path()); - fPath.Append(SAVE_HISTORY_PATH); - Path = fPath.String(); -@@ -509,7 +509,7 @@ BString FilePath; - MSave Save("save"); - if(!strcmp(fPath.String(), "")) - { -- find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+ find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - fPath.SetTo(Path.Path()); - fPath.Append(SAVE_NOTE_PATH); - Path = fPath.String(); -diff --git a/Source/App/exportWindow.cpp b/Source/App/exportWindow.cpp -index 1ed3d33..0db456b 100644 ---- a/Source/App/exportWindow.cpp -+++ b/Source/App/exportWindow.cpp -@@ -114,7 +114,7 @@ BPath Path; - BEntry Entry("/boot/home"); - MSave Load("Load"); - --find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - fFolderPath.SetTo(Path.Path()); - fFolderPath.Append(SAVE_NOTE_PATH); - -diff --git a/Source/App/mWindow.cpp b/Source/App/mWindow.cpp -index 597f4ad..426bf83 100644 ---- a/Source/App/mWindow.cpp -+++ b/Source/App/mWindow.cpp -@@ -339,7 +339,7 @@ void mWindow::GetSettingsPath(BPath *path) - { - BPath Path; - BString string; --find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - string.SetTo(Path.Path()); - string.Append(SAVE_SETTINGS_PATH); - path->SetTo(string.String()); -@@ -358,7 +358,7 @@ BString tempString4; - BString FilePath; - BEntry Entry("/boot/home"); - --find_directory(B_COMMON_SETTINGS_DIRECTORY, &fPath); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &fPath); - tempString.SetTo(fPath.Path()); - tempString.Append(SAVE_NOTE_PATH); - fPath = tempString.String(); -diff --git a/Source/App/main.cpp b/Source/App/main.cpp -index 88a0269..aaf47e6 100644 ---- a/Source/App/main.cpp -+++ b/Source/App/main.cpp -@@ -11,7 +11,7 @@ int main(int32 argc, char** argv) - BPath path; - BString tmp; - MSave savefile("savefile"); --find_directory(B_COMMON_SETTINGS_DIRECTORY, &path); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &path); - tmp.SetTo(path.Path()); - tmp.Append(SAVE_SETTINGS_PATH); - path.SetTo(tmp.String()); -@@ -62,7 +62,7 @@ RunNotification = true; - \Notes - *********************************************/ - //Make sure all the folders are there --find_directory(B_COMMON_SETTINGS_DIRECTORY, &path); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &path); - //Make fSub folder - tmp.SetTo("mkdir "); - tmp.Append(path.Path()); -@@ -364,7 +364,7 @@ void mApp::MessageReceived(BMessage *message) - BString tempString; - BString tempString2; - BPath Path; -- find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+ find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - tempString.SetTo(path.Path()); - tempString.Append(SAVE_SETTINGS_PATH); - save.FindString(tempString.String(), SAVE_FILE_NAME, NAME_EXEC_DIR, &tempString2, "M_ERROR"); -@@ -476,7 +476,7 @@ int32 - mApp::CheckForUpdateThread_static(void *data) - { - mApp *check4updates = (mApp *)data; -- check4updates->CheckForUpdateThread(); -+ //check4updates->CheckForUpdateThread(); - return 0; - } - -@@ -577,7 +577,7 @@ BEntry Entry("/boot/home"); - tmpString << _mWindow->_CalenderView->mCalender->ThisYear(); - _mWindow->Unlock(); - -- find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+ find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - FolderPath.SetTo(Path.Path()); - FolderPath << SAVE_NOTE_PATH; - for (int a = 1; a <= INT_MAXFILES; a++) -@@ -631,7 +631,7 @@ BEntry Entry("/boot/home"); - if (NowMinute == TodayMinute && NowHour == TodayHour) - { - Save.FindString(FolderPath.String(), FileName.String(), SAVE_FILE_NOTE, &tmpString, "M_ERROR"); -- find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+ find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - FolderPath.SetTo(Path.Path()); - FolderPath << SAVE_PATH_PART_1 << SAVE_PATH_PART_2; - FileName.SetTo("TempRunScript"); -diff --git a/Source/App/makefile b/Source/App/makefile -index 40cc7b6..dd0b811 100644 ---- a/Source/App/makefile -+++ b/Source/App/makefile -@@ -29,7 +29,7 @@ LIBS= root \ - translation \ - fSub - DEFINES= --LIBPATHS= ../../lib -+LIBPATHS= ../lib - - SYSTEM_INCLUDE_PATHS = - LOCAL_INCLUDE_PATHS = -diff --git a/Source/App/obsolete/Language.cpp b/Source/App/obsolete/Language.cpp -index 0c23228..89aa24b 100644 ---- a/Source/App/obsolete/Language.cpp -+++ b/Source/App/obsolete/Language.cpp -@@ -201,7 +201,7 @@ void mWindow::SetSettingsPath(BPath *path) - { - BPath Path; - BString string; --find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - string.SetTo(Path.Path()); - string.Append(SAVE_SETTINGS_PATH); - path->SetTo(string.String()); -diff --git a/Source/App/preferencesView.cpp b/Source/App/preferencesView.cpp -index 4b45894..e5ad788 100644 ---- a/Source/App/preferencesView.cpp -+++ b/Source/App/preferencesView.cpp -@@ -49,7 +49,7 @@ AddChild(mSettingsBox); - - MSave load("load"); - --find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - String.SetTo(Path.Path()); - String.Append(SAVE_SETTINGS_PATH); - Path.SetTo(String.String()); -diff --git a/Source/App/preferencesWindow.cpp b/Source/App/preferencesWindow.cpp -index f93ebfa..7b0f391 100644 ---- a/Source/App/preferencesWindow.cpp -+++ b/Source/App/preferencesWindow.cpp -@@ -39,7 +39,7 @@ void PreferencesWindow::MessageReceived(BMessage *message) - BPath Path; - BString String; - -- find_directory(B_COMMON_SETTINGS_DIRECTORY, &Path); -+ find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &Path); - String.SetTo(Path.Path()); - String.Append(SAVE_SETTINGS_PATH); - String.Append(SAVE_FILE_NAME); -diff --git a/Source/lib/makefile b/Source/lib/makefile -index 0e9b9fb..0758c08 100644 ---- a/Source/lib/makefile -+++ b/Source/lib/makefile -@@ -1,4 +1,4 @@ --NAME= ../../../lib/libfSub.so -+NAME= ../libfSub.so - TYPE= SHARED - SRCS= Bitmap.cpp \ - Bubble.cpp \ --- -1.8.3.4 - - -From f6aca393df0895574cec3aac1c03cda254085b84 Mon Sep 17 00:00:00 2001 -From: Chris Roberts -Date: Mon, 2 Dec 2013 19:16:30 -0700 -Subject: Misc fixes - - -diff --git a/Source/App/Constants.h b/Source/App/Constants.h -index 3e709f9..6d1172e 100644 ---- a/Source/App/Constants.h -+++ b/Source/App/Constants.h -@@ -6,7 +6,7 @@ - #include - #include - #include --#include -+#include - #include - #include - #include -diff --git a/Source/App/Secret/glView.cpp b/Source/App/Secret/glView.cpp -index 931e9a6..11cb5e7 100644 ---- a/Source/App/Secret/glView.cpp -+++ b/Source/App/Secret/glView.cpp -@@ -7,7 +7,7 @@ - #include "glWindow.h" - - #include --#include -+//#include - #include - #include - #include -diff --git a/Source/App/exportWindow.cpp b/Source/App/exportWindow.cpp -index 0db456b..5971456 100644 ---- a/Source/App/exportWindow.cpp -+++ b/Source/App/exportWindow.cpp -@@ -210,7 +210,7 @@ fContent << "\n"; - fSaveTo.Append("/"); - fSaveTo.Append(_ExportView->mFileNameControl->Text()); - FILE* file = fopen(fSaveTo.String(), "w"); --cout << fSaveTo.String() << endl; -+std::cout << fSaveTo.String() << std::endl; - fprintf(file, fContent.String()); - fclose(file); - } -diff --git a/Source/App/main.cpp b/Source/App/main.cpp -index aaf47e6..aa6d86d 100644 ---- a/Source/App/main.cpp -+++ b/Source/App/main.cpp -@@ -409,16 +409,16 @@ void mApp::MessageReceived(BMessage *message) - //----------------------------------------------------------------- - void mApp::RefsReceived(BMessage *message) - { --cout << "REFS RECIEVED!! " << endl; -+std::cout << "REFS RECIEVED!! " << std::endl; - //Get Filepanelpath - int32 count = 0; - uint32 type = 0; - message->GetInfo("refs", &type, &count); --cout << "type is " << type << "count is " << count << endl; -+std::cout << "type is " << type << "count is " << count << std::endl; - for (int32 i = 0; i < count; i++) - { - entry_ref ref; -- cout << " asd its " << i << endl; -+ std::cout << " asd its " << i <FindRef("refs", i, &ref) == B_NO_ERROR) - { - BEntry entry(&ref); -@@ -432,12 +432,12 @@ cout << "type is " << type << "count is " << count << endl; - } - else - { -- cout << "2_" << endl; -+ std::cout << "2_" << std::endl; - } - } - else - { -- cout << "1_" << endl; -+ std::cout << "1_" << std::endl; - } - } - } -diff --git a/Source/App/makefile b/Source/App/makefile -index dd0b811..7db6791 100644 ---- a/Source/App/makefile -+++ b/Source/App/makefile -@@ -20,9 +20,8 @@ SRCS=aboutWindow.cpp \ - Secret/glView.cpp \ - Secret/glWindow.cpp - RSRCS= Project.rsrc --LIBS= root \ -- be \ -- stdc++.r4 \ -+LIBS= be \ -+ $(STDCPPLIBS) \ - game \ - GL \ - tracker \ -@@ -38,7 +37,7 @@ DRIVER_PATH = - APP_VERSION = - DEBUGGER = - LINKER_FLAGS = --COMPILER_FLAGS = -+CFLAGS= -fpermissive - SYMBOLS = - WARNINGS = - -diff --git a/Source/lib/Alert.cpp b/Source/lib/Alert.cpp -index b079d5e..1de9b04 100644 ---- a/Source/lib/Alert.cpp -+++ b/Source/lib/Alert.cpp -@@ -52,7 +52,7 @@ Button1_Text.SetTo(button1_text); - - - _SetupEverything(); --cout << "Setup everything" << endl; -+std::cout << "Setup everything" << std::endl; - } - - //----------------------------------------------------------------- -@@ -124,7 +124,7 @@ SetTitle(Alert_Name.String()); - } - else - { -- cout << "only one button" << endl; -+ std::cout << "only one button" << std::endl; - TempFrame.Set(ButtonPostItsFrame3.left, ButtonPostItsFrame3.top, ButtonPostItsFrame3.right, ButtonPostItsFrame3.bottom); - } - if (fButton3Enabled) -@@ -143,7 +143,7 @@ SetTitle(Alert_Name.String()); - } - else - { -- cout << "Only two buttons" << endl; -+ std::cout << "Only two buttons" << std::endl; - TempFrame.Set(ButtonPostItsFrame3.left, ButtonPostItsFrame3.top, ButtonPostItsFrame3.right, ButtonPostItsFrame3.bottom); - } - AlertButton2 = new BButton(TempFrame, "AlertButton2", Button2_Text.String(), new BMessage(MSG_BUTTON2)); -@@ -153,7 +153,7 @@ SetTitle(Alert_Name.String()); - //3 - if (fButton3Enabled) - { -- cout << "OMG, three buttons" << endl; -+ std::cout << "OMG, three buttons" << std::endl; - TempFrame.Set(ButtonPostItsFrame3.left, ButtonPostItsFrame3.top, ButtonPostItsFrame3.right, ButtonPostItsFrame3.bottom); - AlertButton3 = new BButton(TempFrame, "AlertButton3", Button3_Text.String(), new BMessage(MSG_BUTTON3)); - AlertButton3->MakeDefault(true); -diff --git a/Source/lib/Alert.h b/Source/lib/Alert.h -index ae91d88..8b87263 100644 ---- a/Source/lib/Alert.h -+++ b/Source/lib/Alert.h -@@ -6,7 +6,7 @@ - #include - #include - #include --#include -+#include - - #define MSG_BUTTON1 '1001' - #define MSG_BUTTON2 '1002' -diff --git a/Source/lib/Bubble.h b/Source/lib/Bubble.h -index 6c0e3e9..7b13a91 100644 ---- a/Source/lib/Bubble.h -+++ b/Source/lib/Bubble.h -@@ -6,7 +6,7 @@ - #include - #include - #include --#include -+#include - - - class _EXPORT MBubble -diff --git a/Source/lib/Calender.cpp b/Source/lib/Calender.cpp -index 2918439..5d2a89f 100644 ---- a/Source/lib/Calender.cpp -+++ b/Source/lib/Calender.cpp -@@ -266,7 +266,7 @@ _SetBoxBounds(); - //We dont take your false dates around here - if (fYear < 2000 || fMonthNumber > 12 || fMonthNumber < 1 || fDayNumber > 31 || fDayNumber < 1) - { -- cout << "Date doesnt exist" << endl; -+ std::cout << "Date doesnt exist" << std::endl; - } - //If American style, add one more day (they are stupid and begin the week with a sunday) - if (fCalenderIsAmericaStyle) -diff --git a/Source/lib/Calender.h b/Source/lib/Calender.h -index c9aacb1..0c62dc5 100644 ---- a/Source/lib/Calender.h -+++ b/Source/lib/Calender.h -@@ -9,7 +9,7 @@ - #include - #include - #include --#include -+#include - - // Project Includes ------------------------------------------------------------ - -@@ -122,4 +122,4 @@ BString fDayNumberString; - - }; - --#endif -\ No newline at end of file -+#endif -diff --git a/Source/lib/CustomListItem.h b/Source/lib/CustomListItem.h -index d252ad1..9609697 100644 ---- a/Source/lib/CustomListItem.h -+++ b/Source/lib/CustomListItem.h -@@ -9,7 +9,7 @@ - #include - #include - #include --#include -+#include - - //----------------------- Global includes ---------------------- - -diff --git a/Source/lib/Postit.h b/Source/lib/Postit.h -index 84a9650..2eb8c58 100644 ---- a/Source/lib/Postit.h -+++ b/Source/lib/Postit.h -@@ -6,7 +6,7 @@ - #include - #include - #include --#include -+#include - - #define MSG_BUTTON1 '1001' - #define MSG_BUTTON2 '1002' -diff --git a/Source/lib/Save.h b/Source/lib/Save.h -index c3604a8..a7770b3 100644 ---- a/Source/lib/Save.h -+++ b/Source/lib/Save.h -@@ -6,7 +6,7 @@ - #include - #include - #include --#include -+#include - - - class _EXPORT MSave : public BMessage { -@@ -130,4 +130,4 @@ class _EXPORT MSave : public BMessage { - - }; - --#endif -\ No newline at end of file -+#endif -diff --git a/Source/lib/makefile b/Source/lib/makefile -index 0758c08..04c355e 100644 ---- a/Source/lib/makefile -+++ b/Source/lib/makefile -@@ -7,9 +7,8 @@ SRCS= Bitmap.cpp \ - FlickerFreeStringView.cpp \ - Postit.cpp \ - Save.cpp --LIBS= root \ -- be \ -- stdc++.r4 -+LIBS= be \ -+ $(STDCPPLIBS) - RSRCS= - DEFINES= - LIBPATHS= -@@ -21,7 +20,7 @@ DRIVER_PATH = - APP_VERSION = - DEBUGGER = - LINKER_FLAGS = --COMPILER_FLAGS = -+CFLAGS= -fpermissive - SYMBOLS = - WARNINGS = - --- -1.8.3.4 - From ab84dda84474f534565e84c963f7f2ac95318e57 Mon Sep 17 00:00:00 2001 From: Nav Date: Fri, 5 Dec 2014 00:47:21 +0200 Subject: [PATCH 04/28] Updated recipe for organizer --- haiku-apps/organizer/organizer-0.1.recipe | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/haiku-apps/organizer/organizer-0.1.recipe b/haiku-apps/organizer/organizer-0.1.recipe index 67a104dac..6f7f5aa6c 100644 --- a/haiku-apps/organizer/organizer-0.1.recipe +++ b/haiku-apps/organizer/organizer-0.1.recipe @@ -5,8 +5,8 @@ An organizer that helps you keep track on your appointments, notes and stuff. COPYRIGHT="2013 Marius Stene" LICENSE="Public Domain" HOMEPAGE="https://github.com/HaikuArchives/Organizer" -SRC_URI="git+https://github.com/HaikuArchives/Organizer#a534f0e992" -REVISION="2" +SRC_URI="git+https://github.com/HaikuArchives/Organizer#32196761f4" +REVISION="3" ARCHITECTURES="x86_gcc2 x86 ?x86_64" @@ -33,8 +33,6 @@ REQUIRES=" haiku >= $haikuVersion " -PATCHES="organizer-0.1.patch" - USER_SETTINGS_FILES=" settings/fSub directory" From b4cc8f1cca61905ac2d98efa28d961db94b4c839 Mon Sep 17 00:00:00 2001 From: Nav Date: Fri, 5 Dec 2014 00:59:41 +0200 Subject: [PATCH 05/28] Restored BUILDDIR to organizer's recipe, tested, and confirmed working --- haiku-apps/organizer/organizer-0.1.recipe | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/haiku-apps/organizer/organizer-0.1.recipe b/haiku-apps/organizer/organizer-0.1.recipe index 6f7f5aa6c..c13dbe429 100644 --- a/haiku-apps/organizer/organizer-0.1.recipe +++ b/haiku-apps/organizer/organizer-0.1.recipe @@ -5,7 +5,7 @@ An organizer that helps you keep track on your appointments, notes and stuff. COPYRIGHT="2013 Marius Stene" LICENSE="Public Domain" HOMEPAGE="https://github.com/HaikuArchives/Organizer" -SRC_URI="git+https://github.com/HaikuArchives/Organizer#32196761f4" +SRC_URI="git+https://github.com/HaikuArchives/Organizer#32196761f4 " REVISION="3" ARCHITECTURES="x86_gcc2 x86 ?x86_64" @@ -39,8 +39,7 @@ USER_SETTINGS_FILES=" BUILD() { cd Source - make - cd .. + make OBJ_DIR=objects BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() From 56c7e235be6b2ced0ef1842e520f5f8869859290 Mon Sep 17 00:00:00 2001 From: Nav Date: Fri, 5 Dec 2014 01:00:39 +0200 Subject: [PATCH 06/28] Restored BUILDDIR to organizer's recipe, tested, and confirmed working --- haiku-apps/organizer/organizer-0.1.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haiku-apps/organizer/organizer-0.1.recipe b/haiku-apps/organizer/organizer-0.1.recipe index c13dbe429..d5f850172 100644 --- a/haiku-apps/organizer/organizer-0.1.recipe +++ b/haiku-apps/organizer/organizer-0.1.recipe @@ -5,7 +5,7 @@ An organizer that helps you keep track on your appointments, notes and stuff. COPYRIGHT="2013 Marius Stene" LICENSE="Public Domain" HOMEPAGE="https://github.com/HaikuArchives/Organizer" -SRC_URI="git+https://github.com/HaikuArchives/Organizer#32196761f4 " +SRC_URI="git+https://github.com/HaikuArchives/Organizer#32196761f4" REVISION="3" ARCHITECTURES="x86_gcc2 x86 ?x86_64" From 91f6f71bcc6fbae95bde52051dd0430bd3a6fdf9 Mon Sep 17 00:00:00 2001 From: Josef Gajdusek Date: Fri, 5 Dec 2014 11:27:17 +0100 Subject: [PATCH 07/28] Add recipe for Einsteinium --- .../einsteinium/einsteinium-20141023.recipe | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 haiku-apps/einsteinium/einsteinium-20141023.recipe diff --git a/haiku-apps/einsteinium/einsteinium-20141023.recipe b/haiku-apps/einsteinium/einsteinium-20141023.recipe new file mode 100644 index 000000000..e6867d7f3 --- /dev/null +++ b/haiku-apps/einsteinium/einsteinium-20141023.recipe @@ -0,0 +1,77 @@ +SUMMARY="Monitor applications and system services" +DESCRIPTION=" +Einsteinium provides smarter monitoring of applications and system services \ +for Haiku. It will restart applications and system services that quit or crash, \ +gather statistics on application usage and provide customizable ranked lists of \ +applications. +" +HOMEPAGE="https://sourceforge.net/projects/esforhaiku/" +SRC_URI="svn://svn.code.sf.net/p/esforhaiku/code/trunk#r79" +REVISION="1" +LICENSE="BSD (3-clause)" +COPYRIGHT="2010-2013 Brian Hill" + +ARCHITECTURES="x86_gcc2" + +PROVIDES=" + einsteinium = $portVersion + app:Einsteinium = $portVersion + cmd:einsteinium_engine = $portVersion + cmd:einsteinium_daemon = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + lib:libsqlite3 + lib:libxml2 + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + makefile_engine + devel:libsqlite3 + devel:libxml2 + cmd:mkdepend + cmd:g++ + cmd:gcc + cmd:make + " + +PATCH() +{ + cd src + for f in Engine Daemon Preferences Launcher; do + sed -e "s|/boot/develop|$(finddir B_SYSTEM_DEVELOP_DIRECTORY)|" \ + -e "s|/boot/common/include|$(finddir B_SYSTEM_HEADERS_DIRECTORY)|" -i $f/makefile + done +} + +BUILD() +{ + cd src + for f in Engine Daemon; do + pushd $f + make $jobArgs OBJ_DIR=. + popd + done + for f in Preferences Launcher; do + pushd $f + make $jobArgs + popd + done +} + +INSTALL() +{ + mkdir -p $binDir + mkdir -p $appsDir + mkdir -p $preferencesDir + cd src + + cp Engine/einsteinium_engine Daemon/einsteinium_daemon $binDir + cp Preferences/Einsteinium_Preferences $preferencesDir/Einsteinium + cp Launcher/Einsteinium_Launcher $appsDir/Einsteinium + + addPreferencesDeskbarSymlink $preferencesDir/Einsteinium + addAppDeskbarSymlink $appsDir/Einsteinium +} From 9eb3affff5e4de2fe36653703abd2f65086495e4 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Thu, 4 Dec 2014 23:27:08 -0500 Subject: [PATCH 08/28] Adding CapitalBe 1.1. --- haiku-apps/capitalbe/capitalbe-1.0.recipe | 46 -------------------- haiku-apps/capitalbe/capitalbe-1.1.recipe | 51 +++++++++++++++++++++++ 2 files changed, 51 insertions(+), 46 deletions(-) delete mode 100644 haiku-apps/capitalbe/capitalbe-1.0.recipe create mode 100644 haiku-apps/capitalbe/capitalbe-1.1.recipe diff --git a/haiku-apps/capitalbe/capitalbe-1.0.recipe b/haiku-apps/capitalbe/capitalbe-1.0.recipe deleted file mode 100644 index 79d1ad151..000000000 --- a/haiku-apps/capitalbe/capitalbe-1.0.recipe +++ /dev/null @@ -1,46 +0,0 @@ -SUMMARY="A finance manager for Haiku." -DESCRIPTION="Capital Be is a finance manager for Haiku. Easily track where your money is \ -going. View reports, reconcile accounts and more! Like other programs \ -published by the same author, Capital Be focuses on keeping easy jobs easy and \ -making tough ones easier." -HOMEPAGE="http://github.com/HaikuArchives/CapitalBe" -SRC_URI="git://github.com/HaikuArchives/CapitalBe.git#eb8d7f92bbaa1594dddeb07c64f90442de106a3e" -REVISION="2" -LICENSE="MIT" -COPYRIGHT="2009 DarkWyrm (Jon Yoder)" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" - -PROVIDES=" - capitalbe = $portVersion - app:capitalbe = $portVersion - " - -REQUIRES=" - haiku >= $haikuVersion - " - -BUILD_REQUIRES=" - haiku_devel >= $haikuVersion - devel:libsqlite3 - " - -BUILD_PREREQUIRES=" - cmd:gcc - " - -BUILD() -{ - g++ -lbe -ltracker -ltranslation -lsqlite3 src/*.cpp -o capitalbe - rc -o capitalbe.rsrc src/capitalbe.rdef - xres -o capitalbe capitalbe.rsrc - mimeset -f capitalbe -} - -INSTALL() -{ - mkdir -p $appsDir/capitalbe - mkdir -p $appsDir/capitalbe/helpfiles - cp -r src/helpfiles/* $appsDir/capitalbe/helpfiles/ - mv capitalbe $appsDir/capitalbe/capitalbe - addAppDeskbarSymlink $appsDir/capitalbe/capitalbe "Capital Be" -} diff --git a/haiku-apps/capitalbe/capitalbe-1.1.recipe b/haiku-apps/capitalbe/capitalbe-1.1.recipe new file mode 100644 index 000000000..2b3010364 --- /dev/null +++ b/haiku-apps/capitalbe/capitalbe-1.1.recipe @@ -0,0 +1,51 @@ +SUMMARY="A finance manager for Haiku" +DESCRIPTION="CapitalBe is a finance manager for Haiku. Easily track \ +where your money is going. View reports, reconcile accounts and more! \ +Like other programs published by the same author, Capital Be focuses \ +on keeping easy jobs easy and making tough ones easier." +HOMEPAGE="http://github.com/HaikuArchives/CapitalBe" +SRC_URI="https://github.com/HaikuArchives/CapitalBe/archive/v1.1.tar.gz" +CHECKSUM_SHA256="e6e5ab26a372e79bbc1ac2eb6d7018296b983409f65c0da634bb420de08adde9" +SOURCE_DIR="CapitalBe-$portVersion" +REVISION="1" +LICENSE="MIT" +COPYRIGHT="2009 DarkWyrm (Jon Yoder)" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + capitalbe = $portVersion + app:CapitalBe = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + lib:libsqlite3 + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + devel:libsqlite3 + " + +BUILD_PREREQUIRES=" + cmd:gcc + cmd:make + cmd:mkdepend + makefile_engine + " + +BUILD() +{ + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + capitalBeDir=$appsDir/CapitalBe + mkdir -p $capitalBeDir + mkdir -p $capitalBeDir/helpfiles + cp -r src/helpfiles/* $capitalBeDir/helpfiles/ + + mv objects/CapitalBe $capitalBeDir/CapitalBe + addAppDeskbarSymlink $capitalBeDir/CapitalBe "CapitalBe" +} From 81b54bfc9a3d018955f4bbf691c7cc32b6d21fb1 Mon Sep 17 00:00:00 2001 From: Josef Gajdusek Date: Fri, 5 Dec 2014 16:16:23 +0100 Subject: [PATCH 09/28] masterpiece: Fix masterpiece build The patch change fixes SQLite crashes at start. --- .../masterpiece/masterpiece-r742.recipe | 4 ++-- .../patches/masterpiece-r742.patch | 20 ++++++++++++++++--- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/haiku-apps/masterpiece/masterpiece-r742.recipe b/haiku-apps/masterpiece/masterpiece-r742.recipe index 9ca293bb2..eee731325 100644 --- a/haiku-apps/masterpiece/masterpiece-r742.recipe +++ b/haiku-apps/masterpiece/masterpiece-r742.recipe @@ -27,12 +27,12 @@ REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion lib:libsqlite3$secondaryArchSuffix lib:liblayout - lib:libpython2.6 + lib:libpython2.7 " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion devel:libsqlite3$secondaryArchSuffix - devel:libpython2.6 + devel:libpython2.7 " BUILD_PREREQUIRES=" makefile_engine diff --git a/haiku-apps/masterpiece/patches/masterpiece-r742.patch b/haiku-apps/masterpiece/patches/masterpiece-r742.patch index 664639a2f..0d5103c15 100644 --- a/haiku-apps/masterpiece/patches/masterpiece-r742.patch +++ b/haiku-apps/masterpiece/patches/masterpiece-r742.patch @@ -1,6 +1,20 @@ +diff -Pur masterpiece/CommonFunctions.cpp masterpiece-haiku/CommonFunctions.cpp +--- masterpiece/CommonFunctions.cpp 2014-12-05 16:06:41.210736548 +0100 ++++ masterpiece-haiku/CommonFunctions.cpp 2014-12-05 16:10:44.720736102 +0100 +@@ -287,8 +287,8 @@ + int sqlValue; + BString tmpString; + sqlErrMsg = 0; +- BString tmpPath = GetAppDirPath(); // for testing purposes, use local one. +- //BString tmpPath = GetUserDirPath(); // for publish purposes, use real location ++ //BString tmpPath = GetAppDirPath(); // for testing purposes, use local one. ++ BString tmpPath = GetUserDirPath(); // for publish purposes, use real location + if(tmpPath != "-15") + { + tmpPath += "/MasterPiece.db"; diff -Pur masterpiece/Makefile masterpiece-haiku/Makefile ---- masterpiece/Makefile 1970-01-01 00:00:00.000000000 +0000 -+++ masterpiece-haiku/Makefile 2013-12-31 20:32:00.608960512 +0000 +--- masterpiece/Makefile 1970-01-01 01:00:00.000000000 +0100 ++++ masterpiece-haiku/Makefile 2014-12-05 16:09:36.420736227 +0100 @@ -0,0 +1,146 @@ +## BeOS Generic Makefile v2.5 ## + @@ -73,7 +87,7 @@ diff -Pur masterpiece/Makefile masterpiece-haiku/Makefile +#                naming scheme you need to specify the path to the library +#                and it's name +#                library: my_lib.a entry: my_lib.a or path/my_lib.a -+LIBS=root be sqlite3 $(STDCPPLIBS) python2.6 tracker ++LIBS=root be sqlite3 $(STDCPPLIBS) python2.7 tracker + +#        specify additional paths to directories following the standard +#        libXXX.so or libXXX.a naming scheme. You can specify full paths From ad2cb2948a1f2244e9cba1af9369162fc4fce4ca Mon Sep 17 00:00:00 2001 From: Yourself Date: Fri, 5 Dec 2014 18:46:55 +0000 Subject: [PATCH 10/28] added timecop --- haiku-apps/timecop/timecop-0.61.recipe | 46 ++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 haiku-apps/timecop/timecop-0.61.recipe diff --git a/haiku-apps/timecop/timecop-0.61.recipe b/haiku-apps/timecop/timecop-0.61.recipe new file mode 100644 index 000000000..03d6ae69e --- /dev/null +++ b/haiku-apps/timecop/timecop-0.61.recipe @@ -0,0 +1,46 @@ +SUMMARY="TimeCop 0.61" +DESCRIPTION="With TimeCop you can view 4 statistics showing Haiku(BeOS) uptime." +HOMEPAGE="http://www.augusta.de/michael/BeOS/TimeCop/index.us.html" +SRC_URI="git://github.com/HaikuArchives/TimeCop.git" +REVISION="2" +LICENSE="GNU GPL v2" +COPYRIGHT="Copyright Michael Peper" +ARCHITECTURES="x86_gcc2 x86 !ppc" +CHECKSUM_SHA256="d384c22c8768298fb1d9ea60fbdb8e7f7e440c00bae44c37e7507f20c4fe6a94" + +REQUIRES=" + haiku >= $haikuVersion + python +" + +PROVIDES=" + TimeCop_daemon = $portVersion + app:TimeCop = $portVersion +" + +BUILD_REQUIRES=" +" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:echo + cmd:make + cmd:gcc +" + +BUILD() +{ + make +} + +INSTALL() +{ + mkdir -p $binDir + mkdir -p $appsDir + echo $binDir + echo $appsDir + cp -a $sourceDir/bin/TimeCop_daemon $binDir/TimeCop_daemon + cp -a $sourceDir/bin/TimeCop $appsDir/TimeCop + + addAppDeskbarSymlink $appsDir/TimeCop +} From 5ec7c9b5cd3ece20ed7e63151df407e98125dfab Mon Sep 17 00:00:00 2001 From: Josef Gajdusek Date: Fri, 5 Dec 2014 19:27:31 +0100 Subject: [PATCH 11/28] Add recipe for Peek --- haiku-apps/peek/peek-20140206.recipe | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 haiku-apps/peek/peek-20140206.recipe diff --git a/haiku-apps/peek/peek-20140206.recipe b/haiku-apps/peek/peek-20140206.recipe new file mode 100644 index 000000000..40d499dfc --- /dev/null +++ b/haiku-apps/peek/peek-20140206.recipe @@ -0,0 +1,47 @@ +SUMMARY="Image browser" +DESCRIPTION=" +Peek is a free image browser and viewer with the aim of of being small, fast, \ +efficient, very functional and intuitive. +" +HOMEPAGE="https://github.com/HaikuArchives/Peek" +SRC_URI="git+https://github.com/HaikuArchives/Peek.git#ce06fe5" +REVISION="1" +COPYRIGHT="2001 Durand John Miller" +LICENSE="BSD (3-clause)" + +ARCHITECTURES="x86_gcc2" + +PROVIDES=" + peek = $portVersion + app:Peek = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_PREREQUIRES=" + makefile_engine + cmd:mkdepend + cmd:make + cmd:gcc + cmd:g++ + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +BUILD() +{ + cd source + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + mkdir -p $appsDir/Peek + cp source/objects/Peek $appsDir/Peek/Peek + cp -r languages $appsDir/Peek/ + addAppDeskbarSymlink $appsDir/Peek/Peek +} From 70d021ba21e9908ba7460c95106e2919bb103136 Mon Sep 17 00:00:00 2001 From: Nolan Clark Date: Fri, 5 Dec 2014 18:30:36 -0600 Subject: [PATCH 12/28] Added reciped for CoveredCalc --- .../coveredcalc/coveredcalc-1.10.0.recipe | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe diff --git a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe new file mode 100644 index 000000000..b9b2a4c30 --- /dev/null +++ b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe @@ -0,0 +1,38 @@ +SUMMARY="The desktop calculator which features a skin interface system." +DESCRIPTION="CoveredCalc is a desktop calculator whose look and feel is flexibly + customizable. It works on Windows, BeOS, and Haiku. In this application + the word \"cover\" means a set of files for its design, instead of + the commonly used word \"skin\"." +HOMEPAGE="https://code.google.com/p/coveredcalc" +SRC_URI="https://coveredcalc.googlecode.com/files/CoveredCalcBe1.10.0.zip" +CHECKSUM_SHA256="f5256c9cdb581c0246292005e9d3275586552bd4630b91e7372bd1903a94b669" +REVISION="1" +LICENSE="MIT" +ARCHITECTURES="x86 x86_gcc2" +COPYRIGHT="2008 hiron@with.memail.jp" +SOURCE_DIR="CoveredCalc" + +PROVIDES=" + coveredcalc = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD() +{ + #do nothing + echo +} + +INSTALL() +{ + mkdir -p $appsDir/CoveredCalc + cp -R * $appsDir/CoveredCalc + chmod +x $appsDir/CoveredCalc/CoveredCalc + addAppDeskbarSymlink $appsDir/CoveredCalc/CoveredCalc +} From 823928030bcf7f26f425d3782bed6dd78d1fc723 Mon Sep 17 00:00:00 2001 From: Nolan Clark Date: Fri, 5 Dec 2014 18:49:13 -0600 Subject: [PATCH 13/28] Edited DESCRIPTION of coveredcalc-1.10.0.recipe to be within specs --- haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe index b9b2a4c30..b27c41880 100644 --- a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe +++ b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe @@ -1,8 +1,8 @@ SUMMARY="The desktop calculator which features a skin interface system." -DESCRIPTION="CoveredCalc is a desktop calculator whose look and feel is flexibly - customizable. It works on Windows, BeOS, and Haiku. In this application - the word \"cover\" means a set of files for its design, instead of - the commonly used word \"skin\"." +DESCRIPTION="CoveredCalc is a desktop calculator whose look and feel is \ +flexibly customizable. It works on Windows, BeOS, and Haiku. In this \ +application the word \"cover\" means a set of files for its design, \ +instead of the commonly used word \"skin\"." HOMEPAGE="https://code.google.com/p/coveredcalc" SRC_URI="https://coveredcalc.googlecode.com/files/CoveredCalcBe1.10.0.zip" CHECKSUM_SHA256="f5256c9cdb581c0246292005e9d3275586552bd4630b91e7372bd1903a94b669" From db2f18c1264a1dbc0415f74a62e6133c062b59b1 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 5 Dec 2014 11:59:41 -0500 Subject: [PATCH 14/28] ResourceEdit: create working recipe. --- .../resourceedit/resourceedit-1.0_git.recipe | 46 ++++++++++++++++ haiku-apps/resourceedit/resourceedit-1.recipe | 52 ------------------- 2 files changed, 46 insertions(+), 52 deletions(-) create mode 100644 haiku-apps/resourceedit/resourceedit-1.0_git.recipe delete mode 100644 haiku-apps/resourceedit/resourceedit-1.recipe diff --git a/haiku-apps/resourceedit/resourceedit-1.0_git.recipe b/haiku-apps/resourceedit/resourceedit-1.0_git.recipe new file mode 100644 index 000000000..d1b8a0cc2 --- /dev/null +++ b/haiku-apps/resourceedit/resourceedit-1.0_git.recipe @@ -0,0 +1,46 @@ +SUMMARY="Graphical RSRC resource editor" +DESCRIPTION="An editor for binary resource files (.rsrc) that get compiled \ +into an application and can then be used within the application." +HOMEPAGE="https://github.com/HaikuArchives/ResourceEdit" +LICENSE="MIT" +COPYRIGHT="2012-2013 Tri-Edge AI" +SRC_URI="https://github.com/HaikuArchives/ResourceEdit/archive/8c3f779d08525ed1e607627213278436a0502125.tar.gz" +CHECKSUM_SHA256="848b4e6d8a30737793d858d95360d33219efa615635b0b79c845bc4b78f6a64b" +SOURCE_DIR="ResourceEdit-8c3f779d08525ed1e607627213278436a0502125" +REVISION="1" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + resourceedit = $portVersion + app:ResourceEdit = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:gcc + cmd:ld + cmd:make + cmd:mkdepend + " + +BUILD() +{ + cd source + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + cd source + mkdir -p $appsDir + cp objects/ResourceEdit $appsDir + addAppDeskbarSymlink $appsDir/ResourceEdit +} diff --git a/haiku-apps/resourceedit/resourceedit-1.recipe b/haiku-apps/resourceedit/resourceedit-1.recipe deleted file mode 100644 index 76bd028e5..000000000 --- a/haiku-apps/resourceedit/resourceedit-1.recipe +++ /dev/null @@ -1,52 +0,0 @@ -DESCRIPTION=" -This is an editor for resource files (.rsrc), binary files that get compiled \ -into an application and can then be accessed by that application. -" -SUMMARY="Resource editor" -HOMEPAGE="https://github.com/HaikuArchives/ResourceEdit" -LICENSE="MIT" -COPYRIGHT="2012-2013 Tri-Edge AI" -SRC_URI="git+https://github.com/HaikuArchives/ResourceEdit.git#1873c33591e2d2ccb3dccb692c175e9f10a0e450" -REVISION="1" - -ARCHITECTURES="!x86 ?x86_64" -if [ $effectiveTargetArchitecture != x86_gcc2 ]; then - # x86_gcc2 is fine as primary target architecture as long as we're building - # for a different secondary architecture. - ARCHITECTURES="$ARCHITECTURES x86_gcc2" -else - ARCHITECTURES="$ARCHITECTURES !x86_gcc2" -fi -SECONDARY_ARCHITECTURES="!x86" - -PROVIDES=" - resourceedit$secondaryArchSuffix = $portVersion - app:ResourceEdit = $portVersion - " - -REQUIRES=" - haiku$secondaryArchSuffix >= $haikuVersion - " -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion - " -BUILD_PREREQUIRES=" - makefile_engine - cmd:gcc$secondaryArchSuffix - cmd:ld$secondaryArchSuffix - cmd:make - cmd:mkdepend - " - -BUILD() -{ - make -} - -INSTALL() -{ - # supports "x86" architecture only - mkdir $appsDir - cp objects.x86-gcc4-release/ResourceEdit $appsDir - addAppDeskbarSymlink $appsDir/ResourceEdit -} From d45b21bed4a70b8f6e0ae4135ca4dd65e8608bff Mon Sep 17 00:00:00 2001 From: Nolan Clark Date: Fri, 5 Dec 2014 19:04:57 -0600 Subject: [PATCH 15/28] Added ?x86 to clarify untested status of GCC4 architecture --- haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe index b27c41880..be8212506 100644 --- a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe +++ b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe @@ -8,7 +8,7 @@ SRC_URI="https://coveredcalc.googlecode.com/files/CoveredCalcBe1.10.0.zip" CHECKSUM_SHA256="f5256c9cdb581c0246292005e9d3275586552bd4630b91e7372bd1903a94b669" REVISION="1" LICENSE="MIT" -ARCHITECTURES="x86 x86_gcc2" +ARCHITECTURES="x86_gcc2 ?x86" COPYRIGHT="2008 hiron@with.memail.jp" SOURCE_DIR="CoveredCalc" From a322d0e02762c2cd2262285b908f713086a7cf0b Mon Sep 17 00:00:00 2001 From: Nolan Clark Date: Fri, 5 Dec 2014 20:19:08 -0600 Subject: [PATCH 16/28] CoveredCalc now builds from source --- .../coveredcalc/coveredcalc-1.10.0.recipe | 31 ++++++++++++++----- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe index be8212506..c12268e21 100644 --- a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe +++ b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe @@ -4,16 +4,15 @@ flexibly customizable. It works on Windows, BeOS, and Haiku. In this \ application the word \"cover\" means a set of files for its design, \ instead of the commonly used word \"skin\"." HOMEPAGE="https://code.google.com/p/coveredcalc" -SRC_URI="https://coveredcalc.googlecode.com/files/CoveredCalcBe1.10.0.zip" -CHECKSUM_SHA256="f5256c9cdb581c0246292005e9d3275586552bd4630b91e7372bd1903a94b669" +SRC_URI="svn+http://coveredcalc.googlecode.com/svn/trunk@72" REVISION="1" LICENSE="MIT" ARCHITECTURES="x86_gcc2 ?x86" COPYRIGHT="2008 hiron@with.memail.jp" -SOURCE_DIR="CoveredCalc" PROVIDES=" coveredcalc = $portVersion + app:CoveredCalc = $portVersion " REQUIRES=" @@ -21,18 +20,34 @@ REQUIRES=" " BUILD_REQUIRES=" + haiku_devel + cmd:make + cmd:gcc + cmd:xres + cmd:wget + cmd:unzip " + +BUILD_PREREQUIRES=" + cmd:svn + " BUILD() { - #do nothing - echo + cd Sources/CoveredCalc/CoveredCalcBe + make release $jobArgs + cd ../../.. + #download skin from Google Drive (source doesn't include a skin) + wget http://googledrive.com/host/0BwHhdVuLdvajZDBXSXl0S1NMVWc/skin.zip + unzip skin.zip } INSTALL() { - mkdir -p $appsDir/CoveredCalc - cp -R * $appsDir/CoveredCalc - chmod +x $appsDir/CoveredCalc/CoveredCalc + mkdir -p $appsDir/CoveredCalc/{NLS,Keymaps,Covers} + cp Sources/CoveredCalc/CoveredCalcBe/obj.release/CoveredCalc $appsDir/CoveredCalc + cp LangFiles/BeOS/* $appsDir/CoveredCalc/NLS + cp KeyMappings/BeOS/* $appsDir/CoveredCalc/Keymaps + cp -R default $appsDir/CoveredCalc/Covers addAppDeskbarSymlink $appsDir/CoveredCalc/CoveredCalc } From 20f32e787327c14016588adcf2dad2d0f7e193e7 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 5 Dec 2014 22:41:24 -0500 Subject: [PATCH 17/28] sword: fix some stupid typos. Someone needs to be more careful next time... --- app-text/sword/sword-1.7.3.recipe | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/app-text/sword/sword-1.7.3.recipe b/app-text/sword/sword-1.7.3.recipe index 836e1dd43..2fea2020d 100644 --- a/app-text/sword/sword-1.7.3.recipe +++ b/app-text/sword/sword-1.7.3.recipe @@ -1,24 +1,28 @@ -SUMMARY="the biblical text research engine" - +SUMMARY="The biblical text research engine" DESCRIPTION="The SWORD Project is the CrossWire Bible Society's free Bible \ software project. Its purpose is to create cross-platform open-source tools-- \ covered by the GNU General Public License-- that allow programmers and Bible \ societies to write new Bible software more quickly and easily. We also create \ Bible study software for all readers, students, scholars, and translators of \ -the Bible, and have a growing collection of over 200 texts in over 50 languages -" - +the Bible, and have a growing collection of over 200 texts in over 50 languages." HOMEPAGE="http://www.crosswire.org/sword" LICENSE="GNU GPL v2" -COPYRIGHT="Copyright 1998-2014 CrossWire Bible Society" +COPYRIGHT="1998-2014 CrossWire Bible Society" SRC_URI="http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.3.tar.gz" CHECKSUM_SHA256="5a3d87ff155d5ecb0cfec052ba333b2b74d9273e2cc66fb1ca75747dfd8ea9ea" -REVISION="1" -ARCHITECTURES="x86_gcc2 x86" +REVISION="2" +ARCHITECTURES="x86 ?x86_64" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + # x86_gcc2 is fine as primary target architecture as long as we're building + # for a different secondary architecture. + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +else + ARCHITECTURES="$ARCHITECTURES !x86_gcc2" +fi SECONDARY_ARCHITECTURES="x86" PROVIDES=" - libsword$secondaryArchSuffix = $portVersion + sword$secondaryArchSuffix = $portVersion cmd:diatheke$secondaryArchSuffix = $portVersion cmd:imp2gbs$secondaryArchSuffix = $portVersion cmd:imp2ld$secondaryArchSuffix = $portVersion @@ -36,7 +40,6 @@ PROVIDES=" cmd:vs2osisreftxt$secondaryArchSuffix = $portVersion cmd:xml2gbs$secondaryArchSuffix = $portVersion lib:libsword$secondaryArchSuffix = $portVersion - lib:libsword$secondaryArchSuffix = $portVersion " REQUIRES=" @@ -44,7 +47,7 @@ REQUIRES=" lib:libcurl$secondaryArchSuffix lib:libssl$secondaryArchSuffix lib:libcrypto$secondaryArchSuffix - lib:libz$libcrypto$secondaryArchSuffix + lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" @@ -66,7 +69,6 @@ BUILD_PREREQUIRES=" BUILD() { - echo true runConfigure ./configure --without-conf --without-clucene make $jobArgs } From ada1decfb323aa66652c2f96acf9e449bb454684 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 5 Dec 2014 23:42:20 -0500 Subject: [PATCH 18/28] sword: create devel package. --- app-text/sword/sword-1.7.3.recipe | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/app-text/sword/sword-1.7.3.recipe b/app-text/sword/sword-1.7.3.recipe index 2fea2020d..1ea0242ac 100644 --- a/app-text/sword/sword-1.7.3.recipe +++ b/app-text/sword/sword-1.7.3.recipe @@ -10,7 +10,7 @@ LICENSE="GNU GPL v2" COPYRIGHT="1998-2014 CrossWire Bible Society" SRC_URI="http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.3.tar.gz" CHECKSUM_SHA256="5a3d87ff155d5ecb0cfec052ba333b2b74d9273e2cc66fb1ca75747dfd8ea9ea" -REVISION="2" +REVISION="3" ARCHITECTURES="x86 ?x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then # x86_gcc2 is fine as primary target architecture as long as we're building @@ -41,6 +41,11 @@ PROVIDES=" cmd:xml2gbs$secondaryArchSuffix = $portVersion lib:libsword$secondaryArchSuffix = $portVersion " + +PROVIDES_devel=" + sword${secondaryArchSuffix}_devel = $portVersion + devel:libsword$secondaryArchSuffix = $portVersion + " REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion @@ -50,6 +55,11 @@ REQUIRES=" lib:libz$secondaryArchSuffix " +REQUIRES_devel=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + sword$secondaryArchSuffix == $portVersion base + " + BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion devel:libcurl$secondaryArchSuffix @@ -76,4 +86,10 @@ BUILD() INSTALL() { make $jobArgs install + + prepareInstalledDevelLibs \ + libsword + + packageEntries devel \ + $developDir } From 1de7e541370139c3e263337006c536e6a3371053 Mon Sep 17 00:00:00 2001 From: Vladislav Dzhidzhoev Date: Sat, 6 Dec 2014 08:10:40 +0000 Subject: [PATCH 19/28] timecop-0.61.recipe edited online --- haiku-apps/timecop/timecop-0.61.recipe | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/haiku-apps/timecop/timecop-0.61.recipe b/haiku-apps/timecop/timecop-0.61.recipe index 03d6ae69e..4a0605908 100644 --- a/haiku-apps/timecop/timecop-0.61.recipe +++ b/haiku-apps/timecop/timecop-0.61.recipe @@ -1,10 +1,15 @@ -SUMMARY="TimeCop 0.61" -DESCRIPTION="With TimeCop you can view 4 statistics showing Haiku(BeOS) uptime." +SUMMARY="TimeCop helps you collect statistics about your computer working" +DESCRIPTION=" +You want to know, how much time you spend in front of your computer? +You want to know, how often your BeBox crashes? + +So you can use TimeCop to write a protocol of your computer sessions. +" HOMEPAGE="http://www.augusta.de/michael/BeOS/TimeCop/index.us.html" SRC_URI="git://github.com/HaikuArchives/TimeCop.git" REVISION="2" LICENSE="GNU GPL v2" -COPYRIGHT="Copyright Michael Peper" +COPYRIGHT="Copyright Michael Pieper" ARCHITECTURES="x86_gcc2 x86 !ppc" CHECKSUM_SHA256="d384c22c8768298fb1d9ea60fbdb8e7f7e440c00bae44c37e7507f20c4fe6a94" @@ -14,16 +19,16 @@ REQUIRES=" " PROVIDES=" - TimeCop_daemon = $portVersion + cmd:TimeCop_daemon = $portVersion app:TimeCop = $portVersion " BUILD_REQUIRES=" + haiku_devel >= $haikuVersion " BUILD_PREREQUIRES=" haiku_devel >= $haikuVersion - cmd:echo cmd:make cmd:gcc " @@ -37,8 +42,6 @@ INSTALL() { mkdir -p $binDir mkdir -p $appsDir - echo $binDir - echo $appsDir cp -a $sourceDir/bin/TimeCop_daemon $binDir/TimeCop_daemon cp -a $sourceDir/bin/TimeCop $appsDir/TimeCop From 31bea66ae0a3dd0acd56d8f890a459b440f25979 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 6 Dec 2014 09:43:33 +0100 Subject: [PATCH 20/28] arm_none_eabi_gcc: fix multilib support Use the gcc sources from the official gcc arm-embedded branch instead of the Haiku branch. These include patches adding support for complex multilib setups for ARM, so the toolchain can now target armv6, and armv7 m/ar/em. Enable said option so we get a multilib toolchain. This also means we get gcc 4.8.4 instead of 4.8.2. Bump revision of newlib since it was also rebuilt with multilib support. --- ....recipe => arm_none_eabi_gcc-4.8.4.recipe} | 13 ++++++----- .../patches/arm_none_eabi_gcc-4.8.4.patchset | 22 +++++++++++++++++++ ... => arm_none_eabi_gcc_nolibc-4.8.4.recipe} | 14 +++++++----- ..._eabi_gcc_nolibc-4.8.2_2014_03_20.patchset | 22 +++++++++++++++++++ .../arm_none_eabi_newlib-2.1.0.recipe | 4 ++-- 5 files changed, 62 insertions(+), 13 deletions(-) rename sys-devel/arm_none_eabi_gcc/{arm_none_eabi_gcc-4.8.2_2014_03_20.recipe => arm_none_eabi_gcc-4.8.4.recipe} (92%) create mode 100644 sys-devel/arm_none_eabi_gcc/patches/arm_none_eabi_gcc-4.8.4.patchset rename sys-devel/arm_none_eabi_gcc_nolibc/{arm_none_eabi_gcc_nolibc-4.8.2_2014_03_20.recipe => arm_none_eabi_gcc_nolibc-4.8.4.recipe} (90%) create mode 100644 sys-devel/arm_none_eabi_gcc_nolibc/patches/arm_none_eabi_gcc_nolibc-4.8.2_2014_03_20.patchset diff --git a/sys-devel/arm_none_eabi_gcc/arm_none_eabi_gcc-4.8.2_2014_03_20.recipe b/sys-devel/arm_none_eabi_gcc/arm_none_eabi_gcc-4.8.4.recipe similarity index 92% rename from sys-devel/arm_none_eabi_gcc/arm_none_eabi_gcc-4.8.2_2014_03_20.recipe rename to sys-devel/arm_none_eabi_gcc/arm_none_eabi_gcc-4.8.4.recipe index 34695a5f5..bee70d846 100644 --- a/sys-devel/arm_none_eabi_gcc/arm_none_eabi_gcc-4.8.2_2014_03_20.recipe +++ b/sys-devel/arm_none_eabi_gcc/arm_none_eabi_gcc-4.8.4.recipe @@ -4,11 +4,10 @@ Compiler for ARM processors. " HOMEPAGE="http://gcc.gnu.org" -srcGitRev="c20a732df8f8b6d0f32c872817f3a0498a5c4761" -SRC_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz" -CHECKSUM_SHA256="6d3b677cd8ef777bf6fb3186a15b5122e46345595a996370325c758b3d8a4ab6" +SRC_URI="svn://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_8-branch" SRC_FILENAME="$portVersionedName.tar.gz" -REVISION="2" +PATCHES="arm_none_eabi_gcc-$portVersion.patchset" +REVISION="1" LICENSE=" GNU GPL v2 GNU LGPL v2 @@ -47,6 +46,9 @@ REQUIRES=" BUILD_REQUIRES=" cmd:${targetU}_as$secondaryArchSuffix ${targetU}_newlib$secondaryArchSuffix + devel:libgmp$secondaryArchSuffix + devel:libmpfr$secondaryArchSuffix + devel:libmpc$secondaryArchSuffix " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion @@ -65,8 +67,6 @@ BUILD_PREREQUIRES=" cmd:xargs " -SOURCE_DIR="buildtools-$srcGitRev/gcc" - sourceDir=$(pwd) relativeInstallDir="develop/tools/${targetArch}" installDir="$prefix/$relativeInstallDir" @@ -97,6 +97,7 @@ BUILD() --docdir=$docDir --disable-nls --disable-libssp --with-gnu-ld \ --enable-languages=c,c++ --enable-lto --enable-frame-pointer \ --enable-multilib --disable-shared \ + --with-multilib-list=armv6-m,armv7-m,armv7e-m,armv7-r \ --with-newlib --with-sysroot=$installDir \ --with-native-system-header-dir=/include \ --with-pkgversion=$(echo $portVersion | cut -c 7-) --target=$targetArch diff --git a/sys-devel/arm_none_eabi_gcc/patches/arm_none_eabi_gcc-4.8.4.patchset b/sys-devel/arm_none_eabi_gcc/patches/arm_none_eabi_gcc-4.8.4.patchset new file mode 100644 index 000000000..11b29c31a --- /dev/null +++ b/sys-devel/arm_none_eabi_gcc/patches/arm_none_eabi_gcc-4.8.4.patchset @@ -0,0 +1,22 @@ +From e0f435a01b68a41b06602dcf4b302d7ad7f3974f Mon Sep 17 00:00:00 2001 +From: Adrien Destugues +Date: Fri, 5 Dec 2014 18:05:55 +0100 +Subject: Hardcoded -lm. + + +diff --git a/gcc/Makefile.in b/gcc/Makefile.in +index 56b7baa..c9eedf6 100644 +--- a/gcc/Makefile.in ++++ b/gcc/Makefile.in +@@ -3969,7 +3969,7 @@ $(genprogerr:%=build/gen%$(build_exeext)): $(BUILD_ERRORS) + genprog = $(genprogerr) check checksum condmd + + # These programs need libs over and above what they get from the above list. +-build/genautomata$(build_exeext) : BUILD_LIBS += -lm ++#build/genautomata$(build_exeext) : BUILD_LIBS += -lm + + # These programs are not linked with the MD reader. + build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \ +-- +1.8.3.4 + diff --git a/sys-devel/arm_none_eabi_gcc_nolibc/arm_none_eabi_gcc_nolibc-4.8.2_2014_03_20.recipe b/sys-devel/arm_none_eabi_gcc_nolibc/arm_none_eabi_gcc_nolibc-4.8.4.recipe similarity index 90% rename from sys-devel/arm_none_eabi_gcc_nolibc/arm_none_eabi_gcc_nolibc-4.8.2_2014_03_20.recipe rename to sys-devel/arm_none_eabi_gcc_nolibc/arm_none_eabi_gcc_nolibc-4.8.4.recipe index a297b698a..6d61d526e 100644 --- a/sys-devel/arm_none_eabi_gcc_nolibc/arm_none_eabi_gcc_nolibc-4.8.2_2014_03_20.recipe +++ b/sys-devel/arm_none_eabi_gcc_nolibc/arm_none_eabi_gcc_nolibc-4.8.4.recipe @@ -4,10 +4,9 @@ Compiler for ARM processors. " HOMEPAGE="http://gcc.gnu.org" -srcGitRev="c20a732df8f8b6d0f32c872817f3a0498a5c4761" -SRC_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz" -CHECKSUM_SHA256="6d3b677cd8ef777bf6fb3186a15b5122e46345595a996370325c758b3d8a4ab6" +SRC_URI="svn://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_8-branch" SRC_FILENAME="$portVersionedName.tar.gz" +PATCHES="arm_none_eabi_gcc_nolibc-$portVersion.patchset" REVISION="1" LICENSE=" GNU GPL v2 @@ -43,9 +42,15 @@ REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion cmd:${targetU}_as$secondaryArchSuffix lib:libstdc++$secondaryArchSuffix + lib:libgmp$secondaryArchSuffix + lib:libmpfr$secondaryArchSuffix + lib:libmpc$secondaryArchSuffix " BUILD_REQUIRES=" cmd:${targetU}_as$secondaryArchSuffix + devel:libgmp$secondaryArchSuffix + devel:libmpfr$secondaryArchSuffix + devel:libmpc$secondaryArchSuffix " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion @@ -64,8 +69,6 @@ BUILD_PREREQUIRES=" cmd:xargs " -SOURCE_DIR="buildtools-$srcGitRev/gcc" - sourceDir=$(pwd) relativeInstallDir="develop/tools/${targetArch}" installDir="$prefix/$relativeInstallDir" @@ -96,6 +99,7 @@ BUILD() --docdir=$docDir --disable-nls --disable-libssp --with-gnu-ld \ --enable-languages=c,c++ --enable-lto --enable-frame-pointer \ --enable-multilib --disable-shared \ + --with-multilib-list=armv6-m,armv7-m,armv7e-m,armv7-r \ --without-headers --with-newlib \ --with-sysroot=$installDir \ --with-native-system-header-dir=/include \ diff --git a/sys-devel/arm_none_eabi_gcc_nolibc/patches/arm_none_eabi_gcc_nolibc-4.8.2_2014_03_20.patchset b/sys-devel/arm_none_eabi_gcc_nolibc/patches/arm_none_eabi_gcc_nolibc-4.8.2_2014_03_20.patchset new file mode 100644 index 000000000..11b29c31a --- /dev/null +++ b/sys-devel/arm_none_eabi_gcc_nolibc/patches/arm_none_eabi_gcc_nolibc-4.8.2_2014_03_20.patchset @@ -0,0 +1,22 @@ +From e0f435a01b68a41b06602dcf4b302d7ad7f3974f Mon Sep 17 00:00:00 2001 +From: Adrien Destugues +Date: Fri, 5 Dec 2014 18:05:55 +0100 +Subject: Hardcoded -lm. + + +diff --git a/gcc/Makefile.in b/gcc/Makefile.in +index 56b7baa..c9eedf6 100644 +--- a/gcc/Makefile.in ++++ b/gcc/Makefile.in +@@ -3969,7 +3969,7 @@ $(genprogerr:%=build/gen%$(build_exeext)): $(BUILD_ERRORS) + genprog = $(genprogerr) check checksum condmd + + # These programs need libs over and above what they get from the above list. +-build/genautomata$(build_exeext) : BUILD_LIBS += -lm ++#build/genautomata$(build_exeext) : BUILD_LIBS += -lm + + # These programs are not linked with the MD reader. + build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \ +-- +1.8.3.4 + diff --git a/sys-libs/arm_none_eabi_newlib/arm_none_eabi_newlib-2.1.0.recipe b/sys-libs/arm_none_eabi_newlib/arm_none_eabi_newlib-2.1.0.recipe index 5d11ea2a2..ba683bc56 100644 --- a/sys-libs/arm_none_eabi_newlib/arm_none_eabi_newlib-2.1.0.recipe +++ b/sys-libs/arm_none_eabi_newlib/arm_none_eabi_newlib-2.1.0.recipe @@ -35,7 +35,7 @@ COPYRIGHT=" 2009 ARM Ltd 2008 Ed Schouten " -REVISION="1" +REVISION="2" ARCHITECTURES="" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then @@ -77,7 +77,7 @@ BUILD() cd $objectsDir runConfigure $sourceDir/configure --target=arm-none-eabi \ - --prefix=$installDir + --prefix=$installDir --disable-newlib-supplied-syscalls make } From 5cb3cdead33cde90cd5cfe7dfaf09783647fabc4 Mon Sep 17 00:00:00 2001 From: Vladislav Dzhidzhoev Date: Sat, 6 Dec 2014 10:48:11 +0000 Subject: [PATCH 21/28] =?UTF-8?q?timecop-0.61.recipe=20=D0=BE=D1=82=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=20=D0=BE=D0=BD=D0=BB=D0=B0=D0=B9=D0=BD=20=D0=BD=D0=B0=20?= =?UTF-8?q?Bitbucket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- haiku-apps/timecop/timecop-0.61.recipe | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/haiku-apps/timecop/timecop-0.61.recipe b/haiku-apps/timecop/timecop-0.61.recipe index 4a0605908..fcc04b0a9 100644 --- a/haiku-apps/timecop/timecop-0.61.recipe +++ b/haiku-apps/timecop/timecop-0.61.recipe @@ -1,12 +1,12 @@ SUMMARY="TimeCop helps you collect statistics about your computer working" DESCRIPTION=" You want to know, how much time you spend in front of your computer? -You want to know, how often your BeBox crashes? +You want to know, how often your computer crashes? So you can use TimeCop to write a protocol of your computer sessions. " HOMEPAGE="http://www.augusta.de/michael/BeOS/TimeCop/index.us.html" -SRC_URI="git://github.com/HaikuArchives/TimeCop.git" +SRC_URI="git://github.com/HaikuArchives/TimeCop.git#ee79c42895" REVISION="2" LICENSE="GNU GPL v2" COPYRIGHT="Copyright Michael Pieper" @@ -28,7 +28,6 @@ BUILD_REQUIRES=" " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion cmd:make cmd:gcc " From 5fadc61e38ca17b69e42e66837fb634b112b3863 Mon Sep 17 00:00:00 2001 From: Vladislav Dzhidzhoev Date: Sat, 6 Dec 2014 10:51:02 +0000 Subject: [PATCH 22/28] =?UTF-8?q?timecop-0.61.recipe=20=D0=BE=D1=82=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=20=D0=BE=D0=BD=D0=BB=D0=B0=D0=B9=D0=BD=20=D0=BD=D0=B0=20?= =?UTF-8?q?Bitbucket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- haiku-apps/timecop/timecop-0.61.recipe | 1 - 1 file changed, 1 deletion(-) diff --git a/haiku-apps/timecop/timecop-0.61.recipe b/haiku-apps/timecop/timecop-0.61.recipe index fcc04b0a9..a292964a7 100644 --- a/haiku-apps/timecop/timecop-0.61.recipe +++ b/haiku-apps/timecop/timecop-0.61.recipe @@ -15,7 +15,6 @@ CHECKSUM_SHA256="d384c22c8768298fb1d9ea60fbdb8e7f7e440c00bae44c37e7507f20c4fe6a9 REQUIRES=" haiku >= $haikuVersion - python " PROVIDES=" From c8e6e6f1d271501baba765acc2575e6193e3003b Mon Sep 17 00:00:00 2001 From: Nolan Clark Date: Sat, 6 Dec 2014 11:33:20 -0600 Subject: [PATCH 23/28] Changed recipe to pull skin from binary package --- haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe index c12268e21..092d984b4 100644 --- a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe +++ b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe @@ -4,7 +4,9 @@ flexibly customizable. It works on Windows, BeOS, and Haiku. In this \ application the word \"cover\" means a set of files for its design, \ instead of the commonly used word \"skin\"." HOMEPAGE="https://code.google.com/p/coveredcalc" -SRC_URI="svn+http://coveredcalc.googlecode.com/svn/trunk@72" +SRC_URI_1="svn+http://coveredcalc.googlecode.com/svn/trunk@72" +SRC_URI_2="https://coveredcalc.googlecode.com/files/CoveredCalcBe1.10.0.zip" +CHECKSUM_SHA256_2="f5256c9cdb581c0246292005e9d3275586552bd4630b91e7372bd1903a94b669" REVISION="1" LICENSE="MIT" ARCHITECTURES="x86_gcc2 ?x86" @@ -37,17 +39,14 @@ BUILD() cd Sources/CoveredCalc/CoveredCalcBe make release $jobArgs cd ../../.. - #download skin from Google Drive (source doesn't include a skin) - wget http://googledrive.com/host/0BwHhdVuLdvajZDBXSXl0S1NMVWc/skin.zip - unzip skin.zip } INSTALL() { - mkdir -p $appsDir/CoveredCalc/{NLS,Keymaps,Covers} + mkdir -p $appsDir/CoveredCalc/{NLS,Keymaps} cp Sources/CoveredCalc/CoveredCalcBe/obj.release/CoveredCalc $appsDir/CoveredCalc cp LangFiles/BeOS/* $appsDir/CoveredCalc/NLS cp KeyMappings/BeOS/* $appsDir/CoveredCalc/Keymaps - cp -R default $appsDir/CoveredCalc/Covers + cp -R CoveredCalc/Covers $appsDir/CoveredCalc addAppDeskbarSymlink $appsDir/CoveredCalc/CoveredCalc } From 96bd39160f9644339f747d6816e8796565149a98 Mon Sep 17 00:00:00 2001 From: Nolan Clark Date: Sat, 6 Dec 2014 12:53:54 -0600 Subject: [PATCH 24/28] Fixed recipe to build with SRC_URI_2 --- haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe index 092d984b4..bf61e48f1 100644 --- a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe +++ b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe @@ -47,6 +47,6 @@ INSTALL() cp Sources/CoveredCalc/CoveredCalcBe/obj.release/CoveredCalc $appsDir/CoveredCalc cp LangFiles/BeOS/* $appsDir/CoveredCalc/NLS cp KeyMappings/BeOS/* $appsDir/CoveredCalc/Keymaps - cp -R CoveredCalc/Covers $appsDir/CoveredCalc + cp -R ../../sources-2/CoveredCalc/Covers $appsDir/CoveredCalc addAppDeskbarSymlink $appsDir/CoveredCalc/CoveredCalc } From 232fcc36250f0102a6d04284e0092df70ade3c8b Mon Sep 17 00:00:00 2001 From: Nolan Clark Date: Sat, 6 Dec 2014 12:57:17 -0600 Subject: [PATCH 25/28] Removed unnecessary cd --- haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe | 1 - 1 file changed, 1 deletion(-) diff --git a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe index bf61e48f1..799a5fe9d 100644 --- a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe +++ b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe @@ -38,7 +38,6 @@ BUILD() { cd Sources/CoveredCalc/CoveredCalcBe make release $jobArgs - cd ../../.. } INSTALL() From 238bcbea532524ffa57a00541753cda1d0da7144 Mon Sep 17 00:00:00 2001 From: Nolan Clark Date: Sat, 6 Dec 2014 13:02:16 -0600 Subject: [PATCH 26/28] Removed unnecessary BUILD_REQUIRES, BUILD_PREREQUIRES, and added version constraints to haiku_devel --- haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe index 799a5fe9d..0e9852022 100644 --- a/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe +++ b/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe @@ -22,17 +22,11 @@ REQUIRES=" " BUILD_REQUIRES=" - haiku_devel + haiku_devel >= $haikuVersion cmd:make cmd:gcc cmd:xres - cmd:wget - cmd:unzip " - -BUILD_PREREQUIRES=" - cmd:svn - " BUILD() { From baafd6187d738a1a4bb3142f12b9562438a78936 Mon Sep 17 00:00:00 2001 From: Theodore Kokkoris Date: Sat, 6 Dec 2014 11:46:26 +0000 Subject: [PATCH 27/28] Added exiv2 0.24. Works only on gcc4. --- dev-libs/exiv2/exiv2-0.24.recipe | 73 +++++++++++++++++++++++++ dev-libs/exiv2/patches/exiv2-0.24.patch | 12 ++++ 2 files changed, 85 insertions(+) create mode 100644 dev-libs/exiv2/exiv2-0.24.recipe create mode 100644 dev-libs/exiv2/patches/exiv2-0.24.patch diff --git a/dev-libs/exiv2/exiv2-0.24.recipe b/dev-libs/exiv2/exiv2-0.24.recipe new file mode 100644 index 000000000..c3a556817 --- /dev/null +++ b/dev-libs/exiv2/exiv2-0.24.recipe @@ -0,0 +1,73 @@ +SUMMARY="Exiv2 is a C++ library and a command line utility to manage image metadata." +DESCRIPTION="Exiv2 provides fast and easy read and write access to the Exif, IPTC and XMP metadata of images \ +in various formats. Exiv2 is available as free software and with a commercial \ +license, and is used in many projects." +HOMEPAGE="http://www.exiv2.org/" +COPYRIGHT=" + 2004-2013 Andreas Huggel + 2009 Brad Schick + " +LICENSE="GNU GPL v2" +SRC_URI="http://www.exiv2.org/exiv2-0.24.tar.gz" +CHECKSUM_SHA256="f4a443e6c7fb9d9f5e787732f76969a64c72c4c04af69b10ed57f949c2dfef8e" +REVISION="1" +ARCHITECTURES="x86" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + ARCHITECTURES="x86_gcc2 $ARCHITECTURES" +else + ARCHITECTURES="!x86_gcc2 $ARCHITECTURES" +fi +SECONDARY_ARCHITECTURES="x86" + +PATCHES="exiv2-0.24.patch" + +PROVIDES=" + exiv2$secondaryArchSuffix = $portVersion + cmd:exiv2$secondaryArchSuffix = $portVersion + lib:libexiv2$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libexpat$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " +BUILD_REQUIRES=" + devel:libexpat$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:gcc$secondaryArchSuffix + cmd:autoconf + cmd:make + cmd:awk # required by configure + cmd:find # required by libtool + " + +BUILD() { + cd config + autoconf + cp configure .. + cd .. + + runConfigure ./configure + make $jobArgs +} + +INSTALL() { + make install + + prepareInstalledDevelLibs libexiv2 + fixPkgconfig + + packageEntries devel \ + $developDir +} + +PROVIDES_devel=" + exiv2${secondaryArchSuffix}_devel = $portVersion + devel:libexiv2${secondaryArchSuffix} = $portVersion + " +REQUIRES_devel=" + exiv2$secondaryArchSuffix == $portVersion base + " diff --git a/dev-libs/exiv2/patches/exiv2-0.24.patch b/dev-libs/exiv2/patches/exiv2-0.24.patch new file mode 100644 index 000000000..3c2cafa2f --- /dev/null +++ b/dev-libs/exiv2/patches/exiv2-0.24.patch @@ -0,0 +1,12 @@ +diff -ur exiv2-0.24-orig/config/configure.ac exiv2-0.24/config/configure.ac +--- exiv2-0.24-orig/config/configure.ac 2013-07-24 02:47:31.008126464 +0000 ++++ exiv2-0.24/config/configure.ac 2014-12-06 10:53:18.091488256 +0000 +@@ -212,6 +212,8 @@ + case "$host_os" in + *mingw* | *cygwin*) + LDFLAGS="$LDFLAGS -no-undefined -lpsapi" ;; ++*beos* | *haiku*) ++ ;; + *) + LDFLAGS="$LDFLAGS -ldl" ;; + esac From 62fa715faeeb1757d8ac82a5d761836cf027c675 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sat, 6 Dec 2014 20:40:16 +0000 Subject: [PATCH 28/28] armyknife-4.3.0.recipe edited online with Bitbucket Added find and xargs to PREREQUIRES, fixes build --- haiku-apps/armyknife/armyknife-4.3.0.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/haiku-apps/armyknife/armyknife-4.3.0.recipe b/haiku-apps/armyknife/armyknife-4.3.0.recipe index 7a1f5a111..07dc07ec6 100644 --- a/haiku-apps/armyknife/armyknife-4.3.0.recipe +++ b/haiku-apps/armyknife/armyknife-4.3.0.recipe @@ -29,6 +29,8 @@ BUILD_PREREQUIRES=" cmd:ld$secondaryArchSuffix cmd:make cmd:unzip + cmd:find + cmd:xargs " BUILD()