mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Initial .bep file checking for sdl-image
This commit is contained in:
79
media-libs/guilib/GUIlib-1.2.1-haiku.diff
Normal file
79
media-libs/guilib/GUIlib-1.2.1-haiku.diff
Normal file
@@ -0,0 +1,79 @@
|
||||
diff -ur GUIlib-1.2.1/acinclude.m4 GUIlib-1.2.1-haiku/acinclude.m4
|
||||
--- GUIlib-1.2.1/acinclude.m4 2006-05-01 07:39:58.000000000 +0000
|
||||
+++ GUIlib-1.2.1-haiku/acinclude.m4 2008-06-24 09:01:16.000000000 +0000
|
||||
@@ -910,10 +910,10 @@
|
||||
lt_cv_sys_max_cmd_len=8192;
|
||||
;;
|
||||
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
# On BeOS, this test takes a really really long time.
|
||||
# So we just punt and use a minimum line length of 8192.
|
||||
- lt_cv_sys_max_cmd_len=8192;
|
||||
+ lt_cv_sys_max_cmd_len=4096;
|
||||
;;
|
||||
|
||||
amigaos*)
|
||||
@@ -1470,7 +1470,7 @@
|
||||
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
library_names_spec='${libname}${shared_ext}'
|
||||
dynamic_linker="$host_os ld.so"
|
||||
shlibpath_var=LIBRARY_PATH
|
||||
@@ -2469,7 +2469,7 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@@ -2687,7 +2687,7 @@
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case $host in
|
||||
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
+*-*-beos* | *-*-haiku* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
# These system don't have libm, or don't need it
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
@@ -3178,7 +3178,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
||||
@@ -5032,7 +5032,7 @@
|
||||
# like `-m68040'.
|
||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
mingw* | os2* | pw32*)
|
||||
@@ -5305,7 +5305,7 @@
|
||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
|
||||
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
|
||||
@@ -5672,7 +5672,7 @@
|
||||
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
||||
;;
|
||||
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
||||
17
media-libs/jbigkit/jbigkit-1.6.bep
Normal file
17
media-libs/jbigkit/jbigkit-1.6.bep
Normal file
@@ -0,0 +1,17 @@
|
||||
DESCRIPTION="JBIG-KIT"
|
||||
HOMEPAGE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/"
|
||||
SRC_URI="http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-1.6.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="untested"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd jbigkit
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd jbigkit
|
||||
make test
|
||||
}
|
||||
403
media-libs/jpeg/jpeg-6b-haiku.diff
Normal file
403
media-libs/jpeg/jpeg-6b-haiku.diff
Normal file
@@ -0,0 +1,403 @@
|
||||
diff -urN jpeg-6b/configure.in jpeg-6b-haiku/configure.in
|
||||
--- jpeg-6b/configure.in 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ jpeg-6b-haiku/configure.in 2008-07-15 10:48:15.000000000 +0000
|
||||
@@ -0,0 +1,346 @@
|
||||
+dnl IJG auto-configuration source file.
|
||||
+dnl Process this file with autoconf to produce a configure script.
|
||||
+AC_INIT(jcmaster.c)
|
||||
+AC_CONFIG_HEADER(jconfig.h:jconfig.cfg)
|
||||
+dnl
|
||||
+dnl do these first since other macros rely on them
|
||||
+AC_PROG_CC
|
||||
+AC_PROG_CPP
|
||||
+dnl
|
||||
+dnl See if compiler supports prototypes.
|
||||
+AC_MSG_CHECKING(for function prototypes)
|
||||
+AC_CACHE_VAL(ijg_cv_have_prototypes,
|
||||
+[AC_TRY_COMPILE([
|
||||
+int testfunction (int arg1, int * arg2); /* check prototypes */
|
||||
+struct methods_struct { /* check method-pointer declarations */
|
||||
+ int (*error_exit) (char *msgtext);
|
||||
+ int (*trace_message) (char *msgtext);
|
||||
+ int (*another_method) (void);
|
||||
+};
|
||||
+int testfunction (int arg1, int * arg2) /* check definitions */
|
||||
+{ return arg2[arg1]; }
|
||||
+int test2function (void) /* check void arg list */
|
||||
+{ return 0; }
|
||||
+], [ ], ijg_cv_have_prototypes=yes, ijg_cv_have_prototypes=no)])
|
||||
+AC_MSG_RESULT($ijg_cv_have_prototypes)
|
||||
+if test $ijg_cv_have_prototypes = yes; then
|
||||
+ AC_DEFINE(HAVE_PROTOTYPES,1)
|
||||
+else
|
||||
+ echo Your compiler does not seem to know about function prototypes.
|
||||
+ echo Perhaps it needs a special switch to enable ANSI C mode.
|
||||
+ echo If so, we recommend running configure like this:
|
||||
+ echo " ./configure CC='cc -switch'"
|
||||
+ echo where -switch is the proper switch.
|
||||
+fi
|
||||
+dnl
|
||||
+dnl check header files
|
||||
+AC_CHECK_HEADER(stddef.h, AC_DEFINE(HAVE_STDDEF_H,1))
|
||||
+AC_CHECK_HEADER(stdlib.h, AC_DEFINE(HAVE_STDLIB_H,1))
|
||||
+AC_CHECK_HEADER(string.h,, AC_DEFINE(NEED_BSD_STRINGS,1))
|
||||
+dnl See whether type size_t is defined in any ANSI-standard places;
|
||||
+dnl if not, perhaps it is defined in <sys/types.h>.
|
||||
+AC_MSG_CHECKING(for size_t)
|
||||
+AC_TRY_COMPILE([
|
||||
+#ifdef HAVE_STDDEF_H
|
||||
+#include <stddef.h>
|
||||
+#endif
|
||||
+#ifdef HAVE_STDLIB_H
|
||||
+#include <stdlib.h>
|
||||
+#endif
|
||||
+#include <stdio.h>
|
||||
+#ifdef NEED_BSD_STRINGS
|
||||
+#include <strings.h>
|
||||
+#else
|
||||
+#include <string.h>
|
||||
+#endif
|
||||
+typedef size_t my_size_t;
|
||||
+], [ my_size_t foovar; ], ijg_size_t_ok=yes,
|
||||
+[ijg_size_t_ok="not ANSI, perhaps it is in sys/types.h"])
|
||||
+AC_MSG_RESULT($ijg_size_t_ok)
|
||||
+if test "$ijg_size_t_ok" != yes; then
|
||||
+AC_CHECK_HEADER(sys/types.h, [AC_DEFINE(NEED_SYS_TYPES_H,1)
|
||||
+AC_EGREP_CPP(size_t, [#include <sys/types.h>],
|
||||
+[ijg_size_t_ok="size_t is in sys/types.h"], ijg_size_t_ok=no)],
|
||||
+ijg_size_t_ok=no)
|
||||
+AC_MSG_RESULT($ijg_size_t_ok)
|
||||
+if test "$ijg_size_t_ok" = no; then
|
||||
+ echo Type size_t is not defined in any of the usual places.
|
||||
+ echo Try putting '"typedef unsigned int size_t;"' in jconfig.h.
|
||||
+fi
|
||||
+fi
|
||||
+dnl
|
||||
+dnl check compiler characteristics
|
||||
+AC_MSG_CHECKING(for type unsigned char)
|
||||
+AC_TRY_COMPILE(, [ unsigned char un_char; ],
|
||||
+[AC_MSG_RESULT(yes)
|
||||
+AC_DEFINE(HAVE_UNSIGNED_CHAR,1)], AC_MSG_RESULT(no))
|
||||
+AC_MSG_CHECKING(for type unsigned short)
|
||||
+AC_TRY_COMPILE(, [ unsigned short un_short; ],
|
||||
+[AC_MSG_RESULT(yes)
|
||||
+AC_DEFINE(HAVE_UNSIGNED_SHORT,1)], AC_MSG_RESULT(no))
|
||||
+AC_MSG_CHECKING(for type void)
|
||||
+AC_TRY_COMPILE([
|
||||
+/* Caution: a C++ compiler will insist on valid prototypes */
|
||||
+typedef void * void_ptr; /* check void * */
|
||||
+#ifdef HAVE_PROTOTYPES /* check ptr to function returning void */
|
||||
+typedef void (*void_func) (int a, int b);
|
||||
+#else
|
||||
+typedef void (*void_func) ();
|
||||
+#endif
|
||||
+
|
||||
+#ifdef HAVE_PROTOTYPES /* check void function result */
|
||||
+void test3function (void_ptr arg1, void_func arg2)
|
||||
+#else
|
||||
+void test3function (arg1, arg2)
|
||||
+ void_ptr arg1;
|
||||
+ void_func arg2;
|
||||
+#endif
|
||||
+{
|
||||
+ char * locptr = (char *) arg1; /* check casting to and from void * */
|
||||
+ arg1 = (void *) locptr;
|
||||
+ (*arg2) (1, 2); /* check call of fcn returning void */
|
||||
+}
|
||||
+], [ ], AC_MSG_RESULT(yes), [AC_MSG_RESULT(no)
|
||||
+AC_DEFINE(void,char)])
|
||||
+
|
||||
+AC_C_CONST
|
||||
+dnl check for non-broken inline under various spellings
|
||||
+AC_MSG_CHECKING(for inline)
|
||||
+ijg_cv_inline=""
|
||||
+AC_TRY_COMPILE(, [} __inline__ int foo() { return 0; }
|
||||
+int bar() { return foo();], ijg_cv_inline="__inline__",
|
||||
+AC_TRY_COMPILE(, [} __inline int foo() { return 0; }
|
||||
+int bar() { return foo();], ijg_cv_inline="__inline",
|
||||
+AC_TRY_COMPILE(, [} inline int foo() { return 0; }
|
||||
+int bar() { return foo();], ijg_cv_inline="inline")))
|
||||
+AC_MSG_RESULT($ijg_cv_inline)
|
||||
+AC_DEFINE_UNQUOTED(INLINE,$ijg_cv_inline)
|
||||
+dnl we cannot check for bogus warnings, but at least we can check for errors
|
||||
+AC_MSG_CHECKING(for broken incomplete types)
|
||||
+AC_TRY_COMPILE([ typedef struct undefined_structure * undef_struct_ptr; ], ,
|
||||
+AC_MSG_RESULT(ok),
|
||||
+[AC_MSG_RESULT(broken)
|
||||
+AC_DEFINE(INCOMPLETE_TYPES_BROKEN,1)])
|
||||
+dnl test whether global names are unique to at least 15 chars
|
||||
+AC_MSG_CHECKING(for short external names)
|
||||
+AC_TRY_LINK([
|
||||
+int possibly_duplicate_function () { return 0; }
|
||||
+int possibly_dupli_function () { return 1; }
|
||||
+], [ ], AC_MSG_RESULT(ok), [AC_MSG_RESULT(short)
|
||||
+AC_DEFINE(NEED_SHORT_EXTERNAL_NAMES,1)])
|
||||
+dnl
|
||||
+dnl run-time checks
|
||||
+AC_MSG_CHECKING(to see if char is signed)
|
||||
+AC_TRY_RUN([
|
||||
+#ifdef HAVE_PROTOTYPES
|
||||
+int is_char_signed (int arg)
|
||||
+#else
|
||||
+int is_char_signed (arg)
|
||||
+ int arg;
|
||||
+#endif
|
||||
+{
|
||||
+ if (arg == 189) { /* expected result for unsigned char */
|
||||
+ return 0; /* type char is unsigned */
|
||||
+ }
|
||||
+ else if (arg != -67) { /* expected result for signed char */
|
||||
+ printf("Hmm, it seems 'char' is not eight bits wide on your machine.\n");
|
||||
+ printf("I fear the JPEG software will not work at all.\n\n");
|
||||
+ }
|
||||
+ return 1; /* assume char is signed otherwise */
|
||||
+}
|
||||
+char signed_char_check = (char) (-67);
|
||||
+int main() {
|
||||
+ exit(is_char_signed((int) signed_char_check));
|
||||
+}], [AC_MSG_RESULT(no)
|
||||
+AC_DEFINE(CHAR_IS_UNSIGNED,1)], AC_MSG_RESULT(yes),
|
||||
+[echo Assuming that char is signed on target machine.
|
||||
+echo If it is unsigned, this will be a little bit inefficient.
|
||||
+])
|
||||
+dnl
|
||||
+AC_MSG_CHECKING(to see if right shift is signed)
|
||||
+AC_TRY_RUN([
|
||||
+#ifdef HAVE_PROTOTYPES
|
||||
+int is_shifting_signed (long arg)
|
||||
+#else
|
||||
+int is_shifting_signed (arg)
|
||||
+ long arg;
|
||||
+#endif
|
||||
+/* See whether right-shift on a long is signed or not. */
|
||||
+{
|
||||
+ long res = arg >> 4;
|
||||
+
|
||||
+ if (res == -0x7F7E80CL) { /* expected result for signed shift */
|
||||
+ return 1; /* right shift is signed */
|
||||
+ }
|
||||
+ /* see if unsigned-shift hack will fix it. */
|
||||
+ /* we can't just test exact value since it depends on width of long... */
|
||||
+ res |= (~0L) << (32-4);
|
||||
+ if (res == -0x7F7E80CL) { /* expected result now? */
|
||||
+ return 0; /* right shift is unsigned */
|
||||
+ }
|
||||
+ printf("Right shift isn't acting as I expect it to.\n");
|
||||
+ printf("I fear the JPEG software will not work at all.\n\n");
|
||||
+ return 0; /* try it with unsigned anyway */
|
||||
+}
|
||||
+int main() {
|
||||
+ exit(is_shifting_signed(-0x7F7E80B1L));
|
||||
+}], [AC_MSG_RESULT(no)
|
||||
+AC_DEFINE(RIGHT_SHIFT_IS_UNSIGNED,1)], AC_MSG_RESULT(yes),
|
||||
+AC_MSG_RESULT(Assuming that right shift is signed on target machine.))
|
||||
+dnl
|
||||
+AC_MSG_CHECKING(to see if fopen accepts b spec)
|
||||
+AC_TRY_RUN([
|
||||
+#include <stdio.h>
|
||||
+int main() {
|
||||
+ if (fopen("conftestdata", "wb") != NULL)
|
||||
+ exit(0);
|
||||
+ exit(1);
|
||||
+}], AC_MSG_RESULT(yes), [AC_MSG_RESULT(no)
|
||||
+AC_DEFINE(DONT_USE_B_MODE,1)],
|
||||
+AC_MSG_RESULT(Assuming that it does.))
|
||||
+dnl
|
||||
+dnl system services
|
||||
+AC_PROG_INSTALL
|
||||
+AC_PROG_RANLIB
|
||||
+
|
||||
+# Decide whether to use libtool,
|
||||
+# and if so whether to build shared, static, or both flavors of library.
|
||||
+AC_DISABLE_SHARED
|
||||
+AC_DISABLE_STATIC
|
||||
+if test "x$enable_shared" != xno -o "x$enable_static" != xno; then
|
||||
+ USELIBTOOL="yes"
|
||||
+
|
||||
+ # Configure libtool.
|
||||
+ AC_PROG_LIBTOOL
|
||||
+
|
||||
+ LIBTOOL="./libtool"
|
||||
+ O="lo"
|
||||
+ A="la"
|
||||
+ LN='$(LIBTOOL) --mode=link $(CC)'
|
||||
+ INSTALL_LIB='$(LIBTOOL) --mode=install ${INSTALL}'
|
||||
+ INSTALL_PROGRAM="\$(LIBTOOL) --mode=install $INSTALL_PROGRAM"
|
||||
+else
|
||||
+ USELIBTOOL="no"
|
||||
+ LIBTOOL=""
|
||||
+ O="o"
|
||||
+ A="a"
|
||||
+ LN='$(CC)'
|
||||
+ INSTALL_LIB="$INSTALL_DATA"
|
||||
+fi
|
||||
+AC_SUBST(LIBTOOL)
|
||||
+AC_SUBST(O)
|
||||
+AC_SUBST(A)
|
||||
+AC_SUBST(LN)
|
||||
+AC_SUBST(INSTALL_LIB)
|
||||
+
|
||||
+# Select memory manager depending on user input.
|
||||
+# If no "-enable-maxmem", use jmemnobs
|
||||
+MEMORYMGR='jmemnobs.$(O)'
|
||||
+MAXMEM="no"
|
||||
+AC_ARG_ENABLE(maxmem,
|
||||
+[ --enable-maxmem[=N] enable use of temp files, set max mem usage to N MB],
|
||||
+MAXMEM="$enableval")
|
||||
+dnl [# support --with-maxmem for backwards compatibility with IJG V5.]
|
||||
+dnl AC_ARG_WITH(maxmem, , MAXMEM="$withval")
|
||||
+if test "x$MAXMEM" = xyes; then
|
||||
+ MAXMEM=1
|
||||
+fi
|
||||
+if test "x$MAXMEM" != xno; then
|
||||
+changequote(, )dnl
|
||||
+ if test -n "`echo $MAXMEM | sed 's/[0-9]//g'`"; then
|
||||
+changequote([, ])dnl
|
||||
+ AC_MSG_ERROR(non-numeric argument to --enable-maxmem)
|
||||
+ fi
|
||||
+ DEFAULTMAXMEM=`expr $MAXMEM \* 1048576`
|
||||
+AC_DEFINE_UNQUOTED(DEFAULT_MAX_MEM, ${DEFAULTMAXMEM})
|
||||
+AC_MSG_CHECKING([for 'tmpfile()'])
|
||||
+AC_TRY_LINK([#include <stdio.h>], [ FILE * tfile = tmpfile(); ],
|
||||
+[AC_MSG_RESULT(yes)
|
||||
+MEMORYMGR='jmemansi.$(O)'],
|
||||
+[AC_MSG_RESULT(no)
|
||||
+dnl if tmpfile is not present, must use jmemname.
|
||||
+MEMORYMGR='jmemname.$(O)'
|
||||
+AC_DEFINE(NEED_SIGNAL_CATCHER,1)
|
||||
+AC_MSG_CHECKING([for 'mktemp()'])
|
||||
+AC_TRY_LINK(, [ char fname[80]; mktemp(fname); ], AC_MSG_RESULT(yes),
|
||||
+[AC_MSG_RESULT(no)
|
||||
+AC_DEFINE(NO_MKTEMP,1)])])
|
||||
+fi
|
||||
+AC_SUBST(MEMORYMGR)
|
||||
+
|
||||
+# Include PNG support in cjpeg/djpeg if appropriate.
|
||||
+AC_ARG_WITH(png,
|
||||
+[ --with-png enable PNG support in cjpeg/djpeg],
|
||||
+[#], [with_png="maybe"])
|
||||
+
|
||||
+# try to detect whether libpng is present
|
||||
+if test "x$with_png" = xmaybe ; then
|
||||
+ AC_CHECK_HEADER(png.h, [: ok so far], [with_png="no"])
|
||||
+fi
|
||||
+if test "x$with_png" = xmaybe ; then
|
||||
+ AC_CHECK_HEADER(zlib.h, [: ok so far], [with_png="no"])
|
||||
+fi
|
||||
+if test "x$with_png" = xmaybe ; then
|
||||
+ AC_CHECK_LIB(z, deflate, [: ok so far], [with_png="no"])
|
||||
+fi
|
||||
+if test "x$with_png" = xmaybe ; then
|
||||
+ AC_CHECK_LIB(png, png_create_info_struct,
|
||||
+ [with_png="yes"], [with_png="no"], [-lz -lm])
|
||||
+fi
|
||||
+
|
||||
+if test "x$with_png" = xyes ; then
|
||||
+ AC_DEFINE(PNG_SUPPORTED,1)
|
||||
+ LIBS="-lpng -lz -lm $LIBS"
|
||||
+fi
|
||||
+
|
||||
+# Extract the library version ID from jpeglib.h.
|
||||
+AC_MSG_CHECKING([libjpeg version number])
|
||||
+[JPEG_LIB_VERSION=`sed -e '/^#define JPEG_LIB_VERSION/!d' -e 's/^[^0-9]*\([0-9][0-9]*\).*$/\1/' $srcdir/jpeglib.h`]
|
||||
+AC_MSG_RESULT($JPEG_LIB_VERSION)
|
||||
+AC_SUBST(JPEG_LIB_VERSION)
|
||||
+
|
||||
+# Prepare to massage makefile.cfg correctly.
|
||||
+if test $ijg_cv_have_prototypes = yes; then
|
||||
+ A2K_DEPS=""
|
||||
+ COM_A2K="# "
|
||||
+else
|
||||
+ A2K_DEPS="ansi2knr"
|
||||
+ COM_A2K=""
|
||||
+fi
|
||||
+AC_SUBST(A2K_DEPS)
|
||||
+AC_SUBST(COM_A2K)
|
||||
+# ansi2knr needs -DBSD if string.h is missing
|
||||
+if test $ac_cv_header_string_h = no; then
|
||||
+ ANSI2KNRFLAGS="-DBSD"
|
||||
+else
|
||||
+ ANSI2KNRFLAGS=""
|
||||
+fi
|
||||
+AC_SUBST(ANSI2KNRFLAGS)
|
||||
+dnl
|
||||
+# Substitutions to enable or disable libtool-related stuff
|
||||
+if test $USELIBTOOL = yes -a $ijg_cv_have_prototypes = yes; then
|
||||
+ COM_LT=""
|
||||
+else
|
||||
+ COM_LT="# "
|
||||
+fi
|
||||
+AC_SUBST(COM_LT)
|
||||
+if test "x$enable_shared" != xno; then
|
||||
+ FORCE_INSTALL_LIB="install-lib"
|
||||
+else
|
||||
+ FORCE_INSTALL_LIB=""
|
||||
+fi
|
||||
+AC_SUBST(FORCE_INSTALL_LIB)
|
||||
+dnl
|
||||
+# Set up -I directives
|
||||
+if test "x$srcdir" = x.; then
|
||||
+ INCLUDEFLAGS='-I$(srcdir)'
|
||||
+else
|
||||
+ if test "x$GCC" = xyes; then
|
||||
+ INCLUDEFLAGS='-I- -I. -I$(srcdir)'
|
||||
+ else
|
||||
+ INCLUDEFLAGS='-I. -I$(srcdir)'
|
||||
+ fi
|
||||
+fi
|
||||
+AC_SUBST(INCLUDEFLAGS)
|
||||
+dnl
|
||||
+AC_OUTPUT(Makefile:makefile.cfg)
|
||||
diff -urN jpeg-6b/makefile.cfg jpeg-6b-haiku/makefile.cfg
|
||||
--- jpeg-6b/makefile.cfg 1998-03-21 19:08:57.000000000 +0000
|
||||
+++ jpeg-6b-haiku/makefile.cfg 2008-07-15 10:48:18.000000000 +0000
|
||||
@@ -17,7 +17,7 @@
|
||||
binprefix =
|
||||
manprefix =
|
||||
manext = 1
|
||||
-mandir = $(prefix)/man/man$(manext)
|
||||
+mandir = @mandir@/man$(manext)
|
||||
|
||||
# The name of your C compiler:
|
||||
CC= @CC@
|
||||
@@ -191,25 +191,25 @@
|
||||
# Installation rules:
|
||||
|
||||
install: cjpeg djpeg jpegtran rdjpgcom wrjpgcom @FORCE_INSTALL_LIB@
|
||||
- $(INSTALL_PROGRAM) cjpeg $(bindir)/$(binprefix)cjpeg
|
||||
- $(INSTALL_PROGRAM) djpeg $(bindir)/$(binprefix)djpeg
|
||||
- $(INSTALL_PROGRAM) jpegtran $(bindir)/$(binprefix)jpegtran
|
||||
- $(INSTALL_PROGRAM) rdjpgcom $(bindir)/$(binprefix)rdjpgcom
|
||||
- $(INSTALL_PROGRAM) wrjpgcom $(bindir)/$(binprefix)wrjpgcom
|
||||
- $(INSTALL_DATA) $(srcdir)/cjpeg.1 $(mandir)/$(manprefix)cjpeg.$(manext)
|
||||
- $(INSTALL_DATA) $(srcdir)/djpeg.1 $(mandir)/$(manprefix)djpeg.$(manext)
|
||||
- $(INSTALL_DATA) $(srcdir)/jpegtran.1 $(mandir)/$(manprefix)jpegtran.$(manext)
|
||||
- $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
|
||||
- $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)
|
||||
+ $(INSTALL_PROGRAM) cjpeg $(DESTDIR)$(bindir)/$(binprefix)cjpeg
|
||||
+ $(INSTALL_PROGRAM) djpeg $(DESTDIR)$(bindir)/$(binprefix)djpeg
|
||||
+ $(INSTALL_PROGRAM) jpegtran $(DESTDIR)$(bindir)/$(binprefix)jpegtran
|
||||
+ $(INSTALL_PROGRAM) rdjpgcom $(DESTDIR)$(bindir)/$(binprefix)rdjpgcom
|
||||
+ $(INSTALL_PROGRAM) wrjpgcom $(DESTDIR)$(bindir)/$(binprefix)wrjpgcom
|
||||
+ $(INSTALL_DATA) $(srcdir)/cjpeg.1 $(DESTDIR)$(mandir)/$(manprefix)cjpeg.$(manext)
|
||||
+ $(INSTALL_DATA) $(srcdir)/djpeg.1 $(DESTDIR)$(mandir)/$(manprefix)djpeg.$(manext)
|
||||
+ $(INSTALL_DATA) $(srcdir)/jpegtran.1 $(DESTDIR)$(mandir)/$(manprefix)jpegtran.$(manext)
|
||||
+ $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(DESTDIR)$(mandir)/$(manprefix)rdjpgcom.$(manext)
|
||||
+ $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(DESTDIR)$(mandir)/$(manprefix)wrjpgcom.$(manext)
|
||||
|
||||
install-lib: libjpeg.$(A) install-headers
|
||||
- $(INSTALL_LIB) libjpeg.$(A) $(libdir)/$(binprefix)libjpeg.$(A)
|
||||
+ $(INSTALL_LIB) libjpeg.$(A) $(DESTDIR)$(libdir)/$(binprefix)libjpeg.$(A)
|
||||
|
||||
install-headers: jconfig.h
|
||||
- $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
|
||||
- $(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h
|
||||
- $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h
|
||||
- $(INSTALL_DATA) $(srcdir)/jerror.h $(includedir)/jerror.h
|
||||
+ $(INSTALL_DATA) jconfig.h $(DESTDIR)$(includedir)/jconfig.h
|
||||
+ $(INSTALL_DATA) $(srcdir)/jpeglib.h $(DESTDIR)$(includedir)/jpeglib.h
|
||||
+ $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(DESTDIR)$(includedir)/jmorecfg.h
|
||||
+ $(INSTALL_DATA) $(srcdir)/jerror.h $(DESTDIR)$(includedir)/jerror.h
|
||||
|
||||
clean:
|
||||
$(RM) *.o *.lo libjpeg.a libjpeg.la
|
||||
22
media-libs/jpeg/jpeg-6b.bep
Normal file
22
media-libs/jpeg/jpeg-6b.bep
Normal file
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION="jpeg"
|
||||
HOMEPAGE="http://www.ijg.org"
|
||||
SRC_URI="http://www.ijg.org/files/jpegsrc.v6b.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="untested"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd jpeg-6b
|
||||
aclocal
|
||||
libtoolize --force --copy
|
||||
automake --add-missing
|
||||
autoconf
|
||||
./configure --prefix=/boot/common --enable-shared
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd jpeg-6b
|
||||
make install
|
||||
}
|
||||
88
media-libs/libogg/libogg-1.1.3-haiku.diff
Normal file
88
media-libs/libogg/libogg-1.1.3-haiku.diff
Normal file
@@ -0,0 +1,88 @@
|
||||
diff -ur libogg-1.1.3/configure.in libogg-1.1.3-haiku/configure.in
|
||||
--- libogg-1.1.3/configure.in 2005-11-28 04:26:07.000000000 +0000
|
||||
+++ libogg-1.1.3-haiku/configure.in 2008-05-30 11:00:35.000000000 +0000
|
||||
@@ -84,7 +84,7 @@
|
||||
AC_MSG_CHECKING(for int16_t)
|
||||
AC_CACHE_VAL(has_int16_t,
|
||||
[AC_TRY_RUN([
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ && !defined __HAIKU__
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
@@ -100,7 +100,7 @@
|
||||
AC_MSG_CHECKING(for int32_t)
|
||||
AC_CACHE_VAL(has_int32_t,
|
||||
[AC_TRY_RUN([
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ && !defined __HAIKU__
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
@@ -116,7 +116,7 @@
|
||||
AC_MSG_CHECKING(for uint32_t)
|
||||
AC_CACHE_VAL(has_uint32_t,
|
||||
[AC_TRY_RUN([
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ && !defined __HAIKU__
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
@@ -132,7 +132,7 @@
|
||||
AC_MSG_CHECKING(for uint16_t)
|
||||
AC_CACHE_VAL(has_uint16_t,
|
||||
[AC_TRY_RUN([
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ && !defined __HAIKU__
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
@@ -148,7 +148,7 @@
|
||||
AC_MSG_CHECKING(for u_int32_t)
|
||||
AC_CACHE_VAL(has_u_int32_t,
|
||||
[AC_TRY_RUN([
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ && !defined __HAIKU__
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
@@ -164,7 +164,7 @@
|
||||
AC_MSG_CHECKING(for u_int16_t)
|
||||
AC_CACHE_VAL(has_u_int16_t,
|
||||
[AC_TRY_RUN([
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ && !defined __HAIKU__
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
@@ -180,7 +180,7 @@
|
||||
AC_MSG_CHECKING(for int64_t)
|
||||
AC_CACHE_VAL(has_int64_t,
|
||||
[AC_TRY_RUN([
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ && !defined __HAIKU__
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
diff -ur libogg-1.1.3/include/ogg/os_types.h libogg-1.1.3-haiku/include/ogg/os_types.h
|
||||
--- libogg-1.1.3/include/ogg/os_types.h 2005-11-28 04:26:05.000000000 +0000
|
||||
+++ libogg-1.1.3-haiku/include/ogg/os_types.h 2008-05-30 12:50:50.000000000 +0000
|
||||
@@ -73,7 +73,17 @@
|
||||
typedef u_int32_t ogg_uint32_t;
|
||||
typedef int64_t ogg_int64_t;
|
||||
|
||||
-#elif defined(__BEOS__)
|
||||
+#elif defined(__HAIKU__)
|
||||
+
|
||||
+ /* Haiku */
|
||||
+# include <sys/types.h>
|
||||
+ typedef short ogg_int16_t;
|
||||
+ typedef unsigned short ogg_uint16_t;
|
||||
+ typedef int ogg_int32_t;
|
||||
+ typedef unsigned int ogg_uint32_t;
|
||||
+ typedef long long ogg_int64_t;
|
||||
+
|
||||
+#elif defined(__BEOS__)
|
||||
|
||||
/* Be */
|
||||
# include <inttypes.h>
|
||||
18
media-libs/libogg/libogg-1.1.3.bep
Normal file
18
media-libs/libogg/libogg-1.1.3.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="libogg"
|
||||
HOMEPAGE="http://www.xiph.org"
|
||||
SRC_URI="http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="untested"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd libogg-1.1.3
|
||||
./configure --prefix=/boot/home/config
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd libogg-1.1.3
|
||||
make install
|
||||
}
|
||||
160
media-libs/libpng/libpng-1.2.29-haiku.diff
Normal file
160
media-libs/libpng/libpng-1.2.29-haiku.diff
Normal file
@@ -0,0 +1,160 @@
|
||||
diff -ur libpng-1.2.29/aclocal.m4 libpng-1.2.29-haiku/aclocal.m4
|
||||
--- libpng-1.2.29/aclocal.m4 2008-05-08 11:58:29.000000000 +0000
|
||||
+++ libpng-1.2.29-haiku/aclocal.m4 2008-05-26 08:54:27.000000000 +0000
|
||||
@@ -1741,7 +1741,7 @@
|
||||
lt_cv_dlopen_libs=
|
||||
|
||||
case $host_os in
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
lt_cv_dlopen="load_add_on"
|
||||
lt_cv_dlopen_libs=
|
||||
lt_cv_dlopen_self=yes
|
||||
@@ -2188,7 +2188,7 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
library_names_spec='${libname}${shared_ext}'
|
||||
dynamic_linker="$host_os ld.so"
|
||||
shlibpath_var=LIBRARY_PATH
|
||||
@@ -2986,7 +2986,7 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@@ -3257,7 +3257,7 @@
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case $host in
|
||||
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
+*-*-beos* | *-*-haiku* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
# These system don't have libm, or don't need it
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
@@ -3569,7 +3569,7 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
mingw* | cygwin* | os2* | pw32*)
|
||||
@@ -3867,7 +3867,7 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
|
||||
@@ -4285,7 +4285,7 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
||||
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
||||
@@ -5570,7 +5570,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
||||
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
||||
diff -ur libpng-1.2.29/config.guess libpng-1.2.29-haiku/config.guess
|
||||
--- libpng-1.2.29/config.guess 2008-05-02 03:50:32.000000000 +0000
|
||||
+++ libpng-1.2.29-haiku/config.guess 2008-05-25 16:59:19.000000000 +0000
|
||||
@@ -1216,6 +1216,12 @@
|
||||
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
||||
echo i586-pc-beos
|
||||
exit ;;
|
||||
+ BeMac:Haiku:*:*)
|
||||
+ echo powerpc-apple-haiku
|
||||
+ exit ;;
|
||||
+ BePC:Haiku:*:*)
|
||||
+ echo i586-pc-haiku
|
||||
+ exit ;;
|
||||
SX-4:SUPER-UX:*:*)
|
||||
echo sx4-nec-superux${UNAME_RELEASE}
|
||||
exit ;;
|
||||
diff -ur libpng-1.2.29/configure libpng-1.2.29-haiku/configure
|
||||
--- libpng-1.2.29/configure 2008-05-08 11:58:30.000000000 +0000
|
||||
+++ libpng-1.2.29-haiku/configure 2008-05-26 09:00:00.000000000 +0000
|
||||
@@ -5423,7 +5423,7 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@@ -7761,7 +7761,7 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
|
||||
@@ -8357,7 +8357,7 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
||||
allow_undefined_flag=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
||||
@@ -9684,7 +9684,7 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
library_names_spec='${libname}${shared_ext}'
|
||||
dynamic_linker="$host_os ld.so"
|
||||
shlibpath_var=LIBRARY_PATH
|
||||
@@ -10378,7 +10378,7 @@
|
||||
lt_cv_dlopen_libs=
|
||||
|
||||
case $host_os in
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
lt_cv_dlopen="load_add_on"
|
||||
lt_cv_dlopen_libs=
|
||||
lt_cv_dlopen_self=yes
|
||||
diff -ur libpng-1.2.29/ltmain.sh libpng-1.2.29-haiku/ltmain.sh
|
||||
--- libpng-1.2.29/ltmain.sh 2008-05-02 03:51:25.000000000 +0000
|
||||
+++ libpng-1.2.29-haiku/ltmain.sh 2008-05-26 09:02:08.000000000 +0000
|
||||
@@ -3995,7 +3995,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
|
||||
;;
|
||||
@@ -5951,7 +5951,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])
|
||||
19
media-libs/libpng/libpng-1.2.29.bep
Normal file
19
media-libs/libpng/libpng-1.2.29.bep
Normal file
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION="libpng"
|
||||
HOMEPAGE="http://www.libpng.org"
|
||||
SRC_URI="http://superb-east.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.29.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="untested"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd libpng-1.2.29
|
||||
./autogen.sh
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd libpng-1.2.29
|
||||
make install
|
||||
}
|
||||
1400
media-libs/libsdl/SDL-1.2.13-haiku.diff
Normal file
1400
media-libs/libsdl/SDL-1.2.13-haiku.diff
Normal file
File diff suppressed because it is too large
Load Diff
18
media-libs/libsdl/libsdl-1.2.12.bep
Normal file
18
media-libs/libsdl/libsdl-1.2.12.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="Simple Direct Media Layer"
|
||||
HOMEPAGE="http://www.libsdl.org/"
|
||||
SRC_URI="http://www.libsdl.org/release/SDL-1.2.12.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="stable"
|
||||
STATUS_HAIKU="untested"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd SDL-1.2.12
|
||||
./configure --prefix=/boot/home/config
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd SDL-1.2.12
|
||||
make install
|
||||
}
|
||||
18
media-libs/libsdl/libsdl-1.2.13.bep
Normal file
18
media-libs/libsdl/libsdl-1.2.13.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="Simple Direct Media Layer"
|
||||
HOMEPAGE="http://www.libsdl.org/"
|
||||
SRC_URI="http://www.libsdl.org/release/SDL-1.2.13.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="stable"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd SDL-1.2.13
|
||||
./configure --prefix=/boot/home/config
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd SDL-1.2.13
|
||||
make install
|
||||
}
|
||||
48
media-libs/libvorbis/libvorbis-1.2.0-haiku.diff
Normal file
48
media-libs/libvorbis/libvorbis-1.2.0-haiku.diff
Normal file
@@ -0,0 +1,48 @@
|
||||
diff -urN libvorbis-1.2.0/aclocal.m4 libvorbis-1.2.0-haiku/aclocal.m4
|
||||
--- libvorbis-1.2.0/aclocal.m4 2007-07-25 16:46:33.000000000 +0000
|
||||
+++ libvorbis-1.2.0-haiku/aclocal.m4 2008-07-14 09:15:18.000000000 +0000
|
||||
@@ -1291,7 +1291,7 @@
|
||||
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
library_names_spec='${libname}${shared_ext}'
|
||||
dynamic_linker="$host_os ld.so"
|
||||
shlibpath_var=LIBRARY_PATH
|
||||
@@ -2276,7 +2276,7 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@@ -2492,7 +2492,7 @@
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case $host in
|
||||
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
+*-*-beos* | *-*-haiku* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
# These system don't have libm, or don't need it
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
@@ -4825,7 +4825,7 @@
|
||||
# like `-m68040'.
|
||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
mingw* | os2* | pw32*)
|
||||
@@ -5098,7 +5098,7 @@
|
||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
|
||||
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
|
||||
79
media-libs/sdl-image/SDL_image-1.2.6-haiku.diff
Normal file
79
media-libs/sdl-image/SDL_image-1.2.6-haiku.diff
Normal file
@@ -0,0 +1,79 @@
|
||||
diff -urN SDL_image-1.2.6/acinclude/libtool.m4 SDL_image-1.2.6-haiku/acinclude/libtool.m4
|
||||
--- SDL_image-1.2.6/acinclude/libtool.m4 2007-07-13 03:38:28.000000000 +0000
|
||||
+++ SDL_image-1.2.6-haiku/acinclude/libtool.m4 2008-06-30 09:50:10.000000000 +0000
|
||||
@@ -734,6 +734,12 @@
|
||||
lt_cv_sys_max_cmd_len=8192;
|
||||
;;
|
||||
|
||||
+ haiku*)
|
||||
+ # On Haiku, this test takes a really really long time.
|
||||
+ # Haiku has a maximum line length of 4096 for now.
|
||||
+ lt_cv_sys_max_cmd_len=4096;
|
||||
+ ;;
|
||||
+
|
||||
amigaos*)
|
||||
# On AmigaOS with pdksh, this test takes hours, literally.
|
||||
# So we just punt and use a minimum line length of 8192.
|
||||
@@ -1288,7 +1294,7 @@
|
||||
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
library_names_spec='${libname}${shared_ext}'
|
||||
dynamic_linker="$host_os ld.so"
|
||||
shlibpath_var=LIBRARY_PATH
|
||||
@@ -2287,7 +2293,7 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@@ -2505,7 +2511,7 @@
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case $host in
|
||||
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
+*-*-beos* | haiku* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
# These system don't have libm, or don't need it
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
@@ -2996,7 +3002,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
||||
@@ -4850,7 +4856,7 @@
|
||||
# like `-m68040'.
|
||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
mingw* | os2* | pw32*)
|
||||
@@ -5123,7 +5129,7 @@
|
||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
|
||||
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
|
||||
@@ -5490,7 +5496,7 @@
|
||||
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
||||
;;
|
||||
|
||||
- beos*)
|
||||
+ beos* | haiku*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
||||
25
media-libs/sdl-image/sdl-image-1.2.6.bep
Normal file
25
media-libs/sdl-image/sdl-image-1.2.6.bep
Normal file
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION="Simple Direct Media Layer Image Library"
|
||||
HOMEPAGE="http://www.libsdl.org/projects/SDL_image"
|
||||
SRC_URI="http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.6.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="untested"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd sdl-image-1.2.6
|
||||
cat acinclude/libtool.m4 >> aclocal.m4
|
||||
cat acinclude/sdl.m4 >> aclocal.m4
|
||||
aclocal
|
||||
libtoolize --copy --force
|
||||
aclocal
|
||||
autoconf
|
||||
./autogen.sh
|
||||
./configure --prefix=/boot/common LDFLAGS=-L/boot/common/lib CPPFLAGS=-I/boot/common/include
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd sdl-image-1.2.6
|
||||
make install
|
||||
}
|
||||
61
media-libs/sdl-net/SDL_net-1.2.7-haiku.diff
Normal file
61
media-libs/sdl-net/SDL_net-1.2.7-haiku.diff
Normal file
@@ -0,0 +1,61 @@
|
||||
diff -urN SDL_net-1.2.7/acinclude/libtool.m4 SDL_net-1.2.7-haiku/acinclude/libtool.m4
|
||||
--- SDL_net-1.2.7/acinclude/libtool.m4 2007-07-15 01:34:07.000000000 +0000
|
||||
+++ SDL_net-1.2.7-haiku/acinclude/libtool.m4 2008-07-10 23:46:27.000000000 +0000
|
||||
@@ -1288,7 +1288,7 @@
|
||||
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
library_names_spec='${libname}${shared_ext}'
|
||||
dynamic_linker="$host_os ld.so"
|
||||
shlibpath_var=LIBRARY_PATH
|
||||
@@ -2287,7 +2287,7 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
-beos*)
|
||||
+beos* | haiku*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@@ -2505,7 +2505,7 @@
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case $host in
|
||||
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
+*-*-beos* | *-*-haiku* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
|
||||
# These system don't have libm, or don't need it
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
@@ -4850,7 +4850,7 @@
|
||||
# like `-m68040'.
|
||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
mingw* | os2* | pw32*)
|
||||
@@ -5123,7 +5123,7 @@
|
||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
|
||||
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
|
||||
diff -urN SDL_net-1.2.7/configure.in SDL_net-1.2.7-haiku/configure.in
|
||||
--- SDL_net-1.2.7/configure.in 2007-07-20 12:40:02.000000000 +0000
|
||||
+++ SDL_net-1.2.7-haiku/configure.in 2008-07-10 23:48:29.000000000 +0000
|
||||
@@ -92,6 +92,9 @@
|
||||
*-*-beos*)
|
||||
INETLIB=""
|
||||
;;
|
||||
+ *-*-haiku*)
|
||||
+ INETLIB="-lnetwork"
|
||||
+ ;;
|
||||
*)
|
||||
INETLIB=""
|
||||
;;
|
||||
Reference in New Issue
Block a user