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
This commit is contained in:
Chris Roberts
2013-12-02 20:48:05 -07:00
parent 664e3c050d
commit 8a30e59744
38 changed files with 1381 additions and 643 deletions

View File

@@ -0,0 +1,36 @@
From 06e5cb378bf63d5352a90605d2cd80ee5200d456 Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
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 <MenuBar.h>
#include <MenuItem.h>
#include <Message.h>
+#include <FilePanel.h>
/* == DATA STRUCTURE ==
* Structure containing all the informations about the current post-it
--
1.8.3.4

View File

@@ -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
}