Merged in passick/haikuports (pull request #10)

Added Mr.Peeps port
This commit is contained in:
Scott McCreary
2013-12-09 08:12:12 -08:00
2 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
SUMMARY="Easy to use powerful contact manager for haiku"
DESCRIPTION="MrPeeps is an app for managing People files that has more
features than other contact managers. For more info read README file"
HOMEPAGE="https://github.com/HaikuArchives/MrPeeps"
SRC_URI="git+https://github.com/HaikuArchives/MrPeeps#ce2e65"
LICENSE="MIT"
COPYRIGHT="2003 DarkWyrm"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
MrPeeps = $portVersion
app:MrPeeps = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:gcc
"
PATCHES="MrPeeps-1.2_beta.patch"
BUILD()
{
cd src
cp Locale\ Support/* ./
g++ -lbe -ltranslation -lroot AboutWindow.cpp BitmapDump.cpp \
BitmapView.cpp BStringList.cpp DataView.cpp Formatting.cpp \
IntroView.cpp ListData.cpp MrPeeps.cpp NewTextControl.cpp \
PeepsItem.cpp PeepsWindow.cpp PeopleList.cpp LocaleRoster.cpp \
Locale.cpp TextFile.cpp -o ../MrPeeps
}
INSTALL()
{
cp -f ./MrPeeps $appsDir
addAppDeskbarSymlink $appsDir/MrPeeps
}

View File

@@ -0,0 +1,50 @@
diff -Naur -x .git /boot/home/MrPeeps/src/ListData.h ./src/ListData.h
--- /boot/home/MrPeeps/src/ListData.h 2013-12-01 19:17:49.441188352 +0400
+++ ./src/ListData.h 2013-12-09 19:07:33.235667456 +0400
@@ -3,10 +3,11 @@
#include <Entry.h>
#include <List.h>
+#include <Node.h>
#include <String.h>
-#include "BStringList.h"
#include <Bitmap.h>
#include "BitmapDump.h"
+#include "BStringList.h"
class PeepsListItem;
class GroupItem;
diff -Naur -x .git /boot/home/MrPeeps/src/PeepsWindow.h ./src/PeepsWindow.h
--- /boot/home/MrPeeps/src/PeepsWindow.h 2013-12-01 19:17:49.467927040 +0400
+++ ./src/PeepsWindow.h 2013-12-09 19:07:59.108789760 +0400
@@ -1,16 +1,18 @@
#ifndef PEEPSWINDOW_H
#define PEEPSWINDOW_H
-#include <Window.h>
-#include <View.h>
-#include <TextControl.h>
-#include <PopUpMenu.h>
#include <Button.h>
+#include <Entry.h>
+#include <ListItem.h>
#include <Menu.h>
#include <MenuItem.h>
-#include "NewTextControl.h"
#include <Messenger.h>
+#include <PopUpMenu.h>
+#include <TextControl.h>
+#include <View.h>
+#include <Window.h>
#include "LocaleRoster.h"
+#include "NewTextControl.h"
class PeopleList;
class PeepsListItem;
@@ -117,4 +119,4 @@
#define TRANSLATE(x) gCurrentLocale->Translate(x).String()
-#endif
\ No newline at end of file
+#endif