mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Remove all bep-format recipes for which an actual recipe exists.
Closes #1244.
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
SUMMARY="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 and communication, features a versatile key management system as \
|
||||
well as access modules for all kinds of public key directories. GnuPG, also \
|
||||
known as GPG, is a command line tool with features for easy integration with \
|
||||
other applications."
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SOURCE_URI="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.10.tar.bz2"
|
||||
CHECKSUM_MD5="dcf7ed712997888d616e029637bfc303"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd gnupg-1.4.10
|
||||
libtoolize --force --copy --install
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd gnupg-1.4.10
|
||||
make install
|
||||
}
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1998-2009 Free Software Foundation, Inc."
|
||||
@@ -1,27 +0,0 @@
|
||||
diff -up gnupg-1.4.10/configure.ac.orig gnupg-1.4.10/configure.ac
|
||||
--- gnupg-1.4.10/configure.ac.orig 2010-02-17 15:06:58.390594560 -0700
|
||||
+++ gnupg-1.4.10/configure.ac 2010-02-17 15:07:20.451936256 -0700
|
||||
@@ -657,6 +657,8 @@ dnl be detected.
|
||||
|
||||
AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname,
|
||||
[NETLIBS="-lnsl $NETLIBS"]))
|
||||
+AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(network, gethostbyname,
|
||||
+ [NETLIBS="-lnetwork $NETLIBS"]))
|
||||
AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt,
|
||||
[NETLIBS="-lsocket $NETLIBS"]))
|
||||
|
||||
diff -up gnupg-1.4.10/util/dotlock.c.orig gnupg-1.4.10/util/dotlock.c
|
||||
--- gnupg-1.4.10/util/dotlock.c.orig 2010-02-17 15:07:04.697040896 -0700
|
||||
+++ gnupg-1.4.10/util/dotlock.c 2010-02-17 15:07:12.601620480 -0700
|
||||
@@ -432,7 +432,11 @@ make_dotlock( DOTLOCK h, long timeout )
|
||||
{
|
||||
#ifndef HAVE_DOSISH_SYSTEM
|
||||
# ifndef __riscos__
|
||||
+# ifdef __HAIKU__
|
||||
+ if( !symlink(h->tname, h->lockname) )
|
||||
+# else
|
||||
if( !link(h->tname, h->lockname) )
|
||||
+# endif
|
||||
{
|
||||
/* fixme: better use stat to check the link count */
|
||||
h->locked = 1;
|
||||
@@ -1,27 +0,0 @@
|
||||
SUMMARY="The GNU Bourne Again Shell"
|
||||
DESCRIPTION="
|
||||
Bash is an sh-compatible command language interpreter that \
|
||||
executes commands read from the standard input or from a file. Bash also \
|
||||
incorporates useful features from the Korn and C shells (ksh and csh).
|
||||
"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SOURCE_URI="ftp://ftp.gnu.org/gnu/bash/bash-4.1.tar.gz"
|
||||
CHECKSUM_MD5="9800d8724815fd84994d9be65ab5e7b8"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd bash-4.1
|
||||
./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd bash-4.1
|
||||
make install DESTDIR=${DESTDIR}
|
||||
}
|
||||
MESSAGE="Bash does not compile as is on GCC2. Sorry. Patches from Haiku may fix this eventually."
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1989, Brian Fox; 2010, Chet Ramey"
|
||||
@@ -1,27 +0,0 @@
|
||||
DESCRIPTION="A generic game engine for 2D double-buffering animation"
|
||||
HOMEPAGE="http://sarrazip.com/dev/burgerspace.html"
|
||||
SOURCE_URI="http://perso.b2b2c.ca/sarrazip/dev/flatzebra-0.1.3.tar.gz"
|
||||
CHECKSUM_MD5="4f595c64e4ef2c82a2da4d420eacea1a"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="media-libs/libsdl >= 1.2.4
|
||||
media-libs/libsdl_image >= 1.2.2
|
||||
media-libs/libsdl_mixer >= 1.2.4"
|
||||
BUILD()
|
||||
{
|
||||
cd flatzebra-0.1.3
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I macros
|
||||
autoconf
|
||||
automake
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd flatzebra-0.1.3
|
||||
make install
|
||||
}
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2009 Pierre Sarrazin."
|
||||
@@ -1,86 +0,0 @@
|
||||
diff -Naur flatzebra-0.1.3/flatzebra-0.1.spec flatzebra-0.1.3-haiku/flatzebra-0.1.spec
|
||||
--- flatzebra-0.1.3/flatzebra-0.1.spec 2009-06-22 01:14:32.000000000 +0000
|
||||
+++ flatzebra-0.1.3-haiku/flatzebra-0.1.spec 1970-01-01 00:00:00.000000000 +0000
|
||||
@@ -1,82 +0,0 @@
|
||||
-# $Id: flatzebra-0.1.spec.in,v 1.3 2009/02/27 02:17:20 sarrazip Exp $
|
||||
-# RPM specification file.
|
||||
-
|
||||
-# Release number can be specified with rpm --define 'rel SOMETHING' ...
|
||||
-# If no such --define is used, the release number is 1.
|
||||
-#
|
||||
-# Source archive's extension can be specified with rpm --define 'srcext .foo'
|
||||
-# where .foo is the source archive's actual extension.
|
||||
-# To compile an RPM from a .bz2 source archive, give the command
|
||||
-# rpmbuild -ta --define 'srcext .bz2' flatzebra-0.1.3.tar.bz2
|
||||
-#
|
||||
-%if %{?rel:0}%{!?rel:1}
|
||||
-%define rel 1
|
||||
-%endif
|
||||
-%if %{?srcext:0}%{!?srcext:1}
|
||||
-%define srcext .gz
|
||||
-%endif
|
||||
-
|
||||
-Summary: A generic game engine for 2D double-buffering animation
|
||||
-Name: flatzebra
|
||||
-Version: 0.1.3
|
||||
-Release: %{rel}
|
||||
-License: GPL
|
||||
-Group: Amusements/Games
|
||||
-Source: %{name}-%{version}.tar%{srcext}
|
||||
-URL: http://sarrazip.com/dev/burgerspace.html
|
||||
-Prefix: /usr
|
||||
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
-BuildRequires: SDL-devel >= 1.2.4
|
||||
-BuildRequires: SDL_image-devel >= 1.2.2
|
||||
-BuildRequires: SDL_mixer-devel >= 1.2.4
|
||||
-Requires: SDL >= 1.2.4
|
||||
-Requires: SDL_image >= 1.2.2
|
||||
-Requires: SDL_mixer >= 1.2.4
|
||||
-
|
||||
-%description
|
||||
-Generic Game Engine library used by BurgerSpace et al.
|
||||
-
|
||||
-%description -l fr
|
||||
-Moteur de jeu générique utilisé par BurgerSpace et al.
|
||||
-
|
||||
-%package devel
|
||||
-Summary: C++ header files for the flatzebra library
|
||||
-Group: Development/Libraries
|
||||
-Requires: flatzebra = 0.1.3
|
||||
-
|
||||
-%description devel
|
||||
-C++ header files for the flatzebra library.
|
||||
-
|
||||
-%description -l fr devel
|
||||
-En-têtes C++ pour la librairie flatzebra.
|
||||
-
|
||||
-
|
||||
-%prep
|
||||
-%setup -q
|
||||
-
|
||||
-%build
|
||||
-%configure
|
||||
-make %{?_smp_mflags}
|
||||
-
|
||||
-%install
|
||||
-rm -fR "$RPM_BUILD_ROOT"
|
||||
-make install DESTDIR="$RPM_BUILD_ROOT" INSTALL="%{__install} -p"
|
||||
-
|
||||
-%clean
|
||||
-rm -fR $RPM_BUILD_ROOT
|
||||
-
|
||||
-%post -p /sbin/ldconfig
|
||||
-
|
||||
-%postun -p /sbin/ldconfig
|
||||
-
|
||||
-%files
|
||||
-%defattr(-, root, root)
|
||||
-%{_libdir}/lib*.so.*
|
||||
-%doc %{_defaultdocdir}/*
|
||||
-
|
||||
-%files devel
|
||||
-%defattr(-, root, root)
|
||||
-%{_includedir}/*
|
||||
-%{_libdir}/lib*.so
|
||||
-%{_prefix}/lib/lib*.la
|
||||
-%{_libdir}/pkgconfig/*
|
||||
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
HOMEPAGE="http://www.freepascal.org"
|
||||
SOURCE_URI="ftp://ftp.freepascal.org/pub/fpc/dist/2.4.0/source/fpc-2.4.0.source.tar.gz"
|
||||
CHECKSUM_MD5="34340820710239bea2ceca7f43ef8cab"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="unstable"
|
||||
DEPEND=""
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd fpc-2.4.0
|
||||
make
|
||||
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd fpc-2.4.0
|
||||
make install
|
||||
|
||||
}
|
||||
#LICENSE=""
|
||||
#COPYRIGHT=""
|
||||
@@ -1,41 +0,0 @@
|
||||
DESCRIPTION="An open source compiler for pascal and object pascal"
|
||||
HOMEPAGE="http://www.freepascal.org"
|
||||
SOURCE_URI="ftp://ftp.freepascal.org/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
||||
http://fpc.planetmirror.com/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
||||
ftp://gd.tuwien.ac.at/languages/pascal/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
||||
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
||||
http://mirror.mirimar.net/freepascal/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
||||
ftp://freepascal.stack.nl/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
||||
ftp://ftp.no.freepascal.org/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
||||
ftp://ftp.chg.ru/pub/lang/pascal/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz"
|
||||
|
||||
CHECKSUM_MD5="0edf0d6f52e1e3fd6ef6836431f4d13b"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="untested"
|
||||
DEPEND="dev-lang/fpc"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd fpc-2.6.0
|
||||
make build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd fpc-2.6.0
|
||||
make install INSTALL_PREFIX=${DESTDIR}`finddir B_USER_CONFIG_DIRECTORY` \
|
||||
FPCDIR=${DESTDIR}`finddir B_USER_LIB_DIRECTORY`/fpc/2.6.0
|
||||
# Make link to the ppc386 executable
|
||||
ln -fs ${DESTDIR}`finddir B_USER_LIB_DIRECTORY`/fpc/2.6.0/ppc386 \
|
||||
${DESTDIR}`finddir B_USER_CONFIG_DIRECTORY`/bin
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd fpc-2.6.0/tests
|
||||
make full TEST_FPC=${DESTDIR}`finddir B_USER_CONFIG_DIRECTORY`/bin/fpc
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v3
|
||||
GNU GPL v3"
|
||||
COPYRIGHT="1993-2011 by Florian Klaempfl"
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,49 +0,0 @@
|
||||
DESCRIPTION="V8 is Google's open source JavaScript engine."
|
||||
HOMEPAGE="https://code.google.com/p/v8/"
|
||||
SOURCE_URI="svn+http://v8.googlecode.com/svn/trunk/#13067"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="unstable"
|
||||
DEPEND=""
|
||||
#CHECKSUM_MD5=""
|
||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||
BUILD()
|
||||
{
|
||||
gyp_patch_path=$(dirname ${PWD})/patches/gyp-r1501.patch
|
||||
cd v8-r13067
|
||||
cd build
|
||||
svn co http://gyp.googlecode.com/svn/trunk/@1501 gyp
|
||||
cd gyp
|
||||
patch -p1 -i $gyp_patch_path
|
||||
cd ../..
|
||||
make library=shared ia32.debug
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd v8-r13067
|
||||
make ia32.debug.check
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd v8-r13067
|
||||
includedir=${DESTDIR}/`finddir B_COMMON_HEADERS_DIRECTORY`/v8
|
||||
mkdir -p ${includedir}
|
||||
cp -R ./include/* ${includedir}
|
||||
libdir=${DESTDIR}/`finddir B_COMMON_LIB_DIRECTORY`
|
||||
mkdir -p ${libdir}
|
||||
cp -R ./out/ia32.debug/obj.target/tools/gyp/*.a ${libdir}
|
||||
cp -R ./out/ia32.debug/obj.target/tools/gyp/*.so ${libdir}
|
||||
bindir=${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`/v8
|
||||
mkdir -p ${bindir}
|
||||
cp ./out/ia32.debug/cctest ${bindir}
|
||||
cp ./out/ia32.debug/d8 ${bindir}
|
||||
cp ./out/ia32.debug/lineprocessor ${bindir}
|
||||
cp ./out/ia32.debug/mksnapshot ${bindir}
|
||||
cp ./out/ia32.debug/preparser ${bindir}
|
||||
cp ./out/ia32.debug/process ${bindir}
|
||||
cp ./out/ia32.debug/shell ${bindir}
|
||||
}
|
||||
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="2006-2012 The V8 Project Authors"
|
||||
@@ -1,36 +0,0 @@
|
||||
DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector"
|
||||
HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
|
||||
SOURCE_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2alpha6.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
CHECKSUM_MD5="319d0b18cc4eb735c8038ece9df055e4"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd gc-7.2alpha6
|
||||
libtoolize --force --copy --install
|
||||
autoconf -f
|
||||
./configure --prefix=$(finddir B_COMMON_DIRECTORY) \
|
||||
--datadir=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY) \
|
||||
--enable-threads=posix --enable-thread-local-alloc --enable-parallel-mark
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd gc-7.2alpha6
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd gc-7.2alpha6
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="BOEHM"
|
||||
COPYRIGHT="1988, 1989 Hans-J. Boehm, Alan J. Demers
|
||||
1991-1996 by Xerox Corporation. All rights reserved.
|
||||
1996-1999 by Silicon Graphics. All rights reserved.
|
||||
1999-2004 Hewlett-Packard Development Company, L.P."
|
||||
@@ -1,247 +0,0 @@
|
||||
diff -ru gc-7.2alpha6-orig/configure.ac gc-7.2alpha6/configure.ac
|
||||
--- gc-7.2alpha6-orig/configure.ac 2011-06-14 12:34:55.000000000 +0000
|
||||
+++ gc-7.2alpha6/configure.ac 2012-03-16 00:46:16.500695040 +0000
|
||||
@@ -83,6 +83,7 @@
|
||||
AH_TEMPLATE([GC_DARWIN_THREADS], [Define to support Darwin pthreads.])
|
||||
AH_TEMPLATE([GC_FREEBSD_THREADS], [Define to support FreeBSD pthreads.])
|
||||
AH_TEMPLATE([GC_GNU_THREADS], [Define to support GNU pthreads.])
|
||||
+AH_TEMPLATE([GC_HAIKU_THREADS], [Define to support Haiku pthreads.])
|
||||
AH_TEMPLATE([GC_HPUX_THREADS], [Define to support HP/UX 11 pthreads.])
|
||||
AH_TEMPLATE([GC_IRIX_THREADS], [Define to support Irix pthreads.])
|
||||
AH_TEMPLATE([GC_LINUX_THREADS], [Define to support pthreads on Linux.])
|
||||
@@ -127,6 +128,10 @@
|
||||
AC_DEFINE(GC_AIX_THREADS)
|
||||
AC_DEFINE(_REENTRANT)
|
||||
;;
|
||||
+ *-*-haiku*)
|
||||
+ AC_DEFINE(GC_HAIKU_THREADS)
|
||||
+ AC_DEFINE(_REENTRANT)
|
||||
+ ;;
|
||||
*-*-hpux11*)
|
||||
AC_MSG_WARN("Only HP/UX 11 POSIX threads are supported.")
|
||||
AC_DEFINE(GC_HPUX_THREADS)
|
||||
diff -ru gc-7.2alpha6-orig/dyn_load.c gc-7.2alpha6/dyn_load.c
|
||||
--- gc-7.2alpha6-orig/dyn_load.c 2011-05-31 15:27:11.000000000 +0000
|
||||
+++ gc-7.2alpha6/dyn_load.c 2012-03-23 22:11:06.758906880 +0000
|
||||
@@ -63,7 +63,7 @@
|
||||
!(defined(FREEBSD) && defined(__ELF__)) && \
|
||||
!(defined(OPENBSD) && (defined(__ELF__) || defined(M68K))) && \
|
||||
!(defined(NETBSD) && defined(__ELF__)) && !defined(HURD) && \
|
||||
- !defined(DARWIN) && !defined(CYGWIN32)
|
||||
+ !defined(DARWIN) && !defined(CYGWIN32) && !defined(HAIKU)
|
||||
--> We only know how to find data segments of dynamic libraries for the
|
||||
--> above. Additional SVR4 variants might not be too
|
||||
--> hard to add.
|
||||
@@ -1419,6 +1419,22 @@
|
||||
|
||||
#endif /* DARWIN */
|
||||
|
||||
+#ifdef HAIKU
|
||||
+#include <kernel/image.h>
|
||||
+
|
||||
+GC_INNER void GC_register_dynamic_libraries()
|
||||
+{
|
||||
+ image_info info;
|
||||
+ int32 cookie = 0;
|
||||
+ while (get_next_image_info(0, &cookie, &info) == B_OK)
|
||||
+ {
|
||||
+ void *data = info.data;
|
||||
+ GC_add_roots_inner(data, data + info.data_size, TRUE);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+#endif /* HAIKU */
|
||||
+
|
||||
#elif defined(PCR)
|
||||
|
||||
# include "il/PCR_IL.h"
|
||||
diff -ru gc-7.2alpha6-orig/include/gc_config_macros.h gc-7.2alpha6/include/gc_config_macros.h
|
||||
--- gc-7.2alpha6-orig/include/gc_config_macros.h 2011-04-24 13:09:21.000000000 +0000
|
||||
+++ gc-7.2alpha6/include/gc_config_macros.h 2012-03-16 00:44:30.556793856 +0000
|
||||
@@ -65,7 +65,7 @@
|
||||
|| defined(GC_IRIX_THREADS) || defined(GC_LINUX_THREADS) \
|
||||
|| defined(GC_NETBSD_THREADS) || defined(GC_OPENBSD_THREADS) \
|
||||
|| defined(GC_OSF1_THREADS) || defined(GC_SOLARIS_THREADS) \
|
||||
- || defined(GC_WIN32_THREADS)
|
||||
+ || defined(GC_WIN32_THREADS) || defined(GC_HAIKU_THREADS)
|
||||
# ifndef GC_THREADS
|
||||
# define GC_THREADS
|
||||
# endif
|
||||
diff -ru gc-7.2alpha6-orig/include/private/config.h.in gc-7.2alpha6/include/private/config.h.in
|
||||
--- gc-7.2alpha6-orig/include/private/config.h.in 2010-09-11 11:27:06.000000000 +0000
|
||||
+++ gc-7.2alpha6/include/private/config.h.in 2012-03-16 00:49:30.038273024 +0000
|
||||
@@ -45,6 +45,9 @@
|
||||
/* Define to support GNU pthreads. */
|
||||
#undef GC_GNU_THREADS
|
||||
|
||||
+/* Define to support Haiku pthreads. */
|
||||
+#undef GC_HAIKU_THREADS
|
||||
+
|
||||
/* Define if backtrace information is supported. */
|
||||
#undef GC_HAVE_BUILTIN_BACKTRACE
|
||||
|
||||
Only in gc-7.2alpha6/include/private: config.h.in~
|
||||
diff -ru gc-7.2alpha6-orig/include/private/gcconfig.h gc-7.2alpha6/include/private/gcconfig.h
|
||||
--- gc-7.2alpha6-orig/include/private/gcconfig.h 2011-05-31 15:27:12.000000000 +0000
|
||||
+++ gc-7.2alpha6/include/private/gcconfig.h 2012-03-23 22:28:55.210501632 +0000
|
||||
@@ -234,6 +234,11 @@
|
||||
# define BEOS
|
||||
# define mach_type_known
|
||||
# endif
|
||||
+# if defined(__HAIKU__) && defined(_X86_)
|
||||
+# define I386
|
||||
+# define HAIKU
|
||||
+# define mach_type_known
|
||||
+# endif
|
||||
# if defined(OPENBSD) && defined(__amd64__)
|
||||
# define X86_64
|
||||
# define mach_type_known
|
||||
@@ -1110,6 +1115,15 @@
|
||||
extern int etext[];
|
||||
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
|
||||
# endif
|
||||
+# ifdef HAIKU
|
||||
+# define OS_TYPE "HAIKU"
|
||||
+# include <OS.h>
|
||||
+# define GETPAGESIZE() B_PAGE_SIZE
|
||||
+ extern int etext[];
|
||||
+# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
|
||||
+# define DYNAMIC_LOADING
|
||||
+# define MPROTECT_VDB
|
||||
+# endif
|
||||
# ifdef SOLARIS
|
||||
# define OS_TYPE "SOLARIS"
|
||||
extern int _etext[], _end[];
|
||||
@@ -2345,7 +2359,7 @@
|
||||
#if defined(SVR4) || defined(LINUX) || defined(IRIX5) || defined(HPUX) \
|
||||
|| defined(OPENBSD) || defined(NETBSD) || defined(FREEBSD) \
|
||||
|| defined(DGUX) || defined(BSD) || defined(HURD) \
|
||||
- || defined(AIX) || defined(DARWIN) || defined(OSF1)
|
||||
+ || defined(AIX) || defined(DARWIN) || defined(OSF1) || defined(HAIKU)
|
||||
# define UNIX_LIKE /* Basic Unix-like system calls work. */
|
||||
#endif
|
||||
|
||||
@@ -2423,7 +2437,8 @@
|
||||
|
||||
#if ((defined(UNIX_LIKE) && (defined(DARWIN) || defined(HURD) \
|
||||
|| defined(OPENBSD) || defined(ARM32) \
|
||||
- || defined(MIPS) || defined(AVR32))) \
|
||||
+ || defined(MIPS) || defined(AVR32) \
|
||||
+ || defined(HAIKU))) \
|
||||
|| (defined(LINUX) && (defined(SPARC) || defined(M68K))) \
|
||||
|| (defined(RTEMS) && defined(I386))) && !defined(NO_GETCONTEXT)
|
||||
# define NO_GETCONTEXT
|
||||
@@ -2721,6 +2736,9 @@
|
||||
# elif defined(SN_TARGET_PS3)
|
||||
void *ps3_get_mem(size_t size);
|
||||
# define GET_MEM(bytes) (struct hblk*)ps3_get_mem(bytes)
|
||||
+# elif defined(HAIKU)
|
||||
+ ptr_t GC_haiku_get_mem(GC_word bytes);
|
||||
+# define GET_MEM(bytes) (struct hblk*)GC_haiku_get_mem(bytes)
|
||||
# else
|
||||
ptr_t GC_unix_get_mem(GC_word bytes);
|
||||
# define GET_MEM(bytes) (struct hblk *)GC_unix_get_mem(bytes)
|
||||
diff -ru gc-7.2alpha6-orig/include/private/thread_local_alloc.h gc-7.2alpha6/include/private/thread_local_alloc.h
|
||||
--- gc-7.2alpha6-orig/include/private/thread_local_alloc.h 2011-05-13 14:40:31.000000000 +0000
|
||||
+++ gc-7.2alpha6/include/private/thread_local_alloc.h 2012-03-16 00:55:25.252706816 +0000
|
||||
@@ -47,7 +47,7 @@
|
||||
# define USE_COMPILER_TLS
|
||||
# elif defined(GC_DGUX386_THREADS) || defined(GC_OSF1_THREADS) \
|
||||
|| defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS) \
|
||||
- || defined(GC_NETBSD_THREADS)
|
||||
+ || defined(GC_NETBSD_THREADS) || defined(GC_HAIKU_THREADS)
|
||||
# define USE_PTHREAD_SPECIFIC
|
||||
# elif defined(GC_HPUX_THREADS)
|
||||
# ifdef __GNUC__
|
||||
diff -ru gc-7.2alpha6-orig/os_dep.c gc-7.2alpha6/os_dep.c
|
||||
--- gc-7.2alpha6-orig/os_dep.c 2011-05-31 15:27:11.000000000 +0000
|
||||
+++ gc-7.2alpha6/os_dep.c 2012-03-23 22:32:31.656932864 +0000
|
||||
@@ -790,7 +790,7 @@
|
||||
}
|
||||
#endif /* !MSWIN32 */
|
||||
|
||||
-#ifdef BEOS
|
||||
+#if defined(BEOS) || defined(HAIKU)
|
||||
# include <kernel/OS.h>
|
||||
|
||||
GC_API int GC_CALL GC_get_stack_base(struct GC_stack_base *sb)
|
||||
@@ -801,7 +801,7 @@
|
||||
return GC_SUCCESS;
|
||||
}
|
||||
# define HAVE_GET_STACK_BASE
|
||||
-#endif /* BEOS */
|
||||
+#endif /* BEOS || HAIKU */
|
||||
|
||||
#ifdef OS2
|
||||
GC_API int GC_CALL GC_get_stack_base(struct GC_stack_base *sb)
|
||||
@@ -1127,7 +1127,7 @@
|
||||
# define GET_MAIN_STACKBASE_SPECIAL
|
||||
#elif !defined(BEOS) && !defined(AMIGA) && !defined(OS2) \
|
||||
&& !defined(MSWIN32) && !defined(MSWINCE) && !defined(CYGWIN32) \
|
||||
- && !defined(GC_OPENBSD_THREADS) \
|
||||
+ && !defined(GC_OPENBSD_THREADS) && !defined(HAIKU) \
|
||||
&& (!defined(GC_SOLARIS_THREADS) || defined(_STRICT_STDC))
|
||||
|
||||
# if defined(LINUX) && defined(USE_GET_STACKBASE_FOR_MAIN)
|
||||
@@ -1977,7 +1977,7 @@
|
||||
# if !defined(OS2) && !defined(PCR) && !defined(AMIGA) && !defined(MSWIN32) \
|
||||
&& !defined(MSWINCE) && !defined(MACOS) && !defined(DOS4GW) \
|
||||
&& !defined(NONSTOP) && !defined(SN_TARGET_PS3) && !defined(RTEMS) \
|
||||
- && !defined(__CC_ARM)
|
||||
+ && !defined(__CC_ARM) && !defined(HAIKU)
|
||||
|
||||
# define SBRK_ARG_T ptrdiff_t
|
||||
|
||||
@@ -2302,6 +2302,19 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
+#ifdef HAIKU
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
+ptr_t GC_haiku_get_mem(word bytes)
|
||||
+{
|
||||
+ void* mem;
|
||||
+ if (posix_memalign(&mem, GC_page_size, bytes) == 0)
|
||||
+ return mem;
|
||||
+ else
|
||||
+ return NULL;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
#ifdef USE_MUNMAP
|
||||
|
||||
/* For now, this only works on Win32/WinCE and some Unix-like */
|
||||
@@ -2903,7 +2916,9 @@
|
||||
# elif !defined(MSWIN32) && !defined(MSWINCE)
|
||||
# include <sys/mman.h>
|
||||
# include <signal.h>
|
||||
-# include <sys/syscall.h>
|
||||
+# if !defined(HAIKU)
|
||||
+# include <sys/syscall.h>
|
||||
+# endif
|
||||
|
||||
# define PROTECT(addr, len) \
|
||||
if (mprotect((caddr_t)(addr), (size_t)(len), \
|
||||
@@ -3062,6 +3077,8 @@
|
||||
/* Empirically c.trapno == 14, on IA32, but is that useful? */
|
||||
/* Should probably consider alignment issues on other */
|
||||
/* architectures. */
|
||||
+# elif defined(HAIKU)
|
||||
+# define CODE_OK TRUE
|
||||
# elif defined(HPUX)
|
||||
# define CODE_OK (si -> si_code == SEGV_ACCERR \
|
||||
|| si -> si_code == BUS_ADRERR \
|
||||
diff -ru gc-7.2alpha6-orig/pthread_support.c gc-7.2alpha6/pthread_support.c
|
||||
--- gc-7.2alpha6-orig/pthread_support.c 2011-05-31 15:27:11.000000000 +0000
|
||||
+++ gc-7.2alpha6/pthread_support.c 2012-03-16 00:39:06.171442176 +0000
|
||||
@@ -938,7 +938,8 @@
|
||||
GC_nprocs = pthread_num_processors_np();
|
||||
# elif defined(GC_OSF1_THREADS) || defined(GC_AIX_THREADS) \
|
||||
|| defined(GC_SOLARIS_THREADS) || defined(GC_GNU_THREADS) \
|
||||
- || defined(PLATFORM_ANDROID) || defined(NACL)
|
||||
+ || defined(PLATFORM_ANDROID) || defined(NACL) \
|
||||
+ || defined(GC_HAIKU_THREADS)
|
||||
GC_nprocs = sysconf(_SC_NPROCESSORS_ONLN);
|
||||
if (GC_nprocs <= 0) GC_nprocs = 1;
|
||||
# elif defined(GC_IRIX_THREADS)
|
||||
@@ -1,33 +0,0 @@
|
||||
DESCRIPTION="
|
||||
libdwarf and dwarfdump - library and utility for working with DWARF Debugging \
|
||||
Information Format.
|
||||
"
|
||||
HOMEPAGE="http://reality.sgiweb.org/davea/dwarf.html"
|
||||
SOURCE_URI="http://reality.sgiweb.org/davea/libdwarf-20120410.tar.gz"
|
||||
CHECKSUM_MD5="77c8b351f11738bc9fa50474a69d5b36"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-libs/libelf >= 0.8.13"
|
||||
BUILD()
|
||||
{
|
||||
cd dwarf-20120410/libdwarf
|
||||
./configure --enable-shared --prefix=$(finddir B_COMMON_DIRECTORY)
|
||||
make
|
||||
cd ../dwarfdump
|
||||
LDFLAGS="-L../libdwarf -L/boot/common/lib" ./configure --prefix=$(finddir B_COMMON_DIRECTORY)
|
||||
LIBRARY_PATH=$LIBRARY_PATH:../libdwarf/ make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd dwarf-20120410/libdwarf
|
||||
make install
|
||||
cd ../dwarfdump
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2
|
||||
GNU LGPL v2.1"
|
||||
COPYRIGHT="2000,2002,2004,2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
2007-2010 David Anderson. All Rights Reserved.
|
||||
2007-2010 Sun Microsystems, Inc. All rights reserved"
|
||||
@@ -1,67 +0,0 @@
|
||||
diff -urN dwarf-20120410/dwarfdump/dwarfdump.c dwarf-20120410-c89/dwarfdump/dwarfdump.c
|
||||
--- dwarf-20120410/dwarfdump/dwarfdump.c 2012-04-10 18:48:29.043515904 +0000
|
||||
+++ dwarf-20120410-c89/dwarfdump/dwarfdump.c 2012-09-04 21:36:54.000000000 +0000
|
||||
@@ -1320,9 +1320,9 @@
|
||||
case 'S':
|
||||
/* -S option: strings for 'any' and 'match' */
|
||||
{
|
||||
+ const char *tempstr = 0;
|
||||
boolean err = TRUE;
|
||||
search_is_on = TRUE;
|
||||
- const char *tempstr = 0;
|
||||
/* -S text */
|
||||
if (strncmp(optarg,"match=",6) == 0) {
|
||||
|
||||
diff -urN dwarf-20120410/dwarfdump/print_die.c dwarf-20120410-c89/dwarfdump/print_die.c
|
||||
--- dwarf-20120410/dwarfdump/print_die.c 2012-04-10 18:48:29.038010880 +0000
|
||||
+++ dwarf-20120410-c89/dwarfdump/print_die.c 2012-09-04 21:39:20.000000000 +0000
|
||||
@@ -2257,8 +2257,8 @@
|
||||
/* Follow reference chain, looking for self references */
|
||||
res = dwarf_offdie_b(dbg,ref_off,is_info,&ref_die,&err);
|
||||
if (res == DW_DLV_OK) {
|
||||
- ++die_indent_level;
|
||||
struct esb_s copy_base;
|
||||
+ ++die_indent_level;
|
||||
if (dump_visited_info) {
|
||||
Dwarf_Off off;
|
||||
dwarf_die_CU_offset(die, &off, &err);
|
||||
diff -urN dwarf-20120410/libdwarf/gennames.c dwarf-20120410-c89/libdwarf/gennames.c
|
||||
--- dwarf-20120410/libdwarf/gennames.c 2012-04-10 18:48:29.002359296 +0000
|
||||
+++ dwarf-20120410-c89/libdwarf/gennames.c 2012-09-04 21:20:40.000000000 +0000
|
||||
@@ -486,8 +486,8 @@
|
||||
|
||||
/* Process each line from 'dwarf.h' */
|
||||
while (!feof(f_dwarf_in)) {
|
||||
- errno = 0;
|
||||
char *fgbad = fgets(line_in,sizeof(line_in),f_dwarf_in);
|
||||
+ errno = 0;
|
||||
if(!fgbad) {
|
||||
if(feof(f_dwarf_in)) {
|
||||
break;
|
||||
diff -urN dwarf-20120410/libdwarf/Makefile.in dwarf-20120410-c89/libdwarf/Makefile.in
|
||||
--- dwarf-20120410/libdwarf/Makefile.in 2012-04-10 18:48:29.002359296 +0000
|
||||
+++ dwarf-20120410-c89/libdwarf/Makefile.in 2012-09-04 21:28:30.000000000 +0000
|
||||
@@ -46,8 +46,9 @@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
-bindir = $(exec_prefix)/bin
|
||||
-libdir = $(exec_prefix)/lib
|
||||
+bindir = $(DESTDIR)$(prefix)/bin
|
||||
+libdir = $(DESTDIR)$(prefix)/lib
|
||||
+incdir = $(DESTDIR)$(prefix)/include/libdwarf
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -213,7 +214,10 @@
|
||||
rm -f dwarf_names_enum.h dwarf_names_new.h dwarf_names.c dwarf_names.h
|
||||
|
||||
install: all
|
||||
- echo "No install provided, see comments in the README"
|
||||
+ install -m 0755 -d $(incdir)
|
||||
+ install -m 0755 libdwarf.h $(incdir)
|
||||
+ install -m 0755 dwarf.h $(incdir)
|
||||
+ install -m 0755 libdwarf.so $(libdir)
|
||||
|
||||
distclean: clean
|
||||
rm -f config.status config.log config.cache config.h
|
||||
@@ -1,21 +0,0 @@
|
||||
DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
|
||||
HOMEPAGE="http://www.call-with-current-continuation.org/"
|
||||
SOURCE_URI="http://chicken.wiki.br/releases/4.5.0/chicken-4.5.0.tar.gz"
|
||||
CHECKSUM_MD5="753aea676a18c8dc0161dfb4d1717e20"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd chicken-4.5.0
|
||||
make PLATFORM=haiku PREFIX=/boot/common
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd chicken-4.5.0
|
||||
make PLATFORM=haiku PREFIX=/boot/common install
|
||||
}
|
||||
LICENSE="BSD (2-clause)"
|
||||
COPYRIGHT="2008-2010 The Chicken Team
|
||||
2000-2007 Felix L. Winkelmann"
|
||||
@@ -1,43 +0,0 @@
|
||||
DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
|
||||
HOMEPAGE="http://www.call-cc.org/"
|
||||
SOURCE_URI="http://code.call-cc.org/releases/4.7.0/chicken-4.7.0.tar.gz"
|
||||
CHECKSUM_MD5="9389388fdf04c3c64de29633aae12539"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd chicken-4.7.0
|
||||
if [ `gcc -dumpversion | cut -f1 -d.` -eq "2" ];then
|
||||
echo "Removing -fwrapv flag for gcc2 build"
|
||||
sed -i 's/-fwrapv//' Makefile.haiku
|
||||
fi
|
||||
make PLATFORM=haiku PREFIX=`finddir B_COMMON_DIRECTORY` \
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man/man1 \
|
||||
DOCDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc/chicken \
|
||||
DATADIR=`finddir B_COMMON_DATA_DIRECTORY`/chicken
|
||||
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd chicken-4.7.0
|
||||
make PLATFORM=haiku PREFIX=`finddir B_COMMON_DIRECTORY` install \
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man/man1 \
|
||||
DOCDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc/chicken \
|
||||
DATADIR=`finddir B_COMMON_DATA_DIRECTORY`/chicken
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
if ! type -p csi > /dev/null;then
|
||||
echo "ERROR: Chicken must be installed before running the test suite"
|
||||
exit 1
|
||||
fi
|
||||
cd chicken-4.7.0
|
||||
make PLATFORM=haiku PREFIX=`finddir B_COMMON_DIRECTORY` check
|
||||
}
|
||||
|
||||
LICENSE="BSD (2-clause)"
|
||||
COPYRIGHT="2008-2011 The Chicken Team
|
||||
2000-2007 Felix L. Winkelmann"
|
||||
@@ -1,207 +0,0 @@
|
||||
diff -up chicken-4.5.0/Makefile.haiku.orig chicken-4.5.0/Makefile.haiku
|
||||
--- chicken-4.5.0/Makefile.haiku.orig 2010-05-21 18:19:06.229638144 -0600
|
||||
+++ chicken-4.5.0/Makefile.haiku 2010-05-21 18:19:06.230424576 -0600
|
||||
@@ -0,0 +1,106 @@
|
||||
+# Makefile.haiku - configuration for Haiku -*- Makefile -*-
|
||||
+#
|
||||
+# Copyright (c) 2010, The Chicken Team
|
||||
+# All rights reserved.
|
||||
+#
|
||||
+# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
|
||||
+# conditions are met:
|
||||
+#
|
||||
+# Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
+# disclaimer.
|
||||
+# Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
|
||||
+# disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
+# Neither the name of the author nor the names of its contributors may be used to endorse or promote
|
||||
+# products derived from this software without specific prior written permission.
|
||||
+#
|
||||
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
|
||||
+# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
+# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
||||
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
+# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
+# POSSIBILITY OF SUCH DAMAGE.
|
||||
+
|
||||
+
|
||||
+ifneq ($(CONFIG),)
|
||||
+include $(CONFIG)
|
||||
+endif
|
||||
+
|
||||
+SRCDIR ?= ./
|
||||
+
|
||||
+# platform configuration
|
||||
+
|
||||
+ARCH ?= $(shell sh $(SRCDIR)/config-arch.sh)
|
||||
+
|
||||
+# options
|
||||
+
|
||||
+C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
|
||||
+ifdef DEBUGBUILD
|
||||
+C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
|
||||
+else
|
||||
+ifdef OPTIMIZE_FOR_SPEED
|
||||
+C_COMPILER_OPTIMIZATION_OPTIONS ?= -O3 -fomit-frame-pointer
|
||||
+else
|
||||
+C_COMPILER_OPTIMIZATION_OPTIONS ?= -Os -fomit-frame-pointer
|
||||
+endif
|
||||
+endif
|
||||
+LINKER_LINK_SHARED_LIBRARY_OPTIONS = -shared
|
||||
+LINKER_LINK_SHARED_DLOADABLE_OPTIONS = -L. -shared -Wl,-R$(RUNTIME_LINKER_PATH)
|
||||
+LINKER_LINK_SHARED_PROGRAM_OPTIONS = -Wl,-R$(RUNTIME_LINKER_PATH)
|
||||
+LIBCHICKEN_SO_LINKER_OPTIONS = -Wl,-soname,libchicken.so$(SONAME_VERSION)
|
||||
+LIBUCHICKEN_SO_LINKER_OPTIONS = -Wl,-soname,libuchicken.so$(SONAME_VERSION)
|
||||
+LIBRARIES = -lnetwork
|
||||
+NEEDS_RELINKING = yes
|
||||
+USES_SONAME = yes
|
||||
+
|
||||
+# special files
|
||||
+
|
||||
+CHICKEN_CONFIG_H = chicken-config.h
|
||||
+
|
||||
+# select default and internal settings
|
||||
+
|
||||
+include $(SRCDIR)/defaults.make
|
||||
+
|
||||
+chicken-config.h: chicken-defaults.h
|
||||
+ echo "/* GENERATED */" >$@
|
||||
+ echo "#define HAVE_DIRENT_H 1" >>$@
|
||||
+ echo "#define HAVE_DLFCN_H 1" >>$@
|
||||
+ echo "#define HAVE_INTTYPES_H 1" >>$@
|
||||
+ echo "#define HAVE_LIMITS_H 1" >>$@
|
||||
+ echo "#define HAVE_LONG_LONG 1" >>$@
|
||||
+ echo "#define HAVE_MEMMOVE 1" >>$@
|
||||
+ echo "#define HAVE_MEMORY_H 1" >>$@
|
||||
+ echo "#define HAVE_STDINT_H 1" >>$@
|
||||
+ echo "#define HAVE_STDLIB_H 1" >>$@
|
||||
+ echo "#define HAVE_STRERROR 1" >>$@
|
||||
+ echo "#define HAVE_STRINGS_H 1" >>$@
|
||||
+ echo "#define HAVE_STRING_H 1" >>$@
|
||||
+ echo "#define HAVE_STRTOLL 1" >>$@
|
||||
+ echo "#define HAVE_STRTOQ 1" >>$@
|
||||
+ echo "#define HAVE_SYS_STAT_H 1" >>$@
|
||||
+ echo "#define HAVE_SYS_TYPES_H 1" >>$@
|
||||
+ echo "#define HAVE_UNISTD_H 1" >>$@
|
||||
+ echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>$@
|
||||
+ echo "#define STDC_HEADERS 1" >>$@
|
||||
+ echo "#define HAVE_ALLOCA 1" >>$@
|
||||
+ echo "#define HAVE_ALLOCA_H 1" >>$@
|
||||
+ echo "#define HAVE_GRP_H 1" >>$@
|
||||
+ echo "#define HAVE_ERRNO_H 1" >>$@
|
||||
+ echo "#define HAVE_GCVT 1" >>$@
|
||||
+ echo "#define HAVE_MEMMOVE 1" >>$@
|
||||
+ echo "#define C_STACK_GROWS_DOWNWARD 1" >>$@
|
||||
+ echo "#define SIGIO 0" >>$@
|
||||
+ifdef GCHOOKS
|
||||
+ echo "#define C_GC_HOOKS" >>$@
|
||||
+endif
|
||||
+ifdef SYMBOLGC
|
||||
+ echo "#define C_COLLECT_ALL_SYMBOLS" >>$@
|
||||
+endif
|
||||
+ifneq ($(HACKED_APPLY),)
|
||||
+ echo "#define C_HACKED_APPLY" >>$@
|
||||
+endif
|
||||
+ cat chicken-defaults.h >>$@
|
||||
+
|
||||
+include $(SRCDIR)/rules.make
|
||||
diff -up chicken-4.5.0/Makefile.orig chicken-4.5.0/Makefile
|
||||
--- chicken-4.5.0/Makefile.orig 2010-05-11 09:50:34.038535168 -0600
|
||||
+++ chicken-4.5.0/Makefile 2010-05-21 18:19:06.207355904 -0600
|
||||
@@ -55,6 +55,7 @@ $(STANDARD_TARGETS):
|
||||
@echo " $(MAKE) PLATFORM=cygwin"
|
||||
@echo " $(MAKE) PLATFORM=solaris"
|
||||
@echo " $(MAKE) PLATFORM=cross-linux-mingw"
|
||||
+ @echo " $(MAKE) PLATFORM=haiku"
|
||||
@echo ""
|
||||
@echo "For more information, consult the README file."
|
||||
@exit 1
|
||||
diff -up chicken-4.5.0/chicken.h.orig chicken-4.5.0/chicken.h
|
||||
--- chicken-4.5.0/chicken.h.orig 2010-05-11 09:50:35.002097152 -0600
|
||||
+++ chicken-4.5.0/chicken.h 2010-05-21 18:19:06.273154048 -0600
|
||||
@@ -93,6 +93,10 @@
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
+#if defined(__HAIKU__)
|
||||
+# include <kernel/image.h>
|
||||
+#endif
|
||||
+
|
||||
/* Byteorder in machine word */
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
@@ -664,6 +668,8 @@ typedef unsigned __int64 uint64_t;
|
||||
# define C_SOFTWARE_VERSION "hpux"
|
||||
#elif defined(__DragonFly__)
|
||||
# define C_SOFTWARE_VERSION "dragonfly"
|
||||
+#elif defined(__HAIKU__)
|
||||
+# define C_SOFTWARE_VERSION "haiku"
|
||||
#elif defined(__sun__)
|
||||
# if defined(__svr4__)
|
||||
# define C_SOFTWARE_VERSION "solaris"
|
||||
@@ -2336,6 +2342,25 @@ C_path_to_executable(C_char *fname)
|
||||
|
||||
return NULL;
|
||||
}
|
||||
+# elif defined(__HAIKU__)
|
||||
+{
|
||||
+ image_info info;
|
||||
+ int32 cookie = 0;
|
||||
+ int32 i;
|
||||
+
|
||||
+ while (get_next_image_info(0, &cookie, &info) == B_OK) {
|
||||
+ if (info.type == B_APP_IMAGE) {
|
||||
+ C_strcat(buffer, info.name);
|
||||
+
|
||||
+ for(i = C_strlen(buffer); i >= 0 && buffer[ i ] != '/'; --i);
|
||||
+
|
||||
+ buffer[ i ] = '\0';
|
||||
+
|
||||
+ return buffer;
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
+ return NULL;
|
||||
# else
|
||||
return NULL;
|
||||
# endif
|
||||
diff -up chicken-4.5.0/config-arch.sh.orig chicken-4.5.0/config-arch.sh
|
||||
--- chicken-4.5.0/config-arch.sh.orig 2010-05-11 09:50:35.006029312 -0600
|
||||
+++ chicken-4.5.0/config-arch.sh 2010-05-21 18:19:06.294649856 -0600
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
|
||||
case "`uname -m`" in
|
||||
- i*86) echo "x86";;
|
||||
+ i*86|BePC) echo "x86";;
|
||||
"Power Macintosh"|ppc|powerpc|macppc)
|
||||
case "`uname -s`" in
|
||||
Darwin) echo "ppc.darwin";;
|
||||
diff -up chicken-4.5.0/manual/Acknowledgements.orig chicken-4.5.0/manual/Acknowledgements
|
||||
--- chicken-4.5.0/manual/Acknowledgements.orig 2010-05-11 09:50:36.024641536 -0600
|
||||
+++ chicken-4.5.0/manual/Acknowledgements 2010-05-21 18:19:06.297795584 -0600
|
||||
@@ -32,8 +32,8 @@ Moukayed, Chris Moline, Eric E. Moore, J
|
||||
David N. Murray, Lars Nilsson, Ian Oversby, o.t., Gene Pavlovsky, Levi
|
||||
Pearson, Jeronimo Pellegrini, Nicolas Pelletier, Derrell Piper, Carlos
|
||||
Pita, Robin Lee Powell, Pupeno, Davide Puricelli, presto, Doug Quale,
|
||||
-Eric Raible, Ivan Raikov, Joel Reymont, Eric Rochester, Paul
|
||||
-Romanchenko, Andreas Rottman, David Rush, Lars Rustemeier, Daniel
|
||||
+Eric Raible, Ivan Raikov, Joel Reymont, Chris Roberts, Eric Rochester,
|
||||
+Paul Romanchenko, Andreas Rottman, David Rush, Lars Rustemeier, Daniel
|
||||
Sadilek, Oskar Schirmer, Burton Samograd, Reed Sheridan, Ronald
|
||||
Schroeder, Spencer Schumann, Ivan Shcheklein, Alex Shinn, Ivan
|
||||
Shmakov, Shmul, Tony Sidaway, Jeffrey B. Siegal, Andrey Sidorenko,
|
||||
diff -up chicken-4.5.0/tests/runtests.sh.orig chicken-4.5.0/tests/runtests.sh
|
||||
--- chicken-4.5.0/tests/runtests.sh.orig 2010-05-11 09:50:38.052953088 -0600
|
||||
+++ chicken-4.5.0/tests/runtests.sh 2010-05-21 18:20:30.098041856 -0600
|
||||
@@ -8,6 +8,7 @@ set -e
|
||||
TEST_DIR=`pwd`
|
||||
export DYLD_LIBRARY_PATH=${TEST_DIR}/..
|
||||
export LD_LIBRARY_PATH=${TEST_DIR}/..
|
||||
+export LIBRARY_PATH=${TEST_DIR}/..:${LIBRARY_PATH}
|
||||
|
||||
mkdir -p test-repository
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
DESCRIPTION="
|
||||
GNU Robbo is a free open source reimplementation of Janusz Pelc's Robbo for \
|
||||
the Atari XE/XL which was distributed by LK Avalon in 1989.
|
||||
"
|
||||
HOMEPAGE="http://gnurobbo.sourceforge.net/"
|
||||
SOURCE_URI="http://mirrors.ludost.net/gentoo/distfiles/gnurobbo-0.65.6-source.tar.gz"
|
||||
CHECKSUM_MD5="bb7d2bc1282429ac5c0b89966b07e0cc"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="media-lib/libsdl >= 1.2.14
|
||||
media-lib/sdl-mixer >= 1.2.11
|
||||
media-lib/sdl-image >= 1.2.10
|
||||
media-lib/sdl-ttf >= 2.0.10"
|
||||
BUILD()
|
||||
{
|
||||
cd gnurobbo-0.65.6
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd gnurobbo-0.65.6
|
||||
APPS_DIR=`finddir B_APPS_DIRECTORY`
|
||||
mkdir -p ${DESTDIR}${APPS_DIR}/gnurobbo
|
||||
cp gnurobbo ${DESTDIR}${APPS_DIR}/gnurobbo
|
||||
cp -rf data ${DESITDIR}${APPS_DIR}/gnurobbo
|
||||
}
|
||||
|
||||
COPYRIGHT="2002-2010 The GNU Robbo Team"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
@@ -1,31 +0,0 @@
|
||||
DESCRIPTION="graphviz - Open Source Graph Visualization Software."
|
||||
HOMEPAGE="http://www.graphviz.org/"
|
||||
SOURCE_URI="http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.24.0.tar.gz"
|
||||
CHECKSUM_MD5="806a30dbc3f8deb219216f35be0e7a40"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd graphviz-2.24.0
|
||||
libtoolize -fci
|
||||
aclocal -I m4
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
CFLAGS="-O0" \
|
||||
LDFLAGS="-L`finddir B_COMMON_LIB_DIRECTORY` -liconv"
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd graphviz-2.24.0
|
||||
make install
|
||||
cd `finddir B_COMMON_BIN_DIRECTORY`
|
||||
ln -s dot_static dot
|
||||
}
|
||||
|
||||
LICENSE="CPL v1.0"
|
||||
COPYRIGHT="1994-2010 AT&T Corp."
|
||||
@@ -1,68 +0,0 @@
|
||||
diff -ur graphviz-2.24.0/config.h.in graphviz-2.24.0-haiku/config.h.in
|
||||
--- graphviz-2.24.0/config.h.in 2009-06-16 17:24:58.000000000 -0600
|
||||
+++ graphviz-2.24.0-haiku/config.h.in 2009-11-19 00:21:13.000000000 -0700
|
||||
@@ -54,6 +54,9 @@
|
||||
/* Define to 1 if you have the <crt_externs.h> header file. */
|
||||
#undef HAVE_CRT_EXTERNS_H
|
||||
|
||||
+/* Define to 1 if you have the <sysexits.h> header file. */
|
||||
+#undef HAVE_SYSEXITS_H
|
||||
+
|
||||
/* Define to 1 if you have the `deflateBound' function. */
|
||||
#undef HAVE_DEFLATEBOUND
|
||||
|
||||
diff -ur graphviz-2.24.0/configure.ac graphviz-2.24.0-haiku/configure.ac
|
||||
--- graphviz-2.24.0/configure.ac 2009-06-16 17:24:18.000000000 -0600
|
||||
+++ graphviz-2.24.0-haiku/configure.ac 2009-11-19 00:21:20.000000000 -0700
|
||||
@@ -111,6 +111,7 @@
|
||||
CYGWIN=no
|
||||
MINGW32=no
|
||||
DARWIN9=no
|
||||
+HAIKU=no
|
||||
case "${host_os}" in
|
||||
*uwin* )
|
||||
UWIN=yes
|
||||
@@ -160,6 +161,16 @@
|
||||
BROWSER="open"
|
||||
AC_DEFINE_UNQUOTED(DARWIN_DYLIB,"$DARWIN_DYLIB",[Define for Darwin-style shared library names.])
|
||||
;;
|
||||
+ *haiku* )
|
||||
+ HAIKU=yes
|
||||
+ HAIKU_SYSTEM_FONTPATH=`finddir B_SYSTEM_FONTS_DIRECTORY`
|
||||
+ HAIKU_COMMON_FONTPATH=`finddir B_COMMON_FONTS_DIRECTORY`
|
||||
+ HAIKU_USER_FONTPATH=`finddir B_USER_FONTS_DIRECTORY`
|
||||
+ DEFAULT_FONTPATH="$HAIKU_SYSTEM_FONTPATH:$HAIKU_SYSTEM_FONTPATH/ttfonts:$HAIKU_SYSTEM_FONTPATH/psfonts:$HAIKU_COMMON_FONTPATH:$HAIKU_COMMON_FONTPATH/ttfonts:$HAIKU_COMMON_FONTPATH/psfonts:$HAIKU_USER_FONTPATH:$HAIKU_USER_FONTPATH/ttfonts:$HAIKU_USER_FONTPATH/psfonts"
|
||||
+ PATHSEPARATOR=":"
|
||||
+ NO_POSTSCRIPT_ALIAS=1
|
||||
+ BROWSER="open"
|
||||
+ ;;
|
||||
* ) # This sucks! Whatever happened to standards for file system layout?
|
||||
DEFAULT_FONTPATH="/usr/share/fonts/default/Type1:/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/common/share/fonts/ttf";
|
||||
PATHSEPARATOR=":"
|
||||
@@ -364,7 +375,7 @@
|
||||
errno.h time.h unistd.h fenv.h string.h strings.h inttypes.h setjmp.h \
|
||||
sys/time.h sys/times.h sys/types.h sys/select.h fpu_control.h \
|
||||
sys/fpu.h sys/socket.h sys/stat.h sys/mman.h \
|
||||
- sys/ioctl.h sys/inotify.h langinfo.h libintl.h crt_externs.h)
|
||||
+ sys/ioctl.h sys/inotify.h langinfo.h libintl.h crt_externs.h sysexits.h)
|
||||
AC_HEADER_TIME
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDBOOL
|
||||
diff -ur graphviz-2.24.0/contrib/diffimg/diffimg.c graphviz-2.24.0-haiku/contrib/diffimg/diffimg.c
|
||||
--- graphviz-2.24.0/contrib/diffimg/diffimg.c 2009-06-02 19:10:49.000000000 -0600
|
||||
+++ graphviz-2.24.0-haiku/contrib/diffimg/diffimg.c 2009-11-19 00:21:13.000000000 -0700
|
||||
@@ -47,7 +47,14 @@
|
||||
#define bool int
|
||||
#define false 0
|
||||
#else
|
||||
+#if defined HAVE_SYSEXITS_H
|
||||
#include <sysexits.h>
|
||||
+#else
|
||||
+#define EX_USAGE 64
|
||||
+#define EX_DATAERR 65
|
||||
+#define EX_NOINPUT 66
|
||||
+#define EX_UNAVAILABLE 69
|
||||
+#endif
|
||||
#endif
|
||||
#include <gd.h>
|
||||
#if defined HAVE_STDBOOL_H && ! defined __cplusplus
|
||||
@@ -1,386 +0,0 @@
|
||||
diff -urN tuxpaint-0.9.21/Makefile tuxpaint-0.9.21-haiku/Makefile
|
||||
--- tuxpaint-0.9.21/Makefile 2009-04-28 22:18:57.000000000 -0700
|
||||
+++ tuxpaint-0.9.21-haiku/Makefile 2009-11-07 21:26:50.000000000 -0800
|
||||
@@ -46,7 +46,7 @@
|
||||
echo "$(1)"; \
|
||||
fi ;)
|
||||
|
||||
-beos_RSRC_CMD:=xres -o tuxpaint src/tuxpaint.rsrc
|
||||
+beos_RSRC_CMD:=rc src/tuxpaint.rdef && xres -o tuxpaint src/tuxpaint.rsrc
|
||||
RSRC_CMD:=$($(OS)_RSRC_CMD)
|
||||
|
||||
beos_MIMESET_CMD:=mimeset -f tuxpaint
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
windows_ARCH_LINKS:=-lintl $(PNG) -lwinspool -lshlwapi $(FRIBIDI_LIB)
|
||||
osx_ARCH_LINKS:=$(PAPER_LIB) $(FRIBIDI_LIB)
|
||||
-beos_ARCH_LINKS:="-lintl $(PNG) -lz -lbe -liconv $(FRIBIDI_LIB)"
|
||||
+beos_ARCH_LINKS:="-lintl $(PNG) -lz -lbe -lnetwork -liconv $(FRIBIDI_LIB)"
|
||||
linux_ARCH_LINKS:=$(PAPER_LIB) $(FRIBIDI_LIB)
|
||||
ARCH_LINKS:=$($(OS)_ARCH_LINKS)
|
||||
|
||||
@@ -92,11 +92,10 @@
|
||||
# Where things will go when ultimately installed:
|
||||
windows_PREFIX:=/usr/local
|
||||
osx_PREFIX:=/usr/local
|
||||
-beos_PREFIX:=/boot/apps/Games/TuxPaint
|
||||
+beos_PREFIX:=$(shell finddir B_APPS_DIRECTORY)/TuxPaint
|
||||
linux_PREFIX:=/usr/local
|
||||
PREFIX:=$($(OS)_PREFIX)
|
||||
|
||||
-
|
||||
# Root directory to place files when creating packages.
|
||||
# PKG_ROOT is the old name for this, and should be undefined.
|
||||
# "TuxPaint-1" is the OLPC XO name. Installing to ./ is bad!
|
||||
@@ -137,6 +136,10 @@
|
||||
CONFDIR:=$(DESTDIR)$(PREFIX)/etc/tuxpaint
|
||||
endif
|
||||
|
||||
+ifeq ($(SYSNAME),Haiku)
|
||||
+ CONFDIR:=$(shell finddir B_USER_SETTINGS_DIRECTORY)/TuxPaint
|
||||
+endif
|
||||
+
|
||||
# Icons and launchers:
|
||||
ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/pixmaps
|
||||
X11_ICON_PREFIX:=$(DESTDIR)$(PREFIX)/X11R6/include/X11/pixmaps
|
||||
diff -urN tuxpaint-0.9.21/src/fonts.c tuxpaint-0.9.21-haiku/src/fonts.c
|
||||
--- tuxpaint-0.9.21/src/fonts.c 2009-06-06 11:22:00.000000000 -0700
|
||||
+++ tuxpaint-0.9.21-haiku/src/fonts.c 2009-11-08 13:52:07.000000000 -0800
|
||||
@@ -67,6 +67,11 @@
|
||||
#include "win32_print.h"
|
||||
#endif
|
||||
|
||||
+#ifdef __HAIKU__
|
||||
+#include <FindDirectory.h>
|
||||
+#include <fs_info.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef __APPLE__
|
||||
#include "wrapperdata.h"
|
||||
extern WrapperData macosx;
|
||||
@@ -456,7 +461,9 @@
|
||||
close(sv[1]);
|
||||
return;
|
||||
}
|
||||
+#ifndef __HAIKU__
|
||||
nice(42); // be nice, letting the main thread get the CPU
|
||||
+#endif
|
||||
sched_yield(); // try to let the parent run right now
|
||||
prctl(PR_SET_PDEATHSIG, 9); // get killed if parent exits
|
||||
font_socket_fd = sv[1];
|
||||
@@ -699,6 +706,14 @@
|
||||
loadfonts(screen, "/boot/home/config/font/ttffonts");
|
||||
loadfonts(screen, "/usr/share/fonts");
|
||||
loadfonts(screen, "/usr/X11R6/lib/X11/fonts");
|
||||
+#elif defined(__HAIKU__)
|
||||
+ dev_t volume = dev_for_path("/boot");
|
||||
+ char buffer[B_PATH_NAME_LENGTH+B_FILE_NAME_LENGTH];
|
||||
+ status_t result;
|
||||
+ result = find_directory(B_SYSTEM_FONTS_DIRECTORY, volume, false, buffer, sizeof(buffer));
|
||||
+ loadfonts(screen, buffer);
|
||||
+ result = find_directory(B_COMMON_FONTS_DIRECTORY, volume, false, buffer, sizeof(buffer));
|
||||
+ loadfonts(screen, buffer);
|
||||
#elif defined(__APPLE__)
|
||||
loadfonts(screen, "/System/Library/Fonts");
|
||||
loadfonts(screen, "/Library/Fonts");
|
||||
diff -urN tuxpaint-0.9.21/src/tuxpaint.c tuxpaint-0.9.21-haiku/src/tuxpaint.c
|
||||
--- tuxpaint-0.9.21/src/tuxpaint.c 2009-06-18 13:51:58.000000000 -0700
|
||||
+++ tuxpaint-0.9.21-haiku/src/tuxpaint.c 2009-11-07 15:40:44.000000000 -0800
|
||||
@@ -212,7 +212,7 @@
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ || defined __HAIKU__
|
||||
#include <wchar.h>
|
||||
#else
|
||||
#include <wchar.h>
|
||||
@@ -245,7 +245,7 @@
|
||||
#include <dirent.h>
|
||||
#include <signal.h>
|
||||
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ || defined __HAIKU__
|
||||
|
||||
/* BeOS */
|
||||
|
||||
@@ -948,7 +948,7 @@
|
||||
magic_api *magic_api_struct; /* Pointer to our internal functions; passed to shared object's functions when we call them */
|
||||
|
||||
|
||||
-#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__)
|
||||
+#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||
#include <paper.h>
|
||||
#if !defined(PAPER_H)
|
||||
#error "---------------------------------------------------"
|
||||
@@ -1396,7 +1396,7 @@
|
||||
static void stamp_draw(int x, int y);
|
||||
static void rec_undo_buffer(void);
|
||||
static void show_usage(FILE * f, char *prg);
|
||||
-#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__)
|
||||
+#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__) && !(__HAIKU__)
|
||||
void show_available_papersizes(FILE * fi, char * prg);
|
||||
#endif
|
||||
static void setup(int argc, char *argv[]);
|
||||
@@ -4998,6 +4998,8 @@
|
||||
printf(" Built for Windows (WIN32)\n");
|
||||
#elif __BEOS__
|
||||
printf(" Built for BeOS (__BEOS__)\n");
|
||||
+#elif __HAIKU__
|
||||
+ printf(" Built for Haiku (__HAIKU__)\n");
|
||||
#elif NOKIA_770
|
||||
printf(" Built for Maemo (NOKIA_770)\n");
|
||||
#elif OLPC_XO
|
||||
@@ -5116,7 +5118,7 @@
|
||||
#endif
|
||||
" %s [--printdelay=SECONDS]\n"
|
||||
" %s [--altprintmod | --altprintalways | --altprintnever]\n"
|
||||
-#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__)
|
||||
+#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||
" %s [--papersize PAPERSIZE | --papersize help]\n"
|
||||
#endif
|
||||
" %s [--lang LANGUAGE | --locale LOCALE | --lang help]\n"
|
||||
@@ -5135,7 +5137,7 @@
|
||||
blank,
|
||||
#endif
|
||||
blank, blank,
|
||||
-#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__)
|
||||
+#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||
blank,
|
||||
#endif
|
||||
blank, blank, blank, blank, blank);
|
||||
@@ -6188,7 +6190,7 @@
|
||||
|
||||
|
||||
|
||||
-#if defined(__BEOS__) || defined(WIN32)
|
||||
+#if defined(__BEOS__) || defined(__HAIKU__) || defined(WIN32)
|
||||
/* if run from gui, like OpenTracker in BeOS or Explorer in Windows,
|
||||
find path from which binary was run and change dir to it
|
||||
so all files will be local :) */
|
||||
@@ -6281,7 +6283,7 @@
|
||||
colorfile[0] = '\0';
|
||||
|
||||
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ || defined __HAIKU__
|
||||
/* Fancy cursors on BeOS are buggy in SDL */
|
||||
|
||||
no_fancy_cursors = 1;
|
||||
@@ -6293,7 +6295,7 @@
|
||||
|
||||
savedir = GetDefaultSaveDir("TuxPaint");
|
||||
datadir = GetDefaultSaveDir("TuxPaint");
|
||||
-#elif __BEOS__
|
||||
+#elif defined__BEOS__ || __HAIKU__
|
||||
/* BeOS */
|
||||
|
||||
savedir = strdup("./userdata");
|
||||
@@ -6368,7 +6370,7 @@
|
||||
#if defined(WIN32)
|
||||
/* Default local config file in users savedir directory on Windows */
|
||||
snprintf(str, sizeof(str), "%s/tuxpaint.cfg", savedir); /* FIXME */
|
||||
-#elif defined(__BEOS__)
|
||||
+#elif defined(__BEOS__) || defined(__HAIKU__)
|
||||
/* BeOS: Use a "tuxpaint.cfg" file: */
|
||||
|
||||
strcpy(str, "tuxpaint.cfg");
|
||||
@@ -6593,7 +6595,7 @@
|
||||
{
|
||||
alt_print_command_default = ALTPRINT_MOD;
|
||||
}
|
||||
-#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__)
|
||||
+#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||
else if (strstr(argv[i], "--papersize=") == argv[i])
|
||||
{
|
||||
papersize = strdup(argv[i] + strlen("--papersize="));
|
||||
@@ -10149,7 +10151,7 @@
|
||||
disallow_print = 1;
|
||||
#endif
|
||||
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ || defined __HAIKU__
|
||||
if (!IsPrinterAvailable())
|
||||
disallow_print = disable_print = 1;
|
||||
#endif
|
||||
@@ -12321,7 +12323,7 @@
|
||||
free(lock_fname);
|
||||
}
|
||||
|
||||
-#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__)
|
||||
+#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||
if (papersize != NULL)
|
||||
free(papersize);
|
||||
#endif
|
||||
@@ -15436,7 +15438,7 @@
|
||||
|
||||
void do_print(void)
|
||||
{
|
||||
-#if !defined(WIN32) && !defined(__BEOS__) && !defined(__APPLE__)
|
||||
+#if !defined(WIN32) && !defined(__BEOS__) && !defined(__APPLE__) && !defined(__HAIKU__)
|
||||
char *pcmd;
|
||||
FILE *pi;
|
||||
|
||||
@@ -15488,7 +15490,7 @@
|
||||
if (error)
|
||||
fprintf(stderr, "%s\n", error);
|
||||
}
|
||||
-#elif defined(__BEOS__)
|
||||
+#elif defined(__BEOS__) || defined(__HAIKU__)
|
||||
/* BeOS */
|
||||
|
||||
SurfacePrint(canvas);
|
||||
@@ -16171,7 +16173,7 @@
|
||||
#endif
|
||||
use_print_config = 0;
|
||||
}
|
||||
-#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__)
|
||||
+#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||
else if (strstr(str, "printcommand=") == str)
|
||||
{
|
||||
/* FIXME: This would need to be done one argument (space-delim'd) at a time */
|
||||
@@ -16249,7 +16251,7 @@
|
||||
{
|
||||
alt_print_command_default = ALTPRINT_NEVER;
|
||||
}
|
||||
-#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__)
|
||||
+#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||
else if (strstr(str, "papersize=") == str)
|
||||
{
|
||||
papersize = strdup(str + strlen("papersize="));
|
||||
@@ -18727,7 +18729,7 @@
|
||||
return(which != -1);
|
||||
}
|
||||
|
||||
-#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__)
|
||||
+#if !defined(WIN32) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||
void show_available_papersizes(FILE * fi, char * prg)
|
||||
{
|
||||
const struct paper * ppr;
|
||||
diff -urN tuxpaint-0.9.21/src/tuxpaint.rdef tuxpaint-0.9.21-haiku/src/tuxpaint.rdef
|
||||
--- tuxpaint-0.9.21/src/tuxpaint.rdef 1969-12-31 16:00:00.000000000 -0800
|
||||
+++ tuxpaint-0.9.21-haiku/src/tuxpaint.rdef 2009-11-07 15:40:44.000000000 -0800
|
||||
@@ -0,0 +1,123 @@
|
||||
+
|
||||
+resource large_icon array {
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000000FFFFFFFFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000FFFFFFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000700000400000000FFFFFFFFFFFFFFFF"
|
||||
+ $"FF000000FFFF00FFFFFFFFFFFFFF00003F10133F1A000000FFFFFFFFFFFFFFFF"
|
||||
+ $"0000000300000000FFFFFFFFFFFF001C1C1C3F3F3F05000000FFFFFFFFFFFFFF"
|
||||
+ $"0000000000000000FFFFFFFFFFFF0010123F16183F06000000FFFFFFFFFFFFFF"
|
||||
+ $"0000000000000000FFFFFFFF0000071D3F3F0A141D00000000FFFFFFFFFFFFFF"
|
||||
+ $"000000000000000000FFFF000085F9BD85831E3F0B00000000FFFFFFFFFFFFFF"
|
||||
+ $"00000000000000000000FF00BD85F9F9F9F9BD090000000000FFFFFFFFFFFFFF"
|
||||
+ $"0000000000000000000000AB8503F9F9F9F9F9B10000000000FFFFFFFFFFFFFF"
|
||||
+ $"FF00000100000000000000AB85ABF9F9F9F9F9AB0000000000FFFFFFFFFFFFFF"
|
||||
+ $"FFFFFF00000000000000000285F9F9F9F9F9F9B10000000000FFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFF0000000000000002ABBDF9F9F985010000000000FFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFF00000000000000000004D7D70000000000000000FFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFF0000000000000004030000000000000000000000FFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFF000000031B3F3F1A0600000000000000000000FFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFF0000000E3F3F3F3F180000080200000000000000FFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFF00000005183F3F1E59DA0600070C0000000000000000FFFF"
|
||||
+ $"FFFFFFFFFFFFFFFF0000103F3F3FDABBBBC48A0700110500000000000000FFFF"
|
||||
+ $"FFFFFFFFFFFFFF0000033F3F3F3FBABBE3CA8A8485AB1300000000000000FFFF"
|
||||
+ $"FFFFFFFFFFFFFF0000083F3F3F59E9A8A90F89D1AB841300000000000010FFFF"
|
||||
+ $"FFFFFFFFFFFFFF0000083F3F3F1D1C3F3F3F3F0101130200000000D78900FFFF"
|
||||
+ $"FFFFFFFFFFFFFF0000033F3F3F3F3F3F3F3F3F0102060000000007628300FFFF"
|
||||
+ $"FFFFFFFFFFFFFF0000001A3F3F3F3F3F3F3F3F01000000031004000000FFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFF00000B3F3F3F3F3F3F3F3F0000000F0E030000FFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFF00000000000000000000000000000000000000FFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
+};
|
||||
+
|
||||
+resource mini_icon array {
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFF000000FFFFFFFFFF"
|
||||
+ $"0000FFFFFFFFFF00103F0000FFFFFFFF"
|
||||
+ $"00000000FFFFFF103F180600FFFFFFFF"
|
||||
+ $"00000000FF0085BD833F0000FFFFFFFF"
|
||||
+ $"0000000000AB03F9F9B10000FFFFFFFF"
|
||||
+ $"FF0000000002F9F9F9B10000FFFFFFFF"
|
||||
+ $"FFFFFF0000000004D700000000FFFFFF"
|
||||
+ $"FFFFFFFF00001B3F060000000000FFFF"
|
||||
+ $"FFFFFFFF00053F1EDA000C00000000FF"
|
||||
+ $"FFFFFF00033F3FBBCA84AB00000000FF"
|
||||
+ $"FFFFFF00083F1D3F3F01130000D700FF"
|
||||
+ $"FFFFFF00003F3F3F3F0100030400FFFF"
|
||||
+ $"FFFFFFFF000000000000000000FFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
+ $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
+};
|
||||
+
|
||||
+
|
||||
+resource vector_icon array {
|
||||
+ $"6E6369660602001602B8B10BBA4D843A4D84B8B10B4A0E9346F9C10000FF2105"
|
||||
+ $"FF02000602B796BAB8831C38831CB796BA4A8259494B3900FFBC00FFFFDD7D02"
|
||||
+ $"01060239670F00000000000039670F4A302B4B07CD00EB427CD9701A36020006"
|
||||
+ $"03B1F29A361F94B61F94B1F29A4A80FD4B204A00E6B871919D7D44FF49391002"
|
||||
+ $"00060331EAABB5ED5B35ED5B31EAAB4BFBBC4B7E58007C5C2078D5A72CFFFECA"
|
||||
+ $"310D021DCA35CC7FCA35CC7FCA63CB8CCA97C97ECA53CA5CCA97C97ECB3EC8E4"
|
||||
+ $"CAEEC957CB3EC8E4CB3EC8E4CB3EC8E4CBCDC80ACC5AC5C6CCA4C727CC25C4C8"
|
||||
+ $"CA7EC2F7CB27C3B3CA35C2A6C959C1C6C9C3C22FC8FAC166C84DC07CC85FC0E3"
|
||||
+ $"C83EC027C865BF4BC85CBFAB56BE0EC865BB94C887BCCBC81CB8F0C4DFB619C7"
|
||||
+ $"4FB687C4DFB619C4DFB60CC4DFB60CC4DFB60CC41BB60CC41BB60CC151B690BF"
|
||||
+ $"D1BBACC023B8B0BE37BC0ABD1ABEDDBD25BCF0BD1EBF05BCE9BEDDBCE3BED9BC"
|
||||
+ $"ACBEB4BC4BBE4BBC81BE76BB83BDACB9F5BBD1BA44BCC8B9C1BB2DB8DCB99FB9"
|
||||
+ $"B8B986B872B9ACB87BBA7BB877BA2EB87CBAAFB862BA6FB867BA7BB7C331B59E"
|
||||
+ $"B9ACB682B971B4D9B9DEB3B6BB7BB421BAD0B363BC0220BD26B326BC9B20BD26"
|
||||
+ $"20BDB920BDB9B30FBE60B49EBE4BB3F8BE86B75FBFE5BBF5C403B9DAC1C4BAF2"
|
||||
+ $"C548BA0DC91CBA0AC6DBBA0FCA8ABB3ECC7FBA9FCB8DBB3ECC7F020DBD7CCC7F"
|
||||
+ $"BD7CCC7FBCD5CB9ABC01C835BBF0C9E5BC09C779BCB8C61CBC3CC698BD24C5B0"
|
||||
+ $"BE4BC540BDD9C5B7BE64C456BF27C34C3DC3A0C029C2BDC264C3BAC1B4C311C2"
|
||||
+ $"D8C428C326C53EC2FFC4B5C326C53EC326C53EC326C53EC33DC58CC377C612C3"
|
||||
+ $"5AC5D0C377C612C3C4C6D2C3C4C6D2C3E2C72CC3F7C810C3F7C790C3E4C998C3"
|
||||
+ $"95CC7FC420CB6FC395CC7FBD7CCC7FBD7CCC7FBD7CCC7F020DC371BD32C3D0BD"
|
||||
+ $"8DC371BD32C374BD31C374BD31C319BD08C26FBCA8C2C8BCD1C26FBCA8C270BC"
|
||||
+ $"ACC270BCACC22EBC9EC1B9BC6FC1F5BC85C1B9BC6FC1BABC6CC1BABC6CC15DBC"
|
||||
+ $"5FC0ADBC32C107BC48C0ADBC32C0ADBC32C0ADBC32BE5BBBD3BDE9BFF6BCCBBE"
|
||||
+ $"20BE51C0A1C03FC13FBF42C0EDC0F4C17BC240C1A1C1B1C1A2C2A6C1A0C371C1"
|
||||
+ $"70C339C18CC418C11CC471BEB9C49BBFC7C456BE10020FC5C6B9C4C5D4BAF5C5"
|
||||
+ $"BDB8FCC458B893C54BB86FC381B8B3C2DEBA32C348B98BC2EBB8FEC195B893C2"
|
||||
+ $"61B85AC105B8BBC04BBAB8C064B9D7C03ABB56C0ADBC0EC046BBD8C0ADBC0EC0"
|
||||
+ $"ACBC11C0ACBC11C107BC28C1BABC4CC15EBC3FC1BABC4CC1B9BC4BC1B9BC4BC2"
|
||||
+ $"06BC5AC24CBC26C218BC2FC260BC46C27DBC94C268BC73C27DBC94C279BC95C2"
|
||||
+ $"79BC95C2D5BCBFC37EBD1EC32639C37EBD1EC37DBD1AC37DBD1AC3D1BD35C495"
|
||||
+ $"BD1AC442BD41C547BCC60202C1A1BA32C0B6B9DAC200BA8C44BB4AC1C8BB45C0"
|
||||
+ $"9DBB530202C3D2BADDC34DBAF4C497BABAC3A1BC3EC46BBC65C30ABC210202BF"
|
||||
+ $"64BDD1BE7CBD77BFD1BE54BEDDBF94BF76BFA0BE21BF860002C6AFCB98C6AFCB"
|
||||
+ $"98C7B3CBA6C966CA7BC8DECB03C966CA7B0005C5B3C96AC5B3C96AC5BEC939C5"
|
||||
+ $"E0C8D3C5C1C8FDC60AC89BC682C844C650C875C6E4C7E4C6CBC6DEC70BC75FC6"
|
||||
+ $"62C60BC57EC482C546C59BC57EC4820608FBBFC320C6B3C305C739C33AC62DC3"
|
||||
+ $"53C60AC1FDC578C2C3C578C137C578BFCCC6E3C05BC5E5BF3CC7E0BFAAC894BF"
|
||||
+ $"63C89DC01EC885C124C7F5C0EAC7F5C15EC7F5C1F7C81DC183C81DC26BC81DC3"
|
||||
+ $"00C7E60606AE0BC353C60AC320C6B3C33AC62DC305C739C300C7E6C447C814C4"
|
||||
+ $"7AC735C45FC79DC494C6CDC4BBC6870607EF3EC6B9C760C6B9C7A5C6B9C74CC6"
|
||||
+ $"B2C725C6B7C739C6B2C725C4BBC687C47AC735C494C6CDC45FC79DC447C814C5"
|
||||
+ $"FBC874C5FBC87450C854C660C821C646C83BC699C7E90607FB3FCC68C96ACC46"
|
||||
+ $"C9D0CC8FC8F7CBF0C8CBCB6BC8A1CB6BC8A1CB5CC8B7CB3EC8E4CB4CC8CECB3E"
|
||||
+ $"C8E4CB3EC8E4CB3EC8E4CAFEC941CAA0C979CAB9C96CCAA0C979CBCFC9BCCBCF"
|
||||
+ $"C9BCCBCFC9BC0D0A000100000A010101000A020102000A010103000A00010400"
|
||||
+ $"0A000105000A000106000A0101071001178122040A0101081001178122040A03"
|
||||
+ $"0109000A04010A000A05010B000A05010C00"
|
||||
+};
|
||||
+
|
||||
+
|
||||
+resource app_signature "application/x-vnd.newbreedsoftware-tuxpaint";
|
||||
+
|
||||
+resource app_version {
|
||||
+ major = 0,
|
||||
+ middle = 150994944,
|
||||
+ minor = 234881024,
|
||||
+
|
||||
+ variety = B_APPV_DEVELOPMENT,
|
||||
+ internal = 0,
|
||||
+
|
||||
+ short_info = "Drawing program",
|
||||
+ long_info = "A simple drawing program for children."
|
||||
+};
|
||||
+
|
||||
+resource app_flags B_SINGLE_LAUNCH;
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="tuxpaint - Drawing program designed for young children"
|
||||
HOMEPAGE="http://www.tuxpaint.org/"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.21.tar.gz"
|
||||
CHECKSUM_MD5="a88401d1860648098eeed819cff038fa"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="media-libs/libsdl >= 1.2.14
|
||||
media-libs/sdl-ttf >= 2.0.9
|
||||
media-libs/sdl-image > 1.2.10
|
||||
dev-libs/fribidi >= 0.19.2
|
||||
app-text/libpaper >= 1.1.23+nmu2
|
||||
media-libs/libpng >= 1.2
|
||||
media-libs/freetype >= 2.3.11
|
||||
media-libs/sdl-mixer >= 1.2.11
|
||||
dev-util/pkgconfig >= 0.23
|
||||
sys-devel/gettext >= 0.17"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd tuxpaint-0.9.21
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd tuxpaint-0.9.21
|
||||
make install
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
DESCRIPTION="GD is an open source library for the dynamic creation of images by programmers."
|
||||
HOMEPAGE="http://www.libgd.org"
|
||||
SOURCE_URI="http://www.libgd.org/releases/gd-2.0.36RC1.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="media-libs/libpng >= 1.2.44
|
||||
media-libs/jpeg >= 6
|
||||
media-libs/giflib >= 4.1.6"
|
||||
|
||||
CHECKSUM_MD5="39ac48e6d5e0012a3bd2248a0102f209"
|
||||
BUILD()
|
||||
{
|
||||
cd gd-2.0.36RC1
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I config
|
||||
autoconf
|
||||
automake
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd gd-2.0.36RC1
|
||||
make install
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
DESCRIPTION="giflib - A library for processing GIFs"
|
||||
HOMEPAGE="http://sourceforge.net/projects/giflib/"
|
||||
SOURCE_URI="http://freefr.dl.sourceforge.net/project/giflib/giflib-4.x/giflib-4.1.6/giflib-4.1.6.tar.gz"
|
||||
CHECKSUM_MD5="4ff2ecec336b9724c5190f06e8a40f9e"
|
||||
REVISION="3"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd giflib-4.1.6
|
||||
sed -i 's#gl/gl.h#GL/gl.h#' configure.ac
|
||||
sed -i 's#gl.gl.h#GL/gl.h#' lib/dev2gif.c
|
||||
libtoolize --force --copy --install
|
||||
./autogen.sh
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd giflib-4.1.6
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1997-2007 Eric S. Raymond and Toshio Kuratomi"
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="Lightweight OSC (Open Sound Control) Implementation"
|
||||
HOMEPAGE="http://liblo.sourceforge.net/"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/liblo/liblo-0.26.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
CHECKSUM_MD5="5351de14262560e15e7f23865293b16f"
|
||||
BUILD()
|
||||
{
|
||||
cd liblo-0.26
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd liblo-0.26
|
||||
make install DESTDIR="${DESTDIR}"
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2008-2009 Stephen Sinclair
|
||||
2008 Kentaro Fukuchi
|
||||
2005-2008 Nicholas Humfrey
|
||||
2005 Martin Habets
|
||||
2005-2006 Steve Harris"
|
||||
@@ -1,105 +0,0 @@
|
||||
diff -aur liblo-0.26/liblo.pc.in liblo-0.26_Haiku/liblo.pc.in
|
||||
--- liblo-0.26/liblo.pc.in 2008-06-02 19:10:42.012845056 -0700
|
||||
+++ liblo-0.26_Haiku/liblo.pc.in 2012-05-15 16:42:17.135528448 -0700
|
||||
@@ -6,5 +6,5 @@
|
||||
Name: liblo
|
||||
Version: @PACKAGE_VERSION@
|
||||
Description: A lightweight OSC server/client library
|
||||
-Libs: -L${libdir} -llo -lpthread
|
||||
+Libs: -L${libdir} -llo
|
||||
Cflags: -I${includedir}
|
||||
diff -aur liblo-0.26/src/Makefile.am liblo-0.26_Haiku/src/Makefile.am
|
||||
--- liblo-0.26/src/Makefile.am 2009-03-07 09:09:52.017825792 -0800
|
||||
+++ liblo-0.26_Haiku/src/Makefile.am 2012-05-15 16:35:36.973340672 -0700
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
liblo_la_CFLAGS = -Wall -I$(top_srcdir)
|
||||
liblo_la_SOURCES = $(SOURCE_FILES)
|
||||
-liblo_la_LIBADD = -lpthread
|
||||
+liblo_la_LIBADD =
|
||||
liblo_la_LDFLAGS = -export-dynamic -version-info @LO_SO_VERSION@
|
||||
|
||||
noinst_PROGRAMS = testlo subtest
|
||||
diff -aur liblo-0.26/src/server.c liblo-0.26_Haiku/src/server.c
|
||||
--- liblo-0.26/src/server.c 2009-03-05 23:09:26.018087936 -0800
|
||||
+++ liblo-0.26_Haiku/src/server.c 2012-05-15 16:31:29.817627136 -0700
|
||||
@@ -958,44 +960,44 @@
|
||||
|
||||
//inet_ntop(s->addr.ss_family, &s->addr.padding, hostname, sizeof(hostname));
|
||||
if (s->protocol == LO_UDP && s->addr_len>0) {
|
||||
- err = getnameinfo((struct sockaddr *)&s->addr, sizeof(s->addr),
|
||||
- hostname, sizeof(hostname), portname, sizeof(portname),
|
||||
- NI_NUMERICHOST | NI_NUMERICSERV);
|
||||
- if (err) {
|
||||
- switch (err) {
|
||||
- case EAI_AGAIN:
|
||||
- lo_throw(s, err, "Try again", path);
|
||||
- break;
|
||||
- case EAI_BADFLAGS:
|
||||
- lo_throw(s, err, "Bad flags", path);
|
||||
- break;
|
||||
- case EAI_FAIL:
|
||||
- lo_throw(s, err, "Failed", path);
|
||||
- break;
|
||||
- case EAI_FAMILY:
|
||||
- lo_throw(s, err, "Cannot resolve address family", path);
|
||||
- break;
|
||||
- case EAI_MEMORY:
|
||||
- lo_throw(s, err, "Out of memory", path);
|
||||
- break;
|
||||
- case EAI_NONAME:
|
||||
- lo_throw(s, err, "Cannot resolve", path);
|
||||
- break;
|
||||
+ err = getnameinfo((struct sockaddr *)&s->addr, sizeof(struct sockaddr),
|
||||
+ hostname, sizeof(hostname), portname, sizeof(portname),
|
||||
+ NI_NUMERICHOST | NI_NUMERICSERV);
|
||||
+ if (err) {
|
||||
+ switch (err) {
|
||||
+ case EAI_AGAIN:
|
||||
+ lo_throw(s, err, "Try again", path);
|
||||
+ break;
|
||||
+ case EAI_BADFLAGS:
|
||||
+ lo_throw(s, err, "Bad flags", path);
|
||||
+ break;
|
||||
+ case EAI_FAIL:
|
||||
+ lo_throw(s, err, "Failed", path);
|
||||
+ break;
|
||||
+ case EAI_FAMILY:
|
||||
+ lo_throw(s, err, "Cannot resolve address family", path);
|
||||
+ break;
|
||||
+ case EAI_MEMORY:
|
||||
+ lo_throw(s, err, "Out of memory", path);
|
||||
+ break;
|
||||
+ case EAI_NONAME:
|
||||
+ lo_throw(s, err, "Cannot resolve", path);
|
||||
+ break;
|
||||
#ifndef WIN32
|
||||
- case EAI_SYSTEM:
|
||||
- lo_throw(s, err, strerror(err), path);
|
||||
- break;
|
||||
-#endif
|
||||
- default:
|
||||
- lo_throw(s, err, "Unknown error", path);
|
||||
- break;
|
||||
- }
|
||||
+ case EAI_SYSTEM:
|
||||
+ lo_throw(s, err, strerror(err), path);
|
||||
+ break;
|
||||
+#endif
|
||||
+ default:
|
||||
+ lo_throw(s, err, "Unknown error", path);
|
||||
+ break;
|
||||
+ }
|
||||
|
||||
- return;
|
||||
- }
|
||||
+ return;
|
||||
+ }
|
||||
} else {
|
||||
- hostname[0] = '\0';
|
||||
- portname[0] = '\0';
|
||||
+ hostname[0] = '\0';
|
||||
+ portname[0] = '\0';
|
||||
}
|
||||
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
DESCRIPTION="Fluidsynth is a software real-time synthesizer based on the Soundfont 2 specifications."
|
||||
HOMEPAGE="http://www.fluidsynth.org/"
|
||||
SOURCE_URI="http://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.3/fluidsynth-1.1.3.tar.bz2/download"
|
||||
CHECKSUM_MD5="6e35225b088eae0c2af0b78097941655"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-libs/glib >= 2.24.1
|
||||
media-libs/libsndfile >= 1.0.18"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd fluidsynth-1.1.3
|
||||
cmake .
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd fluidsynth-1.1.3
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2007-2010 Josh Green, Pedro Lopez-Cabanillas, David Henningsson"
|
||||
@@ -1,26 +0,0 @@
|
||||
DESCRIPTION="A branch for adding a new function to the FluidSynth API, fluid_player_add_mem."
|
||||
HOMEPAGE="https://code.launchpad.net/~mgiuca/fluidsynth/midi-buffer"
|
||||
SOURCE_URI="bzr+lp:~mgiuca/fluidsynth/midi-buffer"
|
||||
#CHECKSUM_MD5=""
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-libs/glib >= 2.24.1
|
||||
media-libs/libsndfile >= 1.0.18"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd fluidsynth-1.1-midi-buffer
|
||||
cd fluidsynth
|
||||
cmake .
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd fluidsynth-1.1-midi-buffer
|
||||
cd fluidsynth
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2007-2011 Matt Giuca, Josh Green, Pedro Lopez-Cabanillas, David Henningsson"
|
||||
@@ -1,38 +0,0 @@
|
||||
diff -Naur fluidsynth-1.1-midi-buffer/fluidsynth/CMakeLists.txt fluidsynth-1.1-midi-buffer-haiku/fluidsynth/CMakeLists.txt
|
||||
--- fluidsynth-1.1-midi-buffer/fluidsynth/CMakeLists.txt 2011-04-24 20:59:42.047710208 -0300
|
||||
+++ fluidsynth-1.1-midi-buffer-haiku/fluidsynth/CMakeLists.txt 2011-04-24 21:01:20.278134784 -0300
|
||||
@@ -166,10 +166,18 @@
|
||||
add_definitions ( -mms-bitfields )
|
||||
endif ( MINGW )
|
||||
else ( WIN32 )
|
||||
-# Check PThreads, but not in Windows
|
||||
- find_package ( Pthreads REQUIRED )
|
||||
- set ( HAVE_LIBPTHREAD ${PTHREADS_FOUND} )
|
||||
- set ( LIBFLUID_LIBS "m" )
|
||||
+
|
||||
+if (UNIX AND NOT BEOS)
|
||||
+# Check PThreads, but not in Windows
|
||||
+ find_package ( Pthreads REQUIRED )
|
||||
+ set ( HAVE_LIBPTHREAD ${PTHREADS_FOUND} )
|
||||
+ set ( LIBFLUID_LIBS "m" )
|
||||
+endif (UNIX AND NOT BEOS)
|
||||
+
|
||||
+if (BEOS)
|
||||
+set ( LIBFLUID_LIBS "network")
|
||||
+endif (BEOS)
|
||||
+
|
||||
endif ( WIN32 )
|
||||
|
||||
# IBM OS/2
|
||||
diff -Naur fluidsynth-1.1-midi-buffer/fluidsynth/src/utils/fluid_sys.h fluidsynth-1.1-midi-buffer-haiku/fluidsynth/src/utils/fluid_sys.h
|
||||
--- fluidsynth-1.1-midi-buffer/fluidsynth/src/utils/fluid_sys.h 2011-04-24 20:59:42.047710208 -0300
|
||||
+++ fluidsynth-1.1-midi-buffer-haiku/fluidsynth/src/utils/fluid_sys.h 2011-04-24 21:02:01.829685760 -0300
|
||||
@@ -335,7 +335,7 @@
|
||||
sample data.
|
||||
*/
|
||||
|
||||
-#if defined(HAVE_SYS_MMAN_H) && !defined(__OS2__)
|
||||
+#if defined(HAVE_SYS_MMAN_H) && !defined(__OS2__) && !defined(__HAIKU__)
|
||||
#define fluid_mlock(_p,_n) mlock(_p, _n)
|
||||
#define fluid_munlock(_p,_n) munlock(_p,_n)
|
||||
#else
|
||||
@@ -1,34 +0,0 @@
|
||||
diff -Naur fluidsynth-1.1.3/CMakeLists.txt fluidsynth-1.1.3-haiku/CMakeLists.txt
|
||||
--- fluidsynth-1.1.3/CMakeLists.txt 2010-10-10 22:16:30.031457280 -0300
|
||||
+++ fluidsynth-1.1.3-haiku/CMakeLists.txt 2011-04-24 14:21:01.000000000 -0300
|
||||
@@ -152,9 +152,18 @@
|
||||
endif ( MINGW )
|
||||
else ( WIN32 )
|
||||
# Check PThreads, but not in Windows
|
||||
+
|
||||
+if (UNIX AND NOT BEOS)
|
||||
+# Check PThreads, but not in Windows
|
||||
find_package ( Pthreads REQUIRED )
|
||||
set ( HAVE_LIBPTHREAD ${PTHREADS_FOUND} )
|
||||
set ( LIBFLUID_LIBS "m" )
|
||||
+endif (UNIX AND NOT BEOS)
|
||||
+
|
||||
+if (BEOS)
|
||||
+set ( LIBFLUID_LIBS "network")
|
||||
+endif (BEOS)
|
||||
+
|
||||
endif ( WIN32 )
|
||||
|
||||
# IBM OS/2
|
||||
diff -Naur fluidsynth-1.1.3/src/utils/fluid_sys.h fluidsynth-1.1.3-haiku/src/utils/fluid_sys.h
|
||||
--- fluidsynth-1.1.3/src/utils/fluid_sys.h 2010-10-10 22:16:30.022806528 -0300
|
||||
+++ fluidsynth-1.1.3-haiku/src/utils/fluid_sys.h 2011-04-24 14:17:52.000000000 -0300
|
||||
@@ -335,7 +335,7 @@
|
||||
sample data.
|
||||
*/
|
||||
|
||||
-#if defined(HAVE_SYS_MMAN_H) && !defined(__OS2__)
|
||||
+#if defined(HAVE_SYS_MMAN_H) && !defined(__OS2__) && !defined(__HAIKU__)
|
||||
#define fluid_mlock(_p,_n) mlock(_p, _n)
|
||||
#define fluid_munlock(_p,_n) munlock(_p,_n)
|
||||
#else
|
||||
@@ -1,38 +0,0 @@
|
||||
diff -Naur fluidsynth-1.1-midi-buffer/fluidsynth/CMakeLists.txt fluidsynth-1.1-midi-buffer-haiku/fluidsynth/CMakeLists.txt
|
||||
--- fluidsynth-1.1-midi-buffer/fluidsynth/CMakeLists.txt 2011-04-24 20:59:42.047710208 -0300
|
||||
+++ fluidsynth-1.1-midi-buffer-haiku/fluidsynth/CMakeLists.txt 2011-04-24 21:01:20.278134784 -0300
|
||||
@@ -166,10 +166,18 @@
|
||||
add_definitions ( -mms-bitfields )
|
||||
endif ( MINGW )
|
||||
else ( WIN32 )
|
||||
-# Check PThreads, but not in Windows
|
||||
- find_package ( Pthreads REQUIRED )
|
||||
- set ( HAVE_LIBPTHREAD ${PTHREADS_FOUND} )
|
||||
- set ( LIBFLUID_LIBS "m" )
|
||||
+
|
||||
+if (UNIX AND NOT BEOS)
|
||||
+# Check PThreads, but not in Windows
|
||||
+ find_package ( Pthreads REQUIRED )
|
||||
+ set ( HAVE_LIBPTHREAD ${PTHREADS_FOUND} )
|
||||
+ set ( LIBFLUID_LIBS "m" )
|
||||
+endif (UNIX AND NOT BEOS)
|
||||
+
|
||||
+if (BEOS)
|
||||
+set ( LIBFLUID_LIBS "network")
|
||||
+endif (BEOS)
|
||||
+
|
||||
endif ( WIN32 )
|
||||
|
||||
# IBM OS/2
|
||||
diff -Naur fluidsynth-1.1-midi-buffer/fluidsynth/src/utils/fluid_sys.h fluidsynth-1.1-midi-buffer-haiku/fluidsynth/src/utils/fluid_sys.h
|
||||
--- fluidsynth-1.1-midi-buffer/fluidsynth/src/utils/fluid_sys.h 2011-04-24 20:59:42.047710208 -0300
|
||||
+++ fluidsynth-1.1-midi-buffer-haiku/fluidsynth/src/utils/fluid_sys.h 2011-04-24 21:02:01.829685760 -0300
|
||||
@@ -335,7 +335,7 @@
|
||||
sample data.
|
||||
*/
|
||||
|
||||
-#if defined(HAVE_SYS_MMAN_H) && !defined(__OS2__)
|
||||
+#if defined(HAVE_SYS_MMAN_H) && !defined(__OS2__) && !defined(__HAIKU__)
|
||||
#define fluid_mlock(_p,_n) mlock(_p, _n)
|
||||
#define fluid_munlock(_p,_n) munlock(_p,_n)
|
||||
#else
|
||||
@@ -1,5 +0,0 @@
|
||||
Package: Gnash
|
||||
Version: 0.8
|
||||
Copyright: Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
||||
License: GNU GPL v3
|
||||
URL: http://www.gnu.org/software/gnash/
|
||||
@@ -1,114 +0,0 @@
|
||||
DESCRIPTION="Gnash - GNU Flash player"
|
||||
HOMEPAGE="http://www.gnu.org/software/gnash/"
|
||||
# dummy
|
||||
SOURCE_URI="http://ports.haiku-files.org/export/682/haikuports/trunk/media-video/gnash/mime.zip"
|
||||
CHECKSUM_MD5="1d22a6d67f69d0bfaf2f63e7e8e9d39f"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||
DEPEND="media-video/ffmpeg >= 0.5
|
||||
media-image/giflib >= ??
|
||||
agg >= ??
|
||||
dev-libs/boost >= ??"
|
||||
# Use 'install-gnash-deps --compile-time' to install deps
|
||||
#
|
||||
# notes:
|
||||
# * the /boot/preferences/Gnash directory is not inserted into the archive,
|
||||
# but it might be used to supplement /boot/home/config/settings/Gnash
|
||||
# * on Haiku alpha
|
||||
# ** versioned symlinks to libraries must be created;
|
||||
# ** sound must be disabled in ~/config/Gnash/gnashrc;
|
||||
# ** if you don't mind replacing system files, installing libroot with chgset 34161 backported will improve stability.
|
||||
# ** more info on webpage
|
||||
#
|
||||
|
||||
|
||||
BUILD()
|
||||
{
|
||||
if test ! -e gnash; then
|
||||
bzr branch http://bzr.savannah.gnu.org/r/gnash/trunk/ gnash || true;
|
||||
fi
|
||||
|
||||
pushd gnash
|
||||
setgcc gcc4
|
||||
if test ! -e configure; then
|
||||
./autogen.sh ;
|
||||
rm config.status || true ;
|
||||
fi
|
||||
if test ! -e config.status; then
|
||||
./configure --prefix=/boot/apps/Gnash --exec-prefix=/boot/apps/Gnash --bindir=/boot/apps/Gnash --sysconfdir=/boot/preferences/Gnash --libdir=/boot/common/lib --enable-renderer=agg --enable-fps-debug=yes --enable-plugins --enable-npapi --with-npapi-plugindir=/boot/apps/Gnash CXXFLAGS='-Wno-multichar' --enable-scriptable;
|
||||
fi
|
||||
make "CXXFLAGS=-I/boot/common/include/boost-1_38/"
|
||||
|
||||
pushd plugin/npapi ;
|
||||
mkdir -pv .libs ;
|
||||
MIMELOCATION=`pwd` ;
|
||||
MIMELOCATION=`dirname "$MIMELOCATION"` ;
|
||||
MIMELOCATION=`dirname "$MIMELOCATION"` ;
|
||||
MIMELOCATION=`dirname "$MIMELOCATION"` ;
|
||||
MIMELOCATION=`dirname "$MIMELOCATION"` ;
|
||||
MIMELOCATION="$MIMELOCATION/download/mime.zip" ;
|
||||
unzip -o "$MIMELOCATION" ;
|
||||
for GCC_VERSION in gcc2 gcc4 ; do
|
||||
( echo "compiling libgnashplugin.$GCC_VERSION.so" &&
|
||||
setgcc $GCC_VERSION
|
||||
PLUGIN_SRCS="mozilla-sdk/np_entry mozilla-sdk/npp_gate mozilla-sdk/npn_gate plugin callbacks external pluginScriptObject"
|
||||
for src in $PLUGIN_SRCS; do
|
||||
echo "$src".cpp
|
||||
g++ -DHAVE_CONFIG_H -I. -I../.. -DPLUGIN_TRACE -DXP_HAIKU -DGNASHBINDIR=\"/boot/common/bin\" -DSYSCONFDIR=\"/boot/preferences/Gnash\" -I../libcore/parser -I../../libbase -I../backend -I./mozilla-sdk -I./mozilla-sdk/include -I/boot/common/include -I/boot/common/include/boost-1_38/ -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -Wno-multichar -c "$src".cpp -o "$src".o ;
|
||||
done ;
|
||||
PLUGIN_SRCS="${PLUGIN_SRCS} "
|
||||
g++ -shared ${PLUGIN_SRCS// /.o } -lbe -lnetwork -o .libs/libgnashplugin.$GCC_VERSION.so &&
|
||||
copyattr x .libs/libgnashplugin.$GCC_VERSION.so
|
||||
) || (setgcc gcc4; exit 1);
|
||||
done ;
|
||||
rm x ;
|
||||
setgcc gcc4
|
||||
popd
|
||||
|
||||
popd
|
||||
}
|
||||
INSTALL()
|
||||
{
|
||||
cd gnash
|
||||
setgcc gcc4
|
||||
make install "CXXFLAGS=-I/boot/common/include/boost-1_38/"
|
||||
|
||||
true DISTRODIR=`pwd`/../../distro
|
||||
ROOTDIR=/boot/develop/haikuports/media-video/gnash
|
||||
DISTRODIR=/boot/develop/haikuports/media-video/gnash/distro
|
||||
if test ! -e "$DISTRODIR"; then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
install plugin/npapi/.libs/libgnashplugin.gcc2.so "$DISTRODIR/boot/apps/Gnash"
|
||||
install plugin/npapi/.libs/libgnashplugin.gcc4.so "$DISTRODIR/boot/apps/Gnash"
|
||||
|
||||
pushd "$DISTRODIR"
|
||||
|
||||
mkdir -pv boot/home/config/settings
|
||||
cp -r boot/preferences/Gnash boot/home/config/settings
|
||||
|
||||
mkdir -pv boot/home/config/settings/Mozilla/plugins
|
||||
ln -s /boot/apps/Gnash/libgnashplugin.gcc2.so boot/home/config/settings/Mozilla/plugins/
|
||||
ln -s /boot/apps/Gnash/libgnashplugin.gcc4.so boot/home/config/settings/Mozilla/plugins/
|
||||
|
||||
rm boot/apps/Gnash/gprocessor boot/apps/Gnash/rtmpget boot/apps/Gnash/gnash
|
||||
rm -r boot/apps/Gnash/include boot/apps/Gnash/share
|
||||
rm -r boot/common/lib/pkgconfig
|
||||
rm -r boot/common/lib/gnash/libmoz* || true
|
||||
mkdir -pv boot/common/bin/
|
||||
ln -sf /boot/apps/Gnash/haiku-gnash boot/common/bin/haiku-gnash
|
||||
ln -sf /boot/apps/Gnash/haiku-gnash boot/common/bin/gnash
|
||||
for i in boot/common/lib/gnash/*; do
|
||||
strip --strip-unneeded "$i" || true;
|
||||
done
|
||||
strip --strip-debug boot/apps/Gnash/haiku-gnash || true
|
||||
|
||||
xres -o boot/apps/Gnash/haiku-gnash -a VICN:101:BEOS:ICON $ROOTDIR/additional-files/gnash.hvif
|
||||
|
||||
popd
|
||||
|
||||
|
||||
read -p "Gnash installed, press key "
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
DESCRIPTION="enet"
|
||||
HOMEPAGE="http://enet.bespin.org"
|
||||
SOURCE_URI="http://enet.bespin.org/download/enet-1.2.2.tar.gz"
|
||||
CHECKSUM_MD5="bae05cb752649e8c692944d5480fb861"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd enet-1.2.2
|
||||
libtoolize --force --copy --install
|
||||
autoreconf -i
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd enet-1.2.2
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2002-2010 Lee Salzman"
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -Naur enet-1.2.2/configure.ac enet-1.2.2-haiku/configure.ac
|
||||
--- enet-1.2.2/configure.ac 2010-05-20 13:55:27.056623104 -0300
|
||||
+++ enet-1.2.2-haiku/configure.ac 2011-04-24 01:31:41.000000000 -0300
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
AC_CHECK_MEMBER(struct msghdr.msg_flags, [AC_DEFINE(HAS_MSGHDR_FLAGS)], , [#include <sys/socket.h>])
|
||||
|
||||
+AC_CHECK_LIB(network, connect)
|
||||
+
|
||||
AC_CHECK_TYPE(socklen_t, [AC_DEFINE(HAS_SOCKLEN_T)], ,
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
@@ -1,78 +0,0 @@
|
||||
diff -Naur tor-0.2.2.35/configure.in tor-0.2.2.35-haiku/configure.in
|
||||
--- tor-0.2.2.35/configure.in 2011-12-15 18:00:33.013893632 +0100
|
||||
+++ tor-0.2.2.35-haiku/configure.in 2011-12-18 01:13:44.216268800 +0100
|
||||
@@ -215,7 +215,7 @@
|
||||
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
-AC_SEARCH_LIBS(socket, [socket])
|
||||
+AC_SEARCH_LIBS(socket, [socket network])
|
||||
AC_SEARCH_LIBS(gethostbyname, [nsl])
|
||||
AC_SEARCH_LIBS(dlopen, [dl])
|
||||
AC_SEARCH_LIBS(inet_aton, [resolv])
|
||||
@@ -340,6 +340,19 @@
|
||||
fi
|
||||
AC_SUBST(TOR_LIBEVENT_LIBS)
|
||||
|
||||
+dnl ------------------------------------------------------
|
||||
+dnl Where do you live, libm?
|
||||
+
|
||||
+dnl On some platforms (Haiku/BeOS) the math library is
|
||||
+dnl part of libroot. In which case don't link against lm
|
||||
+TOR_LIB_MATH=""
|
||||
+save_LIBS="$LIBS"
|
||||
+AC_SEARCH_LIBS(cos, [m], , AC_MSG_ERROR([Could not find libm and libcore does not provide the functions.]))
|
||||
+if test "$ac_cv_search_cos" != "none required"; then
|
||||
+ TOR_LIB_MATH="$ac_cv_search_cos"
|
||||
+fi
|
||||
+LIBS="$save_LIBS"
|
||||
+AC_SUBST(TOR_LIB_MATH)
|
||||
|
||||
dnl ------------------------------------------------------
|
||||
dnl Where do you live, openssl? And how do we call you?
|
||||
diff -Naur tor-0.2.2.35/src/or/Makefile.am tor-0.2.2.35-haiku/src/or/Makefile.am
|
||||
--- tor-0.2.2.35/src/or/Makefile.am 2011-12-15 17:28:37.048758784 +0100
|
||||
+++ tor-0.2.2.35-haiku/src/or/Makefile.am 2011-12-18 00:53:00.718536704 +0100
|
||||
@@ -43,7 +43,7 @@
|
||||
tor_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ @TOR_LDFLAGS_libevent@
|
||||
tor_LDADD = ./libtor.a ../common/libor.a ../common/libor-crypto.a \
|
||||
../common/libor-event.a \
|
||||
- @TOR_ZLIB_LIBS@ -lm @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
||||
+ @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
||||
|
||||
noinst_HEADERS = buffers.h circuitbuild.h circuitlist.h circuituse.h \
|
||||
command.h config.h connection_edge.h connection.h connection_or.h \
|
||||
diff -Naur tor-0.2.2.35/src/test/Makefile.am tor-0.2.2.35-haiku/src/test/Makefile.am
|
||||
--- tor-0.2.2.35/src/test/Makefile.am 2011-12-15 17:28:37.022806528 +0100
|
||||
+++ tor-0.2.2.35-haiku/src/test/Makefile.am 2011-12-18 00:53:47.138412032 +0100
|
||||
@@ -25,6 +25,6 @@
|
||||
@TOR_LDFLAGS_libevent@
|
||||
test_LDADD = ../or/libtor.a ../common/libor.a ../common/libor-crypto.a \
|
||||
../common/libor-event.a \
|
||||
- @TOR_ZLIB_LIBS@ -lm @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
||||
+ @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
||||
|
||||
noinst_HEADERS = tinytest.h tinytest_macros.h test.h
|
||||
diff -Naur tor-0.2.2.35/src/tools/Makefile.am tor-0.2.2.35-haiku/src/tools/Makefile.am
|
||||
--- tor-0.2.2.35/src/tools/Makefile.am 2011-12-15 17:28:37.020971520 +0100
|
||||
+++ tor-0.2.2.35-haiku/src/tools/Makefile.am 2011-12-18 00:54:15.212336640 +0100
|
||||
@@ -3,16 +3,16 @@
|
||||
|
||||
tor_resolve_SOURCES = tor-resolve.c
|
||||
tor_resolve_LDFLAGS = @TOR_LDFLAGS_libevent@
|
||||
-tor_resolve_LDADD = ../common/libor.a -lm @TOR_LIBEVENT_LIBS@ @TOR_LIB_WS32@
|
||||
+tor_resolve_LDADD = ../common/libor.a @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_LIB_WS32@
|
||||
|
||||
tor_gencert_SOURCES = tor-gencert.c
|
||||
tor_gencert_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
|
||||
@TOR_LDFLAGS_libevent@
|
||||
tor_gencert_LDADD = ../common/libor.a ../common/libor-crypto.a \
|
||||
- -lm @TOR_ZLIB_LIBS@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
||||
+ @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
||||
|
||||
tor_checkkey_SOURCES = tor-checkkey.c
|
||||
tor_checkkey_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
|
||||
@TOR_LDFLAGS_libevent@
|
||||
tor_checkkey_LDADD = ../common/libor.a ../common/libor-crypto.a \
|
||||
- -lm @TOR_ZLIB_LIBS@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
||||
+ @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
||||
@@ -1,32 +0,0 @@
|
||||
DESCRIPTION="Anonymizing overlay network for TCP"
|
||||
HOMEPAGE="http://www.torproject.org/"
|
||||
SOURCE_URI="https://www.torproject.org/dist/tor-0.2.2.35.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-libs/openssl >= 0.9.8
|
||||
dev-libs/libevent >= 2.0.10"
|
||||
CHECKSUM_MD5="dcecf699c4b929319d5f1ce0358d4835"
|
||||
BUILD()
|
||||
{
|
||||
cd tor-0.2.2.35
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd tor-0.2.2.35
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd tor-0.2.2.35
|
||||
make test
|
||||
}
|
||||
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="2001-2004, Roger Dingledine
|
||||
2004-2006, Roger Dingledine, Nick Mathewson
|
||||
2007-2011, The Tor Project, Inc."
|
||||
@@ -1,37 +0,0 @@
|
||||
DESCRIPTION="Anonymizing overlay network for TCP"
|
||||
HOMEPAGE="http://www.torproject.org/"
|
||||
SOURCE_URI="https://www.torproject.org/dist/tor-0.2.3.25.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-libs/openssl >= 0.9.8
|
||||
dev-libs/libevent >= 2.0.10"
|
||||
CHECKSUM_MD5="a1c364189a9a66ed9daa8e6436489daf"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd tor-0.2.3.25
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--sysconfdir=`finddir B_COMMON_SETTINGS_DIRECTORY` \
|
||||
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
|
||||
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \
|
||||
--disable-asciidoc
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd tor-0.2.3.25
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd tor-0.2.3.25
|
||||
make test
|
||||
}
|
||||
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="2001-2004 Roger Dingledine
|
||||
2004-2006 Roger Dingledine, Nick Mathewson
|
||||
2007-2011 The Tor Project, Inc."
|
||||
@@ -1,134 +0,0 @@
|
||||
diff -Naur rtorrent-0.8.5/rak/socket_address.h rtorrent-0.8.5-haiku/rak/socket_address.h
|
||||
--- rtorrent-0.8.5/rak/socket_address.h 2008-05-07 12:19:12.000000000 +0000
|
||||
+++ rtorrent-0.8.5-haiku/rak/socket_address.h 2009-11-25 04:04:38.000000000 +0000
|
||||
@@ -55,6 +55,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
+typedef unsigned short sa_family_t;
|
||||
+
|
||||
namespace rak {
|
||||
|
||||
class socket_address_inet;
|
||||
diff -Naur rtorrent-0.8.5/src/display/canvas.cc rtorrent-0.8.5-haiku/src/display/canvas.cc
|
||||
--- rtorrent-0.8.5/src/display/canvas.cc 2008-08-26 20:33:50.000000000 +0000
|
||||
+++ rtorrent-0.8.5-haiku/src/display/canvas.cc 2009-11-25 04:10:37.000000000 +0000
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
-#include <sys/termios.h>
|
||||
+#include <termios.h>
|
||||
#include <torrent/exceptions.h>
|
||||
|
||||
#include "canvas.h"
|
||||
diff -Naur rtorrent-0.8.5/src/display/window_file_list.cc rtorrent-0.8.5-haiku/src/display/window_file_list.cc
|
||||
--- rtorrent-0.8.5/src/display/window_file_list.cc 2008-11-16 15:55:08.000000000 +0000
|
||||
+++ rtorrent-0.8.5-haiku/src/display/window_file_list.cc 2009-11-25 17:26:03.000000000 +0000
|
||||
@@ -46,6 +46,8 @@
|
||||
#include "ui/element_file_list.h"
|
||||
|
||||
#include "window_file_list.h"
|
||||
+#include <wchar.h>
|
||||
+typedef std::basic_string<wchar_t> StdWString;
|
||||
|
||||
namespace display {
|
||||
|
||||
@@ -59,7 +61,7 @@
|
||||
|
||||
// Convert std::string to std::wstring of given width (in screen positions),
|
||||
// taking into account that some characters may be occupying two screen positions.
|
||||
-std::wstring
|
||||
+StdWString
|
||||
wstring_width(const std::string& i_str, int width) {
|
||||
wchar_t result[width + 1];
|
||||
size_t length = std::mbstowcs(result, i_str.c_str(), width);
|
||||
diff -Naur rtorrent-0.8.5/src/input/path_input.cc rtorrent-0.8.5-haiku/src/input/path_input.cc
|
||||
--- rtorrent-0.8.5/src/input/path_input.cc 2008-05-07 12:19:11.000000000 +0000
|
||||
+++ rtorrent-0.8.5-haiku/src/input/path_input.cc 2009-11-25 17:27:41.000000000 +0000
|
||||
@@ -42,7 +42,8 @@
|
||||
#include <rak/path.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
-#include <sys/dir.h>
|
||||
+#include <dirent.h>
|
||||
+#include <sys/stat.h>
|
||||
|
||||
#include "path_input.h"
|
||||
|
||||
@@ -72,7 +73,7 @@
|
||||
|
||||
struct _transform_filename {
|
||||
void operator () (utils::directory_entry& entry) {
|
||||
- if (entry.d_type == DT_DIR)
|
||||
+ if (S_ISDIR(entry.d_type))
|
||||
entry.d_name += '/';
|
||||
}
|
||||
};
|
||||
diff -Naur rtorrent-0.8.5/src/signal_handler.cc rtorrent-0.8.5-haiku/src/signal_handler.cc
|
||||
--- rtorrent-0.8.5/src/signal_handler.cc 2008-05-07 12:19:11.000000000 +0000
|
||||
+++ rtorrent-0.8.5-haiku/src/signal_handler.cc 2009-11-25 12:17:33.000000000 +0000
|
||||
@@ -107,8 +107,8 @@
|
||||
return "Timer signal";
|
||||
case SIGTERM:
|
||||
return "Termination signal";
|
||||
- case SIGBUS:
|
||||
- return "Bus error";
|
||||
+// case SIGBUS:
|
||||
+// return "Bus error";
|
||||
default:
|
||||
return "Unlisted";
|
||||
}
|
||||
diff -Naur rtorrent-0.8.5/src/signal_handler.h rtorrent-0.8.5-haiku/src/signal_handler.h
|
||||
--- rtorrent-0.8.5/src/signal_handler.h 2008-05-07 12:19:11.000000000 +0000
|
||||
+++ rtorrent-0.8.5-haiku/src/signal_handler.h 2009-11-25 12:15:35.000000000 +0000
|
||||
@@ -37,7 +37,7 @@
|
||||
#ifndef RTORRENT_SIGNAL_HANDLER_H
|
||||
#define RTORRENT_SIGNAL_HANDLER_H
|
||||
|
||||
-#include <sys/signal.h>
|
||||
+#include <signal.h>
|
||||
#include <sigc++/functors/slot.h>
|
||||
|
||||
class SignalHandler {
|
||||
diff -Naur rtorrent-0.8.5/src/utils/directory.cc rtorrent-0.8.5-haiku/src/utils/directory.cc
|
||||
--- rtorrent-0.8.5/src/utils/directory.cc 2008-05-07 12:19:11.000000000 +0000
|
||||
+++ rtorrent-0.8.5-haiku/src/utils/directory.cc 2009-11-25 17:28:40.000000000 +0000
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <dirent.h>
|
||||
+#include <sys/stat.h>
|
||||
#include <rak/path.h>
|
||||
#include <torrent/exceptions.h>
|
||||
|
||||
@@ -69,6 +70,7 @@
|
||||
return false;
|
||||
|
||||
struct dirent* entry;
|
||||
+ struct stat st;
|
||||
|
||||
while ((entry = readdir(d)) != NULL) {
|
||||
if ((flags & update_hide_dot) && entry->d_name[0] == '.')
|
||||
@@ -78,7 +80,8 @@
|
||||
|
||||
itr->d_fileno = entry->d_fileno;
|
||||
itr->d_reclen = entry->d_reclen;
|
||||
- itr->d_type = entry->d_type;
|
||||
+ lstat(rak::path_expand(m_path).c_str(), &st);
|
||||
+ itr->d_type = st.st_mode;
|
||||
|
||||
#ifdef DIRENT_NAMLEN_EXISTS_FOOBAR
|
||||
itr->d_name = std::string(entry->d_name, entry->d_name + entry->d_namlen);
|
||||
diff -Naur rtorrent-0.8.5/src/utils/directory.h rtorrent-0.8.5-haiku/src/utils/directory.h
|
||||
--- rtorrent-0.8.5/src/utils/directory.h 2008-05-07 12:19:11.000000000 +0000
|
||||
+++ rtorrent-0.8.5-haiku/src/utils/directory.h 2009-11-25 11:29:12.000000000 +0000
|
||||
@@ -41,6 +41,8 @@
|
||||
#include <vector>
|
||||
#include <inttypes.h>
|
||||
|
||||
+#define d_fileno d_ino
|
||||
+
|
||||
namespace utils {
|
||||
|
||||
struct directory_entry {
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="rTorrent"
|
||||
HOMEPAGE="http://libtorrent.rakshasa.no/"
|
||||
SOURCE_URI="http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.5.tar.gz"
|
||||
REVISION="1"
|
||||
CHECKSUM_MD5="e701095e1824b7e512a17000f4c0a783"
|
||||
STATUS_HAIKU="stable"
|
||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||
# pkgconfig is only a build dependency
|
||||
DEPEND="pkgconfig >= 0.23
|
||||
curl >= 7.19.1
|
||||
libsigc++ >= ??
|
||||
net-libs/libtorrent >= 0.12.5"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd rtorrent-0.8.5
|
||||
autoreconf -vfi
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd rtorrent-0.8.5
|
||||
make install
|
||||
}
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2005-2009 Jari Sundell"
|
||||
@@ -1,25 +0,0 @@
|
||||
DESCRIPTION="Reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard"
|
||||
HOMEPAGE="http://www.nongnu.org/dmidecode/"
|
||||
SOURCE_URI="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.11.tar.gz"
|
||||
CHECKSUM_MD5="9fddbbc3e330bee5950b8b5d424a57cb"
|
||||
REVISION="2"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd dmidecode-2.11
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd dmidecode-2.11
|
||||
make install prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
sbindir=`finddir B_COMMON_BIN_DIRECTORY` \
|
||||
DESTDIR="$DESTDIR" \
|
||||
mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
|
||||
docdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc/dmidecode
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2000-2002 Alan Cox, 2002-2010 Jean Delvare"
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="libtool - a generic library support script"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtool"
|
||||
SOURCE_URI="ftp://ftp.gnu.org/gnu/libtool/libtool-2.2.10.tar.gz"
|
||||
CHECKSUM_MD5="b745d220e88163fcd9eea0a90ccf21b0"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd libtool-2.2.10
|
||||
./bootstrap
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libtool-2.2.10
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2004-2010 Free Software Foundation, Inc."
|
||||
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION="libtool - a generic library support script"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtool"
|
||||
SOURCE_URI="http://ftp.gnu.org/gnu/libtool/libtool-2.2.6a.tar.gz"
|
||||
CHECKSUM_MD5="8ca1ea241cd27ff9832e045fe9afe4fd"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd libtool-2.2.6
|
||||
./bootstrap
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libtool-2.2.6
|
||||
make install
|
||||
make check
|
||||
}
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2004-2009 Free Software Foundation, Inc."
|
||||
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION="libtool - a generic library support script"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtool"
|
||||
SOURCE_URI="http://ftp.gnu.org/gnu/libtool/libtool-2.2.6b.tar.gz"
|
||||
CHECKSUM_MD5="07da460450490148c6d2df0f21481a25"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd libtool-2.2.6b
|
||||
./bootstrap
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libtool-2.2.6b
|
||||
make install
|
||||
# make check
|
||||
}
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2004-2009 Free Software Foundation, Inc."
|
||||
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION="libtool - a generic library support script"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtool"
|
||||
SOURCE_URI="ftp://alpha.gnu.org/gnu/libtool/libtool-2.2.7b.tar.gz"
|
||||
CHECKSUM_MD5="9f66a85efaeed0d9652f647986f6ad5b"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd libtool-2.2.7b
|
||||
./bootstrap
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libtool-2.2.7b
|
||||
make install
|
||||
# make check
|
||||
}
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2004-2010 Free Software Foundation, Inc."
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="libtool - a generic library support script"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtool"
|
||||
SOURCE_URI="ftp://ftp.gnu.org/gnu/libtool/libtool-2.2.8.tar.gz"
|
||||
CHECKSUM_MD5="cad2a7188242bc8dbab0645532ae3d6f"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd libtool-2.2.8
|
||||
./bootstrap
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libtool-2.2.8
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2004-2010 Free Software Foundation, Inc."
|
||||
@@ -1,25 +0,0 @@
|
||||
DESCRIPTION="libtool - a generic library support script"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtool"
|
||||
SOURCE_URI="git://git.savannah.gnu.org/libtool.git"
|
||||
#CHECKSUM_MD5=""
|
||||
REVISION="1"
|
||||
MESSAGE="This is for building and testing of unreleased libtool"
|
||||
STATUS_HAIKU="unstable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd libtool-2.2.x
|
||||
./bootstrap
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libtool-2.2.x
|
||||
make install
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2004-2010 Free Software Foundation, Inc."
|
||||
@@ -1,54 +0,0 @@
|
||||
diff -ur libtool-2.2.5a/libltdl/config/ltmain.m4sh libtool-2.2.5a-haiku/libltdl/config/ltmain.m4sh
|
||||
--- libtool-2.2.5a/libltdl/config/ltmain.m4sh 2008-06-02 07:07:26.000000000 +0000
|
||||
+++ libtool-2.2.5a-haiku/libltdl/config/ltmain.m4sh 2008-06-05 16:07:25.000000000 +0000
|
||||
@@ -4072,7 +4072,7 @@
|
||||
-l*)
|
||||
if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
|
||||
case $host in
|
||||
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
|
||||
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-*-haiku*)
|
||||
# These systems don't actually have a C or math library (as such)
|
||||
continue
|
||||
;;
|
||||
@@ -6026,7 +6026,7 @@
|
||||
if test "$build_libtool_libs" = yes; then
|
||||
if test -n "$rpath"; then
|
||||
case $host in
|
||||
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
|
||||
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-*-haiku*)
|
||||
# these systems don't actually have a c library (as such)!
|
||||
;;
|
||||
*-*-rhapsody* | *-*-darwin1.[012])
|
||||
diff -ur libtool-2.2.5a/libltdl/m4/libtool.m4 libtool-2.2.5a-haiku/libltdl/m4/libtool.m4
|
||||
--- libtool-2.2.5a/libltdl/m4/libtool.m4 2008-05-26 07:05:05.000000000 +0000
|
||||
+++ libtool-2.2.5a-haiku/libltdl/m4/libtool.m4 2008-06-06 09:32:17.000000000 +0000
|
||||
@@ -2344,6 +2344,18 @@
|
||||
hardcode_into_libs=yes
|
||||
;;
|
||||
|
||||
+haiku*)
|
||||
+ version_type=linux
|
||||
+ need_lib_prefix=no
|
||||
+ need_version=no
|
||||
+ dynamic_linker="$host_os runtime_loader"
|
||||
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
||||
+ soname_spec='${libname}${release}${shared_ext}$major'
|
||||
+ shlibpath_var=LIBRARY_PATH
|
||||
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
|
||||
+ hardcode_into_libs=yes
|
||||
+ ;;
|
||||
+
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
# Give a soname corresponding to the major version so that dld.sl refuses to
|
||||
# link against other versions.
|
||||
@@ -5656,6 +5668,10 @@
|
||||
gnu*)
|
||||
;;
|
||||
|
||||
+ haiku*)
|
||||
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
+ ;;
|
||||
+
|
||||
hpux9*)
|
||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
|
||||
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
||||
@@ -1,113 +0,0 @@
|
||||
diff -ur libtool-2.2.6.orig/libltdl/config/ltmain.m4sh libtool-2.2.6/libltdl/config/ltmain.m4sh
|
||||
--- libtool-2.2.6.orig/libltdl/config/ltmain.m4sh 2008-09-07 17:54:53.000000000 +0000
|
||||
+++ libtool-2.2.6/libltdl/config/ltmain.m4sh 2008-11-07 01:02:13.000000000 +0000
|
||||
@@ -4080,7 +4080,7 @@
|
||||
-l*)
|
||||
if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
|
||||
case $host in
|
||||
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
|
||||
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
||||
# These systems don't actually have a C or math library (as such)
|
||||
continue
|
||||
;;
|
||||
@@ -6034,7 +6034,7 @@
|
||||
if test "$build_libtool_libs" = yes; then
|
||||
if test -n "$rpath"; then
|
||||
case $host in
|
||||
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
|
||||
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
||||
# these systems don't actually have a c library (as such)!
|
||||
;;
|
||||
*-*-rhapsody* | *-*-darwin1.[012])
|
||||
diff -ur libtool-2.2.6.orig/libltdl/m4/libtool.m4 libtool-2.2.6/libltdl/m4/libtool.m4
|
||||
--- libtool-2.2.6.orig/libltdl/m4/libtool.m4 2008-09-05 11:54:41.000000000 +0000
|
||||
+++ libtool-2.2.6/libltdl/m4/libtool.m4 2008-11-07 01:12:21.000000000 +0000
|
||||
@@ -2344,6 +2344,19 @@
|
||||
hardcode_into_libs=yes
|
||||
;;
|
||||
|
||||
+haiku*)
|
||||
+ version_type=linux
|
||||
+ need_lib_prefix=no
|
||||
+ need_version=no
|
||||
+ dynamic_linker="$host_os runtime_loader"
|
||||
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
||||
+ soname_spec='${libname}${release}${shared_ext}$major'
|
||||
+ shlibpath_var=LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
|
||||
+ hardcode_into_libs=yes
|
||||
+ ;;
|
||||
+
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
# Give a soname corresponding to the major version so that dld.sl refuses to
|
||||
# link against other versions.
|
||||
@@ -3038,6 +3051,10 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
+haiku*)
|
||||
+ lt_cv_deplibs_check_method=pass_all
|
||||
+ ;;
|
||||
+
|
||||
hpux10.20* | hpux11*)
|
||||
lt_cv_file_magic_cmd=/usr/bin/file
|
||||
case $host_cpu in
|
||||
@@ -3256,7 +3273,7 @@
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case $host in
|
||||
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin* | *-*-haiku*)
|
||||
# These system don't have libm, or don't need it
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
@@ -3588,6 +3605,11 @@
|
||||
# DJGPP does not support shared libraries at all
|
||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)=
|
||||
;;
|
||||
+ haiku*)
|
||||
+ # PIC is the default for Haiku.
|
||||
+ # The "-static" flag exists, but is broken.
|
||||
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
|
||||
+ ;;
|
||||
interix[[3-9]]*)
|
||||
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
||||
# Instead, we relocate shared libraries at runtime.
|
||||
@@ -3893,6 +3915,12 @@
|
||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
|
||||
;;
|
||||
|
||||
+ haiku*)
|
||||
+ # PIC is the default for Haiku.
|
||||
+ # The "-static" flag exists, but is broken.
|
||||
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
|
||||
+ ;;
|
||||
+
|
||||
hpux*)
|
||||
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
|
||||
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
|
||||
@@ -4343,6 +4371,11 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
+ haiku*)
|
||||
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
|
||||
+ ;;
|
||||
+
|
||||
interix[[3-9]]*)
|
||||
_LT_TAGVAR(hardcode_direct, $1)=no
|
||||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||
@@ -5685,6 +5718,11 @@
|
||||
gnu*)
|
||||
;;
|
||||
|
||||
+ haiku*)
|
||||
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
|
||||
+ ;;
|
||||
+
|
||||
hpux9*)
|
||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
|
||||
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
||||
@@ -1,113 +0,0 @@
|
||||
diff -ur libtool-2.2.6b.orig/libltdl/config/ltmain.m4sh libtool-2.2.6b/libltdl/config/ltmain.m4sh
|
||||
--- libtool-2.2.6b.orig/libltdl/config/ltmain.m4sh 2008-09-07 17:54:53.000000000 +0000
|
||||
+++ libtool-2.2.6b/libltdl/config/ltmain.m4sh 2008-11-07 01:02:13.000000000 +0000
|
||||
@@ -4080,7 +4080,7 @@
|
||||
-l*)
|
||||
if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
|
||||
case $host in
|
||||
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
|
||||
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
||||
# These systems don't actually have a C or math library (as such)
|
||||
continue
|
||||
;;
|
||||
@@ -6034,7 +6034,7 @@
|
||||
if test "$build_libtool_libs" = yes; then
|
||||
if test -n "$rpath"; then
|
||||
case $host in
|
||||
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
|
||||
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
||||
# these systems don't actually have a c library (as such)!
|
||||
;;
|
||||
*-*-rhapsody* | *-*-darwin1.[012])
|
||||
diff -ur libtool-2.2.6b.orig/libltdl/m4/libtool.m4 libtool-2.2.6b/libltdl/m4/libtool.m4
|
||||
--- libtool-2.2.6b.orig/libltdl/m4/libtool.m4 2008-09-05 11:54:41.000000000 +0000
|
||||
+++ libtool-2.2.6b/libltdl/m4/libtool.m4 2008-11-07 01:12:21.000000000 +0000
|
||||
@@ -2344,6 +2344,19 @@
|
||||
hardcode_into_libs=yes
|
||||
;;
|
||||
|
||||
+haiku*)
|
||||
+ version_type=linux
|
||||
+ need_lib_prefix=no
|
||||
+ need_version=no
|
||||
+ dynamic_linker="$host_os runtime_loader"
|
||||
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
||||
+ soname_spec='${libname}${release}${shared_ext}$major'
|
||||
+ shlibpath_var=LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
|
||||
+ hardcode_into_libs=yes
|
||||
+ ;;
|
||||
+
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
# Give a soname corresponding to the major version so that dld.sl refuses to
|
||||
# link against other versions.
|
||||
@@ -3038,6 +3051,10 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
+haiku*)
|
||||
+ lt_cv_deplibs_check_method=pass_all
|
||||
+ ;;
|
||||
+
|
||||
hpux10.20* | hpux11*)
|
||||
lt_cv_file_magic_cmd=/usr/bin/file
|
||||
case $host_cpu in
|
||||
@@ -3256,7 +3273,7 @@
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case $host in
|
||||
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin* | *-*-haiku*)
|
||||
# These system don't have libm, or don't need it
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
@@ -3588,6 +3605,11 @@
|
||||
# DJGPP does not support shared libraries at all
|
||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)=
|
||||
;;
|
||||
+ haiku*)
|
||||
+ # PIC is the default for Haiku.
|
||||
+ # The "-static" flag exists, but is broken.
|
||||
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
|
||||
+ ;;
|
||||
interix[[3-9]]*)
|
||||
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
||||
# Instead, we relocate shared libraries at runtime.
|
||||
@@ -3893,6 +3915,12 @@
|
||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
|
||||
;;
|
||||
|
||||
+ haiku*)
|
||||
+ # PIC is the default for Haiku.
|
||||
+ # The "-static" flag exists, but is broken.
|
||||
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
|
||||
+ ;;
|
||||
+
|
||||
hpux*)
|
||||
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
|
||||
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
|
||||
@@ -4343,6 +4371,11 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
+ haiku*)
|
||||
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
|
||||
+ ;;
|
||||
+
|
||||
interix[[3-9]]*)
|
||||
_LT_TAGVAR(hardcode_direct, $1)=no
|
||||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||
@@ -5685,6 +5718,11 @@
|
||||
gnu*)
|
||||
;;
|
||||
|
||||
+ haiku*)
|
||||
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
|
||||
+ ;;
|
||||
+
|
||||
hpux9*)
|
||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
|
||||
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
|
||||
index 29f1222..b538fa6 100644
|
||||
--- a/libltdl/m4/libtool.m4
|
||||
+++ b/libltdl/m4/libtool.m4
|
||||
@@ -2335,7 +2335,7 @@ haiku*)
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
shlibpath_var=LIBRARY_PATH
|
||||
shlibpath_overrides_runpath=yes
|
||||
- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
|
||||
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
|
||||
hardcode_into_libs=yes
|
||||
;;
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -urN pixman-0.19.4/configure.ac pixman-0.19.4-haiku/configure.ac
|
||||
--- pixman-0.19.4/configure.ac 2010-09-21 14:11:23.028049408 +0000
|
||||
+++ pixman-0.19.4-haiku/configure.ac 2010-10-18 14:12:25.000000000 +0000
|
||||
@@ -726,6 +726,7 @@
|
||||
|
||||
PIXMAN_CHECK_PTHREAD([CFLAGS="-D_REENTRANT"; LIBS="-lpthread"])
|
||||
PIXMAN_CHECK_PTHREAD([CFLAGS="-pthread"; LDFLAGS="-pthread"])
|
||||
+ PIXMAN_CHECK_PTHREAD([CFLAGS="-D_REENTRANT"; LDFLAGS="-lroot"])
|
||||
|
||||
if test $support_for_pthread_setspecific = yes; then
|
||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -urN pixman-master/configure.ac pixman-master-haiku/configure.ac
|
||||
--- pixman-master/configure.ac 2010-09-21 14:11:23.028049408 +0000
|
||||
+++ pixman-master-haiku/configure.ac 2010-10-18 14:12:25.000000000 +0000
|
||||
@@ -726,6 +726,7 @@
|
||||
|
||||
PIXMAN_CHECK_PTHREAD([CFLAGS="-D_REENTRANT"; LIBS="-lpthread"])
|
||||
PIXMAN_CHECK_PTHREAD([CFLAGS="-pthread"; LDFLAGS="-pthread"])
|
||||
+ PIXMAN_CHECK_PTHREAD([CFLAGS="-D_REENTRANT"; LDFLAGS="-lroot"])
|
||||
|
||||
if test $support_for_pthread_setspecific = yes; then
|
||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION="Pixman - The pixel-manipulation library for X and cairo"
|
||||
HOMEPAGE="http://cgit.freedesktop.org/pixman/"
|
||||
SOURCE_URI="http://www.cairographics.org/releases/pixman-0.17.2.tar.gz"
|
||||
CHECKSUM_MD5="006c74f1450e5ed2e1bdaf88e9806faa"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd pixman-0.17.2
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
automake
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd pixman-0.17.2
|
||||
make install
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION="Pixman - The pixel-manipulation library for X and cairo"
|
||||
HOMEPAGE="http://cgit.freedesktop.org/pixman/"
|
||||
SOURCE_URI="http://cairographics.org/releases/pixman-0.18.2.tar.gz"
|
||||
CHECKSUM_MD5="5d1378fa61610dd5d3c7e0111b2c5253"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd pixman-0.18.2
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
automake
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd pixman-0.18.2
|
||||
make install
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION="Pixman - The pixel-manipulation library for X and cairo"
|
||||
HOMEPAGE="http://cgit.freedesktop.org/pixman/"
|
||||
SOURCE_URI="http://cairographics.org/releases/pixman-0.18.4.tar.gz"
|
||||
CHECKSUM_MD5="532db4194e18c108d0b7dd85f20d39b8"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd pixman-0.18.4
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
automake
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd pixman-0.18.4
|
||||
make install
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
DESCRIPTION="Pixman - The pixel-manipulation library for X and cairo"
|
||||
HOMEPAGE="http://cgit.freedesktop.org/pixman/"
|
||||
SOURCE_URI="http://cairographics.org/releases/pixman-0.19.4.tar.gz"
|
||||
CHECKSUM_MD5="100a2d23f1d5683fdaa5d7ca71a0182b"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd pixman-0.19.4
|
||||
libtoolize --force --copy --install
|
||||
./autogen.sh
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd pixman-0.19.4
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd pixman-0.19.4
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1987-1998 The Open Group
|
||||
1987-1989 Digital Equipment Corporation
|
||||
1999, 2004, 2008 Keith Packard
|
||||
2004, 2005, 2007, 2008 Red Hat, Inc.
|
||||
2009-2010 Sun Microsystems, Inc.
|
||||
and many others"
|
||||
@@ -1,35 +0,0 @@
|
||||
DESCRIPTION="Pixman - The pixel-manipulation library for X and cairo"
|
||||
HOMEPAGE="http://cgit.freedesktop.org/pixman/"
|
||||
SOURCE_URI="http://cgit.freedesktop.org/pixman/snapshot/pixman-master.tar.bz2"
|
||||
CHECKSUM_MD5="c53466dc2e6145afdb80b5a74491a2de"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd pixman-master
|
||||
libtoolize --force --copy --install
|
||||
./autogen.sh
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd pixman-master
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd pixman-master
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1987-1998 The Open Group
|
||||
1987-1989 Digital Equipment Corporation
|
||||
1999, 2004, 2008 Keith Packard
|
||||
2004, 2005, 2007, 2008 Red Hat, Inc.
|
||||
2009-2010 Sun Microsystems, Inc.
|
||||
and many others"
|
||||
Reference in New Issue
Block a user