summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-05-26 09:24:56 +0000
committerwiz <wiz@pkgsrc.org>2014-05-26 09:24:56 +0000
commit8d75c961ede7118f16bea6571ce75585bfda24fb (patch)
treedae86920abac51ca9cb82b0c2a027a034b990a15 /x11
parentb4cf969ab5458cff15a2ed5ff00df9fcd46e64fc (diff)
downloadpkgsrc-8d75c961ede7118f16bea6571ce75585bfda24fb.tar.gz
Import hyena-0.5nb1 as x11/hyena, packaged for wip by jihbed and myself.
Hyena is a C# library used to make awesome applications. It contains a lot of random things, including useful data structures, a Sqlite-based db layer, cool widgets, a JSON library, a smart job/task scheduler, a user-query/search parser, and much more. It's particularly useful for Gtk# applications, though only the Hyena.Gui assembly requires Gtk#.
Diffstat (limited to 'x11')
-rw-r--r--x11/hyena/DESCR6
-rw-r--r--x11/hyena/Makefile24
-rw-r--r--x11/hyena/PLIST14
-rw-r--r--x11/hyena/buildlink3.mk14
-rw-r--r--x11/hyena/distinfo9
-rw-r--r--x11/hyena/patches/patch-Hyena.Data.Sqlite_Makefile.in15
-rw-r--r--x11/hyena/patches/patch-Hyena.Gui_Makefile.in30
-rw-r--r--x11/hyena/patches/patch-Hyena_Makefile.in15
-rw-r--r--x11/hyena/patches/patch-Mono.Data.Sqlite_Makefile.in15
9 files changed, 142 insertions, 0 deletions
diff --git a/x11/hyena/DESCR b/x11/hyena/DESCR
new file mode 100644
index 00000000000..0fda44e2e02
--- /dev/null
+++ b/x11/hyena/DESCR
@@ -0,0 +1,6 @@
+Hyena is a C# library used to make awesome applications. It contains
+a lot of random things, including useful data structures, a
+Sqlite-based db layer, cool widgets, a JSON library, a smart job/task
+scheduler, a user-query/search parser, and much more. It's particularly
+useful for Gtk# applications, though only the Hyena.Gui assembly
+requires Gtk#.
diff --git a/x11/hyena/Makefile b/x11/hyena/Makefile
new file mode 100644
index 00000000000..010b6a51fea
--- /dev/null
+++ b/x11/hyena/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2014/05/26 09:24:56 wiz Exp $
+
+DISTNAME= hyena-0.5
+PKGREVISION= 1
+CATEGORIES= x11 devel
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/hyena/0.5/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc.gnome@gmail.com
+HOMEPAGE= http://live.gnome.org/Hyena
+COMMENT= Hyena is a C\# library used to make awesome applications
+LICENSE= mit
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config gmake
+USE_LANGUAGES= # none
+
+PKGCONFIG_OVERRIDE+= build/pkg-config/hyena.data.sqlite.pc.in
+PKGCONFIG_OVERRIDE+= build/pkg-config/hyena.gui.pc.in
+PKGCONFIG_OVERRIDE+= build/pkg-config/hyena.pc.in
+
+.include "../../x11/gtk-sharp/buildlink3.mk"
+.include "../../lang/mono2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/hyena/PLIST b/x11/hyena/PLIST
new file mode 100644
index 00000000000..7f108c03496
--- /dev/null
+++ b/x11/hyena/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2014/05/26 09:24:56 wiz Exp $
+lib/hyena/Hyena.Data.Sqlite.dll
+lib/hyena/Hyena.Data.Sqlite.dll.mdb
+lib/hyena/Hyena.Gui.dll
+lib/hyena/Hyena.Gui.dll.config
+lib/hyena/Hyena.Gui.dll.mdb
+lib/hyena/Hyena.dll
+lib/hyena/Hyena.dll.config
+lib/hyena/Hyena.dll.mdb
+lib/hyena/Mono.Data.Sqlite.dll
+lib/hyena/Mono.Data.Sqlite.dll.mdb
+lib/pkgconfig/hyena.data.sqlite.pc
+lib/pkgconfig/hyena.gui.pc
+lib/pkgconfig/hyena.pc
diff --git a/x11/hyena/buildlink3.mk b/x11/hyena/buildlink3.mk
new file mode 100644
index 00000000000..2c2465bfd93
--- /dev/null
+++ b/x11/hyena/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/05/26 09:24:56 wiz Exp $
+
+BUILDLINK_TREE+= hyena
+
+.if !defined(HYENA_BUILDLINK3_MK)
+HYENA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hyena+= hyena>=0.5
+BUILDLINK_PKGSRCDIR.hyena?= ../../x11/hyena
+
+.include "../../x11/gtk-sharp/buildlink3.mk"
+.endif # HYENA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hyena
diff --git a/x11/hyena/distinfo b/x11/hyena/distinfo
new file mode 100644
index 00000000000..bce8c0cf076
--- /dev/null
+++ b/x11/hyena/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2014/05/26 09:24:56 wiz Exp $
+
+SHA1 (hyena-0.5.tar.bz2) = 8486433cc8fb1b68b0b9142bd3ee6fe10e9e9656
+RMD160 (hyena-0.5.tar.bz2) = 5e6681f991f1d43ddfb3ae30c024efa6666d1910
+Size (hyena-0.5.tar.bz2) = 281733 bytes
+SHA1 (patch-Hyena.Data.Sqlite_Makefile.in) = 833c56142d0f5c30d38e1beea3cee42d9292c299
+SHA1 (patch-Hyena.Gui_Makefile.in) = 5404f0e10d4ced6262b13a17253976f9fb9a953b
+SHA1 (patch-Hyena_Makefile.in) = 4413eddc3991014f057c50a1d953b375248d344c
+SHA1 (patch-Mono.Data.Sqlite_Makefile.in) = e4ef43554e140be0666119acbb8718b801a23815
diff --git a/x11/hyena/patches/patch-Hyena.Data.Sqlite_Makefile.in b/x11/hyena/patches/patch-Hyena.Data.Sqlite_Makefile.in
new file mode 100644
index 00000000000..1a24ab038e8
--- /dev/null
+++ b/x11/hyena/patches/patch-Hyena.Data.Sqlite_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-Hyena.Data.Sqlite_Makefile.in,v 1.1 2014/05/26 09:24:56 wiz Exp $
+
+Fix comment character.
+
+--- Hyena.Data.Sqlite/Makefile.in.orig 2010-10-06 19:46:07.000000000 +0000
++++ Hyena.Data.Sqlite/Makefile.in
+@@ -393,7 +393,7 @@ uninstall-am: uninstall-local uninstall-
+ pdf-am ps ps-am uninstall uninstall-am uninstall-local \
+ uninstall-moduleSCRIPTS
+
+-dnl SOURCES_BUILD += $(top_srcdir)/src/AssemblyInfo.cs
++# SOURCES_BUILD += $(top_srcdir)/src/AssemblyInfo.cs
+
+ all: $(ASSEMBLY_FILE) theme-icons
+
diff --git a/x11/hyena/patches/patch-Hyena.Gui_Makefile.in b/x11/hyena/patches/patch-Hyena.Gui_Makefile.in
new file mode 100644
index 00000000000..eb24cffaf09
--- /dev/null
+++ b/x11/hyena/patches/patch-Hyena.Gui_Makefile.in
@@ -0,0 +1,30 @@
+$NetBSD: patch-Hyena.Gui_Makefile.in,v 1.1 2014/05/26 09:24:56 wiz Exp $
+
+1. chunk
+Fix
+error CS1705: Assembly `gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' references `Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' which has a higher version number than imported assembly `Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
+./Hyena.Data.Gui/ListView/ListView_Rendering.cs(111,41): error CS0012: The type `Cairo.Context' is defined in an assembly that is not referenced. Consider adding a reference to assembly `Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
+
+2. chunk:
+Fix comment character.
+
+--- Hyena.Gui/Makefile.in.orig 2010-10-06 19:46:07.000000000 +0000
++++ Hyena.Gui/Makefile.in
+@@ -140,7 +140,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ ASSEMBLY = Hyena.Gui
+-ASSEMBLY_BUILD_FLAGS = -unsafe
++ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4
+ TARGET = library
+ LINK = -r:ICSharpCode.SharpZipLib -r:Mono.Posix -r:System \
+ -r:System.Core -r:Mono.Cairo $(GTKSHARP_LIBS) \
+@@ -486,7 +486,7 @@ uninstall-am: uninstall-local uninstall-
+ pdf-am ps ps-am uninstall uninstall-am uninstall-local \
+ uninstall-moduleSCRIPTS
+
+-dnl SOURCES_BUILD += $(top_srcdir)/src/AssemblyInfo.cs
++# SOURCES_BUILD += $(top_srcdir)/src/AssemblyInfo.cs
+
+ all: $(ASSEMBLY_FILE) theme-icons
+
diff --git a/x11/hyena/patches/patch-Hyena_Makefile.in b/x11/hyena/patches/patch-Hyena_Makefile.in
new file mode 100644
index 00000000000..239f4ad3171
--- /dev/null
+++ b/x11/hyena/patches/patch-Hyena_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-Hyena_Makefile.in,v 1.1 2014/05/26 09:24:56 wiz Exp $
+
+Fix comment character.
+
+--- Hyena/Makefile.in.orig 2010-10-06 19:46:07.000000000 +0000
++++ Hyena/Makefile.in
+@@ -498,7 +498,7 @@ uninstall-am: uninstall-local uninstall-
+ pdf-am ps ps-am uninstall uninstall-am uninstall-local \
+ uninstall-moduleSCRIPTS
+
+-dnl SOURCES_BUILD += $(top_srcdir)/src/AssemblyInfo.cs
++# SOURCES_BUILD += $(top_srcdir)/src/AssemblyInfo.cs
+
+ all: $(ASSEMBLY_FILE) theme-icons
+
diff --git a/x11/hyena/patches/patch-Mono.Data.Sqlite_Makefile.in b/x11/hyena/patches/patch-Mono.Data.Sqlite_Makefile.in
new file mode 100644
index 00000000000..b8d1e5696df
--- /dev/null
+++ b/x11/hyena/patches/patch-Mono.Data.Sqlite_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-Mono.Data.Sqlite_Makefile.in,v 1.1 2014/05/26 09:24:56 wiz Exp $
+
+Fix comment character.
+
+--- Mono.Data.Sqlite/Makefile.in.orig 2010-10-06 19:46:07.000000000 +0000
++++ Mono.Data.Sqlite/Makefile.in
+@@ -394,7 +394,7 @@ uninstall-am: uninstall-local uninstall-
+ pdf-am ps ps-am uninstall uninstall-am uninstall-local \
+ uninstall-moduleSCRIPTS
+
+-dnl SOURCES_BUILD += $(top_srcdir)/src/AssemblyInfo.cs
++# SOURCES_BUILD += $(top_srcdir)/src/AssemblyInfo.cs
+
+ all: $(ASSEMBLY_FILE) theme-icons
+