Re: I'm going to build Ogle

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Organization Geek Central
Message-ID <[email protected]>
For those trying to build Ogle, the enclosed quick-and-dirty patch may
be useful. It disables the building of ifo_dump (which isn’t compatible
with the current version of libmpeg3), corrects an ALSA version check,
and fixes a couple of compilation errors.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d

_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
ogle.patch (text/x-patch, 1.7 KB)
--- libogleao/alsa_audio.c-orig	2003-10-19 13:38:30.000000000 +1300
+++ libogleao/alsa_audio.c	2010-03-25 21:40:02.315887255 +1300
@@ -250,7 +250,7 @@
     
     snd_ctl_close(ctl_handle);
   
-  __diga_end:
+  __diga_end:;
   }
   
   return 0;
--- vmg/Makefile-orig	2010-03-25 21:37:48.000000000 +1300
+++ vmg/Makefile	2010-03-25 21:55:12.591813524 +1300
@@ -139,7 +139,8 @@
 install_sh = /home/ldo/sources/ogle/ogle-0.9.2/install-sh
 
 pkglib_PROGRAMS = ogle_nav
-bin_PROGRAMS = ifo_dump
+#bin_PROGRAMS = ifo_dump # doesn't build against current version of libmpeg3
+bin_PROGRAMS =
 noinst_PROGRAMS = vmg_dump dump
 
 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -D_LARGEFILE64_SOURCE -I/usr/local/include -I/usr/include/libxml2
@@ -182,7 +183,8 @@
 subdir = vmg
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_CLEAN_FILES =
-bin_PROGRAMS = ifo_dump$(EXEEXT)
+#bin_PROGRAMS = ifo_dump$(EXEEXT) # doesn't build against current version of libmpeg3
+#bin_PROGRAMS =
 noinst_PROGRAMS = vmg_dump$(EXEEXT) dump$(EXEEXT)
 pkglib_PROGRAMS = ogle_nav$(EXEEXT)
 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) $(pkglib_PROGRAMS)
--- ac3/ac3dec_wrap.c-orig	2003-03-03 04:50:03.000000000 +1300
+++ ac3/ac3dec_wrap.c	2010-03-25 21:46:48.015812680 +1300
@@ -48,7 +48,7 @@
 static void handle_events(MsgEventQ_t *q, MsgEvent_t *ev);
 
 
-static char *program_name;
+char *program_name;
 
 static FILE *outfile;
 
--- configure-orig	2003-11-05 00:34:13.000000000 +1300
+++ configure	2010-03-25 21:37:29.223814422 +1300
@@ -13063,7 +13063,7 @@
 
 #include <sys/asoundlib.h>
 #if defined(SND_LIB_MAJOR) && defined(SND_LIB_MINOR)
-#if SND_LIB_MAJOR>0 || (SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)
+#if (SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)
 AP_maGiC_VALUE
 #endif
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.