1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

C# language binding for the gtkembedmoz widget. You can use it to embed

mozilla into C# programs.

Submitted by:	Tom McLaughlin <tmclaugh@sdf.lonestar.org>
Project by:	BSD# - http://forge.novell.com/modules/xfmod/project/?bsd-sharp
This commit is contained in:
Jeremy Messenger 2004-11-26 06:04:12 +00:00
parent dd94f21336
commit c424937ebe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122478
15 changed files with 195 additions and 0 deletions

View File

@ -131,6 +131,7 @@
SUBDIR += galeon
SUBDIR += gallery
SUBDIR += gatling
SUBDIR += gecko-sharp
SUBDIR += geeklog
SUBDIR += geolizer
SUBDIR += gforge

25
www/gecko-sharp/Makefile Normal file
View File

@ -0,0 +1,25 @@
# New ports collection makefile for: gecko-sharp
# Date created: 20040825
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
#
PORTNAME= gecko-sharp
PORTVERSION= 0.6
CATEGORIES= www
MASTER_SITES= http://go-mono.com/archive/1.0.3/
MAINTAINER= tmclaugh@sdf.lonestar.org
COMMENT= Mono bindings for embeding mozilla
BUILD_DEPENDS= gapi-parser:${PORTSDIR}/x11-toolkits/gtk-sharp
RUN_DEPENDS= ${BUILD_DEPENDS} \
${X11BASE}/lib/mozilla/components/libwidget_gtk2.so:${PORTSDIR}/www/mozilla
USE_GNOME= gnomehack gnometarget
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
.include <bsd.port.mk>

2
www/gecko-sharp/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (gecko-sharp-0.6.tar.gz) = 9ce9bb08125f7c7eecf8bd696a3345bd
SIZE (gecko-sharp-0.6.tar.gz) = 110979

View File

