Giter Club home page Giter Club logo

pnotesz's Introduction

ABOUT
=====

This is Andrey Gruber's nice, but obsoleted PNote (http://pnotes.sourceforge.net/) 
9.3.0 Win32 C codebase, with some notes (and slight modifications) added, making 
it easy to access for tinkeres. (Andrey now develops a .NET version (https://sourceforge.net/projects/pnotes/files/PNotes.NET/),
check it out!)


CHANGES
=======

* Renamed the .exe (and the repo) to avoid confusion about (possible, subtle) differences from the original.
* Renamed TOM.h to tom.h, so you can build on case-sensitive filesystems.


BUILD
=====

Use Pelles C. (Not sure about how anything else would work.)

Setup:

1. Create new "Win32 .EXE" project. Leave everything default.
   (There's an example Pelles project file in here, too.)

2. Add all the sources (.h, .c, .rc) to the project.

Compile:

- Includes:

	* Add the pnglib & hunspell dirs to the include path.

Link:

- Libs:

	* sapi.lib (I just downloaded & added it to ext/)
	* pnglib (both?!) & hunspell libs
	* kernel32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib advapi32.lib delayimp.lib 
	  shlwapi.lib shell32.lib version.lib winmm.lib ole32.lib uuid.lib msimg32.lib wininet.lib 
	  olepro32.lib crypt32.lib ws2_32.lib

- Resources:

	* output/*.res

- Linker command line that worked for me: 

	polink.exe -out:result/pnotesz.exe output/*.obj output/*.res -subsystem:windows -machine:x86 ^
		-libpath:V:/lang/C/pellesc/Lib/Win ^
		ext/sapi.lib src/pnglib/pnglib_safe.lib src/pnglib/pnglib.lib src/hunspell/libhunspell.lib ^
		kernel32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib advapi32.lib delayimp.lib shlwapi.lib shell32.lib version.lib winmm.lib ole32.lib uuid.lib msimg32.lib wininet.lib olepro32.lib crypt32.lib ws2_32.lib


DEPLOY
======

1. Put these next to the .exe:

	* pnotes.resources (icons etc.)
	* groups.images
	* smilies.images
	* hunspell.dll

2. Make the dir where the .exe is writable.
    It'll nicely create all the other dirs it would need/use.

3. Populate the 

	* dictionaries	[OPTIONAL]
	* lang	[OPTIONAL]
	* fonts

    dirs with the stuff found in the binary release.

RUN
===

Just run the .exe, but preferably put a shortcut under Programs/Startup 
(as an installer would normally do).

pnotesz's People

Contributors

xparq avatar

Stargazers

Peter Abbasi avatar joniel Eom avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.