Subject: Re: flash bin & fonts
To: Mark Kirby <mark@coris.org.uk>
From: Noud deBrouwer <noud4@home.nl>
List: pkgsrc-users
Date: 06/30/2006 18:29:04
Mark Kirby wrote:

>On Thursday 29 June 2006 15:41, Noud deBrouwer wrote:
>  
>
>>if i may ask.. firefox bin flash does work..
>>..but does not show any fonts.
>>
>>given https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=184028
>>
>>i did add ttfonts and urw-fonts.
>>cp /usr/X11R6/lib/X11/fs/config /emul/linux/usr/X11R6/lib/X11/fs
>>add the 2 extra fontpaths to config. and
>>ln -s /usr/X11R6/lib/X11/fonts /emul/linux/usr/X11R6/lib/X11
>>
>>still no fonts.. anyone spotting what i'm missing or applying wrong?
>>anyone got another sollution?
>>
>>    
>>
>
>I have the same problem. It seems to have started for me with upgrading my 
>linux packages to suse 10. 
>  
>
i'm at 9.1 (from 2006Q1)

>You could try gnash [1] the gnu flash player. It can be built as a standalone 
>  
>
yes..got gnash working.
to my understanding.. it does not support the ~streaming-mode~ yet.
nor audio/video (somewhere in the webpages, gnu tells it's high on there 
list)
whilest.. the flash-client-application needs those too.

>player or as a firefox/konqi plugin.
>
>Theres no pkgsrc package but it builds cleanly (though i couldnt get it to 
>build in the pkgsrc framework) though i couldnt get it installed.
>  
>
i did not take time.. builds partly, far from complete and
must be finished cd work/gn*;make install

>Some kind folk out there want to give it a try :)
>
>Mark
>
>[1] http://savannah.gnu.org/projects/gnash
>  
>
--Noud


# $NetBSD$
#

DISTNAME=    gnash-0.7.1
CATEGORIES=    multimedia
MASTER_SITES=   ${MASTER_SITE_GNU:=gnash/${PKGVERSION}/}

MAINTAINER=    noud4@
HOMEPAGE=    http://www.gnu.org/software/gnash/
COMMENT=    GNU Flash player

PKG_INSTALLATION_TYPES=    overwrite pkgviews

GNU_CONFIGURE=    yes
USE_X11BASE=    YES

CONFIGURE_ARGS+=    --disable-threading
CONFIGURE_ARGS+=    --prefix=${PREFIX}
LDFLAGS+=        -L${WRKSRC}/libbase/.libs

pre-install:
    ln -sf ${WRKSRC}/libbase/.libs/libgnashbase.so.0.0 ${WRKSRC}/libbase

.include "../../devel/pango/buildlink3.mk"
.include "../../devel/atk/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

--- plugin/plugin.cpp    2006-06-30 02:14:25.000000000 +0000
+++ plugin/plugin.cpp.new    2006-06-30 02:15:03.000000000 +0000
@@ -52,6 +52,7 @@
 #include <GL/glx.h>
 #include <GL/gl.h>
 #include <GL/glu.h>
+#include <GL/glxext.h>
 //#include <X11/extensions/xf86vmode.h>
 #ifdef HAVE_GTK2
 #include <gtk/gtk.h>

--- plugin/Makefile.in    2006-05-05 05:33:06.000000000 +0000
+++ plugin/Makefile.in.new    2006-06-30 02:19:33.000000000 +0000
@@ -1005,7 +1005,7 @@
     test -d "$(DESTDIR)$(plugindir)" || $(mkinstalldirs) 
"$(DESTDIR)$(plugindir)"
 #       cp .libs/libgnashplugin.so $(DESTDIR)$(plugindir)/libgnashplugin.so
     $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) 
$(plugin_LTLIBRARIES) "$(DESTDIR)$(plugindir)/$(plugin_LTLIBRARIES)"
-    $(RM) $(DESTDIR)$(plugindir)/libgnashplugin.*a
+    rm $(DESTDIR)$(plugindir)/libgnashplugin.*a
 
 # install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
 #     if test -d $(HOME)/.firefox ; then \