diff options
Diffstat (limited to 'www/p5-GtkHTML')
-rw-r--r-- | www/p5-GtkHTML/Makefile | 40 | ||||
-rw-r--r-- | www/p5-GtkHTML/distinfo | 2 | ||||
-rw-r--r-- | www/p5-GtkHTML/files/patch-Makefile.PL | 9 | ||||
-rw-r--r-- | www/p5-GtkHTML/files/patch-pkg.defs | 10 | ||||
-rw-r--r-- | www/p5-GtkHTML/files/patch-xs_GtkHTML.xs | 269 | ||||
-rw-r--r-- | www/p5-GtkHTML/files/patch-xs_GtkHTMLEmbedded.xs | 11 | ||||
-rw-r--r-- | www/p5-GtkHTML/pkg-descr | 3 | ||||
-rw-r--r-- | www/p5-GtkHTML/pkg-plist | 16 |
8 files changed, 0 insertions, 360 deletions
diff --git a/www/p5-GtkHTML/Makefile b/www/p5-GtkHTML/Makefile deleted file mode 100644 index adf248067f1e..000000000000 --- a/www/p5-GtkHTML/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# New ports collection makefile for: p5-GtkHTML -# Date created: 11 March 2001 -# Whom: vanilla -# -# $FreeBSD$ -# - -PORTNAME= GtkHTML -PORTVERSION= 0.7006 -PORTREVISION= 2 -CATEGORIES= www lang perl5 gnome -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Gtk -PKGNAMEPREFIX= p5- -DISTNAME= Gtk-Perl-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= The Gtk HTML module of Gtk-Perl - -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gnome.pm:${PORTSDIR}/x11-toolkits/p5-Gnome \ - ${SITE_PERL}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer -RUN_DEPENDS= ${BUILD_DEPENDS} - -BROKEN= Incomplete pkg-plist -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2005-09-22 - -USE_GNOME= gnomeprefix gtkhtml -PERL_CONFIGURE= yes -WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME} - -MAN3= Gtk::HTML::reference.3pm - -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= This port requires perl 5.6.0 or later. Install lang/perl5 then try again -.endif - -.include <bsd.port.post.mk> diff --git a/www/p5-GtkHTML/distinfo b/www/p5-GtkHTML/distinfo deleted file mode 100644 index e876cdfa8835..000000000000 --- a/www/p5-GtkHTML/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (Gtk-Perl-0.7006.tar.gz) = 40dd22ce7bd7a3aca2b4aff2678a3be2 -SIZE (Gtk-Perl-0.7006.tar.gz) = 444420 diff --git a/www/p5-GtkHTML/files/patch-Makefile.PL b/www/p5-GtkHTML/files/patch-Makefile.PL deleted file mode 100644 index a6f9acac6b1a..000000000000 --- a/www/p5-GtkHTML/files/patch-Makefile.PL +++ /dev/null @@ -1,9 +0,0 @@ ---- Makefile.PL.orig Mon Mar 12 16:25:19 2001 -+++ Makefile.PL Mon Mar 12 16:25:22 2001 -@@ -1,6 +1,5 @@ - use ExtUtils::MakeMaker; - use Cwd; --use blib '..'; - require '../Depends.pm'; - - require '../tools/gendefs.pl'; diff --git a/www/p5-GtkHTML/files/patch-pkg.defs b/www/p5-GtkHTML/files/patch-pkg.defs deleted file mode 100644 index b9a61c2673b0..000000000000 --- a/www/p5-GtkHTML/files/patch-pkg.defs +++ /dev/null @@ -1,10 +0,0 @@ ---- pkg.defs.orig Sun Dec 1 21:05:22 2002 -+++ pkg.defs Sun Dec 1 21:05:33 2002 -@@ -61,7 +61,6 @@ - (remove-link GTK_HTML_COMMAND_REMOVE_LINK) - (delete GTK_HTML_COMMAND_DELETE) - (delete-back GTK_HTML_COMMAND_DELETE_BACK) -- (set-mark GTK_HTML_COMMAND_SET_MARK) - (disable-selection GTK_HTML_COMMAND_DISABLE_SELECTION) - (bold-on GTK_HTML_COMMAND_BOLD_ON) - (bold-off GTK_HTML_COMMAND_BOLD_OFF) diff --git a/www/p5-GtkHTML/files/patch-xs_GtkHTML.xs b/www/p5-GtkHTML/files/patch-xs_GtkHTML.xs deleted file mode 100644 index a86a9b7a1926..000000000000 --- a/www/p5-GtkHTML/files/patch-xs_GtkHTML.xs +++ /dev/null @@ -1,269 +0,0 @@ ---- xs/GtkHTML.xs.orig Sun Dec 1 20:58:50 2002 -+++ xs/GtkHTML.xs Sun Dec 1 21:03:24 2002 -@@ -6,6 +6,10 @@ - #include "GtkDefs.h" - #include "GtkHTMLDefs.h" - -+#ifdef GTKHTML_HAVE_GCONF -+#include <gconf/gconf.h> -+#endif -+ - static void - destroy_handler(gpointer data) { - SvREFCNT_dec((AV*)data); -@@ -83,20 +87,61 @@ - GtkHTML_InstallTypedefs(); - GtkHTML_InstallObjects(); - AddSignalHelperParts(gtk_html_get_type(), names, fixup_html, 0); -+#ifdef GTKHTML_HAVE_GCONF -+ /* gtkhtml is _so_ broken */ -+ if (!gconf_is_initialized()) { -+ int argc; -+ char ** argv = 0; -+ AV * ARGV = perl_get_av("ARGV", FALSE); -+ SV * ARGV0 = perl_get_sv("0", FALSE); -+ int i; -+ -+ argc = av_len(ARGV)+2; -+ if (argc) { -+ argv = malloc(sizeof(char*)*argc); -+ argv[0] = g_strdup(SvPV(ARGV0, PL_na)); -+ for(i=0;i<=av_len(ARGV);i++) -+ argv[i+1] = g_strdup(SvPV(*av_fetch(ARGV, i, 0), PL_na)); -+ } -+ gconf_init (argc, argv, NULL); -+ if (argv) { -+ for (i=0; i < argc; ++i) -+ g_free(argv[i]); -+ free(argv); -+ } -+ } -+#endif - } - - Gtk::HTML_Sink - gtk_html_new (Class) - SV * Class - CODE: -- RETVAL = GTK_HTML(gtk_html_new()); -+ RETVAL = (GtkHTML*)(gtk_html_new()); - OUTPUT: - RETVAL - --void --gtk_html_set_iframe_parent (html, parent) -+#if GTKHTML_HVER >= 0x001000 -+ -+Gtk::HTML_Sink -+gtk_html_new_from_string (Class, html_data) -+ SV * Class -+ SV * html_data -+ CODE: -+ { -+ STRLEN len; -+ char *d = SvPV (html_data, len); -+ RETVAL = (GtkHTML*)(gtk_html_new_from_string(d, len)); -+ } -+ OUTPUT: -+ RETVAL -+ -+gulong -+gtk_html_begin_content (html, content_type) - Gtk::HTML html -- Gtk::Widget parent -+ char * content_type -+ -+#endif - - gulong - gtk_html_begin (html) -@@ -125,6 +170,17 @@ - Gtk::HTML html - - void -+gtk_html_load_from_string (html, data) -+ Gtk::HTML html -+ SV * data -+ CODE: -+ { -+ STRLEN blen; -+ char *buf = SvPV(data, blen); -+ gtk_html_load_from_string (html, buf, blen); -+ } -+ -+void - gtk_html_set_editable (html, editable) - Gtk::HTML html - bool editable -@@ -138,22 +194,158 @@ - Gtk::HTML html - bool allow - -+#if GTKHTML_HVER < 0x000a00 -+ - int - gtk_html_request_paste (html, type, time) - Gtk::HTML html - int type - int time - -+#else -+ -+int -+gtk_html_request_paste (html, selection, type, time, as_cite) -+ Gtk::HTML html -+ Gtk::Gdk::Atom selection -+ int type -+ int time -+ gboolean as_cite -+ -+#endif -+ -+#if GTKHTML_HVER >= 0x001000 -+ - void --gtk_html_set_paragraph_style (html, style) -+gtk_html_select_word (html) - Gtk::HTML html -- Gtk::HTMLParagraphStyle style -+ -+void -+gtk_html_select_line (html) -+ Gtk::HTML html -+ -+void -+gtk_html_select_paragraph (html) -+ Gtk::HTML html -+ -+void -+gtk_html_select_paragraph_extended (html) -+ Gtk::HTML html -+ -+void -+gtk_html_select_all (html) -+ Gtk::HTML html -+ -+void -+gtk_html_modify_indent_by_delta (html, delta) -+ Gtk::HTML html -+ int delta -+ -+Gtk::HTMLParagraphStyle -+gtk_html_get_paragraph_style (html) -+ Gtk::HTML html -+ -+void -+gtk_html_set_color (html, color) -+ Gtk::HTML html -+ Gtk::Gdk::Color color -+ CODE: -+ { -+ HTMLColor *c = html_color_new_from_gdk_color (color); -+ gtk_html_set_color (html, c); -+ html_color_unref (color); -+ } -+ -+void -+gtk_html_insert_html (html, html_src) -+ Gtk::HTML html -+ char * html_src -+ -+void -+gtk_html_append_html (html, html_src) -+ Gtk::HTML html -+ char * html_src -+ -+void -+gtk_html_set_default_content_type (html, content_type) -+ Gtk::HTML html -+ char * content_type -+ -+bool -+gtk_html_command (html, command_name) -+ Gtk::HTML html -+ char * command_name -+ -+bool -+gtk_html_edit_make_cursor_visible (html) -+ Gtk::HTML html -+ -+bool -+gtk_html_build_with_gconf (Class) -+ SV * Class -+ CODE: -+ RETVAL = gtk_html_build_with_gconf (); -+ OUTPUT: -+ RETVAL -+ -+void -+gtk_html_set_magnification (html, magnification) -+ Gtk::HTML html -+ gdouble magnification -+ -+void -+gtk_html_zoom_in (html) -+ Gtk::HTML html -+ -+void -+gtk_html_zoom_out (html) -+ Gtk::HTML html -+ -+void -+gtk_html_zoom_reset (html) -+ Gtk::HTML html -+ -+void -+gtk_html_update_styles (html) -+ Gtk::HTML html -+ -+void -+gtk_html_set_allow_frameset (html, allow) -+ Gtk::HTML html -+ bool allow -+ -+bool -+gtk_html_get_allow_frameset (html) -+ Gtk::HTML html -+ -+void -+gtk_html_set_base (html, url) -+ Gtk::HTML html -+ char * url -+ -+char* -+gtk_html_get_base (html) -+ Gtk::HTML html -+ -+void -+gtk_html_set_indent (html, delta) -+ Gtk::HTML html -+ int delta -+ -+#else - - void - gtk_html_indent (html, delta) - Gtk::HTML html - int delta - -+#endif -+ -+void -+gtk_html_set_paragraph_style (html, style) -+ Gtk::HTML html -+ Gtk::HTMLParagraphStyle style -+ - void - gtk_html_set_font_style (html, and_mask, or_mask) - Gtk::HTML html -@@ -174,8 +366,9 @@ - Gtk::HTML html - - void --gtk_html_paste (html) -+gtk_html_paste (html, as_cite) - Gtk::HTML html -+ gboolean as_cite - - void - gtk_html_copy (html) diff --git a/www/p5-GtkHTML/files/patch-xs_GtkHTMLEmbedded.xs b/www/p5-GtkHTML/files/patch-xs_GtkHTMLEmbedded.xs deleted file mode 100644 index 0760cde7c8ba..000000000000 --- a/www/p5-GtkHTML/files/patch-xs_GtkHTMLEmbedded.xs +++ /dev/null @@ -1,11 +0,0 @@ ---- xs/GtkHTMLEmbedded.xs.orig Sun Dec 1 21:06:22 2002 -+++ xs/GtkHTMLEmbedded.xs Sun Dec 1 21:06:29 2002 -@@ -20,7 +20,7 @@ - int width - int height - CODE: -- RETVAL = GTK_HTML_EMBEDDED(gtk_html_embedded_new(classid, name, type, width, height)); -+ RETVAL = (GtkHTMLEmbedded*)(gtk_html_embedded_new(classid, name, type, width, height)); - OUTPUT: - RETVAL - diff --git a/www/p5-GtkHTML/pkg-descr b/www/p5-GtkHTML/pkg-descr deleted file mode 100644 index d010a48dab73..000000000000 --- a/www/p5-GtkHTML/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -The Gtk HTML widget module of Gtk-Perl (Gtk::HTML namespace). - -WWW: http://projects.prosa.it/gtkperl/ diff --git a/www/p5-GtkHTML/pkg-plist b/www/p5-GtkHTML/pkg-plist deleted file mode 100644 index 7b6d6232977e..000000000000 --- a/www/p5-GtkHTML/pkg-plist +++ /dev/null @@ -1,16 +0,0 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML/Install/Files.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML/Install/GtkHTMLDefs.h -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML/Install/GtkHTMLTypemap -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML/Install/PerlGtkHTMLInt.h -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML/Install/pkg.typemap -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML/Simple.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML/Types.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/HTML/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/HTML/HTML.bs -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/HTML/HTML.so -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML/Install -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk/HTML -@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Gtk 2>/dev/null || true -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/HTML -@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk 2>/dev/null || true |