@ -0,0 +1,24 @@
--- gtkmozembed/Makefile.in.orig Tue Sep 21 22:51:02 2004
+++ gtkmozembed/Makefile.in Tue Sep 21 22:54:11 2004
@@ -262,16 +262,16 @@
gecko-sharp.dll: $(build_sources) generated-stamp gecko-sharp.snk
$(MCS) --unsafe --target library -L $(GTKSHARP_PREFIX)/lib \
- /pkg:gtk-sharp \
+ `pkg-config --libs gtk-sharp` \
$(build_sources) generated/*.cs -o gecko-sharp.dll
install-data-local:
- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir)"; \
- $(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir) || exit 1;
+ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)"; \
+ $(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir) || exit 1;
uninstall-local:
- echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir)"; \
- $(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir) || exit 1;
+ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)"; \
+ $(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir) || exit 1;
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -0,0 +1,13 @@
--- gtkmozembed/gecko-sharp.dll.config.orig Wed May 5 22:34:49 2004
+++ gtkmozembed/gecko-sharp.dll.config Wed Aug 25 19:22:11 2004
@@ -1,6 +1,6 @@
<configuration>
- <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
- <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
- <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so.0"/>
- <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
+ <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so"/>
+ <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so"/>
+ <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so"/>
+ <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so"/>
</configuration>

View File

@ -0,0 +1,19 @@
--- sample/Makefile.in.orig Sat Aug 28 00:22:09 2004
+++ sample/Makefile.in Sat Aug 28 00:24:05 2004
@@ -274,14 +274,14 @@
-L @top_builddir@/gtkmozembed \
-r gecko-sharp.dll \
-L $(GTKSHARP_PREFIX)/lib \
- -pkg:gtk-sharp \
+ `pkg-config --libs gtk-sharp` \
-r System.Drawing \
-o GtkMozApp.exe $(srcdir)/GtkMozApp.cs $(srcdir)/MozWindow.cs
WebThumbnailer.exe: $(srcdir)/WebThumbnailer.cs
$(MCS) -L @top_builddir@/gtkmozembed \
-r gecko-sharp.dll \
- -pkg:gtk-sharp $(srcdir)/WebThumbnailer.cs \
+ `pkg-config --libs gtk-sharp` $(srcdir)/WebThumbnailer.cs \
-o WebThumbnailer.exe
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -0,0 +1,2 @@
C# language binding for the gtkembedmoz widget. You can use it to embed
mozilla into C# programs.

12
www/gecko-sharp/pkg-plist Normal file
View File

@ -0,0 +1,12 @@
bin/webshot
lib/gecko-sharp/WebThumbnailer.exe
@unexec gacutil /u gecko-sharp.dll /f /package gecko-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gac/gecko-sharp/1.0.0.0__ccf7d78a55e9f021/gecko-sharp.dll
@exec gacutil /i gecko-sharp.dll /f /package gecko-sharp /root %D/lib /gacdir %D/lib> /dev/null || /usr/bin/true
lib/mono/gac/gecko-sharp/1.0.0.0__ccf7d78a55e9f021/gecko-sharp.dll.config
lib/mono/gecko-sharp/gecko-sharp.dll
libdata/pkgconfig/gecko-sharp.pc
@dirrm lib/mono/gecko-sharp
@dirrm lib/mono/gac/gecko-sharp/1.0.0.0__ccf7d78a55e9f021
@dirrm lib/mono/gac/gecko-sharp
@dirrm lib/gecko-sharp

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: gecko-sharp
# Date created: 20040825
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
#
PORTNAME= gecko-sharp
PORTVERSION= 0.6
CATEGORIES= www
MASTER_SITES= http://go-mono.com/archive/1.0.3/
MAINTAINER= tmclaugh@sdf.lonestar.org
COMMENT= Mono bindings for embeding mozilla
BUILD_DEPENDS= gapi-parser:${PORTSDIR}/x11-toolkits/gtk-sharp
RUN_DEPENDS= ${BUILD_DEPENDS} \
${X11BASE}/lib/mozilla/components/libwidget_gtk2.so:${PORTSDIR}/www/mozilla
USE_GNOME= gnomehack gnometarget
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (gecko-sharp-0.6.tar.gz) = 9ce9bb08125f7c7eecf8bd696a3345bd
SIZE (gecko-sharp-0.6.tar.gz) = 110979

View File

@ -0,0 +1,24 @@
--- gtkmozembed/Makefile.in.orig Tue Sep 21 22:51:02 2004
+++ gtkmozembed/Makefile.in Tue Sep 21 22:54:11 2004
@@ -262,16 +262,16 @@
gecko-sharp.dll: $(build_sources) generated-stamp gecko-sharp.snk
$(MCS) --unsafe --target library -L $(GTKSHARP_PREFIX)/lib \
- /pkg:gtk-sharp \
+ `pkg-config --libs gtk-sharp` \
$(build_sources) generated/*.cs -o gecko-sharp.dll
install-data-local:
- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir)"; \
- $(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir) || exit 1;
+ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)"; \
+ $(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir) || exit 1;
uninstall-local:
- echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir)"; \
- $(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir) || exit 1;
+ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)"; \
+ $(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir) || exit 1;
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -0,0 +1,13 @@
--- gtkmozembed/gecko-sharp.dll.config.orig Wed May 5 22:34:49 2004
+++ gtkmozembed/gecko-sharp.dll.config Wed Aug 25 19:22:11 2004
@@ -1,6 +1,6 @@
<configuration>
- <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
- <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
- <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so.0"/>
- <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
+ <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so"/>
+ <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so"/>
+ <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so"/>
+ <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so"/>
</configuration>

View File

@ -0,0 +1,19 @@
--- sample/Makefile.in.orig Sat Aug 28 00:22:09 2004
+++ sample/Makefile.in Sat Aug 28 00:24:05 2004
@@ -274,14 +274,14 @@
-L @top_builddir@/gtkmozembed \
-r gecko-sharp.dll \
-L $(GTKSHARP_PREFIX)/lib \
- -pkg:gtk-sharp \
+ `pkg-config --libs gtk-sharp` \
-r System.Drawing \
-o GtkMozApp.exe $(srcdir)/GtkMozApp.cs $(srcdir)/MozWindow.cs
WebThumbnailer.exe: $(srcdir)/WebThumbnailer.cs
$(MCS) -L @top_builddir@/gtkmozembed \
-r gecko-sharp.dll \
- -pkg:gtk-sharp $(srcdir)/WebThumbnailer.cs \
+ `pkg-config --libs gtk-sharp` $(srcdir)/WebThumbnailer.cs \
-o WebThumbnailer.exe
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -0,0 +1,2 @@
C# language binding for the gtkembedmoz widget. You can use it to embed
mozilla into C# programs.

View File

@ -0,0 +1,12 @@
bin/webshot
lib/gecko-sharp/WebThumbnailer.exe
@unexec gacutil /u gecko-sharp.dll /f /package gecko-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gac/gecko-sharp/1.0.0.0__ccf7d78a55e9f021/gecko-sharp.dll
@exec gacutil /i gecko-sharp.dll /f /package gecko-sharp /root %D/lib /gacdir %D/lib> /dev/null || /usr/bin/true
lib/mono/gac/gecko-sharp/1.0.0.0__ccf7d78a55e9f021/gecko-sharp.dll.config
lib/mono/gecko-sharp/gecko-sharp.dll
libdata/pkgconfig/gecko-sharp.pc
@dirrm lib/mono/gecko-sharp
@dirrm lib/mono/gac/gecko-sharp/1.0.0.0__ccf7d78a55e9f021
@dirrm lib/mono/gac/gecko-sharp
@dirrm lib/gecko-sharp