mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Merge branch 'master' of https://bitbucket.org/bbjimmy/haikuports-caya
This commit is contained in:
74
haiku-apps/caya/caya-0.0.3.recipe
Normal file
74
haiku-apps/caya/caya-0.0.3.recipe
Normal file
@@ -0,0 +1,74 @@
|
||||
SUMMARY="Caya is a multiprotocol IM client"
|
||||
DESCRIPTION="
|
||||
Caya is a multiprotocol chat client for Haiku. It supports msn, aim, jabber, \
|
||||
google talk, and facebook.
|
||||
"
|
||||
HOMEPAGE="http://www.versut.com/caya/"
|
||||
SRC_URI="https://github.com/Barrett17/Caya/archive/caya-0.0.3.tar.gz"
|
||||
CHECKSUM_SHA256="cb4580557671cdd7cc74d8cfd1301e407d266f71145dea8aa96d5c42daec397a"
|
||||
|
||||
REVISION="1"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="
|
||||
2009-2011 Andrea Anzani
|
||||
2010-2015 Dario Casalinuovo
|
||||
2009-2011 Pier luigi Fiorini
|
||||
"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
# no secondary architectures due to Deskbar's replicant handeling.
|
||||
PROVIDES="
|
||||
caya = $portVersion
|
||||
app:Caya
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libz
|
||||
lib:libexpat
|
||||
lib:libssl
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libexpat
|
||||
devel:libssl
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:jam
|
||||
cmd:ld
|
||||
cmd:tr
|
||||
cmd:which
|
||||
"
|
||||
SOURCE_DIR=Caya-caya-0.0.3
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p $sourceDir/generated/objects-haiku-x86-gcc2-release/application
|
||||
echo $portVersion | tr -d . > $sourceDir/generated/objects-haiku-x86-gcc2-release/application/svn_revision
|
||||
./configure
|
||||
jam $jobArgs -sDEBUG=0
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/Caya
|
||||
mkdir -p $appsDir/Caya/smileys
|
||||
mkdir -p $appsDir/Caya/protocols
|
||||
mkdir -p $includeDir/caya/
|
||||
|
||||
cp generated/distro-haiku-*-release/Caya $appsDir/Caya
|
||||
cp generated/distro-haiku-*-release/aim $appsDir/Caya/protocols
|
||||
cp generated/distro-haiku-*-release/msn $appsDir/Caya/protocols
|
||||
cp generated/distro-haiku-*-release/gtalk $appsDir/Caya/protocols
|
||||
cp generated/distro-haiku-*-release/facebook $appsDir/Caya/protocols
|
||||
cp generated/distro-haiku-*-release/jabber $appsDir/Caya/protocols
|
||||
cp generated/distro-haiku-*-release/yahoo $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/
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Caya/Caya
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
SUMMARY="Caya is a multiprotocol IM client"
|
||||
DESCRIPTION="
|
||||
Caya is a multiprotocol chat client for Haiku. It supports msn, aim, jabber, \
|
||||
google talk, and facebook.
|
||||
"
|
||||
HOMEPAGE="http://www.versut.com/caya"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
SRC_URI="git+https://github.com/Barrett17/Caya.git#0746cacb94f78b656226d8679baa3a4d968a03e6"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="
|
||||
2009-2011 Andrea Anzani
|
||||
2009-2011 Pierluigi Fiorini
|
||||
2010-2011 Oliver Ruiz Dorantes
|
||||
2011-2012 Casalinuovo Dario
|
||||
"
|
||||
|
||||
PATCHES="caya-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
caya = $portVersion
|
||||
app:Caya
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libz
|
||||
lib:libexpat
|
||||
lib:libssl
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libexpat
|
||||
devel:libssl
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:jam
|
||||
cmd:which
|
||||
cmd:tr
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p $sourceDir/generated/objects-haiku-x86-gcc2-release/application
|
||||
echo $portVersion | tr -d . > $sourceDir/generated/objects-haiku-x86-gcc2-release/application/svn_revision
|
||||
./configure
|
||||
jam $jobArgs -sDEBUG=0
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/Caya
|
||||
mkdir -p $appsDir/Caya/smileys
|
||||
mkdir -p $appsDir/Caya/protocols
|
||||
mkdir -p $includeDir/caya
|
||||
|
||||
cd generated/distro-haiku-*-release
|
||||
cp Caya $appsDir/Caya
|
||||
cp aim msn gtalk facebook jabber yahoo $appsDir/Caya/protocols
|
||||
cd ../..
|
||||
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
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Caya/Caya
|
||||
}
|
||||
@@ -1,72 +0,0 @@
|
||||
From 241d9736631a758e2f6ef71e5076ce3145301a51 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Sat, 30 Aug 2014 15:05:07 +0200
|
||||
Subject: Build fixes.
|
||||
|
||||
|
||||
diff --git a/application/preferences/PreferencesAccounts.cpp b/application/preferences/PreferencesAccounts.cpp
|
||||
index bf175dd..e4cea6e 100644
|
||||
--- a/application/preferences/PreferencesAccounts.cpp
|
||||
+++ b/application/preferences/PreferencesAccounts.cpp
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <ListView.h>
|
||||
#include <PopUpMenu.h>
|
||||
#include <ScrollView.h>
|
||||
+#include <strings.h>
|
||||
|
||||
#include <libinterface/BitmapMenuItem.h>
|
||||
#include <libinterface/ToolButton.h>
|
||||
diff --git a/application/views/RosterListView.cpp b/application/views/RosterListView.cpp
|
||||
index 6a78237..f098dd8 100644
|
||||
--- a/application/views/RosterListView.cpp
|
||||
+++ b/application/views/RosterListView.cpp
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <SeparatorItem.h>
|
||||
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "ContactInfoWindow.h"
|
||||
diff --git a/configure b/configure
|
||||
index dd8aa72..6dc5c27 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -130,8 +130,8 @@ COMMON_ADDONS_DIRECTORY = $(finddir B_SYSTEM_ADDONS_DIRECTORY) ;
|
||||
COMMON_DEVELOP_DIRECTORY = $(finddir B_SYSTEM_DEVELOP_DIRECTORY) ;
|
||||
|
||||
USER_CONFIG_DIRECTORY = $(finddir B_USER_CONFIG_DIRECTORY) ;
|
||||
-USER_INCLUDE_DIRECTORY = $(finddir B_USER_HEADERS_DIRECTORY) ;
|
||||
-USER_LIB_DIRECTORY = $(finddir B_USER_DEVELOP_DIRECTORY)/lib ;
|
||||
+USER_INCLUDE_DIRECTORY = $(finddir B_SYSTEM_HEADERS_DIRECTORY) ;
|
||||
+USER_LIB_DIRECTORY = $(finddir B_SYSTEM_DEVELOP_DIRECTORY)/lib ;
|
||||
|
||||
SYSTEM_DIRECTORY = $(finddir B_SYSTEM_DIRECTORY) ;
|
||||
SYSTEM_LIB_DIRECTORY = $(finddir B_SYSTEM_LIB_DIRECTORY) ;
|
||||
diff --git a/libs/libmsn/xmlParser.cpp b/libs/libmsn/xmlParser.cpp
|
||||
index 3f4a582..17ada69 100644
|
||||
--- a/libs/libmsn/xmlParser.cpp
|
||||
+++ b/libs/libmsn/xmlParser.cpp
|
||||
@@ -88,6 +88,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
XMLCSTR XMLNode::getVersion() { return _T("v2.29"); }
|
||||
diff --git a/protocols/aim/AIM.cpp b/protocols/aim/AIM.cpp
|
||||
index 763a168..0184e70 100644
|
||||
--- a/protocols/aim/AIM.cpp
|
||||
+++ b/protocols/aim/AIM.cpp
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <string>
|
||||
+#include <strings.h>
|
||||
|
||||
#include <Entry.h>
|
||||
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user