Merged haikuports/haikuports into master

This commit is contained in:
Jim Saxton
2015-01-15 11:37:41 -08:00
1191 changed files with 24664 additions and 7239 deletions

View File

@@ -25,10 +25,10 @@ PROVIDES="
devel:libespeak = 1.1.4
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make

View File

@@ -0,0 +1,119 @@
SUMMARY="Text-to-speech engine"
DESCRIPTION="Festival is a text-to-speech engine co-developed by the \
University of Edinburgh, UK, and Carnegie Mellon University. It is designed to \
support multiple languages and to be easy to extend, both in terms of voices \
and new languages."
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/festival"
SRC_URI="
http://festvox.org/packed/festival/$portVersion/festival-${portVersion}-release.tar.gz
"
CHECKSUM_SHA256="1e47f293e0857ffde2bccead97947c040ea0b35ea12dd5796edb51583e5e5d84"
SOURCE_DIR="festival"
REVISION="1"
# Only including the licenses that cover the files that are actually used
# and/or installed
LICENSE="
Festival
"
COPYRIGHT="
1996 Alan W. Black
1996-2004 University of Edinburgh, UK
1997 Jacques H. de Villiers <jacques@cse.ogi.edu>
1997 Kevin A. Lenzo <lenzo@cs.cmu.edu>
1997 Center for Spoken Language Understanding, Oregon Graduate \
Institute of Science & Technology
1999-2004 Language Technologies Institute, Carnegie Mellon University
2001-2008 Tokyo Institute of Technology
2001-2012 Nagoya Institute of Technology
2012 The Department of Arts and Culture, The Government of the \
Republic of South Africa
"
ARCHITECTURES="x86_gcc2 x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86 !x86_gcc2"
PROVIDES="
festival$secondaryArchSuffix = $portVersion
cmd:festival = $portVersion
cmd:festival_client = $portVersion
cmd:text2wave = $portVersion
"
PROVIDES_devel="
festival${secondaryArchSuffix}_devel = $portVersion
devel:libFestival$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
speech_tools$secondaryArchSuffix >= 2.4
lib:libgcc_s$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
REQUIRES_devel="
haiku${secondaryArchSuffix}_devel
festival$secondaryArchSuffix == $portVersion base
speech_tools${secondaryArchSuffix}_devel >= 2.4
devel:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
speech_tools${secondaryArchSuffix}_devel >= 2.4
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:find
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:mkdepend
"
PATCHES="festival-${portVersion}.patchset"
BUILD()
{
binDir=$prefix/bin
export binDir \
portPackageLinksDir \
relativeDevelopLibDir \
secondaryArchSuffix
for f in lib/festival.scm \
lib/lexicons.scm \
lib/voices.scm \
src/arch/festival/festival.cc
do
sed -e "s,@DOCDIR@,$docDir,g" \
-e "s,@DATADIR@,$dataDir/festival,g" \
-e "s,@LIBDIR@,$libDir/festival,g" \
${f}.in > ${f}
done
make
}
INSTALL()
{
mkdir -p \
$developLibDir \
$prefix/bin \
$dataDir/festival \
$manDir/man1 \
$docDir/examples
cp -a src/lib/libFestival.a $developLibDir
cp -a src/main/festival $prefix/bin
cp -a src/main/festival_client $prefix/bin
cp -a examples/text2wave $prefix/bin
cp -a lib/* $dataDir/festival
cp -a doc/*.1 $manDir/man1
cp -a examples/*intro.text $docDir/examples
packageEntries devel \
$developDir
}

View File

@@ -0,0 +1,113 @@
The system as a whole and most of the files in it are distributed
under the following copyright and conditions
The Festival Speech Synthesis System
Centre for Speech Technology Research
University of Edinburgh, UK
Copyright (c) 1996-2014
All Rights Reserved.
Permission is hereby granted, free of charge, to use and distribute
this software and its documentation without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of this work, and to
permit persons to whom this work is furnished to do so, subject to
the following conditions:
1. The code must retain the above copyright notice, this list of
conditions and the following disclaimer.
2. Any modifications must be clearly marked as such.
3. Original authors' names are not deleted.
4. The authors' names are not used to endorse or promote products
derived from this software without specific prior written
permission.
THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK
DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
Some further comments:
Every effort has been made to ensure that Festival does not contain
any violation of intellectual property rights through disclosure of
trade secrets, copyright or patent violation. Considerable time and
effort has been spent to ensure that this is the case. However,
especially with patent problems, it is not always within our control
to know what has or has not been restricted. If you do suspect that
some part of Festival cannot be legally distributed please inform us
so that an alternative may be sought. Festival is only useful if it
is truly free to distribute.
As of 1.4.0 the core distribution (and speech tools) is free. Unlike
previous versions which had a commercial restriction. You are free to
incorporate Festival in commercial (and of course non-commercial
systems), without any further communication or licence from us.
However if you are seriously using Festival within a commercial
application we would like to know, both so we know we are contributing
and so we can keep you informed of future developments. Also if you
require maintenance, support or wish us to provide consultancy feel
free to contact us.
The voices however aren't all free. At present the US voices, kal and
ked are free. Our British voices are free themselves but they use OALD
which is restricted for non-commercial use. Our Spanish voice is also
so restricted.
Note other modules that festival supports e.g MBROLA and OGI
extensions, may have different licencing please take care when using
the system to understand what you are actually using.
--------------------------------------------------
A number of individual files in the system fall under a different
copyright from the above. All however are termed "free software"
but most people.
./src/arch/festival/tcl.c
* Copyright (C)1997 Jacques H. de Villiers <jacques@cse.ogi.edu>
* Copyright (C)1997 Center for Spoken Language Understanding,
* Oregon Graduate Institute of Science & Technology
See conditions in file. This is the standard TCL licence and hence
shouldn't cause problems from most people.
./examples/festival_client.pl
# Copyright (C) 1997
# Kevin A. Lenzo (lenzo@cs.cmu.edu) 7/97
See condition in file
./src/modules/clunits/*
./lib/*clunits*
Joint copyright University of Edinburgh and Carnegie Mellon University
Conditions remain as free software like the rest of distribution
./src/modules/clustergen/*
Copyright Carnegie Mellon University
Nagoya Insitute of Technology (derived code from HTS)
HTS_vocoder_me.c HTS_vocoder_me.h
contains additions from Aby Louw
Copyright (c) 2012 The Department of Arts and Culture,
The Government of the Republic of South Africa.
under a free software licence compatible with the other
free software copyrights in this work
./src/modules/hts_engine/*
./lib/hts.scm
The HMM-based speech synthesis system (HTS)
hts_engine API version 1.07 (http://hts-engine.sourceforge.net/)
Copyright (C) 2001-2012 Nagoya Institute of Technology
2001-2008 Tokyo Institute of Technology
All rights reserved.
distributed under the Modified BSD licence.
./lib/festival.el
;;; Copyright (C) Alan W Black 1996
copyright under FSF General Public Licence
Please also read the COPYING section of speech_tools/README for the
conditions on those files.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,119 @@
SUMMARY="A light-weight text-to-speech engine"
DESCRIPTION="Flite is a text-to-speech engine developed by the Carnegie \
Mellon University. As a light-weight alternative to the Festival engine, it \
is desinged to fit into small embedded machines as well as large-scale \
servers. In addition to its native format flite supports voices generated by \
the FestVox project as well.
"
HOMEPAGE="http://www.festvox.org/flite/"
SRC_URI="http://www.festvox.org/flite/packed/flite-2.0/flite-${portVersion}-release.tar.bz2"
CHECKSUM_SHA256="678c3860fd539402b5d1699b921239072af6acb4e72dc4720494112807cae411"
SOURCE_DIR="flite-${portVersion}-release"
REVISION="1"
# Although individually many files have different licenses, as a whole this
# license covers all the files.
LICENSE="
Flite
"
COPYRIGHT="
1986 University of Toronto
1992, 1995 Markus Mummert
1996-2004 University of Edinburgh, UK
1999-2014 Language Technologies Institute, Carnegie Mellon University
2001 Cepstral, LLC
2001 Sun Microsystems, Inc.
2003-2004 Nagoya Institute of Technology
2003-2004 Nara Institute of Science and Technology
2008-2012 University of Illinois at Urbana-Champaign
"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
EXTRA_CMD="
cmu_time_awb
cmu_us_awb
cmu_us_kal
cmu_us_kal16
cmu_us_rms
cmu_us_slt
"
EXTRA_LIBS="
cmu_grapheme_lang
cmu_grapheme_lex
cmu_indic_lang
cmu_indic_lex
$EXTRA_CMD
cmulex
usenglish
"
PROVIDES="
flite$secondaryArchSuffix = $portVersion
lib:libflite$secondaryArchSuffix = $portVersion compat >= 2
flite_tools = $portVersion
cmd:flite$secondaryArchSuffix = $portVersion
cmd:flite_time$secondaryArchSuffix = $portVersion
"
DEVEL_LIBS="libflite"
for c in $EXTRA_CMD; do
PROVIDES="
$PROVIDES
cmd:flite_${c} = $portVersion
"
done
PROVIDES_devel="
flite${secondaryArchSuffix}_devel = $portVersion
devel:libflite$secondaryArchSuffix = $portVersion compat >= 2
"
for l in $EXTRA_LIBS; do
PROVIDES="
$PROVIDES
lib:libflite_${l}${secondaryArchSuffix} = $portVersion compat >= 2
"
PROVIDES_devel="
$PROVIDES_devel
devel:libflite_${l}${secondaryArchSuffix} = $portVersion compat >= 2
"
DEVEL_LIBS="
$DEVEL_LIBS
libflite_${l}
"
done
REQUIRES="
haiku$secondaryArchSuffix
"
REQUIRES_devel="
haiku${secondaryArchSuffix}_devel
flite$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:awk
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:mkdepend
"
PATCHES="flite-${portVersion}.patchset"
BUILD()
{
autoconf
runConfigure ./configure \
--enable-shared
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs \
$DEVEL_LIBS
packageEntries devel \
$developDir
}

View File

@@ -0,0 +1,206 @@
Flite is free software.
We have kept the core code to BSD-like copyright, thus the system is
free to use in commercial products, with commercial extensions. GPL
code is only included as part of the build process and does not
taint any of the run-time code.
As a collection it is distributed under the following license. Note
a few files in this distribution have a different but equally free
non-conflicting licence, see below.
Language Technologies Institute
Carnegie Mellon University
Copyright (c) 1999-2014
All Rights Reserved.
Permission is hereby granted, free of charge, to use and distribute
this software and its documentation without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of this work, and to
permit persons to whom this work is furnished to do so, subject to
the following conditions:
1. The code must retain the above copyright notice, this list of
conditions and the following disclaimer.
2. Any modifications must be clearly marked as such.
3. Original authors' names are not deleted.
4. The authors' names are not used to endorse or promote products
derived from this software without specific prior written
permission.
CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK
DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
All files within this distribution have the above license except
the following
src/cg/cst_mlpg.h
src/cg/cst_mlpg.c
src/cg/cst_mlsa.h
src/cg/cst_mlsa.c
src/cg/cst_vc.h
src/cg/cst_vc.c
/*********************************************************************/
/* */
/* Nagoya Institute of Technology, Aichi, Japan, */
/* Nara Institute of Science and Technology, Nara, Japan */
/* and */
/* Carnegie Mellon University, Pittsburgh, PA */
/* Copyright (c) 2003-2004 */
/* All Rights Reserved. */
/* */
/* Permission is hereby granted, free of charge, to use and */
/* distribute this software and its documentation without */
/* restriction, including without limitation the rights to use, */
/* copy, modify, merge, publish, distribute, sublicense, and/or */
/* sell copies of this work, and to permit persons to whom this */
/* work is furnished to do so, subject to the following conditions: */
/* */
/* 1. The code must retain the above copyright notice, this list */
/* of conditions and the following disclaimer. */
/* 2. Any modifications must be clearly marked as such. */
/* 3. Original authors' names are not deleted. */
/* */
/* NAGOYA INSTITUTE OF TECHNOLOGY, NARA INSTITUTE OF SCIENCE AND */
/* TECHNOLOGY, CARNEGIE MELLON UNIVERSITY, AND THE CONTRIBUTORS TO */
/* THIS WORK DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, */
/* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, */
/* IN NO EVENT SHALL NAGOYA INSTITUTE OF TECHNOLOGY, NARA */
/* INSTITUTE OF SCIENCE AND TECHNOLOGY, CARNEGIE MELLON UNIVERSITY, */
/* NOR THE CONTRIBUTORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR */
/* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM */
/* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, */
/* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN */
/* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
/* */
/*********************************************************************/
These functions are derived from the versions in festvox/src/vc/ as
modified by Tomoki Toda which in turn contain code derived from
NITECH's HTS system. Their copyright has the same freedoms as
as Flite's but under NAIST, NITECH and/or CMU.
src/audio/au_wince.c
src/utils/cst_file_stdio.c
src/utils/cst_mmap_posix.c
src/utils/cst_mmap_win32.c
src/utils/cst_mmap_none.c
src/utils/cst_file_wince.c
sapi/
are copyright Cepstral, LLC rather than CMU but fall under the same
free licence as the above, except for the owner. (Note the SAPI stuff
probably doesn't work any more)
doc/alice
Is the first two chapters of Alice in Wonderland as distributed by the
Gutenburg project and is now in the public domain
src/regex/regexp.c
src/regex/regsub.c
* Copyright (c) 1986 by University of Toronto.
* Written by Henry Spencer. Not derived from licensed software.
*
* Permission is granted to anyone to use this software for any
* purpose on any computer system, and to redistribute it freely,
* subject to the following restrictions:
*
* 1. The author is not responsible for the consequences of use of
* this software, no matter how awful, even if they arise
* from defects in it.
*
* 2. The origin of this software must not be misrepresented, either
* by explicit claim or by omission.
*
* 3. Altered versions must be plainly marked as such, and must not
* be misrepresented as being the original software.
src/speech/rateconv.c
* Copyright (c) 1992, 1995 by Markus Mummert
*
* Redistribution and use of this software, modifcation and inclusion
* into other forms of software are permitted provided that the following
* conditions are met:
*
* 1. Redistributions of this software must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. If this software is redistributed in a modified condition
* it must reveal clearly that it has been modified.
lang/usenglish/us_durz_cart.c
lang/usenglish/us_durz_cart.h
lang/usenglish/us_int_accent_cart.c
lang/usenglish/us_int_accent_cart.h
lang/usenglish/us_int_tone_cart.c
lang/usenglish/us_int_tone_cart.h
lang/usenglish/us_phoneset.c
lang/usenglish/us_f0lr.c
These are directly (or indirectly) compiled/derived from files that are
part of the Festival Speech Synthesis System (1.4.1). Hence they have
a joint copyright CMU/Edinburgh but with the same free licence
configure
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
configure.sub
config.guess
missing
install-sh
mkinstalldirs
Copyright FSF, and under the GPL, these files are only used for
convenient configuration and are not part of the generated binary,
and therefore do not impose any GPL restrctions on the rest of the
system. But as they are standard methods for configuration they
are included.
src/speech/g72x.h
src/speech/g721.c
src/speech/g72x.c
src/speech/g723_24.c
src/speech/g723_40.c
/*
* This source code is a product of Sun Microsystems, Inc. and is provided
* for unrestricted use. Users may copy or modify this source code without
* charge.
*
* SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
* THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
* PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
* Sun source code is provided with no support and without any obligation on
* the part of Sun Microsystems, Inc. to assist in its use, correction,
* modification or enhancement.
*
* SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
* INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE
* OR ANY PART THEREOF.
*
* In no event will Sun Microsystems, Inc. be liable for any lost revenue
* or profits or other special, indirect and consequential damages, even if
* Sun has been advised of the possibility of such damages.
*
* Sun Microsystems, Inc.
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
lang/cmu_grapheme_lex/grapheme_unitran_tables.c
/* Copyright 2008-2012, University of Illinois at Urbana-Champaign */
/* distributed under the Apache License, Version (2.0) */
/* http://www.apache.org/licenses/LICENSE-2.0 */
/* Original table developed by Richard Sproat and Kyoung-young Kim */
/* Ported for Festvox by Gopala Anumachipalli gopalakr@cs.cmu.edu Sep 2012 */
/* Then converted to C for CMU Flite (cmuflite.org) */

View File

@@ -0,0 +1,102 @@
From b21c80cf33debb37b6638ab2be8d188c5a14eafb Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Wed, 24 Dec 2014 22:37:15 +0000
Subject: Support shared libraries on Haiku
diff --git a/configure.in b/configure.in
index 972d818..c2472a6 100644
--- a/configure.in
+++ b/configure.in
@@ -265,6 +265,10 @@ fi
if test "$shared" = true; then
case "$target_os" in
+ haiku*)
+ SHFLAGS="-fPIC"
+ OTHERLIBS="-lnetwork"
+ ;;
linux*|k*bsd*-gnu|gnu*)
SHFLAGS="-fPIC"
;;
--
1.8.3.4
From 95e4aff793bbef466ed151897d71585bcb7e0321 Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Wed, 24 Dec 2014 22:38:03 +0000
Subject: Do not unconditionally add `-lm` to linking commands
TODO: make this more platform-independent.
diff --git a/config/common_make_rules b/config/common_make_rules
index 7a03785..0dacbb6 100644
--- a/config/common_make_rules
+++ b/config/common_make_rules
@@ -68,7 +68,7 @@ BUILDDIRS=$(OBJDIR) $(BINDIR) $(LIBDIR)
FLITELIBS = $(BUILDDIR)/lib/libflite.a
FLITELIBFLAGS = -L$(BUILDDIR)/lib -lflite
-LDFLAGS += -lm $(AUDIOLIBS) $(OTHERLIBS)
+LDFLAGS += $(AUDIOLIBS) $(OTHERLIBS)
FULLOBJS = $(OBJS:%=$(OBJDIR)/%)
ifdef SHFLAGS
--
1.8.3.4
From 96416a919c8ea1fcafd457502ee2bc6fd3ef107f Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Wed, 24 Dec 2014 22:39:36 +0000
Subject: cmu_indic_lex: Separate code and declaration
diff --git a/lang/cmu_indic_lex/cmu_indic_lex.c b/lang/cmu_indic_lex/cmu_indic_lex.c
index 3c586cb..ee682d6 100644
--- a/lang/cmu_indic_lex/cmu_indic_lex.c
+++ b/lang/cmu_indic_lex/cmu_indic_lex.c
@@ -334,6 +334,9 @@ cst_val *cmu_indic_lex_ord_to_phones(const cst_val *ords,
int cur_char_type = 0;
int next_char_type = 0;
+ const cst_val *v, *vx;
+ cst_val *ph;
+
// Ignore chars (filter)
in_ords = cmu_indic_lex_remove_ignore_chars(ords);
@@ -431,8 +434,6 @@ cst_val *cmu_indic_lex_ord_to_phones(const cst_val *ords,
}
}
- const cst_val *v, *vx;
- cst_val *ph;
for(v=out_phone_strings; v; v=val_cdr(v)) {
ph = val_readlist_string(val_string(val_car(v)));
for(vx=ph; vx; vx=val_cdr(vx)) {
--
1.8.3.4
From 8b998ca76f21a8bb7cf240fd7ed40627eafbc2d8 Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Wed, 24 Dec 2014 23:44:02 +0000
Subject: Bump shlib version to libflite.so.2
This way it is consistent with libflite.so.2.0.0
diff --git a/config/project.mak b/config/project.mak
index f42ee12..252f22a 100644
--- a/config/project.mak
+++ b/config/project.mak
@@ -40,4 +40,4 @@ PROJECT_VERSION = 2.0.0
PROJECT_DATE = Dec 2014
PROJECT_STATE = release
-PROJECT_SHLIB_VERSION = 1
+PROJECT_SHLIB_VERSION = 2
--
1.8.3.4

View File

@@ -0,0 +1,70 @@
Centre for Speech Technology Research
University of Edinburgh, UK
Copyright (c) 1994-2014
All Rights Reserved.
Permission is hereby granted, free of charge, to use and distribute
this software and its documentation without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of this work, and to
permit persons to whom this work is furnished to do so, subject to
the following conditions:
1. The code must retain the above copyright notice, this list of
conditions and the following disclaimer.
2. Any modifications must be clearly marked as such.
3. Original authors' names are not deleted.
4. The authors' names are not used to endorse or promote products
derived from this software without specific prior written
permission.
THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK
DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
COPYING
------------------------------------------------------------------------
Some files in the distribution do not fall under the above copyright.
However none have any commercial restrictions, and no files fall under
the GPL. Specifically files that have different licences are as
follows:
grammar/wfst/wfst_train.cc
Copyright Carnegie Mellon University (under the same
open licences as much of the rest of the code).
siod/
include/siod*.h
lib/siod/siod.scm
Apart from some new functionality under our licence the SIOD
files fall under the licence given in siod/slib.cc copyright
Paradigm Associates. This code has been substantially modified
by us though our changes are under that licence.
editline.c editline.h el_complete.c el_sysunix.c el_unix.h
are copyright 1992 Simmule Turner and Rich Salz under the
"BSD like" licence in siod/editline.c Again substantial
changes have been made by us which continue to be under that
licence
rxp/
include/rxp/
Is Copyright Richard Tobin. We have a specific version of RXP
which allows free (including non-commercial) use.
base_class/raveconv.cc
Is copyright 1992, 1995 by Markus Mummert
base_class/string/reg*.{c,cc}
Copyright (c) 1986 by University of Toronto.
base_class/string/EST_strcasecmp.c
Copyright (c) 1987, 1993
The Regents of the University of California. All rights reserved.
The 3-clause BSD licence

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,168 @@
SUMMARY="Edinburgh speech tools library"
SUMMARY_tools="Edinburgh Speech Tools"
DESCRIPTION="The Edinburgh speech tools library is a collection of C++ classes \
that aide in developing machine-synthesized voices. Developed by the University \
of Edinburgh, it is used in Festival, a text-to-speech engine developed by \
the University of Edinburgh as well.
"
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/"
SRC_URI="http://www.festvox.org/packed/festival/${portVersion}/speech_tools-${portVersion}-release.tar.gz"
CHECKSUM_SHA256="fbc2482c443919aa79d2e599d6a5faee4e793df55a79ef377f1dc7e8ba237010"
SOURCE_DIR="speech_tools"
REVISION="2"
# Although individually many files have different licenses, as a whole this
# license covers all the files.
LICENSE="
Edinburgh Speech Tools
"
COPYRIGHT="
1986 University of Toronto
1987, 1993 The Regents of the University of California
1992, 1995 Markus Mummert
1992 Rich Salz
1992 Simmule Turner
1994-2014 University of Edinburgh, UK
1997-1998 Richard Tobin
1999-2003 Language Technologies Institute, Carnegie Mellon University
"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86 !x86_gcc2"
PROVIDES="
speech_tools$secondaryArchSuffix = $portVersion
lib:libestbase$secondaryArchSuffix = $portVersion compat >= 2
lib:libestools$secondaryArchSuffix = $portVersion compat >= 2
lib:libeststring$secondaryArchSuffix = $portVersion compat >= 2
"
PROVIDES_devel="
speech_tools${secondaryArchSuffix}_devel = $portVersion
devel:libestbase$secondaryArchSuffix = $portVersion compat >= 2
devel:libestools$secondaryArchSuffix = $portVersion compat >= 2
devel:libeststring$secondaryArchSuffix = $portVersion compat >= 2
"
PROGS=" bcat ch_lab ch_track ch_utt ch_wave design_filter dp \
na_play na_record ngram_build ngram_test ols \
ols_test pda pitchmark scfg_make \
scfg_parse scfg_test scfg_train sig2fv sigfilter spectgen \
tilt_analysis tilt_synthesis viterbi wagon wagon_test \
wfst_build wfst_run wfst_train xml_parser
"
SCRIPTS="
make_wagon_desc
raw_to_xgraph
resynth
"
PROVIDES_tools="
speech_tools${secondaryArchSuffix}_tools = $portVersion
cmd:simple_pitchmark = $portVersion
"
for p in $PROGS $SCRIPTS; do
PROVIDES_tools="
$PROVIDES_tools
cmd:$p = $portVersion
"
done
REQUIRES="
haiku$secondaryArchSuffix
lib:libgcc_s$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
REQUIRES_devel="
haiku${secondaryArchSuffix}_devel
speech_tools$secondaryArchSuffix == $portVersion base
devel:libncurses$secondaryArchSuffix
"
REQUIRES_tools="
haiku$secondaryArchSuffix
speech_tools$secondaryArchSuffix == $portVersion base
cmd:perl
lib:libgcc_s$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:mkdepend
"
PATCHES="speech_tools-${portVersion}.patchset"
BUILD()
{
runConfigure ./configure
# There are some problems with concurrency.
make
}
INSTALL()
{
cmdBinDir=$prefix/bin
mkdir -p $cmdBinDir
(cd main && cp $PROGS $cmdBinDir)
for s in $SCRIPTS; do
sed 's,__PERL__,/bin/perl,g' <scripts/${s}.* >$cmdBinDir/$s
chmod +x $cmdBinDir/$s
done
sed 's,__PERL__,/bin/perl,g' \
<scripts/pm.prl \
>$cmdBinDir/simple-pitchmark
chmod +x $cmdBinDir/simple-pitchmark
mkdir -p $libDir
# Install everything to lib/ and let prepareInstalledDevelLibs handle
# devel libs, etc.
cp lib/*.a lib/*.so lib/*.so.* $libDir
# Installs possibly internal headers as well, as debian installs them
includeDir=$includeDir/speech_tools
mkdir -p $includeDir/
cp -a include/* $includeDir/
rm -rf $includeDir/Makefile \
$includeDir/*/Makefile \
$includeDir/win32
cp -a base_class/*.h $includeDir/
mkdir -p $includeDir/base_class/
cp -a base_class/*.cc $includeDir/base_class/
# Install configurations as festival need them. Yes it's ugly but it's
# the only way to do it. (Debian does this too.)
privDir=$developLibDir/$portName
mkdir -p $privDir/lib/siod
cp -a make.include config $privDir
cp -a lib/siod/*.scm $privDir/lib/siod
prepareInstalledDevelLibs \
libestbase \
libestools \
libeststring
# Evil linking for Festival
for i in $developLibDir/libest*.a \
$developLibDir/libest*.so; do
ln -s "$i" "$privDir/lib/`basename $i`"
done
ln -s "$includeDir" "$privDir/include"
packageEntries devel \
$developDir
packageEntries tools \
$cmdBinDir
}

View File

@@ -35,7 +35,7 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libgcrypt
lib:libQtCore
lib:libQtGui
@@ -43,7 +43,7 @@ REQUIRES="
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libz
devel:libgcrypt
devel:libQtCore

View File

@@ -36,7 +36,7 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libgcrypt
lib:libQtCore
lib:libQtGui
@@ -44,7 +44,7 @@ REQUIRES="
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libz
devel:libgcrypt
devel:libgpg_error

View File

@@ -33,11 +33,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="

View File

@@ -46,7 +46,7 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libiconv
lib:libjpeg
lib:libncurses
@@ -55,7 +55,7 @@ REQUIRES="
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libiconv
devel:libjpeg
devel:libncurses

View File

@@ -19,11 +19,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_REQUIRES="

View File

@@ -37,12 +37,12 @@ PROVIDES="$PROVIDES
fi
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:ar
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix

View File

@@ -11,7 +11,7 @@ COPYRIGHT="2000-2011 Stuart Caie"
SRC_URI="http://www.cabextract.org.uk/cabextract-1.4.tar.gz"
CHECKSUM_SHA256="f7ba8ba2c2d71912846eaaa2bed9200a7722ef0addeec32db7471c350a48e41e"
REVISION="1"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
cabextract = $portVersion
@@ -19,16 +19,19 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
cmd:awk
cmd:sed
cmd:grep
"
BUILD()

View File

@@ -25,7 +25,7 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
@@ -33,7 +33,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:aclocal
cmd:autoconf
cmd:awk

View File

@@ -21,12 +21,12 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libz
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libz
"

View File

@@ -7,7 +7,7 @@ HOMEPAGE="http://www.gzip.org/"
SRC_URI="https://ftp.gnu.org/gnu/gzip/gzip-1.6.tar.xz"
CHECKSUM_SHA256="37dfed1a485d53212c43b3fa2a7c7952f09bf5cd86e37121c222341ee1b27847"
SOURCE_DIR="$portVersionedName"
REVISION="1"
REVISION="2"
LICENSE="GNU GPL v3"
COPYRIGHT="1992-1993 Jean-loup Gailly
1999-2013 Free Software Foundation, Inc."
@@ -33,11 +33,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
@@ -45,6 +45,8 @@ BUILD_PREREQUIRES="
cmd:awk
"
PATCHES="${portVersionedName}.patchset"
BUILD()
{
export CFLAGS="-Wno-error"

View File

@@ -0,0 +1,25 @@
From 39ee8c0d94879bde10822f2b95caedde3d6842fb Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Tue, 16 Dec 2014 21:50:24 +0000
Subject: [PATCH] gzexe: Fallback on file copying for backup
BFS doesn't support hard links.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
diff --git a/gzexe.in b/gzexe.in
index e458563..45e1900 100644
--- a/gzexe.in
+++ b/gzexe.in
@@ -218,7 +218,7 @@ EOF
echo >&2 "$0: $tmp: cannot chmod"
continue
}
- ln -f "$file" "$file~" || {
+ ln -f "$file" "$file~" || cp -f "$file" "${file}~" || {
res=$?
echo >&2 "$0: cannot backup $i as $i~"
continue
--
1.8.3.4

View File

@@ -16,11 +16,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="

View File

@@ -1,11 +1,14 @@
SUMMARY="Archive files using LZSS and Huffman compression (.lzh files)"
DESCRIPTION="
Archive files using LZSS and Huffman compression (.lzh files)
LHA archives are often used on Amiga computers. The compression is rather \
effective and the unpacking is fast.
"
LICENSE="lha"
COPYRIGHT="1991, Masaru Oki
COPYRIGHT="
1991, Masaru Oki
1993-1995, Nobutaka Watazaki
2000, Tsugio Okamoto et al."
2000, Tsugio Okamoto et al.
"
HOMEPAGE="http://sourceforge.jp/projects/lha/"
SRC_URI="http://jaist.dl.sourceforge.jp/lha/22231/lha-1.14i-ac20050924p1.tar.gz"
CHECKSUM_SHA256="b5261e9f98538816aa9e64791f23cb83f1632ecda61f02e54b6749e9ca5e9ee4"
@@ -16,17 +19,14 @@ PROVIDES="
lha = $portVersion
cmd:lha = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libiconv
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libiconv
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:autoconf

View File

@@ -52,7 +52,7 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:liblzma$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
@@ -71,7 +71,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:libtoolize
cmd:aclocal
cmd:autoconf

View File

@@ -31,10 +31,10 @@ PROVIDES="$PROVIDES
fi
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:ar

View File

@@ -53,13 +53,13 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libgcc_s$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="

View File

@@ -29,7 +29,7 @@ PROVIDES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:awk
cmd:cpio
cmd:find

View File

@@ -19,12 +19,12 @@ PROVIDES="
cmd:7za = $portVersion compat >= 9
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:ld
cmd:make

View File

@@ -20,12 +20,12 @@ PROVIDES="
cmd:7za = $portVersion compat >= 9
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:ld
cmd:make

View File

@@ -24,12 +24,12 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libz
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libz
"

View File

@@ -31,11 +31,11 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="

View File

@@ -28,12 +28,12 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix

View File

@@ -25,12 +25,12 @@ PROVIDES="
cmd:tar = $portVersion compat >= 1
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:automake
cmd:autoreconf
cmd:gcc

View File

@@ -1,4 +1,4 @@
SUMMARY="Saves and restores files to/from a tape or disk archive."
SUMMARY="Saves and restores files to/from a tape or disk archive"
DESCRIPTION="
The Tar program provides the ability to create tar archives, as well as \
various other kinds of manipulation. For example, you can use Tar on \
@@ -25,12 +25,12 @@ PROVIDES="
cmd:tar = $portVersion compat >= 1
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:automake
cmd:autoreconf
cmd:gcc

View File

@@ -0,0 +1 @@
"application/x-lzx" .lzx "unlzx -v %s" "unlzx %s"

View File

@@ -0,0 +1,41 @@
SUMMARY="Decompresses LZX archives on multiple platforms"
DESCRIPTION="LZX is the name of an LZ77 family compression algorithm invented \
by Johnathon Forbes and Tomi Poutanen. unlzx is a program designed to extract \
these archives."
HOMEPAGE="http://aminet.net/package/misc/unix/unlzx.c.gz"
SRC_URI="git+https://github.com/tweakdeveloper/unlzx.git#36a85e7"
ADDITIONAL_FILES="unlzx-expander-rules"
REVISION="3"
LICENSE="Public Domain"
COPYRIGHT="2001 Erik Meusel"
ARCHITECTURES="x86_gcc2 x86"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
cmd:gcc
cmd:strip
"
PROVIDES="
unlzx = $portVersion
cmd:unlzx
"
BUILD()
{
gcc unlzx.c -o unlzx
strip unlzx
}
INSTALL()
{
expanderRulesDir=$dataDir/expander/rules
mkdir -p $binDir $expanderRulesDir
cp unlzx $binDir
cp $portDir/additional-files/unlzx-expander-rules $expanderRulesDir
}

View File

@@ -33,10 +33,10 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:make
cmd:g++
"

View File

@@ -33,10 +33,10 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:make
cmd:g++
"

View File

@@ -33,10 +33,10 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:make
cmd:g++
"

View File

@@ -15,7 +15,7 @@ PROVIDES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:make
"

View File

@@ -23,7 +23,7 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libiconv
"
@@ -32,7 +32,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:make
"

View File

@@ -32,7 +32,7 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libz$secondaryArchSuffix
@@ -40,7 +40,7 @@ REQUIRES="
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
devel:libxml2$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libz$secondaryArchSuffix

View File

@@ -1,14 +1,16 @@
SUMMARY="Free general-purpose data compression software."
SUMMARY="Free general-purpose data compression software"
DESCRIPTION="XZ Utils are free general-purpose data compression tools with \
a high compression ratio. They are the successors to LZMA Utils.
"
HOMEPAGE="http://tukaani.org/xz/"
SRC_URI="http://tukaani.org/xz/xz-$portVersion.tar.bz2"
CHECKSUM_SHA256="e8851dc749df2340dac6c9297cb2653eff684e73c3dedf690930119502edd616"
CHECKSUM_SHA256="2286f9d90bb0a0de34cba990df1b10cfad0777f00cb2883def26b8ec1b326bda"
SOURCE_DIR="xz-$portVersion"
LICENSE="GNU LGPL v2.1
LICENSE="
GNU LGPL v2.1
GNU GPL v2
GNU GPL v3"
GNU GPL v3
"
COPYRIGHT="2005-2014 Lasse Collin"
REVISION="1"
ARCHITECTURES="x86 x86_64"
@@ -58,15 +60,13 @@ PROVIDES="
cmd:xzmore$commandSuffix = $portVersion compat >= 5
lib:liblzma$secondaryArchSuffix = $portVersion compat >= 5
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
@@ -77,9 +77,8 @@ PROVIDES_devel="
xz_utils${secondaryArchSuffix}_devel = $portVersion compat >= 5
devel:liblzma$secondaryArchSuffix = $portVersion compat >= 5
"
REQUIRES_devel="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
xz_utils$secondaryArchSuffix == $portVersion base
"

View File

@@ -23,14 +23,14 @@ PROVIDES="
cmd:zipsplit = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libz
"
BUILD_REQUIRES="
devel:libz
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:ld
cmd:make

View File

@@ -0,0 +1,85 @@
SUMMARY="A tool to make and restore backups over a network"
DESCRIPTION="Burp aims to be a better Bacula and is a network backup and \
restore software. It relies on librsync for compression of network \
communication and of the backups itself. Burp provides both a client and a \
server and supports Windows's Volume Shadow Copy Services."
HOMEPAGE="http://burp.grke.org"
SRC_URI="http://sourceforge.net/projects/burp/files/burp-1.4.28/burp-1.4.28.tar.bz2"
CHECKSUM_SHA256="01c41c07805ebe8c882d7cb9f294e779b6decbe2eb2c81fd65d8fb2b174e18f0"
REVISION="1"
SOURCE_DIR="burp"
ARCHITECTURES="x86_gcc2 ?x86 ?ppc"
LICENSE="GNU AGPL v3"
COPYRIGHT="
2011-2014 Graham Keeling
2005-2010 Troy D. Hanson
"
REQUIRES="
haiku
lib:libssl
lib:libz
lib:librsync
lib:libncurses
lib:libpopt
"
BUILD_REQUIRES="
haiku_devel
devel:libssl
devel:libz
devel:librsync
devel:libncurses
devel:libpopt
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
cmd:gawk
cmd:sed
"
PROVIDES="
burp = $portVersion
cmd:burp_ca
cmd:burp
cmd:bedup
cmd:vss_strip
"
PATCHES="
burp-1.4.28.patchset
"
GLOBAL_WRITABLE_FILES="
settings/burp/CA.cnf auto-merge
settings/burp/autoupgrade/server/win32/script auto-merge
settings/burp/autoupgrade/server/win64/script auto-merge
settings/burp/burp-server.conf auto-merge
settings/burp/burp.conf auto-merge
settings/burp/clientconfdir/incexc/example auto-merge
settings/burp/clientconfdir/testclient auto-merge
settings/burp/notify_script auto-merge
settings/burp/ssl_extra_checks_script auto-merge
settings/burp/summary_script auto-merge
settings/burp/timer_script auto-merge
"
BUILD()
{
runConfigure --omit-dirs sysconfdir\
./configure --sysconfdir $settingsDir/burp
make $jobArgs
}
escapedSharedStateDir=$(echo $sharedStateDir | sed -e 's/\//\\\//g')
INSTALL()
{
sed -i "s/\$(DESTDIR)\/var\//$escapedSharedStateDir\//g" Makefile
make install
}

View File

@@ -0,0 +1,662 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.

View File

@@ -0,0 +1,55 @@
From f13db3e8ee38ea212dd1d7502d0604726021f44f Mon Sep 17 00:00:00 2001
From: Markus Himmel <markus@himmel-villmar.de>
Date: Fri, 26 Dec 2014 00:07:56 +0000
Subject: [PATCH] Update to the interface of librsync v.1.0.0
Librsync has moved away from MD4 for signatures, but to maintain
compatibility with non-Haiku versions, we hang on to it.
---
src/backup_phase2_server.c | 2 +-
src/backup_phase4_server.c | 2 +-
src/rs_buf.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/backup_phase2_server.c b/src/backup_phase2_server.c
index 6e78515..747a369 100644
--- a/src/backup_phase2_server.c
+++ b/src/backup_phase2_server.c
@@ -483,7 +483,7 @@ static int process_changed_file(struct sbuf *cb, struct sbuf *p1b, const char *c
free(curpath);
blocklen=get_librsync_block_len(cb->endfile);
- if(!(p1b->sigjob=rs_sig_begin(blocklen, RS_DEFAULT_STRONG_LEN)))
+ if(!(p1b->sigjob=rs_sig_begin(blocklen, 8, RS_MD4_SIG_MAGIC)))
{
logp("could not start signature job.\n");
return -1;
diff --git a/src/backup_phase4_server.c b/src/backup_phase4_server.c
index ead92b3..f1b5a84 100644
--- a/src/backup_phase4_server.c
+++ b/src/backup_phase4_server.c
@@ -38,7 +38,7 @@ static int make_rev_sig(const char *dst, const char *sig, const char *endfile, i
}
result=rs_sig_gzfile(dstfp, dstzp, sigp,
get_librsync_block_len(endfile),
- RS_DEFAULT_STRONG_LEN, NULL, cntr);
+ 8, NULL, cntr);
gzclose_fp(&dstzp);
close_fp(&dstfp);
if(close_fp(&sigp))
diff --git a/src/rs_buf.c b/src/rs_buf.c
index 78f65b2..0a3c33a 100644
--- a/src/rs_buf.c
+++ b/src/rs_buf.c
@@ -497,7 +497,7 @@ rs_result rs_sig_gzfile(FILE *old_file, gzFile old_zfile, FILE *sig_file, size_t
rs_job_t *job;
rs_result r;
- job = rs_sig_begin(new_block_len, strong_len);
+ job = rs_sig_begin(new_block_len, strong_len, RS_MD4_SIG_MAGIC);
r = rs_whole_gzrun(job, old_file, old_zfile, sig_file, NULL, cntr);
/*
if (stats)
--
1.8.3.4

View File

@@ -33,11 +33,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="

View File

@@ -19,11 +19,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="

View File

@@ -1,22 +1,55 @@
SUMMARY="Filesystem benchmarking program"
DESCRIPTION="Filesystem benchmarking program"
HOMEPAGE="http://www.iozone.org/"
SRC_URI="http://www.iozone.org/src/current/iozone3_326.tar"
CHECKSUM_MD5="e80f06da89d314f7fc08fcef4046d367"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd iozone3_326/src/current/
make haiku
}
INSTALL()
{
cd iozone3_326/src/current/
mkdir -p ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`
cp iozone ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`/iozone
cp fileop ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`/fileop
}
#NOTE: The author retains the exclusive right to publish derivative works based on this work, including, but not limited to, revised versions of this work.
LICENSE="iozone"
COPYRIGHT="1991-2001, William D. Norcott
2010, Don Capps"
HOMEPAGE="http://www.iozone.org/"
SRC_URI="http://www.iozone.org/src/current/iozone3_326.tar"
CHECKSUM_SHA256="bc0a40b2cc7f2e8c6dcfbbff82f1df82ad735f02c9a7db59f8364b76f43f7063"
SOURCE_DIR="iozone3_326"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
PATCHES="iozone-3.326.patch"
PROVIDES="
cmd:iozone = $portVersion
cmd:fileop = $portVersion
iozone = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
cmd:make
cmd:cc
"
BUILD_PREREQUIRES="
haiku_devel
"
BUILD()
{
cd src/current/
make haiku
}
INSTALL()
{
cd src/current/
cp iozone $binDir
cp fileop $binDir
mkdir -p $manDir/man1
cp ../../docs/iozone.1 $manDir/man1
}

View File

@@ -21,11 +21,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="
@@ -49,5 +49,5 @@ INSTALL()
TEST()
{
./bench > output_$haikuVersion
./bench > output_$(date)
}

View File

@@ -19,7 +19,7 @@ PROVIDES="
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="

View File

@@ -16,11 +16,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="

View File

@@ -24,11 +24,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:make
"

View File

@@ -20,11 +20,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="

View File

@@ -49,12 +49,12 @@ PROVIDES="
cmd:isoinfo = $portVersion compat >= 3
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:ld
cmd:make

View File

@@ -49,12 +49,12 @@ PROVIDES="
cmd:isoinfo = $portVersion compat >= 3
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:ld
cmd:make

View File

@@ -50,12 +50,12 @@ PROVIDES="
cmd:isoinfo = $portVersion compat >= 3
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:ld
cmd:make

View File

@@ -0,0 +1,159 @@
SUMMARY="A highly portable CD/DVD/BluRay command line recording software"
DESCRIPTION="
Cdrtools is a set of command line programs that allows to record CD/DVD/BluRay \
media.
The suite includes the following programs:
- cdrecord A CD/DVD/BD recording program
- readcd A program to read CD/DVD/BD media with CD-clone features
- cdda2wav The most evolved CD-audio extraction program with paranoia support
- mkisofs A program to create hybrid ISO9660/JOLIET/HFS filesystes with \
optional Rock Ridge attributes
- isodebug A program to print mkisofs debug information from media
- isodump A program to dump ISO-9660 media
- isoinfo A program to analyse/verify ISO/9660/Joliet/Rock-Ridge Filesystems
- isovfy A program to verify the ISO-9660 structures
- rscsi A Remote SCSI enabling daemon
"
HOMEPAGE="http://cdrecord.berlios.de"
COPYRIGHT="
1993-1997 Eric Youngdale, 1997-2010 J. Schilling (mkisofs)
1995-2013 J. Schilling (cdrecord)
"
LICENSE="
GNU GPL v2
CDDL v1
"
SRC_URI="http://sourceforge.net/projects/cdrtools/files/alpha/cdrtools-3.01a25.tar.bz2"
CHECKSUM_SHA256="12c555263c9b56d83ea104918c0c6c7df41c3dd51206ae1986e88aed892b29be"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
PATCHES='cdrtools-3.01~a25.patch'
PROVIDES="
cdrtools = $portVersion compat >= 3
cmd:devdump = $portVersion compat >= 3
cmd:rscsi = $portVersion compat >= 3
cmd:scgcheck = $portVersion compat >= 3
cmd:mkisofs = $portVersion compat >= 3
cmd:btcflash = $portVersion compat >= 3
cmd:scgskeleton = $portVersion compat >= 3
cmd:isovfy = $portVersion compat >= 3
cmd:readcd = $portVersion compat >= 3
cmd:isodebug = $portVersion compat >= 3
cmd:cdda2mp3 = $portVersion compat >= 3
cmd:cdda2ogg = $portVersion compat >= 3
cmd:cdda2wav = $portVersion compat >= 3
cmd:mkhybrid = $portVersion compat >= 3
cmd:cdrecord = $portVersion compat >= 3
cmd:isodump = $portVersion compat >= 3
cmd:isoinfo = $portVersion compat >= 3
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:grep
cmd:ld
cmd:make
cmd:sed
"
GLOBAL_WRITABLE_FILES="
settings/cdrecord keep-old
settings/rscsi keep-old
"
SOURCE_DIR="cdrtools-3.01"
patchInsdir()
{
# Usage: patchInsdir <oldDir> <newDir> <file> ...
oldDir=$1
newDir=$2
shift 2
sed -i "s,^INSDIR=\s*$oldDir,INSDIR= $newDir," $@
}
PATCH()
{
allMakefiles="$(find . -name Makefile\*) $(find . -name \*.mk)"
patchInsdir bin $relativeBinDir $allMakefiles
patchInsdir sbin $relativeBinDir $allMakefiles
patchInsdir share/doc $relativeDocDir $allMakefiles
patchInsdir include $relativeIncludeDir $allMakefiles
patchInsdir lib $relativeLibDir $allMakefiles
patchInsdir etc/default settings $allMakefiles
sed -i "s,/etc/default,$sysconfDir," \
btcflash/btcflash.1 \
cdda2wav/cdda2mp3 \
cdda2wav/cdda2ogg \
cdda2wav/cdda2*.1 \
cdrecord/COPYING \
cdrecord/README.* \
cdrecord/auinfo.c \
cdrecord/cdrecord.1 \
doc/*.man \
doc/*.ps \
include/schily/deflts.h \
libcdrdeflt/cdrdeflt.c \
libcdrdeflt/cdrdeflt.h \
mkisofs/diag/isoinfo.8 \
readcd/readcd.1 \
rscsi/rscsi.1 \
rscsi/rscsi.c \
scgskeleton/scgskeleton.1
}
BUILD()
{
make GMAKE_NOWARN=true INS_BASE=$prefix INS_RBASE=$prefix LDPATH="" \
RUNPATH="" DEFMANBASE=$relativeDocumentationDir
# not multi-job safe
}
INSTALL()
{
make GMAKE_NOWARN=true INS_BASE=$prefix INS_RBASE=$prefix LDPATH="" \
RUNPATH="" DEFMANBASE=$relativeDocumentationDir install
# The whole lib folder only contains static libraries (even in several
# subdirectories).
mkdir -p $developLibDir
mv $libDir/* $developLibDir/
rmdir $libDir
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
cdrtools_devel = $portVersion
devel:libcdrdeflt = $portVersion compat >= 3
devel:libedc_ecc = $portVersion compat >= 3
devel:libedc_ecc_dec = $portVersion compat >= 3
devel:libdeflt = $portVersion compat >= 3
devel:libfile = $portVersion compat >= 3
devel:libfind = $portVersion compat >= 3
devel:libhfs = $portVersion compat >= 3
devel:libmdigest = $portVersion compat >= 3
devel:libparanoia = $portVersion compat >= 3
devel:librscg = $portVersion compat >= 3
devel:libscg = $portVersion compat >= 3
devel:libsiconv = $portVersion compat >= 3
devel:libscgcmd = $portVersion compat >= 3
devel:libschily = $portVersion compat >= 3
"
REQUIRES_devel="
cdrtools == $portVersion
"

View File

@@ -0,0 +1,171 @@
diff -urN cdrtools-3.01/DEFAULTS/Defaults.haiku cdrtools-3.01-haiku/DEFAULTS/Defaults.haiku
--- cdrtools-3.01/DEFAULTS/Defaults.haiku
+++ cdrtools-3.01-haiku/DEFAULTS/Defaults.haiku
@@ -29,16 +29,16 @@
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
-LDPATH= -L/opt/schily/lib
+LDPATH= -L$(shell finddir B_SYSTEM_LIB_DIRECTORY)
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
-RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
+RUNPATH= -R$(INS_BASE)/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
-INS_BASE= /boot/opt/schily
+INS_BASE= $(shell finddir B_SYSTEM_DIRECTORY)
INS_KBASE= /
INS_RBASE= /
#
diff -urN cdrtools-3.01/RULES/x86_64-haiku-cc.rul cdrtools-3.01-haiku/RULES/x86_64-haiku-cc.rul
--- cdrtools-3.01/RULES/x86_64-haiku-cc.rul 1970-01-01 00:00:00.000000000 +0000
+++ cdrtools-3.01-haiku/RULES/x86_64-haiku-cc.rul 2012-12-08 19:24:57.418643968 +0000
@@ -0,0 +1,54 @@
+#ident "@(#)bepc-haiku-cc.rul 1.3 09/02/05 "
+###########################################################################
+# Written 1996 by J. Schilling
+###########################################################################
+#
+# Platform dependent MACROS for Haiku, a BeOS like OS
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/rules.prg
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul
+
+#
+# XXX Old BeOS needs libroot.so to get [efg]cvt()
+# XXX New BeOS seems to have this in libc and in addition we include
+# XXX strtod.c for floating point conversion on OS without such code.
+# XXX For this reason, -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS has been
+# XXX removed and printing floating numbers will work with old/new BeOS
+#
+#OSDEFS += -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS
+OSDEFS +=
+
+KDEFINES= -DKERNEL -D_KERNEL
+
+#CONFFLAGS= i586
+
+LIB_PREFIX= lib
+LIB_SUFFIX= .a
+SHL_SUFFIX= .so
+
+#LIB_SOCKET= -lsocket -lbind
+LIB_SOCKET= -lnetwork
+LIB_MATH=
+LIB_KVM=
+
+#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%)
+LDOPTS= $(LIBS_PATH) $(LDPATH)
+
+LORDER= echo
+TSORT= cat
+
+LN= /bin/ln -s
diff -urN cdrtools-3.01/RULES/x86_64-haiku-gcc.rul cdrtools-3.01-haiku/RULES/x86_64-haiku-gcc.rul
--- cdrtools-3.01/RULES/x86_64-haiku-gcc.rul 1970-01-01 00:00:00.000000000 +0000
+++ cdrtools-3.01-haiku/RULES/x86_64-haiku-gcc.rul 2012-12-08 19:24:57.421265408 +0000
@@ -0,0 +1,54 @@
+#ident "@(#)bepc-haiku-gcc.rul 1.3 09/02/05 "
+###########################################################################
+# Written 1996 by J. Schilling
+###########################################################################
+#
+# Platform dependent MACROS for Haiku, a BeOS like OS
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/rules.prg
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul
+
+#
+# XXX Old BeOS needs libroot.so to get [efg]cvt()
+# XXX New BeOS seems to have this in libc and in addition we include
+# XXX strtod.c for floating point conversion on OS without such code.
+# XXX For this reason, -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS has been
+# XXX removed and printing floating numbers will work with old/new BeOS
+#
+#OSDEFS += -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS
+OSDEFS +=
+
+KDEFINES= -DKERNEL -D_KERNEL
+
+#CONFFLAGS= i586
+
+LIB_PREFIX= lib
+LIB_SUFFIX= .a
+SHL_SUFFIX= .so
+
+#LIB_SOCKET= -lsocket -lbind
+LIB_SOCKET= -lnetwork
+LIB_MATH=
+LIB_KVM=
+
+#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%)
+LDOPTS= $(LIBS_PATH) $(LDPATH)
+
+LORDER= echo
+TSORT= cat
+
+LN= /bin/ln -s
diff -up cdrtools-3.01/libscg/scsi-beos.c.orig cdrtools-3.01/libscg/scsi-beos.c
--- cdrtools-3.01/libscg/scsi-beos.c.orig 2009-06-30 12:34:03.022282240 -0600
+++ cdrtools-3.01/libscg/scsi-beos.c 2012-07-19 18:25:01.146800640 -0600
@@ -292,7 +292,11 @@ scgo_havebus(scgp, busno)
char buf[128];
if (busno < 8)
+#ifdef __HAIKU__
+ js_snprintf(buf, sizeof (buf), "/dev/disk/scsi/%d", busno);
+#else
js_snprintf(buf, sizeof (buf), "/dev/bus/scsi/%d", busno);
+#endif
else
#ifdef __HAIKU__
js_snprintf(buf, sizeof (buf), "/dev/disk/atapi/%d", busno-8);
@@ -320,9 +324,15 @@ scgo_fileno(scgp, busno, tgt, tlun)
return (f->fd);
}
if (busno < 8) {
+#ifdef __HAIKU__
+ js_snprintf(buf, sizeof (buf),
+ "/dev/disk/scsi/%d/%d/%d/raw",
+ busno, tgt, tlun);
+#else
js_snprintf(buf, sizeof (buf),
"/dev/bus/scsi/%d/%d/%d/raw",
busno, tgt, tlun);
+#endif
} else {
char *tgtstr = (tgt == 0) ? "master" : (tgt == 1) ? "slave" : "dummy";
js_snprintf(buf, sizeof (buf),

View File

@@ -19,11 +19,11 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="

View File

@@ -23,13 +23,13 @@ PROVIDES="gnupg = $portVersion
cmd:gpgv = $portVersion compat >= 1.4
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libz
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:autoconf
cmd:gcc
cmd:ld

View File

@@ -1,4 +1,4 @@
SUMMARY="GnuPG is the GNU project's free implementation of the OpenPGP standard."
SUMMARY="GnuPG is the GNU project's free implementation of the OpenPGP standard"
DESCRIPTION="
GnuPG is the GNU project's complete and free implementation of the OpenPGP \
standard as defined by RFC4880 . GnuPG allows to encrypt and sign your data \
@@ -23,7 +23,7 @@ PROVIDES="gnupg = $portVersion
cmd:gpgv = $portVersion compat >= 1.4
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libcurl
lib:libiconv
lib:libintl
@@ -40,7 +40,7 @@ BUILD_REQUIRES="
devel:libz
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:autoconf
cmd:bison
cmd:gcc
@@ -51,6 +51,7 @@ BUILD_PREREQUIRES="
cmd:perl
cmd:tar
"
PATCHES="gnupg-1.4.16.patchset"
BUILD()

View File

@@ -30,7 +30,7 @@ PROVIDES="
lib:libgpgme${secondaryArchSuffix} = 11.13.1 compat >= 11
"
REQUIRES="
haiku${secondaryArchSuffix} >= $haikuVersion
haiku${secondaryArchSuffix}
lib:libgpg_error${secondaryArchSuffix}
cmd:gpg
lib:libglib_2.0$secondaryArchSuffix
@@ -42,7 +42,7 @@ BUILD_REQUIRES="
devel:libassuan${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:autoconf
cmd:automake
cmd:bison

View File

@@ -19,7 +19,7 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
aspell >= 0.60
"
@@ -28,7 +28,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:make
cmd:prezip_bin
cmd:which

View File

@@ -0,0 +1,84 @@
SUMMARY="A simple thesaurus"
DESCRIPTION="MyThes is a simple thesaurus that used a structured text \
data file and an index file with binary search to lookup words \
and phrases and return information on part of speech, \
meanings, and synonyms.
- written in C++ to make it easier to interface with \
LibreOffice, OpenOffice, AbiWord, Pspell, etc
- it is stateless, uses no static variables and \
should be completely reentrant with no ifdefs
- it compiles with -ansi and -pedantic and -Wall \
with no warnigns so it shouldbe quite portable
- it uses a simple perl program to read the structured \
text file and create the index needed for binary \
searching
- it is very simple with *lots* of comments. \
The main "smarts" are in the structure of the \
text file that makes up the thesaurus data
- It comes with a ready-to-go structured thesaurus \
data file for en_US extracted from the WordNet-2.0 data.
- Please see WordNet_license.txt and WordNet_readme.txt \
for more information on the very useful project!
- See http://www.danielnaber.de/wn2ooo/ for utilities to \
regenerate an up to date English thesaurus from the most \
recent WordNet data."
HOMEPAGE="http://sourceforge.net/projects/hunspell/files/MyThes/1.2.4"
SRC_URI="http://prdownloads.sf.net/hunspell/mythes-1.2.4.tar.gz"
CHECKSUM_SHA256="1e81f395d8c851c3e4e75b568e20fa2fa549354e75ab397f9de4b0e0790a305f"
COPYRIGHT="1994 - 2009 Free Software Foundation, Inc."
LICENSE="BSD (2-clause)"
REVISION="1"
PROVIDES="
mythes$secondaryArchSuffix = $portVersion
cmd:mythes = $portVersion
cmd:th_gen_idx.pl
lib:libmythes_1.2$secondaryArchSuffix = $portVersion
"
PROVIDES_devel="
devel:libmythes_1.2$secondaryArchSuffix = $portVersion
mythes${secondaryArchSuffix}_devel = $portVersion
"
ARCHITECTURES="x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
REQUIRES="
haiku$secondaryArchSuffix
lib:libhunspell_1.3$secondaryArchSuffix
cmd:perl
"
REQUIRES_devel="
mythes$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
devel:libhunspell_1.3$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:awk
haiku${secondaryArchSuffix}_devel
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs \
libmythes-1.2
packageEntries devel \
$developDir
}

View File

@@ -1,70 +0,0 @@
SUMMARY="Generate documentation from source code"
DESCRIPTION="
Doxygen is the de facto standard tool for generating documentation from \
annotated C++ sources, but it also supports other popular programming \
languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba and \
Microsoft flavors), Fortran, VHDL, Tcl, and to some extent D.
Doxygen can help you in three ways:
1. It can generate an on-line documentation browser (in HTML) and/or an \
off-line reference manual (in $\mbox{\LaTeX}$) from a set of documented source \
files. There is also support for generating output in RTF (MS-Word), \
PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The \
documentation is extracted directly from the sources, which makes it much \
easier to keep the documentation consistent with the source code.
2. You can configure doxygen to extract the code structure from undocumented \
source files. This is very useful to quickly find your way in large source \
distributions. Doxygen can also visualize the relations between the various \
elements by means of include dependency graphs, inheritance diagrams, and \
collaboration diagrams, which are all generated automatically.
3. You can also use doxygen for creating normal documentation (as I did for \
the doxygen user manual and web-site).
"
HOMEPAGE="http://www.doxygen.org"
COPYRIGHT="1997-2010 Dimitri van Heesch"
LICENSE="GNU GPL v2"
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/doxygen-1.6.3.src.tar.gz"
CHECKSUM_SHA256="a3a6524b5fc1da084fd0e081507c99240abaffff85f76ef7b15c9fb3ae248492"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="doxygen-1.6.3.patchset"
PROVIDES="
doxygen = $portVersion compat >= 1.6
cmd:doxygen = $portVersion compat >= 1.6
cmd:doxytag = $portVersion compat >= 1.6
"
REQUIRES="
haiku >= $haikuVersion
lib:libiconv
"
BUILD_REQUIRES="
devel:libiconv
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:bison
cmd:flex
cmd:gcc
cmd:ld
cmd:make
cmd:perl
cmd:sed
"
PATCH()
{
sed -i "s,MAN1DIR = man/man1,MAN1DIR = $relativeManDir/man1," Makefile.in
}
BUILD()
{
./configure --prefix $prefix --docdir $docDir
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -1,42 +0,0 @@
SUMMARY="Generate documentation from source code"
DESCRIPTION="
Doxygen is the de facto standard tool for generating documentation from \
annotated C++ sources, but it also supports other popular programming \
languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba and \
Microsoft flavors), Fortran, VHDL, Tcl, and to some extent D.
Doxygen can help you in three ways:
1. It can generate an on-line documentation browser (in HTML) and/or an \
off-line reference manual (in $\mbox{\LaTeX}$) from a set of documented source \
files. There is also support for generating output in RTF (MS-Word), \
PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The \
documentation is extracted directly from the sources, which makes it much \
easier to keep the documentation consistent with the source code.
2. You can configure doxygen to extract the code structure from undocumented \
source files. This is very useful to quickly find your way in large source \
distributions. Doxygen can also visualize the relations between the various \
elements by means of include dependency graphs, inheritance diagrams, and \
collaboration diagrams, which are all generated automatically.
3. You can also use doxygen for creating normal documentation (as I did for \
the doxygen user manual and web-site).
"
HOMEPAGE="http://www.doxygen.org"
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/doxygen-1.7.4.src.tar.gz"
CHECKSUM_MD5="ff908759ff7cd9464424b04ae6c68e48"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd doxygen-1.7.4
sed -i 's/MAN1DIR = man\/man1/MAN1DIR = documentation\/man\/man1/' Makefile.in
./configure --prefix `finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd doxygen-1.7.4
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="1997-2011 Dimitri van Heesch"

View File

@@ -0,0 +1,66 @@
SUMMARY="Generate documentation from source code"
DESCRIPTION="
Doxygen is the de facto standard tool for generating documentation from \
annotated C++ sources, but it also supports other popular programming \
languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba and \
Microsoft flavors), Fortran, VHDL, Tcl, and to some extent D.
Doxygen can:
* generate an on-line documentation browser (in HTML) and/or an \
off-line reference manual (in LaTeX) from a set of documented source \
files. There is also support for generating output in RTF (MS-Word), \
PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The \
documentation is extracted directly from the sources, which makes it much \
easier to keep the documentation consistent with the source code.
* extract the code structure from undocumented source files. This is \
very useful to quickly find your way in large source distributions. \
Doxygen can also visualize the relations between the various elements \
by means of include dependency graphs, inheritance diagrams, and \
collaboration diagrams, which are all generated automatically."
HOMEPAGE="http://www.doxygen.org"
COPYRIGHT="1997-2011 Dimitri van Heesch"
LICENSE="GNU GPL v2"
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/doxygen-$portVersion.src.tar.gz"
CHECKSUM_SHA256="0e60e794fb172d3fa4a9a9535f0b8e0eeb04e8366153f6b417569af0bcd61fcd"
PATCHES="doxygen-$portVersion.patch"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
doxygen = $portVersion compat >= 1.7
cmd:doxygen = $portVersion compat >= 1.7
cmd:doxytag = $portVersion compat >= 1.7
"
REQUIRES="
haiku
lib:libiconv
"
BUILD_REQUIRES="
devel:libiconv
"
BUILD_PREREQUIRES="
haiku_devel
cmd:bison
cmd:flex
cmd:gcc
cmd:ld
cmd:make
cmd:perl
cmd:sed
"
PATCH()
{
sed -i "s,MAN1DIR = man/man1,MAN1DIR = $relativeManDir/man1," Makefile.in
}
BUILD()
{
# not an autotools configure
./configure --prefix $prefix --docdir $docDir
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -1,177 +0,0 @@
From 9612cfcd716d5924547e90229bd6e3cb51c950e9 Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Wed, 21 Aug 2013 12:02:33 +0200
Subject: add support for Haiku
diff --git a/Makefile.in b/Makefile.in
index 781d359..9cd43eb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,7 +2,7 @@
# cd qtools ; $(MAKE)
# cd src ; $(MAKE)
-DESTDIR =
+#DESTDIR =
clean: FORCE
cd examples ; $(MAKE) clean
diff --git a/PLATFORMS b/PLATFORMS
index c358a1d..18c4ed5 100644
--- a/PLATFORMS
+++ b/PLATFORMS
@@ -4,6 +4,7 @@ beos-g++
dgux-g++
freebsd-g++
gnu-g++
+haiku-g++
hpux-acc
hpux-cc
hpux-g++
diff --git a/configure b/configure
index c0db1c6..d631e47 100755
--- a/configure
+++ b/configure
@@ -180,6 +180,9 @@ if test -z "$f_platform"; then
f_insttool=/usr/bin/install
fi
;;
+ Haiku:*)
+ f_platform=haiku-g++
+ ;;
HP-UX:*)
f_platform=hpux-g++
if test "$f_insttool" = NO; then
diff --git a/qtools/qglobal.h b/qtools/qglobal.h
index 700cb80..259446d 100644
--- a/qtools/qglobal.h
+++ b/qtools/qglobal.h
@@ -150,6 +150,8 @@
#define _OS_CYGWIN_
#elif defined(__BEOS__)
#define _OS_BEOS_
+#elif defined(__HAIKU__)
+#define _OS_HAIKU_
#elif defined(__MINT__)
#define _OS_MINT_
#else
diff --git a/src/doxygen.pro.in b/src/doxygen.pro.in
index cc93820..c8a8d50 100644
--- a/src/doxygen.pro.in
+++ b/src/doxygen.pro.in
@@ -19,6 +19,7 @@ CONFIG = console warn_on $extraopts
HEADERS = doxygen.h
SOURCES = main.cpp
unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
+haiku-g++:LIBS += -L/boot/common/lib -liconv
win32:INCLUDEPATH += .
win32-mingw:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
win32-msvc:LIBS += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
diff --git a/tmake/lib/haiku-g++/app.t b/tmake/lib/haiku-g++/app.t
new file mode 100644
index 0000000..867725e
--- /dev/null
+++ b/tmake/lib/haiku-g++/app.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/app.t");
diff --git a/tmake/lib/haiku-g++/lib.t b/tmake/lib/haiku-g++/lib.t
new file mode 100644
index 0000000..2523b2f
--- /dev/null
+++ b/tmake/lib/haiku-g++/lib.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/lib.t");
diff --git a/tmake/lib/haiku-g++/subdirs.t b/tmake/lib/haiku-g++/subdirs.t
new file mode 100644
index 0000000..5e888af
--- /dev/null
+++ b/tmake/lib/haiku-g++/subdirs.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/subdirs.t");
diff --git a/tmake/lib/haiku-g++/tmake.conf b/tmake/lib/haiku-g++/tmake.conf
new file mode 100644
index 0000000..23a2738
--- /dev/null
+++ b/tmake/lib/haiku-g++/tmake.conf
@@ -0,0 +1,51 @@
+#
+#
+#
+# tmake configuration for haiku-g++
+#
+
+TEMPLATE = app
+CONFIG = qt warn_on release
+
+TMAKE_CC = gcc
+TMAKE_CFLAGS =
+TMAKE_CFLAGS_WARN_ON = -Wall -W
+TMAKE_CFLAGS_WARN_OFF =
+TMAKE_CFLAGS_RELEASE =
+TMAKE_CFLAGS_DEBUG = -g
+TMAKE_CFLAGS_SHLIB = -fPIC
+TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+
+TMAKE_CXX = g++
+TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
+TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
+TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
+TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
+TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
+TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
+TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
+
+TMAKE_INCDIR =
+TMAKE_LIBDIR =
+TMAKE_INCDIR_QT = $(QTDIR)/include
+TMAKE_LIBDIR_QT = $(QTDIR)/lib
+
+TMAKE_LINK = g++
+TMAKE_LINK_SHLIB = g++
+TMAKE_LFLAGS = -Wl,-rpath=/lib:$(QTDIR)/lib
+TMAKE_LFLAGS_RELEASE =
+TMAKE_LFLAGS_DEBUG =
+TMAKE_LFLAGS_SHLIB = -shared
+TMAKE_LFLAGS_SONAME = -Wl,-soname,
+
+TMAKE_LIBS =
+TMAKE_LIBS_QT = -lqt
+TMAKE_LIBS_QT_MT = -lqt-mt
+
+TMAKE_MOC = moc
+
+TMAKE_AR = ar cqs
+TMAKE_RANLIB =
+
+TMAKE_TAR = tar -cf
+TMAKE_GZIP = gzip -9f
--
1.8.3.4
From 2e7199416501ace72e5ab2a548cc07ab25ef910e Mon Sep 17 00:00:00 2001
From: Ingo Weinhold <ingo_weinhold@gmx.de>
Date: Wed, 21 Aug 2013 12:21:09 +0200
Subject: qvaluestack.h: fix gcc 4 build
diff --git a/qtools/qvaluestack.h b/qtools/qvaluestack.h
index 3fb61fd..7438fcb 100644
--- a/qtools/qvaluestack.h
+++ b/qtools/qvaluestack.h
@@ -49,7 +49,7 @@ class Q_EXPORT QValueStack : public QValueList<T>
public:
QValueStack() {}
~QValueStack() {}
- void push( const T& d ) { append(d); }
+ void push( const T& d ) { this->append(d); }
T pop()
{
T elem( this->last() );
--
1.8.3.4

View File

@@ -1,158 +0,0 @@
diff -up doxygen-1.7.4/Makefile.in.orig doxygen-1.7.4/Makefile.in
--- doxygen-1.7.4/Makefile.in.orig 2009-08-20 13:41:13.056098816 -0600
+++ doxygen-1.7.4/Makefile.in 2011-05-14 12:14:04.776208384 -0600
@@ -2,7 +2,7 @@
# cd qtools ; $(MAKE)
# cd src ; $(MAKE)
-DESTDIR =
+#DESTDIR =
clean: FORCE
cd examples ; $(MAKE) clean
diff -up doxygen-1.7.4/PLATFORMS.orig doxygen-1.7.4/PLATFORMS
--- doxygen-1.7.4/PLATFORMS.orig 2007-11-24 09:12:35.056360960 -0700
+++ doxygen-1.7.4/PLATFORMS 2011-05-14 12:14:04.777519104 -0600
@@ -4,6 +4,7 @@ beos-g++
dgux-g++
freebsd-g++
gnu-g++
+haiku-g++
hpux-acc
hpux-cc
hpux-g++
diff -up doxygen-1.7.4/configure.orig doxygen-1.7.4/configure
--- doxygen-1.7.4/configure.orig 2011-03-28 07:12:47.055050240 -0600
+++ doxygen-1.7.4/configure 2011-05-14 12:14:04.783548416 -0600
@@ -180,6 +180,9 @@ if test -z "$f_platform"; then
f_insttool=/usr/bin/install
fi
;;
+ Haiku:*)
+ f_platform=haiku-g++
+ ;;
HP-UX:*)
f_platform=hpux-g++
if test "$f_insttool" = NO; then
diff -up doxygen-1.7.4/qtools/qglobal.h.orig doxygen-1.7.4/qtools/qglobal.h
--- doxygen-1.7.4/qtools/qglobal.h.orig 2010-06-09 03:49:13.006553600 -0600
+++ doxygen-1.7.4/qtools/qglobal.h 2011-05-14 12:14:04.784859136 -0600
@@ -150,6 +150,8 @@
#define _OS_CYGWIN_
#elif defined(__BEOS__)
#define _OS_BEOS_
+#elif defined(__HAIKU__)
+#define _OS_HAIKU_
#elif defined(__MINT__)
#define _OS_MINT_
#else
diff -up doxygen-1.7.4/qtools/qthread_unix.cpp.orig doxygen-1.7.4/qtools/qthread_unix.cpp
--- doxygen-1.7.4/qtools/qthread_unix.cpp.orig 2010-05-15 09:48:47.012058624 -0600
+++ doxygen-1.7.4/qtools/qthread_unix.cpp 2011-05-14 12:14:04.785645568 -0600
@@ -123,7 +123,7 @@ void QThread::start()
pthread_attr_t attr;
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr,PTHREAD_CREATE_DETACHED);
- pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
+ //pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
if (d->stackSize>0)
{
#if defined(_POSIX_THREAD_ATTR_STACKSIZE) && (_POSIX_THREAD_ATTR_STACKSIZE-0>0)
diff -up doxygen-1.7.4/src/doxygen.cpp.orig doxygen-1.7.4/src/doxygen.cpp
--- doxygen-1.7.4/src/doxygen.cpp.orig 2011-03-22 15:56:58.029360128 -0600
+++ doxygen-1.7.4/src/doxygen.cpp 2011-05-14 12:14:04.802684928 -0600
@@ -9465,7 +9465,7 @@ void readConfiguration(int argc, char **
{
if (optind+4<argc || QFileInfo("Doxyfile").exists())
{
- QCString df = optind+4<argc ? argv[optind+4] : QCString("Doxyfile");
+ QCString df = optind+4<argc ? (QCString)argv[optind+4] : QCString("Doxyfile");
if (!Config::instance()->parse(df))
{
err("error opening or reading configuration file %s!\n",argv[optind+4]);
diff -up doxygen-1.7.4/src/doxygen.pro.in.orig doxygen-1.7.4/src/doxygen.pro.in
--- doxygen-1.7.4/src/doxygen.pro.in.orig 2011-01-03 13:14:46.046661632 -0700
+++ doxygen-1.7.4/src/doxygen.pro.in 2011-05-14 12:15:50.176947200 -0600
@@ -18,7 +18,8 @@ TEMPLATE = app.t
CONFIG = console warn_on $extraopts
HEADERS = doxygen.h
SOURCES = main.cpp
-unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread
+unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
+haiku-g++:LIBS += -L/boot/common/lib -liconv
win32:INCLUDEPATH += .
win32-mingw:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread
win32-msvc:LIBS += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
diff -up doxygen-1.7.4/tmake/lib/haiku-g++/app.t.orig doxygen-1.7.4/tmake/lib/haiku-g++/app.t
--- doxygen-1.7.4/tmake/lib/haiku-g++/app.t.orig 2011-05-14 12:14:04.823132160 -0600
+++ doxygen-1.7.4/tmake/lib/haiku-g++/app.t 2011-05-14 12:14:04.818937856 -0600
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/app.t");
diff -up doxygen-1.7.4/tmake/lib/haiku-g++/lib.t.orig doxygen-1.7.4/tmake/lib/haiku-g++/lib.t
--- doxygen-1.7.4/tmake/lib/haiku-g++/lib.t.orig 2011-05-14 12:14:04.828375040 -0600
+++ doxygen-1.7.4/tmake/lib/haiku-g++/lib.t 2011-05-14 12:14:04.827326464 -0600
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/lib.t");
diff -up doxygen-1.7.4/tmake/lib/haiku-g++/subdirs.t.orig doxygen-1.7.4/tmake/lib/haiku-g++/subdirs.t
--- doxygen-1.7.4/tmake/lib/haiku-g++/subdirs.t.orig 2011-05-14 12:14:04.830210048 -0600
+++ doxygen-1.7.4/tmake/lib/haiku-g++/subdirs.t 2011-05-14 12:14:04.828899328 -0600
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/subdirs.t");
diff -up doxygen-1.7.4/tmake/lib/haiku-g++/tmake.conf.orig doxygen-1.7.4/tmake/lib/haiku-g++/tmake.conf
--- doxygen-1.7.4/tmake/lib/haiku-g++/tmake.conf.orig 2011-05-14 12:14:04.832045056 -0600
+++ doxygen-1.7.4/tmake/lib/haiku-g++/tmake.conf 2011-05-14 12:14:04.830734336 -0600
@@ -0,0 +1,51 @@
+#
+#
+#
+# tmake configuration for haiku-g++
+#
+
+TEMPLATE = app
+CONFIG = qt warn_on release
+
+TMAKE_CC = gcc
+TMAKE_CFLAGS =
+TMAKE_CFLAGS_WARN_ON = -Wall -W
+TMAKE_CFLAGS_WARN_OFF =
+TMAKE_CFLAGS_RELEASE =
+TMAKE_CFLAGS_DEBUG = -g
+TMAKE_CFLAGS_SHLIB = -fPIC
+TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+
+TMAKE_CXX = g++
+TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
+TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
+TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
+TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
+TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
+TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
+TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
+
+TMAKE_INCDIR =
+TMAKE_LIBDIR =
+TMAKE_INCDIR_QT = $(QTDIR)/include
+TMAKE_LIBDIR_QT = $(QTDIR)/lib
+
+TMAKE_LINK = g++
+TMAKE_LINK_SHLIB = g++
+TMAKE_LFLAGS = -Wl,-rpath=/lib:$(QTDIR)/lib
+TMAKE_LFLAGS_RELEASE =
+TMAKE_LFLAGS_DEBUG =
+TMAKE_LFLAGS_SHLIB = -shared
+TMAKE_LFLAGS_SONAME = -Wl,-soname,
+
+TMAKE_LIBS =
+TMAKE_LIBS_QT = -lqt
+TMAKE_LIBS_QT_MT = -lqt-mt
+
+TMAKE_MOC = moc
+
+TMAKE_AR = ar cqs
+TMAKE_RANLIB =
+
+TMAKE_TAR = tar -cf
+TMAKE_GZIP = gzip -9f

View File

@@ -0,0 +1,216 @@
From 9309a5412ccb754634cca91ce1f43fd30ed4e0ce Mon Sep 17 00:00:00 2001
From: Augustin Cavalier <waddlesplash@gmail.com>
Date: Sat, 10 Jan 2015 20:13:41 -0500
Subject: [PATCH] Modifications so Doxygen works on Haiku.
---
PLATFORMS | 1 +
configure | 3 +++
qtools/qglobal.h | 6 +++--
qtools/qthread_unix.cpp | 2 +-
src/doxygen.cpp | 2 +-
src/doxygen.pro.in | 11 ++++-----
tmake/lib/haiku-g++/app.t | 2 ++
tmake/lib/haiku-g++/lib.t | 2 ++
tmake/lib/haiku-g++/subdirs.t | 2 ++
tmake/lib/haiku-g++/tmake.conf | 51 ++++++++++++++++++++++++++++++++++++++++++
10 files changed, 73 insertions(+), 9 deletions(-)
create mode 100644 tmake/lib/haiku-g++/app.t
create mode 100644 tmake/lib/haiku-g++/lib.t
create mode 100644 tmake/lib/haiku-g++/subdirs.t
create mode 100644 tmake/lib/haiku-g++/tmake.conf
diff --git a/PLATFORMS b/PLATFORMS
index c358a1d..18c4ed5 100644
--- a/PLATFORMS
+++ b/PLATFORMS
@@ -4,6 +4,7 @@ beos-g++
dgux-g++
freebsd-g++
gnu-g++
+haiku-g++
hpux-acc
hpux-cc
hpux-g++
diff --git a/configure b/configure
index 07b0ef0..a4625e2 100755
--- a/configure
+++ b/configure
@@ -180,6 +180,9 @@ if test -z "$f_platform"; then
f_insttool=/usr/bin/install
fi
;;
+ Haiku:*)
+ f_platform=haiku-g++
+ ;;
HP-UX:*)
f_platform=hpux-g++
if test "$f_insttool" = NO; then
diff --git a/qtools/qglobal.h b/qtools/qglobal.h
index 352d985..20601e3 100644
--- a/qtools/qglobal.h
+++ b/qtools/qglobal.h
@@ -1,5 +1,5 @@
/****************************************************************************
-**
+**
**
** Global type declarations and definitions
**
@@ -153,6 +153,8 @@
#define _OS_CYGWIN_
#elif defined(__BEOS__)
#define _OS_BEOS_
+#elif defined(__HAIKU__)
+#define _OS_HAIKU_
#elif defined(__MINT__)
#define _OS_MINT_
#else
@@ -295,7 +297,7 @@
#define _CC_V2002
#else
#define _CC_V1998
-#endif
+#endif
#endif
#ifndef Q_PACKED
diff --git a/qtools/qthread_unix.cpp b/qtools/qthread_unix.cpp
index 5a7b788..0d4fd6e 100644
--- a/qtools/qthread_unix.cpp
+++ b/qtools/qthread_unix.cpp
@@ -124,7 +124,7 @@ void QThread::start()
pthread_attr_t attr;
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr,PTHREAD_CREATE_DETACHED);
- pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
+ //pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
if (d->stackSize>0)
{
#if defined(_POSIX_THREAD_ATTR_STACKSIZE) && (_POSIX_THREAD_ATTR_STACKSIZE-0>0)
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index b790410..117e639 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9566,7 +9566,7 @@ void readConfiguration(int argc, char **argv)
{
if (optind+4<argc || QFileInfo("Doxyfile").exists())
{
- QCString df = optind+4<argc ? argv[optind+4] : QCString("Doxyfile");
+ QCString df = optind+4<argc ? (QCString)argv[optind+4] : QCString("Doxyfile");
if (!Config::instance()->parse(df))
{
err("error opening or reading configuration file %s!\n",argv[optind+4]);
diff --git a/src/doxygen.pro.in b/src/doxygen.pro.in
index afdf242..bb64792 100644
--- a/src/doxygen.pro.in
+++ b/src/doxygen.pro.in
@@ -4,8 +4,8 @@
# Copyright (C) 1997-2011 by Dimitri van Heesch.
#
# Permission to use, copy, modify, and distribute this software and its
-# documentation under the terms of the GNU General Public License is hereby
-# granted. No representations are made about the suitability of this software
+# documentation under the terms of the GNU General Public License is hereby
+# granted. No representations are made about the suitability of this software
# for any purpose. It is provided "as is" without express or implied warranty.
# See the GNU General Public License for more details.
#
@@ -16,9 +16,10 @@
TEMPLATE = app.t
CONFIG = console warn_on $extraopts
-HEADERS = doxygen.h
-SOURCES = main.cpp
-unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread
+HEADERS = doxygen.h
+SOURCES = main.cpp
+unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
+haiku-g++:LIBS += -liconv
win32:INCLUDEPATH += .
win32-mingw:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread
win32-msvc:LIBS += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
diff --git a/tmake/lib/haiku-g++/app.t b/tmake/lib/haiku-g++/app.t
new file mode 100644
index 0000000..867725e
--- /dev/null
+++ b/tmake/lib/haiku-g++/app.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/app.t");
diff --git a/tmake/lib/haiku-g++/lib.t b/tmake/lib/haiku-g++/lib.t
new file mode 100644
index 0000000..2523b2f
--- /dev/null
+++ b/tmake/lib/haiku-g++/lib.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/lib.t");
diff --git a/tmake/lib/haiku-g++/subdirs.t b/tmake/lib/haiku-g++/subdirs.t
new file mode 100644
index 0000000..5e888af
--- /dev/null
+++ b/tmake/lib/haiku-g++/subdirs.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/subdirs.t");
diff --git a/tmake/lib/haiku-g++/tmake.conf b/tmake/lib/haiku-g++/tmake.conf
new file mode 100644
index 0000000..3b8c103
--- /dev/null
+++ b/tmake/lib/haiku-g++/tmake.conf
@@ -0,0 +1,51 @@
+#
+#
+#
+# tmake configuration for haiku-g++
+#
+
+TEMPLATE = app
+CONFIG = qt warn_on release
+
+TMAKE_CC = gcc
+TMAKE_CFLAGS =
+TMAKE_CFLAGS_WARN_ON = -Wall -W
+TMAKE_CFLAGS_WARN_OFF =
+TMAKE_CFLAGS_RELEASE =
+TMAKE_CFLAGS_DEBUG = -g
+TMAKE_CFLAGS_SHLIB = -fPIC
+TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+
+TMAKE_CXX = g++
+TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
+TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
+TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
+TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
+TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
+TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
+TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
+
+TMAKE_INCDIR =
+TMAKE_LIBDIR =
+TMAKE_INCDIR_QT = $(QTDIR)/include
+TMAKE_LIBDIR_QT = $(QTDIR)/lib
+
+TMAKE_LINK = g++
+TMAKE_LINK_SHLIB = g++
+TMAKE_LFLAGS = -Wl,-rpath=/lib:$(QTDIR)/lib
+TMAKE_LFLAGS_RELEASE =
+TMAKE_LFLAGS_DEBUG =
+TMAKE_LFLAGS_SHLIB = -shared
+TMAKE_LFLAGS_SONAME = -Wl,-soname,
+
+TMAKE_LIBS =
+TMAKE_LIBS_QT = -lqt
+TMAKE_LIBS_QT_MT = -lqt-mt
+
+TMAKE_MOC = moc
+
+TMAKE_AR = ar cqs
+TMAKE_RANLIB =
+
+TMAKE_TAR = tar -cf
+TMAKE_GZIP = gzip -9f
--
1.8.3.4

View File

@@ -27,7 +27,7 @@ PROVIDES="
cmd:rnano = $portVersion compat >= 2
"
REQUIRES="
haiku >= $haikuVersion
haiku
cmd:groff
lib:libncurses
"
@@ -35,7 +35,7 @@ BUILD_REQUIRES="
devel:libncurses
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:autoreconf
cmd:gcc
cmd:groff

View File

@@ -30,7 +30,7 @@ PROVIDES="
cmd:html2png$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
# lib:libavcodec$secondaryArchSuffix
@@ -44,7 +44,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix

View File

@@ -31,7 +31,7 @@ PROVIDES="
cmd:qemacs_pe2qe$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
# lib:libavcodec$secondaryArchSuffix
@@ -45,7 +45,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:which
cmd:make
cmd:gcc$secondaryArchSuffix

View File

@@ -1,4 +1,4 @@
SUMMARY="Vim is highly configurable text editor."
SUMMARY="A highly configurable text editor"
DESCRIPTION="
Vim is a highly configurable text editor built to enable efficient text \
editing. It is an improved version of the vi editor distributed with most UNIX \
@@ -36,7 +36,7 @@ PROVIDES="
cmd:xxd = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libncurses
lib:libintl
"
@@ -45,7 +45,7 @@ BUILD_REQUIRES="
gettext
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:make
cmd:autoconf
cmd:gcc

View File

@@ -50,7 +50,7 @@ REQUIRES="
# lib:libxpm$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
devel:libiconv$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
devel:libz$secondaryArchSuffix >= 1.2.8

View File

@@ -25,7 +25,7 @@ REQUIRES="
lib:libsdl_image_1.2
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libsdl_1.2 >= 0.10
devel:libSDL_image_1.2 >= 0.8.4
"

View File

@@ -19,7 +19,7 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
"
@@ -30,7 +30,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix

View File

@@ -28,7 +28,7 @@ REQUIRES="
lib:libgl
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libsdl
devel:libpng
devel:libxml2

View File

@@ -34,13 +34,13 @@ REQUIRES_devel="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku_devel
haiku${secondaryArchSuffix}_devel
cmd:libtoolize
cmd:autoconf
cmd:make

View File

@@ -57,7 +57,7 @@ PROVIDES="
PATCHES="qemu-2.0.0.patchset"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
@@ -75,7 +75,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix

View File

@@ -24,7 +24,7 @@ REQUIRES="
libsdl
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libsdl_1.2 >= 0.10
"
BUILD_PREREQUIRES="

View File

@@ -35,12 +35,12 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
lib:libz
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
devel:libz
"

View File

@@ -51,7 +51,7 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
@@ -67,7 +67,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix

View File

@@ -57,7 +57,7 @@ PROVIDES="
PATCHES="qemu-$portVersion.patchset"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
@@ -75,7 +75,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix

View File

@@ -54,7 +54,7 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
@@ -70,7 +70,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix

View File

@@ -1,4 +1,4 @@
SUMMARY="QEMU is a generic and open source machine emulator and virtualizer."
SUMMARY="A generic and open source machine emulator and virtualizer"
DESCRIPTION="
QEMU is a generic and open source machine emulator and virtualizer.
@@ -52,25 +52,22 @@ PROVIDES="
cmd:qemu_system_xtensa$secondaryArchSuffix = $portVersion
cmd:qemu_system_xtensaeb$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix >= 0.38
lib:libpixman_1$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libz$secondaryArchSuffix
devel:libfdt$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix >= 0.38
devel:libpixman_1${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix

View File

@@ -74,14 +74,14 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libgcc_s$secondaryArchSuffix
lib:libSDL2_2.0${secondaryArchSuffix}
#TODO:pcap
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
devel:libSDL2$secondaryArchSuffix
#TODO:pcap
"

View File

@@ -26,8 +26,10 @@ PROVIDES="
cmd:VBoxTray$secondaryArchSuffix = $portVersion
"
# TODO: POST_INSTALL_SCRIPTS=""
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
openssl$secondaryArchSuffix >= 1.0.0
lib:libiconv$secondaryArchSuffix
lib:libz$secondaryArchSuffix
@@ -45,8 +47,8 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
# required for kmk_* which are compiled with gcc4
haiku_x86 >= $haikuVersion
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku_x86
haiku${secondaryArchSuffix}_devel
cmd:mkisofs
cmd:grep
cmd:gcc$secondaryArchSuffix

View File

@@ -38,7 +38,7 @@ PROVIDES="
cmd:run_backdoor$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
@@ -50,7 +50,7 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
fi
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make

View File

@@ -1,33 +0,0 @@
SUMMARY="Japanese input system"
DESCRIPTION="
Anthy is a Japanese input method working on X11 and Emacs. \
It converts hiragana text to mixed kana and kanji. It is implemented as \
a library and stores private information securely in ~/.anthy/. Thus, \
Anthy is simple and secure (information is protected from spoofing and snooping).
"
HOMEPAGE="http://anthy.sourceforge.jp/"
SRC_URI="http://sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fanthy%2F37536%2Fanthy-9100h.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd anthy-9100h
libtoolize --force --copy --install
aclocal
autoconf
automake
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd anthy-9100h
make install
}
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2000-2007 TABATA Yusuke, UGAWA Tomoharu
2004-2006 YOSHIDA Yuichi
2000-2007 KMC(Kyoto University Micro Computer Club)
2001-2002 TAKAI Kosuke, Nobuoka Takahiro"

View File

@@ -0,0 +1,80 @@
SUMMARY="Japanese input system"
DESCRIPTION="
Anthy is a Japanese input method working on X11 and Emacs. \
It converts hiragana text to mixed kana and kanji. It is implemented as \
a library and stores private information securely in ~/.anthy/. Thus, \
Anthy is simple and secure (information is protected from spoofing and snooping).
"
HOMEPAGE="http://anthy.sourceforge.jp/"
SRC_URI="http://sourceforge.jp/frs/redir.php?f=%2Fanthy%2F37536%2Fanthy-9100h.tar.gz"
CHECKSUM_SHA256="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:sed
"
REQUIRES="
haiku
"
REQUIRES_devel="
haiku_devel
anthy == $portVersion base
"
PROVIDES="
anthy = $portVersion
cmd:anthy_agent = $portVersion
cmd:anthy_dic_tool = $portVersion
cmd:anthy_morphological_analyzer = $portVersion
lib:libanthy = 0.1.0 compat >= 0
lib:libanthydic = 0.1.0 compat >= 0
lib:libanthyinput = 0.0.0 compat >= 0
"
PROVIDES_devel="
anthy_devel = $portVersion
devel:libanthy = 0.1.0 compat >= 0
devel:libanthydic = 0.1.0 compat >= 0
devel:libanthyinput = 0.0.0 compat >= 0
"
GLOBAL_WRITABLE_FILES="
settings/anthy-conf auto-merge
"
PATCH()
{
sed -i 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' configure.ac
}
BUILD()
{
libtoolize --force --copy --install
aclocal
autoconf
automake
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs \
libanthy \
libanthydic \
libanthyinput
fixPkgconfig
packageEntries devel \
$developDir
}
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2000-2007 TABATA Yusuke, UGAWA Tomoharu
2004-2006 YOSHIDA Yuichi
2000-2007 KMC(Kyoto University Micro Computer Club)
2001-2002 TAKAI Kosuke, Nobuoka Takahiro"

View File

@@ -18,10 +18,10 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
"
BUILD_PREREQUIRES="
cmd:python

View File

@@ -33,14 +33,14 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:jam
"

View File

@@ -21,14 +21,14 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:gcc
cmd:jam
"

View File

@@ -27,11 +27,11 @@ if [ -z "$secondaryArchSuffix" ]; then
"
fi
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
haiku$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel
devel:libiconv$secondaryArchSuffix
"
BUILD_PREREQUIRES="

View File

@@ -20,13 +20,13 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
cmd:diff
cmd:perl
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:make
"

View File

@@ -19,12 +19,12 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
haiku
"
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku_devel
cmd:make
cmd:gcc
"

View File

@@ -0,0 +1,60 @@
SUMMARY="Program for calculating and printing calendars"
DESCRIPTION="
Gcal is a program for calculating and printing calendars. Gcal displays hybrid \
and proleptic Julian and Gregorian calendar sheets, respectively for one month, \
three months, or a whole year. It also displays eternal holiday lists for many \
countries around the globe, and features a very powerful creation of fixed date \
lists that can be used for reminding purposes.
"
HOMEPAGE="http://www.gnu.org/software/gcal/"
SRC_URI="http://ftp.gnu.org/gnu/gcal/gcal-3.6.3.tar.gz"
CHECKSUM_SHA256="9d9be60841150a5c60e27fc5e0f2c06c06635ac44c18698d6a48ef7bb47ba86d"
LICENSE="GNU GPL v3"
REVISION="1"
COPYRIGHT="1994-2013 Free Software Foundation Inc."
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
gcal = $portVersion
cmd:gcal
cmd:cal
cmd:gcal2txt
cmd:tcal
cmd:txt2gcal
"
REQUIRES="
haiku
lib:libintl
"
BUILD_PREREQUIRES="
cmd:grep
cmd:make
cmd:sed
cmd:gcc
cmd:awk
"
BUILD_REQUIRES="
haiku_devel
devel:libintl
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
ln -s $binDir/gcal $binDir/cal
}
TEST()
{
make check
}

Some files were not shown because too many files have changed in this diff Show More