From 4dba5a275a08c3d61ab315113427bd596e2d17c8 Mon Sep 17 00:00:00 2001 From: Jim Date: Fri, 20 Feb 2015 21:53:58 -0800 Subject: [PATCH 1/5] Uupdate yab_ide, revert changes that broke yab change repo to bbjimmy/yab as this is now the Official yab repository. --- dev-lang/yab/yab-1.7.4.recipe | 64 +++++++++++++++++++++ haiku-apps/yab_ide/yab_ide-2.2.4.recipe | 76 +++++++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 dev-lang/yab/yab-1.7.4.recipe create mode 100644 haiku-apps/yab_ide/yab_ide-2.2.4.recipe diff --git a/dev-lang/yab/yab-1.7.4.recipe b/dev-lang/yab/yab-1.7.4.recipe new file mode 100644 index 000000000..25b6db5e7 --- /dev/null +++ b/dev-lang/yab/yab-1.7.4.recipe @@ -0,0 +1,64 @@ +SUMMARY="Extended version of the yabsic programming language" +DESCRIPTION=" +yab is an extended version of yabasic, a BASIC programming language, with \ +special commands designed for Haiku. +" +HOMEPAGE="https://github.com/bbjimmy/Yab" +SRC_URI="https://github.com/bbjimmy/Yab/archive/yab1.7.4.tar.gz" +CHECKSUM_SHA256="c757e7382006e7c266082c75d4aeefa951ed84a1ad64e97180e886cdda7f859a" + +REVISION="1" +LICENSE="Artistic" +COPYRIGHT=" + 1995-2006 Marc-Oliver Ihm (yabasic) + 2006-2009 Jan Bungeroth (yab improvements) + 2013 Jim Saxton (yab improvements) + " + +ARCHITECTURES="x86_gcc2 x86 ?x86_64" + +PROVIDES=" + yab = $portVersion compat =1.7.4 + cmd:yab= $portVersion compat =1.7.4 + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libncurses$secondaryArchSuffix + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libncurses$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:bison + cmd:flex + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:mkdepend + " + +SOURCE_DIR="Yab-yab1.7.4" + +BUILD() +{ + mkdir -p tmp + cp -r src/* tmp + cd tmp + make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + unzip -o App_YAB.zip + copyattr App_YAB yab + +} + +INSTALL() +{ + mkdir -p $binDir + cp tmp/yab $binDir/ + + mkdir -p $appsDir/yab-IDE + cp -r src $appsDir/yab-IDE/src + cp -r Documentation $appsDir/yab-IDE/Documentation + + mkdir -p $documentationDir + ln -s $appsDir/yab-IDE/Documentation $documentationDir/yab-1.7.4 +} diff --git a/haiku-apps/yab_ide/yab_ide-2.2.4.recipe b/haiku-apps/yab_ide/yab_ide-2.2.4.recipe new file mode 100644 index 000000000..8a01b0869 --- /dev/null +++ b/haiku-apps/yab_ide/yab_ide-2.2.4.recipe @@ -0,0 +1,76 @@ +SUMMARY="An integrated development environment for yab" +DESCRIPTION=" +Yab allows fast prototyping with simple and clean code. yab contains a large \ +number of BeAPI specific commands for GUI creation and much, much more. + +yab wouldn't be complete without the yab-IDE, a powerful development \ +environment, which of course is programmed in yab itself. +" +HOMEPAGE="https://github.com/bbjimmy/Yab" +SRC_URI="git+https://github.com/bbjimmy/Yab.git" +REVISION="1" +LICENSE="Artistic" +COPYRIGHT=" + 1995-2006 Marc-Oliver Ihm (yabasic) + 2006-2009 Jan Bungeroth (yab improvements) + 2013 Jim Saxton (yab improvements) + " + +ARCHITECTURES="x86_gcc2 x86 ?x86_64" + +PROVIDES=" + yab_ide$secondaryArchSuffix = $portVersion + app:yab_IDE = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libncurses$secondaryArchSuffix + yab$secondaryArchSuffix >= 1.7.4 + devel:libncurses$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libncurses$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:bison + cmd:flex + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:mkdepend + " + +BUILD() +{ + cd src + make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + unzip -o App_YAB.zip + copyattr App_YAB yab + cd ../yab-IDE/BuildFactory + gcc -o yab-compress yab-compress.c -lz +} + +INSTALL() +{ + mkdir -p $binDir + mkdir -p tmp + mkdir -p tmp/buildfactory + + cp -r src/* tmp/buildfactory + cp -r yab-IDE/BuildFactory/* tmp/buildfactory/ + unzip -o tmp/buildfactory/parts/yabstuff.zip -d tmp/buildfactory/parts + cp yab-IDE/src/yab-IDE.yab tmp/buildfactory/ + + pushd tmp/buildfactory + BuildFactory.yab yab-IDE yab-IDE.yab application/x-vnd.yab-IDE + popd + + mkdir -p $appsDir + cp -r yab-IDE/ $appsDir/ + cp tmp/buildfactory/yab-IDE $appsDir/yab-IDE/ + setversion $appsDir/yab-IDE/yab-IDE -app 2 2 4 g 0 -short "yab IDE" -long "An integrated development environment for yab" + cp yab-IDE/src/yab-IDE.yab $appsDir/yab-IDE/src/ + addAppDeskbarSymlink $appsDir/yab-IDE/yab-IDE "Yab IDE" +} From 9bf3530f251b748032ee053790f701d26e27dde5 Mon Sep 17 00:00:00 2001 From: Jim Date: Fri, 20 Feb 2015 22:15:56 -0800 Subject: [PATCH 2/5] make yab_ide recipe use thyab1.7.4 release. --- haiku-apps/yab_ide/yab_ide-2.2.4.recipe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/haiku-apps/yab_ide/yab_ide-2.2.4.recipe b/haiku-apps/yab_ide/yab_ide-2.2.4.recipe index 8a01b0869..5a3e453f8 100644 --- a/haiku-apps/yab_ide/yab_ide-2.2.4.recipe +++ b/haiku-apps/yab_ide/yab_ide-2.2.4.recipe @@ -7,7 +7,8 @@ yab wouldn't be complete without the yab-IDE, a powerful development \ environment, which of course is programmed in yab itself. " HOMEPAGE="https://github.com/bbjimmy/Yab" -SRC_URI="git+https://github.com/bbjimmy/Yab.git" +SRC_URI="https://github.com/bbjimmy/Yab/archive/yab1.7.4.tar.gz" +CHECKSUM_SHA256="c757e7382006e7c266082c75d4aeefa951ed84a1ad64e97180e886cdda7f859a" REVISION="1" LICENSE="Artistic" COPYRIGHT=" @@ -41,6 +42,7 @@ BUILD_PREREQUIRES=" cmd:make cmd:mkdepend " +SOURCE_DIR="Yab-yab1.7.4" BUILD() { From 50a615949ea98221c638248408094866fcd53488 Mon Sep 17 00:00:00 2001 From: Jim Date: Sat, 21 Feb 2015 16:47:36 -0800 Subject: [PATCH 3/5] add SECONDARY_ARCHITECTURES for yab_ide --- haiku-apps/yab_ide/yab_ide-2.2.4.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haiku-apps/yab_ide/yab_ide-2.2.4.recipe b/haiku-apps/yab_ide/yab_ide-2.2.4.recipe index 5a3e453f8..a0c5864cb 100644 --- a/haiku-apps/yab_ide/yab_ide-2.2.4.recipe +++ b/haiku-apps/yab_ide/yab_ide-2.2.4.recipe @@ -18,7 +18,7 @@ COPYRIGHT=" " ARCHITECTURES="x86_gcc2 x86 ?x86_64" - +SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" yab_ide$secondaryArchSuffix = $portVersion app:yab_IDE = $portVersion From c3e67bed798522798f8b2c9a9b6a310d2fc8df2d Mon Sep 17 00:00:00 2001 From: Jim Date: Sat, 21 Feb 2015 16:57:15 -0800 Subject: [PATCH 4/5] add SECONDARY_ARCHITECTURES to yab recipe --- dev-lang/yab/yab-1.7.4.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/yab/yab-1.7.4.recipe b/dev-lang/yab/yab-1.7.4.recipe index 25b6db5e7..3d39fa432 100644 --- a/dev-lang/yab/yab-1.7.4.recipe +++ b/dev-lang/yab/yab-1.7.4.recipe @@ -16,7 +16,7 @@ COPYRIGHT=" " ARCHITECTURES="x86_gcc2 x86 ?x86_64" - +SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" yab = $portVersion compat =1.7.4 cmd:yab= $portVersion compat =1.7.4 From 48f5476e37ccb6ff5f9e94edbfbd3eb045ec85e0 Mon Sep 17 00:00:00 2001 From: Jim Date: Wed, 25 Feb 2015 12:30:19 -0800 Subject: [PATCH 5/5] remove spare line in yab1.7.4 recipe, changed yab-ide to use Sentence casing, insure ~/config/settings/yab is created if it doesn't exist, fix find and replace. --- dev-lang/yab/yab-1.7.4.recipe | 3 +-- haiku-apps/yab_ide/yab_ide-2.2.4.recipe | 7 ++++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-lang/yab/yab-1.7.4.recipe b/dev-lang/yab/yab-1.7.4.recipe index 3d39fa432..0300f7ff3 100644 --- a/dev-lang/yab/yab-1.7.4.recipe +++ b/dev-lang/yab/yab-1.7.4.recipe @@ -16,7 +16,7 @@ COPYRIGHT=" " ARCHITECTURES="x86_gcc2 x86 ?x86_64" -SECONDARY_ARCHITECTURES="x86_gcc2 x86" + PROVIDES=" yab = $portVersion compat =1.7.4 cmd:yab= $portVersion compat =1.7.4 @@ -47,7 +47,6 @@ BUILD() make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` unzip -o App_YAB.zip copyattr App_YAB yab - } INSTALL() diff --git a/haiku-apps/yab_ide/yab_ide-2.2.4.recipe b/haiku-apps/yab_ide/yab_ide-2.2.4.recipe index a0c5864cb..60c10b723 100644 --- a/haiku-apps/yab_ide/yab_ide-2.2.4.recipe +++ b/haiku-apps/yab_ide/yab_ide-2.2.4.recipe @@ -7,8 +7,9 @@ yab wouldn't be complete without the yab-IDE, a powerful development \ environment, which of course is programmed in yab itself. " HOMEPAGE="https://github.com/bbjimmy/Yab" -SRC_URI="https://github.com/bbjimmy/Yab/archive/yab1.7.4.tar.gz" -CHECKSUM_SHA256="c757e7382006e7c266082c75d4aeefa951ed84a1ad64e97180e886cdda7f859a" +SRC_URI="https://github.com/bbjimmy/Yab/archive/yab_ide2.2.4.tar.gz" +CHECKSUM_SHA256="4be806c0daae4f842e9232a1af9ceb5ae8c9a83b9c9ab44cddf1f70e29ec0e32" + REVISION="1" LICENSE="Artistic" COPYRIGHT=" @@ -42,7 +43,7 @@ BUILD_PREREQUIRES=" cmd:make cmd:mkdepend " -SOURCE_DIR="Yab-yab1.7.4" +SOURCE_DIR="Yab-yab_ide2.2.4" BUILD() {