Re: Doc building update, finally

2002-11-28 Thread speeddymon
- Original Message -
From: Vincent Béron [EMAIL PROTECTED]
To: Dustin Navea [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, November 27, 2002 11:54 PM
Subject: Re: Doc building update, finally


 Dustin Navea wrote:
  Vincent,
 
  I finally got SGMLtools installed and went to build the doc.  Only
  problem is that instead of it outputting to files it prints the output
  on screen.  Is there a flag that I may be missing or what?  I'm using
  SGMLTools pre-compiled and built..  Downloaded from
 
ftp://ftp.slackware.com/pub/slackware/slackware-current/extra/sgml-tools-1.0
.9-i386.tgz
  and installed using pkgtool which comes with slackware..
 
  -Dustin
 
  P.S. Any outputs you need say from man or --help on docbook2html?

 I'll download the package and check what's inside. It'll be less things
 sent by email ;)
 Don't expect an answer tomorrow though, it may take a few days because
 of Real Lide(tm). But I'll definetly look into it (could be the same
 problem as Joerg, which is that the options to specify a dsl file are
 different).

I dont think its that, in fact I checked, -d specifies the dsl file, so Im
not sure what it is, as soon as I get around to configuring Lin to use my
new DSL I will check more into it..

Right now im on windows getting everything working there..

-Dustin






Re: Doc building update, finally

2002-11-28 Thread speeddymon
- Original Message -
From: Vincent Béron [EMAIL PROTECTED]
To: Dustin Navea [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, November 27, 2002 11:54 PM
Subject: Re: Doc building update, finally


 Dustin Navea wrote:
  Vincent,
 
  I finally got SGMLtools installed and went to build the doc.  Only
  problem is that instead of it outputting to files it prints the output
  on screen.  Is there a flag that I may be missing or what?  I'm using
  SGMLTools pre-compiled and built..  Downloaded from
 
ftp://ftp.slackware.com/pub/slackware/slackware-current/extra/sgml-tools-1.0
.9-i386.tgz
  and installed using pkgtool which comes with slackware..
 
  -Dustin
 
  P.S. Any outputs you need say from man or --help on docbook2html?

 I'll download the package and check what's inside. It'll be less things
 sent by email ;)
 Don't expect an answer tomorrow though, it may take a few days because
 of Real Lide(tm). But I'll definetly look into it (could be the same
 problem as Joerg, which is that the options to specify a dsl file are
 different).

I dont think its that, in fact I checked, -d specifies the dsl file, so Im
not sure what it is, as soon as I get around to configuring Lin to use my
new DSL I will check more into it..

Right now im on windows getting everything working there..

-Dustin






[PATCH FINALLY FIXED] tools/wineconf

2002-04-25 Thread Speeddymon

this works perfectly on my system too

added check for ntfs drives (in case it is drive c)
NOTE: if you have read/write on for NTFS (in your
kernel) i would not recommend using that as your c
drive.  thats why the wineinstall script says you
should probably check the ~/.wine/config file anyways

added check for cdroms mounted at /cdrom to be
non-supermount (it got broken when i added the check
for supermount cdroms)

added supermount cdrom checking

NOTE: if you have more than 1 cdrom, make sure you
change the Device = line in ~/.wine.config for 1 of
the cdroms as the script says both cdroms are
/dev/cdrom





__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

Name: tools_wineconf-dnavea-patch.diff
ModifiedFiles: tools/wineconf
ChangeLog: Add check for ntfs drives (wouldn't recommend writing to them 
 if you have it enabled tho), fixed check for non-supermount 
 cdroms mounted at /cdrom (only got broken when I added in 
 supermount checking), added supermount cdrom checking
===
--- tools/wineconf  Sat Mar  9 18:24:22 2002
+++ /tmp/wineconf   Tue Apr 23 18:50:41 2002
 -93,13 +93,20 
 
my ($device, $mntpoint, $type, rest) = split(' ', $_);
if ($device !~ m^/dev/fd) {
-   if ($type eq msdos || $type eq vfat) {
+   if ($type eq ntfs) {
+   push(::FatDrives, [$device, $mntpoint, 'win95']);
+   }
+   elsif ($type eq msdos || $type eq vfat) {
push(::FatDrives, [$device, $mntpoint, $type]);
}
elsif ($type eq iso9660 ||
-  $mntpoint eq /cdrom ||
+  ($mntpoint eq /cdrom  ! $type eq 'supermount') ||
   ($device eq '/dev/cdrom'  $type eq 'auto') ) {
push(::CdromDrives, [$device, $mntpoint, 'win95']);
+   }
+   elsif ( ($mntpoint eq '/mnt/cdrom' || $mntpoint eq '/cdrom') 
+  $type eq 'supermount') {
+   push(::CdromDrives, [ '/dev/cdrom', $mntpoint, 'win95']);
}
}
 }



