From 6b753405caf0dc28ff92de0734ac69259440dcbb Mon Sep 17 00:00:00 2001 From: Adrian Jelen Date: Mon, 9 Dec 2013 19:38:44 +0000 Subject: [PATCH 01/41] Convert jasper, enet and haproxy to working recipe --- media-libs/jasper/jasper-1.900.1.recipe | 97 ++++++++++++++++++++--- net-libs/enet/enet-1.3.0.recipe | 60 ++++++++++++-- www-servers/haproxy/haproxy-1.4.22.recipe | 48 ++++++++--- 3 files changed, 175 insertions(+), 30 deletions(-) diff --git a/media-libs/jasper/jasper-1.900.1.recipe b/media-libs/jasper/jasper-1.900.1.recipe index dee1e1aec..e2d0934e3 100644 --- a/media-libs/jasper/jasper-1.900.1.recipe +++ b/media-libs/jasper/jasper-1.900.1.recipe @@ -1,26 +1,105 @@ -DESCRIPTION="jasper - software-based implementation of the codec specified in the JPEG-2000 Part-1 standard" -HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/" +DESCRIPTION="The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard. More details about this software can be found in the JasPer Software Reference Manual." +SUMMARY="Implementation of the codec specified in the JPEG-2000 Part-1 standard." +HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/" SRC_URI="http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.900.1.zip" REVISION="1" -STATUS_HAIKU="stable" CHECKSUM_MD5="a342b2b4495b3e1394e161eb5d85d754" -DEPEND="" + +LICENSE="JasPer v2" +COPYRIGHT="1999-2007 Michael D. Adams" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86" + +PROVIDES=" + jasper$secondaryArchSuffix = $portVersion + lib:libjasper$secondaryArchSuffix = $portVersion + cmd:imgcmp = $portVersion + cmd:imginfo = $portVersion + cmd:jasper = $portVersion + cmd:tmrdemo = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:mkdepend + cmd:libtoolize + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:chmod + " + + + BUILD() { - cd jasper-1.900.1 libtoolize --force --copy --install aclocal -I acaux autoconf automake chmod 777 configure - ./configure --prefix=`finddir B_COMMON_DIRECTORY` --enable-shared + runConfigure ./configure --enable-shared make } INSTALL() { - cd jasper-1.900.1 make install + + prepareInstalledDevelLibs libjasper + + # devel package + packageEntries devel \ + $developDir + + # tools package + if [ -z "$secondaryArchSuffix" ]; then + packageEntries tools \ + $binDir \ + $documentationDir + fi + + # Remove stuff we don't need in the secondary architecture base package. + if [ -n "$secondaryArchSuffix" ]; then + rm -rf $binDir + rm -rf $documentationDir + fi } -LICENSE="JasPer v2" -COPYRIGHT="1999-2007 Michael D. Adams" + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + jasper${secondaryArchSuffix}_devel = $portVersion + devel:libjasper$secondaryArchSuffix = $portVersion + " + +REQUIRES_devel=" + jasper$secondaryArchSuffix == $portVersion base + " + +# ----- tools package ------------------------------------------------------- + +if [ -z "$secondaryArchSuffix" ]; then + SUMMARY_tools="The jasper tools" + PROVIDES_tools=" + jasper_tools = $portVersion + cmd:imgcmp = $portVersion + cmd:imginfo = $portVersion + cmd:jasper = $portVersion + cmd:tmrdemo = $portVersion + " + REQUIRES_tools=" + haiku >= $haikuVersion + jasper == $portVersion base + " +fi \ No newline at end of file diff --git a/net-libs/enet/enet-1.3.0.recipe b/net-libs/enet/enet-1.3.0.recipe index 4d50c2c85..cf9fad609 100644 --- a/net-libs/enet/enet-1.3.0.recipe +++ b/net-libs/enet/enet-1.3.0.recipe @@ -1,24 +1,68 @@ -DESCRIPTION="enet" +DESCRIPTION="ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol). The primary feature it provides is optional reliable, in-order delivery of packets. +ENet omits certain higher level networking features such as authentication, lobbying, server discovery, encryption, or other similar tasks that are particularly application specific so that the library remains flexible, portable, and easily embeddable." +SUMMARY="ENet is simple and robust network communication layer." HOMEPAGE="http://enet.bespin.org" SRC_URI="http://enet.bespin.org/download/enet-1.3.0.tar.gz" CHECKSUM_MD5="3ea50cc5f2f4bbea32abae0d50b64e3c" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" + +LICENSE="MIT" +COPYRIGHT="2002-2010 Lee Salzman" + +PROVIDES=" + enet = $portVersion + lib:libenet = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoreconf + cmd:gcc + cmd:ld + cmd:libtoolize + cmd:make + cmd:sed + " BUILD() { - cd enet-1.3.0 libtoolize --force --copy --install autoreconf -i - ./configure --prefix=`finddir B_COMMON_DIRECTORY` + runConfigure ./configure $configureDirArgs } INSTALL() { - cd enet-1.3.0 make install + prepareInstalledDevelLibs libenet + + # devel package + packageEntries devel \ + $developDir + + # Remove stuff we don't need in the secondary architecture base package. + if [ -n "$secondaryArchSuffix" ]; then + rm -rf $binDir + rm -rf $documentationDir + fi } -LICENSE="MIT" -COPYRIGHT="2002-2010 Lee Salzman" + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + enet${secondaryArchSuffix}_devel = $portVersion + devel:libenet$secondaryArchSuffix = $portVersion + " + +REQUIRES_devel=" + enet$secondaryArchSuffix == $portVersion base + " \ No newline at end of file diff --git a/www-servers/haproxy/haproxy-1.4.22.recipe b/www-servers/haproxy/haproxy-1.4.22.recipe index 854d047dc..e952cf0f8 100644 --- a/www-servers/haproxy/haproxy-1.4.22.recipe +++ b/www-servers/haproxy/haproxy-1.4.22.recipe @@ -1,24 +1,46 @@ -DESCRIPTION="Reliable, high performace TCP/HTTP load balancer" +DESCRIPTION="HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing." +SUMMARY="Reliable, high performace TCP/HTTP load balancer" HOMEPAGE="http://haproxy.1wt.eu/" SRC_URI="http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.22.tar.gz" CHECKSUM_MD5="a0b007c76f6a78524f3b3dd5e704979c" -STATUS_HAIKU="stable" REVISION="1" + +LICENSE="GNU GPL v2" +COPYRIGHT="2012 Willy Tarreau" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + haproxy = $portVersion + cmd:haproxy = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:make + cmd:gcc + " +PATCHES="haproxy-1.4.22.patch" + + BUILD() { - cd haproxy-1.4.22 - make TARGET=haiku PREFIX= SBINDIR=`finddir B_COMMON_BIN_DIRECTORY` \ - MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \ - DOCDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` + make TARGET=haiku PREFIX="$prefix" } INSTALL() { - cd haproxy-1.4.22 - make install DESTDIR=$DESTDIR PREFIX= SBINDIR=`finddir B_COMMON_BIN_DIRECTORY` \ - MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \ - DOCDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` -} + mkdir -p "${sbinDir}/haproxy" + mkdir -p "${manDir}/haproxy" + mkdir -p "${docDir}" + -LICENSE="GNU GPL v2" -COPYRIGHT="2012 Willy Tarreau" \ No newline at end of file + make install DESTDIR="" \ + PREFIX="$prefix"\ + SBINDIR="${sbinDir}/haproxy" \ + MANDIR="${manDir}/haproxy" \ + DOCDIR="${docDir}" +} \ No newline at end of file From aefec3e096bb2c612fef07a138f3aa4a747bdafb Mon Sep 17 00:00:00 2001 From: Adrian Jelen Date: Mon, 9 Dec 2013 22:59:11 +0000 Subject: [PATCH 02/41] Convert enet, jasper and haproxy to working recipe --- media-libs/jasper/jasper-1.900.1.recipe | 4 ---- net-libs/enet/enet-1.3.0.recipe | 7 ++++--- www-servers/haproxy/haproxy-1.4.22.recipe | 8 ++++---- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/media-libs/jasper/jasper-1.900.1.recipe b/media-libs/jasper/jasper-1.900.1.recipe index e2d0934e3..27e99bbc9 100644 --- a/media-libs/jasper/jasper-1.900.1.recipe +++ b/media-libs/jasper/jasper-1.900.1.recipe @@ -14,10 +14,6 @@ SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86" PROVIDES=" jasper$secondaryArchSuffix = $portVersion lib:libjasper$secondaryArchSuffix = $portVersion - cmd:imgcmp = $portVersion - cmd:imginfo = $portVersion - cmd:jasper = $portVersion - cmd:tmrdemo = $portVersion " REQUIRES=" diff --git a/net-libs/enet/enet-1.3.0.recipe b/net-libs/enet/enet-1.3.0.recipe index cf9fad609..9ba080e48 100644 --- a/net-libs/enet/enet-1.3.0.recipe +++ b/net-libs/enet/enet-1.3.0.recipe @@ -5,14 +5,15 @@ HOMEPAGE="http://enet.bespin.org" SRC_URI="http://enet.bespin.org/download/enet-1.3.0.tar.gz" CHECKSUM_MD5="3ea50cc5f2f4bbea32abae0d50b64e3c" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86" REVISION="1" LICENSE="MIT" COPYRIGHT="2002-2010 Lee Salzman" PROVIDES=" - enet = $portVersion - lib:libenet = $portVersion + enet = $portVersion compat >= 1.0.0 + lib:libenet = $portVersion compat >= 1.0.0 " REQUIRES=" haiku >= $haikuVersion @@ -36,7 +37,7 @@ BUILD() { libtoolize --force --copy --install autoreconf -i - runConfigure ./configure $configureDirArgs + runConfigure ./configure } INSTALL() diff --git a/www-servers/haproxy/haproxy-1.4.22.recipe b/www-servers/haproxy/haproxy-1.4.22.recipe index e952cf0f8..fbaef0b80 100644 --- a/www-servers/haproxy/haproxy-1.4.22.recipe +++ b/www-servers/haproxy/haproxy-1.4.22.recipe @@ -33,14 +33,14 @@ BUILD() INSTALL() { - mkdir -p "${sbinDir}/haproxy" - mkdir -p "${manDir}/haproxy" + mkdir -p "${sbinDir}" + mkdir -p "${manDir}" mkdir -p "${docDir}" make install DESTDIR="" \ PREFIX="$prefix"\ - SBINDIR="${sbinDir}/haproxy" \ - MANDIR="${manDir}/haproxy" \ + SBINDIR="${sbinDir}" \ + MANDIR="${manDir}" \ DOCDIR="${docDir}" } \ No newline at end of file From 76fa997485f26886ccb24ae436e3e1090e600b7d Mon Sep 17 00:00:00 2001 From: Adrian Jelen Date: Mon, 9 Dec 2013 23:07:53 +0000 Subject: [PATCH 03/41] Added compatible version --- media-libs/jasper/jasper-1.900.1.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/jasper/jasper-1.900.1.recipe b/media-libs/jasper/jasper-1.900.1.recipe index 27e99bbc9..7458a1d8e 100644 --- a/media-libs/jasper/jasper-1.900.1.recipe +++ b/media-libs/jasper/jasper-1.900.1.recipe @@ -12,8 +12,8 @@ ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86" PROVIDES=" - jasper$secondaryArchSuffix = $portVersion - lib:libjasper$secondaryArchSuffix = $portVersion + jasper$secondaryArchSuffix = $portVersion compat >= 1.0.0 + lib:libjasper$secondaryArchSuffix = $portVersion compat >= 1.0.0 " REQUIRES=" From f601927ad8afb0496122b046e215836b2cfe5d0e Mon Sep 17 00:00:00 2001 From: noryb009 Date: Mon, 9 Dec 2013 18:51:17 -0500 Subject: [PATCH 04/41] Update GuitarMaster recipe The patch was accepted upstream --- ...ter-r20.recipe => guitarmaster-r21.recipe} | 6 +- .../patches/guitarmaster-r20.patch | 212 ------------------ 2 files changed, 1 insertion(+), 217 deletions(-) rename haiku-games/guitarmaster/{guitarmaster-r20.recipe => guitarmaster-r21.recipe} (89%) delete mode 100644 haiku-games/guitarmaster/patches/guitarmaster-r20.patch diff --git a/haiku-games/guitarmaster/guitarmaster-r20.recipe b/haiku-games/guitarmaster/guitarmaster-r21.recipe similarity index 89% rename from haiku-games/guitarmaster/guitarmaster-r20.recipe rename to haiku-games/guitarmaster/guitarmaster-r21.recipe index 3c040777e..4f082b9aa 100644 --- a/haiku-games/guitarmaster/guitarmaster-r20.recipe +++ b/haiku-games/guitarmaster/guitarmaster-r21.recipe @@ -6,7 +6,7 @@ DESCRIPTION=" Usage: GuitarMaster [/path/to/songsDirectory] " HOMEPAGE="http://code.google.com/p/guitarmaster/" -SRC_URI="svn+http://guitarmaster.googlecode.com/svn/trunk/@20" +SRC_URI="svn+http://guitarmaster.googlecode.com/svn/trunk/@21" LICENSE="MIT" COPYRIGHT="Toxic Labs 2008-2009" REVISION="1" @@ -27,10 +27,6 @@ BUILD_PREREQUIRES=" cmd:gcc " -PATCHES=" - guitarmaster-r20.patch - " - SRC_FILENAME="download" SOURCE_DIR="$portName" diff --git a/haiku-games/guitarmaster/patches/guitarmaster-r20.patch b/haiku-games/guitarmaster/patches/guitarmaster-r20.patch deleted file mode 100644 index de7e0da10..000000000 --- a/haiku-games/guitarmaster/patches/guitarmaster-r20.patch +++ /dev/null @@ -1,212 +0,0 @@ -From 4929c586441b40f7046487bc9b9a7dd887e3e605 Mon Sep 17 00:00:00 2001 -From: Luke -Date: Sun, 24 Nov 2013 07:51:48 +0000 -Subject: [PATCH] Search for songs directory - ---- - TApp.cpp | 5 +++-- - TApp.h | 4 +++- - TMainWindow.cpp | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- - TMainWindow.h | 4 +++- - main.cpp | 11 +++++++++- - 5 files changed, 79 insertions(+), 8 deletions(-) - -diff --git a/TApp.cpp b/TApp.cpp -index b38dbe1..a9d89ec 100644 ---- a/TApp.cpp -+++ b/TApp.cpp -@@ -10,10 +10,11 @@ using namespace org::toxic; - using namespace std; - - --TApp::TApp():BApplication("application/x-vnd.guitar-master") -+TApp::TApp(BString * UserSpecifiedSongDir):BApplication("application/x-vnd.guitar-master") - { - cout<<"Guitar Master project"<UserSpecifiedSongDir = UserSpecifiedSongDir; - } - - -@@ -27,5 +28,5 @@ void TApp::ReadyToRun() - { - cout<<"ready!!"< - #include - #include "TMainWindow.h" - -@@ -16,9 +17,10 @@ namespace org - { - private: - TMainWindow * window; -+ BString * UserSpecifiedSongDir; - public: - -- TApp(); -+ TApp(BString * UserSpecifiedSongDir = NULL); - ~TApp(); - - virtual void ReadyToRun(); -diff --git a/TMainWindow.cpp b/TMainWindow.cpp -index d84cbd4..f16be1d 100644 ---- a/TMainWindow.cpp -+++ b/TMainWindow.cpp -@@ -11,12 +11,17 @@ - #include - #include - -+#include -+#include -+#include -+#include -+ - using namespace org::toxic; - using namespace org::toxic::resources; - using namespace std; - - --TMainWindow::TMainWindow(BRect frame): BWindow(frame,"Guitar Master",B_TITLED_WINDOW,B_NOT_ZOOMABLE | B_NOT_RESIZABLE) -+TMainWindow::TMainWindow(BRect frame, BString * UserSpecifiedSongDir): BWindow(frame,"Guitar Master",B_TITLED_WINDOW,B_NOT_ZOOMABLE | B_NOT_RESIZABLE) - { - cout<<"Main window"<pw_dir; -+ } -+ -+ BString * songLocations[13]; -+ songLocations[0] = UserSpecifiedSongDir; -+ songLocations[1] = new BString("songs"); -+ songLocations[2] = new BString("/music/GuitarMaster"); -+ songLocations[2]->Prepend(homeDir); -+ songLocations[3] = new BString("/music/guitarmaster"); -+ songLocations[3]->Prepend(homeDir); -+ songLocations[4] = new BString("/music/Guitar Master"); -+ songLocations[4]->Prepend(homeDir); -+ songLocations[5] = new BString("/music/guitar master"); -+ songLocations[5]->Prepend(homeDir); -+ songLocations[6] = new BString("/Music/GuitarMaster"); -+ songLocations[6]->Prepend(homeDir); -+ songLocations[7] = new BString("/Music/guitarmaster"); -+ songLocations[7]->Prepend(homeDir); -+ songLocations[8] = new BString("/Music/Guitar Master"); -+ songLocations[8]->Prepend(homeDir); -+ songLocations[9] = new BString("/Music/guitar master"); -+ songLocations[9]->Prepend(homeDir); -+ songLocations[10] = new BString("/music"); -+ songLocations[10]->Prepend(homeDir); -+ songLocations[11] = new BString("/Music"); -+ songLocations[11]->Prepend(homeDir); -+ songLocations[12] = new BString(homeDir); -+ -+ cout<<"Searching for songs directory..."<String()<String()); -+ if(songs_dir_check->InitCheck() == B_OK) { -+ SongsDirLocation = new BString(*songLocations[i]); -+ delete songs_dir_check; -+ break; -+ } -+ delete songs_dir_check; -+ } -+ } -+ -+ for(int i=0; iString()); - BEntry entry; - char str[B_FILE_NAME_LENGTH]; - BMessage * message; -@@ -128,7 +185,7 @@ void TMainWindow::MessageReceived(BMessage * mesg) - case T_MSG_SELECT_SONG: - mesg->FindString("song",&str); - -- spath<<"songs/"<String()<<"/"< - #include -+#include - #include "TGameView.h" - - #define T_MSG_FRAME 0x00FF0011 -@@ -20,10 +21,11 @@ namespace org - - TGameView * gameview; - BMessageRunner * timer; -+ BString * SongsDirLocation; - - public: - -- TMainWindow(BRect frame); -+ TMainWindow(BRect frame, BString * songDirectory = NULL); - ~TMainWindow(); - - -diff --git a/main.cpp b/main.cpp -index 6e9a650..da8d16b 100644 ---- a/main.cpp -+++ b/main.cpp -@@ -3,13 +3,22 @@ - * Toxic Labs - */ - -+#include - #include "TApp.h" - - using namespace org::toxic; - - int main (int argc,char * argv[]) - { -- TApp app; -+ BString * UserSpecifiedSongDir; -+ UserSpecifiedSongDir = NULL; -+ // see if song directory was specified -+ if(argc > 1) -+ { -+ UserSpecifiedSongDir = new BString(argv[1]); -+ } -+ -+ TApp app(UserSpecifiedSongDir); - - app.Run(); - --- -1.8.3.4 - From 3612c0b18fe57f7da4293b323383cc4fa1f386e3 Mon Sep 17 00:00:00 2001 From: noryb009 Date: Mon, 9 Dec 2013 18:58:01 -0500 Subject: [PATCH 05/41] Update BeScreenCapture's recipe New version came out --- ...escreencapture-1.9.1.recipe => bescreencapture-1.9.2.recipe} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename haiku-apps/bescreencapture/{bescreencapture-1.9.1.recipe => bescreencapture-1.9.2.recipe} (90%) diff --git a/haiku-apps/bescreencapture/bescreencapture-1.9.1.recipe b/haiku-apps/bescreencapture/bescreencapture-1.9.2.recipe similarity index 90% rename from haiku-apps/bescreencapture/bescreencapture-1.9.1.recipe rename to haiku-apps/bescreencapture/bescreencapture-1.9.2.recipe index a0bfb4b3a..15214bdd1 100644 --- a/haiku-apps/bescreencapture/bescreencapture-1.9.1.recipe +++ b/haiku-apps/bescreencapture/bescreencapture-1.9.2.recipe @@ -8,7 +8,7 @@ DESCRIPTION=" section you select. " HOMEPAGE="https://github.com/jackburton79/bescreencapture" -SRC_URI="git+git://github.com/jackburton79/bescreencapture.git#87886da2972fd4bbabb3fc5caae301c6dc14e7fd" +SRC_URI="git://github.com/jackburton79/bescreencapture.git#fb7de7c5dec3768509072e3f3ee2a433bc9285bb" LICENSE=" BSD (3-clause) MIT From 47c972d4680b508a99c312bbcecb78af23f2a1c9 Mon Sep 17 00:00:00 2001 From: Adrian Jelen Date: Tue, 10 Dec 2013 01:58:16 +0000 Subject: [PATCH 06/41] Add support secondary arch --- media-libs/jasper/jasper-1.900.1.recipe | 1 + net-libs/enet/enet-1.3.0.recipe | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/media-libs/jasper/jasper-1.900.1.recipe b/media-libs/jasper/jasper-1.900.1.recipe index 7458a1d8e..9d521657a 100644 --- a/media-libs/jasper/jasper-1.900.1.recipe +++ b/media-libs/jasper/jasper-1.900.1.recipe @@ -26,6 +26,7 @@ BUILD_REQUIRES=" BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix cmd:make cmd:mkdepend cmd:libtoolize diff --git a/net-libs/enet/enet-1.3.0.recipe b/net-libs/enet/enet-1.3.0.recipe index 9ba080e48..155753690 100644 --- a/net-libs/enet/enet-1.3.0.recipe +++ b/net-libs/enet/enet-1.3.0.recipe @@ -12,22 +12,22 @@ LICENSE="MIT" COPYRIGHT="2002-2010 Lee Salzman" PROVIDES=" - enet = $portVersion compat >= 1.0.0 - lib:libenet = $portVersion compat >= 1.0.0 + enet$secondaryArchSuffix = $portVersion compat >= 1.0.0 + lib:libenet$secondaryArchSuffix = $portVersion compat >= 1.0.0 " REQUIRES=" - haiku >= $haikuVersion + haiku$secondaryArchSuffix >= $haikuVersion " BUILD_REQUIRES=" - haiku_devel >= $haikuVersion + haiku${secondaryArchSuffix}_devel >= $haikuVersion " BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix cmd:aclocal cmd:autoreconf - cmd:gcc - cmd:ld cmd:libtoolize cmd:make cmd:sed From 4be7b9845ecbaf6c6ce7e662938011d515670f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 9 Dec 2013 19:15:10 +0100 Subject: [PATCH 07/41] libcss: Rename recipe to lowercase --- .../libcss/{libcss-0.2.0_HEAD.recipe => libcss-0.2.0_git.recipe} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename dev-libs/libcss/{libcss-0.2.0_HEAD.recipe => libcss-0.2.0_git.recipe} (100%) diff --git a/dev-libs/libcss/libcss-0.2.0_HEAD.recipe b/dev-libs/libcss/libcss-0.2.0_git.recipe similarity index 100% rename from dev-libs/libcss/libcss-0.2.0_HEAD.recipe rename to dev-libs/libcss/libcss-0.2.0_git.recipe From 7304cd6d9b3b7cde2315443e44aa736fe0e6a779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 10 Dec 2013 03:45:47 +0100 Subject: [PATCH 08/41] libwapcaplet: Fix provides; move installed stuff around Note the pkg-config file isn't fixed, so they aren't found yet. --- dev-libs/libwapcaplet/libwapcaplet-0.2.0_git.recipe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.2.0_git.recipe b/dev-libs/libwapcaplet/libwapcaplet-0.2.0_git.recipe index 7fb9cac8a..137b0efeb 100644 --- a/dev-libs/libwapcaplet/libwapcaplet-0.2.0_git.recipe +++ b/dev-libs/libwapcaplet/libwapcaplet-0.2.0_git.recipe @@ -1,3 +1,4 @@ +#TODO:split out _devel SUMMARY="LibWapcaplet is a string internment library" DESCRIPTION="LibWapcaplet is a string internment library" HOMEPAGE="http://www.netsurf-browser.org/projects/libwapcaplet/" @@ -11,6 +12,8 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" libwapcaplet$secondaryArchSuffix = $portVersion + lib:libwapcaplet$secondaryArchSuffix = $portVersion + devel:libwapcaplet$secondaryArchSuffix = $portVersion " REQUIRES=" @@ -39,5 +42,7 @@ INSTALL() { make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \ I=/develop/headers/libwapcaplet + mkdir -p $prefix/develop/lib + mv -f $prefix/lib/*.a $prefix/develop/lib/ + mv -f $prefix/lib/pkgconfig $prefix/develop/lib/ } - From ecfbe0e72147205dad99c14e41249fa2a5c49351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 10 Dec 2013 03:46:54 +0100 Subject: [PATCH 09/41] libparserutils: Fix provides; move installed stuff around Note the pkg-config file isn't fixed, so they aren't found yet. --- dev-libs/libparserutils/libparserutils-0.1.2_git.recipe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-libs/libparserutils/libparserutils-0.1.2_git.recipe b/dev-libs/libparserutils/libparserutils-0.1.2_git.recipe index c9d13086d..cd3f2e789 100644 --- a/dev-libs/libparserutils/libparserutils-0.1.2_git.recipe +++ b/dev-libs/libparserutils/libparserutils-0.1.2_git.recipe @@ -1,3 +1,4 @@ +#TODO:split out _devel SUMMARY="LibParserUtils is a library for building efficient parsers" DESCRIPTION="LibParserUtils is a library for building efficient parsers" HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/" @@ -11,6 +12,8 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" libparserutils$secondaryArchSuffix = $portVersion + lib:libparserutils$secondaryArchSuffix = $portVersion + devel:libparserutils$secondaryArchSuffix = $portVersion " REQUIRES=" @@ -42,5 +45,7 @@ INSTALL() { make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \ I=/develop/headers/libparserutils + mkdir -p $prefix/develop/lib + mv -f $prefix/lib/*.a $prefix/develop/lib/ + mv -f $prefix/lib/pkgconfig $prefix/develop/lib/ } - From acf55bc6e21633ee671e1a041884d84e5990e02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 10 Dec 2013 03:47:49 +0100 Subject: [PATCH 10/41] libcss: Update recipe --- dev-libs/libcss/libcss-0.2.0_git.recipe | 51 ++++++++++++++++++++----- 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/dev-libs/libcss/libcss-0.2.0_git.recipe b/dev-libs/libcss/libcss-0.2.0_git.recipe index 630629e2b..37944be56 100644 --- a/dev-libs/libcss/libcss-0.2.0_git.recipe +++ b/dev-libs/libcss/libcss-0.2.0_git.recipe @@ -1,21 +1,54 @@ +#TODO:split out _devel +SUMMARY="LibCSS is a CSS parser and selection engine" DESCRIPTION="LibCSS is a CSS (Cascading Style Sheet) parser and selection engine" HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/" SRC_URI="git://git.netsurf-browser.org/libcss.git" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="dev-libs/libparserutils >= 0.1.1" +LICENSE="MIT" +COPYRIGHT="2007 - 2013 J-M Bell" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + libcss$secondaryArchSuffix = $portVersion + lib:libcss$secondaryArchSuffix = $portVersion + devel:libcss$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix + lib:libparserutils${secondaryArchSuffix} + lib:libwapcaplet${secondaryArchSuffix} + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libparserutils${secondaryArchSuffix} >= 0.1.1 + devel:libwapcaplet${secondaryArchSuffix} >= 0.1.1 + netsurf_buildsystem >= 0 + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + cmd:perl + cmd:pkg_config + " + +SOURCE_DIR="$portVersionedName" BUILD() { - cd libcss-0.2.0-HEAD - make PREFIX=/boot/common + make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem } INSTALL() { - cd libcss-0.2.0-HEAD - make install PREFIX=/boot/common + make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \ + I=/develop/headers/libcss + mkdir -p $prefix/develop/lib + mv -f $prefix/lib/*.a $prefix/develop/lib/ + mv -f $prefix/lib/pkgconfig $prefix/develop/lib/ } - -LICENSE="MIT" -COPYRIGHT="2007 - 2013 J-M Bell" From 9ab2b7d78c0e99b043edce421a594e293c74d6be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 10 Dec 2013 03:49:10 +0100 Subject: [PATCH 11/41] fish: Update recipe Doesn't work yet though, needs patching --- app-shells/fish/fish-1.23.1_git.recipe | 51 +++++++++++++++++++++----- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/app-shells/fish/fish-1.23.1_git.recipe b/app-shells/fish/fish-1.23.1_git.recipe index d79dff6f6..fb9dcb511 100644 --- a/app-shells/fish/fish-1.23.1_git.recipe +++ b/app-shells/fish/fish-1.23.1_git.recipe @@ -1,32 +1,63 @@ +SUMMARY="The friendly interactive shell" DESCRIPTION="The friendly interactive shell" HOMEPAGE="http://ridiculousfish.com/shell/" SRC_URI="git://git.gitorious.org/fish-shell/fish-shell.git" #CHECKSUM_MD5="" REVISION="1" -STATUS_HAIKU="untested" -DEPEND="app-doc/doxygen >= 1.7.4 - sys-libs/ncurses >= 5.9" -MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building." +LICENSE="GNU GPL v2" +COPYRIGHT="2005-2009 Axel Liljencrantz" + +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=" + fish$secondaryArchSuffix = $portVersion + cmd:fish = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libncurses$secondaryArchSuffix + lib:libgettextlib_0.18.1$secondaryArchSuffix >= 0.18.1.1 + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libiconv$secondaryArchSuffix + devel:libncurses$secondaryArchSuffix >= 5.9 + devel:libgettextlib$secondaryArchSuffix + doxygen >= 1.6.3 + " +BUILD_PREREQUIRES=" + cmd:autoconf + cmd:libtoolize + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:which + " + + BUILD() { - cd fish-1.23.1-git libtoolize --force --copy --install autoconf - ./configure --without-xsel --prefix=`finddir B_COMMON_DIRECTORY` + ./configure --without-xsel --prefix=$prefix make } INSTALL() { - cd fish-1.23.1-git make install DESTDIR=${DESTDIR} } TEST() { - cd fish-1.23.1-git make test } -LICENSE="GNU GPL v2" -COPYRIGHT="2005-2009 Axel Liljencrantz" From 6d9234da80cb13e6bb934316a4d80442aa478e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 10 Dec 2013 03:50:03 +0100 Subject: [PATCH 12/41] ocp: Add missing ncurses require --- media-sound/ocp/ocp-0.1.21_git.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/media-sound/ocp/ocp-0.1.21_git.recipe b/media-sound/ocp/ocp-0.1.21_git.recipe index 7c3a79062..1ddf369e2 100644 --- a/media-sound/ocp/ocp-0.1.21_git.recipe +++ b/media-sound/ocp/ocp-0.1.21_git.recipe @@ -30,6 +30,7 @@ REQUIRES=" haiku$secondaryArchSuffix libsdl$secondaryArchSuffix lib:libiconv$secondaryArchSuffix + lib:libncurses$secondaryArchSuffix lib:libz$secondaryArchSuffix lib:libogg$secondaryArchSuffix >= 0.8.0 lib:libvorbis$secondaryArchSuffix >= 0.4.5 From 80907f6ad653c74fdc481d1beb59f58ec3463c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 10 Dec 2013 03:51:06 +0100 Subject: [PATCH 13/41] behappy: Add updated recipe --- haiku-apps/behappy/behappy-1.06e_git.recipe | 44 +++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 haiku-apps/behappy/behappy-1.06e_git.recipe diff --git a/haiku-apps/behappy/behappy-1.06e_git.recipe b/haiku-apps/behappy/behappy-1.06e_git.recipe new file mode 100644 index 000000000..f3ea35ab7 --- /dev/null +++ b/haiku-apps/behappy/behappy-1.06e_git.recipe @@ -0,0 +1,44 @@ +SUMMARY="HTML documentation viewer" +DESCRIPTION="HTML documentation viewer" +HOMEPAGE="http://www.becoz.org/beos-en/behappy" +SRC_URI="git+https://github.com/HaikuArchives/BeHappy.git" +REVISION="1" +#CHECKSUM_MD5="" +LICENSE="MIT" +COPYRIGHT="2006 Sylvain Tertois + 2008-2009 François Revol" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + behappy = $portVersion + app:behappy = $portVersion +" +REQUIRES=" + haiku >= $haikuVersion +# app:netsurf >= 2.6 +" +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion +" +BUILD_PREREQUIRES=" + makefile_engine + cmd:gcc + cmd:make + cmd:mkdepend + cmd:ld +" + + +BUILD() +{ + cd trunk + make BUILDHOME=/system/develop +} + +INSTALL() +{ + cd trunk + make install BUILDHOME=/system/develop +} + From c956fd89d3a044387ec4080f75847c9d29ad7a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 10 Dec 2013 03:51:55 +0100 Subject: [PATCH 14/41] dmidecode: Add updated recipe --- sys-apps/dmidecode/dmidecode-2.12.recipe | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sys-apps/dmidecode/dmidecode-2.12.recipe diff --git a/sys-apps/dmidecode/dmidecode-2.12.recipe b/sys-apps/dmidecode/dmidecode-2.12.recipe new file mode 100644 index 000000000..ee6e4cf35 --- /dev/null +++ b/sys-apps/dmidecode/dmidecode-2.12.recipe @@ -0,0 +1,39 @@ +SUMMARY="Decodes BIOS SMBIOS/DMI tables" +DESCRIPTION="Reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard" +HOMEPAGE="http://www.nongnu.org/dmidecode/" +SRC_URI="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.12.tar.gz" +CHECKSUM_MD5="02ee243e1ecac7fe0d04428aec85f63a" +REVISION="2" +LICENSE="GNU GPL v2" +COPYRIGHT="2000-2002 Alan Cox, 2002-2010 Jean Delvare" + +ARCHITECTURES="x86_gcc2 ?x86" + +PROVIDES=" + dmidecode = $portVersion + cmd:dmidecode = $portVersion + " +REQUIRES=" + haiku + " +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " +BUILD_PREREQUIRES=" + cmd:make + cmd:gcc + " + +BUILD() +{ + make +} + +INSTALL() +{ + make install prefix=$prefix \ + sbindir=$prefix/bin \ + mandir=$prefix/documentation/man \ + docdir=$prefix/documentation/dmidecode +} + From e3ca579531908c712aa7b9bb5df9dbbb49c7a568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 10 Dec 2013 03:53:30 +0100 Subject: [PATCH 15/41] fossil: Add updated recipe Not working yet, seems they introduced C99 somewhere. --- dev-vcs/fossil/fossil-1.27.recipe | 48 +++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 dev-vcs/fossil/fossil-1.27.recipe diff --git a/dev-vcs/fossil/fossil-1.27.recipe b/dev-vcs/fossil/fossil-1.27.recipe new file mode 100644 index 000000000..e5f54064e --- /dev/null +++ b/dev-vcs/fossil/fossil-1.27.recipe @@ -0,0 +1,48 @@ +SUMMARY="Simple, high-reliability, distributed software configuration management" +DESCRIPTION="Simple, high-reliability, distributed software configuration management" +HOMEPAGE="http://www.fossil-scm.org/" +SRC_URI="http://www.fossil-scm.org/download/fossil-src-20130911114349.tar.gz" +CHECKSUM_MD5="fa4ea3eb25d2a8cfb0edbd0c30c268b9" +REVISION="1" +LICENSE="BSD (2-clause)" +COPYRIGHT="2007 D. Richard Hipp" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + fossil = $portVersion + cms:fossil = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + lib:libz + openssl >= 1.0.0 + " +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + devel:libz >= 1.2.3 + openssl_devel >= 1.0.0 + " +# tests require cmd:tclsh +BUILD_PREREQUIRES=" + cmd:make + cmd:gcc + " + +SOURCE_DIR="fossil-src-20130911114349" + +BUILD() +{ + ./configure --prefix=$prefix + make +} + +INSTALL() +{ + make install +} + +TEST() +{ + make test +} From eea796df3c3b478c26293ed39f6a11111f3a8873 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 10 Dec 2013 22:59:31 +0100 Subject: [PATCH 16/41] pe: Update to hg614 * Fixes build: - pcre detection - B_COMMON_*_DIRECTORY constants * Fixes find function dialog (functions were missing). * Patches pe-2.4.3_hg611.patch and pe-2.4.3_hg611.patch2 are no longer needed for this version. Patch pe-2.4.3_hg611.patch3 has not been upstreamed as it misses a copyright header in the added file. * Remove pcre version requirement. AFAICT ">= 1" is not necessary and the previous ">= 0.0.1" was superfluous, since that's the earliest packaged version we have anyway. --- haiku-apps/pe/pe-2.4.3_hg614.recipe | 72 +++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 haiku-apps/pe/pe-2.4.3_hg614.recipe diff --git a/haiku-apps/pe/pe-2.4.3_hg614.recipe b/haiku-apps/pe/pe-2.4.3_hg614.recipe new file mode 100644 index 000000000..bf1a6eb7a --- /dev/null +++ b/haiku-apps/pe/pe-2.4.3_hg614.recipe @@ -0,0 +1,72 @@ +SUMMARY="A programmer's editor" +DESCRIPTION="A programmer's editor" +HOMEPAGE="http://pe-editor.berlios.de/" +LICENSE=" + BSD (4-clause) + MIT + " + +COPYRIGHT=" + 1996-2002 Maarteen Hekkelman + 2003-2013 Team Pe + " + +SRC_URI="hg+http://hg.berlios.de/repos/pe-editor#614" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + pe = $portVersion + cmd:Pe = $portVersion compat >= 2 + cmd:lpe = $portVersion compat >= 2 + " + +REQUIRES=" + haiku + lib:libpcre + lib:libpcreposix + " + +BUILD_REQUIRES=" + devel:libpcre + devel:libpcreposix + " + +BUILD_PREREQUIRES=" + haiku_devel + cmd:bison + cmd:flex + cmd:gcc + cmd:jam + cmd:ld + " + +USER_SETTINGS_FILES=" + settings/pe directory + " + +SOURCE_DIR="$portVersionedName" + +PATCHES=" + pe-2.4.3_hg611.patch3 + " + +BUILD() +{ + jam -q + # multi-job builds don't work reliably +} + +INSTALL() +{ + peDir=$appsDir/Pe + + mkdir -p $appsDir + cp -a generated/distro $peDir + cp -a doc $peDir/Documentation + + mkdir $binDir + ln -sfn $peDir/lpe $binDir + + addAppDeskbarSymlink $peDir/Pe +} From 4acaf392337d0263789b5b7674ee58c648bee507 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Tue, 10 Dec 2013 22:49:27 +0000 Subject: [PATCH 17/41] Update burnitnow to latest build --- haiku-apps/burnitnow/burnitnow-trunk.recipe | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/haiku-apps/burnitnow/burnitnow-trunk.recipe b/haiku-apps/burnitnow/burnitnow-trunk.recipe index 55cebb202..e772c93fa 100644 --- a/haiku-apps/burnitnow/burnitnow-trunk.recipe +++ b/haiku-apps/burnitnow/burnitnow-trunk.recipe @@ -1,15 +1,15 @@ SUMMARY="A utility for burning CD" DESCRIPTION="BurnItNow is a CD burning utility application for Haiku" HOMEPAGE="https://github.com/HaikuArchives/BurnItNow" -SRC_URI="git+https://github.com/HaikuArchives/BurnItNow.git#3e7e69d048" +SRC_URI="git+https://github.com/HaikuArchives/BurnItNow.git#a790db9a87" REVISION="1" COPYRIGHT=" 2010-2013 BurnItNow Team " LICENSE="MIT" -ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" -SECONDARY_ARCHITECTURES="?x86" +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" PROVIDES=" burnitnow = $portVersion @@ -31,7 +31,7 @@ BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix " -SOURCE_DIR="$portName/burnitnow2" +#SOURCE_DIR="$portName/burnitnow2" BUILD() { From aa3cc9a55c8b4b97ca7142add7ab21f1dd3a595d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 01:39:55 +0100 Subject: [PATCH 18/41] Mark as untested (not compiling yet) --- app-shells/fish/fish-1.23.1_git.recipe | 4 ++-- dev-vcs/fossil/fossil-1.27.recipe | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app-shells/fish/fish-1.23.1_git.recipe b/app-shells/fish/fish-1.23.1_git.recipe index fb9dcb511..9a9a2b1c7 100644 --- a/app-shells/fish/fish-1.23.1_git.recipe +++ b/app-shells/fish/fish-1.23.1_git.recipe @@ -7,7 +7,7 @@ REVISION="1" LICENSE="GNU GPL v2" COPYRIGHT="2005-2009 Axel Liljencrantz" -ARCHITECTURES="x86 x86_64" +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. @@ -15,7 +15,7 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then else ARCHITECTURES="$ARCHITECTURES !x86_gcc2" fi -SECONDARY_ARCHITECTURES="x86" +SECONDARY_ARCHITECTURES="?x86" PROVIDES=" fish$secondaryArchSuffix = $portVersion diff --git a/dev-vcs/fossil/fossil-1.27.recipe b/dev-vcs/fossil/fossil-1.27.recipe index e5f54064e..a1f1184d1 100644 --- a/dev-vcs/fossil/fossil-1.27.recipe +++ b/dev-vcs/fossil/fossil-1.27.recipe @@ -7,7 +7,7 @@ REVISION="1" LICENSE="BSD (2-clause)" COPYRIGHT="2007 D. Richard Hipp" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64" PROVIDES=" fossil = $portVersion From 8b4d4f88dd9115a1322b397a133412ff3782b86a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 01:40:58 +0100 Subject: [PATCH 19/41] ocp: Untested on x86_64 --- media-sound/ocp/ocp-0.1.21_git.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media-sound/ocp/ocp-0.1.21_git.recipe b/media-sound/ocp/ocp-0.1.21_git.recipe index 1ddf369e2..f613f289b 100644 --- a/media-sound/ocp/ocp-0.1.21_git.recipe +++ b/media-sound/ocp/ocp-0.1.21_git.recipe @@ -12,7 +12,7 @@ COPYRIGHT="1994-2012 Niklas Beisert, Stian Skjelstad and others" ## media-libs/flac >= 1.2.1" ## ncurses zlib ... cf. ocp.spec -ARCHITECTURES="x86 x86_64" +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. @@ -51,6 +51,7 @@ BUILD_PREREQUIRES=" " #XXX: this one pulls gcc2 SDL package in... which we don't need # cmd:sdl_config +# cmd:sdl_config$secondaryArchSuffix SOURCE_DIR="code" From d4c891368f4ffb8316251d54dbc64ad8ea921022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 06:50:19 +0100 Subject: [PATCH 20/41] libsdl: Account for secondary arch on provided cmd:sdl_config --- media-libs/libsdl/libsdl-1.2.15.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/libsdl/libsdl-1.2.15.recipe b/media-libs/libsdl/libsdl-1.2.15.recipe index 6e04a168a..dc4a603f6 100644 --- a/media-libs/libsdl/libsdl-1.2.15.recipe +++ b/media-libs/libsdl/libsdl-1.2.15.recipe @@ -148,7 +148,7 @@ TEST() PROVIDES_devel=" libsdl${secondaryArchSuffix}_devel = 1.2.15 compat >= 1.2 - cmd:sdl_config = $portVersion compat >= 1.2 + cmd:sdl_config$secondaryArchSuffix = $portVersion compat >= 1.2 devel:libSDL$secondaryArchSuffix = 1.2_0.11.4 compat >= 1.2_0 devel:libSDLmain$secondaryArchSuffix = 1.2_0.11.4 compat >= 1.2_0 devel:libSDL_1.2$secondaryArchSuffix = 0.11.4 compat >= 0 From 9e2e19ae35a22c8e10af3b29469a23cf376fddfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 07:33:37 +0100 Subject: [PATCH 21/41] ocp: Add sdl-config to prerequires correctly --- media-sound/ocp/ocp-0.1.21_git.recipe | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/media-sound/ocp/ocp-0.1.21_git.recipe b/media-sound/ocp/ocp-0.1.21_git.recipe index f613f289b..e1180435b 100644 --- a/media-sound/ocp/ocp-0.1.21_git.recipe +++ b/media-sound/ocp/ocp-0.1.21_git.recipe @@ -48,11 +48,8 @@ BUILD_PREREQUIRES=" cmd:autoconf cmd:make cmd:gcc$secondaryArchSuffix + cmd:sdl_config$secondaryArchSuffix " -#XXX: this one pulls gcc2 SDL package in... which we don't need -# cmd:sdl_config -# cmd:sdl_config$secondaryArchSuffix - SOURCE_DIR="code" From 647eb3b8f86f012e80f71d408810ecbcd8126ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 07:34:21 +0100 Subject: [PATCH 22/41] ocp: Mark untested for now as it fails to compile Some newly added asm code seems to have issue with PIC. --- media-sound/ocp/ocp-0.1.21_git.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/ocp/ocp-0.1.21_git.recipe b/media-sound/ocp/ocp-0.1.21_git.recipe index e1180435b..09556c7fa 100644 --- a/media-sound/ocp/ocp-0.1.21_git.recipe +++ b/media-sound/ocp/ocp-0.1.21_git.recipe @@ -12,7 +12,7 @@ COPYRIGHT="1994-2012 Niklas Beisert, Stian Skjelstad and others" ## media-libs/flac >= 1.2.1" ## ncurses zlib ... cf. ocp.spec -ARCHITECTURES="x86 ?x86_64" +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. @@ -20,7 +20,7 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then else ARCHITECTURES="$ARCHITECTURES !x86_gcc2" fi -SECONDARY_ARCHITECTURES="x86" +SECONDARY_ARCHITECTURES="?x86" PROVIDES=" ocp$secondaryArchSuffix = $portVersion From 451d3654ee56b0e8c98a17d75387dad5552ff888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 09:39:31 +0100 Subject: [PATCH 23/41] pkg-config: Allow secondary arch builds Since it hardcodes the search paths inside the binary, either we must make a secondary arch build of it for _x86 ports, either we could export a patched PKG_CONFIG_LIBDIR from haikuporter 's environment... but this seems to work anyway. --- dev-util/pkgconfig/pkgconfig-0.27.1.recipe | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/dev-util/pkgconfig/pkgconfig-0.27.1.recipe b/dev-util/pkgconfig/pkgconfig-0.27.1.recipe index 8f541f9a3..852955849 100644 --- a/dev-util/pkgconfig/pkgconfig-0.27.1.recipe +++ b/dev-util/pkgconfig/pkgconfig-0.27.1.recipe @@ -7,28 +7,29 @@ SRC_URI="http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.1.tar.gz" CHECKSUM_MD5="5392b4e3372879c5bf856173b418d6a2" REVISION="2" ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" PATCHES="pkgconfig-0.27.1.patchset" PROVIDES=" - pkgconfig = $portVersion compat >= 0.27 - cmd:pkg_config = $portVersion compat >= 0.27 + pkgconfig$secondaryArchSuffix = $portVersion compat >= 0.27 + cmd:pkg_config$secondaryArchSuffix = $portVersion compat >= 0.27 " REQUIRES=" - haiku >= $haikuVersion - lib:libiconv + haiku$secondaryArchSuffix >= $haikuVersion + lib:libiconv$secondaryArchSuffix " BUILD_REQUIRES=" - devel:libiconv + devel:libiconv$secondaryArchSuffix " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion + haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:aclocal cmd:autoconf cmd:automake cmd:autoreconf - cmd:gcc - cmd:ld + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix cmd:libtoolize cmd:make " @@ -46,7 +47,7 @@ BUILD() autoconf automake --add-missing - pcPathSubdir="develop/lib/pkgconfig" + pcPathSubdir="develop/lib${secondaryArchSuffix/_//}/pkgconfig" pcPath="/boot/home/config/non-packaged/$pcPathSubdir" pcPath="$pcPath:/boot/home/config/$pcPathSubdir" pcPath="$pcPath:/boot/system/$pcPathSubdir" From ef7b9215e79883769b17f359ecf17d422c991681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 09:43:49 +0100 Subject: [PATCH 24/41] ocp: prerequire pkg_config* OCP actually uses pkg-config to detect SDL, so we require the secondary arch version of it to make sure it searches the correct pc files. Tested on x86. --- media-sound/ocp/ocp-0.1.21_git.recipe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/media-sound/ocp/ocp-0.1.21_git.recipe b/media-sound/ocp/ocp-0.1.21_git.recipe index 09556c7fa..d6d20892a 100644 --- a/media-sound/ocp/ocp-0.1.21_git.recipe +++ b/media-sound/ocp/ocp-0.1.21_git.recipe @@ -12,7 +12,7 @@ COPYRIGHT="1994-2012 Niklas Beisert, Stian Skjelstad and others" ## media-libs/flac >= 1.2.1" ## ncurses zlib ... cf. ocp.spec -ARCHITECTURES="?x86 ?x86_64" +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. @@ -20,7 +20,7 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then else ARCHITECTURES="$ARCHITECTURES !x86_gcc2" fi -SECONDARY_ARCHITECTURES="?x86" +SECONDARY_ARCHITECTURES="x86" PROVIDES=" ocp$secondaryArchSuffix = $portVersion @@ -48,6 +48,7 @@ BUILD_PREREQUIRES=" cmd:autoconf cmd:make cmd:gcc$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix cmd:sdl_config$secondaryArchSuffix " @@ -58,7 +59,6 @@ SOURCE_DIR="code" BUILD() { autoconf - export CFLAGS="$(sdl-config --cflags)" ./configure --prefix=$prefix make } From eb5114d03ee6c3697feb040a2d93d155e4b32d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 10:03:24 +0100 Subject: [PATCH 25/41] ocp: use runConfigure Although it still installs things to share/ --- media-sound/ocp/ocp-0.1.21_git.recipe | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/media-sound/ocp/ocp-0.1.21_git.recipe b/media-sound/ocp/ocp-0.1.21_git.recipe index d6d20892a..7dd91f191 100644 --- a/media-sound/ocp/ocp-0.1.21_git.recipe +++ b/media-sound/ocp/ocp-0.1.21_git.recipe @@ -54,12 +54,10 @@ BUILD_PREREQUIRES=" SOURCE_DIR="code" -# TODO: fix configure.ac to use sdl-config -# XXX: dwmixfa_8087.c:39:2: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' BUILD() { autoconf - ./configure --prefix=$prefix + runConfigure ./configure make } From ada79a00a765eeb5548afe9a805f34fe8714488e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 12:16:30 +0100 Subject: [PATCH 26/41] util-macros: Fix recipe It seems it wants to install the .pc file into data/... Manually fixed for now. --- .../util_macros/util_macros-1.17.0_git.recipe | 36 +++++++++++++++---- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/x11-misc/util_macros/util_macros-1.17.0_git.recipe b/x11-misc/util_macros/util_macros-1.17.0_git.recipe index 8f7f416d5..22926812b 100644 --- a/x11-misc/util_macros/util_macros-1.17.0_git.recipe +++ b/x11-misc/util_macros/util_macros-1.17.0_git.recipe @@ -1,3 +1,4 @@ +SUMMARY="xorg util-macros" DESCRIPTION="xorg util-macros" HOMEPAGE="http://cgit.freedesktop.org/xorg/util/macros/" COPYRIGHT="2005 Red Hat, Inc. @@ -7,19 +8,42 @@ LICENSE="MIT" SRC_URI="git://anongit.freedesktop.org/xorg/util/macros" #CHECKSUM_MD5="" REVISION="1" -STATUS_HAIKU="untested" -DEPEND="" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + util_macros$secondaryArchSuffix = $portVersion + devel:util_macros$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:autoconf + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + " + + BUILD() { - cd util-macros-1.17.0-git ./autogen.sh -V - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --datadir=`finddir B_COMMON_LIB_DIRECTORY` + runConfigure ./configure make } INSTALL() { - cd util-macros-1.17.0-git make install + #fixPkgconfig + mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//} + mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/ } From a5a9b7bbc2e6db6c7d95547e7fdda7e82ad0dc74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 12:31:19 +0100 Subject: [PATCH 27/41] xproto: Fix recipe --- x11-proto/xproto/xproto-7.0.23_git.recipe | 38 +++++++++++++++++++---- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/x11-proto/xproto/xproto-7.0.23_git.recipe b/x11-proto/xproto/xproto-7.0.23_git.recipe index 1d808c8c7..f3b239bd7 100644 --- a/x11-proto/xproto/xproto-7.0.23_git.recipe +++ b/x11-proto/xproto/xproto-7.0.23_git.recipe @@ -1,3 +1,4 @@ +SUMMARY="xproto" DESCRIPTION="xproto" HOMEPAGE="http://cgit.freedesktop.org/xorg/proto/xproto/" COPYRIGHT="1991, Oracle and/or its affiliates. All rights reserved. @@ -11,19 +12,44 @@ LICENSE="MIT (no promotion)" SRC_URI="git://anongit.freedesktop.org/xorg/proto/xproto" #CHECKSUM_MD5="" REVISION="1" -STATUS_HAIKU="untested" -DEPEND="" + +PATCHES="xproto-7.0.23_git.patch" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + xproto$secondaryArchSuffix = $portVersion + devel:xproto$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:util_macros$secondaryArchSuffix + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " + BUILD() { - cd xproto-7.0.23-git ./autogen.sh -V - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --datadir=`finddir B_COMMON_LIB_DIRECTORY` + runConfigure ./configure make } INSTALL() { - cd xproto-7.0.23-git make install + fixPkgconfig } From 64d6873caaa1af2565403327ece2cb7b98597c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 12:33:37 +0100 Subject: [PATCH 28/41] libx11: rename to lowercase --- .../{libX11/libX11-1.3.3.recipe => libx11/libx11-1.3.3.recipe} | 0 .../libX11-1.3.3.patch => libx11/patches/libx11-1.3.3.patch} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename x11-libs/{libX11/libX11-1.3.3.recipe => libx11/libx11-1.3.3.recipe} (100%) rename x11-libs/{libX11/patches/libX11-1.3.3.patch => libx11/patches/libx11-1.3.3.patch} (100%) diff --git a/x11-libs/libX11/libX11-1.3.3.recipe b/x11-libs/libx11/libx11-1.3.3.recipe similarity index 100% rename from x11-libs/libX11/libX11-1.3.3.recipe rename to x11-libs/libx11/libx11-1.3.3.recipe diff --git a/x11-libs/libX11/patches/libX11-1.3.3.patch b/x11-libs/libx11/patches/libx11-1.3.3.patch similarity index 100% rename from x11-libs/libX11/patches/libX11-1.3.3.patch rename to x11-libs/libx11/patches/libx11-1.3.3.patch From cb94f04d85cc0dee16ed70b83541185c0599a8f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 14:02:40 +0100 Subject: [PATCH 29/41] xextproto: Fix recipe --- x11-proto/xextproto/xextproto-7.1.1.recipe | 44 +++++++++++++++++++--- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/x11-proto/xextproto/xextproto-7.1.1.recipe b/x11-proto/xextproto/xextproto-7.1.1.recipe index 224d93786..7fab39b0f 100644 --- a/x11-proto/xextproto/xextproto-7.1.1.recipe +++ b/x11-proto/xextproto/xextproto-7.1.1.recipe @@ -1,21 +1,55 @@ +SUMMARY="xextproto" DESCRIPTION="xextproto" HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/" SRC_URI="http://xorg.freedesktop.org/releases/individual/proto/xextproto-7.1.1.tar.gz" CHECKSUM_MD5="6c55283718dbeb826bcf899b9e89faba" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="x11-misc/util-macros >= 1.7.0" +COPYRIGHT="1989, 1998 The Open Group + 1997 by Silicon Graphics Computer Systems, Inc. + 1992 Network Computing Devices + 1994, 1995 Hewlett-Packard Company + 1996 Digital Equipment Corporation, Maynard, Massachusetts. + 1988, 1989, 1990, 1994 Network Computing Devices, Inc. + 1991,1993 by Digital Equipment Corporation, Maynard, Massachusetts, and Olivetti Research Limited, Cambridge, England. + 1986, 1987, 1988 by Hewlett-Packard Corporation + 2007-2008 Peter Hutterer" +LICENSE="MIT (no promotion)" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + xextproto$secondaryArchSuffix = $portVersion + devel:xextproto$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:util_macros$secondaryArchSuffix >= 1.7.0 + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " BUILD() { - cd xextproto-7.1.1 libtoolize --force --copy --install autoreconf -i - ./configure --prefix=`finddir B_COMMON_DIRECTORY` + runConfigure ./configure } INSTALL() { - cd xextproto-7.1.1 make install + fixPkgconfig } From c5b4a238d82bfbddf494851b0ffe8372c73639de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 14:10:20 +0100 Subject: [PATCH 30/41] xtrans: Fix recipe --- x11-libs/xtrans/xtrans-1.2.5.recipe | 46 ++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/x11-libs/xtrans/xtrans-1.2.5.recipe b/x11-libs/xtrans/xtrans-1.2.5.recipe index fb109065a..24967005b 100644 --- a/x11-libs/xtrans/xtrans-1.2.5.recipe +++ b/x11-libs/xtrans/xtrans-1.2.5.recipe @@ -1,23 +1,53 @@ +SUMMARY="xtrans" DESCRIPTION="xtrans" HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/" SRC_URI="http://xorg.freedesktop.org/releases/individual/lib/xtrans-1.2.5.tar.gz" CHECKSUM_MD5="b2f47d49faf1f24e8294b624b21b9b93" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="pkgconfig >= 0.23 - x11-misc/util-macros >= 1.7.0" - +COPYRIGHT="1993, 1994, 1998 The Open Group + 1993, 1994 NCR Corporation - Dayton, Ohio, USA + 2002, 2005 Sun Microsystems, Inc. All rights reserved. + Copyright 1996 by Sebastien Marineau and Holger Veit + 2003 Keith Packard, Noah Levitt" +LICENSE="MIT (no promotion)" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + xtrans$secondaryArchSuffix = $portVersion + devel:xtrans$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:util_macros$secondaryArchSuffix + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " + + BUILD() { - cd xtrans-1.2.5 libtoolize --force --copy --install autoreconf -i - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --datadir=`finddir B_COMMON_DATA_DIRECTORY` + runConfigure ./configure } INSTALL() { - cd xtrans-1.2.5 make install + mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//} + mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/ } From 9d8c3bf4dc8f7b4108b334f9dc76e342afe6e879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 14:15:57 +0100 Subject: [PATCH 31/41] inputproto: Fix recipe --- x11-proto/inputproto/inputproto-2.0.recipe | 39 +++++++++++++++++++--- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/x11-proto/inputproto/inputproto-2.0.recipe b/x11-proto/inputproto/inputproto-2.0.recipe index 6d461f68d..3835d78cb 100644 --- a/x11-proto/inputproto/inputproto-2.0.recipe +++ b/x11-proto/inputproto/inputproto-2.0.recipe @@ -1,21 +1,50 @@ +SUMMARY="inputproto" DESCRIPTION="inputproto" HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/" SRC_URI="http://xorg.freedesktop.org/releases/individual/proto/inputproto-2.0.tar.gz" CHECKSUM_MD5="13d91739cf70a781f1db24d8d3677574" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="x11-misc/util-macros >= 1.7.0" +COPYRIGHT="1989, 1998 The Open Group + 1989 by Hewlett-Packard Company, Palo Alto, California. + " +LICENSE="MIT (no promotion)" + + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + inputproto$secondaryArchSuffix = $portVersion + devel:inputproto$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:util_macros$secondaryArchSuffix + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " BUILD() { - cd inputproto-2.0 libtoolize --force --copy --install autoreconf -i - ./configure --prefix=`finddir B_COMMON_DIRECTORY` + runConfigure ./configure } INSTALL() { - cd inputproto-2.0 make install + fixPkgconfig } From 70300aeb7e14e5391161f53c843265ea1595553a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 14:20:48 +0100 Subject: [PATCH 32/41] kbproto: Fix recipe --- x11-proto/kbproto/kbproto-1.0.4.recipe | 36 ++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/x11-proto/kbproto/kbproto-1.0.4.recipe b/x11-proto/kbproto/kbproto-1.0.4.recipe index 970e88e87..4632636d4 100644 --- a/x11-proto/kbproto/kbproto-1.0.4.recipe +++ b/x11-proto/kbproto/kbproto-1.0.4.recipe @@ -1,21 +1,47 @@ +SUMMARY="kbproto" DESCRIPTION="kbproto" HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/" SRC_URI="http://xorg.freedesktop.org/releases/individual/proto/kbproto-1.0.4.tar.gz" CHECKSUM_MD5="4deef518a03bc94a7a25902bb7c98dd6" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="x11-misc/util-macros >= 1.7.0" +COPYRIGHT="1993 by Silicon Graphics Computer Systems, Inc." +LICENSE="MIT" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + kbproto$secondaryArchSuffix = $portVersion + devel:kbproto$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:util_macros$secondaryArchSuffix + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " BUILD() { - cd kbproto-1.0.4 libtoolize --force --copy --install autoreconf -i - ./configure --prefix=`finddir B_COMMON_DIRECTORY` + runConfigure ./configure } INSTALL() { - cd kbproto-1.0.4 make install + fixPkgconfig } From 052e8b72571357c9726bb3cf2555f3a569b197bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 14:34:48 +0100 Subject: [PATCH 33/41] xcb_proto: Update recipe Somehow haikuporter doesn't want to unpack the tgz on this one... maybe due to the dash in the name!? --- x11-proto/xcb_proto/xcb_proto-1.6.recipe | 33 ++++++++++++++++++++---- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/x11-proto/xcb_proto/xcb_proto-1.6.recipe b/x11-proto/xcb_proto/xcb_proto-1.6.recipe index 6573458f7..ef75f9cef 100644 --- a/x11-proto/xcb_proto/xcb_proto-1.6.recipe +++ b/x11-proto/xcb_proto/xcb_proto-1.6.recipe @@ -1,22 +1,45 @@ +SUMMARY="xcb-proto" DESCRIPTION="xcb-proto" HOMEPAGE="http://xcb.freedesktop.org/" SRC_URI="http://xcb.freedesktop.org/dist/xcb-proto-1.6.tar.gz" CHECKSUM_MD5="8d29695e8faf5fcdce568c66eaeaa5ee" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="x11-misc/util-macros >= 1.7.0" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + xcb_proto$secondaryArchSuffix = $portVersion + devel:xcb_proto$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:util_macros$secondaryArchSuffix + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " BUILD() { - cd xcb-proto-1.6 libtoolize --force --copy --install autoreconf -i - ./configure --prefix=`finddir B_COMMON_DIRECTORY` + runConfigure ./configure make } INSTALL() { - cd xcb-proto-1.6 make install } From 0d48fda7ba9378735138733f29db868c5cb29f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 14:46:37 +0100 Subject: [PATCH 34/41] libxau: Rename to lowercase --- .../{libXau/libXau-1.0.5.recipe => libxau/libxau-1.0.5.recipe} | 0 .../libXau-1.0.5.patch => libxau/patches/libxau-1.0.5.patch} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename x11-libs/{libXau/libXau-1.0.5.recipe => libxau/libxau-1.0.5.recipe} (100%) rename x11-libs/{libXau/patches/libXau-1.0.5.patch => libxau/patches/libxau-1.0.5.patch} (100%) diff --git a/x11-libs/libXau/libXau-1.0.5.recipe b/x11-libs/libxau/libxau-1.0.5.recipe similarity index 100% rename from x11-libs/libXau/libXau-1.0.5.recipe rename to x11-libs/libxau/libxau-1.0.5.recipe diff --git a/x11-libs/libXau/patches/libXau-1.0.5.patch b/x11-libs/libxau/patches/libxau-1.0.5.patch similarity index 100% rename from x11-libs/libXau/patches/libXau-1.0.5.patch rename to x11-libs/libxau/patches/libxau-1.0.5.patch From c711112a79b01cbd5c1f7ac84c9a23c31b751dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 15:36:00 +0100 Subject: [PATCH 35/41] xcb_proto: Better add SOURCE_DIR for this one... --- x11-proto/xcb_proto/xcb_proto-1.6.recipe | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x11-proto/xcb_proto/xcb_proto-1.6.recipe b/x11-proto/xcb_proto/xcb_proto-1.6.recipe index ef75f9cef..190bd056d 100644 --- a/x11-proto/xcb_proto/xcb_proto-1.6.recipe +++ b/x11-proto/xcb_proto/xcb_proto-1.6.recipe @@ -4,6 +4,8 @@ HOMEPAGE="http://xcb.freedesktop.org/" SRC_URI="http://xcb.freedesktop.org/dist/xcb-proto-1.6.tar.gz" CHECKSUM_MD5="8d29695e8faf5fcdce568c66eaeaa5ee" REVISION="1" +COPYRIGHT="2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett." +LICENSE="MIT (no promotion)" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" @@ -29,8 +31,11 @@ BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix + cmd:python$secondaryArchSuffix " +SOURCE_DIR="xcb-proto-$portVersion" + BUILD() { libtoolize --force --copy --install From bd1889d9e48d6f405096d31613c70c555f57cdfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 11 Dec 2013 15:41:47 +0100 Subject: [PATCH 36/41] libpthread_stubs: 0.3.2 doesn't exist. Update 0.3 recipe --- .../libpthread_stubs-0.3.2.recipe | 21 ----------- .../libpthread_stubs-0.3.recipe | 36 ++++++++++++++++--- 2 files changed, 31 insertions(+), 26 deletions(-) delete mode 100644 dev-libs/libpthread_stubs/libpthread_stubs-0.3.2.recipe diff --git a/dev-libs/libpthread_stubs/libpthread_stubs-0.3.2.recipe b/dev-libs/libpthread_stubs/libpthread_stubs-0.3.2.recipe deleted file mode 100644 index 7d65949e3..000000000 --- a/dev-libs/libpthread_stubs/libpthread_stubs-0.3.2.recipe +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION="libpthread-stubs" -HOMEPAGE="http://xcb.freedesktop.org/" -SRC_URI="http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz" -CHECKSUM_MD5="a09d928c4af54fe5436002345ef71138" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="x11-misc/util-macros >= 1.7.0" -BUILD() -{ - cd libpthread-stubs-0.3 - libtoolize --force --copy --install - autoreconf -i - ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make -} - -INSTALL() -{ - cd libpthread-stubs-0.3 - make install -} diff --git a/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe b/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe index 7d65949e3..97125d651 100644 --- a/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe +++ b/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe @@ -1,21 +1,47 @@ +SUMMARY="libpthread-stubs" DESCRIPTION="libpthread-stubs" HOMEPAGE="http://xcb.freedesktop.org/" SRC_URI="http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz" CHECKSUM_MD5="a09d928c4af54fe5436002345ef71138" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="x11-misc/util-macros >= 1.7.0" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + libpthread_stubs$secondaryArchSuffix = $portVersion + devel:libpthread_stubs$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:util_macros$secondaryArchSuffix + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " + +SOURCE_DIR="libpthread-stubs-$portVersion" + BUILD() { - cd libpthread-stubs-0.3 libtoolize --force --copy --install autoreconf -i - ./configure --prefix=`finddir B_COMMON_DIRECTORY` + runConfigure ./configure make } INSTALL() { - cd libpthread-stubs-0.3 make install } From 4939e7dccd720abf20a63871a7fbb3dae0042bb0 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Wed, 11 Dec 2013 13:00:03 -0800 Subject: [PATCH 37/41] Add missing COPYRIGHT and LICENSE entries for libpthread_stubs --- dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe b/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe index 97125d651..5df1e235d 100644 --- a/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe +++ b/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe @@ -5,6 +5,9 @@ SRC_URI="http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz" CHECKSUM_MD5="a09d928c4af54fe5436002345ef71138" REVISION="1" +COPYRIGHT="2006 Diego Pettenò" +LICENSE="MIT" + ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" From 1534d8b3896603f1c73ba325756f140f21cd6ec2 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Wed, 11 Dec 2013 20:36:01 -0600 Subject: [PATCH 38/41] bchunk: gcc2 tested working, x86_64 likely working --- app-cdr/bchunk/bchunk-1.2.0.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-cdr/bchunk/bchunk-1.2.0.recipe b/app-cdr/bchunk/bchunk-1.2.0.recipe index 0972e100f..a3765ed2f 100644 --- a/app-cdr/bchunk/bchunk-1.2.0.recipe +++ b/app-cdr/bchunk/bchunk-1.2.0.recipe @@ -10,9 +10,9 @@ LICENSE="GNU GPL v2" COPYRIGHT="1998-2004 Heikki Hannikainen" HOMEPAGE="http://he.fi/bchunk/" SRC_URI="http://he.fi/bchunk/bchunk-1.2.0.tar.gz" -REVISION="1" +REVISION="2" CHECKSUM_MD5="6a613da3f34f9a303f202d2e9731d231" -ARCHITECTURES="x86 ?x86_gcc2 ?x86_64" +ARCHITECTURES="x86 x86_gcc2 x86_64" PROVIDES=" bchunk = $portVersion From 57b6baedb4a450e415950174ef4b27d0ba9db4e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 12 Dec 2013 15:30:34 +0100 Subject: [PATCH 39/41] links: Update recipe However it doesn't build yet. It seems it doesn't like our libpng. --- www-client/links/links-2.3pre2.recipe | 58 ++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 11 deletions(-) diff --git a/www-client/links/links-2.3pre2.recipe b/www-client/links/links-2.3pre2.recipe index c2882b221..48546dcab 100644 --- a/www-client/links/links-2.3pre2.recipe +++ b/www-client/links/links-2.3pre2.recipe @@ -1,16 +1,56 @@ +SUMMARY="links web browser" DESCRIPTION="links web browser" -HOMEPAGE="http://links.twibright.com" +HOMEPAGE="http://links.twibright.com/" SRC_URI="http://links.twibright.com/download/links-2.3pre2.tar.gz" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" CHECKSUM_MD5="bb2a4e058c88b8ec0c9f6c0e1640555c" +LICENSE="GNU GPL v2" +COPYRIGHT="1999 - 2011 Mikulas Patocka + 2000 - 2011 Petr Kulhavy, Karel Kulhavy, Martin Pergel" + +ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86" + +PROVIDES=" + links$secondaryArchSuffix = $portVersion + cmd:links$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libpng$secondaryArchSuffix + lib:libjpeg$secondaryArchSuffix +# lib:libtiff$secondaryArchSuffix + lib:libz$secondaryArchSuffix + openssl >= 1.0.0 + " + +BUILD_REQUIRES=" +# devel:libGL$secondaryArchSuffix + devel:libglu$secondaryArchSuffix + devel:libpng$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix +# devel:libtiff$secondaryArchSuffix + devel:libz$secondaryArchSuffix >= 1.2.8 + openssl_devel >= 1.0.0 + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " + +PATCHES="links-2.3pre2.patch" + BUILD() { - cd links-2.3pre2 autoconf - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \ + runConfigure ./configure \ --without-x \ --enable-utf-8 \ --enable-graphics @@ -22,10 +62,6 @@ BUILD() INSTALL() { - cd links-2.3pre2 - make install DESTDIR=${DESTDIR} + make install } -LICENSE="GNU GPL v2" -COPYRIGHT="1999 - 2011 Mikulas Patocka - 2000 - 2011 Petr Kulhavy, Karel Kulhavy, Martin Pergel" From 84eadd114db3d4b3d6a35731847218710f3d2d0a Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Thu, 12 Dec 2013 19:08:50 +0000 Subject: [PATCH 40/41] Add recipe for BeScreenCapture 1.9.3 --- .../bescreencapture-1.9.3.recipe | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 haiku-apps/bescreencapture/bescreencapture-1.9.3.recipe diff --git a/haiku-apps/bescreencapture/bescreencapture-1.9.3.recipe b/haiku-apps/bescreencapture/bescreencapture-1.9.3.recipe new file mode 100644 index 000000000..b75375062 --- /dev/null +++ b/haiku-apps/bescreencapture/bescreencapture-1.9.3.recipe @@ -0,0 +1,51 @@ +SUMMARY="A screen recorder utility" +DESCRIPTION=" + BeScreenCapture, created by Stefano Ceccherini, is a screen + recorder utility for Haiku. It allows you to record what happens on your + screen, then save it to any media format that Haiku supports. + + BeScreenCapture can record either the entire screen, or just a + section you select. + " +HOMEPAGE="https://github.com/jackburton79/bescreencapture" +SRC_URI="https://github.com/jackburton79/bescreencapture/archive/v1.9.3.tar.gz" +LICENSE=" + BSD (3-clause) + MIT + " +COPYRIGHT="2013 Stefano Ceccherini" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" + +PROVIDES=" + bescreencapture = $portVersion + app:bescreencapture = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" + makefile_engine + cmd:make + cmd:gcc + cmd:mkdepend + " + +BUILD() +{ + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` +} + +INSTALL() +{ + mkdir -p $appsDir + cp -a objects/BeScreenCapture $appsDir + addAppDeskbarSymlink $appsDir/BeScreenCapture +} From ea45b3079f62c7a8515c23b13aa680edc6b88a1a Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 12 Dec 2013 20:57:14 +0100 Subject: [PATCH 41/41] pe: update to hg615 Includes the recipe language patch by Alvin Tan. --- haiku-apps/pe/pe-2.4.3_hg615.recipe | 68 +++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 haiku-apps/pe/pe-2.4.3_hg615.recipe diff --git a/haiku-apps/pe/pe-2.4.3_hg615.recipe b/haiku-apps/pe/pe-2.4.3_hg615.recipe new file mode 100644 index 000000000..ce884091d --- /dev/null +++ b/haiku-apps/pe/pe-2.4.3_hg615.recipe @@ -0,0 +1,68 @@ +SUMMARY="A programmer's editor" +DESCRIPTION="A programmer's editor" +HOMEPAGE="http://pe-editor.berlios.de/" +LICENSE=" + BSD (4-clause) + MIT + " + +COPYRIGHT=" + 1996-2002 Maarteen Hekkelman + 2003-2013 Team Pe + " + +SRC_URI="hg+http://hg.berlios.de/repos/pe-editor#615" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + pe = $portVersion + cmd:Pe = $portVersion compat >= 2 + cmd:lpe = $portVersion compat >= 2 + " + +REQUIRES=" + haiku + lib:libpcre + lib:libpcreposix + " + +BUILD_REQUIRES=" + devel:libpcre + devel:libpcreposix + " + +BUILD_PREREQUIRES=" + haiku_devel + cmd:bison + cmd:flex + cmd:gcc + cmd:jam + cmd:ld + " + +USER_SETTINGS_FILES=" + settings/pe directory + " + +SOURCE_DIR="$portVersionedName" + +BUILD() +{ + jam -q + # multi-job builds don't work reliably +} + +INSTALL() +{ + peDir=$appsDir/Pe + + mkdir -p $appsDir + cp -a generated/distro $peDir + cp -a doc $peDir/Documentation + + mkdir $binDir + ln -sfn $peDir/lpe $binDir + + addAppDeskbarSymlink $peDir/Pe +}