hxournal 0.5 → 0.5.0.0
raw patch · 3 files changed
+26/−5 lines, 3 filesdep ~hxournal
Dependency ranges changed: hxournal
Files
- CHANGES +2/−0
- csrc/template-hsc-gtk2hs.h +17/−0
- hxournal.cabal +7/−5
+ CHANGES view
@@ -0,0 +1,2 @@+0.5: 12 Dec 2011+ * First public release. basic pen operation, eraser operation, rectangular selection and file operations are implemented
+ csrc/template-hsc-gtk2hs.h view
@@ -0,0 +1,17 @@+#ifndef _TEMPLATE_HSC_GTK2HS_H_+#define _TEMPLATE_HSC_GTK2HS_H_++#include <glib.h>++#define hsc_gtk2hs_type(t) \+ if ((t)(int)(t)1.4 == (t)1.4) \+ printf ("%s%" G_GSIZE_FORMAT, \+ (t)(-1) < (t)0 ? "Int" : "Word", \+ sizeof (t) * 8); \+ else \+ printf ("%s", \+ sizeof (t) > sizeof (double) ? "LDouble" : \+ sizeof (t) == sizeof (double) ? "Double" : \+ "Float");++#endif
hxournal.cabal view
@@ -1,16 +1,18 @@ Name: hxournal-Version: 0.5+Version: 0.5.0.0 Synopsis: A pen notetaking program written in haskell Description: notetaking program written in haskell and gtk2hs License: BSD3 License-file: LICENSE Author: Ian-Woo Kim Maintainer: Ian-Woo Kim <ianwookim@gmail.com>+Category: Application+Tested-with: GHC == 7.0.3 Build-Type: Simple Cabal-Version: >= 1.8 data-files: template/*.html.st resource/*.png-+ CHANGES Executable hxournal Main-is: hxournal.hs@@ -20,7 +22,7 @@ Build-Depends: base>4, cmdargs >= 0.7 && <= 0.10, - hxournal == 0.5+ hxournal Library hs-source-dirs: lib@@ -92,6 +94,6 @@ csrc/c_initdevice.c include-dirs: csrc install-includes: - c_initdevice.h-+ csrc/c_initdevice.h+ csrc/template-hsc-gtk2hs.h