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

Re: xfree for m68k



Hi,
 On Tue, Sep 07, 1999 at 11:36:06PM -0400, Branden Robinson wrote:

> Yes.  That's not so bad, though.  So far the signal/noise ratio has been
> very high as a consequence.
Sure, but maybe you could announce here when you create new xfree-1 source
packages? I do not read devel usually and I do not want to scan the ftp
archives all the time, I think this list is just for this.
 
> > Does it make sense to send the mail with the m68k specific problems and
> > patches again to this list?
> 
> Absolutely.  Please try to poach some folks from the debian-68k list as
> well, if any of them besides yourself are interested in XFree86 issues.
> 
> BTW, I made some modifications to your xserver-configure patch and merged
> it into what will be 3.3.5-1.  Thanks for the submission.
> 
> I have MIME-attached the new version of xserver-configure.
Thanks, its looking good. I will try it out at home.

I hope you also accept the Xmodmap change, a backspace/delete entry
(commented of course) for m68k/amigas, maybe thats also usable for
m68k/atari and mac, dont remember if I ever got an answer to that.

Now the real m68k problems, I had to use this patch in the rules file:
--- rules.orig  Sun Sep  5 16:32:21 1999
+++ rules       Sun Sep  5 17:01:50 1999
@@ -7,7 +7,7 @@
 
 # m68k is stubbornly staying behind at glibc 2.0 (libc 6.0)
 LIBC6MINORVERSION_m68k=0
-LIBC6MINORVERSION_default=1
+LIBC6MINORVERSION_default=0
 
 # sparc never managed to get all the way to libc 5.4
 LIBC5MINORVERSION_sparc=3

since the way LIBC6MINORVERSION is set later does not work correctly. For a
test rules file, see xfree_rules, xfree_rules.out (on m68k) 
To test this on i486, see the _i486 and  _i486.out files, there I
arbitrarily set i486 to use libc6 2.0, and youll see that it does not work
this way.
Maybe somebody can fix this problem in the rules file with this info?
Otherwise I propose that you go back the way you set LIBC6MINORVERSION in
xfree-3.3.3.1, which worked for m68k (after applying a little patch...).
Note: this patch will not work on i386, its just a hack for me ATM.

Next problem: the create-compat-* scripts are not called on m68k, allthough
the BINARY variably is set accordingly, I dont know whats wrong here.

Next problem:
I had to patch an imakefile to remove mach64 imstt pm2 from it, since those
do not build on m68k. This is different from the old ATI patch from Geert,
which is allready in debian/patches. No idea if my patch is correct, but at
least xfree builds now and works for me. See 025_xserver_imake.diff

Thats all about the m68k build problems I think , I have seen xfree-3.3.4-2 
but did not try building it yet.

Ciao,
Christian. 
#!/usr/bin/make -f
# Debian rules file for XFree86
# Originally by Stephen Early <sde1000@debian.org>
# Modified by Mark W. Eichin <eichin@kitten.gen.ma.us>
# Modified by Branden Robinson <branden@debian.org>
# Heavily modified by Adam Heath <doogie@debian.org>

# m68k is stubbornly staying behind at glibc 2.0 (libc 6.0)
LIBC6MINORVERSION_m68k=0
LIBC6MINORVERSION_default=1

# sparc never managed to get all the way to libc 5.4
LIBC5MINORVERSION_sparc=3
LIBC5MINORVERSION_default=4

BUILD_ARCH:=$(shell dpkg --print-gnu-build-architecture)
# New cross-compilation policy may set the DEB_HOST_ARCH variable.
ifdef DEB_HOST_ARCH
 ARCH:=$(DEB_HOST_ARCH)
else
 # dpkg-cross sets the ARCH environment variable, so use it.
 ifdef ARCH
  ARCH:=$(ARCH)
 else
  ARCH:=$(BUILD_ARCH)
 endif
endif

# Unfortunately, the following can't be moved to debian/scripts/vars,
# because it needs to use an if, which is done differently in Bourne and
# make.

ifdef (LIBC6MINORVERSION_$(ARCH))
 LIBC6MINORVERSION=$(LIBC6MINORVERSION_$(ARCH))
else
 LIBC6MINORVERSION=$(LIBC6MINORVERSION_default)
endif

ifdef (LIBC5MINORVERSION_$(ARCH))
 LIBC5MINORVERSION=$(LIBC5MINORVERSION_$(ARCH))
else
 LIBC5MINORVERSION=$(LIBC5MINORVERSION_default)
endif

build: 
	echo arch: $(ARCH)
	echo LIBC6MINORVERSION: $(LIBC6MINORVERSION)
	echo LIBC6MINORVERSION_m68k: $(LIBC6MINORVERSION_m68k)
	echo LIBC6MINORVERSION_default : $(LIBC6MINORVERSION_default)
	echo LIBC6MINORVERSION_$(ARCH) : $(LIBC6MINORVERSION_$(ARCH))
ifdef (LIBC6MINORVERSION_$(ARCH))
# LIB != LIB_ ???
		echo defined
else
		echo not defined..
endif
cts@aahz:~>make -f xfree_rules
arch: m68k
LIBC6MINORVERSION: 1
LIBC6MINORVERSION_m68k: 0
LIBC6MINORVERSION_default : 1
LIBC6MINORVERSION_m68k : 0
not defined..

cts@skeeve:~/Sendmail>make -f xfree_rules_i486
arch: i486
LIBC6MINORVERSION: 1
LIBC6MINORVERSION_i486: 0
LIBC6MINORVERSION_default : 1
LIBC6MINORVERSION_i486 : 0
not defined..
#!/usr/bin/make -f
# Debian rules file for XFree86
# Originally by Stephen Early <sde1000@debian.org>
# Modified by Mark W. Eichin <eichin@kitten.gen.ma.us>
# Modified by Branden Robinson <branden@debian.org>
# Heavily modified by Adam Heath <doogie@debian.org>

# m68k is stubbornly staying behind at glibc 2.0 (libc 6.0)
LIBC6MINORVERSION_i486=0
LIBC6MINORVERSION_default=1

# sparc never managed to get all the way to libc 5.4
LIBC5MINORVERSION_sparc=3
LIBC5MINORVERSION_default=4

BUILD_ARCH:=$(shell dpkg --print-gnu-build-architecture)
# New cross-compilation policy may set the DEB_HOST_ARCH variable.
ifdef DEB_HOST_ARCH
 ARCH:=$(DEB_HOST_ARCH)
else
 # dpkg-cross sets the ARCH environment variable, so use it.
 ifdef ARCH
  ARCH:=$(ARCH)
 else
  ARCH:=$(BUILD_ARCH)
 endif
endif

# Unfortunately, the following can't be moved to debian/scripts/vars,
# because it needs to use an if, which is done differently in Bourne and
# make.

ifdef (LIBC6MINORVERSION_$(ARCH))
 LIBC6MINORVERSION=$(LIBC6MINORVERSION_$(ARCH))
else
 LIBC6MINORVERSION=$(LIBC6MINORVERSION_default)
endif

ifdef (LIBC5MINORVERSION_$(ARCH))
 LIBC5MINORVERSION=$(LIBC5MINORVERSION_$(ARCH))
else
 LIBC5MINORVERSION=$(LIBC5MINORVERSION_default)
endif

build: 
	echo arch: $(ARCH)
	echo LIBC6MINORVERSION: $(LIBC6MINORVERSION)
	echo LIBC6MINORVERSION_i486: $(LIBC6MINORVERSION_i486)
	echo LIBC6MINORVERSION_default : $(LIBC6MINORVERSION_default)
	echo LIBC6MINORVERSION_$(ARCH) : $(LIBC6MINORVERSION_$(ARCH))
ifdef (LIBC6MINORVERSION_$(ARCH))
# LIB != LIB_ ???
		echo defined
else
		echo not defined..
endif
--- xc/programs/Xserver/hw/xfree68/Imakefile.orig	Wed Jun  2 09:50:08 1999
+++ xc/programs/Xserver/hw/xfree68/Imakefile	Thu Sep  2 23:50:26 1999
@@ -11,7 +11,7 @@
 SCREENS = fbdev
 
 SUBDIRS = os-support common $(SCREENS) doc $(XF86SETUPDIR) etc LinkKit \
-	  77c32blt mach64 imstt pm2
+	  77c32blt
 
 XF86CONFIG = XF86Config
 

Reply to: