From 7ba45330afdb91a818c0b4cb3360d080f144e788 Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Sun, 1 Dec 2013 00:37:04 +0100 Subject: [PATCH 01/89] Added RDesktop and BeRDP, work by GCI2013 student Artur Jamro (Mrowqa) --- net-misc/berdp/berdp-1.recipe | 47 ++++++++++++++++++++ net-misc/rdesktop/rdesktop-1.8.0.recipe | 58 +++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 net-misc/berdp/berdp-1.recipe create mode 100644 net-misc/rdesktop/rdesktop-1.8.0.recipe diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe new file mode 100644 index 000000000..f3bf87da4 --- /dev/null +++ b/net-misc/berdp/berdp-1.recipe @@ -0,0 +1,47 @@ +DESCRIPTION="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS platform utilizing the rdesktop project. RDP is a protocol designed by Microsoft to remotely administer / run a session on Windows 2000/2003 Servers / Windows XP Professional workstations." +SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS." +HOMEPAGE="https://github.com/HaikuArchives/BeRDP/" +SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#3db6f86f8409984d1a9b18b3c877042a42ebe849" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + berdp = $portVersion + app:BeRDP = $portVersion + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + makefile_engine + cmd:gcc + cmd:make + cmd:mkdepend + " + + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +REQUIRES=" + bin:rdesktop + " + + +COPYRIGHT="2003-2004 Giovani Zamboni, Eduardo Luis Voltolini Tafner, Phil Greenway" +LICENSE="GNU GPL v2" + +BUILD() +{ + cd Source + make + cd .. +} + +INSTALL() +{ + mkdir -p $appsDir/BeRDP + objDir=Source/objects.$(echo $buildArchitecture|sed -r s/_/-/g)-release + cp $objDir/BeRDP $appsDir/BeRDP + addAppDeskbarSymlink $appsDir/BeRDP/BeRDP +} diff --git a/net-misc/rdesktop/rdesktop-1.8.0.recipe b/net-misc/rdesktop/rdesktop-1.8.0.recipe new file mode 100644 index 000000000..8e705a5ed --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.8.0.recipe @@ -0,0 +1,58 @@ +DESCRIPTION=" + rdesktop is an open source client for Windows Remote Desktop Services, capable of natively speaking + Remote Desktop Protocol (RDP) in order to present the user's Windows desktop. rdesktop is known to + work with Windows versions such as NT 4 Terminal Server, 2000, XP, 2003, 2003 R2, Vista, 2008, 7, and 2008 R2. + " +SUMMARY="An open source client for Windows Remote Desktop Services." +HOMEPAGE="http://rdesktop.org/" +SRC_URI="git+https://github.com/threedeyes/rdesktop.git#dc04b43ccb443f8245e5cda69ab063624e0d6f8c" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + rdesktop = $portVersion + bin:rdesktop = $portVersion + cmd:rdesktop = $portVersion + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + makefile_engine + openssl + openssl_devel + cmd:gcc + cmd:make + cmd:mkdepend + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + devel:libssl + " + +REQUIRES=" + haiku >= $haikuVersion + lib:libcrypto + lib:libssl + " + + +COPYRIGHT="1999-2013 Matthew Chapman" +LICENSE="GNU GPL v3" + +BUILD() +{ + cd haiku + makefile=makefile_gcc4 + if [[ "$buildArchitecture" == *gcc2* ]]; then + makefile=makefile_gcc2 + fi + make -f $makefile + cd .. +} + +INSTALL() +{ + mkdir -p $binDir + cp haiku/rdesktop $binDir +} From 0b91aaf58e3189061ed23ca187b57ccff03f4dc2 Mon Sep 17 00:00:00 2001 From: noryb009 Date: Sun, 1 Dec 2013 08:01:45 -0500 Subject: [PATCH 02/89] Updated beezer, work by GCI2013 student Luke --- haiku-apps/beezer/beezer-1.recipe | 69 ++++++++++++++++++------ haiku-apps/beezer/patches/beezer-1.patch | 57 ++++++++++++++++++++ 2 files changed, 109 insertions(+), 17 deletions(-) create mode 100644 haiku-apps/beezer/patches/beezer-1.patch diff --git a/haiku-apps/beezer/beezer-1.recipe b/haiku-apps/beezer/beezer-1.recipe index 7b9dbb02f..0574da00c 100644 --- a/haiku-apps/beezer/beezer-1.recipe +++ b/haiku-apps/beezer/beezer-1.recipe @@ -1,28 +1,63 @@ -DESCRIPTION="beezer, an archiving tool for the Haiku operating system, similar to winzip" +SUMMARY="Beezer is an archive manager for Haiku, similar to winzip" +DESCRIPTION=" + Beezer is an archive manager for Haiku. It can extract and browse, + create and add to archive files. In addition, Beezer can split and rejoin + files. + + It can extract 7zip, arj, bzip2, gzip, lha, rar, tar, xz and zip files. + It can create 7zip, bzip2, gzip, tar and zip files. + " HOMEPAGE="https://bitbucket.org/cpr/beezer" -SRC_URI="https://bitbucket.org/cpr/beezer/get/82199f683571.zip" +SRC_URI="https://bitbucket.org/cpr/beezer/get/e6e2c619aa4a.zip" +CHECKSUM_MD5="79aac5ae3eac5abcfe0d197730723284" + +LICENSE="BSD (3-clause)" +COPYRIGHT=" + 2009 Ramshankar (aka Teknomancer) + 2011-2012 Chris Roberts + " REVISION="1" -STATUS_HAIKU="stable" -CHECKSUM_MD5="b27479b8a8afc1bc105ad9a6d8911f74" -DEPEND="cmake >= 2.8" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + beezer = $portVersion + app:beezer = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " +BUILD_PREREQUIRES=" + cmake >= 2.8 + cmd:gcc + cmd:make + " + +PATCHES=" + beezer-1.patch + " + +SOURCE_DIR="cpr-beezer-e6e2c619aa4a" + BUILD() { - cd cpr-beezer-82199f683571/Source + cd Source cmake . make } INSTALL() { - cd cpr-beezer-82199f683571/Source/build - BEEZER_DIR=${DESTDIR}/`finddir B_APPS_DIRECTORY`/Beezer - mkdir -p $BEEZER_DIR/add-ons - cp -a Beezer $BEEZER_DIR - cp -a add-ons/* $BEEZER_DIR/add-ons - mkdir -p ${DESTDIR}/`finddir B_USER_ADDONS_DIRECTORY`/Tracker - cp -a TrackerAddOn/BeezerAddOn ${DESTDIR}/`finddir B_USER_ADDONS_DIRECTORY`/Tracker + cd Source/build + mkdir -p $appsDir/Beezer/add-ons + cp Beezer $appsDir/Beezer + cp -a add-ons/* $appsDir/Beezer/add-ons + addAppDeskbarSymlink $appsDir/Beezer/Beezer + + mkdir -p $appsDir/Tracker + cp -a TrackerAddOn/BeezerAddOn $appsDir/Tracker } - -LICENSE="BSD (3-clause)" -COPYRIGHT="2009 Ramshankar (aka Teknomancer) - 2011-2012 Chris Roberts" diff --git a/haiku-apps/beezer/patches/beezer-1.patch b/haiku-apps/beezer/patches/beezer-1.patch new file mode 100644 index 000000000..638f8e7e2 --- /dev/null +++ b/haiku-apps/beezer/patches/beezer-1.patch @@ -0,0 +1,57 @@ +From 3728835e4083c862c9b03dd5ffdb5941f34f9da5 Mon Sep 17 00:00:00 2001 +From: Luke +Date: Sun, 1 Dec 2013 12:22:29 +0000 +Subject: [PATCH] Remove references to B_COMMON_ + +--- + Source/Archiver/Archiver.cpp | 13 +------------ + Source/Beezer/FSUtils/FSUtils.cpp | 2 +- + 2 files changed, 2 insertions(+), 13 deletions(-) + +diff --git a/Source/Archiver/Archiver.cpp b/Source/Archiver/Archiver.cpp +index c272333..7b57313 100644 +--- a/Source/Archiver/Archiver.cpp ++++ b/Source/Archiver/Archiver.cpp +@@ -625,7 +625,7 @@ status_t Archiver::SetComment(char* commentStr, const char* tempDirPath) + bool Archiver::IsBinaryFound(char* filePath, const char* fileName) const + { + // Check if the given fileName exists in the given dir, if so copy the full path of fileName to filePath +- // Path priority /workers -> B_SYSTEM_BIN_DIRECTORY -> B_COMMON_BIN_DIRECTORY ++ // Path priority /workers -> B_SYSTEM_BIN_DIRECTORY + BPath binPath; + app_info appInfo; + be_app->GetAppInfo(&appInfo); +@@ -652,17 +652,6 @@ bool Archiver::IsBinaryFound(char* filePath, const char* fileName) const + } + } + +- if (find_directory(B_COMMON_BIN_DIRECTORY, &binPath) == B_OK) +- { +- binPath.Append(fileName); +- BEntry entry(binPath.Path(), true); +- if (entry.Exists()) +- { +- strcpy(filePath, binPath.Path()); +- return true; +- } +- } +- + // TODO full search of $PATH + + filePath = '\0'; +diff --git a/Source/Beezer/FSUtils/FSUtils.cpp b/Source/Beezer/FSUtils/FSUtils.cpp +index a651c58..8fbb01d 100644 +--- a/Source/Beezer/FSUtils/FSUtils.cpp ++++ b/Source/Beezer/FSUtils/FSUtils.cpp +@@ -177,7 +177,7 @@ BString CreateTempDirectory(const char* prefix, BDirectory** createdDir, bool cr + prefixStr << prefix << "_"; + + BPath tmpPath; +- find_directory(B_COMMON_TEMP_DIRECTORY, &tmpPath, true); ++ find_directory(B_SYSTEM_TEMP_DIRECTORY, &tmpPath, true); + BString tempDirName = tempnam(const_cast(tmpPath.Path()), const_cast(prefixStr.String())); + + // Further random the dir name (the below number is a prime) +-- +1.8.3.4 + From 8eb485cb23538ffa4e41aa3bfe8d37a34b40a70c Mon Sep 17 00:00:00 2001 From: noryb009 Date: Sun, 1 Dec 2013 19:01:02 -0500 Subject: [PATCH 03/89] Correct beezer addon and docs placement --- haiku-apps/beezer/beezer-1.recipe | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/haiku-apps/beezer/beezer-1.recipe b/haiku-apps/beezer/beezer-1.recipe index 0574da00c..26a6bbcec 100644 --- a/haiku-apps/beezer/beezer-1.recipe +++ b/haiku-apps/beezer/beezer-1.recipe @@ -47,17 +47,20 @@ BUILD() { cd Source cmake . - make + make $jobArgs } INSTALL() { + mkdir -p $docDir/Beezer + cp -a Docs/* $docDir/Beezer + cd Source/build mkdir -p $appsDir/Beezer/add-ons cp Beezer $appsDir/Beezer cp -a add-ons/* $appsDir/Beezer/add-ons addAppDeskbarSymlink $appsDir/Beezer/Beezer - mkdir -p $appsDir/Tracker - cp -a TrackerAddOn/BeezerAddOn $appsDir/Tracker + mkdir -p $addOnsDir/Tracker + cp -a TrackerAddOn/BeezerAddOn $addOnsDir/Tracker } From 9af00b9cb5fa1cf5f8d75a28ec77f6251464fc78 Mon Sep 17 00:00:00 2001 From: noryb009 Date: Sun, 1 Dec 2013 21:23:18 -0500 Subject: [PATCH 04/89] Include correct docs --- haiku-apps/beezer/beezer-1.recipe | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/haiku-apps/beezer/beezer-1.recipe b/haiku-apps/beezer/beezer-1.recipe index 26a6bbcec..2c8fa55ee 100644 --- a/haiku-apps/beezer/beezer-1.recipe +++ b/haiku-apps/beezer/beezer-1.recipe @@ -52,13 +52,12 @@ BUILD() INSTALL() { - mkdir -p $docDir/Beezer - cp -a Docs/* $docDir/Beezer - cd Source/build - mkdir -p $appsDir/Beezer/add-ons + + mkdir -p $appsDir/Beezer cp Beezer $appsDir/Beezer - cp -a add-ons/* $appsDir/Beezer/add-ons + cp -a add-ons $appsDir/Beezer + cp -a ../Beezer/docs $appsDir/Beezer addAppDeskbarSymlink $appsDir/Beezer/Beezer mkdir -p $addOnsDir/Tracker From 1f815c9868e28667dac71ebbdd6c21dd6523d5c7 Mon Sep 17 00:00:00 2001 From: Alex Ozer Date: Sun, 1 Dec 2013 23:13:20 -0500 Subject: [PATCH 05/89] Fix ThemeManager's recipe file, work by GCI2013 student mindstormscreator --- .../thememanager/thememanager-0_svn.recipe | 20 --------- .../thememanager/thememanager-1.0_git.recipe | 43 +++++++++++++++++++ 2 files changed, 43 insertions(+), 20 deletions(-) delete mode 100644 haiku-apps/thememanager/thememanager-0_svn.recipe create mode 100644 haiku-apps/thememanager/thememanager-1.0_git.recipe diff --git a/haiku-apps/thememanager/thememanager-0_svn.recipe b/haiku-apps/thememanager/thememanager-0_svn.recipe deleted file mode 100644 index 69eb763d7..000000000 --- a/haiku-apps/thememanager/thememanager-0_svn.recipe +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION="ThemeManager" -HOMEPAGE="http://dev.osdrawer.net/projects/thememanager/" -SRC_URI="http://svn.osdrawer.net/thememanager/trunk" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" -#CHECKSUM_MD5="" -BUILD() -{ - cd trunk - make -} - -INSTALL() -{ - cd trunk -} - -LICENSE="MIT" -COPYRIGHT="2000-2012 François Revol" diff --git a/haiku-apps/thememanager/thememanager-1.0_git.recipe b/haiku-apps/thememanager/thememanager-1.0_git.recipe new file mode 100644 index 000000000..51913da3b --- /dev/null +++ b/haiku-apps/thememanager/thememanager-1.0_git.recipe @@ -0,0 +1,43 @@ +SUMMARY="Manages Haiku themes." +DESCRIPTION="The Haiku Theme Manager is compatible with the one shipping with ZETA. Users can choose which part of a theme to apply or save. It can also import BeTheme themes, and to some degree, MS Plus themes. It is add-ons based, so it can be extended." +HOMEPAGE="https://github.com/HaikuArchives/HaikuThemeManager" +SRC_URI="git://github.com/HaikuArchives/HaikuThemeManager.git#400a0ff17173a2510e24bf737df0bb218a9c531c" +# 20 October 2013 commit +LICENSE="MIT" +COPYRIGHT="2000-2012 François Revol" +REVISION="1" +STATUS_HAIKU="stable" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +PROVIDES=" + thememanager = $portVersion + cmd:ThemeManager = $portVersion +" +REQUIRES=" + haiku >= $haikuVersion +" +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:git + cmd:gcc + cmd:make + cmd:mkdepend + cmd:ld + cmd:strip +" +BUILD_REQUIRES=" + makefile_engine +" + +BUILD() +{ + cd src + make OBJ_DIR=objects BUILDHOME=/boot/system/develop $jobArgs +} + +INSTALL() +{ + cd src + make OBJ_DIR=objects BUILDHOME=/boot/system/develop INSTALL_DIR=$binDir install + strip $binDir/* + +} From ffbe8b0ad4e30a5e185f49185c9724316cd5ba8c Mon Sep 17 00:00:00 2001 From: Alex Ozer Date: Mon, 2 Dec 2013 10:42:40 -0500 Subject: [PATCH 06/89] (Re)fix ThemeManager's recipe file, work by GCI2013 student mindstormscreator --- .../thememanager/thememanager-1.0_git.recipe | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/haiku-apps/thememanager/thememanager-1.0_git.recipe b/haiku-apps/thememanager/thememanager-1.0_git.recipe index 51913da3b..9638331e4 100644 --- a/haiku-apps/thememanager/thememanager-1.0_git.recipe +++ b/haiku-apps/thememanager/thememanager-1.0_git.recipe @@ -1,16 +1,18 @@ SUMMARY="Manages Haiku themes." -DESCRIPTION="The Haiku Theme Manager is compatible with the one shipping with ZETA. Users can choose which part of a theme to apply or save. It can also import BeTheme themes, and to some degree, MS Plus themes. It is add-ons based, so it can be extended." +DESCRIPTION="The Haiku Theme Manager is compatible with the one +shipping with ZETA. Users can choose which part of a theme to apply or +save. It can also import BeTheme themes, and to some degree, MS Plus +themes. It is add-ons based, so it can be extended." HOMEPAGE="https://github.com/HaikuArchives/HaikuThemeManager" SRC_URI="git://github.com/HaikuArchives/HaikuThemeManager.git#400a0ff17173a2510e24bf737df0bb218a9c531c" # 20 October 2013 commit LICENSE="MIT" COPYRIGHT="2000-2012 François Revol" REVISION="1" -STATUS_HAIKU="stable" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" PROVIDES=" thememanager = $portVersion - cmd:ThemeManager = $portVersion + app:thememanager = $portVersion " REQUIRES=" haiku >= $haikuVersion @@ -22,7 +24,6 @@ BUILD_PREREQUIRES=" cmd:make cmd:mkdepend cmd:ld - cmd:strip " BUILD_REQUIRES=" makefile_engine @@ -37,7 +38,6 @@ BUILD() INSTALL() { cd src - make OBJ_DIR=objects BUILDHOME=/boot/system/develop INSTALL_DIR=$binDir install - strip $binDir/* - + make OBJ_DIR=objects BUILDHOME=/boot/system/develop INSTALL_DIR=$preferencesDir install + addPreferencesDeskbarSymlink $preferencesDir/ThemeManager } From 8ae8ec61b43cd5788eee2b739176c1f68509facc Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Mon, 2 Dec 2013 17:31:29 +0100 Subject: [PATCH 07/89] Some BeRDP and RDesktop recipes fixes. --- net-misc/berdp/berdp-1.recipe | 9 ++++----- net-misc/rdesktop/rdesktop-1.8.0.recipe | 5 ----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index f3bf87da4..8cd0d9609 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -1,7 +1,7 @@ DESCRIPTION="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS platform utilizing the rdesktop project. RDP is a protocol designed by Microsoft to remotely administer / run a session on Windows 2000/2003 Servers / Windows XP Professional workstations." SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS." HOMEPAGE="https://github.com/HaikuArchives/BeRDP/" -SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#3db6f86f8409984d1a9b18b3c877042a42ebe849" +SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#8d73363b567361a5f14bf36173bf68f01260013a" REVISION="1" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" @@ -11,7 +11,6 @@ PROVIDES=" " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine cmd:gcc cmd:make @@ -24,18 +23,18 @@ BUILD_REQUIRES=" " REQUIRES=" + haiku >= $haikuVersion bin:rdesktop " -COPYRIGHT="2003-2004 Giovani Zamboni, Eduardo Luis Voltolini Tafner, Phil Greenway" -LICENSE="GNU GPL v2" +COPYRIGHT="2003-2004 Sikos" +LICENSE="BSDv1" BUILD() { cd Source make - cd .. } INSTALL() diff --git a/net-misc/rdesktop/rdesktop-1.8.0.recipe b/net-misc/rdesktop/rdesktop-1.8.0.recipe index 8e705a5ed..022a4a146 100644 --- a/net-misc/rdesktop/rdesktop-1.8.0.recipe +++ b/net-misc/rdesktop/rdesktop-1.8.0.recipe @@ -11,15 +11,11 @@ ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" PROVIDES=" rdesktop = $portVersion - bin:rdesktop = $portVersion cmd:rdesktop = $portVersion " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine - openssl - openssl_devel cmd:gcc cmd:make cmd:mkdepend @@ -48,7 +44,6 @@ BUILD() makefile=makefile_gcc2 fi make -f $makefile - cd .. } INSTALL() From dd41a3d84472d16c4ffd9f0630832e714fb75a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Mon, 2 Dec 2013 18:32:33 +0000 Subject: [PATCH 08/89] ScummVM 1.6.0 --- games-engines/scummvm/scummvm-1.6.0.recipe | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 games-engines/scummvm/scummvm-1.6.0.recipe diff --git a/games-engines/scummvm/scummvm-1.6.0.recipe b/games-engines/scummvm/scummvm-1.6.0.recipe new file mode 100644 index 000000000..f7d06705f --- /dev/null +++ b/games-engines/scummvm/scummvm-1.6.0.recipe @@ -0,0 +1,56 @@ +SUMMARY="Script Creation Utility for Maniac Mansion Virtual Machine" +DESCRIPTION="ScummVM is a program which allows you to run certain classic graphical point-and-click adventure games, provided you already have their data files. The clever part about this: ScummVM just replaces the executables shipped with the games, allowing you to play them on systems for which they were never designed! +" +HOMEPAGE="http://scummvm.org" +SRC_URI="http://prdownloads.sourceforge.net/scummvm/scummvm-1.6.0.tar.bz2?download" +CHECKSUM_MD5="473c151ff44e3db7b603ecacd800a0d2" +REVISION="1" +LICENSE="GNU GPL v2" +COPYRIGHT="2001-2013 ScummVM Team" + +ARCHITECTURES="x86 x86_64" +SECONDARY_ARCHITECTURES="x86 x86_64" + +PROVIDES=" + scummvm = $portVersion + app:scummvm = $portVersion +" +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libSDL$secondaryArchSuffix + lib:libz$secondaryArchSuffix + lib:libogg$secondaryArchSuffix + lib:libvorbis$secondaryArchSuffix +" +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libSDL$secondaryArchSuffix + devel:libz$secondaryArchSuffix + devel:libogg$secondaryArchSuffix + devel:libvorbis$secondaryArchSuffix + devel:libglu$secondaryArchSuffix +" +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:make$secondaryArchSuffix + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:nasm$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix +" + +SOURCE_DIR="scummvm-1.6.0" + +BUILD() +{ + libtoolize --force --copy --install + ./configure --prefix=$prefix --bindir=$appsDir --libdir=$libDir --datarootdir=$dataDir --mandir=$manDir --docdir=$docDir \ + --enable-release + make +} +INSTALL() +{ + make install + + addAppDeskbarSymlink $appsDir/scummvm +} From 717012b463364e484427cc096ab35c0f1234fff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Mon, 2 Dec 2013 18:33:50 +0000 Subject: [PATCH 09/89] Removed old patches --- .../scummvm/patches/scummvm_haiku.diff | 111 ------------------ 1 file changed, 111 deletions(-) delete mode 100644 games-engines/scummvm/patches/scummvm_haiku.diff diff --git a/games-engines/scummvm/patches/scummvm_haiku.diff b/games-engines/scummvm/patches/scummvm_haiku.diff deleted file mode 100644 index 9f2d49e78..000000000 --- a/games-engines/scummvm/patches/scummvm_haiku.diff +++ /dev/null @@ -1,111 +0,0 @@ -Index: configure -=================================================================== ---- configure (revision 35712) -+++ configure (working copy) - -1052,11 +1052,23 @@ - beos*) - DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" - # Needs -lbind -lsocket for the timidity MIDI driver -+ LDFLAGS="-L/boot/home/config/lib" -+ CFLAGS="-I/boot/home/config/include" -+ CXXFLAGS="$CXXFLAGS -fhuge-objects" - LIBS="$LIBS -lbind -lsocket" - type_1_byte='char' - type_2_byte='short' - type_4_byte='long' - ;; -+ haiku*) -+ DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" -+ # Needs -lnetwork for the timidity MIDI driver -+ LIBS="$LIBS -lnetwork" -+ CXXFLAGS="$CXXFLAGS -fhuge-objects" -+ type_1_byte='char' -+ type_2_byte='short' -+ type_4_byte='long' -+ ;; - solaris*) - DEFINES="$DEFINES -DUNIX -DSOLARIS -DSYSTEM_NOT_SUPPORTING_D_TYPE" - # Needs -lbind -lsocket for the timidity MIDI driver -Index: gui/ThemeData.h -=================================================================== ---- gui/ThemeData.h (revision 35712) -+++ gui/ThemeData.h (working copy) - -27,6 +27,7 @@ - #define GUI_THEME_DATA_H - - #include "gui/ThemeEngine.h" -+#include "graphics/VectorRenderer.h" - - namespace GUI { - -Index: config.guess -=================================================================== ---- config.guess (revision 35712) -+++ config.guess (working copy) - -1206,6 +1206,9 @@ - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit ;; -+ BePC:Haiku:*:*) # BeOS running on Intel PC compatible. -+ echo i586-pc-haiku -+ exit ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit ;; -Index: config.sub -=================================================================== ---- config.sub (revision 35712) -+++ config.sub (working copy) - -1559,6 +1559,9 @@ - -beos*) - vendor=be - ;; -+ -haiku*) -+ vendor=haiku -+ ;; - -hpux*) - vendor=hp - ;; -Index: graphics/scaler/hq2x_i386.asm -=================================================================== ---- graphics/scaler/hq2x_i386.asm (revision 35712) -+++ graphics/scaler/hq2x_i386.asm (working copy) - -1841,7 +1841,7 @@ - dd ..@flag0, ..@flag0, ..@flag0, ..@flag0 - - --%ifidn __OUTPUT_FORMAT__,elf --section .note.GNU-stack noalloc noexec nowrite progbits --%endif -+# %ifidn __OUTPUT_FORMAT__,elf -+# section .note.GNU-stack noalloc noexec nowrite progbits -+# %endif - -Index: graphics/scaler/hq3x_i386.asm -=================================================================== ---- graphics/scaler/hq3x_i386.asm (revision 35712) -+++ graphics/scaler/hq3x_i386.asm (working copy) - -2433,7 +2433,7 @@ - dd ..@flag0, ..@flag0, ..@flag0, ..@flag0 - - --%ifidn __OUTPUT_FORMAT__,elf --section .note.GNU-stack noalloc noexec nowrite progbits --%endif -+# %ifidn __OUTPUT_FORMAT__,elf -+# section .note.GNU-stack noalloc noexec nowrite progbits -+# %endif - -Index: graphics/surface.h -=================================================================== ---- graphics/surface.h (revision 35712) -+++ graphics/surface.h (working copy) - -47,7 +47,7 @@ - Surface() : w(0), h(0), pitch(0), pixels(0), bytesPerPixel(0) {} - - inline const void *getBasePtr(int x, int y) const { -- return static_cast(pixels) + y * pitch + x * bytesPerPixel; -+ return (const byte *)(pixels) + y * pitch + x * bytesPerPixel; - } - - inline void *getBasePtr(int x, int y) { \ No newline at end of file From 77d595a33f963561407e25ae4483491f2940814f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Mon, 2 Dec 2013 20:02:42 +0000 Subject: [PATCH 10/89] Untested on x86_64 --- games-engines/scummvm/scummvm-1.6.0.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-engines/scummvm/scummvm-1.6.0.recipe b/games-engines/scummvm/scummvm-1.6.0.recipe index f7d06705f..c78dc62b8 100644 --- a/games-engines/scummvm/scummvm-1.6.0.recipe +++ b/games-engines/scummvm/scummvm-1.6.0.recipe @@ -8,8 +8,8 @@ REVISION="1" LICENSE="GNU GPL v2" COPYRIGHT="2001-2013 ScummVM Team" -ARCHITECTURES="x86 x86_64" -SECONDARY_ARCHITECTURES="x86 x86_64" +ARCHITECTURES="x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86 ?x86_64" PROVIDES=" scummvm = $portVersion From 41b76373564a664b8820fce97e7cc96f68dcdd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Mon, 2 Dec 2013 20:10:47 +0000 Subject: [PATCH 11/89] Removed secondaryArchSuffix on some Command Line programs --- games-engines/scummvm/scummvm-1.6.0.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-engines/scummvm/scummvm-1.6.0.recipe b/games-engines/scummvm/scummvm-1.6.0.recipe index c78dc62b8..5f4acd66d 100644 --- a/games-engines/scummvm/scummvm-1.6.0.recipe +++ b/games-engines/scummvm/scummvm-1.6.0.recipe @@ -32,11 +32,11 @@ BUILD_REQUIRES=" " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion - cmd:make$secondaryArchSuffix + cmd:make cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:nasm$secondaryArchSuffix - cmd:libtoolize$secondaryArchSuffix + cmd:libtoolize " SOURCE_DIR="scummvm-1.6.0" From 5dea7c1783d041d8d8adffee74003b6cfed4205e Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Tue, 3 Dec 2013 00:43:08 +0100 Subject: [PATCH 12/89] Corrected license string for BeRDP. --- net-misc/berdp/berdp-1.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index 8cd0d9609..6aa7572f7 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -29,7 +29,7 @@ REQUIRES=" COPYRIGHT="2003-2004 Sikos" -LICENSE="BSDv1" +LICENSE="BSD (4-clause)" BUILD() { From 8a30e597444a608075f8b92a42d76e1b76adb04f Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 2 Dec 2013 20:48:05 -0700 Subject: [PATCH 13/89] Overhaul the haiku-apps directory * Fixed PROVIDES/*REQUIRES entries * Added vcs hashes to the ports needing it in the SRC_URI * Made single executable apps install to the top level $appsDir * Added patches for gcc4 versions of most apps * Added patches for apps that couldn't build on any arch ( even though they were marked as working :( ) * Other misc fixes that I've forgotten already because I'm sick of looking at this directory --- haiku-apps/a_book/a_book-1.1.recipe | 24 +- haiku-apps/a_book/patches/a_book-1.1.patchset | 22 + haiku-apps/album/album-0.9.2.recipe | 47 +- haiku-apps/album/patches/album-0.9.2.patch | 13 - haiku-apps/album/patches/album-0.9.2.patchset | 45 ++ haiku-apps/backup/backup-0.0.1.recipe | 28 +- haiku-apps/bafx/bafx-0.0.1.recipe | 35 +- haiku-apps/bafx/patches/bafx-0.0.1.patchset | 22 + haiku-apps/beget/beget-1.2.3.recipe | 30 +- .../bepdf/bepdf-1.1.1~beta5_2013_04_28.recipe | 11 +- .../bescreencapture-1.9.1.recipe | 23 +- .../binary_clock/binary_clock-2.0.recipe | 24 +- haiku-apps/dockbert/dockbert-1.0.2b1.recipe | 26 +- .../patches/dockbert-1.0.2b1.patchset | 22 + .../documentviewer-0.3.2.recipe | 5 +- haiku-apps/filecropper/filecropper-1.recipe | 34 +- haiku-apps/ftppositive/ftppositive-1.0.recipe | 30 +- haiku-apps/hare/hare-beta1_git.recipe | 10 +- haiku-apps/jammin/jammin-0.1.0.recipe | 32 +- .../nightandday/nightsandday-0.1.2.recipe | 57 +- haiku-apps/organizer/organizer-0.1.recipe | 30 +- .../organizer/patches/organizer-0.1.patch | 258 -------- .../organizer/patches/organizer-0.1.patchset | 562 ++++++++++++++++++ haiku-apps/phantomlimb/phantomlimb-1.recipe | 73 ++- .../patches/querywatcher-1.4.patchset | 109 ++++ .../querywatcher/querywatcher-1.4.recipe | 35 +- haiku-apps/resourcer/resourcer-1.0.recipe | 46 +- ....0rc1.patch => runprogram-1.0rc1.patchset} | 34 +- .../runprogram/runprogram-1.0rc1.recipe | 20 +- haiku-apps/sum_it/sum_it-0.2beta.recipe | 31 +- haiku-apps/systeminfo/systeminfo-2.recipe | 45 +- .../patches/takenotes-1.0.0.patchset | 36 ++ haiku-apps/takenotes/takenotes-1.0.0.recipe | 29 +- .../patches/trackergrep-5.1.patchset | 49 ++ haiku-apps/trackergrep/trackergrep-5.1.recipe | 43 +- .../patches/ubertuber-0.9.7.patchset | 22 + haiku-apps/ubertuber/ubertuber-0.9.7.recipe | 22 +- haiku-apps/waveview/waveview-1.0.recipe | 40 +- 38 files changed, 1381 insertions(+), 643 deletions(-) create mode 100644 haiku-apps/a_book/patches/a_book-1.1.patchset delete mode 100644 haiku-apps/album/patches/album-0.9.2.patch create mode 100644 haiku-apps/album/patches/album-0.9.2.patchset create mode 100644 haiku-apps/bafx/patches/bafx-0.0.1.patchset create mode 100644 haiku-apps/dockbert/patches/dockbert-1.0.2b1.patchset delete mode 100644 haiku-apps/organizer/patches/organizer-0.1.patch create mode 100644 haiku-apps/organizer/patches/organizer-0.1.patchset create mode 100644 haiku-apps/querywatcher/patches/querywatcher-1.4.patchset rename haiku-apps/runprogram/patches/{runprogram-1.0rc1.patch => runprogram-1.0rc1.patchset} (57%) create mode 100644 haiku-apps/takenotes/patches/takenotes-1.0.0.patchset create mode 100644 haiku-apps/trackergrep/patches/trackergrep-5.1.patchset create mode 100644 haiku-apps/ubertuber/patches/ubertuber-0.9.7.patchset diff --git a/haiku-apps/a_book/a_book-1.1.recipe b/haiku-apps/a_book/a_book-1.1.recipe index ea824cf2b..6beaec2c8 100644 --- a/haiku-apps/a_book/a_book-1.1.recipe +++ b/haiku-apps/a_book/a_book-1.1.recipe @@ -1,14 +1,18 @@ -DESCRIPTION="A small calendar application with reminders. You can use this app to organize your time. The application supports the addition to each day tasks with the appropriate hours and browse all of them. Your job will be saved to a file when the application is closed." SUMMARY="A small calendar application with reminders." +DESCRIPTION=" +A small calendar application with reminders. You can use this app to +organize your time. The application supports the addition to each day +tasks with the appropriate hours and browse all of them. Your job will +be saved to a file when the application is closed." HOMEPAGE="https://github.com/HaikuArchives/A-Book" -SRC_URI="git+https://github.com/HaikuArchives/A-Book.git" -REVISION="1" +SRC_URI="git+https://github.com/HaikuArchives/A-Book.git#fe6c66c631" +REVISION="2" COPYRIGHT="2002 Maurice Michalski" LICENSE="MIT" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" a_book = $portVersion @@ -19,22 +23,28 @@ REQUIRES=" haiku >= $haikuVersion " -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" makefile_engine cmd:gcc cmd:make cmd:mkdepend " +PATCHES="a_book-1.1.patchset" + BUILD() { - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() { mkdir -p $appsDir - cp objects.x86-gcc2-release/A-Book $appsDir + cp -a objects/A-Book $appsDir addAppDeskbarSymlink $appsDir/A-Book } diff --git a/haiku-apps/a_book/patches/a_book-1.1.patchset b/haiku-apps/a_book/patches/a_book-1.1.patchset new file mode 100644 index 000000000..b126dbe85 --- /dev/null +++ b/haiku-apps/a_book/patches/a_book-1.1.patchset @@ -0,0 +1,22 @@ +From 2c7f24af4d3a0336d40a48155556527cdfc6362a Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 17:30:53 -0700 +Subject: Fix makefile stdc++ libs + + +diff --git a/makefile b/makefile +index a28bcd4..1c0d18d 100644 +--- a/makefile ++++ b/makefile +@@ -56,7 +56,7 @@ RSRCS= + # 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=be ++LIBS=be $(STDCPPLIBS) + + # specify additional paths to directories following the standard + # libXXX.so or libXXX.a naming scheme. You can specify full paths +-- +1.8.3.4 + diff --git a/haiku-apps/album/album-0.9.2.recipe b/haiku-apps/album/album-0.9.2.recipe index 2418f3592..284b0c929 100644 --- a/haiku-apps/album/album-0.9.2.recipe +++ b/haiku-apps/album/album-0.9.2.recipe @@ -1,18 +1,20 @@ -SUMMARY="An image viewer/organiser designed for BeOS-compatible operating systems." -DESCRIPTION="Album is a file browsing and tagging utility for BeOS and compatibles. It -started out with a goal of the ultimate image organiser (code named Aberration), but ended -up as something much more modest and BeOS-specific. The idea is to have a work pad for -pictures from different locations where they can be previewed and tagged in one place. The -program is not limited to picture files and BFS (Be File System) volumes, although that -further limits whatever the usefulness since much of the functionality has to do with file +SUMMARY="An image viewer/organiser designed for BeOS-compatible systems." +DESCRIPTION=" +Album is a file browsing and tagging utility for BeOS and compatibles. +It started out with a goal of the ultimate image organiser (code +named Aberration), but ended up as something much more modest and +BeOS-specific. The idea is to have a work pad for pictures from +different locations where they can be previewed and tagged in one +place. The program is not limited to picture files and BFS (Be File +System) volumes, although that further limits whatever the usefulness +since much of the functionality has to do with file attributes." HOMEPAGE="http://users.volja.net/mkovac1/proj/album/" -SRC_URI="git://github.com/HaikuArchives/Album" -#CHECKSUM_MD5=" " +SRC_URI="git://github.com/HaikuArchives/Album#64aa3371a9" LICENSE="MIT" COPYRIGHT="2006-2009 by Matjaž Kovač" -REVISION="2" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +REVISION="3" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" Album = $portVersion app:Album = $portVersion @@ -22,34 +24,33 @@ REQUIRES=" haiku >= $haikuVersion " -BUILD_REQUIRES=" " +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine cmd:gcc cmd:make cmd:mkdepend " -PATCHES="album-0.9.2.patch" +PATCHES="album-0.9.2.patchset" + USER_SETTINGS_FILES=" settings/Album_settings " -SOURCE_DIR="$portVersionedName/src" - BUILD() { - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + cd src + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() { - albumDir=$appsDir/Album - mkdir -p $albumDir - - cp -a objects.x86-gcc2-debug/Album $albumDir - - addAppDeskbarSymlink $albumDir/Album + mkdir -p $appsDir + cp -a src/objects/Album $appsDir + addAppDeskbarSymlink $appsDir/Album } diff --git a/haiku-apps/album/patches/album-0.9.2.patch b/haiku-apps/album/patches/album-0.9.2.patch deleted file mode 100644 index 71f819683..000000000 --- a/haiku-apps/album/patches/album-0.9.2.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/MainWindow.cpp b/MainWindow.cpp -index 4fcb98a..66ed596 100644 ---- a/MainWindow.cpp -+++ b/MainWindow.cpp -@@ -142,7 +142,7 @@ MainWindow::MainWindow(BRect frame, const char *title): - - // Create a tempory repository for negotiated drops from image ditors etc. - BPath path; -- if (find_directory(B_COMMON_TEMP_DIRECTORY, &path) == B_OK) { -+ if (find_directory(B_SYSTEM_TEMP_DIRECTORY, &path) == B_OK) { - path.Append("Album"); - if (create_directory(path.Path(), 0x777) == B_OK) { - fRepository.SetTo(path.Path()); diff --git a/haiku-apps/album/patches/album-0.9.2.patchset b/haiku-apps/album/patches/album-0.9.2.patchset new file mode 100644 index 000000000..14fffeab6 --- /dev/null +++ b/haiku-apps/album/patches/album-0.9.2.patchset @@ -0,0 +1,45 @@ +From 47be97d358d8db50026e107d94a63d15f39e7fb1 Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 17:23:41 -0700 +Subject: applying patch album-0.9.2.patch + + +diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp +index 4fcb98a..66ed596 100644 +--- a/src/MainWindow.cpp ++++ b/src/MainWindow.cpp +@@ -142,7 +142,7 @@ MainWindow::MainWindow(BRect frame, const char *title): + + // Create a tempory repository for negotiated drops from image ditors etc. + BPath path; +- if (find_directory(B_COMMON_TEMP_DIRECTORY, &path) == B_OK) { ++ if (find_directory(B_SYSTEM_TEMP_DIRECTORY, &path) == B_OK) { + path.Append("Album"); + if (create_directory(path.Path(), 0x777) == B_OK) { + fRepository.SetTo(path.Path()); +-- +1.8.3.4 + + +From 8f2c953908de0b0e23ae027802902072b153c686 Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 17:27:22 -0700 +Subject: Fix makefile stdc++ libs + + +diff --git a/src/makefile b/src/makefile +index 02e892f..38f0454 100644 +--- a/src/makefile ++++ b/src/makefile +@@ -63,7 +63,7 @@ RSRCS= Album.rsrc + # 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 translation iptcdata ++LIBS=be translation iptcdata $(STDCPPLIBS) + + # specify additional paths to directories following the standard + # libXXX.so or libXXX.a naming scheme. You can specify full paths +-- +1.8.3.4 + diff --git a/haiku-apps/backup/backup-0.0.1.recipe b/haiku-apps/backup/backup-0.0.1.recipe index 83e7cdec1..7d4fbfc7e 100644 --- a/haiku-apps/backup/backup-0.0.1.recipe +++ b/haiku-apps/backup/backup-0.0.1.recipe @@ -1,38 +1,40 @@ -DESCRIPTION="backup - A backup application for Haiku" +DESCRIPTION="A backup application for Haiku" SUMMARY="A backup application for Haiku" +COPYRIGHT="2013 Alexander von Gluck IV" +LICENSE="MIT" HOMEPAGE="https://github.com/kallisti5/backup" -SRC_URI="git+https://github.com/kallisti5/backup" -REVISION="1" +SRC_URI="git+https://github.com/kallisti5/backup#34e156f64d" +REVISION="2" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" backup = $portVersion app:backup = $portVersion " -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" makefile_engine cmd:gcc cmd:make - cmd:mkdepend" + cmd:mkdepend + " PATCHES="backup-0.0.1.patch" -COPYRIGHT="2013 Alexander von Gluck IV" -LICENSE="MIT" - BUILD() { - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() { - architecture=$(echo $buildArchitecture | sed 's/_/-/g') mkdir -p $appsDir - cp objects.$architecture-release/backup $appsDir/Backup - + cp objects/backup $appsDir/Backup addAppDeskbarSymlink $appsDir/Backup } diff --git a/haiku-apps/bafx/bafx-0.0.1.recipe b/haiku-apps/bafx/bafx-0.0.1.recipe index b4d0ff8da..329a3494f 100644 --- a/haiku-apps/bafx/bafx-0.0.1.recipe +++ b/haiku-apps/bafx/bafx-0.0.1.recipe @@ -1,38 +1,39 @@ DESCRIPTION="BAfx is a file manager for Haiku." SUMMARY="A file manager for Haiku." HOMEPAGE="https://github.com/marbocub/BAfx" -SRC_URI="git+https://github.com/marbocub/BAfx" +SRC_URI="git+https://github.com/marbocub/BAfx#4b14a8ba4c" COPYRIGHT="2012 @marbocub" LICENSE="MIT" - -REVISION="1" - -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +REVISION="2" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" bafx = $portVersion - app:bafx = $portVersion" + app:bafx = $portVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine cmd:gcc cmd:make - cmd:mkdepend" + cmd:mkdepend + " + +PATCHES="bafx-0.0.1.patchset" BUILD() { - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() { - architecture=$(echo $buildArchitecture | sed 's/_/-/g') - - cd objects.$architecture-release - - mkdir -p $appsDir/BAfx - cp -a BAfx $appsDir/BAfx - - addAppDeskbarSymlink $appsDir/BAfx/BAfx + mkdir -p $appsDir + cp -a objects/BAfx $appsDir + addAppDeskbarSymlink $appsDir/BAfx } diff --git a/haiku-apps/bafx/patches/bafx-0.0.1.patchset b/haiku-apps/bafx/patches/bafx-0.0.1.patchset new file mode 100644 index 000000000..f5c0c7ee4 --- /dev/null +++ b/haiku-apps/bafx/patches/bafx-0.0.1.patchset @@ -0,0 +1,22 @@ +From 7c5605074b639c6daa54275d1ced9720555da3d1 Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 17:37:11 -0700 +Subject: Fix makefile stdc++ libs + + +diff --git a/Makefile b/Makefile +index 6f14782..50893a9 100755 +--- a/Makefile ++++ b/Makefile +@@ -56,7 +56,7 @@ RSRCS= + # 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= be ++LIBS= be $(STDCPPLIBS) + + # specify additional paths to directories following the standard + # libXXX.so or libXXX.a naming scheme. You can specify full paths +-- +1.8.3.4 + diff --git a/haiku-apps/beget/beget-1.2.3.recipe b/haiku-apps/beget/beget-1.2.3.recipe index 6eb28ba74..945cc8ed0 100644 --- a/haiku-apps/beget/beget-1.2.3.recipe +++ b/haiku-apps/beget/beget-1.2.3.recipe @@ -1,35 +1,38 @@ SUMMARY="A GUI frontend to the command-line downloader wget" -DESCRIPTION="BeGet is a easy-to-use download manager for the popular command line tool wget. -BeGet can also accept more than one link at the same time. BeGet saves your downloaded files to /home/Downloads +DESCRIPTION=" +BeGet is a easy-to-use download manager for the popular command line +tool wget. BeGet can also accept more than one link at the same time. +BeGet saves your downloaded files to /home/Downloads " HOMEPAGE="http://github.com/HaikuArchives/BeGet" -SRC_URI="git://github.com/HaikuArchives/BeGet" -REVISION="2" +SRC_URI="git://github.com/HaikuArchives/BeGet#fe8db7ccb6" +REVISION="3" LICENSE="GNU GPL v2" COPYRIGHT="1999-2001 Atsushi Takamatsu" -ARCHITECTURES="x86_gcc2 x86 x86_64" -SECONDARY_ARCHITECTURES="x86_gcc2 x86 x86_64" +ARCHITECTURES="x86_gcc2 !x86 !x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 !x86 !x86_64" PROVIDES=" beget = $portVersion app:beget = $portVersion -" + " + REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion cmd:wget$secondaryArchSuffix -" + " + BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion -" + " + BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:cmake cmd:make cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix -" -SOURCE_DIR="BeGet-master" + " BUILD() { @@ -40,7 +43,6 @@ BUILD() INSTALL() { mkdir -p $appsDir - cp BeGet $appsDir - + cp BeGet $appsDir addAppDeskbarSymlink $appsDir/BeGet } diff --git a/haiku-apps/bepdf/bepdf-1.1.1~beta5_2013_04_28.recipe b/haiku-apps/bepdf/bepdf-1.1.1~beta5_2013_04_28.recipe index 1298a0371..cf30e99b3 100644 --- a/haiku-apps/bepdf/bepdf-1.1.1~beta5_2013_04_28.recipe +++ b/haiku-apps/bepdf/bepdf-1.1.1~beta5_2013_04_28.recipe @@ -13,22 +13,25 @@ COPYRIGHT=" 1999-2000 Hubert Figuiere 2000-2010 Michael Pfeiffer" LICENSE="GNU GPL v2" -REVISION="1" +REVISION="2" ARCHITECTURES="x86_gcc2 x86" PROVIDES=" bepdf = $portVersion - cmd:BePDF = $portVersion + app:BePDF = $portVersion " + REQUIRES=" haiku >= $haikuVersion lib:liblayout " + BUILD_REQUIRES=" + haiku_devel >= $haikuVersion devel:liblayout " + BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion cmd:gcc cmd:jam cmd:htmldoc @@ -36,8 +39,6 @@ BUILD_PREREQUIRES=" cmd:sed " -SOURCE_DIR="$portVersionedName" - PATCHES="bepdf-1.1.1~beta5_2013_04_28.patchset" PATCH() diff --git a/haiku-apps/bescreencapture/bescreencapture-1.9.1.recipe b/haiku-apps/bescreencapture/bescreencapture-1.9.1.recipe index 05965ae52..a0bfb4b3a 100644 --- a/haiku-apps/bescreencapture/bescreencapture-1.9.1.recipe +++ b/haiku-apps/bescreencapture/bescreencapture-1.9.1.recipe @@ -14,39 +14,38 @@ LICENSE=" MIT " COPYRIGHT="2013 Stefano Ceccherini" -REVISION="1" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +REVISION="2" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" bescreencapture = $portVersion - cmd:bescreencapture = $portVersion + app:bescreencapture = $portVersion " REQUIRES=" haiku >= $haikuVersion " -BUILD_REQUIRES="" -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" makefile_engine cmd:make cmd:gcc + cmd:mkdepend " -SOURCE_DIR="$portName-87886da2972fd4bbabb3fc5caae301c6dc14e7fd" - BUILD() { - rc BeScreenCapture.rdef - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() { - architecture=${buildArchitecture/_/-} - mkdir -p $appsDir - cp -a objects.$architecture-release/BeScreenCapture $appsDir + cp -a objects/BeScreenCapture $appsDir addAppDeskbarSymlink $appsDir/BeScreenCapture } diff --git a/haiku-apps/binary_clock/binary_clock-2.0.recipe b/haiku-apps/binary_clock/binary_clock-2.0.recipe index 44060dfbd..ea7108c12 100644 --- a/haiku-apps/binary_clock/binary_clock-2.0.recipe +++ b/haiku-apps/binary_clock/binary_clock-2.0.recipe @@ -1,13 +1,16 @@ SUMMARY="A binary clock application and screensaver" DESCRIPTION="What Is This: -A Binary Clock. And yes, you really can use this to tell time! I have found it quite enjoyable to reprogram my brain to learn to read it at a glance. It just takes a little getting used to. Detailed directions on how to read it are included at the end of this file." +A Binary Clock. And yes, you really can use this to tell time! I +have found it quite enjoyable to reprogram my brain to learn to read +it at a glance. It just takes a little getting used to. Detailed +directions on how to read it are included at the end of this file." HOMEPAGE="http://github.com/HaikuArchives/BinaryClock" -SRC_URI="git://github.com/HaikuArchives/BinaryClock" -REVISION="1" +SRC_URI="git://github.com/HaikuArchives/BinaryClock#5d04da1137" +REVISION="2" LICENSE="GNU GPL v2" COPYRIGHT="2000 David Enderson" -ARCHITECTURES="x86_gcc2 x86 x86_64" +ARCHITECTURES="x86_gcc2 !x86 !x86_64" PROVIDES=" app:binary_clock = $portVersion @@ -23,29 +26,26 @@ BUILD_REQUIRES=" " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion cmd:make cmd:gcc cmd:ld " USER_SETTINGS_FILES=" - settings/BinaryClock_2.xx "directory" + settings/BinaryClock_2.xx " -SOURCE_DIR="BinaryClock-master" - BUILD() { cd Application g++ -o BinaryClock *.cpp -lbe -ltranslation xres -o BinaryClock BinaryClock.rsrc + mimeset -f BinaryClock } + INSTALL() { - mkdir -p $appsDir - - cd Application - cp BinaryClock $appsDir + mkdir -p $appsDir + cp Application/BinaryClock $appsDir addAppDeskbarSymlink $appsDir/BinaryClock "Binary Clock" } diff --git a/haiku-apps/dockbert/dockbert-1.0.2b1.recipe b/haiku-apps/dockbert/dockbert-1.0.2b1.recipe index 2a9b0db16..9dd4a60ef 100644 --- a/haiku-apps/dockbert/dockbert-1.0.2b1.recipe +++ b/haiku-apps/dockbert/dockbert-1.0.2b1.recipe @@ -1,13 +1,13 @@ DESCRIPTION="DockBert is a Deskbar modification. It adds a dock to your deskbar where you may have shortcuts organized in "tabs", a tab of the running apps and some other general eyecandy." SUMMARY="DockBert adds a dock to your deskbar" HOMEPAGE="https://github.com/HaikuArchives/DockBert" -SRC_URI="git+https://github.com/HaikuArchives/DockBert" +SRC_URI="git+https://github.com/HaikuArchives/DockBert#057c54674d" COPYRIGHT="2005 yellowTAB GmbH" LICENSE="BSD (3-clause)" -REVISION="1" +REVISION="2" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" dockbert = $portVersion @@ -19,30 +19,28 @@ REQUIRES=" " BUILD_REQUIRES=" + haiku_devel >= $haikuVersion " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine cmd:gcc cmd:make cmd:mkdepend " +PATCHES="dockbert-1.0.2b1.patchset" + BUILD() { cd trunk - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() -{ - architecture=$(echo $buildArchitecture | sed 's/_/-/g') - - cd trunk/objects.$architecture-debug - - mkdir -p $appsDir/Dock - cp -a Dock $appsDir/Dock - - addAppDeskbarSymlink $appsDir/Dock/Dock +{ + mkdir -p $appsDir + cp -a trunk/objects/Dock $appsDir/Dock + addAppDeskbarSymlink $appsDir/Dock } diff --git a/haiku-apps/dockbert/patches/dockbert-1.0.2b1.patchset b/haiku-apps/dockbert/patches/dockbert-1.0.2b1.patchset new file mode 100644 index 000000000..7d7c88028 --- /dev/null +++ b/haiku-apps/dockbert/patches/dockbert-1.0.2b1.patchset @@ -0,0 +1,22 @@ +From c7dd365b426c78ef62bfb1b1b8ba149e9b6a7afb Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 18:12:54 -0700 +Subject: Fix makefile stdc++ libs + + +diff --git a/trunk/Makefile b/trunk/Makefile +index fa6193c..748e5fd 100644 +--- a/trunk/Makefile ++++ b/trunk/Makefile +@@ -60,7 +60,7 @@ RSRCS= dockbert.rsrc + # 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= be tracker stdc++.r4 locale localestub ++LIBS= be tracker $(STDCPPLIBS) localestub + + # specify additional paths to directories following the standard + # libXXX.so or libXXX.a naming scheme. You can specify full paths +-- +1.8.3.4 + diff --git a/haiku-apps/documentviewer/documentviewer-0.3.2.recipe b/haiku-apps/documentviewer/documentviewer-0.3.2.recipe index f1ea0c856..439e422c4 100644 --- a/haiku-apps/documentviewer/documentviewer-0.3.2.recipe +++ b/haiku-apps/documentviewer/documentviewer-0.3.2.recipe @@ -5,7 +5,7 @@ COPYRIGHT="2010-2012 Haiku, Inc" HOMEPAGE="http://haiku.bplaced.net/" SRC_URI="http://haiku.bplaced.net/DocumentViewer/sources/documentviewer-0.3.2.zip" CHECKSUM_MD5="1fddc4292ecb14f343eb18b0bf723b13" -REVISION="1" +REVISION="2" ARCHITECTURES="x86" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then # x86_gcc2 is fine as primary target architecture as long as we're building @@ -32,6 +32,7 @@ REQUIRES=" " BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion devel:libdjvulibre devel:libfitz devel:libfreetype @@ -42,7 +43,6 @@ BUILD_REQUIRES=" " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:jam cmd:g++$secondaryArchSuffix " @@ -58,6 +58,5 @@ INSTALL() { mkdir -p $appsDir cp application/DocumentViewer $appsDir - addAppDeskbarSymlink $appsDir/DocumentViewer } diff --git a/haiku-apps/filecropper/filecropper-1.recipe b/haiku-apps/filecropper/filecropper-1.recipe index 58ebaec8b..421a5d542 100644 --- a/haiku-apps/filecropper/filecropper-1.recipe +++ b/haiku-apps/filecropper/filecropper-1.recipe @@ -1,32 +1,38 @@ DESCRIPTION="About FileCropper: -Truncates files of any kind. Cuts off everything from a given offset (bytes) to the end of the file. (GUI app)." -SUMMARY="Truncates files of any kind. Cuts off everything from a given offset (bytes) to the end of the file. (GUI app)." +Truncates files of any kind. Cuts off everything from a given offset +(bytes) to the end of the file. (GUI app)." +SUMMARY="Truncates files of any kind." +COPYRIGHT="2002 Maurice Michalski" +LICENSE="MIT" HOMEPAGE="https://github.com/HaikuArchives/FileCropper" -SRC_URI="git+git://github.com/HaikuArchives/FileCropper.git" -REVISION="1" +SRC_URI="git://github.com/HaikuArchives/FileCropper.git#0dde0f752a" +REVISION="2" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" filecropper = $portVersion - app:filecropper = $portVersion" - -BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion - cmd:gcc - cmd:xres" + app:filecropper = $portVersion + " REQUIRES=" - haiku >= $haikuVersion" + haiku >= $haikuVersion + " -COPYRIGHT="2002 Maurice Michalski" +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " -LICENSE="MIT" +BUILD_PREREQUIRES=" + cmd:gcc + cmd:xres + " BUILD() { g++ app.cpp mainWindow.cpp -lbe -o FileCropper xres -o FileCropper FileCropper.rsrc + mimeset -f FileCropper } INSTALL() diff --git a/haiku-apps/ftppositive/ftppositive-1.0.recipe b/haiku-apps/ftppositive/ftppositive-1.0.recipe index 7e4997c61..9ad712d8e 100644 --- a/haiku-apps/ftppositive/ftppositive-1.0.recipe +++ b/haiku-apps/ftppositive/ftppositive-1.0.recipe @@ -1,20 +1,28 @@ DESCRIPTION="FtpPositive is a simple graphical FTP client." SUMMARY="A simple graphical FTP client" HOMEPAGE="https://github.com/HaikuArchives/FtpPositive" -SRC_URI="git+https://github.com/HaikuArchives/FtpPositive" +SRC_URI="git+https://github.com/HaikuArchives/FtpPositive#442f47a22f" COPYRIGHT="2007 momoziro" LICENSE="FtpPositive" -REVISION="1" +REVISION="2" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" ftppositive = $portVersion - app:ftppositive = $portVersion" + app:ftppositive = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion cmd:gcc cmd:jam" @@ -22,14 +30,14 @@ BUILD() { cd src jam + + #too lazy to fix the jamfile + mimeset -f FtpPositive } INSTALL() { - cd src - - mkdir -p $appsDir/FtpPositive - cp -a FtpPositive $appsDir/FtpPositive - - addAppDeskbarSymlink $appsDir/FtpPositive/FtpPositive + mkdir -p $appsDir + cp -a src/FtpPositive $appsDir + addAppDeskbarSymlink $appsDir/FtpPositive } diff --git a/haiku-apps/hare/hare-beta1_git.recipe b/haiku-apps/hare/hare-beta1_git.recipe index 2b914b37f..d6ff3eb19 100644 --- a/haiku-apps/hare/hare-beta1_git.recipe +++ b/haiku-apps/hare/hare-beta1_git.recipe @@ -10,13 +10,15 @@ COPYRIGHT="2000 FlipSide Software REVISION="1" -ARCHITECTURES="x86_gcc2 x86 ?x86_64" +ARCHITECTURES="x86_gcc2 !x86 !x86_64" PROVIDES=" Hare = $portVersion + app:Hare = $portVersion " REQUIRES=" + haiku >= $haikuVersion # lib:liblame # lib:liboggenc # lib:libflac @@ -25,19 +27,16 @@ REQUIRES=" " BUILD_REQUIRES=" - haiku >= $haikuVersion + haiku${secondaryArchSuffix}_devel >= $haikuVersion devel:libtag$secondaryArchSuffix " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:gcc$secondaryArchSuffix cmd:cmake cmd:make " -SOURCE_DIRECTORY="hare-beta1_git" - BUILD() { cmake . @@ -48,7 +47,6 @@ INSTALL() { mkdir -p $appsDir/Hare cp -r build/* $appsDir/Hare - addAppDeskbarSymlink $appsDir/Hare/Hare Hare } diff --git a/haiku-apps/jammin/jammin-0.1.0.recipe b/haiku-apps/jammin/jammin-0.1.0.recipe index 4713577fa..920ae8ccd 100644 --- a/haiku-apps/jammin/jammin-0.1.0.recipe +++ b/haiku-apps/jammin/jammin-0.1.0.recipe @@ -1,41 +1,49 @@ DESCRIPTION="The JamMin manages your jamfiles. -Jamfiles are the thing that is most important to the user, bacause they declare the targets that should be built. Jamfiles are also used for organizing targets— each Jamfile is a separate project that can be built independently from the other projects." +Jamfiles are the thing that is most important to the user, bacause +they declare the targets that should be built. Jamfiles are also used +for organizing targets— each Jamfile is a separate project that can be +built independently from the other projects." SUMMARY="The Jamfile Administrator" HOMEPAGE="https://github.com/HaikuArchives/JamMin" -SRC_URI="git+https://github.com/HaikuArchives/JamMin.git" -REVISION="1" - +SRC_URI="git+https://github.com/HaikuArchives/JamMin.git#681e87d6d4" +REVISION="2" COPYRIGHT="2003 Guido Casiraghi" - LICENSE="MIT" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 !x86 !x86_64" PROVIDES=" JamMin = $portVersion - app:JamMin = $portVersion" + app:JamMin = $portVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine cmd:gcc cmd:make - cmd:mkdepend" + cmd:mkdepend + " REQUIRES=" - haiku >= $haikuVersion" + haiku >= $haikuVersion + " PATCHES="jampatch-1.patch" BUILD() { - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() { mkdir -p $appsDir - cp objects.x86-gcc2-release/JamApp $appsDir + cp objects/JamApp $appsDir addAppDeskbarSymlink $appsDir/JamApp } diff --git a/haiku-apps/nightandday/nightsandday-0.1.2.recipe b/haiku-apps/nightandday/nightsandday-0.1.2.recipe index 0cb397820..63abe693d 100644 --- a/haiku-apps/nightandday/nightsandday-0.1.2.recipe +++ b/haiku-apps/nightandday/nightsandday-0.1.2.recipe @@ -1,29 +1,38 @@ -DESCRIPTION="This program was inspired by the 'TaveDesktop' program by the Tave Software Group. I think that 'TaveDesktop' was a good idea, but I wanted to be able to choose my own colors, since the 'TaveDesktop' colors looks bad on an 8bpp display. -This program should be self-explanatory. You'll find a small Popup menu when clicking the small screen at the top-right corner of the window." -SUMMARY="Automatic desktop color changer" -HOMEPAGE="https://github.com/HaikuArchives/NightAndDay" -SRC_URI="git+git://github.com/HaikuArchives/NightAndDay.git" -REVISION="1" +DESCRIPTION=" +This program was inspired by the 'TaveDesktop' program by the Tave +Software Group. I think that 'TaveDesktop' was a good idea, but I +wanted to be able to choose my own colors, since the 'TaveDesktop' +colors looks bad on an 8bpp display. -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +This program should be self-explanatory. You'll find a small Popup +menu when clicking the small screen at the top-right corner of the +window." +SUMMARY="Automatic desktop color changer" +COPYRIGHT="1998-1999 Jean-Baptiste M. Queru" +LICENSE="GNU GPL v2" +HOMEPAGE="https://github.com/HaikuArchives/NightAndDay" +SRC_URI="git+git://github.com/HaikuArchives/NightAndDay.git#3bcc1a5a39" +REVISION="2" + +ARCHITECTURES="x86_gcc2 !x86 !x86_64" PROVIDES=" - nightanddays = $portVersion - app:nightanddays = $portVersion" + nightanddays = $portVersion + app:nightanddays = $portVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion - cmd:gcc - cmd:ld" + cmd:gcc + cmd:ld + " REQUIRES=" - haiku >= $haikuVersion" - -COPYRIGHT="1998-1999 Jean-Baptiste M. Queru" - -LICENSE="GNU GPL v2" - -SOURCE_DIR="src" + haiku >= $haikuVersion + " BUILD() { @@ -33,9 +42,9 @@ BUILD() INSTALL() { - NDDir=$appsDir/NightAndDay - mkdir -p $NDDir - cp src/NightAndDay $NDDir/NightAndDay - cp ReadMe $NDDir/ReadMe - addAppDeskbarSymlink $NDDir/NightAndDay + mkdir -p $appsDir + cp src/NightAndDay $appsDir + mkdir -p $docDir + cp ReadMe $docDir + addAppDeskbarSymlink $appsDir/NightAndDay } diff --git a/haiku-apps/organizer/organizer-0.1.recipe b/haiku-apps/organizer/organizer-0.1.recipe index d33820b3e..bb3d4e6ac 100644 --- a/haiku-apps/organizer/organizer-0.1.recipe +++ b/haiku-apps/organizer/organizer-0.1.recipe @@ -1,39 +1,45 @@ -DESCRIPTION="organizer - An organizer that helps you keep track on your appointments, notes and stuff." +DESCRIPTION="An organizer that helps you keep track on your appointments, notes and stuff." SUMMARY="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" -REVISION="1" +SRC_URI="git+https://github.com/HaikuArchives/Organizer#a534f0e992" +REVISION="2" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" organizer = $portVersion app:organizer = $portVersion - lib:libfSub" + lib:libfSub + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine cmd:gcc cmd:make - cmd:mkdepend" + cmd:mkdepend + " REQUIRES=" - haiku >= $haikuVersion" + haiku >= $haikuVersion + " PATCHES="organizer-0.1.patch" USER_SETTINGS_FILES=" settings/fSub directory" -COPYRIGHT="2013 Marius Stene" -LICENSE="Public Domain" +PATCHES="organizer-0.1.patchset" BUILD() { cd Source - mkdir lib/lib - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() diff --git a/haiku-apps/organizer/patches/organizer-0.1.patch b/haiku-apps/organizer/patches/organizer-0.1.patch deleted file mode 100644 index 91741f39f..000000000 --- a/haiku-apps/organizer/patches/organizer-0.1.patch +++ /dev/null @@ -1,258 +0,0 @@ -diff -ur Organizer/Source/App/calenderView.cpp Organizer-fix/Source/App/calenderView.cpp ---- Organizer/Source/App/calenderView.cpp 2013-11-22 11:46:04.618659840 +0000 -+++ Organizer-fix/Source/App/calenderView.cpp 2013-11-22 11:46:00.566755328 +0000 -@@ -55,7 +55,7 @@ - //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 -ur Organizer/Source/App/editScriptView.cpp Organizer-fix/Source/App/editScriptView.cpp ---- Organizer/Source/App/editScriptView.cpp 2013-11-22 11:46:04.629669888 +0000 -+++ Organizer-fix/Source/App/editScriptView.cpp 2013-11-22 11:46:00.575143936 +0000 -@@ -145,7 +145,7 @@ - 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 @@ - 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 -ur Organizer/Source/App/editWindow.cpp Organizer-fix/Source/App/editWindow.cpp ---- Organizer/Source/App/editWindow.cpp 2013-11-22 11:46:04.633864192 +0000 -+++ Organizer-fix/Source/App/editWindow.cpp 2013-11-22 11:46:00.578027520 +0000 -@@ -302,7 +302,7 @@ - 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 @@ - 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 @@ - 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 @@ - 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 -ur Organizer/Source/App/exportWindow.cpp Organizer-fix/Source/App/exportWindow.cpp ---- Organizer/Source/App/exportWindow.cpp 2013-11-22 11:46:04.641466368 +0000 -+++ Organizer-fix/Source/App/exportWindow.cpp 2013-11-22 11:46:00.583794688 +0000 -@@ -114,7 +114,7 @@ - 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 -ur Organizer/Source/App/main.cpp Organizer-fix/Source/App/main.cpp ---- Organizer/Source/App/main.cpp 2013-11-22 11:46:04.650641408 +0000 -+++ Organizer-fix/Source/App/main.cpp 2013-11-22 11:46:00.590086144 +0000 -@@ -11,7 +11,7 @@ - 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 @@ - \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 @@ - 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 @@ - mApp::CheckForUpdateThread_static(void *data) - { - mApp *check4updates = (mApp *)data; -- check4updates->CheckForUpdateThread(); -+ //check4updates->CheckForUpdateThread(); - return 0; - } - -@@ -577,7 +577,7 @@ - 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 @@ - 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 -ur Organizer/Source/App/makefile Organizer-fix/Source/App/makefile ---- Organizer/Source/App/makefile 2013-11-22 11:46:04.654835712 +0000 -+++ Organizer-fix/Source/App/makefile 2013-11-22 11:46:00.593231872 +0000 -@@ -29,7 +29,7 @@ - translation \ - fSub - DEFINES= --LIBPATHS= ../../lib -+LIBPATHS= ../lib - - SYSTEM_INCLUDE_PATHS = - LOCAL_INCLUDE_PATHS = -diff -ur Organizer/Source/App/mWindow.cpp Organizer-fix/Source/App/mWindow.cpp ---- Organizer/Source/App/mWindow.cpp 2013-11-22 11:46:04.646184960 +0000 -+++ Organizer-fix/Source/App/mWindow.cpp 2013-11-22 11:46:00.586940416 +0000 -@@ -339,7 +339,7 @@ - { - 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 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 -ur Organizer/Source/App/obsolete/Language.cpp Organizer-fix/Source/App/obsolete/Language.cpp ---- Organizer/Source/App/obsolete/Language.cpp 2013-11-22 11:46:04.667942912 +0000 -+++ Organizer-fix/Source/App/obsolete/Language.cpp 2013-11-22 11:46:00.659292160 +0000 -@@ -201,7 +201,7 @@ - { - 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 -ur Organizer/Source/App/preferencesView.cpp Organizer-fix/Source/App/preferencesView.cpp ---- Organizer/Source/App/preferencesView.cpp 2013-11-22 11:46:04.678428672 +0000 -+++ Organizer-fix/Source/App/preferencesView.cpp 2013-11-22 11:46:00.665583616 +0000 -@@ -49,7 +49,7 @@ - - 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 -ur Organizer/Source/App/preferencesWindow.cpp Organizer-fix/Source/App/preferencesWindow.cpp ---- Organizer/Source/App/preferencesWindow.cpp 2013-11-22 11:46:04.681836544 +0000 -+++ Organizer-fix/Source/App/preferencesWindow.cpp 2013-11-22 11:46:00.668729344 +0000 -@@ -39,7 +39,7 @@ - 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 -ur Organizer/Source/App/Secret/glView.cpp Organizer-fix/Source/App/Secret/glView.cpp ---- Organizer/Source/App/Secret/glView.cpp 2013-11-22 11:46:04.602669056 +0000 -+++ Organizer-fix/Source/App/Secret/glView.cpp 2013-11-22 11:46:00.556531712 +0000 -@@ -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 @@ - // 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 @@ - 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 @@ - 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 -ur Organizer/Source/lib/makefile Organizer-fix/Source/lib/makefile ---- Organizer/Source/lib/makefile 2013-11-22 11:46:04.719585280 +0000 -+++ Organizer-fix/Source/lib/makefile 2013-11-22 11:46:00.701235200 +0000 -@@ -1,4 +1,4 @@ --NAME= ../../../lib/libfSub.so -+NAME= ../libfSub.so - TYPE= SHARED - SRCS= Bitmap.cpp \ - Bubble.cpp \ diff --git a/haiku-apps/organizer/patches/organizer-0.1.patchset b/haiku-apps/organizer/patches/organizer-0.1.patchset new file mode 100644 index 000000000..3bf5d9b7d --- /dev/null +++ b/haiku-apps/organizer/patches/organizer-0.1.patchset @@ -0,0 +1,562 @@ +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 + diff --git a/haiku-apps/phantomlimb/phantomlimb-1.recipe b/haiku-apps/phantomlimb/phantomlimb-1.recipe index 4cfcb7062..df0ba729c 100644 --- a/haiku-apps/phantomlimb/phantomlimb-1.recipe +++ b/haiku-apps/phantomlimb/phantomlimb-1.recipe @@ -1,48 +1,59 @@ -DESCRIPTION="PhantomLimb is a little program to generate tones, and test your discrimination of frequency deltas. I wrote it for a friend of mine who is suffering from tinnitus ('ringing in the ears') due to an ear infection. (the infection destroyed some nerve cells in his inner ear, and the lack of signals from the destroyed nerve cells is what causes the ringing--similar to the 'phantom limb' sensations experienced by amputees. Hence the name of this program) By practicing discriminating between the sound of the tinnitus and 'nearby' sounds, he hopes to be able to train his brain to discriminate between the 'phantom' sound and other, real sounds." - SUMMARY="PhantomLimb is a little program to generate tones, and test your discrimination of frequency deltas." -HOMEPAGE="https://github.com/HaikuArchives/PhantomLimb" -SRC_URI="git+git://github.com/HaikuArchives/PhantomLimb.git" -REVISION="1" - -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" - -PROVIDES=" - phantomlimb = $portVersion - app:phantomlimb = $portVersion" - -BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion - cmd:g++ - cmd:xres" - -REQUIRES=" - haiku >= $haikuVersion" - +DESCRIPTION=" +PhantomLimb is a little program to generate tones, and test your +discrimination of frequency deltas. I wrote it for a friend of mine +who is suffering from tinnitus ('ringing in the ears') due to an ear +infection. (the infection destroyed some nerve cells in his inner +ear, and the lack of signals from the destroyed nerve cells is what +causes the ringing--similar to the 'phantom limb' sensations +experienced by amputees. Hence the name of this program) By +practicing discriminating between the sound of the tinnitus and +'nearby' sounds, he hopes to be able to train his brain to +discriminate between the 'phantom' sound and other, real sounds." COPYRIGHT=" 2001 Ben Loftis 2013 Jeremy Friesner" - LICENSE="Public Domain" +HOMEPAGE="https://github.com/HaikuArchives/PhantomLimb" +SRC_URI="git+git://github.com/HaikuArchives/PhantomLimb.git#5444867ac9" +REVISION="2" + +ARCHITECTURES="x86_gcc2 x86 ?x86_64" + +PROVIDES=" + phantomlimb = $portVersion + app:phantomlimb = $portVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" + cmd:g++ + cmd:xres + " + +REQUIRES=" + haiku >= $haikuVersion + " BUILD() { cd source - gcc -c -o PhantomApp.o PhantomApp.cpp - gcc -c -o PhantomWindow.o PhantomWindow.cpp - gcc -c -o PhantomPlayer.o PhantomPlayer.cpp -D PI=3.141592 - gcc -c -o PhantomView.o PhantomView.cpp - gcc -c -o LRUEntry.o LRUEntry.cpp - gcc -o PhantomLimb PhantomApp.o PhantomWindow.o PhantomPlayer.o PhantomView.o LRUEntry.o -lbe -lmedia + gcc -c -o PhantomApp.o PhantomApp.cpp + gcc -c -o PhantomWindow.o PhantomWindow.cpp + gcc -c -o PhantomPlayer.o PhantomPlayer.cpp -D PI=3.141592 + gcc -c -o PhantomView.o PhantomView.cpp + gcc -c -o LRUEntry.o LRUEntry.cpp + g++ -o PhantomLimb PhantomApp.o PhantomWindow.o PhantomPlayer.o PhantomView.o LRUEntry.o -lbe -lmedia xres -o PhantomLimb Phantom.rsrc - cd .. + mimeset -f PhantomLimb } INSTALL() { - cd source mkdir -p $appsDir - cp PhantomLimb $appsDir + cp source/PhantomLimb $appsDir addAppDeskbarSymlink $appsDir/PhantomLimb - cd .. } diff --git a/haiku-apps/querywatcher/patches/querywatcher-1.4.patchset b/haiku-apps/querywatcher/patches/querywatcher-1.4.patchset new file mode 100644 index 000000000..3dbf69223 --- /dev/null +++ b/haiku-apps/querywatcher/patches/querywatcher-1.4.patchset @@ -0,0 +1,109 @@ +From 88d1ebaf009131526657d0e848495b46bc001aee Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 19:32:02 -0700 +Subject: Misc gcc4 fixes + + +diff --git a/src/App.cpp b/src/App.cpp +index 6dd6ad8..25a4bac 100644 +--- a/src/App.cpp ++++ b/src/App.cpp +@@ -41,7 +41,7 @@ const char *kTrackerQueryVolume = "_trk/qryvol1"; + #include + + // Yes, globals are bad. But, sssh! +-typedef list reflist; ++typedef std::list reflist; + reflist gIgnoreList; + BPath gSettingsPath; + +@@ -57,7 +57,7 @@ struct query_load_info + BRect rect; + }; + +-typedef list vollist; ++typedef std::list vollist; + + char *ReadAttribute(BNode node, const char *attribute, int32 *length = NULL) { + attr_info info; +@@ -583,7 +583,7 @@ QueryView::ShouldIgnore( BMessage * msg ) + ref.node = node; + ref.device = device; + +- list::iterator iter; ++ std::list::iterator iter; + iter = find(fIgnoredMatches.begin(), fIgnoredMatches.end(), ref); + + if ( iter == fIgnoredMatches.end() ) +@@ -601,7 +601,7 @@ QueryView::ShouldIgnore( BMessage * msg ) + if ( !result ) + { + // remove node from ignore list if present +- list::iterator iter; ++ std::list::iterator iter; + + node_ref ref; + ref.node = node; +@@ -619,7 +619,7 @@ QueryView::ShouldIgnore( BMessage * msg ) + if ( opcode == B_ENTRY_REMOVED ) + { + // remove from fIgnoredMatches if there +- list::iterator iter; ++ std::list::iterator iter; + + node_ref ref; + ref.node = node; +@@ -653,7 +653,7 @@ QueryView::MessageReceived(BMessage* msg) + msg->FindInt32("device",&node.device); + msg->FindInt64("node",&node.node); + +- list::iterator iter; ++ std::list::iterator iter; + + iter = find(fIgnoredMatches.begin(),fIgnoredMatches.end(),node); + +diff --git a/src/App.h b/src/App.h +index fe5e49c..765eabe 100644 +--- a/src/App.h ++++ b/src/App.h +@@ -28,7 +28,7 @@ class LabelView; + class ColorView; + + // slaad +-typedef list querylist; ++typedef std::list querylist; + + class App : public BApplication + { +@@ -104,7 +104,7 @@ private: + BString fPredicate; + + // eiman +- list fIgnoredMatches; ++ std::list fIgnoredMatches; + }; + + IMPEXP class LabelView : public BStringView +diff --git a/src/makefile b/src/makefile +index 07ea621..ac5d9b2 100644 +--- a/src/makefile ++++ b/src/makefile +@@ -47,7 +47,7 @@ SRCS := \ + # 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= be ++LIBS= be $(STDCPPLIBS) + + # specify additional paths to directories following the standard + # libXXX.so or libXXX.a naming scheme. You can specify full paths +@@ -149,4 +149,4 @@ else + LIBS += zeta tracker + endif + +-include $(BUILDHOME)/etc/makefile-engine +\ No newline at end of file ++include $(BUILDHOME)/etc/makefile-engine +-- +1.8.3.4 + diff --git a/haiku-apps/querywatcher/querywatcher-1.4.recipe b/haiku-apps/querywatcher/querywatcher-1.4.recipe index c82279f28..b7df8c79b 100644 --- a/haiku-apps/querywatcher/querywatcher-1.4.recipe +++ b/haiku-apps/querywatcher/querywatcher-1.4.recipe @@ -1,43 +1,54 @@ SUMMARY="An application that monitors Tracker queries." -DESCRIPTION="This is a tiny little GUI application that monitors any regular Tracker queries and displays miniature indicator lights for the presence of results." +DESCRIPTION=" +This is a tiny little GUI application that monitors any regular +Tracker queries and displays miniature indicator lights for the +presence of results." HOMEPAGE="https://github.com/HaikuArchives/QueryWatcher" -SRC_URI="git://github.com/HaikuArchives/QueryWatcher.git" +SRC_URI="git://github.com/HaikuArchives/QueryWatcher.git#64b66ee9e9" LICENSE="Public Domain" COPYRIGHT=" 2003-2004 Michael Armida 2004 Mikael Eiman 2004 Michael Davidson " - -REVISION="1" +REVISION="2" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" -PROVIDES="app:QueryWatcher = $portVersion" +PROVIDES=" + QueryWatcher = $portVersion + app:QueryWatcher = $portVersion + " REQUIRES=" haiku >= $haikuVersion " -BUILD_REQUIRES="" +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine cmd:gcc cmd:make cmd:mkdepend " -SOURCE_DIR="src/src" +PATCHES="querywatcher-1.4.patchset" BUILD() { - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + cd src + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() { - mkdir -p $appsDir /QueryWatcher - cp -a objects.x86-gcc2-release/QueryWatcher $appsDir/QueryWatcher + mkdir -p $appsDir + cp -a src/objects/QueryWatcher $appsDir addAppDeskbarSymlink $appsDir/QueryWatcher + + mkdir -p $docDir + cp README $docDir } diff --git a/haiku-apps/resourcer/resourcer-1.0.recipe b/haiku-apps/resourcer/resourcer-1.0.recipe index 4df073f17..17ea2d7e2 100644 --- a/haiku-apps/resourcer/resourcer-1.0.recipe +++ b/haiku-apps/resourcer/resourcer-1.0.recipe @@ -1,17 +1,25 @@ -DESCRIPTION="Resourcer is an all-purpose resource and attribute editor with a full-featured interface editor. It also contains plug-in editors for 31 other data types, including images, cursors, sounds, movies, text, and icons." -SUMMARY="Resourcer is an all-purpose resource and attribute editor with a full-featured interface editor." +SUMMARY="A resource and attribute editor with a full-featured interface editor." +DESCRIPTION=" +Resourcer is an all-purpose resource and attribute editor with a +full-featured interface editor. It also contains plug-in editors for +31 other data types, including images, cursors, sounds, movies, text, +and icons." +COPYRIGHT="2000 Nathan Whitehorn" +LICENSE="BSD (3-clause)" HOMEPAGE="https://gitorious.org/desknotes/resourcer" -SRC_URI="git+https://git.gitorious.org/desknotes/resourcer.git" -REVISION="1" +SRC_URI="git+https://git.gitorious.org/desknotes/resourcer.git#b93cb9e" +REVISION="2" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64" PROVIDES=" resourcer = $portVersion - app:resourcer = $portVersion" + app:resourcer = $portVersion + " REQUIRES=" - haiku >= $haikuVersion" + haiku >= $haikuVersion + " BUILD_PREREQUIRES=" makefile_engine @@ -20,17 +28,14 @@ BUILD_PREREQUIRES=" cmd:mkdepend" BUILD_REQUIRES=" - haiku_devel >= $haikuVersion" - -COPYRIGHT=" - 2000 Nathan Whitehorn" - -LICENSE="BSD (3-clause)" + haiku_devel >= $haikuVersion + " BUILD() { cd main - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` # The two next steps might not be required # The first one probably isn't, because according to the description @@ -38,10 +43,12 @@ BUILD() # but I'm not really sure about the second one cd ../editors - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` cd ../reslib - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() @@ -50,13 +57,8 @@ INSTALL() # because I can't figure out how the files in the other directories # should be installed - cd main - - architecture=`echo $buildArchitecture | sed 's/_/-/g'` - - cd objects.$architecture-release mkdir -p $appsDir - cp -a Resourcer $appsDir + cp -a main/objects/Resourcer $appsDir addAppDeskbarSymlink $appsDir/Resourcer } diff --git a/haiku-apps/runprogram/patches/runprogram-1.0rc1.patch b/haiku-apps/runprogram/patches/runprogram-1.0rc1.patchset similarity index 57% rename from haiku-apps/runprogram/patches/runprogram-1.0rc1.patch rename to haiku-apps/runprogram/patches/runprogram-1.0rc1.patchset index 9c7c0a011..0a2c636eb 100644 --- a/haiku-apps/runprogram/patches/runprogram-1.0rc1.patch +++ b/haiku-apps/runprogram/patches/runprogram-1.0rc1.patchset @@ -1,11 +1,8 @@ -From fc9ee0911f7ea1881eed295c0cca7470b1c35a14 Mon Sep 17 00:00:00 2001 -From: Luke -Date: Mon, 25 Nov 2013 21:02:41 +0000 -Subject: [PATCH] COMMON -> SYSTEM +From 6b3517facc71d33974bfd81a78a7567704a94554 Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 19:41:16 -0700 +Subject: applying patch runprogram-1.0rc1.patch ---- - src/ExeBox.cpp | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ExeBox.cpp b/src/ExeBox.cpp index b4ee544..b3c3bb2 100644 @@ -41,3 +38,26 @@ index b4ee544..b3c3bb2 100644 -- 1.8.3.4 + +From 522d633b7593a3009fbccf0da8efd3943cceb31b Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 19:46:25 -0700 +Subject: Fix includes for building with gcc4 + + +diff --git a/src/ExeBox.cpp b/src/ExeBox.cpp +index b3c3bb2..4d154bb 100644 +--- a/src/ExeBox.cpp ++++ b/src/ExeBox.cpp +@@ -13,6 +13,8 @@ + #include + #include + ++#include ++ + static BObjectList *sPathData = NULL; + BLocker sPathDataLock; + thread_id sThreadID = -1; +-- +1.8.3.4 + diff --git a/haiku-apps/runprogram/runprogram-1.0rc1.recipe b/haiku-apps/runprogram/runprogram-1.0rc1.recipe index 51ea61570..7f3a50bc7 100644 --- a/haiku-apps/runprogram/runprogram-1.0rc1.recipe +++ b/haiku-apps/runprogram/runprogram-1.0rc1.recipe @@ -11,32 +11,33 @@ HOMEPAGE="https://github.com/HaikuArchives/RunProgram" SRC_URI="git+git://github.com/HaikuArchives/RunProgram.git#a8fe29319e8dde884d8634a0c5a82838a3706563" LICENSE="MIT" COPYRIGHT="2008 DarkWyrm" -REVISION="1" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +REVISION="2" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" RunProgram = $portVersion + app:RunProgram = $portVersion " REQUIRES=" haiku >= $haikuVersion " -BUILD_REQUIRES="" -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" cmd:gcc + cmd:xres " -PATCHES=" - runprogram-1.0rc1.patch - " - -SOURCE_DIR="$portName-a8fe29319e8dde884d8634a0c5a82838a3706563" +PATCHES="runprogram-1.0rc1.patchset" BUILD() { cd src + rm -f ObjectList.h g++ -o RunProgram -lbe \ AutoTextControl.cpp \ ExeBox.cpp \ @@ -44,6 +45,7 @@ BUILD() RunWindow.cpp \ TextFile.cpp xres -o RunProgram "Run Program.rsrc" + mimeset -f RunProgram } INSTALL() diff --git a/haiku-apps/sum_it/sum_it-0.2beta.recipe b/haiku-apps/sum_it/sum_it-0.2beta.recipe index cacd46b2e..a16aaf719 100644 --- a/haiku-apps/sum_it/sum_it-0.2beta.recipe +++ b/haiku-apps/sum_it/sum_it-0.2beta.recipe @@ -1,8 +1,18 @@ SUMMARY="Sum-It is a native spreadsheet for BeOS" +DESCRIPTION=" +Sum-It is a spreadsheet for BeOS (Download BeOS for free). This is Open Sum-It, +the open source version of Maarten Hekkelman's Sum-It application. +Sum-It has many features, including a plug-in architecture for formulas and +graphs. This product includes software developed by Hekkelman Programmatuur B.V. +" +LICENSE="BSD (4-clause)" +COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V. All rights reserved. + 1999-2000 Tim Vernum. All rights reserved." HOMEPAGE="https://github.com/HaikuArchives/OpenSumIt" -SRC_URI="git+https://github.com/HaikuArchives/OpenSumIt.git" -REVISION="1" -ARCHITECTURES="x86 x86_gcc2" +SRC_URI="git+https://github.com/HaikuArchives/OpenSumIt.git#cdab184a27" +REVISION="2" +ARCHITECTURES="!x86 x86_gcc2" + PROVIDES=" sum_it = $portVersion app:sum_it = $portVersion @@ -10,11 +20,15 @@ PROVIDES=" BUILD_REQUIRES=" haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" cmd:make cmd:gcc cmd:flex cmd:bison " + BUILD() { pushd bsl @@ -36,16 +50,5 @@ INSTALL() { mkdir -p $appsDir cp sum-it/OpenSum-It $appsDir/Sum-It - addAppDeskbarSymlink $appsDir/Sum-It } - -LICENSE="BSD (4-clause)" -COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V. All rights reserved. - 1999-2000 Tim Vernum. All rights reserved." -DESCRIPTION=" -Sum-It is a spreadsheet for BeOS (Download BeOS for free). This is Open Sum-It, -the open source version of Maarten Hekkelman's Sum-It application. -Sum-It has many features, including a plug-in architecture for formulas and -graphs. This product includes software developed by Hekkelman Programmatuur B.V. -" diff --git a/haiku-apps/systeminfo/systeminfo-2.recipe b/haiku-apps/systeminfo/systeminfo-2.recipe index 444fbee8f..145a760c7 100644 --- a/haiku-apps/systeminfo/systeminfo-2.recipe +++ b/haiku-apps/systeminfo/systeminfo-2.recipe @@ -1,3 +1,4 @@ +SUMMARY="A system monitor for Haiku" DESCRIPTION="It is an little application through which we can see some statistics about our system. It currently only shows: -CPU 0 usage @@ -5,34 +6,40 @@ It currently only shows: -Memory usage -Boot disk used space -Uptime" -SUMMARY="A system monitor for Haiku" -HOMEPAGE="https://github.com/disreali/SystemInfo" -SRC_URI="git+git://github.com/disreali/SystemInfo.git" -REVISION="1" - -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" - -PROVIDES=" - SystemInfo = $portVersion - app:SystemInfo = $portVersion" - -BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion - cmd:gcc" - -REQUIRES=" - haiku >= $haikuVersion" - COPYRIGHT=" 2002 Brent Miszalski 2012 Disreali" - LICENSE="MIT" +HOMEPAGE="https://github.com/disreali/SystemInfo" +SRC_URI="git+git://github.com/disreali/SystemInfo.git#ae36df9999" +REVISION="2" + +ARCHITECTURES="x86_gcc2 x86 ?x86_64" + +PROVIDES=" + SystemInfo = $portVersion + app:SystemInfo = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" + cmd:gcc + cmd:xres + " BUILD() { echo "const uint32 CP_CHANGE_BG = 'CPBG'; const uint32 CP_CHANGE_FG = 'CPFG';" > ./DigitalView.h g++ CPUPercent.cpp ColourPrefs.cpp ImageView.cpp MemUsage.cpp SIReplicant.cpp main.cpp -o SystemInfo -lbe + xres -o SystemInfo SystemInfo.rsrc + mimeset -f SystemInfo } INSTALL() diff --git a/haiku-apps/takenotes/patches/takenotes-1.0.0.patchset b/haiku-apps/takenotes/patches/takenotes-1.0.0.patchset new file mode 100644 index 000000000..42bc9ba6e --- /dev/null +++ b/haiku-apps/takenotes/patches/takenotes-1.0.0.patchset @@ -0,0 +1,36 @@ +From 06e5cb378bf63d5352a90605d2cd80ee5200d456 Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 19:59:47 -0700 +Subject: Misc gcc4 fixes + + +diff --git a/ChoiceView.cpp b/ChoiceView.cpp +index f33aa88..4293e22 100644 +--- a/ChoiceView.cpp ++++ b/ChoiceView.cpp +@@ -31,8 +31,8 @@ + #define BUTTON_UNDO 'btun' + + // Constructor +-ChoiceView :: ChoiceView(BRect rect, char *name,BHandler *handler) +- : BView(rect, name, B_FOLLOW_ALL, B_WILL_DRAW | B_FRAME_EVENTS | B_FULL_UPDATE_ON_RESIZE){ ++ChoiceView :: ChoiceView(BRect rect, char *vname,BHandler *handler) ++ : BView(rect, vname, B_FOLLOW_ALL, B_WILL_DRAW | B_FRAME_EVENTS | B_FULL_UPDATE_ON_RESIZE){ + + // Variables + BStringView *instructions; +diff --git a/NoteWindow.h b/NoteWindow.h +index a07ffe7..38e7ce3 100644 +--- a/NoteWindow.h ++++ b/NoteWindow.h +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + + /* == DATA STRUCTURE == + * Structure containing all the informations about the current post-it +-- +1.8.3.4 + diff --git a/haiku-apps/takenotes/takenotes-1.0.0.recipe b/haiku-apps/takenotes/takenotes-1.0.0.recipe index 80aa965a0..0be698752 100644 --- a/haiku-apps/takenotes/takenotes-1.0.0.recipe +++ b/haiku-apps/takenotes/takenotes-1.0.0.recipe @@ -9,39 +9,44 @@ DESCRIPTION=" - Tag your note for easy search - Set an alarm to reminds you date, appointments and so on " +COPYRIGHT="Copyright 2009, Ilio Catallo, Stefano Celentano, Eleonora Ciceri, all rights reserved" +LICENSE="GNU GPL v2" HOMEPAGE="https://github.com/HaikuArchives/TakeNotes" -SRC_URI="git+https://github.com/HaikuArchives/TakeNotes" -REVISION="1" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SRC_URI="git+https://github.com/HaikuArchives/TakeNotes#3ee7d80b53" +REVISION="2" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" + PROVIDES=" takenotes=$portVersion app:takenotes=$portVersion " + REQUIRES=" haiku >= $haikuVersion " -BUILD_REQUIRES="" -BUILD_PREREQUIRES=" + +BUILD_REQUIRES=" haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" makefile_engine cmd:gcc cmd:make cmd:mkdepend " -COPYRIGHT="Copyright 2009, Ilio Catallo, Stefano Celentano, Eleonora Ciceri, all rights reserved" -LICENSE="GNU GPL v2" -SOURCE_DIR="$portVersionedName" + +PATCHES="takenotes-1.0.0.patchset" BUILD() { - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() { - architecture=$(echo $buildArchitecture | sed 's/_/-/g') mkdir -p $appsDir - cp objects.$architecture-release/TakeNotes $appsDir/TakeNotes - + cp objects/TakeNotes $appsDir addAppDeskbarSymlink $appsDir/TakeNotes } diff --git a/haiku-apps/trackergrep/patches/trackergrep-5.1.patchset b/haiku-apps/trackergrep/patches/trackergrep-5.1.patchset new file mode 100644 index 000000000..01fd9988e --- /dev/null +++ b/haiku-apps/trackergrep/patches/trackergrep-5.1.patchset @@ -0,0 +1,49 @@ +From c02a072f11683914ce9dbe77adf0b478f613885e Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 20:22:01 -0700 +Subject: Fix directory and include issues + + +diff --git a/source/Grepper.cpp b/source/Grepper.cpp +index d2e5c58..71befc8 100644 +--- a/source/Grepper.cpp ++++ b/source/Grepper.cpp +@@ -139,8 +139,10 @@ int32 Grepper::GrepperThread() + char command[B_PATH_NAME_LENGTH + 32]; + + BPath tempFile; +- sprintf(fileName, "/boot/var/tmp/TrackerGrep%ld", fThreadId); +- tempFile.SetTo(fileName); ++ if (find_directory(B_SYSTEM_TEMP_DIRECTORY, &tempFile, true) != B_OK) ++ return -1; ++ sprintf(fileName, "TrackerGrep%ld", fThreadId); ++ tempFile.Append(fileName); + + while (!fMustQuit && GetNextName(fileName)) { + message.MakeEmpty(); +@@ -159,8 +161,9 @@ int32 Grepper::GrepperThread() + + EscapeSpecialChars(fileName); + ++ //assume that grep is already in $PATH + sprintf( +- command, "/boot/beos/bin/grep -hn %s %s \"%s\" > \"%s\"", ++ command, "grep -hn %s %s \"%s\" > \"%s\"", + fModel->fCaseSensitive ? "" : "-i", fPattern, fileName, + tempFile.Path()); + +diff --git a/source/Model.h b/source/Model.h +index a73d801..8ec1d24 100644 +--- a/source/Model.h ++++ b/source/Model.h +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + #include + + #define PREFS_FILE "TrackerGrepSettings" +-- +1.8.3.4 + diff --git a/haiku-apps/trackergrep/trackergrep-5.1.recipe b/haiku-apps/trackergrep/trackergrep-5.1.recipe index 039b84e3a..4f9bd20b2 100644 --- a/haiku-apps/trackergrep/trackergrep-5.1.recipe +++ b/haiku-apps/trackergrep/trackergrep-5.1.recipe @@ -1,41 +1,54 @@ -DESCRIPTION="Tracker Grep is a simple Tracker add-on that lets you search through text files. Haiku already comes with a tool that lets you do that, grep, but you need to use it from a Terminal window. Gone are those days of command-line trouble, because from now on Tracker Grep lets you run grep directly from the Tracker." - -SUMMARY="Tracker Grep is a simple Tracker add-on that lets you search through text files." +SUMMARY="A simple Tracker add-on that lets you search through text files." +DESCRIPTION=" +Tracker Grep is a simple Tracker add-on that lets you search through +text files. Haiku already comes with a tool that lets you do that, +grep, but you need to use it from a Terminal window. Gone are those +days of command-line trouble, because from now on Tracker Grep lets +you run grep directly from the Tracker." HOMEPAGE="https://github.com/HaikuArchives/TrackerGrep/" -SRC_URI="git+git://github.com/HaikuArchives/TrackerGrep.git" -REVISION="1" - +SRC_URI="git://github.com/HaikuArchives/TrackerGrep.git#001a0b68be" +REVISION="2" COPYRIGHT=" 1998-2006 Matthijs Hollemans 2007 Jonas Sundström." - LICENSE="MIT" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" TrackerGrep = $portVersion - app:TrackerGrep = $portVersion" + app:TrackerGrep = $portVersion + " REQUIRES=" - haiku >= $haikuVersion" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion cmd:gcc - cmd:xres" + cmd:xres + " + +PATCHES="trackergrep-5.1.patchset" BUILD() { cd source - g++ -o TrackerGrep GrepApp.cpp GrepWindow.cpp Model.cpp TrackerGrep.cpp Grepper.cpp GrepListView.cpp -lbe -ltracker -ltextencoding + g++ -o TrackerGrep GrepApp.cpp GrepWindow.cpp Model.cpp \ + TrackerGrep.cpp Grepper.cpp GrepListView.cpp -fpermissive \ + -lbe -ltracker -ltextencoding xres -o TrackerGrep TrackerGrep.rsrc + mimeset -f TrackerGrep } INSTALL() { cd source - mkdir -p $appsDir - cp TrackerGrep $appsDir + mkdir -p $addOnsDir/Tracker + cp TrackerGrep $addOnsDir/Tracker addAppDeskbarSymlink $appsDir/TrackerGrep } diff --git a/haiku-apps/ubertuber/patches/ubertuber-0.9.7.patchset b/haiku-apps/ubertuber/patches/ubertuber-0.9.7.patchset new file mode 100644 index 000000000..ea63fb80c --- /dev/null +++ b/haiku-apps/ubertuber/patches/ubertuber-0.9.7.patchset @@ -0,0 +1,22 @@ +From bc2604eee4490c94747cbfb268e9a6cdf72d2052 Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Mon, 2 Dec 2013 20:33:29 -0700 +Subject: Misc fixes for gcc4 + + +diff --git a/Makefile b/Makefile +index 8b2ae37..9af3924 100644 +--- a/Makefile ++++ b/Makefile +@@ -2,7 +2,7 @@ NAME= UberTuber + TYPE= APP + SRCS= App.cpp MainWindow.cpp Settings.cpp + RDEFS= UberTuber.rdef +-LIBS= /boot/system/lib/libroot.so /boot/system/lib/libbe.so /boot/system/lib/libtracker.so ++LIBS= be tracker $(STDCPPLIBS) + LIBPATHS= + SYSTEM_INCLUDE_PATHS= $(BUILDHOME)/headers/be $(BUILDHOME)/headers/cpp $(BUILDHOME)/headers/posix ~/config/include + LOCAL_INCLUDE_PATHS= +-- +1.8.3.4 + diff --git a/haiku-apps/ubertuber/ubertuber-0.9.7.recipe b/haiku-apps/ubertuber/ubertuber-0.9.7.recipe index 33462ab5f..60b874083 100644 --- a/haiku-apps/ubertuber/ubertuber-0.9.7.recipe +++ b/haiku-apps/ubertuber/ubertuber-0.9.7.recipe @@ -1,25 +1,31 @@ SUMMARY="A tool to play back online videos in MediaPlayer" -DESCRIPTION="UberTuber grabs clips from various sites and opens them in your media player while they're being downloaded. - " +DESCRIPTION=" +UberTuber grabs clips from various sites and opens them in your media +player while they're being downloaded. +" HOMEPAGE="http://sourceforge.net/projects/ubertuber/" SRC_URI="git://git.code.sf.net/p/ubertuber/code#7971df0e58a145d7357261600442116321257065" LICENSE="MIT" COPYRIGHT="2013 Humdinger" -REVISION="1" -ARCHITECTURES="x86_gcc2 ?x86" +REVISION="2" +ARCHITECTURES="x86_gcc2 x86" PROVIDES=" ubertuber = $portVersion + app:ubertuber = $portVersion " + REQUIRES=" haiku >= $haikuVersion cmd:python " + BUILD_REQUIRES=" + haiku_devel >= $haikuVersion makefile_engine " + BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion cmd:gcc cmd:ld cmd:make @@ -27,11 +33,13 @@ BUILD_PREREQUIRES=" cmd:unzip cmd:xres " -SOURCE_DIR="$portVersionedName" + +PATCHES="ubertuber-0.9.7.patchset" BUILD() { - make OBJ_DIR=objects BUILDHOME=/boot/system/develop + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() diff --git a/haiku-apps/waveview/waveview-1.0.recipe b/haiku-apps/waveview/waveview-1.0.recipe index 42dbc3415..58593cb72 100644 --- a/haiku-apps/waveview/waveview-1.0.recipe +++ b/haiku-apps/waveview/waveview-1.0.recipe @@ -1,16 +1,11 @@ -SUMMARY="A data acquisition Software" -DESCRIPTION="waveview" +SUMMARY="A simple audio wave viewer" +DESCRIPTION="simple audio wave viewer" HOMEPAGE="https://github.com/aldeck/waveview" -LICENSE=" - MIT - " -COPYRIGHT=" - 2011 Alexandre Deckner (alex@zappotek.com) - " - -SRC_URI="git+https://github.com/aldeck/waveview" -REVISION="1" -ARCHITECTURES="x86_gcc2" +LICENSE="MIT" +COPYRIGHT="2011 Alexandre Deckner (alex@zappotek.com)" +SRC_URI="git+https://github.com/aldeck/waveview#fce091e76a" +REVISION="2" +ARCHITECTURES="x86_gcc2 x86" PROVIDES=" waveview = $portVersion @@ -24,12 +19,12 @@ REQUIRES=" " BUILD_REQUIRES=" - devel:libpcre >= 1 - devel:libpcreposix >= 1 + haiku_devel >= $haikuVersion + devel:libpcre + devel:libpcreposix " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine cmd:bison cmd:flex @@ -44,20 +39,15 @@ REQUIRES=" haiku >= $haikuVersion " -SOURCE_DIR="waveview-1.0" - BUILD() { - pwd - ls /etc - make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` } INSTALL() { - waveviewDir=$appsDir/WaveView - mkdir -p $waveviewDir - cp -a objects.x86-gcc2-release/WaveView $waveviewDir - - addAppDeskbarSymlink $waveviewDir/WaveView + mkdir -p $appsDir + cp -a objects/WaveView $appsDir + addAppDeskbarSymlink $appsDir/WaveView } From 8ef737ea8a3d880bc94db0a432544e490e3cc386 Mon Sep 17 00:00:00 2001 From: Dareus Date: Tue, 3 Dec 2013 04:46:41 +0000 Subject: [PATCH 14/89] aalib recipe fixed. --- media-libs/aalib/aalib-1.4rc4.recipe | 72 ++++++++++++++------- media-libs/aalib/patches/aalib-1.4rc4.patch | 10 +++ 2 files changed, 60 insertions(+), 22 deletions(-) create mode 100644 media-libs/aalib/patches/aalib-1.4rc4.patch diff --git a/media-libs/aalib/aalib-1.4rc4.recipe b/media-libs/aalib/aalib-1.4rc4.recipe index 29a13d8cb..fd00fd71c 100644 --- a/media-libs/aalib/aalib-1.4rc4.recipe +++ b/media-libs/aalib/aalib-1.4rc4.recipe @@ -1,31 +1,59 @@ -DESCRIPTION="aalib is an ASCII rendering 2D library" +SUMMARY="aalib is an ASCII rendering 2D library" +DESCRIPTION="aalib is a software library which allows applications to + automatically convert still and moving images into ASCII art. +" HOMEPAGE="http://aa-project.sourceforge.net/aalib/" SRC_URI="http://prdownloads.sourceforge.net/aa-project/aalib-1.4rc4.tar.gz" -#CHECKSUM_MD5="fddc3c704c5489de2a3cf0fedfec59db" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" +SOURCE_DIR="aalib-1.4.0" +CHECKSUM_MD5="d5aa8e9eae07b7441298b5c30490f6a6" +REVISION="2" +LICENSE="Public Domain" +COPYRIGHT="Copyright (C) 1997 by Jam Hubicka" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + aalib = $portVersion + cmd:aafire + cmd:aainfo + cmd:aalib_config + cmd:aasavefont + cmd:aatest + lib:libaa + devel:libaa +" + +REQUIRES=" + haiku >= $haikuVersion +" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:make + cmd:libtoolize + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:makeinfo +" + +PATCHES=" + aalib-1.4rc4.patch +" + BUILD() { - cd aalib-1.4.0 - libtoolize --force --copy --install -# aclocal -# autoconf -# automake - MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man - LIBDIR=`finddir B_COMMON_LIB_DIRECTORY` - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --libdir=$LIBDIR \ - --mandir=$MANDIR \ - --enable-static - make + libtoolize --force --copy --install + aclocal + autoconf + automake --add-missing + runConfigure ./configure + make } INSTALL() { - cd aalib-1.4.0 - make install + make install + prepareInstalledDevelLibs libaa } - -LICENSE="Public Domain" -#COPYRIGHT="" diff --git a/media-libs/aalib/patches/aalib-1.4rc4.patch b/media-libs/aalib/patches/aalib-1.4rc4.patch new file mode 100644 index 000000000..52cf48b45 --- /dev/null +++ b/media-libs/aalib/patches/aalib-1.4rc4.patch @@ -0,0 +1,10 @@ +--- aalib-1.4.0/configure.in 2001-04-24 14:00:02.060293120 +0000 ++++ aalib-1.4.0-haiku/configure.in 2013-11-29 18:22:31.000000000 +0000 +@@ -4,6 +4,6 @@ + AC_CANONICAL_HOST + AC_CANONICAL_TARGET + +-AM_CONFIG_HEADER(src/config.h) ++AC_CONFIG_HEADERS(src/config.h) + + dnl Initialize the compiler and linker flags for AALIB applications From 3b787f6624463045c16c893d317959c44a74e28f Mon Sep 17 00:00:00 2001 From: Dareus Date: Tue, 3 Dec 2013 04:47:45 +0000 Subject: [PATCH 15/89] bc recipe fixed. --- sys-devel/bc/bc-1.06.recipe | 61 +++++++++++++++++++++++++++---------- 1 file changed, 45 insertions(+), 16 deletions(-) diff --git a/sys-devel/bc/bc-1.06.recipe b/sys-devel/bc/bc-1.06.recipe index cf88b843d..2ba8de9ef 100644 --- a/sys-devel/bc/bc-1.06.recipe +++ b/sys-devel/bc/bc-1.06.recipe @@ -1,31 +1,60 @@ -DESCRIPTION="Handy console-based calculator utility" +SUMMARY="Handy console-based calculator utility" +DESCRIPTION="bc is an arbitrary precision numeric processing language. + Syntax is similar to C, but differs in many substantial areas. It + supports interactive execution of statements. bc is a utility included + in the POSIX P1003.2/D11 draft standard. +" HOMEPAGE="http://www.gnu.org/software/bc/bc.html" SRC_URI="http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" CHECKSUM_MD5="d44b5dddebd8a7a7309aea6c36fda117" +REVISION="2" +LICENSE="GNU GPL v2 + GNU LGPL v2.1" +COPYRIGHT="1991-2000 Free Software Foundation, Inc." + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + bc = $portVersion + cmd:bc + cmd:dc +" + +REQUIRES=" + haiku >= $haikuVersion +" + +BUILD_REQUIRES=" + bison + flex +" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:make + cmd:flex + cmd:bison +" + +PATCHES=" + bc-1.06.patch +" + BUILD() { - cd bc-1.06 - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --infodir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/info \ - --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man - make + ./configure --prefix=$prefix \ + --infodir=$infoDir \ + --mandir=$manDir + make } INSTALL() { - cd bc-1.06 - make install DESTDIR=${DESTDIR} + make install DESTDIR=${installDestDir} } TEST() { - cd bc-1.06/Test timetest } - -LICENSE="GNU GPL v2 - GNU LGPL v2.1" -COPYRIGHT="1991-2000 Free Software Foundation, Inc." From 0ac210d53d654e721bcb2afba0602d786a7974a2 Mon Sep 17 00:00:00 2001 From: Dareus Date: Tue, 3 Dec 2013 04:48:44 +0000 Subject: [PATCH 16/89] bladeenc recipe fixed. --- media-sound/bladeenc/bladeenc-0.94.2.recipe | 47 +++++++++++++++---- .../bladeenc/patches/bladeenc-0.94.2.patch | 12 +++++ 2 files changed, 50 insertions(+), 9 deletions(-) diff --git a/media-sound/bladeenc/bladeenc-0.94.2.recipe b/media-sound/bladeenc/bladeenc-0.94.2.recipe index 24e084884..ef4b4ca14 100644 --- a/media-sound/bladeenc/bladeenc-0.94.2.recipe +++ b/media-sound/bladeenc/bladeenc-0.94.2.recipe @@ -1,25 +1,54 @@ -DESCRIPTION="BladeEnc is a free cross-platform MP3 encoder released under the LGPL." +SUMMARY="BladeEnc is a free cross-platform MP3 encoder" +DESCRIPTION="BladeEnc is a free, cross-platform, console-based MP3 encoder, + based on the ISO reference code. It is mostly intended for high quality + encoding in high bitrates. +" HOMEPAGE="http://bladeenc.mp3.no/" SRC_URI="ftp://ftp.free.fr/.mirrors1/ftp.gentoo.org/distfiles/bladeenc-0.94.2-src-stable.tar.gz" CHECKSUM_MD5="9b9f6eafe1637a48a67f0a0f8f6e71ad" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" +REVISION="2" +LICENSE="GNU LGPL v2.1" +COPYRIGHT="1998-2000 Tord Jansson" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + bladeenc = $portVersion + cmd:bladeenc +" + +REQUIRES=" + haiku >= $haikuVersion +" + +BUILD_REQUIRES=" +" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:make + cmd:libtoolize + cmd:aclocal + cmd:automake + cmd:autoconf +" + +PATCHES=" + bladeenc-0.94.2.patch +" + BUILD() { - cd bladeenc-0.94.2 libtoolize --force --copy --install aclocal automake --add-missing autoconf - ./configure --prefix=`finddir B_COMMON_DIRECTORY` + runConfigure ./configure make } INSTALL() { - cd bladeenc-0.94.2 make install } -LICENSE="GNU LGPL v2.1" -COPYRIGHT="1998-2000 Tord Jansson" diff --git a/media-sound/bladeenc/patches/bladeenc-0.94.2.patch b/media-sound/bladeenc/patches/bladeenc-0.94.2.patch index 48ed25fb9..db7f02391 100644 --- a/media-sound/bladeenc/patches/bladeenc-0.94.2.patch +++ b/media-sound/bladeenc/patches/bladeenc-0.94.2.patch @@ -19,4 +19,16 @@ diff -urN bladeenc-0.94.2/bladeenc/system.h bladeenc-0.94.2-haiku/bladeenc/syste +# if defined __BEOS__ || defined __HAIKU__ # define SYSTEM BEOS # endif + +diff -aurN bladeenc-0.94.2/configure.in bladeenc-0.94.2-haiku/configure.in +--- bladeenc-0.94.2/configure.in 2001-05-03 10:32:44.040894464 +0000 ++++ bladeenc-0.94.2-haiku/configure.in 2013-11-30 16:49:17.864026624 +0000 +@@ -1,7 +1,7 @@ + dnl Process this file with autoconf to produce a configure script. + AC_INIT(Makefile.am) + +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + + AM_INIT_AUTOMAKE(bladeenc,0.94.2) From 9a0dcbfa66af05536841b7e8670bf16b905e90e1 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 3 Dec 2013 00:41:48 -0700 Subject: [PATCH 17/89] Remove some useless/outdated recipes and patches --- haiku-apps/artpaint/artpaint-339.recipe | 20 -- haiku-apps/bowser/bowser-1.1.1_cvs.recipe | 19 -- haiku-apps/caya/caya-236.recipe | 35 --- haiku-apps/caya/caya-240.recipe | 35 --- haiku-apps/caya/caya-264.recipe | 36 --- haiku-apps/caya/caya-278.recipe | 36 --- haiku-apps/caya/caya-279.recipe | 36 --- haiku-apps/caya/caya-293.recipe | 60 ----- haiku-apps/caya/patches/caya-293.patchset | 49 ---- .../caya_gpl_protocols-0.HEAD.recipe | 31 --- .../caya_gpl_protocols-19.recipe | 30 --- .../caya_gpl_protocols-24.recipe | 31 --- .../caya_gpl_protocols-35.recipe | 31 --- .../patches/caya_gpl_protocols-0.HEAD.patch | 214 ------------------ 14 files changed, 663 deletions(-) delete mode 100644 haiku-apps/artpaint/artpaint-339.recipe delete mode 100644 haiku-apps/bowser/bowser-1.1.1_cvs.recipe delete mode 100644 haiku-apps/caya/caya-236.recipe delete mode 100644 haiku-apps/caya/caya-240.recipe delete mode 100644 haiku-apps/caya/caya-264.recipe delete mode 100644 haiku-apps/caya/caya-278.recipe delete mode 100644 haiku-apps/caya/caya-279.recipe delete mode 100644 haiku-apps/caya/caya-293.recipe delete mode 100644 haiku-apps/caya/patches/caya-293.patchset delete mode 100644 haiku-apps/caya_gpl_protocols/caya_gpl_protocols-0.HEAD.recipe delete mode 100644 haiku-apps/caya_gpl_protocols/caya_gpl_protocols-19.recipe delete mode 100644 haiku-apps/caya_gpl_protocols/caya_gpl_protocols-24.recipe delete mode 100644 haiku-apps/caya_gpl_protocols/caya_gpl_protocols-35.recipe delete mode 100644 haiku-apps/caya_gpl_protocols/patches/caya_gpl_protocols-0.HEAD.patch diff --git a/haiku-apps/artpaint/artpaint-339.recipe b/haiku-apps/artpaint/artpaint-339.recipe deleted file mode 100644 index 3a80a0bdb..000000000 --- a/haiku-apps/artpaint/artpaint-339.recipe +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION="Artpaint is a painting and image processing program" -HOMEPAGE="http://dev.osdrawer.net/projects/artpaint" -SRC_URI="svn+http://svn.osdrawer.net/artpaint/trunk" -REVISION="1" -STATUS_HAIKU="broken" -DEPEND="" -#CHECKSUM_MD5="" -BUILD() -{ - echo "Need to figure out how to build this still" -} - -INSTALL() -{ - echo "Need to figure out how to install this still" -} - -LICENSE="MIT" -COPYRIGHT="2003, Heikki Suhonen - 2008-2009 ArtPaint Maintainers" diff --git a/haiku-apps/bowser/bowser-1.1.1_cvs.recipe b/haiku-apps/bowser/bowser-1.1.1_cvs.recipe deleted file mode 100644 index 4a127a126..000000000 --- a/haiku-apps/bowser/bowser-1.1.1_cvs.recipe +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION="bowser" -HOMEPAGE="http://bowser.sourceforge.net" -SRC_URI="cvs://:pserver:anonymous@bowser.cvs.sourceforge.net:/cvsroot/bowser/Bowser" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" - -BUILD() -{ - true -} - -INSTALL() -{ - true -} - -#COPYRIGHT="" -#LICENSE=" diff --git a/haiku-apps/caya/caya-236.recipe b/haiku-apps/caya/caya-236.recipe deleted file mode 100644 index adb7367fc..000000000 --- a/haiku-apps/caya/caya-236.recipe +++ /dev/null @@ -1,35 +0,0 @@ -DESCRIPTION="Caya is a multiprotocol IM client." -HOMEPAGE="http://dev.osdrawer.net/projects/caya" -SRC_URI="svn+http://svn.osdrawer.net/caya/trunk#236" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="net-misc/curl >= 7.21.6" -#CHECKSUM_MD5="" -MESSAGE="This port only builds with gcc4." -BUILD() -{ - cd caya-236 - ./configure - jam -} - -INSTALL() -{ - cd caya-236 - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - mkdir -p ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - - cp generated/distro-haiku-x86-gcc4-debug/Caya ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - cp generated/distro-haiku-x86-gcc4-debug/aim ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp smileys/*.gif smileys/settings.xml ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - cp application/CayaProtocol.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaConstants.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaProtocolMessages.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ -} - -LICENSE="MIT" -COPYRIGHT="2009-2011 Andrea Anzani - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes" diff --git a/haiku-apps/caya/caya-240.recipe b/haiku-apps/caya/caya-240.recipe deleted file mode 100644 index 78f0e79d5..000000000 --- a/haiku-apps/caya/caya-240.recipe +++ /dev/null @@ -1,35 +0,0 @@ -DESCRIPTION="Caya is a multiprotocol IM client." -HOMEPAGE="http://dev.osdrawer.net/projects/caya" -SRC_URI="svn+http://svn.osdrawer.net/caya/trunk#240" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="net-misc/curl >= 7.21.6" -#CHECKSUM_MD5="" -MESSAGE="This port only builds with gcc4." -BUILD() -{ - cd caya-240 - ./configure - jam -} - -INSTALL() -{ - cd caya-240 - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - mkdir -p ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - - cp generated/distro-haiku-x86-gcc4-debug/Caya ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - cp generated/distro-haiku-x86-gcc4-debug/aim ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp smileys/*.gif smileys/settings.xml ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - cp application/CayaProtocol.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaConstants.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaProtocolMessages.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ -} - -LICENSE="MIT" -COPYRIGHT="2009-2011 Andrea Anzani - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes" diff --git a/haiku-apps/caya/caya-264.recipe b/haiku-apps/caya/caya-264.recipe deleted file mode 100644 index c7a92ce6d..000000000 --- a/haiku-apps/caya/caya-264.recipe +++ /dev/null @@ -1,36 +0,0 @@ -DESCRIPTION="Caya is a multiprotocol IM client." -HOMEPAGE="http://dev.osdrawer.net/projects/caya" -SRC_URI="svn+http://svn.osdrawer.net/caya/trunk#264" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="dev-libs/expat >= 2.0.1" -#CHECKSUM_MD5="" -MESSAGE="This port only builds with gcc4." -BUILD() -{ - cd caya-264 - ./configure - jam -} - -INSTALL() -{ - cd caya-264 - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - mkdir -p ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - - cp generated/distro-haiku-x86-gcc4-debug/Caya ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - cp generated/distro-haiku-x86-gcc4-debug/aim ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp smileys/*.gif smileys/settings.xml ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - cp application/CayaProtocol.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaConstants.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaProtocolMessages.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ -} - -LICENSE="MIT" -COPYRIGHT="2009-2011 Andrea Anzani - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes - 2011-2012 Casalinuovo Dario" diff --git a/haiku-apps/caya/caya-278.recipe b/haiku-apps/caya/caya-278.recipe deleted file mode 100644 index ced844436..000000000 --- a/haiku-apps/caya/caya-278.recipe +++ /dev/null @@ -1,36 +0,0 @@ -DESCRIPTION="Caya is a multiprotocol IM client." -HOMEPAGE="http://dev.osdrawer.net/projects/caya" -SRC_URI="svn+http://svn.osdrawer.net/caya/trunk#278" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="dev-libs/expat >= 2.0.1" -#CHECKSUM_MD5="" -MESSAGE="This port only builds with gcc4." -BUILD() -{ - cd caya-278 - ./configure - jam -} - -INSTALL() -{ - cd caya-278 - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - mkdir -p ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - - cp generated/distro-haiku-x86-gcc4-debug/Caya ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - cp generated/distro-haiku-x86-gcc4-debug/aim ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp smileys/*.gif smileys/settings.xml ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - cp application/CayaProtocol.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaConstants.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaProtocolMessages.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ -} - -LICENSE="MIT" -COPYRIGHT="2009-2011 Andrea Anzani - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes - 2011-2012 Casalinuovo Dario" diff --git a/haiku-apps/caya/caya-279.recipe b/haiku-apps/caya/caya-279.recipe deleted file mode 100644 index 87fce694e..000000000 --- a/haiku-apps/caya/caya-279.recipe +++ /dev/null @@ -1,36 +0,0 @@ -DESCRIPTION="Caya is a multiprotocol IM client." -HOMEPAGE="http://dev.osdrawer.net/projects/caya" -SRC_URI="svn+http://svn.osdrawer.net/caya/trunk#279" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="dev-libs/expat >= 2.0.1" -#CHECKSUM_MD5="" -MESSAGE="This port only builds with gcc4." -BUILD() -{ - cd caya-279 - ./configure - jam -} - -INSTALL() -{ - cd caya-279 - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - mkdir -p ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - - cp generated/distro-haiku-x86-gcc4-debug/Caya ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya - cp generated/distro-haiku-x86-gcc4-debug/aim ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp smileys/*.gif smileys/settings.xml ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/smileys - cp application/CayaProtocol.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaConstants.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ - cp application/CayaProtocolMessages.h ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/include/caya/ -} - -LICENSE="MIT" -COPYRIGHT="2009-2011 Andrea Anzani - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes - 2011-2012 Casalinuovo Dario" diff --git a/haiku-apps/caya/caya-293.recipe b/haiku-apps/caya/caya-293.recipe deleted file mode 100644 index fbf25e70e..000000000 --- a/haiku-apps/caya/caya-293.recipe +++ /dev/null @@ -1,60 +0,0 @@ -SUMMARY="Caya is a multiprotocol IM client." -HOMEPAGE="http://dev.osdrawer.net/projects/caya" -SRC_URI="svn+http://svn.osdrawer.net/caya/trunk#293" -REVISION="2" -ARCHITECTURES="x86 x86_gcc2" - -PROVIDES=" - caya = $portVersion - lib:libexpat - " - -REQUIRES=" - haiku >= $haikuVersion - " -BUILD_REQUIRES=" - devel:libexpat - " -BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion - cmd:gcc - cmd:ld - cmd:jam - cmd:which - " - -BUILD() -{ - mkdir -p $sourceDir/generated/objects-haiku-x86-gcc2-debug/application - echo $portVersion > $sourceDir/generated/objects-haiku-x86-gcc2-debug/application/svn_revision - ./configure - jam -} - -INSTALL() -{ - mkdir -p $appsDir/Caya - mkdir -p $appsDir/Caya/smileys - mkdir -p $appsDir/Caya/protocols - mkdir -p $includeDir/caya/ - - cp generated/distro-haiku-*-debug/Caya $appsDir/Caya - cp generated/distro-haiku-*-debug/aim $appsDir/Caya/protocols - cp smileys/*.gif smileys/settings.xml $appsDir/Caya/smileys - cp application/Caya.h $includeDir/caya/ - cp application/CayaProtocol.h $includeDir/caya/ - cp application/CayaConstants.h $includeDir/caya/ - cp application/CayaProtocolMessages.h $includeDir/caya/ -} - -LICENSE="MIT" -COPYRIGHT=" - 2009-2011 Andrea Anzani - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes - 2011-2012 Casalinuovo Dario - " -DESCRIPTION=" - Caya is a multiprotocol chat client for Haiku. It supports msn, aim, jabber, - google talk, and facebook. - " diff --git a/haiku-apps/caya/patches/caya-293.patchset b/haiku-apps/caya/patches/caya-293.patchset deleted file mode 100644 index 05202ecd3..000000000 --- a/haiku-apps/caya/patches/caya-293.patchset +++ /dev/null @@ -1,49 +0,0 @@ -From abd4aac88a07ea0a9967be553833a121bf98ccf9 Mon Sep 17 00:00:00 2001 -From: Adrien Destugues -Date: Sat, 5 Oct 2013 13:17:26 +0200 -Subject: Fix gcc4 detection - - -diff --git a/build/jam/CheckRules b/build/jam/CheckRules -index 6fbc213..294fab7 100644 ---- a/build/jam/CheckRules -+++ b/build/jam/CheckRules -@@ -14,7 +14,7 @@ rule CheckGccPlatform - # /boot/develop/lib/x86 to judge whether this is a BeOS compatible and thus - # gcc 2 platform. This is not entirely correct, but should be good enough - # for the time being. -- local haveLibStdC++.R4 = [ Glob /boot/develop/lib/x86 : libstdc++.r4.so ] ; -+ local haveLibStdC++.R4 = [ Glob /boot/system/develop/tools/lib : libstdc++.r4.so ] ; - if ! $(haveLibStdC++.R4) { - IS_GCC4_PLATFORM = 1 ; - Echo Using GCC4 platform ; --- -1.8.3.4 - - -From db90c28cb36b59a010abec5406f77c1c4135f378 Mon Sep 17 00:00:00 2001 -From: Adrien Destugues -Date: Sat, 5 Oct 2013 13:19:23 +0200 -Subject: Let haikuporter compute the version - - * The .svn dir isn't available in the chroot, so there is no way it can -be used to detect the SVN revision. - -diff --git a/build/jam/MainBuildRules b/build/jam/MainBuildRules -index 292a2a5..314c4d7 100644 ---- a/build/jam/MainBuildRules -+++ b/build/jam/MainBuildRules -@@ -368,9 +368,7 @@ rule CreateSVNRevisionFile file - { - # CreateSVNRevisionFile - -- local svnEntries = entries ; -- SEARCH on $(svnEntries) = [ FDirName $(TOP) .svn ] ; -- Depends $(file) : $(svnEntries) ; -+ # Let haikuporter do it as the .svn dir is removed on checkout - } - - actions CreateSVNRevisionFile --- -1.8.3.4 - diff --git a/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-0.HEAD.recipe b/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-0.HEAD.recipe deleted file mode 100644 index 225624b42..000000000 --- a/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-0.HEAD.recipe +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION="GPL Plugins for Caya, protocols MSN and XMPP" -HOMEPAGE="http://dev.osdrawer.net/projects/caya-gpl-protocols" -SRC_URI="svn+http://svn.osdrawer.net/caya-gpl-protocols/trunk" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="caya" -#CHECKSUM_MD5="" -BUILD() -{ - cd caya-gpl-protocols-0.HEAD - ./configure - jam -} - -INSTALL() -{ - cd caya-gpl-protocols-0.HEAD - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - PLATFORM=`setgcc|tr / -|cut -f3 -d' '` - cp generated/distro-haiku-$PLATFORM-debug/msn ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-$PLATFORM-debug/gtalk ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-$PLATFORM-debug/facebook ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-$PLATFORM-debug/jabber ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-$PLATFORM-debug/yahoo ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols -} - -LICENSE="GNU GPL v2" -COPYRIGHT="2010-2011 Casalinuovo Dario - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes" - diff --git a/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-19.recipe b/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-19.recipe deleted file mode 100644 index 93816baed..000000000 --- a/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-19.recipe +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION="GPL Plugins for Caya, protocols MSN and XMPP" -HOMEPAGE="http://dev.osdrawer.net/projects/caya-gpl-protocols" -SRC_URI="svn+http://svn.osdrawer.net/caya-gpl-protocols/trunk#19" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="caya" -#CHECKSUM_MD5="" -MESSAGE="This port only builds with gcc4." -BUILD() -{ - cd caya-gpl-protocols-19 - ./configure - jam -} - -INSTALL() -{ - cd caya-gpl-protocols-19 - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/msn ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/gtalk ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/facebook ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/jabber ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols -} - -LICENSE="GNU GPL v2" -COPYRIGHT="2010-2011 Casalinuovo Dario - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes" - diff --git a/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-24.recipe b/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-24.recipe deleted file mode 100644 index e6c00dd27..000000000 --- a/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-24.recipe +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION="GPL Plugins for Caya, protocols MSN and XMPP" -HOMEPAGE="http://dev.osdrawer.net/projects/caya-gpl-protocols" -SRC_URI="svn+http://svn.osdrawer.net/caya-gpl-protocols/trunk#24" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="caya" -#CHECKSUM_MD5="" -MESSAGE="This port only builds with gcc4." -BUILD() -{ - cd caya-gpl-protocols-24 - ./configure - jam -} - -INSTALL() -{ - cd caya-gpl-protocols-24 - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/msn ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/gtalk ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/facebook ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/jabber ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/yahoo ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols -} - -LICENSE="GNU GPL v2" -COPYRIGHT="2010-2011 Casalinuovo Dario - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes" - diff --git a/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-35.recipe b/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-35.recipe deleted file mode 100644 index f6df24bd5..000000000 --- a/haiku-apps/caya_gpl_protocols/caya_gpl_protocols-35.recipe +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION="GPL Plugins for Caya, protocols MSN and XMPP" -HOMEPAGE="http://dev.osdrawer.net/projects/caya-gpl-protocols" -SRC_URI="svn+http://svn.osdrawer.net/caya-gpl-protocols/trunk#35" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="caya" -#CHECKSUM_MD5="" -MESSAGE="This port only builds with gcc4." -BUILD() -{ - cd caya-gpl-protocols-35 - ./configure - jam -} - -INSTALL() -{ - cd caya-gpl-protocols-35 - mkdir -p ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/msn ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/gtalk ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/facebook ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/jabber ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols - cp generated/distro-haiku-x86-gcc4-debug/yahoo ${DESTDIR}/`finddir B_APPS_DIRECTORY`/Caya/protocols -} - -LICENSE="GNU GPL v2" -COPYRIGHT="2010-2011 Casalinuovo Dario - 2009-2011 Pierluigi Fiorini - 2010-2011 Oliver Ruiz Dorantes" - diff --git a/haiku-apps/caya_gpl_protocols/patches/caya_gpl_protocols-0.HEAD.patch b/haiku-apps/caya_gpl_protocols/patches/caya_gpl_protocols-0.HEAD.patch deleted file mode 100644 index a45bd230b..000000000 --- a/haiku-apps/caya_gpl_protocols/patches/caya_gpl_protocols-0.HEAD.patch +++ /dev/null @@ -1,214 +0,0 @@ -Index: libs/libmsn/msnobject.cpp -=================================================================== ---- libs/libmsn/msnobject.cpp (revision 36) -+++ libs/libmsn/msnobject.cpp (working copy) -@@ -30,7 +30,7 @@ - { - void MSNObject::addMSNObject(std::string filename, int Type) - { -- std::ifstream::pos_type size; -+ std::streampos size; - char * memblock; - SHA_CTX ctx; - unsigned char digest[SHA_DIGEST_LENGTH]; -Index: libs/libmsn/Jamfile -=================================================================== ---- libs/libmsn/Jamfile (revision 36) -+++ libs/libmsn/Jamfile (working copy) -@@ -2,6 +2,7 @@ - - SubDirSysHdrs [ FDirName $(TOP) ] ; - SubDirSysHdrs [ FDirName $(TOP) libs ] ; -+SubDirSysHdrs [ FDirName $(TOP) libs libmsn ] ; - - SubDirSysHdrs [ FDirName $(OPENSSL_INCLUDE_DIR) ] ; - -Index: libs/libmsn/connection.h -=================================================================== ---- libs/libmsn/connection.h (revision 36) -+++ libs/libmsn/connection.h (working copy) -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include - - #ifdef _MSC_VER - #pragma warning( disable : 4290 ) -Index: libs/libmsn/util.cpp -=================================================================== ---- libs/libmsn/util.cpp (revision 36) -+++ libs/libmsn/util.cpp (working copy) -@@ -146,8 +146,8 @@ - it1 != s1.end() && it2 != s2.end(); - ++it1, ++it2) - { -- if (std::toupper(*it1) != std::toupper(*it2)) -- return std::toupper(*it1) - std::toupper(*it2); -+ if (toupper(*it1) != toupper(*it2)) -+ return toupper(*it1) - toupper(*it2); - } - size_t size1 = s1.size(), size2 = s2.size(); - return (int) (size1 - size2); -@@ -358,11 +358,11 @@ - int FileSize(const char* sFileName) - { - std::ifstream f; -- f.open(sFileName, std::ios_base::binary | std::ios_base::in); -+ f.open(sFileName, std::ios::binary | std::ios::in); - if (!f.good() || f.eof() || !f.is_open()) { return 0; } -- f.seekg(0, std::ios_base::beg); -- std::ifstream::pos_type begin_pos = f.tellg(); -- f.seekg(0, std::ios_base::end); -+ f.seekg(0, std::ios::beg); -+ std::streampos begin_pos = f.tellg(); -+ f.seekg(0, std::ios::end); - return static_cast(f.tellg() - begin_pos); - } - -Index: libs/libmsn/message.cpp -=================================================================== ---- libs/libmsn/message.cpp (revision 36) -+++ libs/libmsn/message.cpp (working copy) -@@ -124,7 +124,7 @@ - { - std::string color = this->getFormatInfo()["CO"]; - assert(color.size() <= 6 && color.size() >= 0); -- color.insert(0U, 6 - color.size(), '0'); -+ color.insert((size_t)0, (size_t)(6 - color.size()), '0'); - int r = 0, g = 0, b = 0; - - b = strtol(color.substr(0, 2).c_str(), NULL, 16); -@@ -167,7 +167,7 @@ - - void Message::setColor(std::string color) - { -- color.insert(0U, 6 - color.size(), '0'); -+ color.insert((size_t)0, (size_t)(6 - color.size()), '0'); - int r = 0, g = 0, b = 0; - - r = strtol(color.substr(0, 2).c_str(), NULL, 16); -Index: libs/libyahoo2/yahoo_httplib.c -=================================================================== ---- libs/libyahoo2/yahoo_httplib.c (revision 36) -+++ libs/libyahoo2/yahoo_httplib.c (working copy) -@@ -29,19 +29,7 @@ - #include - #include - --#if STDC_HEADERS - # include --#else --# if !HAVE_STRCHR --# define strchr index --# define strrchr rindex --# endif --char *strchr(), *strrchr(); --# if !HAVE_MEMCPY --# define memcpy(d, s, n) bcopy ((s), (d), (n)) --# define memmove(d, s, n) bcopy ((s), (d), (n)) --# endif --#endif - - #include - #if HAVE_UNISTD_H -@@ -374,7 +362,6 @@ - void yahoo_http_head(int id, const char *url, const char *cookies, int len, - char *payload, yahoo_get_fd_callback callback, void *data) - { -- printf("yahoo_http_read\n"); - char host[255]; - int port = 80; - char path[255]; -Index: libs/libgloox/parser.cpp -=================================================================== ---- libs/libgloox/parser.cpp (revision 36) -+++ libs/libgloox/parser.cpp (working copy) -@@ -141,7 +141,7 @@ - { - if( pos + needle.length() <= data.length() ) - { -- if( !data.compare( pos, needle.length(), needle ) ) -+ if( !data.compare(pos, needle.length(), needle ) ) - { - pos += needle.length() - 1; - return ForwardFound; -Index: libs/libgloox/siprofileft.cpp -=================================================================== ---- libs/libgloox/siprofileft.cpp (revision 36) -+++ libs/libgloox/siprofileft.cpp (working copy) -@@ -84,11 +84,11 @@ - DataFormField* dff = df.addField( DataFormField::TypeListSingle, "stream-method" ); - StringMultiMap sm; - if( streamTypes & FTTypeS5B ) -- sm.insert( std::make_pair( "s5b", XMLNS_BYTESTREAMS ) ); -+ sm.insert( std::make_pair( "s5b", XMLNS_BYTESTREAMS ) ); - if( streamTypes & FTTypeIBB ) -- sm.insert( std::make_pair( "ibb", XMLNS_IBB ) ); -+ sm.insert( std::make_pair( "ibb", XMLNS_IBB ) ); - if( streamTypes & FTTypeOOB ) -- sm.insert( std::make_pair( "oob", XMLNS_IQ_OOB ) ); -+ sm.insert( std::make_pair( "oob", XMLNS_IQ_OOB ) ); - dff->setOptions( sm ); - feature->addChild( df.tag() ); - -Index: libs/libgloox/connectionbosh.cpp -=================================================================== ---- libs/libgloox/connectionbosh.cpp (revision 36) -+++ libs/libgloox/connectionbosh.cpp (working copy) -@@ -303,7 +303,7 @@ - - bool ci_equal( char ch1, char ch2 ) - { -- return std::toupper( (unsigned char)ch1 ) == std::toupper( (unsigned char)ch2 ); -+ return toupper( (unsigned char)ch1 ) == toupper( (unsigned char)ch2 ); - } - - std::string::size_type ci_find( const std::string& str1, const std::string& str2 ) -Index: libs/libgloox/gloox.h -=================================================================== ---- libs/libgloox/gloox.h (revision 36) -+++ libs/libgloox/gloox.h (working copy) -@@ -1214,7 +1214,7 @@ - /** - * A multimap of strings. - */ -- typedef std::multimap StringMultiMap; -+ typedef std::multimap StringMultiMap; - - class StanzaExtension; - /** -Index: protocols/msn/MSN.cpp -=================================================================== ---- protocols/msn/MSN.cpp (revision 36) -+++ protocols/msn/MSN.cpp (working copy) -@@ -52,7 +52,7 @@ - const uint32 kAvatarCheckMessage = 'AVMs'; - - struct pollfd* kPollSockets = NULL; --struct ssl { -+struct Ssl { - bool isSSL; - bool isConnected; - SSL *ssl; -@@ -718,7 +718,7 @@ - return; - } - -- kSocketsSsl = (struct ssl*) realloc(kSocketsSsl, (kSocketsAvailable + 10) * sizeof(struct ssl)); -+ kSocketsSsl = (struct Ssl*) realloc(kSocketsSsl, (kSocketsAvailable + 10) * sizeof(struct Ssl)); - if (kSocketsSsl == NULL) { - Error("Memory Error!!\n", NULL); - return; -Index: protocols/xmpp/Jamfile -=================================================================== ---- protocols/xmpp/Jamfile (revision 36) -+++ protocols/xmpp/Jamfile (working copy) -@@ -2,6 +2,7 @@ - - SubDirSysHdrs [ FDirName $(TOP) ] ; - SubDirSysHdrs [ FDirName $(TOP) libs ] ; -+SubDirSysHdrs [ FDirName $(TOP) libs libgloox ] ; - SubDirSysHdrs [ FDirName $(OPENSSL_INCLUDE_DIR) ] ; - SubDirSysHdrs [ FDirName $(CAYA_INCLUDE_DIR) ] ; - From e4dcc46191a94fbd21f19de8dea80fd70a346947 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 3 Dec 2013 00:42:21 -0700 Subject: [PATCH 18/89] Move keepassx binary from $binDir to $appsDir --- app-admin/keepassx/keepassx-2.0a4.git.recipe | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app-admin/keepassx/keepassx-2.0a4.git.recipe b/app-admin/keepassx/keepassx-2.0a4.git.recipe index 736ea893b..1cd686d36 100644 --- a/app-admin/keepassx/keepassx-2.0a4.git.recipe +++ b/app-admin/keepassx/keepassx-2.0a4.git.recipe @@ -30,12 +30,12 @@ COPYRIGHT=" " LICENSE="GNU GPL v2" -REVISION="1" +REVISION="2" ARCHITECTURES="x86" PROVIDES=" keepassx = $portVersion - cmd:keepassx = $portVersion + app:keepassx = $portVersion " REQUIRES=" @@ -83,6 +83,7 @@ BUILD() INSTALL() { make install - - addAppDeskbarSymlink $binDir/keepassx KeePassX + mkdir -p $appsDir + mv $binDir/keepassx $appsDir/KeePassX + addAppDeskbarSymlink $appsDir/KeePassX KeePassX } From fa3736107a746b349f93e0b4d84c25fe1dd964a7 Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Mon, 2 Dec 2013 19:12:11 +0000 Subject: [PATCH 19/89] Initial work on quassel-0.9.2 recipe. --- net-irc/quassel/quassel-0.9.2.recipe | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 net-irc/quassel/quassel-0.9.2.recipe diff --git a/net-irc/quassel/quassel-0.9.2.recipe b/net-irc/quassel/quassel-0.9.2.recipe new file mode 100644 index 000000000..fdd236a0e --- /dev/null +++ b/net-irc/quassel/quassel-0.9.2.recipe @@ -0,0 +1,60 @@ +SUMMARY="Quassel IRC." +DESCRIPTION="Quassel IRC core and client." +HOMEPAGE="http://quassel-irc.org" +SRC_URI="http://quassel-irc.org/pub/quassel-0.9.2.tar.bz2" +CHECKSUM_MD5="4ed88d288f60290f4459d3e68d61b037" +REVISION="1" +LICENSE=" + GNU GPL v2 + GNU GPL v3 + " +COPYRIGHT="Copyright (C) 2005, 2006, 2007, 2008, 2009 by the Quassel IRC Team" + +ARCHITECTURES="x86 x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + quassel = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + qtcore${secondaryArchSuffix} >= 4.8 + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + pkgconfig + qtcore${secondaryArchSuffix}_devel >= 4.8 + + cmd:cmake + cmd:gcc + cmd:g++ + cmd:gcc${secondaryArchSuffix} + cmd:g++${secondaryArchSuffix} + cmd:make + " + +#PATCHES=" +# " + +BUILD() +{ + echo "=========================" + echo "TODO: Building quassel..." + + pushd . + mkdir -p build + cd build + cmake `popd` + make + + cd `popd` +} + +INSTALL() +{ + echo "===========================" + echo "TODO: Installing quassel..." + #make install +} From d23305991c9f1108f019150cb6ea59acb320d031 Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Mon, 2 Dec 2013 23:47:56 +0000 Subject: [PATCH 20/89] Updated quassel recipe. Now builds on hrev46464 on gcc2h. Installs to $appDir/Quassel. --- net-irc/quassel/quassel-0.9.2.recipe | 60 ++++++++++++++++------------ 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/net-irc/quassel/quassel-0.9.2.recipe b/net-irc/quassel/quassel-0.9.2.recipe index fdd236a0e..5ce0db1f8 100644 --- a/net-irc/quassel/quassel-0.9.2.recipe +++ b/net-irc/quassel/quassel-0.9.2.recipe @@ -14,47 +14,57 @@ ARCHITECTURES="x86 x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" - quassel = $portVersion + quassel${secondaryArchSuffix} = $portVersion + cmd:quassel${secondaryArchSuffix} + cmd:quasselcore${secondaryArchSuffix} + cmd:quasselclient${secondaryArchSuffix} " REQUIRES=" - haiku >= $haikuVersion + haiku${secondaryArchSuffix} >= $haikuVersion qtcore${secondaryArchSuffix} >= 4.8 " + +BUILD_PREREQUIRES=" + cmd:cmake + cmd:gcc${secondaryArchSuffix} + cmd:g++${secondaryArchSuffix} + cmd:make + " BUILD_REQUIRES=" - haiku_devel >= $haikuVersion - pkgconfig - qtcore${secondaryArchSuffix}_devel >= 4.8 - - cmd:cmake - cmd:gcc - cmd:g++ - cmd:gcc${secondaryArchSuffix} - cmd:g++${secondaryArchSuffix} - cmd:make + haiku${secondaryArchSuffix}_devel >= $haikuVersion + qtcore${secondaryArchSuffix}_devel >= 4.8 + cmd:pkg_config " - -#PATCHES=" -# " BUILD() -{ - echo "=========================" - echo "TODO: Building quassel..." - +{ pushd . mkdir -p build cd build - cmake `popd` - make - + cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" `popd` + make cd `popd` } INSTALL() { - echo "===========================" - echo "TODO: Installing quassel..." - #make install + pushd . + cd build + # Optional: strip the binaries before installing. + echo "Stripping binaries ..." + strip quassel + strip quasselcore + strip quasselclient + + + echo "DEBUG: apps dir: ${appsDir}" + echo "Copying binaries to ${appsDir} ..." + mkdir -p ${appsDir}/Quassel + cp quassel ${appsDir}/Quassel + cp quasselcore ${appsDir}/Quassel + cp quasselclient ${appsDir}/Quassel + + cd `popd` } From aba3601bd408e6707aceb5bef59301f5e7623855 Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Tue, 3 Dec 2013 08:25:41 +0000 Subject: [PATCH 21/89] Cleaned up quassel recipe based on feedback. --- net-irc/quassel/quassel-0.9.2.recipe | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/net-irc/quassel/quassel-0.9.2.recipe b/net-irc/quassel/quassel-0.9.2.recipe index 5ce0db1f8..6908aea09 100644 --- a/net-irc/quassel/quassel-0.9.2.recipe +++ b/net-irc/quassel/quassel-0.9.2.recipe @@ -40,31 +40,26 @@ BUILD_REQUIRES=" BUILD() { - pushd . mkdir -p build - cd build + pushd build cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" `popd` make - cd `popd` + popd } INSTALL() { - pushd . - cd build + cd build + # Optional: strip the binaries before installing. echo "Stripping binaries ..." strip quassel strip quasselcore strip quasselclient - - echo "DEBUG: apps dir: ${appsDir}" echo "Copying binaries to ${appsDir} ..." mkdir -p ${appsDir}/Quassel cp quassel ${appsDir}/Quassel cp quasselcore ${appsDir}/Quassel cp quasselclient ${appsDir}/Quassel - - cd `popd` } From 6490a5f66a2e61731be707595eeacbff60f59d60 Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Tue, 3 Dec 2013 09:13:55 +0000 Subject: [PATCH 22/89] Quassel recipe updates based on feedback: - Modified description. - Modified copyright. - Only support gcc2 if we're building for a different architecture. - Removed unnecessary BUILD_PREREQUIRES entry for gcc. - Added note regarding stripped binaries for future reference. --- net-irc/quassel/quassel-0.9.2.recipe | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/net-irc/quassel/quassel-0.9.2.recipe b/net-irc/quassel/quassel-0.9.2.recipe index 6908aea09..ce00b742b 100644 --- a/net-irc/quassel/quassel-0.9.2.recipe +++ b/net-irc/quassel/quassel-0.9.2.recipe @@ -1,5 +1,15 @@ SUMMARY="Quassel IRC." -DESCRIPTION="Quassel IRC core and client." +DESCRIPTION=" +Quassel IRC is a modern, cross-platform, distributed IRC client, +meaning that one (or multiple) client(s) can attach to and detach +from a central core -- much like the popular combination of screen +and a text-based IRC client such as WeeChat, but graphical. In +addition to this unique feature, we aim to bring a pleasurable, +comfortable chatting experience to all major platforms (including +Linux, Windows, and MacOS X as well as Android smartphones), making +communication with your peers not only convenient, but also +ubiquitous available. + " HOMEPAGE="http://quassel-irc.org" SRC_URI="http://quassel-irc.org/pub/quassel-0.9.2.tar.bz2" CHECKSUM_MD5="4ed88d288f60290f4459d3e68d61b037" @@ -8,9 +18,15 @@ LICENSE=" GNU GPL v2 GNU GPL v3 " -COPYRIGHT="Copyright (C) 2005, 2006, 2007, 2008, 2009 by the Quassel IRC Team" +COPYRIGHT="2005-2009, the Quassel IRC Team" + +ARCHITECTURES="x86" +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" +fi -ARCHITECTURES="x86 x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" @@ -27,7 +43,6 @@ REQUIRES=" BUILD_PREREQUIRES=" cmd:cmake - cmd:gcc${secondaryArchSuffix} cmd:g++${secondaryArchSuffix} cmd:make " @@ -52,6 +67,7 @@ INSTALL() cd build # Optional: strip the binaries before installing. + # To be updated/removed whenever resources are added. echo "Stripping binaries ..." strip quassel strip quasselcore From ee1d6a11bba06c851094489f12c75ee7f52739e2 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 3 Dec 2013 02:29:08 -0700 Subject: [PATCH 23/89] Update mercurial to 2.8.1 Changed the requires because mercurial only needs the msgfmt tool at build time. --HG-- rename : dev-vcs/mercurial/mercurial-2.8.recipe => dev-vcs/mercurial/mercurial-2.8.1.recipe rename : dev-vcs/mercurial/patches/mercurial-2.8.patch => dev-vcs/mercurial/patches/mercurial-2.8.1.patch --- ...curial-2.8.recipe => mercurial-2.8.1.recipe} | 17 +++++++++-------- ...ercurial-2.8.patch => mercurial-2.8.1.patch} | 6 +++--- 2 files changed, 12 insertions(+), 11 deletions(-) rename dev-vcs/mercurial/{mercurial-2.8.recipe => mercurial-2.8.1.recipe} (81%) rename dev-vcs/mercurial/patches/{mercurial-2.8.patch => mercurial-2.8.1.patch} (57%) diff --git a/dev-vcs/mercurial/mercurial-2.8.recipe b/dev-vcs/mercurial/mercurial-2.8.1.recipe similarity index 81% rename from dev-vcs/mercurial/mercurial-2.8.recipe rename to dev-vcs/mercurial/mercurial-2.8.1.recipe index e4fc40317..46ea1cb8c 100644 --- a/dev-vcs/mercurial/mercurial-2.8.recipe +++ b/dev-vcs/mercurial/mercurial-2.8.1.recipe @@ -3,36 +3,37 @@ DESCRIPTION="Mercurial is a free, distributed source control management tool." HOMEPAGE="http://mercurial.selenic.com/" COPYRIGHT="2005-2012 Matt Mackall et al." LICENSE="GNU GPL v2" -SRC_URI="http://mercurial.selenic.com/release/mercurial-2.8.tar.gz" -CHECKSUM_MD5="76b565f48000e9f331356ab107a5bcbb" +SRC_URI="http://mercurial.selenic.com/release/mercurial-2.8.1.tar.gz" +CHECKSUM_MD5="bede5869f9b5d09ab3269bac472495e7" REVISION="1" ARCHITECTURES="x86_gcc2 x86 x86_64" -PATCHES="mercurial-2.8.patch" +PATCHES="mercurial-2.8.1.patch" PROVIDES=" mercurial = $portVersion compat >= 2 cmd:hg = $portVersion compat >= 2 " + REQUIRES=" haiku_devel >= $haikuVersion cmd:python cmd:nano - lib:libintl " + BUILD_REQUIRES=" - " -BUILD_PREREQUIRES=" haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" cmd:python cmd:gcc cmd:gettext cmd:ld cmd:make + cmd:msgfmt " -SOURCE_DIR="$portVersionedName" - BUILD() { $portPackageLinksDir/cmd~python/bin/python setup.py build --force diff --git a/dev-vcs/mercurial/patches/mercurial-2.8.patch b/dev-vcs/mercurial/patches/mercurial-2.8.1.patch similarity index 57% rename from dev-vcs/mercurial/patches/mercurial-2.8.patch rename to dev-vcs/mercurial/patches/mercurial-2.8.1.patch index 734c4b759..edfe44133 100644 --- a/dev-vcs/mercurial/patches/mercurial-2.8.patch +++ b/dev-vcs/mercurial/patches/mercurial-2.8.1.patch @@ -1,6 +1,6 @@ -diff -up mercurial-2.8/mercurial/ui.py.orig mercurial-2.8/mercurial/ui.py ---- mercurial-2.8/mercurial/ui.py.orig 2012-06-01 22:48:21.025690112 -0600 -+++ mercurial-2.8/mercurial/ui.py 2012-06-04 17:15:16.317980672 -0600 +diff -up mercurial-2.8.1/mercurial/ui.py.orig mercurial-2.8.1/mercurial/ui.py +--- mercurial-2.8.1/mercurial/ui.py.orig 2012-06-01 22:48:21.025690112 -0600 ++++ mercurial-2.8.1/mercurial/ui.py 2012-06-04 17:15:16.317980672 -0600 @@ -693,7 +693,7 @@ class ui(object): # avoid confusion. editor = 'E' From 458b2f783ebb9ca00cb2f7b7ec40d9517858d216 Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Tue, 3 Dec 2013 09:33:06 +0000 Subject: [PATCH 24/89] Avoid using pushd/popd here for simplicity. --- net-irc/quassel/quassel-0.9.2.recipe | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net-irc/quassel/quassel-0.9.2.recipe b/net-irc/quassel/quassel-0.9.2.recipe index ce00b742b..b4e59beba 100644 --- a/net-irc/quassel/quassel-0.9.2.recipe +++ b/net-irc/quassel/quassel-0.9.2.recipe @@ -56,10 +56,9 @@ BUILD_REQUIRES=" BUILD() { mkdir -p build - pushd build - cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" `popd` - make - popd + cd build + cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" .. + make } INSTALL() From 399941fb03098de439fb898066957d8fc1a2645b Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Tue, 3 Dec 2013 09:38:11 +0000 Subject: [PATCH 25/89] Move cmd:pkg_config requirement to BUILD_PREREQUIRES. --- net-irc/quassel/quassel-0.9.2.recipe | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/net-irc/quassel/quassel-0.9.2.recipe b/net-irc/quassel/quassel-0.9.2.recipe index b4e59beba..d9e585e48 100644 --- a/net-irc/quassel/quassel-0.9.2.recipe +++ b/net-irc/quassel/quassel-0.9.2.recipe @@ -22,9 +22,9 @@ COPYRIGHT="2005-2009, the Quassel IRC Team" ARCHITECTURES="x86" 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" + # x86_gcc2 is fine as primary target architecture as long as we're building + # for a different secondary architecture. + ARCHITECTURES="$ARCHITECTURES x86_gcc2" fi SECONDARY_ARCHITECTURES="x86" @@ -37,21 +37,21 @@ PROVIDES=" " REQUIRES=" - haiku${secondaryArchSuffix} >= $haikuVersion - qtcore${secondaryArchSuffix} >= 4.8 - " + haiku${secondaryArchSuffix} >= $haikuVersion + qtcore${secondaryArchSuffix} >= 4.8 + " BUILD_PREREQUIRES=" cmd:cmake cmd:g++${secondaryArchSuffix} cmd:make + cmd:pkg_config " BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion - qtcore${secondaryArchSuffix}_devel >= 4.8 - cmd:pkg_config - " + haiku${secondaryArchSuffix}_devel >= $haikuVersion + qtcore${secondaryArchSuffix}_devel >= 4.8 + " BUILD() { From e307f94462390c4a1ad890ebad006d67e6b5d010 Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Tue, 3 Dec 2013 12:29:47 +0000 Subject: [PATCH 26/89] Updated quassel to create Deskbar symlinks. --- net-irc/quassel/quassel-0.9.2.recipe | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-irc/quassel/quassel-0.9.2.recipe b/net-irc/quassel/quassel-0.9.2.recipe index d9e585e48..4ca7b90bc 100644 --- a/net-irc/quassel/quassel-0.9.2.recipe +++ b/net-irc/quassel/quassel-0.9.2.recipe @@ -13,7 +13,7 @@ ubiquitous available. HOMEPAGE="http://quassel-irc.org" SRC_URI="http://quassel-irc.org/pub/quassel-0.9.2.tar.bz2" CHECKSUM_MD5="4ed88d288f60290f4459d3e68d61b037" -REVISION="1" +REVISION="2" LICENSE=" GNU GPL v2 GNU GPL v3 @@ -77,4 +77,11 @@ INSTALL() cp quassel ${appsDir}/Quassel cp quasselcore ${appsDir}/Quassel cp quasselclient ${appsDir}/Quassel + + DIR_QUASSEL_DESKBAR="${dataDir}/deskbar/menu/Applications/Quassel" + mkdir -p ${DIR_QUASSEL_DESKBAR} + echo "Making links for Deskbar in ${DIR_QUASSEL_DESKBAR} ..." + addAppDeskbarSymlink ${appsDir}/Quassel/quassel "Quassel/Quassel" + addAppDeskbarSymlink ${appsDir}/Quassel/quasselcore "Quassel/Quassel Core" + addAppDeskbarSymlink ${appsDir}/Quassel/quasselclient "Quassel/Quassel Client" } From cceaa20b6dde6ae990aec1551f88ce272fbd3eb2 Mon Sep 17 00:00:00 2001 From: Anna Gajdova Date: Tue, 3 Dec 2013 14:11:25 +0100 Subject: [PATCH 27/89] libiptcdata recipe --- .../libiptcdata/libiptcdata-1.0.4.recipe | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 media-libs/libiptcdata/libiptcdata-1.0.4.recipe diff --git a/media-libs/libiptcdata/libiptcdata-1.0.4.recipe b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe new file mode 100644 index 000000000..141463589 --- /dev/null +++ b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe @@ -0,0 +1,59 @@ +SUMMARY="Library for IPTC metadata manipulation" +DESCRIPTION="libiptcdata is a library, written in C, for manipulating the International Press Telecommunications Council (IPTC) metadata stored within multimedia files such as images. This metadata can include captions and keywords, often used by popular photo management applications. The library provides routines for parsing, viewing, modifying, and saving this metadata." +HOMEPAGE="http://libiptcdata.sourceforge.net/" +COPYRIGHT=" + 2005 David Moore + " +LICENSE="GNU FDL v1.1" +SRC_URI="http://prdownloads.sourceforge.net/libiptcdata/libiptcdata-1.0.4.tar.gz?download" +CHECKSUM_MD5="af886556ecb129b694f2d365d03d95a8" +REVISION="1" +ARCHITECTURES="x86_gcc2" + +PROVIDES=" + libiptcdata = $portVersion + cmd:iptc = $portVersion + lib:libiptcdata = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + " +BUILD_REQUIRES=" + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:ld + cmd:make + " + +BUILD() +{ + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + prepareInstalledDevelLibs libiptcdata + fixPkgconfig + + # devel package + packageEntries devel \ + $binDir \ + $developDir +} + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + libiptcdata_devel = $portVersion + cmd:iptc = $portVersion + devel:libiptcdata = $portVersion + " +REQUIRES_devel=" + libiptcdata == $portVersion base + lib:libroot + " From 3208f9461e594711bc6d08d83294b3d8b8616a4d Mon Sep 17 00:00:00 2001 From: Anna Gajdova Date: Tue, 3 Dec 2013 14:32:58 +0100 Subject: [PATCH 28/89] add license to libiptcdata --- media-libs/libiptcdata/licenses/GNU FDL v1.1 | 107 +++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 media-libs/libiptcdata/licenses/GNU FDL v1.1 diff --git a/media-libs/libiptcdata/licenses/GNU FDL v1.1 b/media-libs/libiptcdata/licenses/GNU FDL v1.1 new file mode 100644 index 000000000..ac71ca810 --- /dev/null +++ b/media-libs/libiptcdata/licenses/GNU FDL v1.1 @@ -0,0 +1,107 @@ +Version 1.1, March 2000 + +Copyright (C) 2000 Free Software Foundation, Inc. +51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. +0. PREAMBLE + +The purpose of this License is to make a manual, textbook, or other written document "free" in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. + +This License is a kind of "copyleft", which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. + +We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. + +1. APPLICABILITY AND DEFINITIONS + +This License applies to any manual or other work that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. The "Document", below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as "you". + +A "Modified Version" of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. + +A "Secondary Section" is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document's overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (For example, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. + +The "Invariant Sections" are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. + +The "Cover Texts" are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. + +A "Transparent" copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, whose contents can be viewed and edited directly and straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup has been designed to thwart or discourage subsequent modification by readers is not Transparent. A copy that is not "Transparent" is called "Opaque". + +Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML designed for human modification. Opaque formats include PostScript, PDF, proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML produced by some word processors for output purposes only. + +The "Title Page" means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, "Title Page" means the text near the most prominent appearance of the work's title, preceding the beginning of the body of the text. + +2. VERBATIM COPYING + +You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. + +You may also lend copies, under the same conditions stated above, and you may publicly display copies. + +3. COPYING IN QUANTITY + +If you publish printed copies of the Document numbering more than 100, and the Document's license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. + +If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. + +If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a publicly-accessible computer-network location containing a complete Transparent copy of the Document, free of added material, which the general network-using public has access to download anonymously at no charge using public-standard network protocols. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. + +It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. + +4. MODIFICATIONS + +You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version: + +A. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission. +B. List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has less than five). +C. State on the Title page the name of the publisher of the Modified Version, as the publisher. +D. Preserve all the copyright notices of the Document. +E. Add an appropriate copyright notice for your modifications adjacent to the other copyright notices. +F. Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below. +G. Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document's license notice. +H. Include an unaltered copy of this License. +I. Preserve the section entitled "History", and its title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section entitled "History" in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence. +J. Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the "History" section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission. +K. In any section entitled "Acknowledgements" or "Dedications", preserve the section's title, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. +L. Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles. +M. Delete any section entitled "Endorsements". Such a section may not be included in the Modified Version. +N. Do not retitle any existing section as "Endorsements" or to conflict in title with any Invariant Section. +If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version's license notice. These titles must be distinct from any other section titles. + +You may add a section entitled "Endorsements", provided it contains nothing but endorsements of your Modified Version by various parties--for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. + +You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. + +The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. + +5. COMBINING DOCUMENTS + +You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice. + +The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. + +In the combination, you must combine any sections entitled "History" in the various original documents, forming one section entitled "History"; likewise combine any sections entitled "Acknowledgements", and any sections entitled "Dedications". You must delete all sections entitled "Endorsements." + +6. COLLECTIONS OF DOCUMENTS + +You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. + +You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. + +7. AGGREGATION WITH INDEPENDENT WORKS + +A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, does not as a whole count as a Modified Version of the Document, provided no compilation copyright is claimed for the compilation. Such a compilation is called an "aggregate", and this License does not apply to the other self-contained works thus compiled with the Document, on account of their being thus compiled, if they are not themselves derivative works of the Document. + +If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one quarter of the entire aggregate, the Document's Cover Texts may be placed on covers that surround only the Document within the aggregate. Otherwise they must appear on covers around the whole aggregate. + +8. TRANSLATION + +Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License provided that you also include the original English version of this License. In case of a disagreement between the translation and the original English version of this License, the original English version will prevail. + +9. TERMINATION + +You may not copy, modify, sublicense, or distribute the Document except as expressly provided for under this License. Any other attempt to copy, modify, sublicense or distribute the Document is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +10. FUTURE REVISIONS OF THIS LICENSE + +The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See http://www.gnu.org/copyleft/. + +Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License "or any later version" applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. From 98697cf6b83d387cb7503ffad96f56cb09f368a3 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Tue, 3 Dec 2013 15:02:28 +0100 Subject: [PATCH 29/89] Move commands to BUILD_PREREQUIRES, remove useless folder (Fortuna) --- haiku-apps/fortuna/fortuna-1.0.0.recipe | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/haiku-apps/fortuna/fortuna-1.0.0.recipe b/haiku-apps/fortuna/fortuna-1.0.0.recipe index 8410ae72b..7ccf3272b 100644 --- a/haiku-apps/fortuna/fortuna-1.0.0.recipe +++ b/haiku-apps/fortuna/fortuna-1.0.0.recipe @@ -28,12 +28,15 @@ REQUIRES=" haiku >= $haikuVersion " -BUILD_REQUIRES=" - haiku_devel >= $haikuVersion +BUILD_PREREQUIRES=" cmd:gcc cmd:xres " +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + BUILD() { gcc -o Fortuna -lbe src/main.cpp src/FortuneWindow.cpp src/FortuneFunctions.cpp @@ -43,7 +46,7 @@ BUILD() INSTALL() { - mkdir -p $appsDir/Fortuna - cp Fortuna $appsDir/Fortuna - addAppDeskbarSymlink $appsDir/Fortuna/Fortuna + mkdir -p $appsDir + cp Fortuna $appsDir + addAppDeskbarSymlink $appsDir/Fortuna } From c5fb090d75e7b887a09c772ff33df13e8cb23e3c Mon Sep 17 00:00:00 2001 From: Theodore Kokkoris Date: Tue, 3 Dec 2013 15:20:18 +0000 Subject: [PATCH 30/89] BurnItNow trunk (fixed commit from repo) recipe added --- haiku-apps/burnitnow/burnitnow-trunk.recipe | 51 +++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 haiku-apps/burnitnow/burnitnow-trunk.recipe diff --git a/haiku-apps/burnitnow/burnitnow-trunk.recipe b/haiku-apps/burnitnow/burnitnow-trunk.recipe new file mode 100644 index 000000000..03fb1378b --- /dev/null +++ b/haiku-apps/burnitnow/burnitnow-trunk.recipe @@ -0,0 +1,51 @@ +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#5036e55" +REVISION="1" +COPYRIGHT=" + 2010 BurnItNow Team + 2010 BurnItNow Maintainers + 2005-2007 Ingo Weinhold + 2007 Haiku, Inc. + 1991-2000 Be Incorporated + " +LICENSE="MIT" + + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + burnitnow = $portVersion + app:burnintnow = $portVersion + " + +REQUIRES=" + cdrtools + " + +BUILD_PREREQUIRES=" + makefile_engine + cmd:cmake + cmd:make + cmd:gcc + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +SOURCE_DIR="$portName/trunk" + +BUILD() +{ + cmake . + make +} + +INSTALL() +{ + mkdir -p $appsDir/BurnItNow + cp BurnItNow $appsDir/BurnItNow + addAppDeskbarSymlink $appsDir/BurnItNow/BurnItNow +} From 6cc3253cd975b2fd7dc88a493c90f96253ced8af Mon Sep 17 00:00:00 2001 From: anna_gajdov Date: Tue, 3 Dec 2013 16:48:38 +0000 Subject: [PATCH 31/89] libiptcdata-1.0.4.recipe corrected - GCI --- media-libs/libiptcdata/libiptcdata-1.0.4.recipe | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/media-libs/libiptcdata/libiptcdata-1.0.4.recipe b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe index 141463589..0d8fac5f8 100644 --- a/media-libs/libiptcdata/libiptcdata-1.0.4.recipe +++ b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe @@ -8,7 +8,7 @@ LICENSE="GNU FDL v1.1" SRC_URI="http://prdownloads.sourceforge.net/libiptcdata/libiptcdata-1.0.4.tar.gz?download" CHECKSUM_MD5="af886556ecb129b694f2d365d03d95a8" REVISION="1" -ARCHITECTURES="x86_gcc2" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" PROVIDES=" libiptcdata = $portVersion @@ -19,9 +19,9 @@ REQUIRES=" haiku >= $haikuVersion " BUILD_REQUIRES=" + haiku_devel >= $haikuVersion " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion cmd:gcc cmd:ld cmd:make @@ -42,7 +42,6 @@ INSTALL() # devel package packageEntries devel \ - $binDir \ $developDir } @@ -50,7 +49,6 @@ INSTALL() PROVIDES_devel=" libiptcdata_devel = $portVersion - cmd:iptc = $portVersion devel:libiptcdata = $portVersion " REQUIRES_devel=" From 6b88bcf114edbab6aa95449863c8f66a2c2de167 Mon Sep 17 00:00:00 2001 From: tgkokk Date: Tue, 3 Dec 2013 16:50:31 +0000 Subject: [PATCH 32/89] Minor tweaks to the burnitnow-trunk recipe --- haiku-apps/burnitnow/burnitnow-trunk.recipe | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/haiku-apps/burnitnow/burnitnow-trunk.recipe b/haiku-apps/burnitnow/burnitnow-trunk.recipe index 03fb1378b..98d226421 100644 --- a/haiku-apps/burnitnow/burnitnow-trunk.recipe +++ b/haiku-apps/burnitnow/burnitnow-trunk.recipe @@ -4,8 +4,7 @@ HOMEPAGE="https://github.com/HaikuArchives/BurnItNow" SRC_URI="git+https://github.com/HaikuArchives/BurnItNow#5036e55" REVISION="1" COPYRIGHT=" - 2010 BurnItNow Team - 2010 BurnItNow Maintainers + 2010-2013 BurnItNow Team 2005-2007 Ingo Weinhold 2007 Haiku, Inc. 1991-2000 Be Incorporated @@ -21,7 +20,7 @@ PROVIDES=" " REQUIRES=" - cdrtools + cmd:cdrecord " BUILD_PREREQUIRES=" From 9a53e5632a55d3ca572b44dc8381a37256560068 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Tue, 3 Dec 2013 20:25:36 +0100 Subject: [PATCH 33/89] Add ConvertToLF recipe --- haiku-apps/converttolf/converttolf_git.recipe | 51 +++++++++++++++++++ .../patches/converttolf-1.0.0.patch | 13 +++++ 2 files changed, 64 insertions(+) create mode 100644 haiku-apps/converttolf/converttolf_git.recipe create mode 100644 haiku-apps/converttolf/patches/converttolf-1.0.0.patch diff --git a/haiku-apps/converttolf/converttolf_git.recipe b/haiku-apps/converttolf/converttolf_git.recipe new file mode 100644 index 000000000..a3539f540 --- /dev/null +++ b/haiku-apps/converttolf/converttolf_git.recipe @@ -0,0 +1,51 @@ +SUMMARY="A small tool to turn CRLF into LF without fuss!" +DESCRIPTION=" + ConvertToLF is a filter that removes the carriage returns used in the + end of file markers on some operating systems. Haiku uses just a line + feed to mark the end of line, and gcc, the Haiku compiler and StyledEdit + don't function properly with carriage returns in source code / text files. + " # Taken from the homepage + +HOMEPAGE="https://github.com/HaikuArchives/ConvertToLF/" +SRC_URI="git://github.com/HaikuArchives/ConvertToLF.git" + +REVISION="1" + +COPYRIGHT=" + fReT + " + +LICENSE="GPL" + +ARCHITECTURES="x86_gcc2 x86" + +PATCHES="converttolf_git.patch" + +PROVIDES=" + ConvertToLF = $portVersion + app:ConvertToLF = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_PREREQUIRES=" + cmd:gcc + cmd:xres + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " +BUILD() +{ + g++ -lbe -ltracker -o ConvertToLF Source/Strip.cpp + xres -o ConvertToLF Source/ConvertToLF.rsrc +} + +INSTALL() +{ + mkdir -p $addOnsDir/Tracker + cp ConvertToLF $addOnsDir/Tracker +} diff --git a/haiku-apps/converttolf/patches/converttolf-1.0.0.patch b/haiku-apps/converttolf/patches/converttolf-1.0.0.patch new file mode 100644 index 000000000..e60c631b3 --- /dev/null +++ b/haiku-apps/converttolf/patches/converttolf-1.0.0.patch @@ -0,0 +1,13 @@ +diff --git a/Source/Strip.cpp b/Source/Strip.cpp +index c630a03..fa79021 100644 +--- a/Source/Strip.cpp ++++ b/Source/Strip.cpp +@@ -1,7 +1,7 @@ + #include + #include + #include +-#include ++#include + + #include + #include From 7091695365c11338dc8aa70971fac2174124d69b Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Tue, 3 Dec 2013 20:51:59 +0100 Subject: [PATCH 34/89] Renamed converttolf version, fixed license, pinned commit, copyright corrected --- .../{converttolf_git.recipe => converttolf-0.0.0.recipe} | 8 ++++---- .../{converttolf-1.0.0.patch => converttolf-0.0.0.patch} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename haiku-apps/converttolf/{converttolf_git.recipe => converttolf-0.0.0.recipe} (84%) rename haiku-apps/converttolf/patches/{converttolf-1.0.0.patch => converttolf-0.0.0.patch} (100%) diff --git a/haiku-apps/converttolf/converttolf_git.recipe b/haiku-apps/converttolf/converttolf-0.0.0.recipe similarity index 84% rename from haiku-apps/converttolf/converttolf_git.recipe rename to haiku-apps/converttolf/converttolf-0.0.0.recipe index a3539f540..a0c0577f3 100644 --- a/haiku-apps/converttolf/converttolf_git.recipe +++ b/haiku-apps/converttolf/converttolf-0.0.0.recipe @@ -7,19 +7,19 @@ DESCRIPTION=" " # Taken from the homepage HOMEPAGE="https://github.com/HaikuArchives/ConvertToLF/" -SRC_URI="git://github.com/HaikuArchives/ConvertToLF.git" +SRC_URI="git://github.com/HaikuArchives/ConvertToLF.git#68aa99caf238e6ae91203f5023daa6716ea6c2cb" REVISION="1" COPYRIGHT=" - fReT + 2008 fReT " -LICENSE="GPL" +LICENSE="GNU GPL v2" ARCHITECTURES="x86_gcc2 x86" -PATCHES="converttolf_git.patch" +PATCHES="converttolf-0.0.0.patch" PROVIDES=" ConvertToLF = $portVersion diff --git a/haiku-apps/converttolf/patches/converttolf-1.0.0.patch b/haiku-apps/converttolf/patches/converttolf-0.0.0.patch similarity index 100% rename from haiku-apps/converttolf/patches/converttolf-1.0.0.patch rename to haiku-apps/converttolf/patches/converttolf-0.0.0.patch From ce3ce18c51415100c1252ae801ca1a8d9488d34f Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Tue, 3 Dec 2013 21:22:25 +0100 Subject: [PATCH 35/89] Changed copyright, changed commit --- haiku-apps/converttolf/converttolf-0.0.0.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haiku-apps/converttolf/converttolf-0.0.0.recipe b/haiku-apps/converttolf/converttolf-0.0.0.recipe index a0c0577f3..93c32de90 100644 --- a/haiku-apps/converttolf/converttolf-0.0.0.recipe +++ b/haiku-apps/converttolf/converttolf-0.0.0.recipe @@ -7,12 +7,12 @@ DESCRIPTION=" " # Taken from the homepage HOMEPAGE="https://github.com/HaikuArchives/ConvertToLF/" -SRC_URI="git://github.com/HaikuArchives/ConvertToLF.git#68aa99caf238e6ae91203f5023daa6716ea6c2cb" +SRC_URI="git://github.com/HaikuArchives/ConvertToLF.git#baed641a66480a02c570db21476c536f6d3369b2" REVISION="1" COPYRIGHT=" - 2008 fReT + 2001 fReT " LICENSE="GNU GPL v2" From 1ba13e35bcf73ab14011fd6181c7371afd0bddb3 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Tue, 3 Dec 2013 21:27:18 +0100 Subject: [PATCH 36/89] Moved from rsrc to rdef at ConvertToLF --- haiku-apps/converttolf/converttolf-0.0.0.recipe | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/haiku-apps/converttolf/converttolf-0.0.0.recipe b/haiku-apps/converttolf/converttolf-0.0.0.recipe index 93c32de90..0ad536f36 100644 --- a/haiku-apps/converttolf/converttolf-0.0.0.recipe +++ b/haiku-apps/converttolf/converttolf-0.0.0.recipe @@ -19,8 +19,6 @@ LICENSE="GNU GPL v2" ARCHITECTURES="x86_gcc2 x86" -PATCHES="converttolf-0.0.0.patch" - PROVIDES=" ConvertToLF = $portVersion app:ConvertToLF = $portVersion @@ -41,7 +39,8 @@ BUILD_REQUIRES=" BUILD() { g++ -lbe -ltracker -o ConvertToLF Source/Strip.cpp - xres -o ConvertToLF Source/ConvertToLF.rsrc + rc -o ConvertToLF.rsrc Source/ConvertToLF.rdef + xres -o ConvertToLF ConvertToLF.rsrc } INSTALL() From a5776893d315a58d87891993749821ac0055c305 Mon Sep 17 00:00:00 2001 From: Alex Ozer Date: Tue, 3 Dec 2013 15:28:05 -0500 Subject: [PATCH 37/89] Fix description, tidy up *REQUIRES functions --- haiku-apps/thememanager/thememanager-1.0_git.recipe | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/haiku-apps/thememanager/thememanager-1.0_git.recipe b/haiku-apps/thememanager/thememanager-1.0_git.recipe index 9638331e4..b3ba3e182 100644 --- a/haiku-apps/thememanager/thememanager-1.0_git.recipe +++ b/haiku-apps/thememanager/thememanager-1.0_git.recipe @@ -1,6 +1,6 @@ SUMMARY="Manages Haiku themes." DESCRIPTION="The Haiku Theme Manager is compatible with the one -shipping with ZETA. Users can choose which part of a theme to apply or +that shipped with ZETA. Users can choose which part of a theme to apply or save. It can also import BeTheme themes, and to some degree, MS Plus themes. It is add-ons based, so it can be extended." HOMEPAGE="https://github.com/HaikuArchives/HaikuThemeManager" @@ -17,17 +17,17 @@ PROVIDES=" REQUIRES=" haiku >= $haikuVersion " -BUILD_PREREQUIRES=" +BUILD_REQUIRES=" haiku_devel >= $haikuVersion +" +BUILD_PREREQUIRES=" + makefile_engine cmd:git cmd:gcc cmd:make cmd:mkdepend cmd:ld " -BUILD_REQUIRES=" - makefile_engine -" BUILD() { From 6ec4b3c0308060dccee3733648e15b465cdb2276 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Tue, 3 Dec 2013 21:31:05 +0100 Subject: [PATCH 38/89] Forgot to remove patch --- .../converttolf/patches/converttolf-0.0.0.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 haiku-apps/converttolf/patches/converttolf-0.0.0.patch diff --git a/haiku-apps/converttolf/patches/converttolf-0.0.0.patch b/haiku-apps/converttolf/patches/converttolf-0.0.0.patch deleted file mode 100644 index e60c631b3..000000000 --- a/haiku-apps/converttolf/patches/converttolf-0.0.0.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Source/Strip.cpp b/Source/Strip.cpp -index c630a03..fa79021 100644 ---- a/Source/Strip.cpp -+++ b/Source/Strip.cpp -@@ -1,7 +1,7 @@ - #include - #include - #include --#include -+#include - - #include - #include From 137d7ee4cf2391e685f8ae1fc4d042814622bff7 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Tue, 3 Dec 2013 21:35:08 +0100 Subject: [PATCH 39/89] Updated sha hash of git to new --- haiku-apps/converttolf/converttolf-0.0.0.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haiku-apps/converttolf/converttolf-0.0.0.recipe b/haiku-apps/converttolf/converttolf-0.0.0.recipe index 0ad536f36..ffa82c763 100644 --- a/haiku-apps/converttolf/converttolf-0.0.0.recipe +++ b/haiku-apps/converttolf/converttolf-0.0.0.recipe @@ -7,7 +7,7 @@ DESCRIPTION=" " # Taken from the homepage HOMEPAGE="https://github.com/HaikuArchives/ConvertToLF/" -SRC_URI="git://github.com/HaikuArchives/ConvertToLF.git#baed641a66480a02c570db21476c536f6d3369b2" +SRC_URI="git://github.com/HaikuArchives/ConvertToLF.git#d8ec50f92a65d9fd1058adf98fe2515fbafa243c" REVISION="1" @@ -17,7 +17,7 @@ COPYRIGHT=" LICENSE="GNU GPL v2" -ARCHITECTURES="x86_gcc2 x86" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" ConvertToLF = $portVersion From ccdd4279397e7d1cd193dd9934477fa47dc20d37 Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Tue, 3 Dec 2013 21:43:22 +0100 Subject: [PATCH 40/89] Tested and fixed errors in BeRDP and RDesktop. --- net-misc/berdp/berdp-1.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index 6aa7572f7..4a6741dc2 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -24,7 +24,7 @@ BUILD_REQUIRES=" REQUIRES=" haiku >= $haikuVersion - bin:rdesktop + cmd:rdesktop " From 56c9034c347834e024a0fac214582793991d4887 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Tue, 3 Dec 2013 21:59:42 +0100 Subject: [PATCH 41/89] Add mimeset to converttolf --- haiku-apps/converttolf/converttolf-0.0.0.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/haiku-apps/converttolf/converttolf-0.0.0.recipe b/haiku-apps/converttolf/converttolf-0.0.0.recipe index ffa82c763..e24a0eec9 100644 --- a/haiku-apps/converttolf/converttolf-0.0.0.recipe +++ b/haiku-apps/converttolf/converttolf-0.0.0.recipe @@ -41,6 +41,7 @@ BUILD() g++ -lbe -ltracker -o ConvertToLF Source/Strip.cpp rc -o ConvertToLF.rsrc Source/ConvertToLF.rdef xres -o ConvertToLF ConvertToLF.rsrc + mimeset -f ConvertToLF } INSTALL() From ec93d6574fffcd0d08b5408c9bb289b88dab6137 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 3 Dec 2013 14:09:25 -0700 Subject: [PATCH 42/89] Fix fortuna on gcc4 Switched to g++ for compiling so that the stdc++ libs get linked properly --- haiku-apps/fortuna/fortuna-1.0.0.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haiku-apps/fortuna/fortuna-1.0.0.recipe b/haiku-apps/fortuna/fortuna-1.0.0.recipe index 7ccf3272b..a64b8da0e 100644 --- a/haiku-apps/fortuna/fortuna-1.0.0.recipe +++ b/haiku-apps/fortuna/fortuna-1.0.0.recipe @@ -39,7 +39,7 @@ BUILD_REQUIRES=" BUILD() { - gcc -o Fortuna -lbe src/main.cpp src/FortuneWindow.cpp src/FortuneFunctions.cpp + g++ -o Fortuna -lbe src/main.cpp src/FortuneWindow.cpp src/FortuneFunctions.cpp xres -o Fortuna src/Fortuna.rsrc mimeset -f Fortuna } From 225f1a314a40b9ca695926f6c805babaff77da03 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 3 Dec 2013 14:23:41 -0700 Subject: [PATCH 43/89] Minor cleanup of beezer recipe --HG-- rename : haiku-apps/beezer/beezer-1.recipe => haiku-apps/beezer/beezer-0.99.hg.recipe rename : haiku-apps/beezer/patches/beezer-1.patch => haiku-apps/beezer/patches/beezer-0.99.hg.patch --- .../{beezer-1.recipe => beezer-0.99.hg.recipe} | 15 ++++++--------- .../{beezer-1.patch => beezer-0.99.hg.patch} | 0 2 files changed, 6 insertions(+), 9 deletions(-) rename haiku-apps/beezer/{beezer-1.recipe => beezer-0.99.hg.recipe} (82%) rename haiku-apps/beezer/patches/{beezer-1.patch => beezer-0.99.hg.patch} (100%) diff --git a/haiku-apps/beezer/beezer-1.recipe b/haiku-apps/beezer/beezer-0.99.hg.recipe similarity index 82% rename from haiku-apps/beezer/beezer-1.recipe rename to haiku-apps/beezer/beezer-0.99.hg.recipe index 2c8fa55ee..833eb3d04 100644 --- a/haiku-apps/beezer/beezer-1.recipe +++ b/haiku-apps/beezer/beezer-0.99.hg.recipe @@ -8,16 +8,14 @@ DESCRIPTION=" It can create 7zip, bzip2, gzip, tar and zip files. " HOMEPAGE="https://bitbucket.org/cpr/beezer" -SRC_URI="https://bitbucket.org/cpr/beezer/get/e6e2c619aa4a.zip" -CHECKSUM_MD5="79aac5ae3eac5abcfe0d197730723284" - +SRC_URI="hg+https://bitbucket.org/cpr/beezer" LICENSE="BSD (3-clause)" COPYRIGHT=" 2009 Ramshankar (aka Teknomancer) 2011-2012 Chris Roberts " -REVISION="1" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +REVISION="2" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" beezer = $portVersion @@ -31,18 +29,17 @@ REQUIRES=" BUILD_REQUIRES=" haiku_devel >= $haikuVersion " + BUILD_PREREQUIRES=" - cmake >= 2.8 + cmd:cmake >= 2.8 cmd:gcc cmd:make " PATCHES=" - beezer-1.patch + beezer-0.99.hg.patch " -SOURCE_DIR="cpr-beezer-e6e2c619aa4a" - BUILD() { cd Source diff --git a/haiku-apps/beezer/patches/beezer-1.patch b/haiku-apps/beezer/patches/beezer-0.99.hg.patch similarity index 100% rename from haiku-apps/beezer/patches/beezer-1.patch rename to haiku-apps/beezer/patches/beezer-0.99.hg.patch From f0430b0c54da43b087223e0a400a01f8a7092e96 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 3 Dec 2013 14:50:02 -0700 Subject: [PATCH 44/89] tweak quassel recipe * make the requires more specific instead of depending on the whole qtcore package * enable parallel building --- net-irc/quassel/quassel-0.9.2.recipe | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/net-irc/quassel/quassel-0.9.2.recipe b/net-irc/quassel/quassel-0.9.2.recipe index 4ca7b90bc..d9b7e1d46 100644 --- a/net-irc/quassel/quassel-0.9.2.recipe +++ b/net-irc/quassel/quassel-0.9.2.recipe @@ -38,40 +38,46 @@ PROVIDES=" REQUIRES=" haiku${secondaryArchSuffix} >= $haikuVersion - qtcore${secondaryArchSuffix} >= 4.8 + lib:libQtCore$secondaryArchSuffix >= 4.8 + lib:libQtGui$secondaryArchSuffix >= 4.8 " BUILD_PREREQUIRES=" cmd:cmake cmd:g++${secondaryArchSuffix} cmd:make + cmd:qmake$secondaryArchSuffix + cmd:moc$secondaryArchSuffix cmd:pkg_config " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion - qtcore${secondaryArchSuffix}_devel >= 4.8 + devel:libQtCore$secondaryArchSuffix >= 4.8 + devel:libQtGui$secondaryArchSuffix >= 4.8 " BUILD() { mkdir -p build cd build - cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" .. - make + cmake -DCMAKE_INSTALL_PREFIX=$prefix \ + -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" \ + -DCMAKE_BUILD_TYPE=Release .. + make $jobArgs } INSTALL() { cd build - + # Optional: strip the binaries before installing. # To be updated/removed whenever resources are added. echo "Stripping binaries ..." strip quassel strip quasselcore strip quasselclient - + echo "Copying binaries to ${appsDir} ..." mkdir -p ${appsDir}/Quassel cp quassel ${appsDir}/Quassel From fb0cfcac89cf8f64b67bb26a10deb257ba4faa77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 3 Dec 2013 23:09:08 +0000 Subject: [PATCH 45/89] libvpx: update patchset for x86_64 --- media-libs/libvpx/patches/libvpx-1.0.0.patch | 66 ------------------- .../libvpx/patches/libvpx-1.0.0.patchset | 48 ++++++++++++-- 2 files changed, 42 insertions(+), 72 deletions(-) delete mode 100644 media-libs/libvpx/patches/libvpx-1.0.0.patch diff --git a/media-libs/libvpx/patches/libvpx-1.0.0.patch b/media-libs/libvpx/patches/libvpx-1.0.0.patch deleted file mode 100644 index da04b72ff..000000000 --- a/media-libs/libvpx/patches/libvpx-1.0.0.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -ruN libvpx-v1.0.0/build/make/configure.sh libvpx-v1.0.0-haiku/build/make/configure.sh ---- libvpx-v1.0.0/build/make/configure.sh 2012-01-27 18:36:39.038535168 +0000 -+++ libvpx-v1.0.0-haiku/build/make/configure.sh 2012-03-14 00:47:54.780926976 +0000 -@@ -579,6 +579,9 @@ - *solaris2.10) - tgt_os=solaris - ;; -+ *haiku*) -+ tgt_os=haiku -+ ;; - esac - - if [ -n "$tgt_isa" ] && [ -n "$tgt_os" ]; then -@@ -909,8 +912,8 @@ - esac - ;; - gcc*) -- add_cflags -m${bits} -- add_ldflags -m${bits} -+ enabled haiku || add_cflags -m${bits} -+ enabled haiku || add_ldflags -m${bits} - link_with_cc=gcc - tune_cflags="-march=" - setup_gnu_toolchain -@@ -939,7 +942,7 @@ - add_asflags -f x64 - enabled debug && add_asflags -g cv8 - ;; -- linux*|solaris*) -+ linux*|solaris*|haiku*) - add_asflags -f elf${bits} - enabled debug && [ "${AS}" = yasm ] && add_asflags -g dwarf2 - enabled debug && [ "${AS}" = nasm ] && add_asflags -g -@@ -1019,6 +1022,7 @@ - case ${toolchain} in - *-win*);; - *-android-gcc);; -+ *-haiku*);; - *) check_header pthread.h && add_extralibs -lpthread - esac - fi -diff -ruN libvpx-v1.0.0/configure libvpx-v1.0.0-haiku/configure ---- libvpx-v1.0.0/configure 2012-01-27 18:36:39.039583744 +0000 -+++ libvpx-v1.0.0-haiku/configure 2012-03-14 00:46:37.182976512 +0000 -@@ -107,6 +107,7 @@ - all_platforms="${all_platforms} x86-darwin9-gcc" - all_platforms="${all_platforms} x86-darwin9-icc" - all_platforms="${all_platforms} x86-darwin10-gcc" -+all_platforms="${all_platforms} x86-haiku-gcc" - all_platforms="${all_platforms} x86-linux-gcc" - all_platforms="${all_platforms} x86-linux-icc" - all_platforms="${all_platforms} x86-solaris-gcc" -diff -ruN libvpx-v1.0.0/examples.mk libvpx-v1.0.0-haiku/examples.mk ---- libvpx-v1.0.0/examples.mk 2012-01-27 18:36:39.040108032 +0000 -+++ libvpx-v1.0.0-haiku/examples.mk 2012-03-14 00:46:37.187432960 +0000 -@@ -113,7 +113,9 @@ - # We should not link to math library (libm) on RVCT - # when building for bare-metal targets - ifeq ($(CONFIG_OS_SUPPORT), yes) --CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m -+ ifneq ($(TOOLCHAIN),x86-haiku-gcc) -+ CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m -+ endif - else - ifeq ($(CONFIG_GCC), yes) - CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m diff --git a/media-libs/libvpx/patches/libvpx-1.0.0.patchset b/media-libs/libvpx/patches/libvpx-1.0.0.patchset index eba3dc397..24eb0181d 100644 --- a/media-libs/libvpx/patches/libvpx-1.0.0.patchset +++ b/media-libs/libvpx/patches/libvpx-1.0.0.patchset @@ -1,4 +1,4 @@ -From 0c31cfc2c7429f81129c3403d9bc03bd245db71c Mon Sep 17 00:00:00 2001 +From 98f5dcd5f2dba828f545dac2a534c90d0c5e6c53 Mon Sep 17 00:00:00 2001 From: korli Date: Wed, 14 Mar 2012 00:15:38 +0000 Subject: patch for 1.0.0 @@ -74,10 +74,10 @@ index f6c9045..ab9657f 100644 ifeq ($(CONFIG_GCC), yes) CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m -- -1.7.5 +1.8.3.4 -From dd76984687465e457d9e3dcd0b4bdc4bd46225dd Mon Sep 17 00:00:00 2001 +From 9a194ee7b8498467e5700e2c4e39bc6a30c95714 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 11 Jun 2013 21:09:11 +0200 Subject: configure: enable shared library building for Haiku @@ -97,10 +97,10 @@ index eb8a359..a2ef98d 100755 if [ -z "$CC" ]; then echo "Bypassing toolchain for environment detection." -- -1.7.5 +1.8.3.4 -From 87b2816834bb2bbfc1e13765084a0c21eb46cf13 Mon Sep 17 00:00:00 2001 +From 238a1625cbbb75a1a84c112bacd3e6afee54a919 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 11 Jun 2013 21:09:28 +0200 Subject: libs.mk: no -lm or -lpthread on Haiku @@ -128,5 +128,41 @@ index 79a1d00..d88cfa7 100644 $(if $(LIPO_LIBS),$(eval $(call lipo_bin_template,$(bin))))\ -- -1.7.5 +1.8.3.4 + + +From 214d6e14250d72980faf3798501efe5808562854 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= +Date: Tue, 3 Dec 2013 22:18:36 +0000 +Subject: x86_64 support + +* configure, amples.mk + +diff --git a/configure b/configure +index a2ef98d..4b671ee 100755 +--- a/configure ++++ b/configure +@@ -118,6 +118,7 @@ all_platforms="${all_platforms} x86-win32-vs9" + all_platforms="${all_platforms} x86_64-darwin9-gcc" + all_platforms="${all_platforms} x86_64-darwin10-gcc" + all_platforms="${all_platforms} x86_64-darwin11-gcc" ++all_platforms="${all_platforms} x86_64-haiku-gcc" + all_platforms="${all_platforms} x86_64-linux-gcc" + all_platforms="${all_platforms} x86_64-linux-icc" + all_platforms="${all_platforms} x86_64-solaris-gcc" +diff --git a/examples.mk b/examples.mk +index ab9657f..947a645 100644 +--- a/examples.mk ++++ b/examples.mk +@@ -113,7 +113,7 @@ vp8_multi_resolution_encoder.DESCRIPTION = VP8 Multiple-resolution Encoding + # We should not link to math library (libm) on RVCT + # when building for bare-metal targets + ifeq ($(CONFIG_OS_SUPPORT), yes) +- ifneq ($(TOOLCHAIN),x86-haiku-gcc) ++ ifeq (,$(findstring haiku,$(TOOLCHAIN))) + CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m + endif + else +-- +1.8.3.4 From 4747767f615e1a0c0eccad97d30157c4956cf772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Wed, 4 Dec 2013 00:39:11 +0000 Subject: [PATCH 46/89] APlayer for SVN --- haiku-apps/aplayer/aplayer-4.0_svn.recipe | 56 +++++ haiku-apps/aplayer/patches/aplayer.patch | 268 +++++++++++++++++++++ haiku-apps/aplayer/patches/aplayer_2.patch | 34 +++ haiku-apps/aplayer/patches/libgme.patch | 230 ++++++++++++++++++ 4 files changed, 588 insertions(+) create mode 100644 haiku-apps/aplayer/aplayer-4.0_svn.recipe create mode 100644 haiku-apps/aplayer/patches/aplayer.patch create mode 100644 haiku-apps/aplayer/patches/aplayer_2.patch create mode 100644 haiku-apps/aplayer/patches/libgme.patch diff --git a/haiku-apps/aplayer/aplayer-4.0_svn.recipe b/haiku-apps/aplayer/aplayer-4.0_svn.recipe new file mode 100644 index 000000000..2ecea4464 --- /dev/null +++ b/haiku-apps/aplayer/aplayer-4.0_svn.recipe @@ -0,0 +1,56 @@ +SUMMARY="APlayer is a module player and can play a lot of different music file formats, from Amiga and elsewhere." +DESCRIPTION="APlayer is a module player and can play a lot of different music file formats, from Amiga and elsewhere." +HOMEPAGE="http://pulkomandy.tk/projects/APlayer" +SRC_URI="svn://pulkomandy.tk/APlayer/trunk" +REVISION="1" +LICENSE="Artistic" +COPYRIGHT="1994-2002 Polycode 2011-2012 Adrien Destugues" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +DISABLE_SOURCE_PACKAGE=yes + +PROVIDES=" + aplayer$secondaryArchSuffix = $portVersion + app:aplayer$secondaryArchSuffix = $portVersion + lib:PolyKit = $portVersion + lib:APlayerKit = $portVersion +" +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion +" +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion +" +BUILD_PREREQUIRES=" + cmd:g++$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + cmd:nasm$secondaryArchSuffix +" +SOURCE_DIR="trunk" + +PATCHES=" + aplayer.patch + aplayer_2.patch +" +BUILD() +{ + cd Master + make + cd .. +} + +INSTALL() +{ + mkdir -p $appsDir + mkdir -p $libDir + mkdir -p $addOnsDir + + cp APlayer/bin/BeOS_/APlayer $appsDir/APlayer + cp APlayer/bin/BeOS_/lib/APlayerKit.so $libDir + cp -r APlayer/bin/BeOS_/add-ons/* $addOnsDir + cp PolyKit/bin/BeOS/PolyKit.so $libDir + addAppDeskbarSymlink $appsDir/APlayer +} diff --git a/haiku-apps/aplayer/patches/aplayer.patch b/haiku-apps/aplayer/patches/aplayer.patch new file mode 100644 index 000000000..6e13e6c8c --- /dev/null +++ b/haiku-apps/aplayer/patches/aplayer.patch @@ -0,0 +1,268 @@ +diff --git a/APlayer/Players/GameMusic/libgme/Gbs_Emu.cpp b/APlayer/Players/GameMusic/libgme/Gbs_Emu.cpp +index 05a0b99..c35c22f 100644 +--- a/APlayer/Players/GameMusic/libgme/Gbs_Emu.cpp ++++ b/APlayer/Players/GameMusic/libgme/Gbs_Emu.cpp +@@ -18,10 +18,8 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + + #include "blargg_source.h" + +-Gbs_Emu::equalizer_t const Gbs_Emu::handheld_eq = +- Music_Emu::make_equalizer( -47.0, 2000 ); +-Gbs_Emu::equalizer_t const Gbs_Emu::headphones_eq = +- Music_Emu::make_equalizer( 0.0, 300 ); ++Gbs_Emu::equalizer_t const Gbs_Emu::handheld_eq ( -47.0, 2000 ); ++Gbs_Emu::equalizer_t const Gbs_Emu::headphones_eq ( 0.0, 300 ); + + Gbs_Emu::Gbs_Emu() + { +@@ -40,8 +38,8 @@ Gbs_Emu::Gbs_Emu() + set_silence_lookahead( 6 ); + set_max_initial_silence( 21 ); + set_gain( 1.2 ); +- +- set_equalizer( make_equalizer( -1.0, 120 ) ); ++ static equalizer_t const eq ( -1.0, 120 ); ++ set_equalizer( eq ); + } + + Gbs_Emu::~Gbs_Emu() { } +diff --git a/APlayer/Players/GameMusic/libgme/Gbs_Emu.h b/APlayer/Players/GameMusic/libgme/Gbs_Emu.h +index b233a2b..c9054cc 100644 +--- a/APlayer/Players/GameMusic/libgme/Gbs_Emu.h ++++ b/APlayer/Players/GameMusic/libgme/Gbs_Emu.h +@@ -41,7 +41,9 @@ public: + + public: + // deprecated +- using Music_Emu::load; ++ #if !defined(__GNUC__) || __GNUC__ > 2 ++ Music_Emu::load; ++ #endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + +diff --git a/APlayer/Players/GameMusic/libgme/Gym_Emu.h b/APlayer/Players/GameMusic/libgme/Gym_Emu.h +index 1e4ed8b..d11440e 100644 +--- a/APlayer/Players/GameMusic/libgme/Gym_Emu.h ++++ b/APlayer/Players/GameMusic/libgme/Gym_Emu.h +@@ -34,7 +34,9 @@ public: + + public: + // deprecated +- using Music_Emu::load; ++ #if !defined(__GNUC__) || __GNUC__ > 2 ++ Music_Emu::load; ++ #endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + enum { gym_rate = 60 }; +diff --git a/APlayer/Players/GameMusic/libgme/Music_Emu.cpp b/APlayer/Players/GameMusic/libgme/Music_Emu.cpp +index 942e86e..065e42b 100644 +--- a/APlayer/Players/GameMusic/libgme/Music_Emu.cpp ++++ b/APlayer/Players/GameMusic/libgme/Music_Emu.cpp +@@ -24,8 +24,7 @@ int const silence_threshold = 0x10; + long const fade_block_size = 512; + int const fade_shift = 8; // fade ends with gain at 1.0 / (1 << fade_shift) + +-Music_Emu::equalizer_t const Music_Emu::tv_eq = +- Music_Emu::make_equalizer( -8.0, 180 ); ++Music_Emu::equalizer_t const Music_Emu::tv_eq ( -8.0, 180 ); + + void Music_Emu::clear_track_vars() + { +@@ -50,6 +49,7 @@ void Music_Emu::unload() + } + + Music_Emu::Music_Emu() ++ : equalizer_(-1.0, 60) + { + effects_buffer = 0; + +@@ -62,8 +62,6 @@ Music_Emu::Music_Emu() + max_initial_silence = 2; + silence_lookahead = 3; + ignore_silence_ = false; +- equalizer_.treble = -1.0; +- equalizer_.bass = 60; + + static const char* const names [] = { + "Voice 1", "Voice 2", "Voice 3", "Voice 4", +diff --git a/APlayer/Players/GameMusic/libgme/Music_Emu.h b/APlayer/Players/GameMusic/libgme/Music_Emu.h +index d98f7ce..0a8bc0a 100644 +--- a/APlayer/Players/GameMusic/libgme/Music_Emu.h ++++ b/APlayer/Players/GameMusic/libgme/Music_Emu.h +@@ -64,7 +64,11 @@ public: + void ignore_silence( bool disable = true ); + + // Info for current track +- using Gme_File::track_info; ++ #if (!defined(__GNUC__) || (__GNUC__ > 2)) ++ Gme_File::track_info; ++ #else ++ blargg_err_t track_info( track_info_t* out, int k ) const {return Gme_File::track_info(out,k); } ++ #endif + blargg_err_t track_info( track_info_t* out ) const; + + // Sound customization +@@ -199,7 +203,7 @@ struct Gme_Info_ : Music_Emu + + inline blargg_err_t Music_Emu::track_info( track_info_t* out ) const + { +- return track_info( out, current_track_ ); ++ return Gme_File::track_info( out, current_track_ ); + } + + inline long Music_Emu::sample_rate() const { return sample_rate_; } +diff --git a/APlayer/Players/GameMusic/libgme/Nsf_Emu.cpp b/APlayer/Players/GameMusic/libgme/Nsf_Emu.cpp +index eab4bfb..0de854a 100644 +--- a/APlayer/Players/GameMusic/libgme/Nsf_Emu.cpp ++++ b/APlayer/Players/GameMusic/libgme/Nsf_Emu.cpp +@@ -31,10 +31,8 @@ int const fme7_flag = 0x20; + + long const clock_divisor = 12; + +-Nsf_Emu::equalizer_t const Nsf_Emu::nes_eq = +- Music_Emu::make_equalizer( -1.0, 80 ); +-Nsf_Emu::equalizer_t const Nsf_Emu::famicom_eq = +- Music_Emu::make_equalizer( -15.0, 80 ); ++Nsf_Emu::equalizer_t const Nsf_Emu::nes_eq ( -1.0, 80 ); ++Nsf_Emu::equalizer_t const Nsf_Emu::famicom_eq ( -15.0, 80 ); + + int Nsf_Emu::pcm_read( void* emu, nes_addr_t addr ) + { +diff --git a/APlayer/Players/GameMusic/libgme/Nsf_Emu.h b/APlayer/Players/GameMusic/libgme/Nsf_Emu.h +index 0b00168..08b987a 100644 +--- a/APlayer/Players/GameMusic/libgme/Nsf_Emu.h ++++ b/APlayer/Players/GameMusic/libgme/Nsf_Emu.h +@@ -44,7 +44,11 @@ public: + + public: + // deprecated +- using Music_Emu::load; ++ #if (!defined(__GNUC__) || (__GNUC__ > 2)) ++ Music_Emu::load; ++ #else ++ blargg_err_t load( Data_Reader& r) {return Music_Emu::load(r);} ++ #endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + +diff --git a/APlayer/Players/GameMusic/libgme/Spc_Emu.h b/APlayer/Players/GameMusic/libgme/Spc_Emu.h +index 09063f1..5f08719 100644 +--- a/APlayer/Players/GameMusic/libgme/Spc_Emu.h ++++ b/APlayer/Players/GameMusic/libgme/Spc_Emu.h +@@ -48,7 +48,9 @@ public: + + public: + // deprecated +- using Music_Emu::load; ++ #if !defined(__GNUC__) || __GNUC__ > 2 ++ Music_Emu::load; ++ #endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + byte const* trailer() const; // use track_info() +diff --git a/APlayer/Players/GameMusic/libgme/Vgm_Emu.cpp b/APlayer/Players/GameMusic/libgme/Vgm_Emu.cpp +index 5c6bc7c..bfc42d8 100644 +--- a/APlayer/Players/GameMusic/libgme/Vgm_Emu.cpp ++++ b/APlayer/Players/GameMusic/libgme/Vgm_Emu.cpp +@@ -35,8 +35,8 @@ Vgm_Emu::Vgm_Emu() + set_voice_types( types ); + + set_silence_lookahead( 1 ); // tracks should already be trimmed +- +- set_equalizer( make_equalizer( -14.0, 80 ) ); ++ static equalizer_t const eq( -14.0, 80 ); ++ set_equalizer( eq); + } + + Vgm_Emu::~Vgm_Emu() { } +diff --git a/APlayer/Players/GameMusic/libgme/Vgm_Emu.h b/APlayer/Players/GameMusic/libgme/Vgm_Emu.h +index 65895af..4a1f778 100644 +--- a/APlayer/Players/GameMusic/libgme/Vgm_Emu.h ++++ b/APlayer/Players/GameMusic/libgme/Vgm_Emu.h +@@ -51,7 +51,9 @@ public: + + public: + // deprecated +- using Music_Emu::load; ++ #if (!defined(__GNUC__) || (__GNUC__ > 2)) ++ Music_Emu::load; ++ #endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + byte const* gd3_data( int* size_out = 0 ) const; // use track_info() +diff --git a/APlayer/Players/GameMusic/libgme/gme.cpp b/APlayer/Players/GameMusic/libgme/gme.cpp +index 4770984..98fee50 100644 +--- a/APlayer/Players/GameMusic/libgme/gme.cpp ++++ b/APlayer/Players/GameMusic/libgme/gme.cpp +@@ -359,9 +359,7 @@ BLARGG_EXPORT void gme_set_equalizer ( Music_Emu* me, gme_equalizer_t cons + + BLARGG_EXPORT void gme_equalizer( Music_Emu const* me, gme_equalizer_t* out ) + { +- gme_equalizer_t e = gme_equalizer_t(); // Default-init all fields to 0.0f +- e.treble = me->equalizer().treble; +- e.bass = me->equalizer().bass; ++ gme_equalizer_t e(me->equalizer().treble, me->equalizer().bass); + *out = e; + } + +diff --git a/APlayer/Players/GameMusic/libgme/gme.h b/APlayer/Players/GameMusic/libgme/gme.h +index 8eb952e..666538e 100644 +--- a/APlayer/Players/GameMusic/libgme/gme.h ++++ b/APlayer/Players/GameMusic/libgme/gme.h +@@ -143,6 +143,8 @@ typedef struct gme_equalizer_t + double bass; /* 1 = full bass, 90 = average, 16000 = almost no bass */ + + double d2,d3,d4,d5,d6,d7,d8,d9; /* reserved */ ++ ++ gme_equalizer_t(double t, double b) {treble = t; bass = b;}; + } gme_equalizer_t; + + /* Get current frequency equalizater parameters */ +diff --git a/Master/Makefile b/Master/Makefile +index 7ac0424..f8ad52f 100644 +--- a/Master/Makefile ++++ b/Master/Makefile +@@ -5,20 +5,20 @@ VERSION := 4.0.1 + #build date is not currently used. + BUILDDATE := $(shell date +%b_%d_%Y) + +-ARCH := $(shell setgcc | cut -d' ' -f3) ++ARCH := $(shell setg++ | cut -d' ' -f3) + OBJDIR := __OBJ_$(ARCH) + DEPDIR := __DEP_$(ARCH) + RULESDIR := __RULES_$(ARCH) + MAKEFILEDIR := makefiles_x86 + +-CC := gcc -c -pipe +-LD := gcc ++CC := g++ -c -pipe ++LD := g++ + + #Dependency generator +-#DEP := gcc -M -DBEOS_BUILD ++#DEP := g++ -M -DBEOS_BUILD + #Ignores system headers. A bit faster, but might give + #small problems if local headers are used with <> insetad of "". +-DEP := gcc -MM -DBEOS_BUILD ++DEP := g++ -MM -DBEOS_BUILD + + BUILD_DEBUG=TRUE + #BUILD_DEBUG=FALSE +diff --git a/Master/makefiles_x86/makefile.APlayer b/Master/makefiles_x86/makefile.APlayer +index 6b93ba8..aa75bb3 100644 +--- a/Master/makefiles_x86/makefile.APlayer ++++ b/Master/makefiles_x86/makefile.APlayer +@@ -20,9 +20,9 @@ $(NAME)_TYPE := APP + $(NAME)_LIBS := $(APLAYER_LIBS) be root + + ifeq ($(findstring gcc2,$(ARCH)),gcc2) +-$(NAME)_LIBS += stdc++.r4 ++$(NAME)_LIBS += stdc++.r4.r4 + else +-$(NAME)_LIBS += stdc++ ++$(NAME)_LIBS += stdc++.r4 + endif + + $(NAME)_RSRCS := $(ROOTDIR)/BeOS/Server_x86.rsrc diff --git a/haiku-apps/aplayer/patches/aplayer_2.patch b/haiku-apps/aplayer/patches/aplayer_2.patch new file mode 100644 index 000000000..6fe4a518c --- /dev/null +++ b/haiku-apps/aplayer/patches/aplayer_2.patch @@ -0,0 +1,34 @@ +diff --git a/APlayer/Players/GameMusic/libgme/Music_Emu.h b/APlayer/Players/GameMusic/libgme/Music_Emu.h +index 0a8bc0a..fd5dbc1 100644 +--- a/APlayer/Players/GameMusic/libgme/Music_Emu.h ++++ b/APlayer/Players/GameMusic/libgme/Music_Emu.h +@@ -107,14 +107,6 @@ public: + + // Set frequency equalizer parameters + void set_equalizer( equalizer_t const& ); +- +- // Construct equalizer of given treble/bass settings +- static const equalizer_t make_equalizer( double treble, double bass ) +- { +- const Music_Emu::equalizer_t e = { treble, bass, +- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; +- return e; +- } + + // Equalizer settings for TV speaker + static equalizer_t const tv_eq; +diff --git a/APlayer/Players/GameMusic/libgme/Nsfe_Emu.h b/APlayer/Players/GameMusic/libgme/Nsfe_Emu.h +index 32b05d5..880b951 100644 +--- a/APlayer/Players/GameMusic/libgme/Nsfe_Emu.h ++++ b/APlayer/Players/GameMusic/libgme/Nsfe_Emu.h +@@ -46,7 +46,9 @@ public: + public: + // deprecated + struct header_t { char tag [4]; }; +- using Music_Emu::load; ++ #ifdef (!defined(__GNUC__) || (__GNUC__ > 2)) ++ Music_Emu::load; ++ #endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + void disable_playlist( bool = true ); // use clear_playlist() diff --git a/haiku-apps/aplayer/patches/libgme.patch b/haiku-apps/aplayer/patches/libgme.patch new file mode 100644 index 000000000..91ef9cd0c --- /dev/null +++ b/haiku-apps/aplayer/patches/libgme.patch @@ -0,0 +1,230 @@ +Index: gme.cpp +=================================================================== +--- gme.cpp (revision 34) ++++ gme.cpp (working copy) +@@ -357,9 +357,7 @@ + + BLARGG_EXPORT void gme_equalizer( Music_Emu const* me, gme_equalizer_t* out ) + { +- gme_equalizer_t e = { }; +- e.treble = me->equalizer().treble; +- e.bass = me->equalizer().bass; ++ gme_equalizer_t e(me->equalizer().treble, me->equalizer().bass); + *out = e; + } + +Index: Gbs_Emu.cpp +=================================================================== +--- Gbs_Emu.cpp (revision 34) ++++ Gbs_Emu.cpp (working copy) +@@ -18,8 +18,8 @@ + + #include "blargg_source.h" + +-Gbs_Emu::equalizer_t const Gbs_Emu::handheld_eq = { -47.0, 2000 }; +-Gbs_Emu::equalizer_t const Gbs_Emu::headphones_eq = { 0.0, 300 }; ++Gbs_Emu::equalizer_t const Gbs_Emu::handheld_eq ( -47.0, 2000 ); ++Gbs_Emu::equalizer_t const Gbs_Emu::headphones_eq ( 0.0, 300 ); + + Gbs_Emu::Gbs_Emu() + { +@@ -39,7 +39,7 @@ + set_max_initial_silence( 21 ); + set_gain( 1.2 ); + +- static equalizer_t const eq = { -1.0, 120 }; ++ static equalizer_t const eq ( -1.0, 120 ); + set_equalizer( eq ); + } + +Index: Nsf_Emu.h +=================================================================== +--- Nsf_Emu.h (revision 34) ++++ Nsf_Emu.h (working copy) +@@ -44,7 +44,11 @@ + + public: + // deprecated ++#if (!defined(__GNUC__) || (__GNUC__ > 2)) + Music_Emu::load; ++#else ++ blargg_err_t load( Data_Reader& r) {return Music_Emu::load(r);} ++#endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + +Index: Nsfe_Emu.h +=================================================================== +--- Nsfe_Emu.h (revision 34) ++++ Nsfe_Emu.h (working copy) +@@ -46,7 +46,9 @@ + public: + // deprecated + struct header_t { char tag [4]; }; ++#if (!defined(__GNUC__) || (__GNUC__ > 2)) + Music_Emu::load; ++#endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + void disable_playlist( bool = true ); // use clear_playlist() +Index: Gym_Emu.h +=================================================================== +--- Gym_Emu.h (revision 34) ++++ Gym_Emu.h (working copy) +@@ -34,7 +34,9 @@ + + public: + // deprecated ++#if !defined(__GNUC__) || __GNUC__ > 2 + Music_Emu::load; ++#endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + enum { gym_rate = 60 }; +Index: gme.h +=================================================================== +--- gme.h (revision 34) ++++ gme.h (working copy) +@@ -134,6 +134,8 @@ + double bass; /* 1 = full bass, 90 = average, 16000 = almost no bass */ + + double d2,d3,d4,d5,d6,d7,d8,d9; /* reserved */ ++ ++ gme_equalizer_t(double t, double b) {treble = t; bass = b;}; + } gme_equalizer_t; + + /* Get current frequency equalizater parameters */ +Index: Music_Emu.cpp +=================================================================== +--- Music_Emu.cpp (revision 34) ++++ Music_Emu.cpp (working copy) +@@ -24,7 +24,7 @@ + long const fade_block_size = 512; + int const fade_shift = 8; // fade ends with gain at 1.0 / (1 << fade_shift) + +-Music_Emu::equalizer_t const Music_Emu::tv_eq = { -8.0, 180 }; ++Music_Emu::equalizer_t const Music_Emu::tv_eq ( -8.0, 180 ); + + void Music_Emu::clear_track_vars() + { +@@ -49,6 +49,7 @@ + } + + Music_Emu::Music_Emu() ++ : equalizer_(-1.0, 60) + { + effects_buffer = 0; + +@@ -61,8 +62,6 @@ + max_initial_silence = 2; + silence_lookahead = 3; + ignore_silence_ = false; +- equalizer_.treble = -1.0; +- equalizer_.bass = 60; + + static const char* const names [] = { + "Voice 1", "Voice 2", "Voice 3", "Voice 4", +Index: Spc_Emu.h +=================================================================== +--- Spc_Emu.h (revision 34) ++++ Spc_Emu.h (working copy) +@@ -48,7 +48,9 @@ + + public: + // deprecated ++#if !defined(__GNUC__) || __GNUC__ > 2 + Music_Emu::load; ++#endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + byte const* trailer() const; // use track_info() +Index: Music_Emu.h +=================================================================== +--- Music_Emu.h (revision 34) ++++ Music_Emu.h (working copy) +@@ -58,7 +58,11 @@ + void ignore_silence( bool disable = true ); + + // Info for current track ++#if (!defined(__GNUC__) || (__GNUC__ > 2)) + Gme_File::track_info; ++#else ++ blargg_err_t track_info( track_info_t* out, int k ) const {return Gme_File::track_info(out,k); } ++#endif + blargg_err_t track_info( track_info_t* out ) const; + + // Sound customization +@@ -116,7 +120,7 @@ + + virtual blargg_err_t set_sample_rate_( long sample_rate ) = 0; + virtual void set_equalizer_( equalizer_t const& ) { } +- virtual void enable_accuracy_( bool enable ) { } ++ virtual void enable_accuracy_( bool /*enable*/ ) { } + virtual void mute_voices_( int mask ) = 0; + virtual void set_tempo_( double ) = 0; + virtual blargg_err_t start_track_( int ) = 0; // tempo is set before this +@@ -185,7 +189,7 @@ + + inline blargg_err_t Music_Emu::track_info( track_info_t* out ) const + { +- return track_info( out, current_track_ ); ++ return Gme_File::track_info( out, current_track_ ); + } + + inline long Music_Emu::sample_rate() const { return sample_rate_; } +Index: Vgm_Emu.h +=================================================================== +--- Vgm_Emu.h (revision 34) ++++ Vgm_Emu.h (working copy) +@@ -51,7 +51,9 @@ + + public: + // deprecated ++#if (!defined(__GNUC__) || (__GNUC__ > 2)) + Music_Emu::load; ++#endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + byte const* gd3_data( int* size_out = 0 ) const; // use track_info() +Index: Gbs_Emu.h +=================================================================== +--- Gbs_Emu.h (revision 34) ++++ Gbs_Emu.h (working copy) +@@ -41,7 +41,9 @@ + + public: + // deprecated ++#if !defined(__GNUC__) || __GNUC__ > 2 + Music_Emu::load; ++#endif + blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader + { return load_remaining_( &h, sizeof h, in ); } + +Index: Nsf_Emu.cpp +=================================================================== +--- Nsf_Emu.cpp (revision 34) ++++ Nsf_Emu.cpp (working copy) +@@ -31,8 +31,8 @@ + + long const clock_divisor = 12; + +-Nsf_Emu::equalizer_t const Nsf_Emu::nes_eq = { -1.0, 80 }; +-Nsf_Emu::equalizer_t const Nsf_Emu::famicom_eq = { -15.0, 80 }; ++Nsf_Emu::equalizer_t const Nsf_Emu::nes_eq ( -1.0, 80 ); ++Nsf_Emu::equalizer_t const Nsf_Emu::famicom_eq ( -15.0, 80 ); + + int Nsf_Emu::pcm_read( void* emu, nes_addr_t addr ) + { +Index: Vgm_Emu.cpp +=================================================================== +--- Vgm_Emu.cpp (revision 34) ++++ Vgm_Emu.cpp (working copy) +@@ -36,7 +36,7 @@ + + set_silence_lookahead( 1 ); // tracks should already be trimmed + +- static equalizer_t const eq = { -14.0, 80 }; ++ static equalizer_t const eq( -14.0, 80 ); + set_equalizer( eq ); + } + From d02756fd15c9964cff5e3ec0fa3bb249d51ebb68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Wed, 4 Dec 2013 00:39:37 +0000 Subject: [PATCH 47/89] libgme patch unused --- haiku-apps/aplayer/patches/libgme.patch | 230 ------------------------ 1 file changed, 230 deletions(-) delete mode 100644 haiku-apps/aplayer/patches/libgme.patch diff --git a/haiku-apps/aplayer/patches/libgme.patch b/haiku-apps/aplayer/patches/libgme.patch deleted file mode 100644 index 91ef9cd0c..000000000 --- a/haiku-apps/aplayer/patches/libgme.patch +++ /dev/null @@ -1,230 +0,0 @@ -Index: gme.cpp -=================================================================== ---- gme.cpp (revision 34) -+++ gme.cpp (working copy) -@@ -357,9 +357,7 @@ - - BLARGG_EXPORT void gme_equalizer( Music_Emu const* me, gme_equalizer_t* out ) - { -- gme_equalizer_t e = { }; -- e.treble = me->equalizer().treble; -- e.bass = me->equalizer().bass; -+ gme_equalizer_t e(me->equalizer().treble, me->equalizer().bass); - *out = e; - } - -Index: Gbs_Emu.cpp -=================================================================== ---- Gbs_Emu.cpp (revision 34) -+++ Gbs_Emu.cpp (working copy) -@@ -18,8 +18,8 @@ - - #include "blargg_source.h" - --Gbs_Emu::equalizer_t const Gbs_Emu::handheld_eq = { -47.0, 2000 }; --Gbs_Emu::equalizer_t const Gbs_Emu::headphones_eq = { 0.0, 300 }; -+Gbs_Emu::equalizer_t const Gbs_Emu::handheld_eq ( -47.0, 2000 ); -+Gbs_Emu::equalizer_t const Gbs_Emu::headphones_eq ( 0.0, 300 ); - - Gbs_Emu::Gbs_Emu() - { -@@ -39,7 +39,7 @@ - set_max_initial_silence( 21 ); - set_gain( 1.2 ); - -- static equalizer_t const eq = { -1.0, 120 }; -+ static equalizer_t const eq ( -1.0, 120 ); - set_equalizer( eq ); - } - -Index: Nsf_Emu.h -=================================================================== ---- Nsf_Emu.h (revision 34) -+++ Nsf_Emu.h (working copy) -@@ -44,7 +44,11 @@ - - public: - // deprecated -+#if (!defined(__GNUC__) || (__GNUC__ > 2)) - Music_Emu::load; -+#else -+ blargg_err_t load( Data_Reader& r) {return Music_Emu::load(r);} -+#endif - blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader - { return load_remaining_( &h, sizeof h, in ); } - -Index: Nsfe_Emu.h -=================================================================== ---- Nsfe_Emu.h (revision 34) -+++ Nsfe_Emu.h (working copy) -@@ -46,7 +46,9 @@ - public: - // deprecated - struct header_t { char tag [4]; }; -+#if (!defined(__GNUC__) || (__GNUC__ > 2)) - Music_Emu::load; -+#endif - blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader - { return load_remaining_( &h, sizeof h, in ); } - void disable_playlist( bool = true ); // use clear_playlist() -Index: Gym_Emu.h -=================================================================== ---- Gym_Emu.h (revision 34) -+++ Gym_Emu.h (working copy) -@@ -34,7 +34,9 @@ - - public: - // deprecated -+#if !defined(__GNUC__) || __GNUC__ > 2 - Music_Emu::load; -+#endif - blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader - { return load_remaining_( &h, sizeof h, in ); } - enum { gym_rate = 60 }; -Index: gme.h -=================================================================== ---- gme.h (revision 34) -+++ gme.h (working copy) -@@ -134,6 +134,8 @@ - double bass; /* 1 = full bass, 90 = average, 16000 = almost no bass */ - - double d2,d3,d4,d5,d6,d7,d8,d9; /* reserved */ -+ -+ gme_equalizer_t(double t, double b) {treble = t; bass = b;}; - } gme_equalizer_t; - - /* Get current frequency equalizater parameters */ -Index: Music_Emu.cpp -=================================================================== ---- Music_Emu.cpp (revision 34) -+++ Music_Emu.cpp (working copy) -@@ -24,7 +24,7 @@ - long const fade_block_size = 512; - int const fade_shift = 8; // fade ends with gain at 1.0 / (1 << fade_shift) - --Music_Emu::equalizer_t const Music_Emu::tv_eq = { -8.0, 180 }; -+Music_Emu::equalizer_t const Music_Emu::tv_eq ( -8.0, 180 ); - - void Music_Emu::clear_track_vars() - { -@@ -49,6 +49,7 @@ - } - - Music_Emu::Music_Emu() -+ : equalizer_(-1.0, 60) - { - effects_buffer = 0; - -@@ -61,8 +62,6 @@ - max_initial_silence = 2; - silence_lookahead = 3; - ignore_silence_ = false; -- equalizer_.treble = -1.0; -- equalizer_.bass = 60; - - static const char* const names [] = { - "Voice 1", "Voice 2", "Voice 3", "Voice 4", -Index: Spc_Emu.h -=================================================================== ---- Spc_Emu.h (revision 34) -+++ Spc_Emu.h (working copy) -@@ -48,7 +48,9 @@ - - public: - // deprecated -+#if !defined(__GNUC__) || __GNUC__ > 2 - Music_Emu::load; -+#endif - blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader - { return load_remaining_( &h, sizeof h, in ); } - byte const* trailer() const; // use track_info() -Index: Music_Emu.h -=================================================================== ---- Music_Emu.h (revision 34) -+++ Music_Emu.h (working copy) -@@ -58,7 +58,11 @@ - void ignore_silence( bool disable = true ); - - // Info for current track -+#if (!defined(__GNUC__) || (__GNUC__ > 2)) - Gme_File::track_info; -+#else -+ blargg_err_t track_info( track_info_t* out, int k ) const {return Gme_File::track_info(out,k); } -+#endif - blargg_err_t track_info( track_info_t* out ) const; - - // Sound customization -@@ -116,7 +120,7 @@ - - virtual blargg_err_t set_sample_rate_( long sample_rate ) = 0; - virtual void set_equalizer_( equalizer_t const& ) { } -- virtual void enable_accuracy_( bool enable ) { } -+ virtual void enable_accuracy_( bool /*enable*/ ) { } - virtual void mute_voices_( int mask ) = 0; - virtual void set_tempo_( double ) = 0; - virtual blargg_err_t start_track_( int ) = 0; // tempo is set before this -@@ -185,7 +189,7 @@ - - inline blargg_err_t Music_Emu::track_info( track_info_t* out ) const - { -- return track_info( out, current_track_ ); -+ return Gme_File::track_info( out, current_track_ ); - } - - inline long Music_Emu::sample_rate() const { return sample_rate_; } -Index: Vgm_Emu.h -=================================================================== ---- Vgm_Emu.h (revision 34) -+++ Vgm_Emu.h (working copy) -@@ -51,7 +51,9 @@ - - public: - // deprecated -+#if (!defined(__GNUC__) || (__GNUC__ > 2)) - Music_Emu::load; -+#endif - blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader - { return load_remaining_( &h, sizeof h, in ); } - byte const* gd3_data( int* size_out = 0 ) const; // use track_info() -Index: Gbs_Emu.h -=================================================================== ---- Gbs_Emu.h (revision 34) -+++ Gbs_Emu.h (working copy) -@@ -41,7 +41,9 @@ - - public: - // deprecated -+#if !defined(__GNUC__) || __GNUC__ > 2 - Music_Emu::load; -+#endif - blargg_err_t load( header_t const& h, Data_Reader& in ) // use Remaining_Reader - { return load_remaining_( &h, sizeof h, in ); } - -Index: Nsf_Emu.cpp -=================================================================== ---- Nsf_Emu.cpp (revision 34) -+++ Nsf_Emu.cpp (working copy) -@@ -31,8 +31,8 @@ - - long const clock_divisor = 12; - --Nsf_Emu::equalizer_t const Nsf_Emu::nes_eq = { -1.0, 80 }; --Nsf_Emu::equalizer_t const Nsf_Emu::famicom_eq = { -15.0, 80 }; -+Nsf_Emu::equalizer_t const Nsf_Emu::nes_eq ( -1.0, 80 ); -+Nsf_Emu::equalizer_t const Nsf_Emu::famicom_eq ( -15.0, 80 ); - - int Nsf_Emu::pcm_read( void* emu, nes_addr_t addr ) - { -Index: Vgm_Emu.cpp -=================================================================== ---- Vgm_Emu.cpp (revision 34) -+++ Vgm_Emu.cpp (working copy) -@@ -36,7 +36,7 @@ - - set_silence_lookahead( 1 ); // tracks should already be trimmed - -- static equalizer_t const eq = { -14.0, 80 }; -+ static equalizer_t const eq( -14.0, 80 ); - set_equalizer( eq ); - } - From 64878dd035ebfa7417252e23e24237ae95891621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Wed, 4 Dec 2013 01:41:13 +0000 Subject: [PATCH 48/89] APlayer fixed copyright --- haiku-apps/aplayer/aplayer-4.0_svn.recipe | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/haiku-apps/aplayer/aplayer-4.0_svn.recipe b/haiku-apps/aplayer/aplayer-4.0_svn.recipe index 2ecea4464..d886efaa0 100644 --- a/haiku-apps/aplayer/aplayer-4.0_svn.recipe +++ b/haiku-apps/aplayer/aplayer-4.0_svn.recipe @@ -4,13 +4,14 @@ HOMEPAGE="http://pulkomandy.tk/projects/APlayer" SRC_URI="svn://pulkomandy.tk/APlayer/trunk" REVISION="1" LICENSE="Artistic" -COPYRIGHT="1994-2002 Polycode 2011-2012 Adrien Destugues" +COPYRIGHT=" + 1994-2002 Polycode + 2011-2012 Adrien Destugues +" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" -DISABLE_SOURCE_PACKAGE=yes - PROVIDES=" aplayer$secondaryArchSuffix = $portVersion app:aplayer$secondaryArchSuffix = $portVersion From d2a63d5cf81189a91197dd2a55955747c641c280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Wed, 4 Dec 2013 01:41:36 +0000 Subject: [PATCH 49/89] ScummVM fixed haiku_devel --- games-engines/scummvm/scummvm-1.6.0.recipe | 1 - 1 file changed, 1 deletion(-) diff --git a/games-engines/scummvm/scummvm-1.6.0.recipe b/games-engines/scummvm/scummvm-1.6.0.recipe index 5f4acd66d..35eb39b2b 100644 --- a/games-engines/scummvm/scummvm-1.6.0.recipe +++ b/games-engines/scummvm/scummvm-1.6.0.recipe @@ -31,7 +31,6 @@ BUILD_REQUIRES=" devel:libglu$secondaryArchSuffix " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:make cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix From ed0cf0a7fee2b17e4543d2d138e2623faf104e75 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Wed, 4 Dec 2013 02:17:17 +0000 Subject: [PATCH 50/89] Patch for libiptcdata which disables gtk-doc and allows building static and shared libs --- .../patches/libiptcdata-1.0.4.patch | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 media-libs/libiptcdata/patches/libiptcdata-1.0.4.patch diff --git a/media-libs/libiptcdata/patches/libiptcdata-1.0.4.patch b/media-libs/libiptcdata/patches/libiptcdata-1.0.4.patch new file mode 100644 index 000000000..d29456cd1 --- /dev/null +++ b/media-libs/libiptcdata/patches/libiptcdata-1.0.4.patch @@ -0,0 +1,45 @@ +diff --git a/configure.in b/configure.in +index a1c58ab..2d8a3b1 100644 +--- a/configure.in ++++ b/configure.in +@@ -1,6 +1,6 @@ + AC_PREREQ(2.50) + AC_INIT(libiptcdata/iptc-data.h) +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + AM_INIT_AUTOMAKE(libiptcdata, 1.0.4) + AM_MAINTAINER_MODE + +@@ -75,7 +75,7 @@ dnl Check for headers (Mac OSX often doesn't have them) + AC_CHECK_HEADERS([getopt.h wchar.h iconv.h]) + + +-GTK_DOC_CHECK([1.0]) ++dnl GTK_DOC_CHECK([1.0]) + + + dnl --------------------------------------------------------------------------- +diff --git a/Makefile.am b/Makefile.am +index 192529a..504ed54 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -7,4 +7,4 @@ SUBDIRS = m4 libiptcdata po iptc docs win $(MAYBE_PYTHONLIB) + EXTRA_DIST = @PACKAGE@.spec + + ACLOCAL_AMFLAGS = -I m4 +-DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc ++DISTCHECK_CONFIGURE_FLAGS = +diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am +index f91793a..1f52449 100644 +--- a/docs/reference/Makefile.am ++++ b/docs/reference/Makefile.am +@@ -42,7 +42,7 @@ content_files = \ + libjpeg.sgml \ + overview.sgml + +-include $(top_srcdir)/gtk-doc.make ++include + +-EXTRA_DIST += \ ++EXTRA_DIST = \ + version.xml.in From 2ceacd897f93857a5ec21aa748a3bc0078b96539 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 4 Dec 2013 03:28:20 +0100 Subject: [PATCH 51/89] openjdk: Fix for missing java.lang.CharacterData* classes --- .../openjdk-1.7_2013_11_08-source8.patchset | 34 ++++++++++++++++--- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/dev-lang/openjdk/patches/openjdk-1.7_2013_11_08-source8.patchset b/dev-lang/openjdk/patches/openjdk-1.7_2013_11_08-source8.patchset index 10b680b0f..6ebc6e320 100644 --- a/dev-lang/openjdk/patches/openjdk-1.7_2013_11_08-source8.patchset +++ b/dev-lang/openjdk/patches/openjdk-1.7_2013_11_08-source8.patchset @@ -1,4 +1,4 @@ -From 2a98aa8f929d5018f35ac90064ebbbf2a64dc27a Mon Sep 17 00:00:00 2001 +From 5cca79ee50fbf704e67d337a16adf66877a976cd Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 9 Nov 2013 02:30:27 +0100 Subject: Defs-haiku.gmk: Fix Haiku specific *_PATH variables @@ -67,7 +67,7 @@ index c1cc440..134e128 100644 1.8.3.4 -From 60b48baf8bd582d783bc12df7d968c166297617b Mon Sep 17 00:00:00 2001 +From cab8b76a94407e51e0a9c665b53f28588e003a8b Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 9 Nov 2013 02:35:20 +0100 Subject: PLATFORM_API_HaikuOS_PCM.cpp: Fix SoundConsumer include @@ -91,7 +91,7 @@ index ec111fc..d69c6a9 100644 1.8.3.4 -From 4da954b7d748decbf8120cb4953a67babbc2ab96 Mon Sep 17 00:00:00 2001 +From f8a888057bba2123556300ca7cb200ff6b0f3186 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 9 Nov 2013 14:52:36 +0100 Subject: Fix freetype paths for Haiku @@ -116,7 +116,7 @@ index a478f97..c0dc0d0 100644 1.8.3.4 -From 99858f834541b5934ca8b34b30c8c43adf2f98f8 Mon Sep 17 00:00:00 2001 +From aad23df8dd37db1f0b5c3cd82cb90bb3f23e303f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 9 Nov 2013 14:53:56 +0100 Subject: HaikuFontManager: Use BPathFinder API to find font dirs @@ -165,7 +165,7 @@ index a645d00..66af9ab 100644 1.8.3.4 -From 8951c824cd602b066bb51895be71c407c86a8578 Mon Sep 17 00:00:00 2001 +From dcfb77462ec97c8b72c746dcb3d18bf2d488fe62 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 26 Nov 2013 17:50:46 +0100 Subject: Make use of $ORIGIN in rpath now supported in Haiku @@ -233,3 +233,27 @@ index bb0db1e..74e744e 100644 -- 1.8.3.4 + +From d71b1d303b0b6681b76c7557eec6e581734e0a7c Mon Sep 17 00:00:00 2001 +From: Ingo Weinhold +Date: Wed, 4 Dec 2013 03:23:53 +0100 +Subject: make/java/java/Makefile: Missing generated classes + +Add AUTO_FILES_JAVA_DIRS, so that the auto-generated classes are +picked up. + +diff --git a/make/java/java/Makefile b/make/java/java/Makefile +index 93878e6..bd94e8f 100644 +--- a/make/java/java/Makefile ++++ b/make/java/java/Makefile +@@ -59,6 +59,7 @@ endif + include FILES_c.gmk + include FILES_java.gmk + include Exportedfiles.gmk ++AUTO_FILES_JAVA_DIRS = java/lang + + ifeq ($(PLATFORM),windows) + FILES_java += java/io/Win32FileSystem.java \ +-- +1.8.3.4 + From c814ab396922de0882e0087743265438a56ad05e Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 4 Dec 2013 03:33:26 +0100 Subject: [PATCH 52/89] openjdk: Fix missing classes in rt.jar We invoke make twice to work around a bug in the build system which causes (some) generated java files not to be picked up and compiled the first time around. The issue is in jdk/make/common/Rules.gmk the way $(JAVA_SOURCE_LIST) is generated. That happens as a side-effect of the */%.class rules which are triggered due to $(FILES_class) being listed as prerequisites of $(JAVA_SOURCE_LIST). That means $(FILES_class) -- which ultimately is based on a shell invocation which finds .java files via find -- is evaluated in the first pass, i.e. long before the generated source files are made. Hence they aren't compiled and will be missing from rt.jar. Running make a second time works around the issue, since the source files will already be present then. --- dev-lang/openjdk/openjdk-1.7_2013_11_08.recipe | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-lang/openjdk/openjdk-1.7_2013_11_08.recipe b/dev-lang/openjdk/openjdk-1.7_2013_11_08.recipe index a04ce485c..d32ff7eb5 100644 --- a/dev-lang/openjdk/openjdk-1.7_2013_11_08.recipe +++ b/dev-lang/openjdk/openjdk-1.7_2013_11_08.recipe @@ -171,6 +171,12 @@ export ALT_JDK_IMPORT_PATH=$ALT_BOOTDIR # Build. cd jdk make + + # The build system is broken in that it doesn't pick up all auto-generated + # java sources (it uses "find ... -name '*.java'" too early). Unfortunately + # that isn't easy to fix, so we just run a second make, which will pick up + # the then already existing files. + make } INSTALL() From 92630bc8bab9d2d0f1d0c085ce8bab738bec9023 Mon Sep 17 00:00:00 2001 From: Dareus Date: Wed, 4 Dec 2013 05:39:02 +0000 Subject: [PATCH 53/89] Added devel package configuration to the aalib recipe. --- media-libs/aalib/aalib-1.4rc4.recipe | 37 +++++++++++++++++++++------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/media-libs/aalib/aalib-1.4rc4.recipe b/media-libs/aalib/aalib-1.4rc4.recipe index fd00fd71c..8491ef1b2 100644 --- a/media-libs/aalib/aalib-1.4rc4.recipe +++ b/media-libs/aalib/aalib-1.4rc4.recipe @@ -11,16 +11,11 @@ LICENSE="Public Domain" COPYRIGHT="Copyright (C) 1997 by Jam Hubicka" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" - aalib = $portVersion - cmd:aafire - cmd:aainfo - cmd:aalib_config - cmd:aasavefont - cmd:aatest - lib:libaa - devel:libaa + aalib$secondaryArchSuffix = $portVersion compat >= 1.0.4 + lib:libaa$secondaryArchSuffix " REQUIRES=" @@ -49,11 +44,35 @@ BUILD() autoconf automake --add-missing runConfigure ./configure - make + make $jobArgs } INSTALL() { make install prepareInstalledDevelLibs libaa + fixPkgconfig + + # devel package + packageEntries devel \ + $binDir \ + $developDir \ + $manDir/man3 } + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + libaa${secondaryArchSuffix}_devel = $portVersion compat >= 1.0.4 + cmd:aafire${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + cmd:aainfo${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + cmd:aalib_config${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + cmd:aasavefont${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + cmd:aatest${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + devel:libaa$secondaryArchSuffix = $portVersion compat >= 1.0.4 +" +REQUIRES_devel=" + libaa$secondaryArchSuffix == $portVersion base + lib:libaa$secondaryArchSuffix + lib:libroot$secondaryArchSuffix +" From beec0c4c7b5ebc6fb3a876cc5e0e6d42a3453f5e Mon Sep 17 00:00:00 2001 From: Dareus Date: Wed, 4 Dec 2013 05:39:38 +0000 Subject: [PATCH 54/89] bladeenc recipe file updated. --- media-sound/bladeenc/bladeenc-0.94.2.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/bladeenc/bladeenc-0.94.2.recipe b/media-sound/bladeenc/bladeenc-0.94.2.recipe index ef4b4ca14..e35ea82eb 100644 --- a/media-sound/bladeenc/bladeenc-0.94.2.recipe +++ b/media-sound/bladeenc/bladeenc-0.94.2.recipe @@ -22,10 +22,10 @@ REQUIRES=" " BUILD_REQUIRES=" + haiku_devel >= $haikuVersion " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion cmd:gcc cmd:make cmd:libtoolize From 7b2f928eafa48fa0fe38b764339efbe6d84e91ad Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Wed, 4 Dec 2013 07:55:30 +0000 Subject: [PATCH 55/89] Comment out devel:libtiff from sdl_image recipe since it's not yet available. --- media-libs/sdl_image/sdl_image-1.2.12.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/sdl_image/sdl_image-1.2.12.recipe b/media-libs/sdl_image/sdl_image-1.2.12.recipe index d8b4018d0..b96f04700 100644 --- a/media-libs/sdl_image/sdl_image-1.2.12.recipe +++ b/media-libs/sdl_image/sdl_image-1.2.12.recipe @@ -27,16 +27,16 @@ REQUIRES=" " BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion devel:libsdl$secondaryArchSuffix devel:libjpeg$secondaryArchSuffix devel:libpng$secondaryArchSuffix - devel:libtiff$secondaryArchSuffix +# devel:libtiff$secondaryArchSuffix devel:libgif$secondaryArchSuffix devel:libwebp$secondaryArchSuffix " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:aclocal cmd:autoconf cmd:gcc$secondaryArchSuffix From 00f04e5f0378b185e547b86b7ed59b71c30da84e Mon Sep 17 00:00:00 2001 From: anna_gajdov Date: Wed, 4 Dec 2013 16:36:35 +0000 Subject: [PATCH 56/89] libiptcdata-1.0.4.recipe edited online with Bitbucket --- media-libs/libiptcdata/libiptcdata-1.0.4.recipe | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/media-libs/libiptcdata/libiptcdata-1.0.4.recipe b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe index 0d8fac5f8..a5032b43c 100644 --- a/media-libs/libiptcdata/libiptcdata-1.0.4.recipe +++ b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe @@ -4,7 +4,7 @@ HOMEPAGE="http://libiptcdata.sourceforge.net/" COPYRIGHT=" 2005 David Moore " -LICENSE="GNU FDL v1.1" +LICENSE="GNU LGPL v2.1" SRC_URI="http://prdownloads.sourceforge.net/libiptcdata/libiptcdata-1.0.4.tar.gz?download" CHECKSUM_MD5="af886556ecb129b694f2d365d03d95a8" REVISION="1" @@ -17,19 +17,29 @@ PROVIDES=" " REQUIRES=" haiku >= $haikuVersion + lib:libiconv + lib:libintl " BUILD_REQUIRES=" haiku_devel >= $haikuVersion + devel:libiconv " BUILD_PREREQUIRES=" cmd:gcc cmd:ld cmd:make + cmd:libtool + cmd:autoconf + cmd:automake " BUILD() { - runConfigure ./configure + libtoolize --force --copy --install + aclocal -I m4 + autoconf + automake + runConfigure ./configure --disable-gtk-doc --enable-static --enable-shared make $jobArgs } @@ -53,5 +63,4 @@ PROVIDES_devel=" " REQUIRES_devel=" libiptcdata == $portVersion base - lib:libroot " From f82051d47831886b1ef3b32bd33ff0dcf9ffed33 Mon Sep 17 00:00:00 2001 From: anna_gajdov Date: Wed, 4 Dec 2013 16:52:11 +0000 Subject: [PATCH 57/89] libiptcdata-1.0.4.recipe edited online with Bitbucket --- media-libs/libiptcdata/libiptcdata-1.0.4.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/media-libs/libiptcdata/libiptcdata-1.0.4.recipe b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe index a5032b43c..bc9aa9495 100644 --- a/media-libs/libiptcdata/libiptcdata-1.0.4.recipe +++ b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe @@ -32,6 +32,7 @@ BUILD_PREREQUIRES=" cmd:autoconf cmd:automake " +PATCHES="libiptcdata-1.0.4.patch" BUILD() { From fe6cb9854b58363db26e0e7082c89f650ed421ce Mon Sep 17 00:00:00 2001 From: Anna Gajdova Date: Wed, 4 Dec 2013 18:04:25 +0100 Subject: [PATCH 58/89] edited license --- media-libs/libiptcdata/licenses/GNU FDL v1.1 | 107 ------------------- 1 file changed, 107 deletions(-) delete mode 100644 media-libs/libiptcdata/licenses/GNU FDL v1.1 diff --git a/media-libs/libiptcdata/licenses/GNU FDL v1.1 b/media-libs/libiptcdata/licenses/GNU FDL v1.1 deleted file mode 100644 index ac71ca810..000000000 --- a/media-libs/libiptcdata/licenses/GNU FDL v1.1 +++ /dev/null @@ -1,107 +0,0 @@ -Version 1.1, March 2000 - -Copyright (C) 2000 Free Software Foundation, Inc. -51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. -0. PREAMBLE - -The purpose of this License is to make a manual, textbook, or other written document "free" in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. - -This License is a kind of "copyleft", which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. - -We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. - -1. APPLICABILITY AND DEFINITIONS - -This License applies to any manual or other work that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. The "Document", below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as "you". - -A "Modified Version" of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. - -A "Secondary Section" is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document's overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (For example, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. - -The "Invariant Sections" are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. - -The "Cover Texts" are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. - -A "Transparent" copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, whose contents can be viewed and edited directly and straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup has been designed to thwart or discourage subsequent modification by readers is not Transparent. A copy that is not "Transparent" is called "Opaque". - -Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML designed for human modification. Opaque formats include PostScript, PDF, proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML produced by some word processors for output purposes only. - -The "Title Page" means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, "Title Page" means the text near the most prominent appearance of the work's title, preceding the beginning of the body of the text. - -2. VERBATIM COPYING - -You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. - -You may also lend copies, under the same conditions stated above, and you may publicly display copies. - -3. COPYING IN QUANTITY - -If you publish printed copies of the Document numbering more than 100, and the Document's license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. - -If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. - -If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a publicly-accessible computer-network location containing a complete Transparent copy of the Document, free of added material, which the general network-using public has access to download anonymously at no charge using public-standard network protocols. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. - -It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. - -4. MODIFICATIONS - -You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version: - -A. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission. -B. List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has less than five). -C. State on the Title page the name of the publisher of the Modified Version, as the publisher. -D. Preserve all the copyright notices of the Document. -E. Add an appropriate copyright notice for your modifications adjacent to the other copyright notices. -F. Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below. -G. Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document's license notice. -H. Include an unaltered copy of this License. -I. Preserve the section entitled "History", and its title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section entitled "History" in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence. -J. Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the "History" section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission. -K. In any section entitled "Acknowledgements" or "Dedications", preserve the section's title, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. -L. Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles. -M. Delete any section entitled "Endorsements". Such a section may not be included in the Modified Version. -N. Do not retitle any existing section as "Endorsements" or to conflict in title with any Invariant Section. -If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version's license notice. These titles must be distinct from any other section titles. - -You may add a section entitled "Endorsements", provided it contains nothing but endorsements of your Modified Version by various parties--for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. - -You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. - -The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. - -5. COMBINING DOCUMENTS - -You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice. - -The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. - -In the combination, you must combine any sections entitled "History" in the various original documents, forming one section entitled "History"; likewise combine any sections entitled "Acknowledgements", and any sections entitled "Dedications". You must delete all sections entitled "Endorsements." - -6. COLLECTIONS OF DOCUMENTS - -You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. - -You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. - -7. AGGREGATION WITH INDEPENDENT WORKS - -A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, does not as a whole count as a Modified Version of the Document, provided no compilation copyright is claimed for the compilation. Such a compilation is called an "aggregate", and this License does not apply to the other self-contained works thus compiled with the Document, on account of their being thus compiled, if they are not themselves derivative works of the Document. - -If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one quarter of the entire aggregate, the Document's Cover Texts may be placed on covers that surround only the Document within the aggregate. Otherwise they must appear on covers around the whole aggregate. - -8. TRANSLATION - -Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License provided that you also include the original English version of this License. In case of a disagreement between the translation and the original English version of this License, the original English version will prevail. - -9. TERMINATION - -You may not copy, modify, sublicense, or distribute the Document except as expressly provided for under this License. Any other attempt to copy, modify, sublicense or distribute the Document is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. - -10. FUTURE REVISIONS OF THIS LICENSE - -The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See http://www.gnu.org/copyleft/. - -Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License "or any later version" applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. From 80929ff57eb8ee633cdac2b350e3c61b0d29eacb Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Wed, 4 Dec 2013 18:11:38 +0100 Subject: [PATCH 59/89] Add Filer recipe --- haiku-apps/filer/filer-1.0.0beta3.recipe | 56 ++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 haiku-apps/filer/filer-1.0.0beta3.recipe diff --git a/haiku-apps/filer/filer-1.0.0beta3.recipe b/haiku-apps/filer/filer-1.0.0beta3.recipe new file mode 100644 index 000000000..8d4257244 --- /dev/null +++ b/haiku-apps/filer/filer-1.0.0beta3.recipe @@ -0,0 +1,56 @@ +SUMMARY="An automated file management system to copy, rename, move and modify files in an automated fashion" + +DESCRIPTION=" + The Filer is a powerful, flexible automatic file organizer. It is an implementation of the + Sorting Chute idea conceived on the Glass Elevator mailing list for Haiku. + Just drag and drop files onto its icon, use the Terminal, or send it files via the Open With menu. + It can even automatically file items in folders you specify. Simple enough for the novice user, + powerful enough for developers. It automates file management according to a set of rules you determine + and is pretty much limited only by your imagination. Powerful on its own, it can also be extended by shell scripting. + " # Taken from homepage + +HOMEPAGE="http://darkwyrm.beemulated.net/apps/filer.htm" +SRC_URI="git://github.com/HaikuArchives/Filer.git#4618b2ae9d7238254860cf3633701dd4f52dad37" +REVISION="1" + +LICENSE="MIT" +COPYRIGHT="2008 DarkWyrm" + +ARCHITECTURES="x86 x86_gcc2" + + +PROVIDES=" + filer = $portVersion + app:filer = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + lib:libsqlite3 + " + +BUILD_PREREQUIRES=" + cmd:gcc + cmd:xres + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + devel:libsqlite3 + " + +BUILD() +{ + cd sources/Filer + gcc -lbe -lsqlite3 -ltranslation -o ../FilerApp *.cpp + rc -o Filer.rsrc Filer.rdef + xres -o ../FilerApp Filer.rsrc + mimeset -f ../FilerApp +} + +INSTALL() +{ + mkdir -p $appsDir + cp sources/FilerApp $appsDir/Filer + addAppDeskbarSymlink $appsDir/Filer +} From 58ff365c92e48aa57410ae772deb8b742ac0824b Mon Sep 17 00:00:00 2001 From: anna_gajdov Date: Wed, 4 Dec 2013 20:26:19 +0000 Subject: [PATCH 60/89] libiptcdata-1.0.4.recipe edited online with Bitbucket --- media-libs/libiptcdata/libiptcdata-1.0.4.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/libiptcdata/libiptcdata-1.0.4.recipe b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe index bc9aa9495..072e6f95e 100644 --- a/media-libs/libiptcdata/libiptcdata-1.0.4.recipe +++ b/media-libs/libiptcdata/libiptcdata-1.0.4.recipe @@ -13,7 +13,7 @@ ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" PROVIDES=" libiptcdata = $portVersion cmd:iptc = $portVersion - lib:libiptcdata = $portVersion + lib:libiptcdata = 0.3.3 " REQUIRES=" haiku >= $haikuVersion @@ -60,7 +60,7 @@ INSTALL() PROVIDES_devel=" libiptcdata_devel = $portVersion - devel:libiptcdata = $portVersion + devel:libiptcdata = 0.3.3 " REQUIRES_devel=" libiptcdata == $portVersion base From 6adc6aaba3a1e46ba98456881a7e92c75f0ff9c3 Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Wed, 4 Dec 2013 20:44:48 +0000 Subject: [PATCH 61/89] Added BDH Calc .recipe file for version 1.1 --- haiku-apps/bdhcalc/bdhcalc-1.1.recipe | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 haiku-apps/bdhcalc/bdhcalc-1.1.recipe diff --git a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe new file mode 100644 index 000000000..d8ebaac3c --- /dev/null +++ b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe @@ -0,0 +1,40 @@ +SUMMARY="BDH Calc" +DESCRIPTION="Fully functunal 64bit calculator" +HOMEPAGE="http://haikuware.com/directory/view-details/science-math/calculators/bdh-calc-for-haiku" +SRC_URI="git://github.com/ThomasCompix/BDH-Calc.git#4a6865932ae0e95244ed0149b6e8c4f437ea742a" +REVISION="1" +LICENSE="MIT" +COPYRIGHT="Scott Hammond" + +ARCHITECTURES="x86 x86_gcc2 !ppc" + +PROVIDES=" + bdhcalc = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:make + " + +BUILD() +{ + gcc -c src/bdh_main.cpp -o bdh_main.o + gcc -c src/bdh_view.cpp -o bdh_view.o + gcc -lbe bdh_main.o bdh_view.o -o bdhcalc + xres bdhcalc Ressources/bdh.rsrc +} + +INSTALL() +{ + mkdir -p $appsDir/bdhcalc + mv bdhcalc $appsDir/bdhcalc/bdhcalc + addAppDeskbarSymlink $appsDir/bdhcalc/bdhcalc "BDH Calc" +} From a59d836c266ec3abf66f7a5dfd166f37ac3fe28b Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Wed, 4 Dec 2013 21:54:00 +0100 Subject: [PATCH 62/89] Moved COPYRIGHT and LICENSE entries up to other general informations strings --- net-misc/berdp/berdp-1.recipe | 7 +++---- net-misc/rdesktop/rdesktop-1.8.0.recipe | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index 4a6741dc2..cbceeaa2c 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -1,7 +1,9 @@ DESCRIPTION="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS platform utilizing the rdesktop project. RDP is a protocol designed by Microsoft to remotely administer / run a session on Windows 2000/2003 Servers / Windows XP Professional workstations." -SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS." +SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS" HOMEPAGE="https://github.com/HaikuArchives/BeRDP/" SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#8d73363b567361a5f14bf36173bf68f01260013a" +COPYRIGHT="2003-2004 Sikos" +LICENSE="BSD (4-clause)" REVISION="1" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" @@ -28,9 +30,6 @@ REQUIRES=" " -COPYRIGHT="2003-2004 Sikos" -LICENSE="BSD (4-clause)" - BUILD() { cd Source diff --git a/net-misc/rdesktop/rdesktop-1.8.0.recipe b/net-misc/rdesktop/rdesktop-1.8.0.recipe index 022a4a146..f770cfe9f 100644 --- a/net-misc/rdesktop/rdesktop-1.8.0.recipe +++ b/net-misc/rdesktop/rdesktop-1.8.0.recipe @@ -6,6 +6,8 @@ DESCRIPTION=" SUMMARY="An open source client for Windows Remote Desktop Services." HOMEPAGE="http://rdesktop.org/" SRC_URI="git+https://github.com/threedeyes/rdesktop.git#dc04b43ccb443f8245e5cda69ab063624e0d6f8c" +COPYRIGHT="1999-2013 Matthew Chapman" +LICENSE="GNU GPL v3" REVISION="1" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" @@ -31,10 +33,7 @@ REQUIRES=" lib:libcrypto lib:libssl " - -COPYRIGHT="1999-2013 Matthew Chapman" -LICENSE="GNU GPL v3" BUILD() { From f2e69c6904425afd6752485d0748a99f7f6b86cc Mon Sep 17 00:00:00 2001 From: Theodore Kokkoris Date: Wed, 4 Dec 2013 21:11:12 +0000 Subject: [PATCH 63/89] Added Tolmach recipe and patch --- .../tolmach/patches/tolmach-1.1.0.patch | 13 +++++ haiku-apps/tolmach/tolmach-1.1.0.recipe | 50 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 haiku-apps/tolmach/patches/tolmach-1.1.0.patch create mode 100644 haiku-apps/tolmach/tolmach-1.1.0.recipe diff --git a/haiku-apps/tolmach/patches/tolmach-1.1.0.patch b/haiku-apps/tolmach/patches/tolmach-1.1.0.patch new file mode 100644 index 000000000..00afa60d2 --- /dev/null +++ b/haiku-apps/tolmach/patches/tolmach-1.1.0.patch @@ -0,0 +1,13 @@ +diff --git a/TolmachApp.cpp b/TolmachApp.cpp +index acfacb1..c7c190a 100644 +--- a/TolmachApp.cpp ++++ b/TolmachApp.cpp +@@ -421,7 +421,7 @@ void + TolmachApplication::LoadDictList() + { + BPath pathDicts; +- find_directory(B_COMMON_DATA_DIRECTORY, &pathDicts); ++ find_directory(B_USER_DATA_DIRECTORY, &pathDicts); + pathDicts.Append(cszDictionariesDir); + BDirectory dir(pathDicts.Path()); + BEntry entry; diff --git a/haiku-apps/tolmach/tolmach-1.1.0.recipe b/haiku-apps/tolmach/tolmach-1.1.0.recipe new file mode 100644 index 000000000..aef978684 --- /dev/null +++ b/haiku-apps/tolmach/tolmach-1.1.0.recipe @@ -0,0 +1,50 @@ +DESCRIPTION="This program is a dictionary for Haiku" +SUMMARY="A dictionary for Haiku" +COPYRIGHT="1999 Ivan V. Murasko" +LICENSE="GNU GPL v2" +HOMEPAGE="https://gitorious.org/desknotes/tolmach" +SRC_URI="git+https://gitorious.org/desknotes/tolmach.git#dcddbac" +REVISION="1" + +ARCHITECTURES="x86_gcc2 x86 ?x86_64" + +PROVIDES=" + tolmach = $portVersion + app:tolmach = $portVersion + lib:libfSub + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" + makefile_engine + cmd:gcc + cmd:make + cmd:mkdepend + " + +PATCHES="tolmach-1.1.0.patch" + +USER_SETTINGS_FILES=" + settings/Tolmach_Preferences directory" + +BUILD() +{ + make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` +} + +INSTALL() +{ + architecture=`echo $buildArchitecture | sed 's/_/-/g'` + + mkdir -p $appsDir/Tolmach $dataDir/Tolmach + + cd objects.$architecture-release + cp Tolmach $appsDir/Tolmach + addAppDeskbarSymlink $appsDir/Tolmach/Tolmach + + cd ../Dictionaries + cp *.pgb $dataDir/Tolmach +} From 821ed88b33f2cdce5b7c43319eac3300988bacfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 4 Dec 2013 21:03:27 +0000 Subject: [PATCH 64/89] ffmpeg: patch is only for gcc2 * added dependency on libbz2 --- media-video/ffmpeg/ffmpeg-0.10.2.recipe | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/media-video/ffmpeg/ffmpeg-0.10.2.recipe b/media-video/ffmpeg/ffmpeg-0.10.2.recipe index f26d636b9..59e376e96 100644 --- a/media-video/ffmpeg/ffmpeg-0.10.2.recipe +++ b/media-video/ffmpeg/ffmpeg-0.10.2.recipe @@ -11,11 +11,13 @@ COPYRIGHT=" " SRC_URI="http://www.ffmpeg.org/releases/ffmpeg-0.10.2.tar.bz2" CHECKSUM_MD5="de1bd5fc4bbf3ef730a5361ee596fedd" -REVISION="4" +REVISION="5" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" -PATCHES="ffmpeg-0.10.2-gcc2.patch" +if [ $targetArchitecture == x86_gcc2 ]; then + PATCHES="ffmpeg-0.10.2-gcc2.patch" +fi PROVIDES=" ffmpeg$secondaryArchSuffix = $portVersion compat >= 0.10 @@ -37,6 +39,7 @@ fi REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion + lib:libbz2$secondaryArchSuffix lib:libogg$secondaryArchSuffix lib:libspeex$secondaryArchSuffix lib:libtheoradec$secondaryArchSuffix @@ -47,6 +50,7 @@ REQUIRES=" lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" + devel:libbz2$secondaryArchSuffix devel:libogg$secondaryArchSuffix devel:libspeex$secondaryArchSuffix devel:libtheora$secondaryArchSuffix From 62d30ce32448ce89d13782912dc94a77565f9e3a Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Wed, 4 Dec 2013 21:59:27 +0000 Subject: [PATCH 65/89] Modified the recipe --- haiku-apps/bdhcalc/bdhcalc-1.1.recipe | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe index d8ebaac3c..1bb21942b 100644 --- a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe +++ b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe @@ -1,5 +1,8 @@ -SUMMARY="BDH Calc" -DESCRIPTION="Fully functunal 64bit calculator" +SUMMARY="Fully functunal 64bit calculator" +DESCRIPTION="A programmer's calculator supporting standard arithmetic and binary operators. + Moreover you are able to choose the word size from 8bit to 64bit. Moreover you are free + to choose whether it is a signed or unsigned behavior. Classical conversations are + possible, too." HOMEPAGE="http://haikuware.com/directory/view-details/science-math/calculators/bdh-calc-for-haiku" SRC_URI="git://github.com/ThomasCompix/BDH-Calc.git#4a6865932ae0e95244ed0149b6e8c4f437ea742a" REVISION="1" @@ -10,31 +13,33 @@ ARCHITECTURES="x86 x86_gcc2 !ppc" PROVIDES=" bdhcalc = $portVersion + app:bdhcalc = $portVersion " REQUIRES=" haiku >= $haikuVersion " BUILD_REQUIRES=" + haiku_devel >= $haikuVersion " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion cmd:gcc cmd:make " BUILD() { - gcc -c src/bdh_main.cpp -o bdh_main.o - gcc -c src/bdh_view.cpp -o bdh_view.o - gcc -lbe bdh_main.o bdh_view.o -o bdhcalc + g++ -c src/bdh_main.cpp -o bdh_main.o + g++ -c src/bdh_view.cpp -o bdh_view.o + g++ -lbe bdh_main.o bdh_view.o -o bdhcalc xres bdhcalc Ressources/bdh.rsrc + mimeset -f bdhcalc } INSTALL() { - mkdir -p $appsDir/bdhcalc - mv bdhcalc $appsDir/bdhcalc/bdhcalc - addAppDeskbarSymlink $appsDir/bdhcalc/bdhcalc "BDH Calc" + mkdir -p $appsDir + mv bdhcalc $appsDir/bdhcalc + addAppDeskbarSymlink $appsDir/bdhcalc "BDH Calc" } From d58da7e81dada16f4fd15769b8e2e54f175dab6b Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Thu, 5 Dec 2013 00:00:01 +0100 Subject: [PATCH 66/89] Add FilWip recipe --- haiku-apps/filwip/filwip-1.0.0.recipe | 54 +++++++ haiku-apps/filwip/licenses/SPL | 202 ++++++++++++++++++++++++++ 2 files changed, 256 insertions(+) create mode 100644 haiku-apps/filwip/filwip-1.0.0.recipe create mode 100644 haiku-apps/filwip/licenses/SPL diff --git a/haiku-apps/filwip/filwip-1.0.0.recipe b/haiku-apps/filwip/filwip-1.0.0.recipe new file mode 100644 index 000000000..d86d79887 --- /dev/null +++ b/haiku-apps/filwip/filwip-1.0.0.recipe @@ -0,0 +1,54 @@ +SUMMARY="An app to clean all temporary and unwanted files" + +DESCRIPTION=" + It cleans your hard disk of all unwanted files such as left-over temporary files, + cache files of internet sessions, logs, history files and the like. + FilWip is the successor of the BeOS Clean-Up Manager. The reason why the Clean-Up Manager + was dropped was because it had certain problems that needed almost a complete rewrite to be fixed. + It was not worth doing because I wanted to add more features and change the overall approach. + " + +HOMEPAGE="https://sites.google.com/site/appfilwip/home" +SRC_URI="git://github.com/HaikuArchives/FilWip.git#35fa6d11f1174735d0a1dcbcb47d0d6bafa9dc19" +REVISION="1" + +LICENSE="SPL" +COPYRIGHT="2002 Ramshankar" + +ARCHITECTURES="x86 x86_gcc2" + + +PROVIDES=" + filwip = $portVersion + app:filwip = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_PREREQUIRES=" + cmd:g++ + cmd:xres + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +BUILD() +{ + cd Source + g++ -o ../FilWip -lbe -ltranslation -ltracker *.cpp */*.cpp + rc -o ../FilWip.rsrc FilWip.rdef + xres -o ../FilWip ../FilWip.rsrc + mimeset -f ../FilWip +} + +INSTALL() +{ + mkdir -p $appsDir/FilWip + cp -rf Plugins $appsDir/FilWip/Plugins + cp FilWip $appsDir/FilWip/FilWip + addAppDeskbarSymlink $appsDir/FilWip/FilWip +} diff --git a/haiku-apps/filwip/licenses/SPL b/haiku-apps/filwip/licenses/SPL new file mode 100644 index 000000000..c21379288 --- /dev/null +++ b/haiku-apps/filwip/licenses/SPL @@ -0,0 +1,202 @@ +=================== +Somebody Public License (SPL) +=================== + +Copyright 2002-2003 Ramshankar +All rights reserved. + +1. Definitions + + 1. The term "Software" refers to BeConverter program that + accompanies this license, all associated data files including + but not limited to documentation, pictures and source code + and all files associated with the source code. Any exclusions + that does not belong to the term "Software" will be explicitly + stated in the appropriate section of this License, eg: source + files that are written by third party users etc. + + 2. The term "Author" refers to the individual V.Ramshankar, + who wrote the Software and holds the copyright. Section 5 + of this License defines the owner(s) of this Software. + + 3. The term "Commercial Use" or "Commercial distribution" + means distribution of the Software, or parts thereof, for + monetary benefits to any entity including but not limited + to companies. + + 4. The term "License" means this document. + + 5. The term "Original Code" refers to the source code for the + Software written fully by the Author. If the source code + contains third-party source code, they do not fall under this + license. When the Author makes changes to the Original + code, the changed code thereof is referred as Original Code. + Thus any code written by the Author is referred to as + Original Code. + + 6. The term "Modifications" means any addition or deletion + from the substance or structure of the Original Code by any + entity other than the Author. The modified source code will + thereof not be called Original Code as it was not modified by + the Author. + + 7. The term "Source Code" means those files that are either + compiled and/or linked by a compiler/linker to produce the + final binary file which can be executed by the Operating + System. The Source Code can either be in compressed or + archival form, provided the appropriate decompression or + de-archiving program is widely available for no charge. + + 8. The term "You" or "Your" means an individual or a legal + entity exercising rights under, and complying with all of + the terms of, this License or a future version of this + License. For legal entities, "You" includes any entity which + controls, is controlled by, or is under common control with + You. For purposes of this definition, "control" means (a) + the power, direct or indirect, to cause the direction or + management of such entity, whether by contract or + otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership + of such entity. + +2. Source Code License + + This section is only applicable if the source code is distributed by + the Author. Otherwise just ignore section 2 of this agreement. + + This section of the license does not apply to source code written + by third parties included with and/or used by the Software. These + include libraries, components and/or other third party modules' + source code. All third party code fall under their respective licenses + defined in "License.txt" of that particular code component. The + term "Code" or "Source Code" refers to the source code and/or + parts thereof, of the Software. + + 2.1.1 Using the Source Code in freeware programs + You are allowed to use parts of the Code in your program/s + provided the program is distributed totally free of cost. In this case + you must give credit to the Author in your program's interactive + mode (i.e. viewable by the end-user). Notification about the use + of the Code to the Author would be appreciated but not needed. + + 2.1.2. Using the Source Code in Commercial/Paid softwares + You are allowed to use the Code and parts thereof in commercial + or shareware programs provided you adhere to the following + condition: + The Author receives a free copy of ever major + version of the commercial/paid software through download + from a website, in the latter case the Author must be given + the details of where to download. + + 2.2.1 Modifying the Source Code + You are allowed to modify the Source Code in any manner and + distribute it, provided you disclaim the Author from any and all + responsibilities and/or liabilities and you explicitly state that the + modified distribution is not an original distribution made by the + Author and that it is in fact a modified version of the Source + Code. This modified code can be used as the Source Code/Code + in Sections 2.1.1 and 2.1.2 of this License. + + 2.2.2 Public distribution in websites etc. + Publishing the Source Code, or parts thereof and/or modified + versions of the Source Code, or parts thereof, in public mediums + such as CD-ROMs, floppy disks, DVDs and/or the Internet or in + other mediums such as books, journals etc. are allowed. If the + medium and/or viewing of the medium is commercial (providing + monetary gains to one or more entities) the Author must + be contacted to negotiate a premium. If the medium and/or + viewing of the medium is completely free of cost to the public, + informing the Author about such a medium would be appreciated. + +3. Program License + You are permitted to copy and distribute the Software any + number of times, provided you include this License and all + other License agreements (if any) that you received along with + this Software. You also must keep any and all documentation + intact. You may or may not distribute the Source Code + but if you are distributing the Source Code, it must be in + accord with Section 2 of thise License. For any enquiries with + this clause please contact the Author for clarification. Any and + all distributions here forth will be in accord to Section 3 of the License. + + 3.1.1 Bundling in Commercial distributions. + You are allowed to "bundle" this Software or parts thereof, + in a commercial or shareware distribution provided You give + credit to the Author as viewable by the end-user/customer. + And You must contact the Author for negotiating a premium + for such a distribution. The premium amount if any at all will + be determined by the Author. The amount will be in accord to + the cost of purchase of the distribution. + + 3.1.2. Bundling in Freeware distributions. + You are allowed to "bundle" this Software in any non- + commercial (freeware) distribution, meaning the distributor/s + do not gain any monetary benefits of any kind. Prior + permission must be obtained from the Author, and credit for + the Software must be explicitly mentioned as viewable by the + end-users of the package. + +4. Term and Termination + This License is effective until terminated. If you install the + Software and/or parts thereof, it implies you have read this + License and agreed to and will comply with all the terms and + conditions of this License. + + If you do not agree to any of the terms and conditions of this + License, you are not permitted to install the Software or + parts thereof, and this License will be terminated and be + void. In which case, You must remove all copies of the + Software and its install program from your all Your computer + system/s. Additionally, you may terminate this License at + any time by destroying the Software and all copies and parts + thereof in computer system/s owned by You. This License + automatically terminates if you fail to comply with all its + terms and conditions. You agree that, upon such termination, + you will destroy (permanently erase) all copies of the + Software and parts thereof, including but not limited to + documentation and data files. + +5. Ownership + You agree that you neither own nor hereby acquire any + claim or right of ownership of the Software or to any related + patents, copyrights, trademarks or other intellectual property. + You only own the magnetic or other physical media on which + the Software is recorded or fixed. The Author retains all right, + title and interest in and to all copies of the Software as recorded + on the original media and all subsequent copies of the Software + at all times, regardless of the form or media or media in or on + which the original or other copies my subsequently exist. The + License is not a sale of the original or any subsequent copy. + +6. Disclaimer + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT + NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE, + NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT + SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +7. Additional Information + If you have questions about this License, or if you wish to + contact the author for any reason, you may write to following + e-mail address: + + ramshankar@bemail.org + ramshankar@themail.com + + Or visit the following website for the latest info on how + to contact the author: + + http://www.geocities.com/ram_beos/ + +All cited trademarks and registered trademarks are the property +of their respective owners. From b06d42cb4307e168d9cae83b074688b79552b871 Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Thu, 5 Dec 2013 00:19:46 +0000 Subject: [PATCH 67/89] QupZilla: patches and recipe. --- .../patches/qupzilla_x86-1.4.x.patchset | 96 +++++++++++++++++++ www-client/qupzilla/qupzilla-1.4.x.recipe | 79 +++++++++++++++ 2 files changed, 175 insertions(+) create mode 100644 www-client/qupzilla/patches/qupzilla_x86-1.4.x.patchset create mode 100644 www-client/qupzilla/qupzilla-1.4.x.recipe diff --git a/www-client/qupzilla/patches/qupzilla_x86-1.4.x.patchset b/www-client/qupzilla/patches/qupzilla_x86-1.4.x.patchset new file mode 100644 index 000000000..16a2d9922 --- /dev/null +++ b/www-client/qupzilla/patches/qupzilla_x86-1.4.x.patchset @@ -0,0 +1,96 @@ +From 8cd9ec3eb620f08d9ea0de439b80f45d2e9a8cdc Mon Sep 17 00:00:00 2001 +From: "Arfonzo J. Coward" +Date: Thu, 5 Dec 2013 00:04:04 +0000 +Subject: QupZilla sources and build definitions modified for Haiku. + + +diff --git a/src/defines.pri b/src/defines.pri +index 18a234a..7c33ba5 100644 +--- a/src/defines.pri ++++ b/src/defines.pri +@@ -19,6 +19,13 @@ win32-msvc* { + LIBS += User32.lib Ole32.lib Shell32.lib ShlWapi.lib Gdi32.lib ComCtl32.lib + } + ++#DEFINES *= QUPZILLA_PREFIX="`finddir B_USER_APPS_DIRECTORY`/QupZilla/" ++DEFINES *= QUPZILLA_PREFIX="/boot/home/config/apps/QupZilla/" ++DEFINES *= DISABLE_DBUS ++DEFINES *= NO_SYSTEM_DATAPATH ++DEFINES *= NO_X11 ++ ++ + # Check for pkg-config availability + !mac:unix:system(pkg-config --version > /dev/null) { + isEqual(QT_MAJOR_VERSION, 5) { +diff --git a/src/lib/3rdparty/processinfo.cpp b/src/lib/3rdparty/processinfo.cpp +index 6131d62..ba96c63 100644 +--- a/src/lib/3rdparty/processinfo.cpp ++++ b/src/lib/3rdparty/processinfo.cpp +@@ -30,6 +30,10 @@ + #include + #endif + ++#ifdef __HAIKU__ ++#define DT_DIR 4 ++#endif ++ + ProcessInfo::ProcessInfo(const QString &name) + : m_name(name) + { +@@ -75,7 +79,8 @@ pid_t ProcessInfo::GetPIDbyName(const char* cchrptr_ProcessName) const + } + + // Loop while not NULL +- while ((de_DirEntity = readdir(dir_proc))) { ++ while ((de_DirEntity = readdir(dir_proc))) { ++#ifndef __HAIKU__ + if (de_DirEntity->d_type == DT_DIR) { + if (IsNumeric(de_DirEntity->d_name)) { + strcpy(chrarry_CommandLinePath, "/proc/") ; +@@ -104,6 +109,7 @@ pid_t ProcessInfo::GetPIDbyName(const char* cchrptr_ProcessName) const + } + } + } ++#endif + } + + closedir(dir_proc) ; +diff --git a/src/main/main.cpp b/src/main/main.cpp +index e6a56ea..e4ac880 100644 +--- a/src/main/main.cpp ++++ b/src/main/main.cpp +@@ -20,10 +20,12 @@ + + #include // For QT_REQUIRE_VERSION + +-#if defined(Q_OS_LINUX) || defined(__GLIBC__) ++#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__HAIKU__) + #include + #include ++#ifndef __HAIKU__ + #include ++#endif + + #include "qupzilla.h" + +@@ -56,6 +58,7 @@ void qupzilla_signal_handler(int s) + } + sigSegvServed = true; + ++#ifndef __HAIKU__ + std::cout << "QupZilla: Crashed :( Saving backtrace in " << qPrintable(mApp->PROFILEDIR) << "crashlog ..." << std::endl; + + void* array[100]; +@@ -105,6 +108,9 @@ void qupzilla_signal_handler(int s) + file.close(); + + std::cout << "Backtrace successfuly saved in " << qPrintable(dir.absoluteFilePath(file.fileName())) << std::endl; ++#else ++ std::cout << "QupZilla: Crashed :(" << std::endl; ++#endif + } + + default: +-- +1.8.3.4 + diff --git a/www-client/qupzilla/qupzilla-1.4.x.recipe b/www-client/qupzilla/qupzilla-1.4.x.recipe new file mode 100644 index 000000000..132b7338f --- /dev/null +++ b/www-client/qupzilla/qupzilla-1.4.x.recipe @@ -0,0 +1,79 @@ +SUMMARY="QupZilla, a lightweight Qt WebKit web browser." +DESCRIPTION=" + QupZilla is a lightweight multiplatform web browser based on + libqtwebkit. + + It provides: + - A unified interface for bookmarks, history and RSS reading. + - A themeable interface. + - Integrated AdBlock. + - Speed Dial. + - Multiplatform support. + " +HOMEPAGE="http://www.qupzilla.com" + +SRC_URI="git://github.com/QupZilla/qupzilla.git" +SOURCE_DIR="qupzilla" + +REVISION="1" +LICENSE="GNU GPL v3" +COPYRIGHT="2010-2013 David Rosca" + +ARCHITECTURES="x86" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +fi +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + qupzilla${secondaryArchSuffix} = $portVersion + " + +# TODO: update requirements to be more specific about which Qt +# libraries are required. +REQUIRES=" + haiku${secondaryArchSuffix} >= $haikuVersion + qtcore${secondaryArchSuffix} >= 4.8.0 + " + +BUILD_PREREQUIRES=" + cmd:qmake${secondaryArchSuffix} + cmd:make + cmd:g++${secondaryArchSuffix} + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + openssl${secondaryArchSuffix}_devel + qtcore${secondaryArchSuffix} >= 4.8.0 + qtcore${secondaryArchSuffix}_devel >= 4.8.0 + " + +PATCHES=" + qupzilla_x86-1.4.x.patchset + " + +BUILD() +{ + qmake + make $jobArgs +} + +INSTALL() +{ + echo "Installing QupZilla..." + + mkdir -p ${appsDir}/QupZilla/ + mkdir -p ${appsDir}/QupZilla/lib/ + + cd bin/ + + cp qupzilla ${appsDir}/QupZilla/ + cp -R locale ${appsDir}/QupZilla/ + cp -R plugins ${appsDir}/QupZilla/ + cp -R themes ${appsDir}/QupZilla/ + cp libQupZilla.* ${appsDir}/QupZilla/lib/ + + echo "Linking QupZilla..." + addAppDeskbarSymlink ${appsDir}/QupZilla/qupzilla "QupZilla" +} From 3a74b8ab000947170d09b4b9d5f2de1b5bb98c2f Mon Sep 17 00:00:00 2001 From: noryb009 Date: Wed, 4 Dec 2013 22:47:45 -0500 Subject: [PATCH 68/89] Update Puri recipe, work done by GCI student Luke --- haiku-apps/puri/puri-0.3.9.1.recipe | 76 +++++++++++++++++++++-------- 1 file changed, 56 insertions(+), 20 deletions(-) diff --git a/haiku-apps/puri/puri-0.3.9.1.recipe b/haiku-apps/puri/puri-0.3.9.1.recipe index 272c4df9d..2ca32d785 100644 --- a/haiku-apps/puri/puri-0.3.9.1.recipe +++ b/haiku-apps/puri/puri-0.3.9.1.recipe @@ -1,29 +1,65 @@ -DESCRIPTION="Puri is a 2D and 3D chess game. Playing online is also supported" -HOMEPAGE="http://haiku.bplaced.net/" -SRC_URI="http://haiku.bplaced.net/puri/sources/puri-0.3.9.1.zip" +SUMMARY="Puri is a 2D and 3D chess game." +DESCRIPTION=" + Puri is a 2D and 3D chess game. You can play against a computer, + or play online against other people. + " +HOMEPAGE="https://gitorious.org/puri-master-of-chess/puri/" +SRC_URI="https://gitorious.org/puri-master-of-chess/puri/archive/59b5db4b337fc432b64a7d099f7b7e0fc8ece3c7.tar.gz" +CHECKSUM_MD5="467d00355e3450e9d3b1d126afcf06a6" +LICENSE="MIT" +COPYRIGHT=" + 2005-2007 Ingo Weinhold + 2010-2012 Haiku Inc." REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" -CHECKSUM_MD5="6e0a48e31dae972ccb010437a2d72dd8" -MESSAGE="This port only builds with gcc4." +ARCHITECTURES="?x86 ?x86_64" + +SECONDARY_ARCHITECTURES="x86" +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" +fi + +PROVIDES=" + Puri$secondaryArchSuffix = $portVersion + app:Puri$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libpng$secondaryArchSuffix + lib:libglu$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libglu$secondaryArchSuffix + devel:libpng$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + gcc$secondaryArchSuffix + binutils$secondaryArchSuffix + cmd:jam + " + +SOURCE_DIR="puri-master-of-chess-puri" + BUILD() { - cd puri-0.3.9.1 + export PATH="/bin/x86:$PATH" jam } INSTALL() { - puri=${DESTDIR}/`finddir B_APPS_DIRECTORY`/Puri - mkdir -p ${puri} - mkdir -p ${puri}/data/ - mkdir -p ${puri}/Engines/ - cd puri-0.3.9.1 - cp Puri ${puri} - cp -R ./data/* ${puri}/data - cp ./Engines/* ${puri}/Engines - chmod 755 ${puri}/Engines/stockfish + cd source + + mkdir -p $appsDir/Puri + + cp Puri $appsDir/Puri + addAppDeskbarSymlink $appsDir/Puri/Puri + + cp -R data $appsDir/Puri/data + cp -R Engines $appsDir/Puri/Engines + chmod 755 $appsDir/Puri/Engines/stockfish } - -LICENSE="MIT" -COPYRIGHT="2010-2012 Haiku inc." From 1dc2150abef5b62cb9b887f4b22d21a8e53d1216 Mon Sep 17 00:00:00 2001 From: Dareus Date: Thu, 5 Dec 2013 04:27:47 +0000 Subject: [PATCH 69/89] aalib recipe updated. --- media-libs/aalib/aalib-1.4rc4.recipe | 79 +++++++++++++++------------- 1 file changed, 42 insertions(+), 37 deletions(-) diff --git a/media-libs/aalib/aalib-1.4rc4.recipe b/media-libs/aalib/aalib-1.4rc4.recipe index 8491ef1b2..42f872401 100644 --- a/media-libs/aalib/aalib-1.4rc4.recipe +++ b/media-libs/aalib/aalib-1.4rc4.recipe @@ -1,6 +1,6 @@ SUMMARY="aalib is an ASCII rendering 2D library" DESCRIPTION="aalib is a software library which allows applications to - automatically convert still and moving images into ASCII art. + automatically convert still and moving images into ASCII art. " HOMEPAGE="http://aa-project.sourceforge.net/aalib/" SRC_URI="http://prdownloads.sourceforge.net/aa-project/aalib-1.4rc4.tar.gz" @@ -8,71 +8,76 @@ SOURCE_DIR="aalib-1.4.0" CHECKSUM_MD5="d5aa8e9eae07b7441298b5c30490f6a6" REVISION="2" LICENSE="Public Domain" -COPYRIGHT="Copyright (C) 1997 by Jam Hubicka" +COPYRIGHT="1997 by Jam Hubicka" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" - aalib$secondaryArchSuffix = $portVersion compat >= 1.0.4 - lib:libaa$secondaryArchSuffix + aalib$secondaryArchSuffix = $portVersion compat >= 1.0.4 + lib:libaa$secondaryArchSuffix " REQUIRES=" haiku >= $haikuVersion " +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion +" + BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion - cmd:gcc - cmd:make - cmd:libtoolize - cmd:aclocal - cmd:autoconf - cmd:automake - cmd:makeinfo + cmd:gcc + cmd:make + cmd:libtoolize + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:makeinfo " PATCHES=" - aalib-1.4rc4.patch + aalib-1.4rc4.patch " BUILD() { - libtoolize --force --copy --install - aclocal - autoconf - automake --add-missing - runConfigure ./configure - make $jobArgs + libtoolize --force --copy --install + aclocal + autoconf + automake --add-missing + runConfigure ./configure + make $jobArgs } INSTALL() { - make install - prepareInstalledDevelLibs libaa - fixPkgconfig + make install + prepareInstalledDevelLibs libaa + fixPkgconfig - # devel package - packageEntries devel \ - $binDir \ - $developDir \ - $manDir/man3 + # devel package + packageEntries devel \ + $binDir \ + $developDir \ + $manDir/man3 } # ----- devel package ------------------------------------------------------- PROVIDES_devel=" - libaa${secondaryArchSuffix}_devel = $portVersion compat >= 1.0.4 - cmd:aafire${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - cmd:aainfo${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - cmd:aalib_config${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - cmd:aasavefont${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - cmd:aatest${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - devel:libaa$secondaryArchSuffix = $portVersion compat >= 1.0.4 + libaa${secondaryArchSuffix}_devel = $portVersion compat >= 1.0.4 + cmd:aafire${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + cmd:aainfo${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + cmd:aalib_config${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + cmd:aasavefont${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + cmd:aatest${secondaryArchSuffix} = $portVersion compat >= 1.0.4 + devel:libaa$secondaryArchSuffix = $portVersion compat >= 1.0.4 " + REQUIRES_devel=" - libaa$secondaryArchSuffix == $portVersion base - lib:libaa$secondaryArchSuffix - lib:libroot$secondaryArchSuffix + libaa$secondaryArchSuffix == $portVersion base + lib:libaa$secondaryArchSuffix + lib:libroot$secondaryArchSuffix " + From ff6f0e1d75d0c427645309d409d30286a646316d Mon Sep 17 00:00:00 2001 From: Dareus Date: Thu, 5 Dec 2013 04:33:33 +0000 Subject: [PATCH 70/89] bc recipe updated. --- sys-devel/bc/bc-1.06.recipe | 40 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/sys-devel/bc/bc-1.06.recipe b/sys-devel/bc/bc-1.06.recipe index 2ba8de9ef..3ef625c6b 100644 --- a/sys-devel/bc/bc-1.06.recipe +++ b/sys-devel/bc/bc-1.06.recipe @@ -1,57 +1,55 @@ SUMMARY="Handy console-based calculator utility" DESCRIPTION="bc is an arbitrary precision numeric processing language. - Syntax is similar to C, but differs in many substantial areas. It - supports interactive execution of statements. bc is a utility included - in the POSIX P1003.2/D11 draft standard. + Syntax is similar to C, but differs in many substantial areas. It + supports interactive execution of statements. bc is a utility included + in the POSIX P1003.2/D11 draft standard. " HOMEPAGE="http://www.gnu.org/software/bc/bc.html" SRC_URI="http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz" CHECKSUM_MD5="d44b5dddebd8a7a7309aea6c36fda117" REVISION="2" LICENSE="GNU GPL v2 - GNU LGPL v2.1" + GNU LGPL v2.1" COPYRIGHT="1991-2000 Free Software Foundation, Inc." ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" PROVIDES=" - bc = $portVersion - cmd:bc - cmd:dc + bc = $portVersion + cmd:bc + cmd:dc " REQUIRES=" - haiku >= $haikuVersion + haiku >= $haikuVersion " BUILD_REQUIRES=" - bison - flex + haiku_devel >= $haikuVersion " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion - cmd:gcc - cmd:make - cmd:flex - cmd:bison + cmd:gcc + cmd:make + cmd:flex + cmd:bison " PATCHES=" - bc-1.06.patch + bc-1.06.patch " BUILD() { - ./configure --prefix=$prefix \ - --infodir=$infoDir \ - --mandir=$manDir - make + ./configure --prefix=$prefix \ + --infodir=$infoDir \ + --mandir=$manDir + make $jobArgs } INSTALL() { - make install DESTDIR=${installDestDir} + make install } TEST() From 613232108f69979e76bdb68ad844b9751835c84c Mon Sep 17 00:00:00 2001 From: tgkokk Date: Thu, 5 Dec 2013 05:36:50 +0000 Subject: [PATCH 71/89] Added longer description to Tolmach --- haiku-apps/tolmach/tolmach-1.1.0.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haiku-apps/tolmach/tolmach-1.1.0.recipe b/haiku-apps/tolmach/tolmach-1.1.0.recipe index aef978684..110916f4c 100644 --- a/haiku-apps/tolmach/tolmach-1.1.0.recipe +++ b/haiku-apps/tolmach/tolmach-1.1.0.recipe @@ -1,4 +1,4 @@ -DESCRIPTION="This program is a dictionary for Haiku" +DESCRIPTION="This program is a BeOS port of KDictionary translation program for Linux by Ivan V. Murasko. It follows the main concept of original linux program but mainly is a real BeOS program." SUMMARY="A dictionary for Haiku" COPYRIGHT="1999 Ivan V. Murasko" LICENSE="GNU GPL v2" From 90d34b2cc2ac42f641135c1d833f5e08c86aa9f5 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Thu, 5 Dec 2013 08:00:21 +0100 Subject: [PATCH 72/89] Fix recipe: update git, define cmd:filwip --- haiku-apps/filwip/filwip-1.0.0.recipe | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/haiku-apps/filwip/filwip-1.0.0.recipe b/haiku-apps/filwip/filwip-1.0.0.recipe index d86d79887..948658a13 100644 --- a/haiku-apps/filwip/filwip-1.0.0.recipe +++ b/haiku-apps/filwip/filwip-1.0.0.recipe @@ -2,15 +2,13 @@ SUMMARY="An app to clean all temporary and unwanted files" DESCRIPTION=" It cleans your hard disk of all unwanted files such as left-over temporary files, - cache files of internet sessions, logs, history files and the like. - FilWip is the successor of the BeOS Clean-Up Manager. The reason why the Clean-Up Manager - was dropped was because it had certain problems that needed almost a complete rewrite to be fixed. - It was not worth doing because I wanted to add more features and change the overall approach. + cache files of internet sessions, logs, history files and the like. It works with + easy to write text files that include information about where the files to delete are. " HOMEPAGE="https://sites.google.com/site/appfilwip/home" -SRC_URI="git://github.com/HaikuArchives/FilWip.git#35fa6d11f1174735d0a1dcbcb47d0d6bafa9dc19" -REVISION="1" +SRC_URI="git://github.com/HaikuArchives/FilWip.git#8ec265e771019d31ed63be69cb8cc0d8a271f19b" +REVISION="2" LICENSE="SPL" COPYRIGHT="2002 Ramshankar" @@ -21,6 +19,7 @@ ARCHITECTURES="x86 x86_gcc2" PROVIDES=" filwip = $portVersion app:filwip = $portVersion + cmd:filwip = $portVersion " REQUIRES=" @@ -31,11 +30,14 @@ BUILD_PREREQUIRES=" cmd:g++ cmd:xres " - BUILD_REQUIRES=" haiku_devel >= $haikuVersion " +USER_SETTINGS_FILES=" + settings/FilWip_settings + " + BUILD() { cd Source @@ -48,7 +50,11 @@ BUILD() INSTALL() { mkdir -p $appsDir/FilWip + mkdir -p $binDir + cp -rf Plugins $appsDir/FilWip/Plugins cp FilWip $appsDir/FilWip/FilWip + addAppDeskbarSymlink $appsDir/FilWip/FilWip + ln -s $appsDir/FilWip/FilWip $binDir/FilWip } From 70d8539119324a19d90f3b606e914bed1573facb Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Thu, 5 Dec 2013 08:30:36 +0000 Subject: [PATCH 73/89] - Renamed patch set to remove '_x86' from filename. - Modified recipe to use prefix of $appsDir at qmake rather than hardcoded path in defines.pri. - Use commit hashtag to reference a specific version from git repo. --- ...1.4.x.patchset => qupzilla-1.4.x.patchset} | 25 ++++++++++++++++++- www-client/qupzilla/qupzilla-1.4.x.recipe | 7 +++--- 2 files changed, 27 insertions(+), 5 deletions(-) rename www-client/qupzilla/patches/{qupzilla_x86-1.4.x.patchset => qupzilla-1.4.x.patchset} (78%) diff --git a/www-client/qupzilla/patches/qupzilla_x86-1.4.x.patchset b/www-client/qupzilla/patches/qupzilla-1.4.x.patchset similarity index 78% rename from www-client/qupzilla/patches/qupzilla_x86-1.4.x.patchset rename to www-client/qupzilla/patches/qupzilla-1.4.x.patchset index 16a2d9922..9b9b2c806 100644 --- a/www-client/qupzilla/patches/qupzilla_x86-1.4.x.patchset +++ b/www-client/qupzilla/patches/qupzilla-1.4.x.patchset @@ -1,4 +1,4 @@ -From 8cd9ec3eb620f08d9ea0de439b80f45d2e9a8cdc Mon Sep 17 00:00:00 2001 +From 49c386fa4bd03dfe7e102c1d0635743d966b75b7 Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Thu, 5 Dec 2013 00:04:04 +0000 Subject: QupZilla sources and build definitions modified for Haiku. @@ -94,3 +94,26 @@ index e6a56ea..e4ac880 100644 -- 1.8.3.4 + +From 002f7d5e1da83f0e0db8129ae05ebf805abec4fe Mon Sep 17 00:00:00 2001 +From: "Arfonzo J. Coward" +Date: Thu, 5 Dec 2013 08:00:47 +0000 +Subject: Remove QUPZILLA_PREFIX definition. We set thisbuild time instead. + + +diff --git a/src/defines.pri b/src/defines.pri +index 7c33ba5..96093af 100644 +--- a/src/defines.pri ++++ b/src/defines.pri +@@ -19,8 +19,6 @@ win32-msvc* { + LIBS += User32.lib Ole32.lib Shell32.lib ShlWapi.lib Gdi32.lib ComCtl32.lib + } + +-#DEFINES *= QUPZILLA_PREFIX="`finddir B_USER_APPS_DIRECTORY`/QupZilla/" +-DEFINES *= QUPZILLA_PREFIX="/boot/home/config/apps/QupZilla/" + DEFINES *= DISABLE_DBUS + DEFINES *= NO_SYSTEM_DATAPATH + DEFINES *= NO_X11 +-- +1.8.3.4 + diff --git a/www-client/qupzilla/qupzilla-1.4.x.recipe b/www-client/qupzilla/qupzilla-1.4.x.recipe index 132b7338f..bd64d69b3 100644 --- a/www-client/qupzilla/qupzilla-1.4.x.recipe +++ b/www-client/qupzilla/qupzilla-1.4.x.recipe @@ -12,8 +12,7 @@ DESCRIPTION=" " HOMEPAGE="http://www.qupzilla.com" -SRC_URI="git://github.com/QupZilla/qupzilla.git" -SOURCE_DIR="qupzilla" +SRC_URI="git://github.com/QupZilla/qupzilla.git#4f3aba95ff4194c9b756d196f54d50ff30161f46" REVISION="1" LICENSE="GNU GPL v3" @@ -50,12 +49,12 @@ BUILD_REQUIRES=" " PATCHES=" - qupzilla_x86-1.4.x.patchset + qupzilla-1.4.x.patchset " BUILD() { - qmake + qmake QUPZILLA_PREFIX=${appsDir}/QupZilla make $jobArgs } From caf217ce73cbd147e4bf258929989a726f95d87d Mon Sep 17 00:00:00 2001 From: "Arfonzo J. Coward" Date: Thu, 5 Dec 2013 08:34:38 +0000 Subject: [PATCH 74/89] Added provides for app:qupzilla. --- www-client/qupzilla/qupzilla-1.4.x.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/www-client/qupzilla/qupzilla-1.4.x.recipe b/www-client/qupzilla/qupzilla-1.4.x.recipe index bd64d69b3..f49c354ff 100644 --- a/www-client/qupzilla/qupzilla-1.4.x.recipe +++ b/www-client/qupzilla/qupzilla-1.4.x.recipe @@ -26,6 +26,7 @@ SECONDARY_ARCHITECTURES="x86" PROVIDES=" qupzilla${secondaryArchSuffix} = $portVersion + app:qupzilla${secondaryArchSuffix} = $portVersion " # TODO: update requirements to be more specific about which Qt From 338bca76946bbfe12b84a541d6c37c9a5cd791b2 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Thu, 5 Dec 2013 08:38:15 +0000 Subject: [PATCH 75/89] Added patch for sdl_mixer-1.2.12 so that it skips building playwave and playmus --- .../sdl_mixer/patches/sdl_mixer-1.2.12.patch | 50 +++++++++++++++++++ media-libs/sdl_mixer/sdl_mixer-1.2.12.recipe | 3 ++ 2 files changed, 53 insertions(+) create mode 100644 media-libs/sdl_mixer/patches/sdl_mixer-1.2.12.patch diff --git a/media-libs/sdl_mixer/patches/sdl_mixer-1.2.12.patch b/media-libs/sdl_mixer/patches/sdl_mixer-1.2.12.patch new file mode 100644 index 000000000..0640f3a47 --- /dev/null +++ b/media-libs/sdl_mixer/patches/sdl_mixer-1.2.12.patch @@ -0,0 +1,50 @@ +diff --git a/Makefile.in b/Makefile.in +index 1468e92..367fd69 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -39,7 +39,7 @@ VERSION_OBJECTS = @VERSION_OBJECTS@ + PLAYWAVE_OBJECTS = @PLAYWAVE_OBJECTS@ + PLAYMUS_OBJECTS = @PLAYMUS_OBJECTS@ + +-DIST = Android.mk CHANGES COPYING CWProjects.sea.bin MPWmake.sea.bin Makefile.in SDL_mixer.pc.in README SDL_mixer.h SDL_mixer.qpg.in SDL_mixer.spec SDL_mixer.spec.in VisualC Watcom-OS2.zip Xcode Xcode-iOS acinclude autogen.sh build-scripts configure configure.in dynamic_flac.c dynamic_flac.h dynamic_fluidsynth.c dynamic_fluidsynth.h dynamic_mod.c dynamic_mod.h dynamic_mp3.c dynamic_mp3.h dynamic_ogg.c dynamic_ogg.h effect_position.c effect_stereoreverse.c effects_internal.c effects_internal.h fluidsynth.c fluidsynth.h gcc-fat.sh libmikmod-3.1.12.zip load_aiff.c load_aiff.h load_flac.c load_flac.h load_ogg.c load_ogg.h load_voc.c load_voc.h mixer.c music.c music_cmd.c music_cmd.h music_flac.c music_flac.h music_mad.c music_mad.h music_mod.c music_mod.h music_modplug.c music_modplug.h music_ogg.c music_ogg.h native_midi playmus.c timidity wavestream.c wavestream.h version.rc ++DIST = Android.mk CHANGES COPYING CWProjects.sea.bin MPWmake.sea.bin Makefile.in SDL_mixer.pc.in README SDL_mixer.h SDL_mixer.qpg.in SDL_mixer.spec SDL_mixer.spec.in VisualC Watcom-OS2.zip Xcode Xcode-iOS acinclude autogen.sh build-scripts configure configure.in dynamic_flac.c dynamic_flac.h dynamic_fluidsynth.c dynamic_fluidsynth.h dynamic_mod.c dynamic_mod.h dynamic_mp3.c dynamic_mp3.h dynamic_ogg.c dynamic_ogg.h effect_position.c effect_stereoreverse.c effects_internal.c effects_internal.h fluidsynth.c fluidsynth.h gcc-fat.sh libmikmod-3.1.12.zip load_aiff.c load_aiff.h load_flac.c load_flac.h load_ogg.c load_ogg.h load_voc.c load_voc.h mixer.c music.c music_cmd.c music_cmd.h music_flac.c music_flac.h music_mad.c music_mad.h music_mod.c music_mod.h music_modplug.c music_modplug.h music_ogg.c music_ogg.h native_midi timidity wavestream.c wavestream.h version.rc + + LT_AGE = @LT_AGE@ + LT_CURRENT = @LT_CURRENT@ +@@ -47,7 +47,7 @@ LT_RELEASE = @LT_RELEASE@ + LT_REVISION = @LT_REVISION@ + LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) + +-all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/playmus$(EXE) ++all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) + + $(srcdir)/configure: $(srcdir)/configure.in + @echo "Warning, configure.in is out of date" +@@ -65,9 +65,6 @@ $(objects): + $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS) + $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) + +-$(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET) +- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET) +- + install: all install-hdrs install-lib #install-bin + install-hdrs: + $(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL +@@ -82,7 +79,6 @@ install-lib: $(objects) $(objects)/$(TARGET) + $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET) + install-bin: + $(SHELL) $(auxdir)/mkinstalldirs $(bindir) +- $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(objects)/playmus$(EXE) $(bindir)/playmus$(EXE) + + uninstall: uninstall-hdrs uninstall-lib uninstall-bin + uninstall-hdrs: +@@ -96,7 +92,8 @@ uninstall-hdrs: + uninstall-lib: + $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(TARGET) + uninstall-bin: +- rm -f $(bindir)/playmus$(EXE) ++ touch playmus ++ rm -f playmus + + clean: + rm -rf $(objects) diff --git a/media-libs/sdl_mixer/sdl_mixer-1.2.12.recipe b/media-libs/sdl_mixer/sdl_mixer-1.2.12.recipe index 1f50a77f2..e91763b9c 100644 --- a/media-libs/sdl_mixer/sdl_mixer-1.2.12.recipe +++ b/media-libs/sdl_mixer/sdl_mixer-1.2.12.recipe @@ -44,6 +44,7 @@ BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:aclocal cmd:autoconf + cmd:automake cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:libtool @@ -56,6 +57,8 @@ BUILD_PREREQUIRES=" SOURCE_DIR="SDL_mixer-$portVersion" +PATCHES="sdl_mixer-1.2.12.patch" + BUILD() { libtoolize --force --copy --install From 039942fc66c97d0c05649d7693e013ce6cbf9a73 Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Thu, 5 Dec 2013 13:21:43 +0100 Subject: [PATCH 76/89] Wrapped DESCRIPTION strings to no more than 70 characters per line. --- net-misc/berdp/berdp-1.recipe | 7 ++++++- net-misc/rdesktop/rdesktop-1.8.0.recipe | 8 +++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index cbceeaa2c..69afb62fc 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -1,4 +1,9 @@ -DESCRIPTION="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS platform utilizing the rdesktop project. RDP is a protocol designed by Microsoft to remotely administer / run a session on Windows 2000/2003 Servers / Windows XP Professional workstations." +DESCRIPTION=" + BeRDP is a project dedicated to bringing the RDP protocol to the BeOS + platform utilizing the rdesktop project. RDP is a protocol designed by + Microsoft to remotely administer / run a session on Windows 2000/2003 + Servers / Windows XP Professional workstations. + " SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS" HOMEPAGE="https://github.com/HaikuArchives/BeRDP/" SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#8d73363b567361a5f14bf36173bf68f01260013a" diff --git a/net-misc/rdesktop/rdesktop-1.8.0.recipe b/net-misc/rdesktop/rdesktop-1.8.0.recipe index f770cfe9f..c45c74b94 100644 --- a/net-misc/rdesktop/rdesktop-1.8.0.recipe +++ b/net-misc/rdesktop/rdesktop-1.8.0.recipe @@ -1,7 +1,9 @@ DESCRIPTION=" - rdesktop is an open source client for Windows Remote Desktop Services, capable of natively speaking - Remote Desktop Protocol (RDP) in order to present the user's Windows desktop. rdesktop is known to - work with Windows versions such as NT 4 Terminal Server, 2000, XP, 2003, 2003 R2, Vista, 2008, 7, and 2008 R2. + rdesktop is an open source client for Windows Remote Desktop Services, + capable of natively speaking Remote Desktop Protocol (RDP) in order to + present the user's Windows desktop. rdesktop is known to work with + Windows versions such as NT 4 Terminal Server, 2000, XP, 2003, + 2003 R2, Vista, 2008, 7, and 2008 R2. " SUMMARY="An open source client for Windows Remote Desktop Services." HOMEPAGE="http://rdesktop.org/" From 44a274f0d8475e9ca3c3d8e5a5066a251740ea1f Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Thu, 5 Dec 2013 13:53:26 +0000 Subject: [PATCH 77/89] Improved description and added year to the copyright note. --- haiku-apps/bdhcalc/bdhcalc-1.1.recipe | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe index 1bb21942b..bdd5cd94d 100644 --- a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe +++ b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe @@ -1,13 +1,16 @@ SUMMARY="Fully functunal 64bit calculator" -DESCRIPTION="A programmer's calculator supporting standard arithmetic and binary operators. - Moreover you are able to choose the word size from 8bit to 64bit. Moreover you are free - to choose whether it is a signed or unsigned behavior. Classical conversations are - possible, too." +DESCRIPTION="BDH Calc is a fully functunal 64bit calculator, supporting + common arithmetic operations like adding, subtracting, dividing and + multiplying as well as bitwise operators. You can choose the word + size and whether the sign is considered to simulate any integeral + data type. Moreover the calculator supports binary, decimal and + hexadecimal conversion. + " HOMEPAGE="http://haikuware.com/directory/view-details/science-math/calculators/bdh-calc-for-haiku" SRC_URI="git://github.com/ThomasCompix/BDH-Calc.git#4a6865932ae0e95244ed0149b6e8c4f437ea742a" REVISION="1" LICENSE="MIT" -COPYRIGHT="Scott Hammond" +COPYRIGHT="1999 Scott Hammond" ARCHITECTURES="x86 x86_gcc2 !ppc" From 37c6fcd029d7b62b3919c3d5dee7e265db8c0967 Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Thu, 5 Dec 2013 16:39:38 +0000 Subject: [PATCH 78/89] Fixed typos in bdhcalc-1.1 recipe --- haiku-apps/bdhcalc/bdhcalc-1.1.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe index bdd5cd94d..85e34b1f8 100644 --- a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe +++ b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe @@ -1,8 +1,8 @@ SUMMARY="Fully functunal 64bit calculator" -DESCRIPTION="BDH Calc is a fully functunal 64bit calculator, supporting +DESCRIPTION="BDH Calc is a fully functional 64bit calculator, supporting common arithmetic operations like adding, subtracting, dividing and multiplying as well as bitwise operators. You can choose the word - size and whether the sign is considered to simulate any integeral + size and whether the sign is considered to simulate any integral data type. Moreover the calculator supports binary, decimal and hexadecimal conversion. " From a16e8d960d6ff0f2e14ab40c1494ae250a7038ed Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Thu, 5 Dec 2013 18:15:20 +0000 Subject: [PATCH 79/89] Created recipe for CapitalBe --- haiku-apps/capitalbe/capitalbe-1.0.recipe | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 haiku-apps/capitalbe/capitalbe-1.0.recipe diff --git a/haiku-apps/capitalbe/capitalbe-1.0.recipe b/haiku-apps/capitalbe/capitalbe-1.0.recipe new file mode 100644 index 000000000..6038cb343 --- /dev/null +++ b/haiku-apps/capitalbe/capitalbe-1.0.recipe @@ -0,0 +1,42 @@ +SUMMARY="A finance manager" +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#82b784472d5214f8acf7ae7611b14577f2800f2d" +REVISION="1" +LICENSE="MIT" +COPYRIGHT="2009 DarkWyrm " + +ARCHITECTURES="?x86 x86_gcc2 ?ppc" + +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 + mimeset -f capitalbe +} + +INSTALL() +{ + mkdir -p $appsDir + mv capitalbe $appsDir/capitalbe + addAppDeskbarSymlink $appsDir/capitalbe "Capital Be" +} From cffe13f951a8aa7b797ac329ebd9d5b819d2f234 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Thu, 5 Dec 2013 12:58:30 -0800 Subject: [PATCH 80/89] Marked BDHCalc's LICENSE as undetermined, yes this breaks it for now, but the license issue needs to be sorted out --- haiku-apps/bdhcalc/bdhcalc-1.1.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe index 85e34b1f8..74dc8f769 100644 --- a/haiku-apps/bdhcalc/bdhcalc-1.1.recipe +++ b/haiku-apps/bdhcalc/bdhcalc-1.1.recipe @@ -9,7 +9,7 @@ DESCRIPTION="BDH Calc is a fully functional 64bit calculator, supporting HOMEPAGE="http://haikuware.com/directory/view-details/science-math/calculators/bdh-calc-for-haiku" SRC_URI="git://github.com/ThomasCompix/BDH-Calc.git#4a6865932ae0e95244ed0149b6e8c4f437ea742a" REVISION="1" -LICENSE="MIT" +LICENSE="Undetermined" COPYRIGHT="1999 Scott Hammond" ARCHITECTURES="x86 x86_gcc2 !ppc" From 1e45a02c3ca1e00a2341b292337802cc77e6e5c5 Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Thu, 5 Dec 2013 23:08:37 +0000 Subject: [PATCH 81/89] Helpfiles are working now and the missing ressource file is included now. --- haiku-apps/capitalbe/capitalbe-1.0.recipe | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/haiku-apps/capitalbe/capitalbe-1.0.recipe b/haiku-apps/capitalbe/capitalbe-1.0.recipe index 6038cb343..5ea70bdf6 100644 --- a/haiku-apps/capitalbe/capitalbe-1.0.recipe +++ b/haiku-apps/capitalbe/capitalbe-1.0.recipe @@ -4,13 +4,11 @@ DESCRIPTION="Capital Be is a finance manager for Haiku. Easily track where your 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#82b784472d5214f8acf7ae7611b14577f2800f2d" +SRC_URI="git://github.com/HaikuArchives/CapitalBe.git#eb8d7f92bbaa1594dddeb07c64f90442de106a3e" REVISION="1" LICENSE="MIT" -COPYRIGHT="2009 DarkWyrm " - +COPYRIGHT="2009 DarkWyrm" ARCHITECTURES="?x86 x86_gcc2 ?ppc" - PROVIDES=" capitalbe = $portVersion app:capitalbe = $portVersion @@ -18,25 +16,27 @@ PROVIDES=" 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 - mv capitalbe $appsDir/capitalbe - addAppDeskbarSymlink $appsDir/capitalbe "Capital Be" + 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" } From 738ab3fd2dd847314b2559a4a3ea03f326242f72 Mon Sep 17 00:00:00 2001 From: noryb009 Date: Thu, 5 Dec 2013 18:23:24 -0500 Subject: [PATCH 82/89] Clean up Puri recipe --- haiku-apps/puri/puri-0.3.9.1.recipe | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/haiku-apps/puri/puri-0.3.9.1.recipe b/haiku-apps/puri/puri-0.3.9.1.recipe index 2ca32d785..1ee54bf89 100644 --- a/haiku-apps/puri/puri-0.3.9.1.recipe +++ b/haiku-apps/puri/puri-0.3.9.1.recipe @@ -7,12 +7,9 @@ HOMEPAGE="https://gitorious.org/puri-master-of-chess/puri/" SRC_URI="https://gitorious.org/puri-master-of-chess/puri/archive/59b5db4b337fc432b64a7d099f7b7e0fc8ece3c7.tar.gz" CHECKSUM_MD5="467d00355e3450e9d3b1d126afcf06a6" LICENSE="MIT" -COPYRIGHT=" - 2005-2007 Ingo Weinhold - 2010-2012 Haiku Inc." +COPYRIGHT="2010-2012 Haiku Inc." REVISION="1" ARCHITECTURES="?x86 ?x86_64" - SECONDARY_ARCHITECTURES="x86" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then # x86_gcc2 is fine as primary target architecture as long as we're building @@ -38,15 +35,17 @@ BUILD_REQUIRES=" " BUILD_PREREQUIRES=" gcc$secondaryArchSuffix - binutils$secondaryArchSuffix cmd:jam + cmd:ar$secondaryArchSuffix + cmd:as$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:ranlib$secondaryArchSuffix " SOURCE_DIR="puri-master-of-chess-puri" BUILD() { - export PATH="/bin/x86:$PATH" jam } @@ -63,3 +62,4 @@ INSTALL() cp -R Engines $appsDir/Puri/Engines chmod 755 $appsDir/Puri/Engines/stockfish } + From 4de4abc4070886c065a38bc933de0a57c0d454dd Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 6 Dec 2013 02:35:34 +0100 Subject: [PATCH 83/89] openjdk: Add some packaging treats Add to the package: * bin/java-config: When invoked with option -H it prints the java home directory. * data/profile.d/openjdk.sh: It is automatically sourced by /etc/profile and sets JAVA_HOME. --- .../openjdk/openjdk-1.7_2013_11_08.recipe | 13 +++++++ dev-lang/openjdk/sources/java-config.in | 37 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-lang/openjdk/sources/java-config.in diff --git a/dev-lang/openjdk/openjdk-1.7_2013_11_08.recipe b/dev-lang/openjdk/openjdk-1.7_2013_11_08.recipe index d32ff7eb5..39f1085dd 100644 --- a/dev-lang/openjdk/openjdk-1.7_2013_11_08.recipe +++ b/dev-lang/openjdk/openjdk-1.7_2013_11_08.recipe @@ -54,6 +54,7 @@ PROVIDES=" cmd:jar = $portVersion compat >= 1 cmd:jarsigner = $portVersion compat >= 1 cmd:java = $portVersion compat >= 1 + cmd:java_config = $portVersion compat >= 1 cmd:javac = $portVersion compat >= 1 cmd:javadoc = $portVersion compat >= 1 cmd:javah = $portVersion compat >= 1 @@ -191,4 +192,16 @@ INSTALL() mkdir -p $binDir symlinkRelative -s $jdkDir/bin/* $binDir # TODO: We should probably link only a subset. + + # create a java-config script in binDir + javaConfig=$binDir/java-config + sed -e "s,%JAVA_HOME%,$jdkDir," $portDir/sources/java-config.in \ + > $javaConfig + chmod a+x $javaConfig + + # create a profile.d file that sets up JAVA_HOME + jdkProfile=$dataDir/profile.d/openjdk.sh + mkdir -p $(dirname $jdkProfile) + echo JAVA_HOME=`java-config -H` > $jdkProfile + echo "export JAVA_HOME" >> $jdkProfile } diff --git a/dev-lang/openjdk/sources/java-config.in b/dev-lang/openjdk/sources/java-config.in new file mode 100644 index 000000000..cd2f1b4c9 --- /dev/null +++ b/dev-lang/openjdk/sources/java-config.in @@ -0,0 +1,37 @@ +#!/bin/sh + + +javaHome="%JAVA_HOME%" + + +printUsage() +{ + cat < +Print java configuration values. + +Options: + -h, --help - Print this help text. + -H - Print Java home path. +EOF +} + + +if [ $# -ne 1 ]; then + printUsage >&2 + exit 1 +fi + +case "$1" in + -H) + echo $javaHome + ;; + -h|--help) + printUsage + exit 0 + ;; + *) + printUsage >&2 + exit 1 + ;; +esac From 2885b07e1bc641efe7024ce8d7f3af53a4c3e7f9 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 6 Dec 2013 02:40:00 +0100 Subject: [PATCH 84/89] Add recipe for Apache Ant 1.9.2 --- dev-java/ant_core/ant_core-1.9.2.recipe | 66 +++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 dev-java/ant_core/ant_core-1.9.2.recipe diff --git a/dev-java/ant_core/ant_core-1.9.2.recipe b/dev-java/ant_core/ant_core-1.9.2.recipe new file mode 100644 index 000000000..02040e7ae --- /dev/null +++ b/dev-java/ant_core/ant_core-1.9.2.recipe @@ -0,0 +1,66 @@ +SUMMARY="Java-based build tool similar to 'make' that uses XML configuration files" +DESCRIPTION="Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. Ant can also be used effectively to build non Java applications, for instance C or C++ applications. More generally, Ant can be used to pilot any type of process which can be described in terms of targets and tasks. + +Ant is written in Java. Users of Ant can develop their own "antlibs" containing Ant tasks and types, and are offered a large number of ready-made commercial or open-source "antlibs". + +Ant is extremely flexible and does not impose coding conventions or directory layouts to the Java projects which adopt it as a build tool. + +Software development projects looking for a solution combining build tool and dependency management can use Ant in combination with Apache Ivy. + +The Apache Ant project is part of the Apache Software Foundation." +HOMEPAGE="http://ant.apache.org/" +COPYRIGHT="1999-2013 The Apache Software Foundation" +LICENSE="Apache v2" + +REVISION="1" +ARCHITECTURES="any" + +SRC_URI="http://archive.apache.org/dist/ant/source/apache-ant-1.9.2-src.tar.bz2" +CHECKSUM_MD5="8f610c1a0183507c2beebbf230f456af" +SOURCE_DIR="apache-ant-$portVersion" + +PROVIDES=" + ant_core = $portVersion compat >= 1 + cmd:ant = $portVersion compat >= 1 + " + +REQUIRES=" + haiku >= $haikuVersion + cmd:java + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + cmd:java + cmd:java_config + cmd:javac + " + +PATCH() +{ + sed -i 's/depends=\"jars,test-jar\"/depends=\"jars\"/' build.xml +} + +BUILD() +{ + export JAVA_HOME=$(java-config -H) + ANT_HOME= ./build.sh +} + +INSTALL() +{ + export JAVA_HOME=$(java-config -H) + export ANT_HOME=$libDir/ant + ./build.sh install-lite + + # symlink the executable to binDir + mkdir -p $binDir + symlinkRelative -s $ANT_HOME/bin/ant $binDir + + # create a profile.d file that sets up ANT_HOME + mkdir -p $dataDir/profile.d + echo ANT_HOME=$ANT_HOME > $dataDir/profile.d/ant.sh + echo "export ANT_HOME" >> $dataDir/profile.d/ant.sh +} From d7f1b0d1cf93e3bc1846ab27cd61f74cefb5edd2 Mon Sep 17 00:00:00 2001 From: Dareus Date: Fri, 6 Dec 2013 05:53:37 +0000 Subject: [PATCH 85/89] aalib and bc recipe files updated --- media-libs/aalib/aalib-1.4rc4.recipe | 28 +++++++++++++++------------- sys-devel/bc/bc-1.06.recipe | 4 +--- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/media-libs/aalib/aalib-1.4rc4.recipe b/media-libs/aalib/aalib-1.4rc4.recipe index 42f872401..aade064cd 100644 --- a/media-libs/aalib/aalib-1.4rc4.recipe +++ b/media-libs/aalib/aalib-1.4rc4.recipe @@ -14,20 +14,22 @@ ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" - aalib$secondaryArchSuffix = $portVersion compat >= 1.0.4 - lib:libaa$secondaryArchSuffix + aalib$secondaryArchSuffix = $portVersion compat >= 1 + lib:libaa$secondaryArchSuffix = 1.0.4 compat >= 1 " + REQUIRES=" haiku >= $haikuVersion " BUILD_REQUIRES=" - haiku_devel >= $haikuVersion + haiku${secondaryArchSuffix}_devel >= $haikuVersion " BUILD_PREREQUIRES=" - cmd:gcc + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix cmd:make cmd:libtoolize cmd:aclocal @@ -66,18 +68,18 @@ INSTALL() # ----- devel package ------------------------------------------------------- PROVIDES_devel=" - libaa${secondaryArchSuffix}_devel = $portVersion compat >= 1.0.4 - cmd:aafire${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - cmd:aainfo${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - cmd:aalib_config${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - cmd:aasavefont${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - cmd:aatest${secondaryArchSuffix} = $portVersion compat >= 1.0.4 - devel:libaa$secondaryArchSuffix = $portVersion compat >= 1.0.4 + libaa${secondaryArchSuffix}_devel = $portVersion compat >= 1 + cmd:aafire${secondaryArchSuffix} = $portVersion compat >= 1 + cmd:aainfo${secondaryArchSuffix} = $portVersion compat >= 1 + cmd:aalib_config${secondaryArchSuffix} = $portVersion compat >= 1 + cmd:aasavefont${secondaryArchSuffix} = $portVersion compat >= 1 + cmd:aatest${secondaryArchSuffix} = $portVersion compat >= 1 + devel:libaa$secondaryArchSuffix = $portVersion compat >= 1 " REQUIRES_devel=" libaa$secondaryArchSuffix == $portVersion base - lib:libaa$secondaryArchSuffix - lib:libroot$secondaryArchSuffix + lib:libaa$secondaryArchSuffix >= 1.0.4 compat >= 1 + lib:libroot$secondaryArchSuffix >= $haikuVersion " diff --git a/sys-devel/bc/bc-1.06.recipe b/sys-devel/bc/bc-1.06.recipe index 3ef625c6b..be5c4fb85 100644 --- a/sys-devel/bc/bc-1.06.recipe +++ b/sys-devel/bc/bc-1.06.recipe @@ -41,9 +41,7 @@ PATCHES=" BUILD() { - ./configure --prefix=$prefix \ - --infodir=$infoDir \ - --mandir=$manDir + runConfigure --omit-dirs "docDir dataRootDir" ./configure make $jobArgs } From dc75b5e3df1ec4e4ed07f11728167e7308f44926 Mon Sep 17 00:00:00 2001 From: noryb009 Date: Fri, 6 Dec 2013 07:09:09 -0500 Subject: [PATCH 86/89] Move Puri to haiku-games --- {haiku-apps => haiku-games}/puri/puri-0.3.9.1.recipe | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {haiku-apps => haiku-games}/puri/puri-0.3.9.1.recipe (100%) diff --git a/haiku-apps/puri/puri-0.3.9.1.recipe b/haiku-games/puri/puri-0.3.9.1.recipe similarity index 100% rename from haiku-apps/puri/puri-0.3.9.1.recipe rename to haiku-games/puri/puri-0.3.9.1.recipe From 72ac1f84c60d84419c6da9b2007601b5f008f074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 7 Dec 2013 02:00:02 +0100 Subject: [PATCH 87/89] Convert some remaining bep syntax to shell syntax --- dev-lang/openjdk/openjdk-1.7.recipe | 9 ++++++--- dev-libs/libcss/libcss-0.2.0_HEAD.recipe | 6 ++++-- dev-libs/libparserutils/libparserutils-0.1.2_HEAD.recipe | 6 ++++-- dev-libs/libwapcaplet/libwapcaplet-0.2.0_HEAD.recipe | 6 ++++-- dev-util/buildsystem/buildsystem-1.0_HEAD.recipe | 6 ++++-- dev-util/pkgconfig/pkgconfig-0.28.recipe | 6 ++++-- media-libs/libnsbmp/libnsbmp-0.1.0_HEAD.recipe | 6 ++++-- media-libs/libnsgif/libnsgif-0.1.0_HEAD.recipe | 6 ++++-- media-libs/libsvgtiny/libsvgtiny-0.1.0_HEAD.recipe | 6 ++++-- net-libs/hubbub/hubbub-0.2.0_HEAD.recipe | 6 ++++-- net-libs/libdom/libdom-0.0.1_HEAD.recipe | 6 ++++-- sys-fs/fatsort/fatsort-0.9.17.269.recipe | 6 ++++-- www-client/netsurf/netsurf-3.1git.recipe | 6 ++++-- 13 files changed, 54 insertions(+), 27 deletions(-) diff --git a/dev-lang/openjdk/openjdk-1.7.recipe b/dev-lang/openjdk/openjdk-1.7.recipe index 97d23b285..151eeb701 100644 --- a/dev-lang/openjdk/openjdk-1.7.recipe +++ b/dev-lang/openjdk/openjdk-1.7.recipe @@ -8,7 +8,8 @@ DEPEND="app-arch/cpio = 2.10 CHECKSUM_MD5="e38b939c34b04427336245397fa43c9c" -BUILD { +BUILD() +{ OPENJDK_DIR=`haikuporter -t`/dev-lang/openjdk/work # Get and build Apache Ant. @@ -161,7 +162,8 @@ BUILD { # fi } -INSTALL { +INSTALL() +{ # install mkdir -p `finddir B_COMMON_DIRECTORY`/jdk cp -r -f -v output/j2sdk-image/* `finddir B_COMMON_DIRECTORY`/jdk @@ -175,7 +177,8 @@ INSTALL { cp -f $(haikuporter -t)/dev-lang/openjdk/openjdk_setup_env.sh ${DESTDIR}/boot/common/boot/post_install } -TEST { +TEST() +{ echo "OpenJDK tests are not yet ported to Haiku." } diff --git a/dev-libs/libcss/libcss-0.2.0_HEAD.recipe b/dev-libs/libcss/libcss-0.2.0_HEAD.recipe index bf8c96cf7..630629e2b 100644 --- a/dev-libs/libcss/libcss-0.2.0_HEAD.recipe +++ b/dev-libs/libcss/libcss-0.2.0_HEAD.recipe @@ -5,12 +5,14 @@ REVISION="1" STATUS_HAIKU="stable" DEPEND="dev-libs/libparserutils >= 0.1.1" -BUILD { +BUILD() +{ cd libcss-0.2.0-HEAD make PREFIX=/boot/common } -INSTALL { +INSTALL() +{ cd libcss-0.2.0-HEAD make install PREFIX=/boot/common } diff --git a/dev-libs/libparserutils/libparserutils-0.1.2_HEAD.recipe b/dev-libs/libparserutils/libparserutils-0.1.2_HEAD.recipe index cfe926525..f05444ead 100644 --- a/dev-libs/libparserutils/libparserutils-0.1.2_HEAD.recipe +++ b/dev-libs/libparserutils/libparserutils-0.1.2_HEAD.recipe @@ -5,12 +5,14 @@ REVISION="1" STATUS_HAIKU="stable" DEPEND="dev-util/buildsystem >= 0.0.1" -BUILD { +BUILD() +{ cd libparserutils-0.1.2-HEAD make PREFIX=/boot/common } -INSTALL { +INSTALL() +{ cd libparserutils-0.1.2-HEAD make install PREFIX=/boot/common } diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.2.0_HEAD.recipe b/dev-libs/libwapcaplet/libwapcaplet-0.2.0_HEAD.recipe index 1f91e617d..24a190d2d 100644 --- a/dev-libs/libwapcaplet/libwapcaplet-0.2.0_HEAD.recipe +++ b/dev-libs/libwapcaplet/libwapcaplet-0.2.0_HEAD.recipe @@ -5,12 +5,14 @@ REVISION="1" STATUS_HAIKU="stable" DEPEND="dev-util/buildsystem >= 0" -BUILD { +BUILD() +{ cd libwapcaplet-0.2.0-HEAD make PREFIX=/boot/common } -INSTALL { +INSTALL() +{ cd libwapcaplet-0.2.0-HEAD make install PREFIX=/boot/common } diff --git a/dev-util/buildsystem/buildsystem-1.0_HEAD.recipe b/dev-util/buildsystem/buildsystem-1.0_HEAD.recipe index 7a2f6bd08..9ea205843 100644 --- a/dev-util/buildsystem/buildsystem-1.0_HEAD.recipe +++ b/dev-util/buildsystem/buildsystem-1.0_HEAD.recipe @@ -4,12 +4,14 @@ SRC_URI="git://git.netsurf-browser.org/buildsystem.git" REVISION="1" STATUS_HAIKU="stable" -BUILD { +BUILD() +{ cd buildsystem-1.0-HEAD make } -INSTALL { +INSTALL() +{ cd buildsystem-1.0-HEAD make install PREFIX=/boot/common/ } diff --git a/dev-util/pkgconfig/pkgconfig-0.28.recipe b/dev-util/pkgconfig/pkgconfig-0.28.recipe index 631471ba4..1d63e08e0 100644 --- a/dev-util/pkgconfig/pkgconfig-0.28.recipe +++ b/dev-util/pkgconfig/pkgconfig-0.28.recipe @@ -5,7 +5,8 @@ CHECKSUM_MD5="aa3c86e67551adc3ac865160e34a2a0d" REVISION="1" STATUS_HAIKU="stable" DEPEND="" -BUILD { +BUILD() +{ # because we patched configure.ac... cd pkg-config-0.28/glib autoreconf -i -f @@ -22,7 +23,8 @@ BUILD { make } -INSTALL { +INSTALL() +{ cd pkg-config-0.28 make install } diff --git a/media-libs/libnsbmp/libnsbmp-0.1.0_HEAD.recipe b/media-libs/libnsbmp/libnsbmp-0.1.0_HEAD.recipe index e392561f2..a0bd99208 100644 --- a/media-libs/libnsbmp/libnsbmp-0.1.0_HEAD.recipe +++ b/media-libs/libnsbmp/libnsbmp-0.1.0_HEAD.recipe @@ -5,12 +5,14 @@ REVISION="1" STATUS_HAIKU="stable" DEPEND="dev-util/buildsystem >= 0.0.1" -BUILD { +BUILD() +{ cd libnsbmp-0.1.0-HEAD make PREFIX=/boot/common } -INSTALL { +INSTALL() +{ cd libnsbmp-0.1.0-HEAD make install PREFIX=/boot/common } diff --git a/media-libs/libnsgif/libnsgif-0.1.0_HEAD.recipe b/media-libs/libnsgif/libnsgif-0.1.0_HEAD.recipe index 9075a54e4..391fc33b7 100644 --- a/media-libs/libnsgif/libnsgif-0.1.0_HEAD.recipe +++ b/media-libs/libnsgif/libnsgif-0.1.0_HEAD.recipe @@ -5,12 +5,14 @@ REVISION="1" STATUS_HAIKU="stable" DEPEND="dev-util/buildsystem >= 0.0.1" -BUILD { +BUILD() +{ cd libnsgif-0.1.0-HEAD make PREFIX=/boot/common } -INSTALL { +INSTALL() +{ cd libnsgif-0.1.0-HEAD make install PREFIX=/boot/common } diff --git a/media-libs/libsvgtiny/libsvgtiny-0.1.0_HEAD.recipe b/media-libs/libsvgtiny/libsvgtiny-0.1.0_HEAD.recipe index 69d217a5a..b9afbdabe 100644 --- a/media-libs/libsvgtiny/libsvgtiny-0.1.0_HEAD.recipe +++ b/media-libs/libsvgtiny/libsvgtiny-0.1.0_HEAD.recipe @@ -7,12 +7,14 @@ DEPEND="dev-util/gperf >= 3.0.4 dev-libs/libwapcaplet >= 0.1.1-HEAD net-libs/libdom >= 0" #CHECKSUM_MD5="" -BUILD { +BUILD() +{ cd libsvgtiny-0-HEAD make PREFIX=/boot/common } -INSTALL { +INSTALL() +{ cd libsvgtiny-0-HEAD make install PREFIX=/boot/common } diff --git a/net-libs/hubbub/hubbub-0.2.0_HEAD.recipe b/net-libs/hubbub/hubbub-0.2.0_HEAD.recipe index 949484858..933be4ec9 100644 --- a/net-libs/hubbub/hubbub-0.2.0_HEAD.recipe +++ b/net-libs/hubbub/hubbub-0.2.0_HEAD.recipe @@ -5,12 +5,14 @@ REVISION="1" STATUS_HAIKU="stable" DEPENDS="dev-util/buildsystem >= 0.0.1" -BUILD { +BUILD() +{ cd hubbub-0.2.0-HEAD make PREFIX=/boot/common } -INSTALL { +INSTALL() +{ cd hubbub-0.2.0-HEAD make install PREFIX=/boot/common } diff --git a/net-libs/libdom/libdom-0.0.1_HEAD.recipe b/net-libs/libdom/libdom-0.0.1_HEAD.recipe index f114cd6c2..b67298668 100644 --- a/net-libs/libdom/libdom-0.0.1_HEAD.recipe +++ b/net-libs/libdom/libdom-0.0.1_HEAD.recipe @@ -5,12 +5,14 @@ REVISION="1" STATUS_HAIKU="stable" DEPEND="net-libs/hubbub >= 0.2.0-HEAD" -BUILD { +BUILD() +{ cd libdom-0.0.1-HEAD make PREFIX=/boot/common } -INSTALL { +INSTALL() +{ cd libdom-0.0.1-HEAD make install PREFIX=/boot/common } diff --git a/sys-fs/fatsort/fatsort-0.9.17.269.recipe b/sys-fs/fatsort/fatsort-0.9.17.269.recipe index 699daffaa..bbea62c96 100644 --- a/sys-fs/fatsort/fatsort-0.9.17.269.recipe +++ b/sys-fs/fatsort/fatsort-0.9.17.269.recipe @@ -6,12 +6,14 @@ REVISION="1" STATUS_HAIKU="stable" DEPEND="" -BUILD { +BUILD() +{ cd fatsort-0.9.17.269 make CFLAGS="-include /boot/develop/headers/posix/stdint.h" LDFLAGS=-ltextencoding } -INSTALL { +INSTALL() +{ cd fatsort-0.9.17.269 make install MANDIR=/boot/common/documentation/man/man1 SBINDIR=/boot/common/bin } diff --git a/www-client/netsurf/netsurf-3.1git.recipe b/www-client/netsurf/netsurf-3.1git.recipe index 9bfd94afd..45bbaa837 100644 --- a/www-client/netsurf/netsurf-3.1git.recipe +++ b/www-client/netsurf/netsurf-3.1git.recipe @@ -17,12 +17,14 @@ DEPEND="media-libs/libmng > 1.0.10 dev-perl/HTML-Entities >= 3.70 " -BUILD { +BUILD() +{ cd netsurf-3.1-HEAD make } -INSTALL { +INSTALL() +{ cd netsurf-3.1-HEAD make install } From 5880131f1c15aab8d123149e5bfba164b7efab0b Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 7 Dec 2013 15:15:52 +0000 Subject: [PATCH 88/89] Update glib-2.38.1 patch and recipe to a working state. * Add G_OS_HAIKU to many sections guarded by G_OS_UNIX. * Implement a few platform specifics, mostly stubbed. * Update recipe to move glibconfig into devel package and actually build it. * Remove no longer needed PATCH() function. * Pass jobArgs through to make. --- dev-libs/glib/glib-2.38.1.recipe | 20 +- dev-libs/glib/patches/glib-2.38.1.patch | 356 +++++++++++++++++++++++- 2 files changed, 357 insertions(+), 19 deletions(-) diff --git a/dev-libs/glib/glib-2.38.1.recipe b/dev-libs/glib/glib-2.38.1.recipe index 7c08ac00c..d59d3791c 100644 --- a/dev-libs/glib/glib-2.38.1.recipe +++ b/dev-libs/glib/glib-2.38.1.recipe @@ -43,11 +43,10 @@ PROVIDES=" REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion - lib:gettext + gettext lib:libiconv lib:libz lib:libffi$secondaryArchSuffix - lib:gettext lib:libintl " @@ -72,20 +71,13 @@ BUILD_PREREQUIRES=" PATCHES="glib-2.38.1.patch" -PATCH() -{ - sed -i 's/#error No _g_get_unix_mounts() implementation for system/\/* #error No _g_get_unix_mounts() implementation for system *\//' gio/gunixmounts.c - sed -i 's/#error No g_get_mount_table() implementation for system/\/* #error No g_get_mount_table() implementation for system *\//' gio/gunixmounts.c -} - - BUILD() { libtoolize --force --copy --install aclocal autoconf runConfigure ./configure - make + make $jobArgs } INSTALL() @@ -97,13 +89,15 @@ INSTALL() libgmodule-2.0 \ libgobject-2.0 \ libgthread-2.0 + + # move the glibconfig header into devel as well + mv $libDir/glib-2.0 $developLibDir + fixPkgconfig # devel package packageEntries devel \ -# $binDir \ - $developDir \ - $manDir/man3 + $developDir } # ----- devel package ------------------------------------------------------- diff --git a/dev-libs/glib/patches/glib-2.38.1.patch b/dev-libs/glib/patches/glib-2.38.1.patch index ba2696037..2c0beba7e 100644 --- a/dev-libs/glib/patches/glib-2.38.1.patch +++ b/dev-libs/glib/patches/glib-2.38.1.patch @@ -1,5 +1,5 @@ diff --git a/configure.ac b/configure.ac -index f0840d5..856fac7 100644 +index f0840d5..f7df259 100644 --- a/configure.ac +++ b/configure.ac @@ -122,6 +122,10 @@ case $host in @@ -24,15 +24,17 @@ index f0840d5..856fac7 100644 ;; *-solaris*) # These compiler/linker flags work with both Sun Studio and gcc -@@ -2232,7 +2236,7 @@ if test "x$G_THREAD_LIBS" = xerror; then +@@ -2232,8 +2236,8 @@ if test "x$G_THREAD_LIBS" = xerror; then fi case $host in - *-*-beos*) +- G_THREAD_LIBS="-lbe -lroot -lglib-2.0 " + *-*-beos*|*-*-haiku*) - G_THREAD_LIBS="-lbe -lroot -lglib-2.0 " ++ G_THREAD_LIBS="-lbe -lroot" G_THREAD_LIBS_EXTRA="-L\$(top_builddir_full)/.libs" ;; + *) @@ -3574,6 +3578,9 @@ case $host in *-*-beos*) glib_os="#define G_OS_BEOS" @@ -43,10 +45,227 @@ index f0840d5..856fac7 100644 *-*-cygwin*) glib_os="#define G_OS_UNIX #define G_PLATFORM_WIN32 +diff --git a/gio/data-to-c.pl b/gio/data-to-c.pl +index 20ba2fb..539b7e0 100755 +--- a/gio/data-to-c.pl ++++ b/gio/data-to-c.pl +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!/usr/bin/env perl + + # Copyright © 2011 Red Hat, Inc + # +diff --git a/gio/gapplicationcommandline.c b/gio/gapplicationcommandline.c +index 9a0840f..896a889 100644 +--- a/gio/gapplicationcommandline.c ++++ b/gio/gapplicationcommandline.c +@@ -29,7 +29,7 @@ + #include + #include + +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + #include "gunixinputstream.h" + #endif + +@@ -201,7 +201,7 @@ g_application_command_line_real_printerr_literal (GApplicationCommandLine *cmdli + static GInputStream * + g_application_command_line_real_get_stdin (GApplicationCommandLine *cmdline) + { +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + return g_unix_input_stream_new (0, FALSE); + #else + return g_win32_input_stream_new (GetStdHandle (STD_INPUT_HANDLE), FALSE); +diff --git a/gio/gdbusauthmechanismsha1.c b/gio/gdbusauthmechanismsha1.c +index e4f75eb..2c70803 100644 +--- a/gio/gdbusauthmechanismsha1.c ++++ b/gio/gdbusauthmechanismsha1.c +@@ -252,7 +252,7 @@ ensure_keyring_directory (GError **error) + { + if (g_getenv ("G_DBUS_COOKIE_SHA1_KEYRING_DIR_IGNORE_PERMISSION") == NULL) + { +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + struct stat statbuf; + if (stat (path, &statbuf) != 0) + { +@@ -947,7 +947,7 @@ mechanism_server_initiate (GDBusAuthMechanism *mechanism, + + if (initial_response != NULL && strlen (initial_response) > 0) + { +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + gint64 uid; + gchar *endp; + +@@ -1114,7 +1114,7 @@ mechanism_client_initiate (GDBusAuthMechanism *mechanism, + + *out_initial_response_len = -1; + +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + initial_response = g_strdup_printf ("%" G_GINT64_FORMAT, (gint64) getuid ()); + #elif defined (G_OS_WIN32) + initial_response = _g_dbus_win32_get_user_sid (); +diff --git a/gio/glocalfile.c b/gio/glocalfile.c +index 345214d..11eae36 100644 +--- a/gio/glocalfile.c ++++ b/gio/glocalfile.c +@@ -27,7 +27,7 @@ + #include + #include + #include +-#if G_OS_UNIX ++#if HAVE_DIRENT_H + #include + #endif + #ifdef HAVE_UNISTD_H +@@ -67,7 +67,7 @@ + #include "gioerror.h" + #include + #include "glibintl.h" +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + #include "glib-unix.h" + #endif + #include "glib-private.h" +@@ -1818,7 +1818,7 @@ _g_local_file_has_trash_dir (const char *dirname, dev_t dir_dev) + return res; + } + +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + gboolean + _g_local_file_is_lost_found_dir (const char *path, dev_t path_dev) + { +diff --git a/gio/glocalfileinfo.h b/gio/glocalfileinfo.h +index 6d35be5..e286098 100644 +--- a/gio/glocalfileinfo.h ++++ b/gio/glocalfileinfo.h +@@ -58,7 +58,7 @@ typedef struct + + gboolean _g_local_file_has_trash_dir (const char *dirname, + dev_t dir_dev); +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + gboolean _g_local_file_is_lost_found_dir (const char *path, + dev_t path_dev); + #endif +diff --git a/gio/gsocket.c b/gio/gsocket.c +index 18e6137..689d3c0 100644 +--- a/gio/gsocket.c ++++ b/gio/gsocket.c +@@ -29,7 +29,7 @@ + + #include "gsocket.h" + +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + #include "glib-unix.h" + #endif + +diff --git a/gio/gthreadedresolver.c b/gio/gthreadedresolver.c +index 1ffaf15..702cf00 100644 +--- a/gio/gthreadedresolver.c ++++ b/gio/gthreadedresolver.c +@@ -245,7 +245,7 @@ lookup_by_address_finish (GResolver *resolver, + } + + +-#if defined(G_OS_UNIX) ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + + #ifdef __BIONIC__ + /* Copy from bionic/libc/private/arpa_nameser_compat.h +@@ -813,7 +813,7 @@ do_lookup_records (GTask *task, + GList *records; + GError *error = NULL; + +-#if defined(G_OS_UNIX) ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + gint len = 512; + gint herr; + GByteArray *answer; +diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c +index 03f1720..cb438a4 100644 +--- a/gio/gunixmounts.c ++++ b/gio/gunixmounts.c +@@ -72,7 +72,6 @@ + #include "glibintl.h" + #include "gthemedicon.h" + +- + #ifdef HAVE_MNTENT_H + static const char *_resolve_dev_root (void); + #endif +@@ -716,6 +715,18 @@ _g_get_unix_mounts (void) + + return return_list; + } ++#elif defined(G_OS_HAIKU) ++static char * ++get_mtab_monitor_file (void) ++{ ++ return NULL; ++} ++ ++static GList * ++_g_get_unix_mounts (void) ++{ ++ return NULL; ++} + #else + #error No _g_get_unix_mounts() implementation for system + #endif +@@ -1106,7 +1117,7 @@ _g_get_unix_mount_points (void) + + return g_list_reverse (return_list); + } +-#elif defined(__INTERIX) ++#elif defined(__INTERIX) || defined(G_OS_HAIKU) + static GList * + _g_get_unix_mount_points (void) + { +diff --git a/glib/gbacktrace.c b/glib/gbacktrace.c +index 4d19d6f..1c46778 100644 +--- a/glib/gbacktrace.c ++++ b/glib/gbacktrace.c +@@ -228,7 +228,7 @@ g_on_error_query (const gchar *prg_name) + void + g_on_error_stack_trace (const gchar *prg_name) + { +-#if defined(G_OS_UNIX) || defined(G_OS_BEOS) ++#if defined(G_OS_UNIX) || defined(G_OS_BEOS) || defined(G_OS_HAIKU) + pid_t pid; + gchar buf[16]; + gchar *args[4] = { "gdb", NULL, NULL, NULL }; +diff --git a/glib/glib-unix.h b/glib/glib-unix.h +index 66ccf74..a03a0cf 100644 +--- a/glib/glib-unix.h ++++ b/glib/glib-unix.h +@@ -34,7 +34,7 @@ + + #include + +-#ifndef G_OS_UNIX ++#if !defined(G_OS_UNIX) && !defined(G_OS_HAIKU) + #error "This header may only be used on UNIX" + #endif + diff --git a/glib/gmain.c b/glib/gmain.c -index 738e69c..564c6cf 100644 +index 738e69c..4f5dfab 100644 --- a/glib/gmain.c +++ b/glib/gmain.c +@@ -47,7 +47,7 @@ + #define G_MAIN_POLL_DEBUG + #endif + +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + #include "glib-unix.h" + #include + #ifdef HAVE_EVENTFD @@ -73,10 +73,11 @@ #include #endif /* G_OS_WIN32 */ @@ -61,6 +280,82 @@ index 738e69c..564c6cf 100644 #include "gmain.h" +@@ -391,7 +392,7 @@ static gboolean g_child_watch_dispatch (GSource *source, + GSourceFunc callback, + gpointer user_data); + static void g_child_watch_finalize (GSource *source); +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + static void g_unix_signal_handler (int signum); + static gboolean g_unix_signal_watch_prepare (GSource *source, + gint *timeout); +@@ -2259,7 +2260,7 @@ g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, + return FALSE; + } + +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + /** + * g_source_add_unix_fd: + * @source: a #GSource +@@ -2425,7 +2426,7 @@ g_source_query_unix_fd (GSource *source, + + return poll_fd->revents; + } +-#endif /* G_OS_UNIX */ ++#endif /* G_OS_UNIX || G_OS_HAIKU */ + + /** + * g_get_current_time: +@@ -5471,7 +5472,7 @@ glib_worker_main (gpointer data) + { + g_main_context_iteration (glib_worker_context, TRUE); + +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + if (any_unix_signal_pending) + dispatch_unix_signals (); + #endif +@@ -5488,7 +5489,7 @@ g_get_worker_context (void) + if (g_once_init_enter (&initialised)) + { + /* mask all signals in the worker thread */ +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + sigset_t prev_mask; + sigset_t all; + +@@ -5497,7 +5498,7 @@ g_get_worker_context (void) + #endif + glib_worker_context = g_main_context_new (); + g_thread_new ("gmain", glib_worker_main, NULL); +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + pthread_sigmask (SIG_SETMASK, &prev_mask, NULL); + #endif + g_once_init_leave (&initialised, TRUE); +diff --git a/glib/gmain.h b/glib/gmain.h +index c455353..ad7b330 100644 +--- a/glib/gmain.h ++++ b/glib/gmain.h +@@ -471,7 +471,7 @@ void g_source_set_ready_time (GSource *source, + GLIB_AVAILABLE_IN_2_36 + gint64 g_source_get_ready_time (GSource *source); + +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + GLIB_AVAILABLE_IN_2_36 + gpointer g_source_add_unix_fd (GSource *source, + gint fd, +@@ -606,7 +606,7 @@ void g_main_context_invoke (GMainContext *context, + GLIB_VAR GSourceFuncs g_timeout_funcs; + GLIB_VAR GSourceFuncs g_child_watch_funcs; + GLIB_VAR GSourceFuncs g_idle_funcs; +-#ifdef G_OS_UNIX ++#if defined(G_OS_UNIX) || defined(G_OS_HAIKU) + GLIB_VAR GSourceFuncs g_unix_signal_funcs; + GLIB_VAR GSourceFuncs g_unix_fd_source_funcs; + #endif diff --git a/glib/gstdio.c b/glib/gstdio.c index cca4ff5..6f4ae9c 100644 --- a/glib/gstdio.c @@ -75,10 +370,22 @@ index cca4ff5..6f4ae9c 100644 #endif diff --git a/glib/gutils.c b/glib/gutils.c -index 2620cb6..0b4ec6b 100644 +index 2620cb6..34f1edd 100644 --- a/glib/gutils.c +++ b/glib/gutils.c -@@ -421,7 +421,7 @@ g_find_program_in_path (const gchar *program) +@@ -77,6 +77,11 @@ + #include "gwin32.h" + #endif + ++#if defined(G_OS_HAIKU) ++#include ++#include ++#endif ++ + + /** + * SECTION:misc_utils +@@ -421,7 +426,7 @@ g_find_program_in_path (const gchar *program) } path = g_getenv ("PATH"); @@ -87,3 +394,40 @@ index 2620cb6..0b4ec6b 100644 if (path == NULL) { /* There is no 'PATH' in the environment. The default +@@ -1467,6 +1472,36 @@ load_user_special_dirs (void) + + #endif /* HAVE_CARBON */ + ++#if defined(G_OS_HAIKU) ++static void ++load_user_special_dirs (void) ++{ ++ char path[B_PATH_NAME_LENGTH + B_FILE_NAME_LENGTH]; ++ ++ dev_t volume = dev_for_path("/boot"); ++ if (find_directory(B_DESKTOP_DIRECTORY, volume, false, path, sizeof(path)) ++ == B_OK) { ++ g_user_special_dirs[G_USER_DIRECTORY_DESKTOP] = g_strdup(path); ++ g_user_special_dirs[G_USER_DIRECTORY_DOWNLOAD] = g_strdup(path); ++ } else { ++ g_user_special_dirs[G_USER_DIRECTORY_DOCUMENTS] = NULL; ++ g_user_special_dirs[G_USER_DIRECTORY_DESKTOP] = NULL; ++ } ++ ++ if (find_directory(B_USER_DIRECTORY, volume, false, path, sizeof(path)) ++ == B_OK) { ++ g_user_special_dirs[G_USER_DIRECTORY_DOCUMENTS] = g_strdup(path); ++ } else ++ g_user_special_dirs[G_USER_DIRECTORY_DOWNLOAD] = NULL; ++ ++ g_user_special_dirs[G_USER_DIRECTORY_MUSIC] = NULL; ++ g_user_special_dirs[G_USER_DIRECTORY_PICTURES] = NULL; ++ g_user_special_dirs[G_USER_DIRECTORY_PUBLIC_SHARE] = NULL; ++ g_user_special_dirs[G_USER_DIRECTORY_TEMPLATES] = NULL; ++ g_user_special_dirs[G_USER_DIRECTORY_VIDEOS] = NULL; ++} ++#endif /* G_OS_HAIKU */ ++ + #if defined(G_OS_WIN32) + static void + load_user_special_dirs (void) From 5fedbdaca7942be94d109035522aac765acf36ad Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 7 Dec 2013 20:34:44 +0000 Subject: [PATCH 89/89] Convert pixman 0.20.0 recipe to actual recipe. --- x11-libs/pixman/pixman-0.20.0.recipe | 96 ++++++++++++++++++++-------- 1 file changed, 71 insertions(+), 25 deletions(-) diff --git a/x11-libs/pixman/pixman-0.20.0.recipe b/x11-libs/pixman/pixman-0.20.0.recipe index ffa1be8dd..e0ccec93a 100644 --- a/x11-libs/pixman/pixman-0.20.0.recipe +++ b/x11-libs/pixman/pixman-0.20.0.recipe @@ -1,32 +1,8 @@ +SUMMARY="pixman" DESCRIPTION="Pixman - The pixel-manipulation library for X and cairo" HOMEPAGE="http://cgit.freedesktop.org/pixman/" SRC_URI="http://cairographics.org/releases/pixman-0.20.0.tar.gz" CHECKSUM_MD5="c1a31d5cedfa97c5af7148a2d1fd4356" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" -BUILD() -{ - cd pixman-0.20.0 - libtoolize --force --copy --install - aclocal - autoconf - ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make -} - -INSTALL() -{ - cd pixman-0.20.0 - make install -} - -TEST() -{ - cd pixman-0.20.0 - make check -} - LICENSE="MIT" COPYRIGHT="1987-1998 The Open Group 1987-1989 Digital Equipment Corporation @@ -34,3 +10,73 @@ COPYRIGHT="1987-1998 The Open Group 2004-2010 Red Hat, Inc. 2009-2010 Sun Microsystems, Inc. and many others" + +REVISION="1" + +ARCHITECTURES="x86" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + pixman$secondaryArchSuffix = $portVersion + lib:libpixman_1$secondaryArchSuffix = $portVersion + " + +PROVIDES_devel=" + pixman${secondaryArchSuffix}_devel = $portVersion + devel:libpixman_1$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +REQUIRES_devel=" + pixman$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:aclocal + cmd:autoconf + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize + cmd:make + cmd:perl + cmd:pkg_config + " + +PATCH() +{ + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac +} + +BUILD() +{ + aclocal + libtoolize --force --copy --install + automake --add-missing + autoconf + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + prepareInstalledDevelLibs libpixman-1 + + fixPkgconfig + + packageEntries devel \ + $developDir +} + +TEST() +{ + make check +}