* Fix IDL installation [1]

* Correct path to the icon in the Desktop item [2]
* Add a patch to fix potential crashes with newer versions of GTK+ that can
  occur when closing windows [3]

PR:		84896 [2]
Submitted by:	mezz [1]
		chinsan <chinsan.tw@gmail.com> [2]
Obtained from:	https://bugzilla.mozilla.org/show_bug.cgi?id=300226 [3]
This commit is contained in:
Joe Marcus Clarke 2005-08-28 19:08:08 +00:00
parent 0feaee0767
commit 4eaecc6a2d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141178
9 changed files with 48 additions and 6 deletions

View file

@ -7,7 +7,7 @@
PORTNAME?= mozilla
PORTVERSION= 1.8.b1
PORTREVISION?= 3
PORTREVISION?= 4
PORTEPOCH?= 2
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
@ -213,6 +213,8 @@ USE_GNOME+= gnomehier
.endif
post-patch:
@${REINPLACE_CMD} -e 's/%{idldir}/%idldir%/g' \
${WRKSRC}/build/unix/mozilla-config.in
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/build/unix/run-mozilla.sh
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \

View file

@ -164,6 +164,6 @@ Exec=mozilla-devel %U
StartupNotify=true
Terminal=false
Type=Application
Icon=%%PREFIX%%/lib/mozilla/chrome/icons/default/default.xpm
Icon=%%PREFIX%%/lib/mozilla-devel/chrome/icons/default/default.xpm
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;

View file

@ -0,0 +1,12 @@
--- widget/src/gtk2/mozdrawingarea.c.orig Tue Apr 30 12:29:00 2002
+++ widget/src/gtk2/mozdrawingarea.c Thu Aug 18 22:27:27 2005
@@ -168,7 +168,9 @@
drawingarea = MOZ_DRAWINGAREA(object);
+ gdk_window_set_user_data(drawingarea->inner_window, NULL);
gdk_window_destroy(drawingarea->inner_window);
+ gdk_window_set_user_data(drawingarea->clip_window, NULL);
gdk_window_destroy(drawingarea->clip_window);
(* parent_class->finalize) (object);

View file

@ -7,7 +7,7 @@
PORTNAME?= mozilla
PORTVERSION= 1.8.b1
PORTREVISION?= 3
PORTREVISION?= 4
PORTEPOCH?= 2
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
@ -213,6 +213,8 @@ USE_GNOME+= gnomehier
.endif
post-patch:
@${REINPLACE_CMD} -e 's/%{idldir}/%idldir%/g' \
${WRKSRC}/build/unix/mozilla-config.in
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/build/unix/run-mozilla.sh
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \

View file

@ -164,6 +164,6 @@ Exec=mozilla-devel %U
StartupNotify=true
Terminal=false
Type=Application
Icon=%%PREFIX%%/lib/mozilla/chrome/icons/default/default.xpm
Icon=%%PREFIX%%/lib/mozilla-devel/chrome/icons/default/default.xpm
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;

View file

@ -0,0 +1,12 @@
--- widget/src/gtk2/mozdrawingarea.c.orig Tue Apr 30 12:29:00 2002
+++ widget/src/gtk2/mozdrawingarea.c Thu Aug 18 22:27:27 2005
@@ -168,7 +168,9 @@
drawingarea = MOZ_DRAWINGAREA(object);
+ gdk_window_set_user_data(drawingarea->inner_window, NULL);
gdk_window_destroy(drawingarea->inner_window);
+ gdk_window_set_user_data(drawingarea->clip_window, NULL);
gdk_window_destroy(drawingarea->clip_window);
(* parent_class->finalize) (object);

View file

@ -7,7 +7,7 @@
PORTNAME?= mozilla
PORTVERSION= 1.8.b1
PORTREVISION?= 3
PORTREVISION?= 4
PORTEPOCH?= 2
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
@ -213,6 +213,8 @@ USE_GNOME+= gnomehier
.endif
post-patch:
@${REINPLACE_CMD} -e 's/%{idldir}/%idldir%/g' \
${WRKSRC}/build/unix/mozilla-config.in
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/build/unix/run-mozilla.sh
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \

View file

@ -164,6 +164,6 @@ Exec=mozilla-devel %U
StartupNotify=true
Terminal=false
Type=Application
Icon=%%PREFIX%%/lib/mozilla/chrome/icons/default/default.xpm
Icon=%%PREFIX%%/lib/mozilla-devel/chrome/icons/default/default.xpm
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;

View file

@ -0,0 +1,12 @@
--- widget/src/gtk2/mozdrawingarea.c.orig Tue Apr 30 12:29:00 2002
+++ widget/src/gtk2/mozdrawingarea.c Thu Aug 18 22:27:27 2005
@@ -168,7 +168,9 @@
drawingarea = MOZ_DRAWINGAREA(object);
+ gdk_window_set_user_data(drawingarea->inner_window, NULL);
gdk_window_destroy(drawingarea->inner_window);
+ gdk_window_set_user_data(drawingarea->clip_window, NULL);
gdk_window_destroy(drawingarea->clip_window);
(* parent_class->finalize) (object);