Adds a new package: cherrytree - A hierarchical note taking application

cherrytree - A hierarchical note taking application, featuring rich text
and syntax highlighting, storing data in a single xml or sqlite file.

This commit also adds PyGtkSourceView - a Python wrapper for the GtkSourceView widget library.

Official page http://www.giuspen.com/cherrytree
This commit is contained in:
Andrey Arapov
2015-01-31 02:17:00 +01:00
parent 0b9e2f8798
commit 9f623a820d
6 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
diff -Nur pygtksourceview-2.10.1-orig/configure pygtksourceview-2.10.1/configure
--- pygtksourceview-2.10.1-orig/configure 2010-04-18 15:29:55.000000000 +0200
+++ pygtksourceview-2.10.1/configure 2015-01-30 20:36:31.784541887 +0100
@@ -12950,7 +12950,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygtk codegen" >&5
$as_echo_n "checking for pygtk codegen... " >&6; }
-CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygtk-2.0`
+CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygobject-2.0`
echo $CODEGENDIR
if test -f $CODEGENDIR/codegen.py; then
CODEGEN=$CODEGENDIR/codegen.py
diff -Nur pygtksourceview-2.10.1-orig/configure.ac pygtksourceview-2.10.1/configure.ac
--- pygtksourceview-2.10.1-orig/configure.ac 2010-04-18 15:28:39.000000000 +0200
+++ pygtksourceview-2.10.1/configure.ac 2015-01-30 20:36:42.781648830 +0100
@@ -116,7 +116,7 @@
dnl codegen
AC_MSG_CHECKING(for pygtk codegen)
-CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygtk-2.0`
+CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygobject-2.0`
echo $CODEGENDIR
if test -f $CODEGENDIR/codegen.py; then
CODEGEN=$CODEGENDIR/codegen.py

View File

@@ -0,0 +1,16 @@
{ stdenv, fetchurl, python, pkgconfig, pygobject, glib, pygtk, gnome2 }:
let version = "2.10.1"; in
stdenv.mkDerivation {
name = "pygtksourceview-${version}";
src = fetchurl {
url = "http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/2.10/pygtksourceview-${version}.tar.bz2";
sha256 = "0x2r9k547ad68sfddr5am341ap6zvy8k0rh3rd0n38k7xdd7rd5l";
};
patches = [ ./codegendir.patch ];
buildInputs = [ python pkgconfig pygobject glib pygtk gnome2.gtksourceview ];
}