summaryrefslogtreecommitdiffstats
path: root/graphics/xmps/files
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-15 10:48:01 +0000
committersobomax <sobomax@FreeBSD.org>2000-06-15 10:48:01 +0000
commit3713d01b583c82e7b8006fcad87539cce6a5582d (patch)
tree2657c532b69d7581672393f9cfba257ef875470f /graphics/xmps/files
parent240334d71376290472dfb2b85765e57ea49977cc (diff)
downloadFreeBSD-ports-3713d01b583c82e7b8006fcad87539cce6a5582d.zip
FreeBSD-ports-3713d01b583c82e7b8006fcad87539cce6a5582d.tar.gz
Initial import of xmps - a nice Gnome MPEG videoplayer.
Diffstat (limited to 'graphics/xmps/files')
-rw-r--r--graphics/xmps/files/patch-aa92
-rw-r--r--graphics/xmps/files/patch-ab11
-rw-r--r--graphics/xmps/files/patch-ac11
-rw-r--r--graphics/xmps/files/patch-ad43
-rw-r--r--graphics/xmps/files/patch-ae11
5 files changed, 168 insertions, 0 deletions
diff --git a/graphics/xmps/files/patch-aa b/graphics/xmps/files/patch-aa
new file mode 100644
index 0000000..7ae2c29
--- /dev/null
+++ b/graphics/xmps/files/patch-aa
@@ -0,0 +1,92 @@
+--- configure.orig Wed May 17 23:43:36 2000
++++ configure Thu Jun 15 13:32:11 2000
+@@ -1536,6 +1536,7 @@
+
+
+ STRETCHER_SRC=
++STRETCHER_OBJ=
+ # Extract the first word of "nasm", so it can be a program name with args.
+ set dummy nasm; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+@@ -1568,6 +1569,7 @@
+
+ if test "$have_nasm" = "yes"; then
+ STRETCHER_SRC="stretch.h stretch.c stretchblt.asm"
++ STRETCHER_OBJ="stretch.lo stretchblt.o"
+ cat >> confdefs.h <<\EOF
+ #define AS_STRETCHER 1
+ EOF
+@@ -2979,14 +2981,14 @@
+ { echo "configure: error: *** POSIX thread support not installed ***" 1>&2; exit 1; }
+ fi
+
+-echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
+-echo "configure:2984: checking for pthread_attr_init in -lpthread" >&5
++echo $ac_n "checking for pthread_attr_init in -pthread""... $ac_c" 1>&6
++echo "configure:2984: checking for pthread_attr_init in -pthread" >&5
+ ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lpthread $LIBS"
++LIBS="-pthread $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2992 "configure"
+ #include "confdefs.h"
+@@ -3020,7 +3022,7 @@
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="-pthread $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
+@@ -4060,16 +4062,16 @@
+ { echo "configure: error: **** Cannot find stat.h ****" 1>&2; exit 1; }
+ fi
+
+-ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
+-echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
+-echo "configure:4066: checking for sys/dir.h" >&5
++ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
++echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
++echo "configure:4066: checking for dirent.h" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ cat > conftest.$ac_ext <<EOF
+ #line 4071 "configure"
+ #include "confdefs.h"
+-#include <sys/dir.h>
++#include <dirent.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+ { (eval echo configure:4076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+@@ -4091,7 +4093,7 @@
+ :
+ else
+ echo "$ac_t""no" 1>&6
+-{ echo "configure: error: **** Cannot find dir.h ****" 1>&2; exit 1; }
++{ echo "configure: error: **** Cannot find dirent.h ****" 1>&2; exit 1; }
+ fi
+
+
+@@ -6001,7 +6003,7 @@
+ < $srcdir/po/POTFILES.in > po/POTFILES
+
+
+-CFLAGS="$CFLAGS `gtk-config --cflags`"
++CFLAGS="$CFLAGS `$GTK_CONFIG --cflags`"
+
+
+ CODEC_PLUGINS_DIR=Codecs
+@@ -6188,6 +6190,7 @@
+ s%@LIBTOOL@%$LIBTOOL%g
+ s%@have_nasm@%$have_nasm%g
+ s%@STRETCHER_SRC@%$STRETCHER_SRC%g
++s%@STRETCHER_OBJ@%$STRETCHER_OBJ%g
+ s%@CPP@%$CPP%g
+ s%@X_CFLAGS@%$X_CFLAGS%g
+ s%@X_PRE_LIBS@%$X_PRE_LIBS%g
diff --git a/graphics/xmps/files/patch-ab b/graphics/xmps/files/patch-ab
new file mode 100644
index 0000000..2704749
--- /dev/null
+++ b/graphics/xmps/files/patch-ab
@@ -0,0 +1,11 @@
+--- Output/SDL/sdl_renderer.h.orig Thu Jun 15 11:33:24 2000
++++ Output/SDL/sdl_renderer.h Thu Jun 15 11:33:35 2000
+@@ -25,7 +25,7 @@
+ #ifndef _SDL_RENDERER_H
+ #define _SDL_RENDERER_H
+
+-#include <SDL/SDL.h>
++#include <SDL.h>
+
+ #include <src/types.h>
+ #include <src/xmps_utils.h>
diff --git a/graphics/xmps/files/patch-ac b/graphics/xmps/files/patch-ac
new file mode 100644
index 0000000..fc6db30
--- /dev/null
+++ b/graphics/xmps/files/patch-ac
@@ -0,0 +1,11 @@
+--- Output/X11/stretch.h.orig Thu Jun 15 11:36:00 2000
++++ Output/X11/stretch.h Thu Jun 15 11:36:11 2000
+@@ -27,7 +27,7 @@
+ #ifndef _STRETCH_H
+ #define _STRETCH_H
+
+-#include <SDL/SDL.h>
++#include <SDL.h>
+
+ /* setup scaling routine. must be called before AS_stretchBlit
+ Returns 0 on success, nonzero if bit depth is invalid (not 16 nor 32),
diff --git a/graphics/xmps/files/patch-ad b/graphics/xmps/files/patch-ad
new file mode 100644
index 0000000..fc3a2221
--- /dev/null
+++ b/graphics/xmps/files/patch-ad
@@ -0,0 +1,43 @@
+--- Output/X11/Makefile.in.orig Wed May 17 23:45:19 2000
++++ Output/X11/Makefile.in Thu Jun 15 13:26:45 2000
+@@ -100,6 +100,7 @@
+ SDL_CONFIG = @SDL_CONFIG@
+ SDL_LIBS = @SDL_LIBS@
+ STRETCHER_SRC = @STRETCHER_SRC@
++STRETCHER_OBJ = @STRETCHER_OBJ@
+ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
+ USE_NLS = @USE_NLS@
+ VERSION = @VERSION@
+@@ -115,12 +116,12 @@
+ libdir = $(PLUGINS_DIR)/$(RENDERER_PLUGINS_DIR)
+
+ libX11_la_LDFLAGS = -module -avoid-version
+-libX11_la_LIBADD = @GTK_LIBS@ -ldl -lXi -lXext -lX11 -lm
++libX11_la_LIBADD = @GTK_LIBS@ -lXi -lXext -lX11 -lm
+
+ libX11_la_SOURCES = x11_renderer.c x11_renderer.h @STRETCHER_SRC@
+
+
+-INCLUDES = @GTK_CFLAGS@
++INCLUDES = @GTK_CFLAGS@ @SDL_CFLAGS@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../config.h
+ CONFIG_CLEAN_FILES =
+@@ -132,7 +133,7 @@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ libX11_la_DEPENDENCIES =
+-libX11_la_OBJECTS = x11_renderer.lo
++libX11_la_OBJECTS = x11_renderer.lo @STRETCHER_OBJ@
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -346,6 +347,8 @@
+ distclean-generic clean-generic maintainer-clean-generic clean \
+ mostlyclean distclean maintainer-clean
+
++stretchblt.o:
++ nasm -f elf stretchblt.asm
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/graphics/xmps/files/patch-ae b/graphics/xmps/files/patch-ae
new file mode 100644
index 0000000..04a4738
--- /dev/null
+++ b/graphics/xmps/files/patch-ae
@@ -0,0 +1,11 @@
+--- Output/Makefile.in.orig Thu Jun 15 11:44:17 2000
++++ Output/Makefile.in Thu Jun 15 11:44:28 2000
+@@ -111,7 +111,7 @@
+ have_nasm = @have_nasm@
+ l = @l@
+
+-SUBDIRS = SDL X11 OpenGL
++SUBDIRS = SDL X11
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
OpenPOWER on IntegriCloud