Fwd: PATCH - winebrowser

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

 



--- Begin Message ---
Has Rein's fix for mozilla and Ivan's additional browsers.  Tried to clean the 
script up a little bit, could probably still use some work but I'm no script 
guru.

Chris


* tools/winebrowser, tools/wineinstall, tools/Makefile.in, winedefault.reg
Chris Morgan <cmorgan@xxxxxxxxxxxx>
Add  HKEY_LOCAL_MACHINE\software\classes\http\shell\open\command key and 
value.  Winebrowser script.  Makefile changes to install/remove script.  
Wineinstall should create a simlink from windows/winebrowser.exe to the 
location of winebrowser on the machine.

Index: tools/wineinstall
===================================================================
RCS file: /home/wine/wine/tools/wineinstall,v
retrieving revision 1.62
diff -u -r1.62 wineinstall
--- tools/wineinstall	26 Nov 2003 03:55:01 -0000	1.62
+++ tools/wineinstall	28 Dec 2003 22:25:32 -0000
@@ -145,6 +145,7 @@
   link_app uninstaller  "$CROOT/windows/uninstall.exe"
   link_app winhelp      "$CROOT/windows/winhelp.exe"
   link_app winhelp      "$CROOT/windows/winhlp32.exe"
+  ln -f -s `which winebrowser` "$CROOT/windows/winebrowser.exe"
 }
 
 # startup...
Index: tools/Makefile.in
===================================================================
RCS file: /home/wine/wine/tools/Makefile.in,v
retrieving revision 1.37
diff -u -r1.37 Makefile.in
--- tools/Makefile.in	20 Nov 2003 22:02:15 -0000	1.37
+++ tools/Makefile.in	28 Dec 2003 22:25:32 -0000
@@ -43,9 +43,10 @@
 install::
 	$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
 	$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
+	$(INSTALL_SCRIPT) $(SRCDIR)/winebrowser $(bindir)/winebrowser
 	$(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
 
 uninstall::
-	$(RM) $(bindir)/winemaker $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
+	$(RM) $(bindir)/winemaker $(bindir)/winebrowser $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
 
 ### Dependencies:
Index: winedefault.reg
===================================================================
RCS file: /home/wine/wine/winedefault.reg,v
retrieving revision 1.83
diff -u -r1.83 winedefault.reg
--- winedefault.reg	8 Dec 2003 22:19:12 -0000	1.83
+++ winedefault.reg	28 Dec 2003 22:25:43 -0000
@@ -4620,3 +4620,7 @@
 [HKEY_CLASSES_ROOT\CLSID\{E436EBB3-524F-11CE-9F53-0020AF0BA770}\InprocServer32]
 @="quartz.dll"
 "ThreadingModel"="Both"
+
+# Map requests to open "http" entries to winebroswer
+[HKEY_LOCAL_MACHINE\software\classes\http\shell\open\command]
+@="winebrowser %1"

Attachment: winebrowser
Description: application/shellscript


--- End Message ---

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux