diff --git a/README.md b/README.md index 6c6450407..c0cc82691 100644 --- a/README.md +++ b/README.md @@ -1,60 +1,42 @@ +# WebSurf +*It's like OmniWeb met NetSurf* -THIS FORK -======= +## What's this? -This fork aims at getting a usable version of NetSurf running under the -GNUstep library. I will note that there is (I think) a working update of -the old cocoa port, checkout github/mmuman's repos for this. However, -this port requires CoreFoundation, and CoreGraphics dependencies. This -port compiles with just basic GNUstep base, gui, and back libraries -unlike the cocoa port. +It's NetSurf, on GNUstep! It works pretty well. -To build, follow the instructions on the quickstart link below, replace netsurf in the generated `workspace` folder with this, and run `make TARGET=gnustep`. +## How do I build this? -![Screenshot](/screenshots/screenshot.jpeg) -With Rik theme, client side decorations and mac-style menu. +``` + wget https://git.netsurf-browser.org/netsurf.git/plain/docs/env.sh + unset HOST + source env.sh + ns-package-install + ns-clone + ns-pull-install + rm env.sh + cd ~/dev-netsurf/workspace + source env.sh + mv netsurf netsurf.old + git clone [THE URL OF THIS VERY REPO] netsurf + cd netsurf + gmake TARGET=gnustep +``` -![Screenshot](/screenshots/screenshot2.png) -With standard theme. +It's a lot of steps, to make it easier, put these into a separate file (e.g. **deploy-websurf**) +and run it like so: `. ./deploy-websurf` -Current State ----------------- -Works pretty well, mostly in parity with the GTK port. Has tabs (including vertical), history, download management, bookmarks. +## Credits + +- NetSurf Team +- Sven Weidauer (Cocoa port) +- Anthony Cohn-Richardby (GNUstep port) +- Marco Cawthorne (WebSurf, maintenance, UI work) + +## License +WebSurf is just a GNUstep oriented fork of NetSurf. So it shares the same license: -Tested and built on OpenBSD 6.8(macppc) + clang, and Ubuntu 20.10 + gcc. +NetSurf is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. - -Props to Sven Weidauer for the original cocoa port. Original copyright notice -has been included in files consisting of large parts of his work. - -ORIGINAL NETSURF README ----------------- - -NetSurf -======= - -This document should help point you at various useful bits of information. - - -Building NetSurf ----------------- - -Read the [Quick Start](docs/quick-start.md) document for instructions. - - -Creating a new port -------------------- - -Look at the existing front ends for example implementations. -The framebuffer front end is simplest and most self-contained. -Also, you can [contact the developers](http://www.netsurf-browser.org/contact/) -for help. - - -Further documentation ---------------------- - -* [Developer documentation](http://www.netsurf-browser.org/developers/) -* [Developer wiki](http://wiki.netsurf-browser.org/Documentation/) -* [Code style guide](http://www.netsurf-browser.org/developers/StyleGuide.pdf) +In addition, as a special exception, permission is granted to link the code of this release of NetSurf with the OpenSSL project's "OpenSSL" library (or with modified versions of it that use the same licence as the "OpenSSL" library), and distribute the linked executables. You must obey the GNU General Public License version 2 in all respects for all of the code used other than "OpenSSL". If you modify the code, you may extend this exception to your version of the code, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. diff --git a/frontends/gnustep/AppDelegate.m b/frontends/gnustep/AppDelegate.m index bd3999ab9..5de18673b 100644 --- a/frontends/gnustep/AppDelegate.m +++ b/frontends/gnustep/AppDelegate.m @@ -61,8 +61,9 @@ static nserror set_defaults(struct nsoption_s *defaults) @implementation AppDelegate --(void)applicationDidFinishLaunching: (NSNotification*)aNotification { - NSLog(@"NSApp did finish launching.."); +-(void)applicationDidFinishLaunching: (NSNotification*)aNotification +{ + [NSApp setServicesProvider:self]; [NSBundle loadNibNamed: @"Menu" owner: NSApp]; [self clearBrowsingHistory]; } diff --git a/frontends/gnustep/res/WebSurf-Info.plist b/frontends/gnustep/res/WebSurf-Info.plist index cf0c2232e..262ac9d31 100644 --- a/frontends/gnustep/res/WebSurf-Info.plist +++ b/frontends/gnustep/res/WebSurf-Info.plist @@ -4,9 +4,10 @@ ApplicationName = WebSurf; ApplicationRelease = "1.0"; Authors = ( - "Marco Cawthorne", - "Anthony Cohen Richardby", - "NetSurf Team" + "NetSurf Team", + "Sven Weidauer (Cocoa port)", + "Anthony Cohn-Richardby (GNUstep port)", + "Marco Cawthorne (WebSurf, maintenance, UI work)" ); CFBundleIdentifier = "com.vera-visions.WebSurf"; CFBundleURLTypes = ( diff --git a/screenshots/screenshot.jpeg b/screenshots/screenshot.jpeg deleted file mode 100644 index 6201e31f5..000000000 Binary files a/screenshots/screenshot.jpeg and /dev/null differ diff --git a/screenshots/screenshot2.png b/screenshots/screenshot2.png deleted file mode 100644 index 103c49d31..000000000 Binary files a/screenshots/screenshot2.png and /dev/null differ