mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
MrPeeps: recipe for 1.2.
This commit is contained in:
53
haiku-apps/mrpeeps/mrpeeps-1.2.recipe
Normal file
53
haiku-apps/mrpeeps/mrpeeps-1.2.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
SUMMARY="Simple, powerful contact manager for Haiku"
|
||||
DESCRIPTION="Mr. Peeps! is an app for managing People files that has more \
|
||||
features than other contact managers. Highlights:
|
||||
* Autosave: no more clicking File|Save or typing Alt-S. Edit it and it's \
|
||||
saved that way.
|
||||
* Fast keyboard navigation:
|
||||
* Use Tab and Shift-Tab to jump between data fields
|
||||
* Alt-Up and Alt-Down go to the next/previous person, no matter what
|
||||
* When using the People list, use the cursor keys or jump to a person \
|
||||
using a letter key
|
||||
* Use the Alt key plus the 1-5 keys to change tabs, i.e. Alt+2 is the \
|
||||
Personal tab
|
||||
* Multiple groups - separate group names with a comma
|
||||
* Native Language support - Mr. Peeps! can now show itself in your own \
|
||||
language and you can change languages quickly, if you so choose.
|
||||
* More Data: handles more types of data than even People v2 and \
|
||||
DeeperPeople, such as birthdays, anniversaries, and other personal data."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/MrPeeps"
|
||||
SRC_URI="https://github.com/HaikuArchives/MrPeeps/archive/v1.2.tar.gz"
|
||||
CHECKSUM_SHA256="5c8bc6dd0677497292fbd41a79fb29a66fe196a6028879b3cd33ac54a1d968aa"
|
||||
SOURCE_DIR="MrPeeps-$portVersion"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2003 Jon Yoder (DarkWyrm)"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
mrpeeps = $portVersion
|
||||
app:MrPeeps = $portVersion"
|
||||
REQUIRES="
|
||||
haiku"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
cmd:g++
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cd src
|
||||
cp -f objects/MrPeeps $appsDir
|
||||
addAppDeskbarSymlink $appsDir/MrPeeps "Mr. Peeps!"
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
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 the 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
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
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()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp -f ./MrPeeps $appsDir
|
||||
addAppDeskbarSymlink $appsDir/MrPeeps
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
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
|
||||
Reference in New Issue
Block a user