aboutsummaryrefslogtreecommitdiffstats
path: root/www/gtkhtml38
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-12-05 21:20:06 +0800
committersobomax <sobomax@FreeBSD.org>2001-12-05 21:20:06 +0800
commitecb5507093513c9c26d9a9b59effced4c2568bd2 (patch)
tree3ae708a38c9459eb4bfc2170e22491f2acc67eeb /www/gtkhtml38
parent1a8c22fb5deb785435bca21472e6fff9de068f59 (diff)
downloadfreebsd-ports-gnome-ecb5507093513c9c26d9a9b59effced4c2568bd2.tar.gz
freebsd-ports-gnome-ecb5507093513c9c26d9a9b59effced4c2568bd2.tar.zst
freebsd-ports-gnome-ecb5507093513c9c26d9a9b59effced4c2568bd2.zip
Update to 1.0.0.
Diffstat (limited to 'www/gtkhtml38')
-rw-r--r--www/gtkhtml38/Makefile2
-rw-r--r--www/gtkhtml38/distinfo2
-rw-r--r--www/gtkhtml38/files/patch-aa11
-rw-r--r--www/gtkhtml38/files/patch-src::gtkhtml-properties.c125
-rw-r--r--www/gtkhtml38/pkg-plist2
5 files changed, 10 insertions, 132 deletions
diff --git a/www/gtkhtml38/Makefile b/www/gtkhtml38/Makefile
index 79a892b26fdd..1496b103c09b 100644
--- a/www/gtkhtml38/Makefile
+++ b/www/gtkhtml38/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gtkhtml
-PORTVERSION= 0.16.1
+PORTVERSION= 1.0.0
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= unstable/sources/gtkhtml
diff --git a/www/gtkhtml38/distinfo b/www/gtkhtml38/distinfo
index d7a861cecc77..7ceac2591960 100644
--- a/www/gtkhtml38/distinfo
+++ b/www/gtkhtml38/distinfo
@@ -1 +1 @@
-MD5 (gtkhtml-0.16.1.tar.gz) = da85f8d2f46db669c4b3e8b0eefdd882
+MD5 (gtkhtml-1.0.0.tar.gz) = 19b9d3a9b8f4d1d24a46a2f81984085b
diff --git a/www/gtkhtml38/files/patch-aa b/www/gtkhtml38/files/patch-aa
index bc5a4bc0ed29..d810dfeba569 100644
--- a/www/gtkhtml38/files/patch-aa
+++ b/www/gtkhtml38/files/patch-aa
@@ -1,6 +1,9 @@
---- Makefile.in.orig Fri Jun 2 09:18:22 2000
-+++ Makefile.in Fri Jun 2 14:04:24 2000
-@@ -107,7 +107,7 @@
+
+$FreeBSD$
+
+--- Makefile.in.orig Tue Dec 4 17:05:01 2001
++++ Makefile.in Wed Dec 5 11:05:52 2001
+@@ -151,7 +151,7 @@
@BONOBO_TRUE@DIR_COMPONENTS = components
@BONOBO_FALSE@DIR_COMPONENTS =
@@ -8,4 +11,4 @@
+confexecdir = $(sysconfdir)
confexec_DATA = gtkhtmlConf.sh
- EXTRA_DIST = html-component.gnorba gtkhtmlConf.sh.in gtkhtml.spec.in gtkhtml.spec
+ SUBDIRS = intl macros src capplet doc art $(DIR_COMPONENTS) po
diff --git a/www/gtkhtml38/files/patch-src::gtkhtml-properties.c b/www/gtkhtml38/files/patch-src::gtkhtml-properties.c
deleted file mode 100644
index f783c11c5904..000000000000
--- a/www/gtkhtml38/files/patch-src::gtkhtml-properties.c
+++ /dev/null
@@ -1,125 +0,0 @@
-
-$FreeBSD$
-
---- src/gtkhtml-properties.c 2001/11/20 09:55:00 1.1
-+++ src/gtkhtml-properties.c 2001/11/20 09:56:37
-@@ -75,6 +75,59 @@
- g_free (p);
- }
-
-+static gchar *
-+get_font_name (const GdkFont * font)
-+{
-+ Atom font_atom, atom;
-+ Bool status;
-+
-+ font_atom = gdk_atom_intern ("FONT", FALSE);
-+
-+ if (font->type == GDK_FONT_FONTSET) {
-+ XFontStruct **font_structs;
-+ gint num_fonts;
-+ gchar **font_names;
-+
-+ num_fonts = XFontsOfFontSet (GDK_FONT_XFONT (font), &font_structs, &font_names);
-+ status = XGetFontProperty (font_structs[0], font_atom, &atom);
-+ } else {
-+ status = XGetFontProperty (GDK_FONT_XFONT (font), font_atom, &atom);
-+ }
-+
-+ if (status) {
-+ return gdk_atom_name (atom);
-+ }
-+
-+ return NULL;
-+}
-+
-+static void
-+get_default_fonts (gchar **var_name, gchar **fix_name)
-+{
-+ GtkStyle *style;
-+ char *font_name = NULL;
-+
-+ style = gtk_widget_get_default_style ();
-+ if (style->font) {
-+ font_name = get_font_name (style->font);
-+ }
-+
-+ if (font_name) {
-+ gchar *enc1, *enc2;
-+
-+ enc1 = html_font_manager_get_attr (font_name, 13);
-+ enc2 = html_font_manager_get_attr (font_name, 14);
-+
-+ *var_name = g_strdup_printf ("-*-helvetica-*-*-*-*-12-*-*-*-*-*-%s-%s", enc1, enc2);
-+ *fix_name = g_strdup_printf ("-*-courier-*-*-*-*-12-*-*-*-*-*-%s-%s", enc1, enc2);
-+
-+ /* printf ("default encoding %s-%s\n%s\n%s\n", enc1, enc2, *var_name, *fix_name); */
-+ } else {
-+ *var_name = g_strdup ("-*-helvetica-*-*-*-*-12-*-*-*-*-*-*-*");
-+ *fix_name = g_strdup ("-*-courier-*-*-*-*-12-*-*-*-*-*-*-*");
-+ }
-+}
-+
- #ifdef GTKHTML_HAVE_GCONF
- #define GET(t,x,prop,f,c) \
- key = g_strconcat (GTK_HTML_GCONF_DIR, x, NULL); \
-@@ -180,59 +233,6 @@
- #define GETS(v,s) \
- g_free (p->v); \
- GET(string,v,s)
--
--static gchar *
--get_font_name (const GdkFont * font)
--{
-- Atom font_atom, atom;
-- Bool status;
--
-- font_atom = gdk_atom_intern ("FONT", FALSE);
--
-- if (font->type == GDK_FONT_FONTSET) {
-- XFontStruct **font_structs;
-- gint num_fonts;
-- gchar **font_names;
--
-- num_fonts = XFontsOfFontSet (GDK_FONT_XFONT (font), &font_structs, &font_names);
-- status = XGetFontProperty (font_structs[0], font_atom, &atom);
-- } else {
-- status = XGetFontProperty (GDK_FONT_XFONT (font), font_atom, &atom);
-- }
--
-- if (status) {
-- return gdk_atom_name (atom);
-- }
--
-- return NULL;
--}
--
--static void
--get_default_fonts (gchar **var_name, gchar **fix_name)
--{
-- GtkStyle *style;
-- char *font_name = NULL;
--
-- style = gtk_widget_get_default_style ();
-- if (style->font) {
-- font_name = get_font_name (style->font);
-- }
--
-- if (font_name) {
-- gchar *enc1, *enc2;
--
-- enc1 = html_font_manager_get_attr (font_name, 13);
-- enc2 = html_font_manager_get_attr (font_name, 14);
--
-- *var_name = g_strdup_printf ("-*-helvetica-*-*-*-*-12-*-*-*-*-*-%s-%s", enc1, enc2);
-- *fix_name = g_strdup_printf ("-*-courier-*-*-*-*-12-*-*-*-*-*-%s-%s", enc1, enc2);
--
-- /* printf ("default encoding %s-%s\n%s\n%s\n", enc1, enc2, *var_name, *fix_name); */
-- } else {
-- *var_name = g_strdup ("-*-helvetica-*-*-*-*-12-*-*-*-*-*-*-*");
-- *fix_name = g_strdup ("-*-courier-*-*-*-*-12-*-*-*-*-*-*-*");
-- }
--}
-
- void
- gtk_html_class_properties_load (GtkHTMLClassProperties *p)
diff --git a/www/gtkhtml38/pkg-plist b/www/gtkhtml38/pkg-plist
index 4c2113398dc8..61ffa38722b6 100644
--- a/www/gtkhtml38/pkg-plist
+++ b/www/gtkhtml38/pkg-plist
@@ -94,7 +94,7 @@ lib/bonobo/plugin/libstorage_http.a
lib/bonobo/plugin/libstorage_http.so
lib/libgtkhtml.a
lib/libgtkhtml.so
-lib/libgtkhtml.so.19
+lib/libgtkhtml.so.20
share/gnome/apps/Settings/Documents/gtkhtml-properties.desktop
share/gnome/control-center/Documents/gtkhtml-properties.desktop
share/gnome/control-center/capplets/gtkhtml-properties.desktop