mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Merged haikuports/haikuports into master
This commit is contained in:
@@ -171,6 +171,12 @@ export ALT_JDK_IMPORT_PATH=$ALT_BOOTDIR
|
||||
# Build.
|
||||
cd jdk
|
||||
make
|
||||
|
||||
# The build system is broken in that it doesn't pick up all auto-generated
|
||||
# java sources (it uses "find ... -name '*.java'" too early). Unfortunately
|
||||
# that isn't easy to fix, so we just run a second make, which will pick up
|
||||
# the then already existing files.
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 2a98aa8f929d5018f35ac90064ebbbf2a64dc27a Mon Sep 17 00:00:00 2001
|
||||
From 5cca79ee50fbf704e67d337a16adf66877a976cd Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Sat, 9 Nov 2013 02:30:27 +0100
|
||||
Subject: Defs-haiku.gmk: Fix Haiku specific *_PATH variables
|
||||
@@ -67,7 +67,7 @@ index c1cc440..134e128 100644
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 60b48baf8bd582d783bc12df7d968c166297617b Mon Sep 17 00:00:00 2001
|
||||
From cab8b76a94407e51e0a9c665b53f28588e003a8b Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Sat, 9 Nov 2013 02:35:20 +0100
|
||||
Subject: PLATFORM_API_HaikuOS_PCM.cpp: Fix SoundConsumer include
|
||||
@@ -91,7 +91,7 @@ index ec111fc..d69c6a9 100644
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 4da954b7d748decbf8120cb4953a67babbc2ab96 Mon Sep 17 00:00:00 2001
|
||||
From f8a888057bba2123556300ca7cb200ff6b0f3186 Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Sat, 9 Nov 2013 14:52:36 +0100
|
||||
Subject: Fix freetype paths for Haiku
|
||||
@@ -116,7 +116,7 @@ index a478f97..c0dc0d0 100644
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 99858f834541b5934ca8b34b30c8c43adf2f98f8 Mon Sep 17 00:00:00 2001
|
||||
From aad23df8dd37db1f0b5c3cd82cb90bb3f23e303f Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Sat, 9 Nov 2013 14:53:56 +0100
|
||||
Subject: HaikuFontManager: Use BPathFinder API to find font dirs
|
||||
@@ -165,7 +165,7 @@ index a645d00..66af9ab 100644
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 8951c824cd602b066bb51895be71c407c86a8578 Mon Sep 17 00:00:00 2001
|
||||
From dcfb77462ec97c8b72c746dcb3d18bf2d488fe62 Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Tue, 26 Nov 2013 17:50:46 +0100
|
||||
Subject: Make use of $ORIGIN in rpath now supported in Haiku
|
||||
@@ -233,3 +233,27 @@ index bb0db1e..74e744e 100644
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From d71b1d303b0b6681b76c7557eec6e581734e0a7c Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Wed, 4 Dec 2013 03:23:53 +0100
|
||||
Subject: make/java/java/Makefile: Missing generated classes
|
||||
|
||||
Add AUTO_FILES_JAVA_DIRS, so that the auto-generated classes are
|
||||
picked up.
|
||||
|
||||
diff --git a/make/java/java/Makefile b/make/java/java/Makefile
|
||||
index 93878e6..bd94e8f 100644
|
||||
--- a/make/java/java/Makefile
|
||||
+++ b/make/java/java/Makefile
|
||||
@@ -59,6 +59,7 @@ endif
|
||||
include FILES_c.gmk
|
||||
include FILES_java.gmk
|
||||
include Exportedfiles.gmk
|
||||
+AUTO_FILES_JAVA_DIRS = java/lang
|
||||
|
||||
ifeq ($(PLATFORM),windows)
|
||||
FILES_java += java/io/Win32FileSystem.java \
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
62
haiku-apps/beezer/beezer-0.99.hg.recipe
Normal file
62
haiku-apps/beezer/beezer-0.99.hg.recipe
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY="Beezer is an archive manager for Haiku, similar to winzip"
|
||||
DESCRIPTION="
|
||||
Beezer is an archive manager for Haiku. It can extract and browse,
|
||||
create and add to archive files. In addition, Beezer can split and rejoin
|
||||
files.
|
||||
|
||||
It can extract 7zip, arj, bzip2, gzip, lha, rar, tar, xz and zip files.
|
||||
It can create 7zip, bzip2, gzip, tar and zip files.
|
||||
"
|
||||
HOMEPAGE="https://bitbucket.org/cpr/beezer"
|
||||
SRC_URI="hg+https://bitbucket.org/cpr/beezer"
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="
|
||||
2009 Ramshankar (aka Teknomancer)
|
||||
2011-2012 Chris Roberts
|
||||
"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
beezer = $portVersion
|
||||
app:beezer = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake >= 2.8
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PATCHES="
|
||||
beezer-0.99.hg.patch
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd Source
|
||||
cmake .
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd Source/build
|
||||
|
||||
mkdir -p $appsDir/Beezer
|
||||
cp Beezer $appsDir/Beezer
|
||||
cp -a add-ons $appsDir/Beezer
|
||||
cp -a ../Beezer/docs $appsDir/Beezer
|
||||
addAppDeskbarSymlink $appsDir/Beezer/Beezer
|
||||
|
||||
mkdir -p $addOnsDir/Tracker
|
||||
cp -a TrackerAddOn/BeezerAddOn $addOnsDir/Tracker
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="beezer, an archiving tool for the Haiku operating system, similar to winzip"
|
||||
HOMEPAGE="https://bitbucket.org/cpr/beezer"
|
||||
SRC_URI="https://bitbucket.org/cpr/beezer/get/82199f683571.zip"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
CHECKSUM_MD5="b27479b8a8afc1bc105ad9a6d8911f74"
|
||||
DEPEND="cmake >= 2.8"
|
||||
BUILD()
|
||||
{
|
||||
cd cpr-beezer-82199f683571/Source
|
||||
cmake .
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd cpr-beezer-82199f683571/Source/build
|
||||
BEEZER_DIR=${DESTDIR}/`finddir B_APPS_DIRECTORY`/Beezer
|
||||
mkdir -p $BEEZER_DIR/add-ons
|
||||
cp -a Beezer $BEEZER_DIR
|
||||
cp -a add-ons/* $BEEZER_DIR/add-ons
|
||||
mkdir -p ${DESTDIR}/`finddir B_USER_ADDONS_DIRECTORY`/Tracker
|
||||
cp -a TrackerAddOn/BeezerAddOn ${DESTDIR}/`finddir B_USER_ADDONS_DIRECTORY`/Tracker
|
||||
}
|
||||
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="2009 Ramshankar (aka Teknomancer)
|
||||
2011-2012 Chris Roberts"
|
||||
57
haiku-apps/beezer/patches/beezer-0.99.hg.patch
Normal file
57
haiku-apps/beezer/patches/beezer-0.99.hg.patch
Normal file
@@ -0,0 +1,57 @@
|
||||
From 3728835e4083c862c9b03dd5ffdb5941f34f9da5 Mon Sep 17 00:00:00 2001
|
||||
From: Luke <noryb009@gmail.com>
|
||||
Date: Sun, 1 Dec 2013 12:22:29 +0000
|
||||
Subject: [PATCH] Remove references to B_COMMON_
|
||||
|
||||
---
|
||||
Source/Archiver/Archiver.cpp | 13 +------------
|
||||
Source/Beezer/FSUtils/FSUtils.cpp | 2 +-
|
||||
2 files changed, 2 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/Source/Archiver/Archiver.cpp b/Source/Archiver/Archiver.cpp
|
||||
index c272333..7b57313 100644
|
||||
--- a/Source/Archiver/Archiver.cpp
|
||||
+++ b/Source/Archiver/Archiver.cpp
|
||||
@@ -625,7 +625,7 @@ status_t Archiver::SetComment(char* commentStr, const char* tempDirPath)
|
||||
bool Archiver::IsBinaryFound(char* filePath, const char* fileName) const
|
||||
{
|
||||
// Check if the given fileName exists in the given dir, if so copy the full path of fileName to filePath
|
||||
- // Path priority <appdir>/workers -> B_SYSTEM_BIN_DIRECTORY -> B_COMMON_BIN_DIRECTORY
|
||||
+ // Path priority <appdir>/workers -> B_SYSTEM_BIN_DIRECTORY
|
||||
BPath binPath;
|
||||
app_info appInfo;
|
||||
be_app->GetAppInfo(&appInfo);
|
||||
@@ -652,17 +652,6 @@ bool Archiver::IsBinaryFound(char* filePath, const char* fileName) const
|
||||
}
|
||||
}
|
||||
|
||||
- if (find_directory(B_COMMON_BIN_DIRECTORY, &binPath) == B_OK)
|
||||
- {
|
||||
- binPath.Append(fileName);
|
||||
- BEntry entry(binPath.Path(), true);
|
||||
- if (entry.Exists())
|
||||
- {
|
||||
- strcpy(filePath, binPath.Path());
|
||||
- return true;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
// TODO full search of $PATH
|
||||
|
||||
filePath = '\0';
|
||||
diff --git a/Source/Beezer/FSUtils/FSUtils.cpp b/Source/Beezer/FSUtils/FSUtils.cpp
|
||||
index a651c58..8fbb01d 100644
|
||||
--- a/Source/Beezer/FSUtils/FSUtils.cpp
|
||||
+++ b/Source/Beezer/FSUtils/FSUtils.cpp
|
||||
@@ -177,7 +177,7 @@ BString CreateTempDirectory(const char* prefix, BDirectory** createdDir, bool cr
|
||||
prefixStr << prefix << "_";
|
||||
|
||||
BPath tmpPath;
|
||||
- find_directory(B_COMMON_TEMP_DIRECTORY, &tmpPath, true);
|
||||
+ find_directory(B_SYSTEM_TEMP_DIRECTORY, &tmpPath, true);
|
||||
BString tempDirName = tempnam(const_cast<char*>(tmpPath.Path()), const_cast<char*>(prefixStr.String()));
|
||||
|
||||
// Further random the dir name (the below number is a prime)
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
50
haiku-apps/burnitnow/burnitnow-trunk.recipe
Normal file
50
haiku-apps/burnitnow/burnitnow-trunk.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
SUMMARY="A utility for burning CD"
|
||||
DESCRIPTION="BurnItNow is a CD burning utility application for Haiku"
|
||||
HOMEPAGE="https://github.com/HaikuArchives/BurnItNow"
|
||||
SRC_URI="git+https://github.com/HaikuArchives/BurnItNow#5036e55"
|
||||
REVISION="1"
|
||||
COPYRIGHT="
|
||||
2010-2013 BurnItNow Team
|
||||
2005-2007 Ingo Weinhold <bonefish@users.sf.net>
|
||||
2007 Haiku, Inc.
|
||||
1991-2000 Be Incorporated
|
||||
"
|
||||
LICENSE="MIT"
|
||||
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
burnitnow = $portVersion
|
||||
app:burnintnow = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
cmd:cdrecord
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
SOURCE_DIR="$portName/trunk"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake .
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/BurnItNow
|
||||
cp BurnItNow $appsDir/BurnItNow
|
||||
addAppDeskbarSymlink $appsDir/BurnItNow/BurnItNow
|
||||
}
|
||||
51
haiku-apps/converttolf/converttolf-0.0.0.recipe
Normal file
51
haiku-apps/converttolf/converttolf-0.0.0.recipe
Normal file
@@ -0,0 +1,51 @@
|
||||
SUMMARY="A small tool to turn CRLF into LF without fuss!"
|
||||
DESCRIPTION="
|
||||
ConvertToLF is a filter that removes the carriage returns used in the
|
||||
end of file markers on some operating systems. Haiku uses just a line
|
||||
feed to mark the end of line, and gcc, the Haiku compiler and StyledEdit
|
||||
don't function properly with carriage returns in source code / text files.
|
||||
" # Taken from the homepage
|
||||
|
||||
HOMEPAGE="https://github.com/HaikuArchives/ConvertToLF/"
|
||||
SRC_URI="git://github.com/HaikuArchives/ConvertToLF.git#d8ec50f92a65d9fd1058adf98fe2515fbafa243c"
|
||||
|
||||
REVISION="1"
|
||||
|
||||
COPYRIGHT="
|
||||
2001 fReT
|
||||
"
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
ConvertToLF = $portVersion
|
||||
app:ConvertToLF = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:xres
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
BUILD()
|
||||
{
|
||||
g++ -lbe -ltracker -o ConvertToLF Source/Strip.cpp
|
||||
rc -o ConvertToLF.rsrc Source/ConvertToLF.rdef
|
||||
xres -o ConvertToLF ConvertToLF.rsrc
|
||||
mimeset -f ConvertToLF
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $addOnsDir/Tracker
|
||||
cp ConvertToLF $addOnsDir/Tracker
|
||||
}
|
||||
@@ -39,7 +39,7 @@ BUILD_REQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
gcc -o Fortuna -lbe src/main.cpp src/FortuneWindow.cpp src/FortuneFunctions.cpp
|
||||
g++ -o Fortuna -lbe src/main.cpp src/FortuneWindow.cpp src/FortuneFunctions.cpp
|
||||
xres -o Fortuna src/Fortuna.rsrc
|
||||
mimeset -f Fortuna
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
DESCRIPTION="ThemeManager"
|
||||
HOMEPAGE="http://dev.osdrawer.net/projects/thememanager/"
|
||||
SRC_URI="http://svn.osdrawer.net/thememanager/trunk"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
#CHECKSUM_MD5=""
|
||||
BUILD()
|
||||
{
|
||||
cd trunk
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd trunk
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2000-2012 François Revol"
|
||||
43
haiku-apps/thememanager/thememanager-1.0_git.recipe
Normal file
43
haiku-apps/thememanager/thememanager-1.0_git.recipe
Normal file
@@ -0,0 +1,43 @@
|
||||
SUMMARY="Manages Haiku themes."
|
||||
DESCRIPTION="The Haiku Theme Manager is compatible with the one
|
||||
that shipped with ZETA. Users can choose which part of a theme to apply or
|
||||
save. It can also import BeTheme themes, and to some degree, MS Plus
|
||||
themes. It is add-ons based, so it can be extended."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/HaikuThemeManager"
|
||||
SRC_URI="git://github.com/HaikuArchives/HaikuThemeManager.git#400a0ff17173a2510e24bf737df0bb218a9c531c"
|
||||
# 20 October 2013 commit
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2000-2012 François Revol"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
PROVIDES="
|
||||
thememanager = $portVersion
|
||||
app:thememanager = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:git
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
cmd:ld
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src
|
||||
make OBJ_DIR=objects BUILDHOME=/boot/system/develop $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd src
|
||||
make OBJ_DIR=objects BUILDHOME=/boot/system/develop INSTALL_DIR=$preferencesDir install
|
||||
addPreferencesDeskbarSymlink $preferencesDir/ThemeManager
|
||||
}
|
||||
45
media-libs/libiptcdata/patches/libiptcdata-1.0.4.patch
Normal file
45
media-libs/libiptcdata/patches/libiptcdata-1.0.4.patch
Normal file
@@ -0,0 +1,45 @@
|
||||
diff --git a/configure.in b/configure.in
|
||||
index a1c58ab..2d8a3b1 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -1,6 +1,6 @@
|
||||
AC_PREREQ(2.50)
|
||||
AC_INIT(libiptcdata/iptc-data.h)
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
AM_INIT_AUTOMAKE(libiptcdata, 1.0.4)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
@@ -75,7 +75,7 @@ dnl Check for headers (Mac OSX often doesn't have them)
|
||||
AC_CHECK_HEADERS([getopt.h wchar.h iconv.h])
|
||||
|
||||
|
||||
-GTK_DOC_CHECK([1.0])
|
||||
+dnl GTK_DOC_CHECK([1.0])
|
||||
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 192529a..504ed54 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -7,4 +7,4 @@ SUBDIRS = m4 libiptcdata po iptc docs win $(MAYBE_PYTHONLIB)
|
||||
EXTRA_DIST = @PACKAGE@.spec
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
-DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
|
||||
+DISTCHECK_CONFIGURE_FLAGS =
|
||||
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
|
||||
index f91793a..1f52449 100644
|
||||
--- a/docs/reference/Makefile.am
|
||||
+++ b/docs/reference/Makefile.am
|
||||
@@ -42,7 +42,7 @@ content_files = \
|
||||
libjpeg.sgml \
|
||||
overview.sgml
|
||||
|
||||
-include $(top_srcdir)/gtk-doc.make
|
||||
+include
|
||||
|
||||
-EXTRA_DIST += \
|
||||
+EXTRA_DIST = \
|
||||
version.xml.in
|
||||
@@ -1,66 +0,0 @@
|
||||
diff -ruN libvpx-v1.0.0/build/make/configure.sh libvpx-v1.0.0-haiku/build/make/configure.sh
|
||||
--- libvpx-v1.0.0/build/make/configure.sh 2012-01-27 18:36:39.038535168 +0000
|
||||
+++ libvpx-v1.0.0-haiku/build/make/configure.sh 2012-03-14 00:47:54.780926976 +0000
|
||||
@@ -579,6 +579,9 @@
|
||||
*solaris2.10)
|
||||
tgt_os=solaris
|
||||
;;
|
||||
+ *haiku*)
|
||||
+ tgt_os=haiku
|
||||
+ ;;
|
||||
esac
|
||||
|
||||
if [ -n "$tgt_isa" ] && [ -n "$tgt_os" ]; then
|
||||
@@ -909,8 +912,8 @@
|
||||
esac
|
||||
;;
|
||||
gcc*)
|
||||
- add_cflags -m${bits}
|
||||
- add_ldflags -m${bits}
|
||||
+ enabled haiku || add_cflags -m${bits}
|
||||
+ enabled haiku || add_ldflags -m${bits}
|
||||
link_with_cc=gcc
|
||||
tune_cflags="-march="
|
||||
setup_gnu_toolchain
|
||||
@@ -939,7 +942,7 @@
|
||||
add_asflags -f x64
|
||||
enabled debug && add_asflags -g cv8
|
||||
;;
|
||||
- linux*|solaris*)
|
||||
+ linux*|solaris*|haiku*)
|
||||
add_asflags -f elf${bits}
|
||||
enabled debug && [ "${AS}" = yasm ] && add_asflags -g dwarf2
|
||||
enabled debug && [ "${AS}" = nasm ] && add_asflags -g
|
||||
@@ -1019,6 +1022,7 @@
|
||||
case ${toolchain} in
|
||||
*-win*);;
|
||||
*-android-gcc);;
|
||||
+ *-haiku*);;
|
||||
*) check_header pthread.h && add_extralibs -lpthread
|
||||
esac
|
||||
fi
|
||||
diff -ruN libvpx-v1.0.0/configure libvpx-v1.0.0-haiku/configure
|
||||
--- libvpx-v1.0.0/configure 2012-01-27 18:36:39.039583744 +0000
|
||||
+++ libvpx-v1.0.0-haiku/configure 2012-03-14 00:46:37.182976512 +0000
|
||||
@@ -107,6 +107,7 @@
|
||||
all_platforms="${all_platforms} x86-darwin9-gcc"
|
||||
all_platforms="${all_platforms} x86-darwin9-icc"
|
||||
all_platforms="${all_platforms} x86-darwin10-gcc"
|
||||
+all_platforms="${all_platforms} x86-haiku-gcc"
|
||||
all_platforms="${all_platforms} x86-linux-gcc"
|
||||
all_platforms="${all_platforms} x86-linux-icc"
|
||||
all_platforms="${all_platforms} x86-solaris-gcc"
|
||||
diff -ruN libvpx-v1.0.0/examples.mk libvpx-v1.0.0-haiku/examples.mk
|
||||
--- libvpx-v1.0.0/examples.mk 2012-01-27 18:36:39.040108032 +0000
|
||||
+++ libvpx-v1.0.0-haiku/examples.mk 2012-03-14 00:46:37.187432960 +0000
|
||||
@@ -113,7 +113,9 @@
|
||||
# We should not link to math library (libm) on RVCT
|
||||
# when building for bare-metal targets
|
||||
ifeq ($(CONFIG_OS_SUPPORT), yes)
|
||||
-CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m
|
||||
+ ifneq ($(TOOLCHAIN),x86-haiku-gcc)
|
||||
+ CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m
|
||||
+ endif
|
||||
else
|
||||
ifeq ($(CONFIG_GCC), yes)
|
||||
CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m
|
||||
@@ -1,4 +1,4 @@
|
||||
From 0c31cfc2c7429f81129c3403d9bc03bd245db71c Mon Sep 17 00:00:00 2001
|
||||
From 98f5dcd5f2dba828f545dac2a534c90d0c5e6c53 Mon Sep 17 00:00:00 2001
|
||||
From: korli <jerome.duval@gmail.com>
|
||||
Date: Wed, 14 Mar 2012 00:15:38 +0000
|
||||
Subject: patch for 1.0.0
|
||||
@@ -74,10 +74,10 @@ index f6c9045..ab9657f 100644
|
||||
ifeq ($(CONFIG_GCC), yes)
|
||||
CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m
|
||||
--
|
||||
1.7.5
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From dd76984687465e457d9e3dcd0b4bdc4bd46225dd Mon Sep 17 00:00:00 2001
|
||||
From 9a194ee7b8498467e5700e2c4e39bc6a30c95714 Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Tue, 11 Jun 2013 21:09:11 +0200
|
||||
Subject: configure: enable shared library building for Haiku
|
||||
@@ -97,10 +97,10 @@ index eb8a359..a2ef98d 100755
|
||||
if [ -z "$CC" ]; then
|
||||
echo "Bypassing toolchain for environment detection."
|
||||
--
|
||||
1.7.5
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 87b2816834bb2bbfc1e13765084a0c21eb46cf13 Mon Sep 17 00:00:00 2001
|
||||
From 238a1625cbbb75a1a84c112bacd3e6afee54a919 Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Tue, 11 Jun 2013 21:09:28 +0200
|
||||
Subject: libs.mk: no -lm or -lpthread on Haiku
|
||||
@@ -128,5 +128,41 @@ index 79a1d00..d88cfa7 100644
|
||||
$(if $(LIPO_LIBS),$(eval $(call lipo_bin_template,$(bin))))\
|
||||
|
||||
--
|
||||
1.7.5
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 214d6e14250d72980faf3798501efe5808562854 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= <jerome.duval@gmail.com>
|
||||
Date: Tue, 3 Dec 2013 22:18:36 +0000
|
||||
Subject: x86_64 support
|
||||
|
||||
* configure, amples.mk
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index a2ef98d..4b671ee 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -118,6 +118,7 @@ all_platforms="${all_platforms} x86-win32-vs9"
|
||||
all_platforms="${all_platforms} x86_64-darwin9-gcc"
|
||||
all_platforms="${all_platforms} x86_64-darwin10-gcc"
|
||||
all_platforms="${all_platforms} x86_64-darwin11-gcc"
|
||||
+all_platforms="${all_platforms} x86_64-haiku-gcc"
|
||||
all_platforms="${all_platforms} x86_64-linux-gcc"
|
||||
all_platforms="${all_platforms} x86_64-linux-icc"
|
||||
all_platforms="${all_platforms} x86_64-solaris-gcc"
|
||||
diff --git a/examples.mk b/examples.mk
|
||||
index ab9657f..947a645 100644
|
||||
--- a/examples.mk
|
||||
+++ b/examples.mk
|
||||
@@ -113,7 +113,7 @@ vp8_multi_resolution_encoder.DESCRIPTION = VP8 Multiple-resolution Encoding
|
||||
# We should not link to math library (libm) on RVCT
|
||||
# when building for bare-metal targets
|
||||
ifeq ($(CONFIG_OS_SUPPORT), yes)
|
||||
- ifneq ($(TOOLCHAIN),x86-haiku-gcc)
|
||||
+ ifeq (,$(findstring haiku,$(TOOLCHAIN)))
|
||||
CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m
|
||||
endif
|
||||
else
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
@@ -27,16 +27,16 @@ REQUIRES="
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libtiff$secondaryArchSuffix
|
||||
# devel:libtiff$secondaryArchSuffix
|
||||
devel:libgif$secondaryArchSuffix
|
||||
devel:libwebp$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
|
||||
@@ -13,7 +13,7 @@ ubiquitous available.
|
||||
HOMEPAGE="http://quassel-irc.org"
|
||||
SRC_URI="http://quassel-irc.org/pub/quassel-0.9.2.tar.bz2"
|
||||
CHECKSUM_MD5="4ed88d288f60290f4459d3e68d61b037"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
GNU GPL v3
|
||||
@@ -38,43 +38,56 @@ PROVIDES="
|
||||
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||
qtcore${secondaryArchSuffix} >= 4.8
|
||||
lib:libQtCore$secondaryArchSuffix >= 4.8
|
||||
lib:libQtGui$secondaryArchSuffix >= 4.8
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++${secondaryArchSuffix}
|
||||
cmd:make
|
||||
cmd:qmake$secondaryArchSuffix
|
||||
cmd:moc$secondaryArchSuffix
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
qtcore${secondaryArchSuffix}_devel >= 4.8
|
||||
devel:libQtCore$secondaryArchSuffix >= 4.8
|
||||
devel:libQtGui$secondaryArchSuffix >= 4.8
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" ..
|
||||
make
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
|
||||
|
||||
# Optional: strip the binaries before installing.
|
||||
# To be updated/removed whenever resources are added.
|
||||
echo "Stripping binaries ..."
|
||||
strip quassel
|
||||
strip quasselcore
|
||||
strip quasselclient
|
||||
|
||||
|
||||
echo "Copying binaries to ${appsDir} ..."
|
||||
mkdir -p ${appsDir}/Quassel
|
||||
cp quassel ${appsDir}/Quassel
|
||||
cp quasselcore ${appsDir}/Quassel
|
||||
cp quasselclient ${appsDir}/Quassel
|
||||
|
||||
DIR_QUASSEL_DESKBAR="${dataDir}/deskbar/menu/Applications/Quassel"
|
||||
mkdir -p ${DIR_QUASSEL_DESKBAR}
|
||||
echo "Making links for Deskbar in ${DIR_QUASSEL_DESKBAR} ..."
|
||||
addAppDeskbarSymlink ${appsDir}/Quassel/quassel "Quassel/Quassel"
|
||||
addAppDeskbarSymlink ${appsDir}/Quassel/quasselcore "Quassel/Quassel Core"
|
||||
addAppDeskbarSymlink ${appsDir}/Quassel/quasselclient "Quassel/Quassel Client"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user