diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-02-05 06:01:32 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-02-05 06:01:32 +0800 |
commit | 8463997cb10144c93e520ddfcfa3ecda51fabeef (patch) | |
tree | 503d0654a4f107f6dbb86624caecf2109ba1625a /multimedia/xmps/files | |
parent | a04a61021899b596cdbd71878b4185b86b4a294d (diff) | |
download | freebsd-ports-gnome-8463997cb10144c93e520ddfcfa3ecda51fabeef.tar.gz freebsd-ports-gnome-8463997cb10144c93e520ddfcfa3ecda51fabeef.tar.zst freebsd-ports-gnome-8463997cb10144c93e520ddfcfa3ecda51fabeef.zip |
- Update to 0.2.0;
- make pkg-descr reflecting reality (no smpeg anymore);
- force usual naming conventions for the libraries installed into ${PREFIX}/lib
(i.e. .so and .so.xxx, not just .so).
Please note that unlike previous, this new version doesn't include ability
to play MPEG-1 OOB, so if you use it for than you probably may want to stick
with 0.1.3. Also please note that it's still full of stupid bugs and linuxisms
(like assumption that OS should zero all unitialized data when loading a
program), so beware.
Update prompted by: lioux
Diffstat (limited to 'multimedia/xmps/files')
17 files changed, 229 insertions, 115 deletions
diff --git a/multimedia/xmps/files/patch-aa b/multimedia/xmps/files/patch-aa index c859c119338c..baaab7875043 100644 --- a/multimedia/xmps/files/patch-aa +++ b/multimedia/xmps/files/patch-aa @@ -1,62 +1,30 @@ ---- configure.orig Tue Dec 19 16:40:13 2000 -+++ configure Tue Dec 19 16:49:08 2000 -@@ -3803,7 +3803,7 @@ - echo $ac_n "(cached) $ac_c" 1>&6 - else - ac_save_LIBS="$LIBS" --LIBS="-lsmpeg $LIBS" -+LIBS="-lsmpeg $SDL_LIBS $LIBS" - cat > conftest.$ac_ext <<EOF - #line 3809 "configure" - #include "confdefs.h" -@@ -3833,7 +3833,7 @@ - #define $ac_tr_lib 1 - EOF - -- LIBS="-lsmpeg $LIBS" -+ LIBS="-lsmpeg $SDL_LIBS $LIBS" - - else - echo "$ac_t""no" 1>&6 -@@ -3848,7 +3848,7 @@ - echo $ac_n "(cached) $ac_c" 1>&6 - else - ac_save_LIBS="$LIBS" --LIBS="-lsmpeg $LIBS" -+LIBS="-lsmpeg $LIBS" - cat > conftest.$ac_ext <<EOF - #line 3854 "configure" - #include "confdefs.h" -@@ -3919,7 +3919,7 @@ - rm -f conftest* - echo "$ac_t""$opengl" 1>&6 - --if test x$opengl = xyes; then -+if test x$opengl = x"Manually disabled ;)"; then - OPENGL=OpenGL - CFLAGS="$CFLAGS -DHAVE_OPENGL" - GL_LIBS="$X_PRELIBS -lGL -lGLU -lICE -lSM $X_LIBS" -@@ -3974,8 +3974,8 @@ + +$FreeBSD$ + +--- configure.orig Sun Feb 4 21:49:31 2001 ++++ configure Sun Feb 4 21:52:15 2001 +@@ -3694,16 +3694,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:3700: 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:3980: checking for sys/dir.h" >&5 ++echo "configure:3700: 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 -@@ -3983,7 +3983,7 @@ + else cat > conftest.$ac_ext <<EOF - #line 3985 "configure" + #line 3705 "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:3990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -@@ -4005,7 +4005,7 @@ + { (eval echo configure:3710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +@@ -3725,7 +3725,7 @@ : else echo "$ac_t""no" 1>&6 @@ -65,12 +33,12 @@ fi -@@ -5915,7 +5915,7 @@ +@@ -5636,7 +5636,7 @@ < $srcdir/po/POTFILES.in > po/POTFILES --CFLAGS="$CFLAGS `gtk-config --cflags`" -+CFLAGS="$CFLAGS `$GTK_CONFIG --cflags`" +-CFLAGS="$CFLAGS `gtk-config --cflags` -Wall -Werror" ++CFLAGS="$CFLAGS `$GTK_CONFIG --cflags` -Wall -Werror" - CODEC_PLUGINS_DIR=Codecs + VIDEO_ADDON_PLUGIN_DIR=addons/video diff --git a/multimedia/xmps/files/patch-ab b/multimedia/xmps/files/patch-ab index 270474988096..aca750600a37 100644 --- a/multimedia/xmps/files/patch-ab +++ b/multimedia/xmps/files/patch-ab @@ -1,11 +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 +--- renderers/video/sdl/sdl_renderer.h 2001/02/04 19:53:13 1.1 ++++ renderers/video/sdl/sdl_renderer.h 2001/02/04 19:53:23 +@@ -40,7 +40,7 @@ + * + */ -#include <SDL/SDL.h> +#include <SDL.h> - #include <src/types.h> - #include <src/xmps_utils.h> + #include "libxmps/libxmps.h" + diff --git a/multimedia/xmps/files/patch-ac b/multimedia/xmps/files/patch-ac deleted file mode 100644 index fc6db3042567..000000000000 --- a/multimedia/xmps/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/multimedia/xmps/files/patch-ad b/multimedia/xmps/files/patch-ad deleted file mode 100644 index 1788b62013d0..000000000000 --- a/multimedia/xmps/files/patch-ad +++ /dev/null @@ -1,27 +0,0 @@ ---- Output/X11/Makefile.in.orig Fri Aug 11 18:02:36 2000 -+++ Output/X11/Makefile.in Mon Aug 28 16:34:22 2000 -@@ -121,13 +121,13 @@ - libdir = $(PLUGINS_DIR)/$(RENDERER_PLUGINS_DIR) - - libX11_la_LDFLAGS = -module -avoid-version --libX11_la_LIBADD = @GTK_LIBS@ -ldl -lXi -lXext -lX11 -lm -L@LIBXMPS_DIR@ -lxmps -+libX11_la_LIBADD = @GTK_LIBS@ -lXi -lXext -lX11 -lm -L@LIBXMPS_DIR@ -lxmps - - libX11_la_SOURCES = x11_renderer.c x11_renderer.h stretch.h stretch.c stretchblt.S - - #mmx.S - --INCLUDES = @GTK_CFLAGS@ -I../../libxmps/ -I../../src -+INCLUDES = @GTK_CFLAGS@ @SDL_CFLAGS@ -I../../libxmps/ -I../../src - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = ../../config.h - CONFIG_CLEAN_FILES = -@@ -353,6 +353,8 @@ - distclean-generic clean-generic maintainer-clean-generic clean \ - mostlyclean distclean maintainer-clean - -+stretchblt.o: -+ nasm -f elf stretchblt.asm - - stretchblt.lo: - nasm -f elf -o stretchblt.o stretchblt.S diff --git a/multimedia/xmps/files/patch-ae b/multimedia/xmps/files/patch-ae deleted file mode 100644 index 1f2e2ac7b29b..000000000000 --- a/multimedia/xmps/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- src/types.h 2000/08/30 13:38:31 1.1 -+++ src/types.h 2000/08/30 13:38:42 -@@ -26,7 +26,7 @@ - */ - - #include <gtk/gtk.h> --#include <SDL/SDL.h> -+#include <SDL.h> - #include <pthread.h> - - /* MACROS */ diff --git a/multimedia/xmps/files/patch-af b/multimedia/xmps/files/patch-af deleted file mode 100644 index b86e6fff559f..000000000000 --- a/multimedia/xmps/files/patch-af +++ /dev/null @@ -1,11 +0,0 @@ ---- Output/OpenGL/Makefile.in 2000/08/30 13:40:40 1.1 -+++ Output/OpenGL/Makefile.in 2000/08/30 13:41:03 -@@ -126,7 +126,7 @@ - libopengl_la_SOURCES = opengl_renderer.c opengl_renderer.h - - --INCLUDES = @GTK_CFLAGS@ -I../../libxmps -I../../src -+INCLUDES = @GTK_CFLAGS@ @SDL_CFLAGS@ -I../../libxmps -I../../src - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = ../../config.h - CONFIG_CLEAN_FILES = diff --git a/multimedia/xmps/files/patch-codecs::audio::ac3::ac3_codec.c b/multimedia/xmps/files/patch-codecs::audio::ac3::ac3_codec.c new file mode 100644 index 000000000000..a7c921fe63b2 --- /dev/null +++ b/multimedia/xmps/files/patch-codecs::audio::ac3::ac3_codec.c @@ -0,0 +1,50 @@ + +$FreeBSD$ + +--- codecs/audio/ac3/ac3_codec.c.orig Mon Nov 20 21:41:18 2000 ++++ codecs/audio/ac3/ac3_codec.c Sun Feb 4 23:18:46 2001 +@@ -60,7 +60,7 @@ + + } ac3_t; + +-int error; ++int ac3_error; + + /* + * get_audio_codec_info : MANDATORY +@@ -96,7 +96,7 @@ + ((ac3_t *) audio_decoder->data)->smixlev_lut[2] = 0.0; + ((ac3_t *) audio_decoder->data)->smixlev_lut[3] = 0.500; + +- error = 0; ++ ac3_error = 0; + + return audio_decoder; + } +@@ -208,7 +208,7 @@ + + exponent_unpack(&data->bsi, &data->audblk); + +- if(error) ++ if(ac3_error) + goto error; + + // Figure out how many bits per mantissa +@@ -220,7 +220,7 @@ + + coeff_unpack (&data->bsi, &data->audblk, data->samples); + +- if(error) ++ if(ac3_error) + goto error; + + if(data->bsi.acmod == 0x2) +@@ -242,7 +242,7 @@ + memset(data->s16_samples, 0, 256*2*2*6); + ring_write((char *) data->s16_samples, 256*2*2*6); + +- error = 0; ++ ac3_error = 0; + + } + diff --git a/multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c b/multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c new file mode 100644 index 000000000000..9f2576ac8fc7 --- /dev/null +++ b/multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- codecs/audio/ac3/coeff.c 2001/02/04 21:17:23 1.1 ++++ codecs/audio/ac3/coeff.c 2001/02/04 21:17:55 +@@ -254,7 +254,7 @@ + 11, 12, 14, 16 + }; + +-extern int error; ++extern int ac3_error; + + static void coeff_reset(void); + static float coeff_get_float(uint16_t bap, uint16_t dithflag, uint16_t exp); +@@ -370,7 +370,7 @@ + + error: + XMPS_DEBUG("** Invalid mantissa - skipping frame **"); +- error = 1; ++ ac3_error = 1; + + return 0.0; + } diff --git a/multimedia/xmps/files/patch-codecs::audio::ac3::exponent.c b/multimedia/xmps/files/patch-codecs::audio::ac3::exponent.c new file mode 100644 index 000000000000..e629e1847969 --- /dev/null +++ b/multimedia/xmps/files/patch-codecs::audio::ac3::exponent.c @@ -0,0 +1,22 @@ + +$FreeBSD$ + +--- codecs/audio/ac3/exponent.c 2001/02/04 21:17:23 1.1 ++++ codecs/audio/ac3/exponent.c 2001/02/04 21:18:06 +@@ -30,7 +30,7 @@ + + #include "exponent.h" + +-extern int error; ++extern int ac3_error; + + static inline void exp_unpack_ch(uint16_t type,uint16_t expstr,uint16_t ngrps,uint16_t initial_exp, uint16_t exps[], uint16_t *dest); + +@@ -126,6 +126,6 @@ + return; + error: + fprintf (stderr,"** Invalid exponent - skipping frame **\n"); +- error = 1; ++ ac3_error = 1; + } + diff --git a/multimedia/xmps/files/patch-codecs::video::flx::Makefile.in b/multimedia/xmps/files/patch-codecs::video::flx::Makefile.in new file mode 100644 index 000000000000..5746825836c5 --- /dev/null +++ b/multimedia/xmps/files/patch-codecs::video::flx::Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- codecs/video/flx/Makefile.in.orig Sat Jan 20 01:53:42 2001 ++++ codecs/video/flx/Makefile.in Sun Feb 4 22:55:34 2001 +@@ -125,7 +125,7 @@ + libflx_la_SOURCES = flx_codec.h flx_codec.c + + +-INCLUDES = @CFLAGS@ -DVERSION=\"@VERSION@\" -DPACKAGE=\"@PACKAGE@\" -I$(includedir) -I$(top_srcdir)/src -I$(top_srcdir)/libxmps -I$(top_srcdir)/intl -I../../src -I../../libxmps -Wall ++INCLUDES = @CFLAGS@ @SDL_CFLAGS@ -DVERSION=\"@VERSION@\" -DPACKAGE=\"@PACKAGE@\" -I$(includedir) -I$(top_srcdir)/src -I$(top_srcdir)/libxmps -I$(top_srcdir)/intl -I../../src -I../../libxmps -Wall + + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../../../config.h diff --git a/multimedia/xmps/files/patch-codecs::video::flx::flx_codec.h b/multimedia/xmps/files/patch-codecs::video::flx::flx_codec.h new file mode 100644 index 000000000000..bedd02f21154 --- /dev/null +++ b/multimedia/xmps/files/patch-codecs::video::flx::flx_codec.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- codecs/video/flx/flx_codec.h.orig Wed Nov 1 20:46:14 2000 ++++ codecs/video/flx/flx_codec.h Sun Feb 4 22:55:34 2001 +@@ -52,7 +52,7 @@ + #include <stdlib.h> + #include <string.h> + #include <unistd.h> +-#include <SDL/SDL.h> ++#include <SDL.h> + + typedef struct { + diff --git a/multimedia/xmps/files/patch-gui::skinned::xmps_skin_browser.h b/multimedia/xmps/files/patch-gui::skinned::xmps_skin_browser.h new file mode 100644 index 000000000000..c1a1fdae736e --- /dev/null +++ b/multimedia/xmps/files/patch-gui::skinned::xmps_skin_browser.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- gui/skinned/xmps_skin_browser.h.orig Thu Nov 23 16:06:40 2000 ++++ gui/skinned/xmps_skin_browser.h Sun Feb 4 22:55:34 2001 +@@ -36,7 +36,7 @@ + /* INCLUDES */ + + #include <gtk/gtk.h> +-#include <sys/dir.h> ++#include <dirent.h> + #include <sys/stat.h> + #include "libxmps/libxmps.h" + #include "libxmpsutils/libxmpsutils.h" diff --git a/multimedia/xmps/files/patch-libxmps::Makefile.in b/multimedia/xmps/files/patch-libxmps::Makefile.in new file mode 100644 index 000000000000..c88117b1482b --- /dev/null +++ b/multimedia/xmps/files/patch-libxmps::Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- libxmps/Makefile.in.orig Sun Feb 4 23:01:50 2001 ++++ libxmps/Makefile.in Sun Feb 4 23:02:33 2001 +@@ -120,7 +120,7 @@ + + libxmpsincludedir = $(includedir)/libxmps + +-libxmps_la_LDFLAGS = -module -avoid-version ++libxmps_la_LDFLAGS = -module + libxmps_la_LIBADD = -pthread + + libxmps_la_SOURCES = libxmps_config.h libxmps_config.c libxmps_graph.c libxmps_events.c libxmps_video_conversion.c libxmps_xml.c libxmps.h libxmps.c diff --git a/multimedia/xmps/files/patch-libxmpsutils::Makefile.in b/multimedia/xmps/files/patch-libxmpsutils::Makefile.in new file mode 100644 index 000000000000..4810f38c24df --- /dev/null +++ b/multimedia/xmps/files/patch-libxmpsutils::Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- libxmpsutils/Makefile.in 2001/02/04 21:00:58 1.1 ++++ libxmpsutils/Makefile.in 2001/02/04 21:01:11 +@@ -118,7 +118,7 @@ + + lib_LTLIBRARIES = libxmpsutils.la + +-libxmpsutils_la_LDFLAGS = -module -avoid-version ++libxmpsutils_la_LDFLAGS = -module + libxmpsutils_la_LIBADD = @GTK_LIBS@ + + libxmpsutils_la_SOURCES = xmps_support.c xmps_support.h xmps_i18n.h xmps_message.h xmps_message.c xmps_item.h xmps_item.c xmps_menu.h xmps_menu.c xmps_playlist.h xmps_playlist.c xmps_file_info.h xmps_file_info.c xmps_gtk_config.h xmps_gtk_config.c xmps_about.c xmps_utils.h xmps_utils.c libxmpsutils.h diff --git a/multimedia/xmps/files/patch-renderers::audio::sdl::sdl_audio_renderer.h b/multimedia/xmps/files/patch-renderers::audio::sdl::sdl_audio_renderer.h new file mode 100644 index 000000000000..44e9c9aaac45 --- /dev/null +++ b/multimedia/xmps/files/patch-renderers::audio::sdl::sdl_audio_renderer.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- renderers/audio/sdl/sdl_audio_renderer.h.orig Fri Nov 3 21:41:37 2000 ++++ renderers/audio/sdl/sdl_audio_renderer.h Sun Feb 4 22:55:34 2001 +@@ -34,7 +34,7 @@ + + #include "libxmps/libxmps.h" + +-#include <SDL/SDL.h> ++#include <SDL.h> + #include <string.h> + + #ifdef HAVE_CONFIG_H diff --git a/multimedia/xmps/files/patch-src::Makefile.in b/multimedia/xmps/files/patch-src::Makefile.in new file mode 100644 index 000000000000..53d416227753 --- /dev/null +++ b/multimedia/xmps/files/patch-src::Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/Makefile.in.orig Sat Jan 20 01:53:55 2001 ++++ src/Makefile.in Sun Feb 4 22:55:34 2001 +@@ -126,7 +126,7 @@ + xmps_SOURCES = main.c + + +-xmps_LDADD = -L@LIBXMPS_DIR@ -lxmps -L@LIBXMPSUTILS_DIR@ -lxmpsutils ++xmps_LDADD = -L@LIBXMPS_DIR@ -lxmps -L@LIBXMPSUTILS_DIR@ -lxmpsutils -pthread + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = diff --git a/multimedia/xmps/files/patch-system::mpeg3::mpeg3io.c b/multimedia/xmps/files/patch-system::mpeg3::mpeg3io.c new file mode 100644 index 000000000000..ebc186470bf0 --- /dev/null +++ b/multimedia/xmps/files/patch-system::mpeg3::mpeg3io.c @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- system/mpeg3/mpeg3io.c.orig Fri Nov 3 21:41:37 2000 ++++ system/mpeg3/mpeg3io.c Sun Feb 4 22:55:34 2001 +@@ -20,7 +20,6 @@ + #include "mpeg3protos.h" + + #include <stdio.h> +-#include <mntent.h> + #include <sys/stat.h> + #include <stdlib.h> + #include <string.h> |