Re: [PATCH UPDATE] tools/wineshelllink *METHOD 4*

2002-04-25 Thread Speeddymon


--- Paul Millar [EMAIL PROTECTED] wrote:
 On Thu, 25 Apr 2002, Speeddymon wrote:
  +  if [ -d /usr/lib/menu -a $mode = menu -a
 ! `whoami` = root ]
  +  then
 [...]
  +  elif [ `whoami` = root ]
  +  then
  +mdk_entry  /usr/lib/menu/wine
  +  fi
 
 Sorry, I haven't been following this but isn't the
 elif condition
 redundant?
 

not really, because what it says is:

if /usr/lib/menu is a directory and $mode is menu and
i am NOT root then su to root and run this command
else if i AM root then just run this command

if that elif were an else then the command would be
run for example if /usr/lib/menu isn't a directory or
if the mode isnt menu

 Also, AFAIK although its unusual, there's no reason
 an account name cannot
 have a space in it, so
  `whoami`  should be  `whoami`
 

only reason it is `whoami` instead of `whoami` is
because i copied it from the wineinstall script, so
just for the sake of argument and not having to have
someone change it in all of the scripts, i left it
like that...

 [spent too much time debugging strings in scripts
 ;^]
 

same here, thats why im contributing...

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Re: [PATCH] ./tools/wineinstall *correct (.diff) format*

2002-04-24 Thread Speeddymon

 What actually happened is that $libdir was already
 in ld.so.conf, so the
 script did NOT add it, and therefore, it did NOT run
 ldconfig. This
 strategy works when one upgrades modules with
 identical names, but not
 when modules are renamed, as was the case with
 libntdll.dll.so replacing
 libntdll.so.
 
 The line in wineinstall which controls this behavior
 is:
 
 if [ -f /etc/ld.so.conf ]  ! grep -qs $libdir
 /etc/ld.so.conf
 
 -- Chuck Crayne

Ok, so now I'm wondering who set it up to not run
ldconfig if $libdir is in there...  I will fix that in
a minute and submit the patch later today...

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Re: [PATCH] ./tools/wineinstall *correct (.diff) format*

2002-04-24 Thread Speeddymon


--- Martin Wilck [EMAIL PROTECTED]
wrote:
 On Tue, 23 Apr 2002 [EMAIL PROTECTED] wrote:
 
  :I'm thinking maybe it added $libdir to ld.so.conf
 but
  :didnt run ldconfig... ?
 
 What about simply setting LD_LIBRARY_PATH?
 
 Martin

I would except that I was installing in the default
dirs...(i.e. --prefix=/usr/local) etc, so there was no
need to set LD_LIBRARY_PATH

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Re: Installing MS Office gives error in installer

2002-04-24 Thread Speeddymon


--- Rizsanyi Zsolt [EMAIL PROTECTED] wrote:
 On Tuesday 23 April 2002 19:51, Speeddymon wrote:
  what i was saying before though was that the
 windows
  link files (.lnk extension) weren't being put into
 the
  kde menu, i believe it is a bug/problem in
 20020411
  wine mainly due to that fact that that wine
 wouldn't
  install the icons but crossover office wine
  would...who knows, all is well now on my computer
  though.  thanks for the help guys.
 
 The wineshelllink (the script responsible for
 installing the lnk files in the 
 desktop menu) in the cvs wine assumes, that if you
 have a .kde directory in 
 your home, then you have kde 1.x installed.
 And install kde 2.x files only if you have a .kde2
 directory in your home 
 folder.
 But on some systems (eg. RedHat), the kde config
 files are in .kde in home 
 directory. That is the reason why the .desktop files
 are not installed on 
 some systems.
 
 I have fixed wineshelllink in my cvs copy of wine,
 but never submitted it, 
 because, I'm not really sure how to fix it to work
 on all the systems (I dont 
 know how the other packagers do it).
 But if somebody needs, it I'm attaching the patch...
 
 Best regards
 Zsolt Rizsanyi

