This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Uninstalling a program from Cygwin in Windows XP


So basically take the command that is at the bottom and use that instead because I am on
windows xp?




--- Dave Korn wrote:

> On 14 September 2007 15:14, Dave Korn wrote:
> 
> > On 14 September 2007 13:56, D wrote:
> > 
> >> When I tried to ask the developer of the program how to remove the program
> >> he indicated that the problem was not with fontforge, but with Cygwin,
> > 
> >   He is wrong.
> > 
> >   The command he provided is a simple delete of all the files that the
> > installer should have installed.  If it doesn't work, it's not because
> > Cygwin refused to delete the files for no reason, it's because he's
> > specified the wrong paths in that command.   
> 
>   Hey, hang on a minute... it *is* because Cygwin's refusing to delete files
> for no reason!
> 
> /tmp/ff/fontforge $ ls -la /usr/local/bin/fontforge.exe
> -rwxr-xr-x 1 dk Domain Users 13700198 Sep 14 15:20
> /usr/local/bin/fontforge.exe
> /tmp/ff/fontforge $ rm -rf /usr/local/bin/{fontforge,sfddiff}
> /tmp/ff/fontforge $ ls -la /usr/local/bin/fontforge.exe
> -rwxr-xr-x 1 dk Domain Users 13700198 Sep 14 15:20
> /usr/local/bin/fontforge.exe
> /tmp/ff/fontforge $ echo rm -rf /usr/local/bin/{fontforge,sfddiff}
> rm -rf /usr/local/bin/fontforge /usr/local/bin/sfddiff
> /tmp/ff/fontforge $ rm -rf /usr/local/bin/fontforge /usr/local/bin/sfddiff
> /tmp/ff/fontforge $ ls -la /usr/local/bin/fontforge.exe
> -rwxr-xr-x 1 dk Domain Users 13700198 Sep 14 15:20
> /usr/local/bin/fontforge.exe
> /tmp/ff/fontforge $ rm -rf /usr/local/bin/fontforge.exe
> /tmp/ff/fontforge $ ls -la /usr/local/bin/fontforge.exe
> ls: cannot access /usr/local/bin/fontforge.exe: No such file or directory
> /tmp/ff/fontforge $
> 
> >   Basically, you need to find the files listed in the 'rm' command:
> > 
> >> $ rm -rf /usr/local/bin/{fontforge,sfddiff} \
> >> /usr/local/lib/{libgdraw,libgunicode,libuninameslist}* \
> >> /usr/local/lib/pkgconfig/fontforge.pc \
> >> /usr/local/man/man1/{fontforge,sfddiff}.1 \
> >> /usr/local/share/doc/fontforge \
> >> /usr/local/share/locale/*/LC_MESSAGES/FontForge.mo
> > 
> > and delete them.  That's all the command does.
> 
>   Hmm.  So, after the rm command, we still have:
> 
> /usr/local/bin:
> +cyguninameslist-0.dll
> +cyguninameslist-fr-0.dll
> +fontforge.exe
> +fontimage
> +pfaedit.exe
> 
> /usr/local/man/man1:
> +fontimage.1
> 
> /usr/local/share:
> +fontforge
> 
> +/usr/local/share/fontforge:
> +Adobe-CNS1-4.cidmap
> +Adobe-GB1-4.cidmap
> +Adobe-Identity-0.cidmap
> +Adobe-Japan1-6.cidmap
> +Adobe-Japan2-0.cidmap
> +Adobe-Korea1-2.cidmap
> 
>   So, there seems to be a failure of 'exe magic', and part of it is because he
> hasn't allowed for the cygwin library naming scheme (and the fact that dlls go
> into bin, not lib).  The working version of the command should therefore be:
> 
> $ rm -rf /usr/local/bin/{fontforge.exe,fontimage,sfddiff,pfaedit.exe} \
>  /usr/local/bin/cyguninameslist* \
>  /usr/local/lib/{libgdraw,libgunicode,libuninameslist}* \
>  /usr/local/lib/pkgconfig/fontforge.pc \
>  /usr/local/man/man1/{fontforge,fontimage,sfddiff}.1 \
>  /usr/local/share/doc/fontforge \
>  /usr/local/share/locale/*/LC_MESSAGES/FontForge.mo \
>  /usr/local/share/fontforge
> 
> 
>   You could pass it on to the fontforge guy if you liked.
> 
>     cheers,
>       DaveK
> -- 
> Can't think of a witty .sigline today....
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 



      ____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]