Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Aaron Magill

On Thursday, January 9, 2003, at 01:29  AM, 
[EMAIL PROTECTED] wrote:

Message: 11
Date: Wed, 8 Jan 2003 23:28:57 -0800
Subject: Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?
Cc: [EMAIL PROTECTED]
To: Douglas Theobald [EMAIL PROTECTED]
From: Kow K [EMAIL PROTECTED]

...stuff deleted...



Currently, I'm checking out what tools need to be rebuild.

Kow



I wrote the following script awhile back to determine what I had 
installed but forgot to remove when I found that I didn't use it... The 
script checks the specified installed package to determine what depends 
upon them... no promises that it catches everything, but it's worked 
for me so far... if someone wants to use this as a starting point to 
determine what may need to be recompiled, invoke the script with x11 
(or xfree86-base) for a list... it should deal with the aliases that 
some package variants use.

Sorry it's long, and yeah, I know the code is probably not the most 
elegant way to do it, but I cobbled it together from some other scripts 
I had written for other reasons...

At any rate, for those interested, here it is... as always, no 
responsibility is assumed for what this code does or doesn't do... and 
since you have the code visible here, review it yourself before 
trusting it...  standard disclaimer stuff...

#! /usr/bin/perl

$Top_Package = shift ;

if ($Top_Package eq ) {
	print \n ;
	print $0 package\n ;
	print \n ;
	print This tool will list the packages that depend upon the specified 
package.\n ;
	print It is limited to displaying dependency information about 
already installed\n ;
	print packages, so it is primarily for determining what is safe to 
remove.\n ;
	print \n ;
	exit ;
}

open(DPKG,/sw/var/lib/dpkg/status) ;

