[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xgalaga



 --- Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> a écrit : 
> This should work, but I wonder if the Makefile should be a bit smarter, 
> as you already know when configuring if a sound server willbe built or not.

I think Makefile wasn't done thinking in another OS without sound support, the
other OS supported by the Makefile has xgal.servers for sound. Moreover,
config.guess detects Hurd as an unknown operating system.

> You can probably leave this to the upstream maintainer.

Anyway, I have the patch (sorry but again I can't send it as an attachment):

cut here
--------------------------------------------------------------------------
--- Makefile.in	Wed Jul 25 21:14:39 2001
+++ /gnu/home/src/xgalaga/Makefile.in	Sun Aug  5 15:24:44 2001
@@ -46,7 +46,9 @@
 	./mkinstalldirs $(DESTDIR)/$(bindir)
 	./mkinstalldirs $(DESTDIR)/$(prefix)
 	$(INSTALL) $(TARGET) $(DESTDIR)/$(bindir)/$(TARGET)
-	$(INSTALL) $(SOUNDSRV) $(DESTDIR)/$(prefix)/$(SOUNDSRV)
+	if test ! "$(SOUNDSRV)" = ""; then \
+		$(INSTALL) $(SOUNDSRV) $(DESTDIR)/$(prefix)/$(SOUNDSRV); \
+	fi
 	./mkinstalldirs $(DESTDIR)/$(prefix)/sounds
 	./mkinstalldirs $(DESTDIR)/$(prefix)/levels
 	for i in levels/*.xgl; do $(INSTALL) $$i $(DESTDIR)/$(prefix)/$$i ; done
--------------------------------------------------------------------------
cut here

I'm testing it in Linux right now, but I'm confident I'll be work because it's
very simple.

> The other solution would be either to port nas and use that on the Hurd
> instead of a native driver, or to port xgalaga to the esd.  We do have esd on
> the Hurd.

I saw something like nas in xgalaga's Makefile; anyway, I tought there was no
sound support for Hurd at all. So, can I hear MP3 in Hurd (by example) if I
have a sound card?

> I can add you to the Hurd project at sourceforge.  Create a sourceforge
> account and let me know what your account name is.

Thanks a lot! I'll do that tomorrow; at this moment I want to sleep.     =)

=====
--------- 
|   |   |                    Cronos 
|   |   |            "No confies en nadie mayor de treinta" 
|   ----| 
|       |            Email: cronos1_mx@yahoo.com 
|       |            WWW:   http://www.geocities.com/cronos1_mx/
---------

___________________________________________________________
Do You Yahoo!? -- Vos albums photos en ligne, 
Yahoo! Photos : http://fr.photos.yahoo.com



Reply to: