Set ourselves as service provider properly. Update README.md

gnustep
Marco Cawthorne 1 year ago
parent 73e4ae3ea6
commit e9fcd891cf
Signed by: eukara
GPG Key ID: CE2032F0A2882A22

@ -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)
Tested and built on OpenBSD 6.8(macppc) + clang, and Ubuntu 20.10 + gcc.
## License
WebSurf is just a GNUstep oriented fork of NetSurf. So it shares the same 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.
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.
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.

@ -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];
}

@ -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 = (

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 KiB

Loading…
Cancel
Save