while(DPKG) {
	chop ;
	if (/^Package: (.+)$/) {
		$Current_Package = $1 ;
		if ($Top_Package eq $Current_Package) { $found = true ; }
	} elsif (/^Depends: (.+)$/) {
		$Depends = $1 ;
		foreach $entry (split(/,/,$Depends)) {
			$entry =~ tr/\ //d ;
			(@parts) = split(/\(/,$entry) ;
			if ($Packages{$Current_Package} ne ) {
 $Packages{$Current_Package} .= , ;
			}
			$Packages{$Current_Package} .= $parts[0] ;
		}
	} elsif (/^Provides: (.+)$/) {
		$Provides = $1 ;
		foreach $entry (split(/,/,$Provides)) {
			$entry =~ tr/\ //d ;
			(@parts) = split(/\(/,$entry) ;
			$Provided_By{$parts[0]} = $Current_Package ;
			if ($Top_Package eq $parts[0]) { $found = true ; }
		}	
	}
}

close(DPKG) ;

foreach $package (sort keys %Provided_By) {
	if ($Top_Package eq $Provided_By{$package}) {
		$Look_For = $package ;
	}
}

undef @Users ;

foreach $package (sort keys %Packages) {
	undef @list ;
	@list = split(/,/,$Packages{$package}) ;
	foreach $item (@list) {
		if ($item eq $Look_For || $item eq $Top_Package) {
			push(@Users,$package) ;
		}
	}
}

if ($Look_For ne '') {
	$Look_For =  (.$Look_For.) ;
}
if (@Users == 0) {
	print $Top_Package$Look_For is not required by any other package.\n ;
} else {
	print $Top_Package$Look_For is required by the following:\n ;
	foreach $package (@Users) {
		print \t$package\n ;
	}
}

Please be gentle in your critiques!  Hope this helps someone.

--
Aaron Magill



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Michèle Garoche
Hello Douglas,

Le jeudi, 9 jan 2003, à 08:54 Europe/Paris, Douglas Theobald a écrit :


OK. Note that this procedure will most certainly change in the future 
when
Apple updates their X11 implementation. Now, this will take some time -
maybe 30-60 minutes. Start with this:
Install the Apple X11.
Install Apple X11 SDK.
Done


sudo mv /usr/X11R6 /usr/X11R6_bak

Done.
drwxr-xr-x9 root  wheel306 Jan  9 09:34 X11R6_bak/

sudo mv /etc/X11   /etc/X11_bak

Done.
lrwxr-xr-x   1 rootwheel  14 Jan  9 09:36 X11_bak@ - 
/usr/X11R6/etc

This seems strange a symbolic link to nowhere.

fink install xfree86-base-threaded
fink install xfree86-rootless-threaded

sudo /sw/bin/fink  install xfree86-rootless-threaded
Information about 2061 packages read in 1 seconds.
pkg xfree86-rootless-threaded  version ###
pkg xfree86-rootless-threaded  version 4.2.1.1-3
No packages to install.

Does nothing, packages already installed


sudo cp /usr/X11R6_bak/bin/Xquartz   /usr/X11R6/bin

Password:
cp: /usr/X11R6/bin: No such file or directory

So I've created the directories. Then again sudo 
cp/usr/X11R6_bak/bin/Xquartz /usr/X11R6/bin

sudo cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin

Done

sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  /usr/X11R6/lib

Done.

But I end up with the following in X11R6:
drwxr-xr-x   4 root  wheel136 Jan  9 10:13 ./
drwxr-xr-x  12 root  wheel408 Jan  9 10:09 ../
drwxr-xr-x   4 root  wheel136 Jan  9 10:11 bin/
-rwxr-xr-x   1 root  wheel  60688 Jan  9 10:13 lib*

and the following in X11R6_bak:
drwxr-xr-x9 root  wheel   306 Jan  9 09:34 ./
drwxr-xr-x   12 root  wheel   408 Jan  9 10:09 ../
-r--r--r--1 root  wheel  1498 Dec 21 04:12 ACKNOWLEDGEMENTS
-r--r--r--1 root  wheel  4994 Dec 21 04:12 README
drwxr-xr-x  137 root  wheel  4658 Jan  9 09:32 bin/
drwxr-xr-x   14 root  wheel   476 Dec 28 09:44 etc/
drwxr-xr-x7 root  wheel   238 Jan  9 09:34 include/
drwxr-xr-x  119 root  wheel  4046 Jan  9 09:34 lib/
drwxr-xr-x6 root  wheel   204 Jan  9 09:34 man/

Something is wrong here. That's where I've stopped.

Help please.

Michèle
http://micmacfr.homeunix.org/



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Douglas Theobald
To get things back how they were, do:

sudo mv /usr/X11R6_bak  /usr/X11R6

sudo mv /etc/X11_bak/etc/X11

Now verify that your normal XDarwin works. Let me know here what happens.

The problem was that fink still thought that you had xfree86-base-threaded
installed, when you didn't. Try the same procedure as before, except do this
first thing off:

fink remove xfree86-base-threaded
fink remove xfree86-rootless-threaded

Then do what I posted before:

Install the Apple X11.
Install Apple X11 SDK.

sudo mv /usr/X11R6 /usr/X11R6_bak
sudo mv /etc/X11   /etc/X11_bak

fink install xfree86-base-threaded
fink install xfree86-rootless-threaded

sudo cp /usr/X11R6_bak/bin/Xquartz   /usr/X11R6/bin
sudo cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin
sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  /usr/X11R6/lib

mkdir ~/X11

sudo cp /usr/X11R6_bak/bin/Xquartz   ~/X11
sudo cp /usr/X11R6_bak/bin/quartz-wm ~/X11
sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  ~/X11

If this doesn't work, to get things back, you will have to:

sudo rm -rf /usr/X11R6
sudo rm -rf /etc/X11

fink install xfree86-base-threaded
fink install xfree86-rootless-threaded

It should reinstall very quickly.

On 1/9/03 2:22 AM, Michèle Garoche [EMAIL PROTECTED] a
écrit :

 Hello Douglas,
 
 Le jeudi, 9 jan 2003, à 08:54 Europe/Paris, Douglas Theobald a écrit :
 
 OK. Note that this procedure will most certainly change in the future when
 Apple updates their X11 implementation. Now, this will take some time - maybe
 30-60 minutes. Start with this:

 Install the Apple X11.
 Install Apple X11 SDK.
 Done
 
 sudo mv /usr/X11R6 /usr/X11R6_bak
 Done.
 drwxr-xr-x9 root  wheel306 Jan  9 09:34 X11R6_bak/
 sudo mv /etc/X11   /etc/X11_bak
 Done.
 lrwxr-xr-x   1 rootwheel  14 Jan  9 09:36 X11_bak@ - /usr/X11R6/etc
 
 This seems strange a symbolic link to nowhere.
 
 fink install xfree86-base-threaded
 fink install xfree86-rootless-threaded
 sudo /sw/bin/fink  install xfree86-rootless-threaded
 Information about 2061 packages read in 1 seconds.
 pkg xfree86-rootless-threaded  version ###
 pkg xfree86-rootless-threaded  version 4.2.1.1-3
 No packages to install.
 
 Does nothing, packages already installed
 
 sudo cp /usr/X11R6_bak/bin/Xquartz   /usr/X11R6/bin
 Password:
 cp: /usr/X11R6/bin: No such file or directory
 
 So I've created the directories. Then again sudo
 cp/usr/X11R6_bak/bin/Xquartz /usr/X11R6/bin
 
 sudo cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin
 Done
 sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  /usr/X11R6/lib
 Done.
 
 But I end up with the following in X11R6:
 drwxr-xr-x   4 root  wheel136 Jan  9 10:13 ./
 drwxr-xr-x  12 root  wheel408 Jan  9 10:09 ../
 drwxr-xr-x   4 root  wheel136 Jan  9 10:11 bin/
 -rwxr-xr-x   1 root  wheel  60688 Jan  9 10:13 lib*
 
 and the following in X11R6_bak:
 drwxr-xr-x9 root  wheel   306 Jan  9 09:34 ./
 drwxr-xr-x   12 root  wheel   408 Jan  9 10:09 ../
 -r--r--r--1 root  wheel  1498 Dec 21 04:12 ACKNOWLEDGEMENTS
 -r--r--r--1 root  wheel  4994 Dec 21 04:12 README
 drwxr-xr-x  137 root  wheel  4658 Jan  9 09:32 bin/
 drwxr-xr-x   14 root  wheel   476 Dec 28 09:44 etc/
 drwxr-xr-x7 root  wheel   238 Jan  9 09:34 include/
 drwxr-xr-x  119 root  wheel  4046 Jan  9 09:34 lib/
 drwxr-xr-x6 root  wheel   204 Jan  9 09:34 man/
 
 Something is wrong here. That's where I've stopped.
 
 Help please.
 
 Michèle
 http://micmacfr.homeunix.org/
 
 
 
 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
 ___
 Fink-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/fink-users



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Michèle Garoche

Le jeudi, 9 jan 2003, à 18:59 Europe/Paris, Douglas Theobald a écrit :


To get things back how they were, do:
sudo mv /usr/X11R6_bak  /usr/X11R6
sudo mv /etc/X11_bak/etc/X11

Already done, because I could not launch either XDarwin nor X11.


Now verify that your normal XDarwin works. Let me know here what 
happens.
Yes, it works, though I have some warnings.


The problem was that fink still thought that you had 
xfree86-base-threaded
installed, when you didn't. Try the same procedure as before, except 
do this
first thing off:

fink remove xfree86-base-threaded
fink remove xfree86-rootless-threaded
I cannot. (Sorry the warnings are in French). Basically I'm told there 
is a problem of dependencies and xfree86-base-threaded cannot be 
removed because package X11 is not installed.

sudo /sw/bin/fink  remove xfree86-base-threaded
Password:
Information about 2063 packages read in 2 seconds.

pkg xfree86-base-threaded  version ###
pkg xfree86-base-threaded  version 4.2.1.1-3
dpkg --remove xfree86-base-threaded
dpkg : un problème de dépendance empêche la suppression de 
xfree86-base-threaded :
 xfree86-rootless-threaded dépend de xfree86-base-threaded (= 
4.2.1.1-3).
 xfonts-shinonome dépend de x11 ; cependant :
  Paquet x11 n'est pas installé.
  Paquet xfree86-base-threaded qui fournit x11 doit être supprimé.
 ..
dpkg : erreur de traitement de xfree86-base-threaded (--remove) :
 problème de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
 xfree86-base-threaded
### execution of dpkg failed, exit code 1
Failed: can't remove package xfree86-base-threaded

So, what's now

Michèle
http://micmacfr.homeunix.org/



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Alexander Hansen
Have you tried removing xfree86-rootless-threaded first?

On Thu, 2003-01-09 at 13:35, Michèle Garoche wrote:
 
 Le jeudi, 9 jan 2003, à 18:59 Europe/Paris, Douglas Theobald a écrit :
 
  To get things back how they were, do:
  sudo mv /usr/X11R6_bak  /usr/X11R6
  sudo mv /etc/X11_bak/etc/X11
 Already done, because I could not launch either XDarwin nor X11.
 
  Now verify that your normal XDarwin works. Let me know here what 
  happens.
 Yes, it works, though I have some warnings.
 
  The problem was that fink still thought that you had 
  xfree86-base-threaded
  installed, when you didn't. Try the same procedure as before, except 
  do this
  first thing off:
 
  fink remove xfree86-base-threaded
  fink remove xfree86-rootless-threaded
 I cannot. (Sorry the warnings are in French). Basically I'm told there 
 is a problem of dependencies and xfree86-base-threaded cannot be 
 removed because package X11 is not installed.
 
 sudo /sw/bin/fink  remove xfree86-base-threaded
 Password:
 Information about 2063 packages read in 2 seconds.
 
 pkg xfree86-base-threaded  version ###
 pkg xfree86-base-threaded  version 4.2.1.1-3
 dpkg --remove xfree86-base-threaded
 dpkg : un problème de dépendance empêche la suppression de 
 xfree86-base-threaded :
   xfree86-rootless-threaded dépend de xfree86-base-threaded (= 
 4.2.1.1-3).
   xfonts-shinonome dépend de x11 ; cependant :
Paquet x11 n'est pas installé.
Paquet xfree86-base-threaded qui fournit x11 doit être supprimé.
   ..
 dpkg : erreur de traitement de xfree86-base-threaded (--remove) :
   problème de dépendance - suppression ignorée
 Des erreurs ont été rencontrées pendant l'exécution :
   xfree86-base-threaded
 ### execution of dpkg failed, exit code 1
 Failed: can't remove package xfree86-base-threaded
 
 So, what's now
 
 Michèle
 http://micmacfr.homeunix.org/
 
 
 
 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
 http://www.vasoftware.com
 ___
 Fink-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/fink-users
-- 
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Michèle Garoche

Le jeudi, 9 jan 2003, à 19:46 Europe/Paris, Alexander Hansen a écrit :


Have you tried removing xfree86-rootless-threaded first?

Same.

sudo /sw/bin/fink  remove xfree86-rootless-threaded
Password:
Information about 2063 packages read in 1 seconds.

pkg xfree86-rootless-threaded  version ###
pkg xfree86-rootless-threaded  version 4.2.1.1-3
dpkg --remove xfree86-rootless-threaded
dpkg : un problème de dépendance empêche la suppression de 
xfree86-rootless-threaded :
 gtkglarea2-shlibs dépend de libgl ; cependant :
  Paquet libgl n'est pas installé.
  Paquet xfree86-rootless-threaded qui fournit libgl doit être supprimé.
 xforms-shlibs dépend de libgl ; cependant :
  Paquet libgl n'est pas installé.
  Paquet xfree86-rootless-threaded qui fournit libgl doit être supprimé.
 gtkglarea dépend de libgl ; cependant :
  Paquet libgl n'est pas installé.
  Paquet xfree86-rootless-threaded qui fournit libgl doit être supprimé.
dpkg : erreur de traitement de xfree86-rootless-threaded (--remove) :
 problème de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
 xfree86-rootless-threaded
### execution of dpkg failed, exit code 1
Failed: can't remove package xfree86-rootless-threaded

To get things back how they were, do:
sudo mv /usr/X11R6_bak  /usr/X11R6
sudo mv /etc/X11_bak/etc/X11

Already done, because I could not launch either XDarwin nor X11.


Now verify that your normal XDarwin works. Let me know here what
happens.

Yes, it works, though I have some warnings.


The problem was that fink still thought that you had
xfree86-base-threaded
installed, when you didn't. Try the same procedure as before, except
do this
first thing off:

fink remove xfree86-base-threaded
fink remove xfree86-rootless-threaded

I cannot. (Sorry the warnings are in French). Basically I'm told there
is a problem of dependencies and xfree86-base-threaded cannot be
removed because package X11 is not installed.

sudo /sw/bin/fink  remove xfree86-base-threaded
Password:
Information about 2063 packages read in 2 seconds.

pkg xfree86-base-threaded  version ###
pkg xfree86-base-threaded  version 4.2.1.1-3
dpkg --remove xfree86-base-threaded
dpkg : un problème de dépendance empêche la suppression de
xfree86-base-threaded :
  xfree86-rootless-threaded dépend de xfree86-base-threaded (=
4.2.1.1-3).
  xfonts-shinonome dépend de x11 ; cependant :
   Paquet x11 n'est pas installé.
   Paquet xfree86-base-threaded qui fournit x11 doit être supprimé.
  ..
dpkg : erreur de traitement de xfree86-base-threaded (--remove) :
  problème de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
  xfree86-base-threaded
### execution of dpkg failed, exit code 1
Failed: can't remove package xfree86-base-threaded

So, what's now


Michèle
http://micmacfr.homeunix.org/



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread David R. Morrison
Try the instructions:

  http://fink.sourceforge.net/doc/x11/inst-xfree86.php#switching-x11

  -- Dave


On Jan 9,2003 19:54:16 +0100, =?ISO-8859-1?Q?Mich=E8le_Garoche?= 
[EMAIL PROTECTED] wrote :

Le jeudi, 9 jan 2003, à 19:46 Europe/Paris, Alexander Hansen a écrit :

 Have you tried removing xfree86-rootless-threaded first?
Same.

sudo /sw/bin/fink  remove xfree86-rootless-threaded
Password:
Information about 2063 packages read in 1 seconds.

pkg xfree86-rootless-threaded  version ###
pkg xfree86-rootless-threaded  version 4.2.1.1-3
dpkg --remove xfree86-rootless-threaded
dpkg : un problème de dépendance empêche la suppression de 
xfree86-rootless-threaded :
  gtkglarea2-shlibs dépend de libgl ; cependant :
   Paquet libgl n'est pas installé.
   Paquet xfree86-rootless-threaded qui fournit libgl doit être supprimé.
  xforms-shlibs dépend de libgl ; cependant :
   Paquet libgl n'est pas installé.
   Paquet xfree86-rootless-threaded qui fournit libgl doit être supprimé.
  gtkglarea dépend de libgl ; cependant :
   Paquet libgl n'est pas installé.
   Paquet xfree86-rootless-threaded qui fournit libgl doit être supprimé.
dpkg : erreur de traitement de xfree86-rootless-threaded (--remove) :
  problème de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
  xfree86-rootless-threaded
### execution of dpkg failed, exit code 1
Failed: can't remove package xfree86-rootless-threaded

 To get things back how they were, do:
 sudo mv /usr/X11R6_bak  /usr/X11R6
 sudo mv /etc/X11_bak/etc/X11
 Already done, because I could not launch either XDarwin nor X11.

 Now verify that your normal XDarwin works. Let me know here what
 happens.
 Yes, it works, though I have some warnings.

 The problem was that fink still thought that you had
 xfree86-base-threaded
 installed, when you didn't. Try the same procedure as before, except
 do this
 first thing off:

 fink remove xfree86-base-threaded
 fink remove xfree86-rootless-threaded
 I cannot. (Sorry the warnings are in French). Basically I'm told there
 is a problem of dependencies and xfree86-base-threaded cannot be
 removed because package X11 is not installed.

 sudo /sw/bin/fink  remove xfree86-base-threaded
 Password:
 Information about 2063 packages read in 2 seconds.

 pkg xfree86-base-threaded  version ###
 pkg xfree86-base-threaded  version 4.2.1.1-3
 dpkg --remove xfree86-base-threaded
 dpkg : un problème de dépendance empêche la suppression de
 xfree86-base-threaded :
   xfree86-rootless-threaded dépend de xfree86-base-threaded (=
 4.2.1.1-3).
   xfonts-shinonome dépend de x11 ; cependant :
Paquet x11 n'est pas installé.
Paquet xfree86-base-threaded qui fournit x11 doit être supprimé.
   ..
 dpkg : erreur de traitement de xfree86-base-threaded (--remove) :
   problème de dépendance - suppression ignorée
 Des erreurs ont été rencontrées pendant l'exécution :
   xfree86-base-threaded
 ### execution of dpkg failed, exit code 1
 Failed: can't remove package xfree86-base-threaded

 So, what's now

Michèle
http://micmacfr.homeunix.org/



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users







---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Ben Hines

On Thursday, January 9, 2003, at 10:54  AM, Michèle Garoche wrote:


Le jeudi, 9 jan 2003, à 19:46 Europe/Paris, Alexander Hansen a écrit :


Have you tried removing xfree86-rootless-threaded first?

Same.

sudo /sw/bin/fink  remove xfree86-rootless-threaded
Password:
Information about 2063 packages read in 1 seconds.



Please see the FAQ.

-Ben



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Ben Hines
And you'll need to reinstall apple's X11 packages afterwards as well, 
because you corrupted your install by installing them first.

-Ben

On Thursday, January 9, 2003, at 11:04  AM, David R. Morrison wrote:

Try the instructions:

  http://fink.sourceforge.net/doc/x11/inst-xfree86.php#switching-x11

  -- Dave


On Jan 9,2003 19:54:16 +0100, =?ISO-8859-1?Q?Mich=E8le_Garoche?= 
[EMAIL PROTECTED] wrote :

Le jeudi, 9 jan 2003, à 19:46 Europe/Paris, Alexander Hansen a écrit :


Have you tried removing xfree86-rootless-threaded first?

Same.

sudo /sw/bin/fink  remove xfree86-rootless-threaded
Password:
Information about 2063 packages read in 1 seconds.

pkg xfree86-rootless-threaded  version ###
pkg xfree86-rootless-threaded  version 4.2.1.1-3
dpkg --remove xfree86-rootless-threaded
dpkg : un problème de dépendance empêche la suppression de
xfree86-rootless-threaded :
 gtkglarea2-shlibs dépend de libgl ; cependant :
  Paquet libgl n'est pas installé.
  Paquet xfree86-rootless-threaded qui fournit libgl doit être 
supprimé.
 xforms-shlibs dépend de libgl ; cependant :
  Paquet libgl n'est pas installé.
  Paquet xfree86-rootless-threaded qui fournit libgl doit être 
supprimé.
 gtkglarea dépend de libgl ; cependant :
  Paquet libgl n'est pas installé.
  Paquet xfree86-rootless-threaded qui fournit libgl doit être 
supprimé.
dpkg : erreur de traitement de xfree86-rootless-threaded (--remove) :
 problème de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
 xfree86-rootless-threaded
### execution of dpkg failed, exit code 1
Failed: can't remove package xfree86-rootless-threaded

To get things back how they were, do:
sudo mv /usr/X11R6_bak  /usr/X11R6
sudo mv /etc/X11_bak/etc/X11

Already done, because I could not launch either XDarwin nor X11.


Now verify that your normal XDarwin works. Let me know here what
happens.

Yes, it works, though I have some warnings.


The problem was that fink still thought that you had
xfree86-base-threaded
installed, when you didn't. Try the same procedure as before, 
except
do this
first thing off:

fink remove xfree86-base-threaded
fink remove xfree86-rootless-threaded
I cannot. (Sorry the warnings are in French). Basically I'm told 
there
is a problem of dependencies and xfree86-base-threaded cannot be
removed because package X11 is not installed.

sudo /sw/bin/fink  remove xfree86-base-threaded
Password:
Information about 2063 packages read in 2 seconds.

pkg xfree86-base-threaded  version ###
pkg xfree86-base-threaded  version 4.2.1.1-3
dpkg --remove xfree86-base-threaded
dpkg : un problème de dépendance empêche la suppression de
xfree86-base-threaded :
  xfree86-rootless-threaded dépend de xfree86-base-threaded (=
4.2.1.1-3).
  xfonts-shinonome dépend de x11 ; cependant :
   Paquet x11 n'est pas installé.
   Paquet xfree86-base-threaded qui fournit x11 doit être supprimé.
  ..
dpkg : erreur de traitement de xfree86-base-threaded (--remove) :
  problème de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
  xfree86-base-threaded
### execution of dpkg failed, exit code 1
Failed: can't remove package xfree86-base-threaded

So, what's now

Michèle
http://micmacfr.homeunix.org/



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld 
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users







---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld  Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Michèle Garoche
It's perfect now. Many thanks to Douglas, Ben and all people who helped 
me. XDarwin and X11 works.

So I did:

1 -
sudo sudo dpkg -r --force-depends xfree86-rootless-threaded 
xfree86-rootless-threaded-shlibs xfree86-base-threaded 
xfree86-base-threaded-shlibs

2 -
Install X11User, X11SDK

3 -
sudo mv /usr/X11R6 /usr/X11R6_bak
sudo mv /etc/X11   /etc/X11_bak

4 -
fink install xfree86-base-threaded
fink install xfree86-rootless-threaded

5 -
sudo cp /usr/X11R6_bak/bin/Xquartz   /usr/X11R6/bin
sudo cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin
sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  /usr/X11R6/lib

6 -
mkdir ~/X11
sudo cp /usr/X11R6_bak/bin/Xquartz   ~/X11
sudo cp /usr/X11R6_bak/bin/quartz-wm ~/X11
sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  ~/X11

7 -
sudo pico .xinitrc
and added: exec quartz-wm
and disable: exec wmaker
leaving the xterm as it was.

Michèle
http://micmacfr.homeunix.org/



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-09 Thread Douglas Theobald
Great - glad that worked. That was what I was going to recommend next, but I
bet it took a little time. Let us know how X11 does with threaded apps,
since this is really a pretty ghetto hack.  One more thing - you can
actually run both XDarwin and X11 side-by-side if you issue this command:

defaults write org.xfree86.XDarwin Display 1

On 1/9/03 12:38 PM, Michèle Garoche [EMAIL PROTECTED]
scribed:

 It's perfect now. Many thanks to Douglas, Ben and all people who helped
 me. XDarwin and X11 works.
 
 So I did:
 
 1 -
 sudo sudo dpkg -r --force-depends xfree86-rootless-threaded
 xfree86-rootless-threaded-shlibs xfree86-base-threaded
 xfree86-base-threaded-shlibs
 
 2 -
 Install X11User, X11SDK
 
 3 -
 sudo mv /usr/X11R6 /usr/X11R6_bak
 sudo mv /etc/X11   /etc/X11_bak
 
 4 -
 fink install xfree86-base-threaded
 fink install xfree86-rootless-threaded
 
 5 -
 sudo cp /usr/X11R6_bak/bin/Xquartz   /usr/X11R6/bin
 sudo cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin
 sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  /usr/X11R6/lib
 
 6 -
 mkdir ~/X11
 sudo cp /usr/X11R6_bak/bin/Xquartz   ~/X11
 sudo cp /usr/X11R6_bak/bin/quartz-wm ~/X11
 sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  ~/X11
 
 7 -
 sudo pico .xinitrc
 and added: exec quartz-wm
 and disable: exec wmaker
 leaving the xterm as it was.
 
 Michèle
 http://micmacfr.homeunix.org/
 
 
 
 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
 ___
 Fink-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/fink-users



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-08 Thread Justin Hallett
For anyone that had the -threaded version installed and has now gone to
apple will need to recompile some x11 apps.  as the apple X11 is not
thread safe.

[EMAIL PROTECTED] writes:
Did someone successfully run Bluefish (or any other app) under Apple 
X11 with a previously xfree86-base/rootless-threaded installation?

Are the steps same as with non threaded version of xfree86?

-=[JFH]  Justin F. Hallett Systems Analyst
-=[JFH]  Rendek Communications Inc.
-=[JFH]  [EMAIL PROTECTED]



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-08 Thread Kow K
Great! This worked out for me, too! Thanks a lot!


On Wednesday, January 8, 2003, at 04:41 PM, Douglas Theobald wrote:


For the moment, I think this is the best solution:

Install the Apple X11.

sudo mv /usr/X11R6 /usr/X11R6_bak
sudo mv /etc/X11 /etc/X11_bak

fink install xfree86-base-threaded
fink install xfree86-rootless-threaded

cp /usr/X11R6_bak/bin/Xquartz /usr/X11R6/bin
cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin
cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib /usr/X11R6/lib


For sure, I also added the following symlinks:

	/usr/X11R6/lib/libapplexp.dylib -- /usr/X11R6/lib/libapplexp.1.0.dylib
	/usr/X11R6/lib/libapplexp.1.0dylib -- 
/usr/X11R6/lib/libapplexp.1.0.dylib


Apple's X11 should fire up just fine.  If you use a .xinitrc, use 
Apple's
window manager quartz-wm, like this on the last line:

exec quartz-wm

It works for me quite well.  You end up with a threaded X windows 
install
with apple's X11.

In my case, I wanted to go back to XDarwin, and replaced quartz-wm with 
wmaker. Note: quartz-wm doesn't run on XDarwin.

Kow



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-08 Thread Michèle Garoche
Problem is that I use daily fink cvs update and I want to do it after 
X11 installation. So what can I do?

An alternative would be to install X11 on another Mac if someone knows 
a way to update fink via cvs when both mac are linked via a switch to 
ADSL modem, one via PPPoE the other via DHCP.

Le jeudi, 9 jan 2003, à 02:57 Europe/Paris, Kow K a écrit :

Great! This worked out for me, too! Thanks a lot!


On Wednesday, January 8, 2003, at 04:41 PM, Douglas Theobald wrote:


For the moment, I think this is the best solution:

Install the Apple X11.

sudo mv /usr/X11R6 /usr/X11R6_bak
sudo mv /etc/X11 /etc/X11_bak

fink install xfree86-base-threaded
fink install xfree86-rootless-threaded

cp /usr/X11R6_bak/bin/Xquartz /usr/X11R6/bin
cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin
cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib /usr/X11R6/lib


For sure, I also added the following symlinks:

	/usr/X11R6/lib/libapplexp.dylib -- 
/usr/X11R6/lib/libapplexp.1.0.dylib
	/usr/X11R6/lib/libapplexp.1.0dylib -- 
/usr/X11R6/lib/libapplexp.1.0.dylib


Apple's X11 should fire up just fine.  If you use a .xinitrc, use 
Apple's
window manager quartz-wm, like this on the last line:

exec quartz-wm

It works for me quite well.  You end up with a threaded X windows 
install
with apple's X11.

In my case, I wanted to go back to XDarwin, and replaced quartz-wm 
with wmaker. Note: quartz-wm doesn't run on XDarwin.

Kow



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Michèle
http://micmacfr.homeunix.org/



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-08 Thread Michèle Garoche
Hello Douglas,

As I fear to do a big mess in my installation, could you please be so 
kind as to tell me the whole process (it's not clear from what I've 
already read on the list) and fill in the gap between point 5 and n.

1- Currently I have xfree86-base-threaded and xfree86-rootless-threaded.
2 - I always use x rootless.
3 - I've already downloaded X11SDK and X11User from Apple (not 
installed).
4 - I'm fink selfupdate-cvsing (if I dare say so) right now.
5 - ...

n - make x11 directory in my home directory

Le jeudi, 9 jan 2003, à 07:27 Europe/Paris, Douglas Theobald a écrit :

Easy. Make yourself an X11 directory in your home directory that 
contains
these three X11 files:

Xquartz
quartz-wm
libapplexp.1.0.dylib

Then run this script after every CVS update (replace michele with 
your
real home directory name, of course):

#!/bin/sh

cp /Users/michele/X11/Xquartz   /usr/X11R6/bin
cp /Users/michele/X11/quartz-wm /usr/X11R6/bin
cp /Users/michele/X11/libapplexp.1.0.dylib  /usr/X11R6/lib

ln -sf /usr/X11R6/lib/libapplexp.1.0.dylib 
/usr/X11R6/lib/libapplexp.1.dylib
ln -sf /usr/X11R6/lib/libapplexp.1.0.dylib 
/usr/X11R6/lib/libapplexp.dylib

###

On 1/8/03 10:52 PM, Michèle Garoche [EMAIL PROTECTED] 
a
écrit :

Problem is that I use daily fink cvs update and I want to do it after
X11 installation. So what can I do?

An alternative would be to install X11 on another Mac if someone knows
a way to update fink via cvs when both mac are linked via a switch to
ADSL modem, one via PPPoE the other via DHCP.

Le jeudi, 9 jan 2003, à 02:57 Europe/Paris, Kow K a écrit :


Great! This worked out for me, too! Thanks a lot!


On Wednesday, January 8, 2003, at 04:41 PM, Douglas Theobald wrote:


For the moment, I think this is the best solution:

Install the Apple X11.

sudo mv /usr/X11R6 /usr/X11R6_bak
sudo mv /etc/X11 /etc/X11_bak

fink install xfree86-base-threaded
fink install xfree86-rootless-threaded

cp /usr/X11R6_bak/bin/Xquartz /usr/X11R6/bin
cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin
cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib /usr/X11R6/lib


For sure, I also added the following symlinks:

/usr/X11R6/lib/libapplexp.dylib --
/usr/X11R6/lib/libapplexp.1.0.dylib
/usr/X11R6/lib/libapplexp.1.0dylib --
/usr/X11R6/lib/libapplexp.1.0.dylib



Apple's X11 should fire up just fine.  If you use a .xinitrc, use
Apple's
window manager quartz-wm, like this on the last line:

exec quartz-wm

It works for me quite well.  You end up with a threaded X windows
install
with apple's X11.


In my case, I wanted to go back to XDarwin, and replaced quartz-wm
with wmaker. Note: quartz-wm doesn't run on XDarwin.


Michèle
http://micmacfr.homeunix.org/



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] Bluefish, Apple X11, and xfree86-threaded?

2003-01-08 Thread Douglas Theobald
For the moment, I think this is the best solution:

Install the Apple X11.

sudo mv /usr/X11R6 /usr/X11R6_bak
sudo mv /etc/X11 /etc/X11_bak

fink install xfree86-base-threaded
fink install xfree86-rootless-threaded

cp /usr/X11R6_bak/bin/Xquartz /usr/X11R6/bin
cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin
cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib /usr/X11R6/lib

Apple's X11 should fire up just fine.  If you use a .xinitrc, use Apple's
window manager quartz-wm, like this on the last line:

exec quartz-wm

It works for me quite well.  You end up with a threaded X windows install
with apple's X11.

D

On 1/8/03 3:44 PM, Justin Hallett [EMAIL PROTECTED] scribed:

 For anyone that had the -threaded version installed and has now gone to
 apple will need to recompile some x11 apps.  as the apple X11 is not
 thread safe.
 
 [EMAIL PROTECTED] writes:
 Did someone successfully run Bluefish (or any other app) under Apple
 X11 with a previously xfree86-base/rootless-threaded installation?
 
 Are the steps same as with non threaded version of xfree86?
 
 -=[JFH]  Justin F. Hallett Systems Analyst
 -=[JFH]  Rendek Communications Inc.
 -=[JFH]  [EMAIL PROTECTED]
 
 
 
 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
 http://www.vasoftware.com
 ___
 Fink-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/fink-users



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users