hmm that has me wondering...  i will take a look at
that tonight as i will have more time then (just gonna
run home to get my zip disk right now) and see what I
can come up with in terms of having wineshelllink
finding the correct version.  we may need to
remove the direcory checking stuff altogether... i
have a couple ideas...  1) explicitly ask them for
their kde version the first time wineshelllink is run
(but then they would have to manually change the
version number if they upgrade it) 2) always ask what
the version # is... 3) read a file created by kde that
has the version # in it (if one exists) 4) run some
kde command with the --version arg and use it's output
to get the kde version if possible

1 and 2 could be implemented directly in bash but then
you have the problem of what if it doesn't get run in
a terminal, so you could also have someone make a
gtk/tk program that asks and is called from
wineshelllink or you could do both and have 1 run if
$display is set and the other one run if it isn't...

just some thoughts...

-Dustin

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Re: Installing MS Office gives error in installer

2002-04-24 Thread Speeddymon
> I dont think you should go by asking the user. You
> cant be sure, if he knows 
> it right. The question is not only about its kde
> version, but also the 
> directory of his config files...

which config files would you be referring to?

> 
> Besides, this script is not intended to ask for user
> input.
> 
> You will be better of, if you just fix my patch, to
> not copy to .kde by 
> default, but check if there exists a .kde2 and in
> that case to copy there.
> 

Actually I decided not to ask for the user input after all, instead it runs kded -v (if kded exists since i wasn't sure if kde 1.x had it or not) and greps the output for KDE: and sed's that to remove the KDE: (so that just the version number is there) and then writes that to /tmp/kdever

if /tmp/kdever doesn't exist then it proceeds like it would have before my patch
if it does, it sed's the number in there for the first part of that number (1 or 2) and uses that to determine if you are running kde1 or kde2

if you are running kde1 then it proceeds with the kde1 install, if you are running kde2 with the .kde dir it proceeds with kde2 install and if you are running kde2 with .kde2 dir it also proceeds with kde2 install

i also figured out why things weren't being added to the k menu in mandrake...if you use the mandrake-style the k menu (as opposed to the default style) it stores the menu config files in /usr/share/menu instead of ~/.menu so i fixed it so that the menu configs are copied to both locations and everything seems to work well now.  my only concern is if the 1st part of the fix (the one mentioned in the previous paragraph) will work on redhat or not, seeing as i dont know whether the menu configs are stored in ~/.menu or /usr/share/menu.  Anyone that cares to test it out and let me know, feel free..

> You should not make that script to cope with every
> possible setup. That would 
> be an overkill.
> You should just make it to work with all the major
> distros.
> Other distros, and individuals with special setup
> should change the 
> wineshelllink before installing or packaging.
> 

see response above

> At most you could make tools/wineinstall ask for the
> needed info and generate 
> wineshellink according to it. I like this idea...

that may or may not be needed, depending on the outcome of a redhat tester

> 
> Best regards
> Zsolt Rizsanyi

thanks, and you too :)

the patch is in the next message
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

Re: Installing MS Office gives error in installer

2002-04-23 Thread Speeddymon

Well, I did use crossover office last night and
everything turned out beautifully.  Hell when I used
that it also helped me (indirectly) to find the icon
for loki's port of unreal tournament, so i now have
that in my kde menu.

what i was saying before though was that the windows
link files (.lnk extension) weren't being put into the
kde menu, i believe it is a bug/problem in 20020411
wine mainly due to that fact that that wine wouldn't
install the icons but crossover office wine
would...who knows, all is well now on my computer
though.  thanks for the help guys.

--- Hetz Ben Hamo [EMAIL PROTECTED] wrote:
 On Monday 22 April 2002 23:48, Speeddymon wrote:
  no, in the installer its the .lnk files (windows
 link
  files) that aren't being copied from the cd (or
 being
  converted to .desktop files) or something at any
 rate
  tho, they never showed up in my kde menu or on my
  desktop...  so theres probably a problem in wine
  somewhere.  I will try crossover office tonight to
 see
  if it installs the files or not... and post back
  tomorrow
 
 Check it on your .kde directory - they should be
 there. I'm running crossover 
 office and they're appearing quite well.
 
 Thanks,
 Hetz


__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Re: small patch for ./tools/wineinstall

2002-04-23 Thread Speeddymon

alright thanks, the reason i thought you needed
internet/cvs was because of the way that the winehq
patch-making page was worded...it says to use cvs diff
(instead of regular diff).  I thoguht that there may
be a difference in the 2, so I didnt want to make the
diffs with diff when they required cvs diff.  But now
that I know, i will submit in diff format...

Maybe the winehq site maintainer (alexandre?) could
make that a little more clear (for us
patch-contributing newbies/relative newbies)

--- Tony Lambregts [EMAIL PROTECTED]
wrote:
 Speeddymon wrote:
 
 as I have said a couple times, i dont have any way
 to
 make the proper diff's due to the fact that I have
 no
 internet at home, thanks again for making them for
 me,
 I will be submitting the 2 diff's tomorrow (can't
 do
 it here due to the fact that this computer is at
 compusa and has downloading disabled)
 
 Would there be anyone willing to make diff's for me
 when I have a patch to post?  if so, could you
 please
 email me directly so I know who to talk to?
 
 Thanks in advance
 
 Well I would be glad to make diffs for you but it
 really is not required 
 that you have CVS or the Internet to make propper
 diffs.
 
 diff -u wineinstall.old wineinstall  
 wineinstall.dif
 
 Where wineinstall.old is the original file (that you
 saved somewhere  or 
 got from the tarball) and wineinstall is the file
 with your changes. 
 man diff will give you more information but thats
 about all that you 
 need to know.
 
 You can edit the wineinstall.dif to get rid of the
 .old extention  but 
 I'm not sure its required. I guess to be on the safe
 side I would get 
 rid of it.  
 
 Tony Lambregts
 
 
 PS: dont feel too bad there are tons of stuff that I
 don't know either.
 
 


__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Re: [PATCH] ./tools/wineinstall *correct (.diff) format*

2002-04-23 Thread Speeddymon

well something isn't right with the current
wineinstall, because I installed wine to the default
directories, and it wasn't finding libntdll.dll.so
until after I added $libdir/wine.  I'm not sure why
that happened, I will do some checking tonight and
find out why it wasn't finding the file.

I'm thinking maybe it added $libdir to ld.so.conf but
didnt run ldconfig... ?  I will check that out tonight
and a couple other possibilities and let you know the
outcome tomorrow...
--- Alexandre Julliard [EMAIL PROTECTED] wrote:

 $libdir/wine must not be added to ld.so.conf. Users
 have to set the
 WINEDLLPATH variable if Wine is not installed in the
 directory that
 was specified with --prefix (which shouldn't happen
 with
 wineinstall).
 
 -- 
 Alexandre Julliard
 [EMAIL PROTECTED]


__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Re: Installing MS Office gives error in installer

2002-04-22 Thread Speeddymon

I use mandrake 8.2, so the cdrom is mounted with
supermount, but i will try that tonight and see what
happens
-Dustin


 --- Gustavo Junior Alves [EMAIL PROTECTED]
 wrote:
  The install is from a cdrom? You tried mount
  /dev/cdrom /mnt/cdrom -o 
  unhide 
  
  Gustavo
  
  Speeddymon wrote:
  
  I just recently installed wine-20020411 (as you
 may
  have noticed from my patch)
  I haven't tried installing Office 2000 on
 previous
  versions, but heard that it worked, so I decided
 to
  try it.  First I tried it in Crossover Office
  (since i
  just recently got that also) and the Office 2000
  installer complained that it couldnt find a
 package
  to
  install on the installation media.  So I tried it
  in
  wine and it did the same thing...  There were no
  debug
  messages or anything (in the console).
  
  If anyone knows of a way around this, please let
 me
  know...  If it has been mentioned before please
  point
  me to the right wine-devel archive so I can find
  it...
  
  Thanks,
  
  Dustin
  
 
 __
  Do You Yahoo!?
  Yahoo! Tax Center - online filing with TurboTax
  http://taxes.yahoo.com/
  
  
  
 
 
 __
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/
 


__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Re: Installing MS Office gives error in installer

2002-04-22 Thread Speeddymon

actually i did manage to get it work work from the cd,
you have to explicitly specify the -o unhide command
when you run mount or put the unhide command in your
/etc/fstab...

as for the files not getting written, i had the same
problem, it is  the .lnk files (that i assume go in
the start menu on windows)...i am thinking that they
aren't being properly converted to .desktop files or
something.  I will try installing with crossover
office tonight and post the results tomorrow

-Dustin

--- Rizsanyi Zsolt [EMAIL PROTECTED] wrote:
On Wednesday 17 April 2002 21:42, Speeddymon
wrote:
  I just recently installed wine-20020411 (as you
  may
  have noticed from my patch)
  I haven't tried installing Office 2000 on
previous
  versions, but heard that it worked, so I decided
 to
  try it.  First I tried it in Crossover Office
 (since i
  just recently got that also) and the Office 2000
  installer complained that it couldnt find a
 package to
  install on the installation media.  So I tried
it
 in
  wine and it did the same thing...  There were no
 debug
  messages or anything (in the console).
 
  If anyone knows of a way around this, please let
 me
  know...  If it has been mentioned before please
 point
  me to the right wine-devel archive so I can find
 it...
 
 I have also dared to try to install office2k, and
 had the same problem.
 But I have found a workaround...
 When the installation fails, the MSI installer is
 already copied to your 
 windows directory (I think its name is
 installmsi.exe or something like that 
 - I dont have it at hand). So I have tried to
invoke
 it with the msi file in 
 the root of the CD (the data1.msi or something
like
 that - the other msi is 
 something else).
 This way the installation started. The
configuration
 of what programs to 
 install worked perfectly, but when copying the
files
 the installer broke, and 
 said that it can't write a file. I dont know what
 was the problem. I had 
 enough space, the persmissions were ok, and so on.
 
 I have tried again, and the installer broke again
 but now with a different 
 file. So I give up, since I don't really need it
to
 install, just I wanted to 
 see what the people are talking about... But if
you
 find a solution (or 
 submit a patch :), then I will be interested...
 
 Best regards,
 Zsolt Rizsanyi
 



__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




RE: bug?

2002-04-22 Thread Speeddymon

actually its a typo in wineinstall, find the line that
says:

if ! su root -c$sucommand

and put a space between -c and $sucommand


i.e. make it:

if ! su root -c $sucommand


--- Medland, Bill [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Rikard Björklind [mailto:[EMAIL PROTECTED]]
  Sent: Saturday, April 20, 2002 5:38 AM
  To: [EMAIL PROTECTED]
  Subject: bug?
  
  
  Hi, I tried to use ./tools/wineinstall:
  
  Performing 'make install' as root to install
 binaries, enter 
  root password
  Password: [here I wrote the password]
  /bin/bash: - : unrecognized option
  
  What's wrong?
  
  
 Probably failed to run the ldconfig.
 
 Check the /etc/ld.so.conf to see that the location
 of the wine lib directory
 is included (probably /usr/local/lib) and su root
 and run /sbin/ldconfig.
 
 Bill
 


__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Re: Installing MS Office gives error in installer

2002-04-22 Thread Speeddymon

no, in the installer its the .lnk files (windows link
files) that aren't being copied from the cd (or being
converted to .desktop files) or something at any rate
tho, they never showed up in my kde menu or on my
desktop...  so theres probably a problem in wine
somewhere.  I will try crossover office tonight to see
if it installs the files or not... and post back
tomorrow


--- Hetz Ben Hamo [EMAIL PROTECTED] wrote:
 On Monday 22 April 2002 23:01, Speeddymon wrote:
  actually i did manage to get it work work from the
 cd,
  you have to explicitly specify the -o unhide
 command
  when you run mount or put the unhide command in
 your
  /etc/fstab...
 
  as for the files not getting written, i had the
 same
  problem, it is  the .lnk files (that i assume go
 in
  the start menu on windows)...i am thinking that
 they
  aren't being properly converted to .desktop files
 or
  something.  I will try installing with crossover
  office tonight and post the results tomorrow
 
  -Dustin
 
 Those .lnk files (you probably mean .kdelnk files)
 suppose to appear on your K 
 menu if you're using KDE. If you still don't see
 them after a minute or two 
 then run manually: kbuildsycoca
 
 Thanks,
 Hetz
 


__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




Installing MS Office gives error in installer

2002-04-17 Thread Speeddymon

I just recently installed wine-20020411 (as you may
have noticed from my patch)
I haven't tried installing Office 2000 on previous
versions, but heard that it worked, so I decided to
try it.  First I tried it in Crossover Office (since i
just recently got that also) and the Office 2000
installer complained that it couldnt find a package to
install on the installation media.  So I tried it in
wine and it did the same thing...  There were no debug
messages or anything (in the console).

If anyone knows of a way around this, please let me
know...  If it has been mentioned before please point
me to the right wine-devel archive so I can find it...

Thanks,

Dustin

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/




*update*: fixed tools/wineconf and tools/wineinstall

2002-04-15 Thread Speeddymon

ok guys, I know some of you are going to flame me for
my post to wine-patches, but I can explain...I did
rtfm (the patch submitting archive) for the format of
submitting a patch, but I have no internet at home my
college's computers are all windows-only, so please,
forgive me for sending the whole files and not just 2
patch files...

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/