aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-20 13:19:38 +0800
committermarcus <marcus@FreeBSD.org>2003-04-20 13:19:38 +0800
commit6091b38dd7b6e735861db16443cff68a0a4d86c8 (patch)
treed4936c3f1bb4915af348b923e1958c98f43b33b0 /editors
parente672291a6da38ee34a2a7acf2a2fd01c66eb0a48 (diff)
downloadfreebsd-ports-gnome-6091b38dd7b6e735861db16443cff68a0a4d86c8.tar.gz
freebsd-ports-gnome-6091b38dd7b6e735861db16443cff68a0a4d86c8.tar.zst
freebsd-ports-gnome-6091b38dd7b6e735861db16443cff68a0a4d86c8.zip
Update to 1.9.0 which includes a working Bonobo control and Nautilus file
view.
Diffstat (limited to 'editors')
-rw-r--r--editors/AbiWord2/Makefile14
-rw-r--r--editors/AbiWord2/distinfo2
-rw-r--r--editors/AbiWord2/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp16
-rw-r--r--editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp17
-rw-r--r--editors/AbiWord2/files/patch-src_pkg_linux_rpm_data_abiword.desktop13
-rw-r--r--editors/AbiWord2/pkg-message10
-rw-r--r--editors/AbiWord2/pkg-plist7
-rw-r--r--editors/abiword-devel/Makefile14
-rw-r--r--editors/abiword-devel/distinfo2
-rw-r--r--editors/abiword-devel/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp16
-rw-r--r--editors/abiword-devel/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp17
-rw-r--r--editors/abiword-devel/files/patch-src_pkg_linux_rpm_data_abiword.desktop13
-rw-r--r--editors/abiword-devel/pkg-message10
-rw-r--r--editors/abiword-devel/pkg-plist7
-rw-r--r--editors/abiword/Makefile14
-rw-r--r--editors/abiword/distinfo2
-rw-r--r--editors/abiword/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp16
-rw-r--r--editors/abiword/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp17
-rw-r--r--editors/abiword/files/patch-src_pkg_linux_rpm_data_abiword.desktop13
-rw-r--r--editors/abiword/pkg-message10
-rw-r--r--editors/abiword/pkg-plist7
21 files changed, 63 insertions, 174 deletions
diff --git a/editors/AbiWord2/Makefile b/editors/AbiWord2/Makefile
index 8c7ef29a65db..2d9dd7ccf226 100644
--- a/editors/AbiWord2/Makefile
+++ b/editors/AbiWord2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= AbiWord2
-PORTVERSION= 1.1.4
-PORTREVISION= 1
+PORTVERSION= 1.9.0
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/
@@ -51,10 +50,8 @@ BROKEN= "This port cannot be built when textproc/wv is installed because of a he
.if ${HAVE_GNOME:Mnautilus2}!="" && ${HAVE_GNOME:Mgal2}!=""
USE_GNOME+= nautilus2 gal2
CONFIGURE_ARGS+= --enable-gnome
-PLIST_SUB+= GNOME:=""
PKGNAMESUFFIX= -gnome
-.else
-PLIST_SUB+= GNOME:="@comment "
+GNOME_ENABLED= yes
.endif
.if defined(WITH_GUCHARMAP) || exists(${X11BASE}/libdata/pkgconfig/gucharmap.pc)
@@ -84,10 +81,15 @@ pre-configure:
s|@DEFS@|-I${WRKSRC}/../libiconv/include @DEFS@|g' && ${TRUE}
post-install:
- @${CAT} ${PKGMESSAGE}
@${INSTALL_DATA} ${WRKSRC}/src/pkg/linux/rpm/data/abiword.desktop \
${PREFIX}/share/gnome/apps/Applications/abiword.desktop
@${LN} -sf ${PREFIX}/share/AbiSuite-2.0/icons/abiword_48.png \
${PREFIX}/share/gnome/pixmaps/abiword_48.png
+.if defined(GNOME_ENABLED)
+ @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/GNOME_AbiWord_Control_2_0.server\
+ ${PREFIX}/libdata/bonobo/servers/GNOME_AbiWord_Control_2_0.server
+ @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/abi-nautilus-view-file.xml \
+ ${PREFIX}/share/gnome/gnome-2.0/ui/abi-nautilus-view-file.xml
+.endif
.include <bsd.port.post.mk>
diff --git a/editors/AbiWord2/distinfo b/editors/AbiWord2/distinfo
index 9b9fe08a346a..8df1014bd93a 100644
--- a/editors/AbiWord2/distinfo
+++ b/editors/AbiWord2/distinfo
@@ -1 +1 @@
-MD5 (AbiWord/abiword-1.1.4.tar.gz) = a2933c1784035836bbe5b96e1fa22603
+MD5 (AbiWord/abiword-1.9.0.tar.gz) = f7ad1eb6bc944120e57fe8d6ee89b762
diff --git a/editors/AbiWord2/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp b/editors/AbiWord2/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp
deleted file mode 100644
index 2983c8255c02..000000000000
--- a/editors/AbiWord2/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/af/ev/unix/ev_UnixToolbar.cpp.orig Mon Mar 24 01:55:52 2003
-+++ src/af/ev/unix/ev_UnixToolbar.cpp Mon Mar 24 01:51:14 2003
-@@ -881,11 +881,11 @@
- GtkWidget * combo;
- GdkPixbuf * pixbuf;
- if (pAction->getItemType() == EV_TBIT_ColorFore) {
-- pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<const char **>(tb_text_fgcolor_xpm));
-+ pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<char **>(tb_text_fgcolor_xpm));
- combo = color_combo_new (pixbuf, szToolTip, &e_black, color_group_fetch("foreground_color", NULL));
- }
- else {
-- pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<const char **>(tb_text_bgcolor_xpm));
-+ pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<char **>(tb_text_bgcolor_xpm));
- combo = color_combo_new (pixbuf, szToolTip, NULL, color_group_fetch("background_color", NULL));
- }
- gtk_combo_box_set_title (GTK_COMBO_BOX (combo),
diff --git a/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp b/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp
deleted file mode 100644
index 0013c3e684b8..000000000000
--- a/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/af/xap/unix/xap_UnixEncodingManager.cpp.orig Fri Mar 7 02:33:39 2003
-+++ src/af/xap/unix/xap_UnixEncodingManager.cpp Tue Mar 25 19:49:09 2003
-@@ -475,6 +475,7 @@
- NativeUnicodeEncodingName = "UTF-8";
- LanguageISOName = "en";
- LanguageISOTerritory = "US";
-+ XAP_EncodingManager::initialize();
-
- if (!*locname || !strcmp(locname,"C"))
- { /* paranoic case - broken system */
-@@ -582,6 +583,5 @@
- FREEP(mod);
- }
- }
-- XAP_EncodingManager::initialize();
- describe();
- };
diff --git a/editors/AbiWord2/files/patch-src_pkg_linux_rpm_data_abiword.desktop b/editors/AbiWord2/files/patch-src_pkg_linux_rpm_data_abiword.desktop
index b875f7db74c2..656c586a6e48 100644
--- a/editors/AbiWord2/files/patch-src_pkg_linux_rpm_data_abiword.desktop
+++ b/editors/AbiWord2/files/patch-src_pkg_linux_rpm_data_abiword.desktop
@@ -1,14 +1,11 @@
---- src/pkg/linux/rpm/data/abiword.desktop.orig Sun Dec 8 19:56:43 2002
-+++ src/pkg/linux/rpm/data/abiword.desktop Sat Feb 22 00:25:22 2003
-@@ -8,9 +8,9 @@
- Comment[fr]=Traitement de texte AbiWord
- Comment[pt]=Processador de Texto Abiword
- Comment[sv]=Ordbehandlaren Abiword
--Exec=abiword-2.0
-+Exec=AbiWord-2.0
+--- src/pkg/linux/rpm/data/abiword.desktop.orig Sun Apr 6 14:45:19 2003
++++ src/pkg/linux/rpm/data/abiword.desktop Sun Apr 20 00:33:09 2003
+@@ -12,7 +12,7 @@
Icon=abiword_48.png
Terminal=0
Type=Application
-Categories=Application;Office;WordProcessor;X-Red-Hat-Base;
+Categories=Application;Office;WordProcessor;
StartupNotify=true
+ Encoding=UTF-8
+ X-Desktop-File-Install-Version=0.3
diff --git a/editors/AbiWord2/pkg-message b/editors/AbiWord2/pkg-message
deleted file mode 100644
index 7b2e5c2657f4..000000000000
--- a/editors/AbiWord2/pkg-message
+++ /dev/null
@@ -1,10 +0,0 @@
-###
-There is currently a bug that can cause AbiWord to crash on startup on
-FreeBSD -CURRENT. To workaround this bug, issue the following the command
-as root:
-
-ln -s aj /etc/malloc.conf
-
-More details on this bug can be found at
-http://bugzilla.abisource.com/show_bug.cgi?id=4750.
-###
diff --git a/editors/AbiWord2/pkg-plist b/editors/AbiWord2/pkg-plist
index fec069a0efb4..f5d66a2cca26 100644
--- a/editors/AbiWord2/pkg-plist
+++ b/editors/AbiWord2/pkg-plist
@@ -2,7 +2,11 @@ bin/AbiWord-2.0
bin/abiword
bin/ttfadmin.sh
bin/ttftool
+%%GNOME:%%libdata/bonobo/servers/GNOME_AbiWord_Control_2_0.server
+share/AbiSuite-2.0/AbiWord.exe.MANIFEST
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_Break.glade
+share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_Field.glade
+share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_FormatTable.glade
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_HdrFtr.glade
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_InsertTable.glade
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_Insert_DateTime.glade
@@ -47,6 +51,7 @@ share/AbiSuite-2.0/AbiWord/strings/pt-BR.strings
share/AbiSuite-2.0/AbiWord/strings/pt-PT.strings
share/AbiSuite-2.0/AbiWord/strings/ro-RO.strings
share/AbiSuite-2.0/AbiWord/strings/ru-RU.strings
+share/AbiSuite-2.0/AbiWord/strings/sc-IT.strings
share/AbiSuite-2.0/AbiWord/strings/sk-SK.strings
share/AbiSuite-2.0/AbiWord/strings/sl-SI.strings
share/AbiSuite-2.0/AbiWord/strings/sq-AL.strings
@@ -128,6 +133,7 @@ share/AbiSuite-2.0/AbiWord/system.profile-zh-CN
share/AbiSuite-2.0/AbiWord/system.profile-zh-TW
share/AbiSuite-2.0/GNOME_AbiWord_Control_2_0.server
share/AbiSuite-2.0/README
+share/AbiSuite-2.0/abi-nautilus-view-file.xml
share/AbiSuite-2.0/clipart/book.png
share/AbiSuite-2.0/clipart/chip.png
share/AbiSuite-2.0/clipart/fun.png
@@ -168,6 +174,7 @@ share/AbiSuite-2.0/templates/Two-Columns.awt
share/AbiSuite-2.0/templates/US-Letter.awt
share/AbiSuite-2.0/templates/normal.awt
share/gnome/apps/Applications/abiword.desktop
+%%GNOME:%%share/gnome/gnome-2.0/ui/abi-nautilus-view-file.xml
share/gnome/pixmaps/abiword_48.png
@dirrm share/AbiSuite-2.0/templates
@dirrm share/AbiSuite-2.0/icons
diff --git a/editors/abiword-devel/Makefile b/editors/abiword-devel/Makefile
index 8c7ef29a65db..2d9dd7ccf226 100644
--- a/editors/abiword-devel/Makefile
+++ b/editors/abiword-devel/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= AbiWord2
-PORTVERSION= 1.1.4
-PORTREVISION= 1
+PORTVERSION= 1.9.0
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/
@@ -51,10 +50,8 @@ BROKEN= "This port cannot be built when textproc/wv is installed because of a he
.if ${HAVE_GNOME:Mnautilus2}!="" && ${HAVE_GNOME:Mgal2}!=""
USE_GNOME+= nautilus2 gal2
CONFIGURE_ARGS+= --enable-gnome
-PLIST_SUB+= GNOME:=""
PKGNAMESUFFIX= -gnome
-.else
-PLIST_SUB+= GNOME:="@comment "
+GNOME_ENABLED= yes
.endif
.if defined(WITH_GUCHARMAP) || exists(${X11BASE}/libdata/pkgconfig/gucharmap.pc)
@@ -84,10 +81,15 @@ pre-configure:
s|@DEFS@|-I${WRKSRC}/../libiconv/include @DEFS@|g' && ${TRUE}
post-install:
- @${CAT} ${PKGMESSAGE}
@${INSTALL_DATA} ${WRKSRC}/src/pkg/linux/rpm/data/abiword.desktop \
${PREFIX}/share/gnome/apps/Applications/abiword.desktop
@${LN} -sf ${PREFIX}/share/AbiSuite-2.0/icons/abiword_48.png \
${PREFIX}/share/gnome/pixmaps/abiword_48.png
+.if defined(GNOME_ENABLED)
+ @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/GNOME_AbiWord_Control_2_0.server\
+ ${PREFIX}/libdata/bonobo/servers/GNOME_AbiWord_Control_2_0.server
+ @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/abi-nautilus-view-file.xml \
+ ${PREFIX}/share/gnome/gnome-2.0/ui/abi-nautilus-view-file.xml
+.endif
.include <bsd.port.post.mk>
diff --git a/editors/abiword-devel/distinfo b/editors/abiword-devel/distinfo
index 9b9fe08a346a..8df1014bd93a 100644
--- a/editors/abiword-devel/distinfo
+++ b/editors/abiword-devel/distinfo
@@ -1 +1 @@
-MD5 (AbiWord/abiword-1.1.4.tar.gz) = a2933c1784035836bbe5b96e1fa22603
+MD5 (AbiWord/abiword-1.9.0.tar.gz) = f7ad1eb6bc944120e57fe8d6ee89b762
diff --git a/editors/abiword-devel/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp b/editors/abiword-devel/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp
deleted file mode 100644
index 2983c8255c02..000000000000
--- a/editors/abiword-devel/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/af/ev/unix/ev_UnixToolbar.cpp.orig Mon Mar 24 01:55:52 2003
-+++ src/af/ev/unix/ev_UnixToolbar.cpp Mon Mar 24 01:51:14 2003
-@@ -881,11 +881,11 @@
- GtkWidget * combo;
- GdkPixbuf * pixbuf;
- if (pAction->getItemType() == EV_TBIT_ColorFore) {
-- pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<const char **>(tb_text_fgcolor_xpm));
-+ pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<char **>(tb_text_fgcolor_xpm));
- combo = color_combo_new (pixbuf, szToolTip, &e_black, color_group_fetch("foreground_color", NULL));
- }
- else {
-- pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<const char **>(tb_text_bgcolor_xpm));
-+ pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<char **>(tb_text_bgcolor_xpm));
- combo = color_combo_new (pixbuf, szToolTip, NULL, color_group_fetch("background_color", NULL));
- }
- gtk_combo_box_set_title (GTK_COMBO_BOX (combo),
diff --git a/editors/abiword-devel/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp b/editors/abiword-devel/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp
deleted file mode 100644
index 0013c3e684b8..000000000000
--- a/editors/abiword-devel/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/af/xap/unix/xap_UnixEncodingManager.cpp.orig Fri Mar 7 02:33:39 2003
-+++ src/af/xap/unix/xap_UnixEncodingManager.cpp Tue Mar 25 19:49:09 2003
-@@ -475,6 +475,7 @@
- NativeUnicodeEncodingName = "UTF-8";
- LanguageISOName = "en";
- LanguageISOTerritory = "US";
-+ XAP_EncodingManager::initialize();
-
- if (!*locname || !strcmp(locname,"C"))
- { /* paranoic case - broken system */
-@@ -582,6 +583,5 @@
- FREEP(mod);
- }
- }
-- XAP_EncodingManager::initialize();
- describe();
- };
diff --git a/editors/abiword-devel/files/patch-src_pkg_linux_rpm_data_abiword.desktop b/editors/abiword-devel/files/patch-src_pkg_linux_rpm_data_abiword.desktop
index b875f7db74c2..656c586a6e48 100644
--- a/editors/abiword-devel/files/patch-src_pkg_linux_rpm_data_abiword.desktop
+++ b/editors/abiword-devel/files/patch-src_pkg_linux_rpm_data_abiword.desktop
@@ -1,14 +1,11 @@
---- src/pkg/linux/rpm/data/abiword.desktop.orig Sun Dec 8 19:56:43 2002
-+++ src/pkg/linux/rpm/data/abiword.desktop Sat Feb 22 00:25:22 2003
-@@ -8,9 +8,9 @@
- Comment[fr]=Traitement de texte AbiWord
- Comment[pt]=Processador de Texto Abiword
- Comment[sv]=Ordbehandlaren Abiword
--Exec=abiword-2.0
-+Exec=AbiWord-2.0
+--- src/pkg/linux/rpm/data/abiword.desktop.orig Sun Apr 6 14:45:19 2003
++++ src/pkg/linux/rpm/data/abiword.desktop Sun Apr 20 00:33:09 2003
+@@ -12,7 +12,7 @@
Icon=abiword_48.png
Terminal=0
Type=Application
-Categories=Application;Office;WordProcessor;X-Red-Hat-Base;
+Categories=Application;Office;WordProcessor;
StartupNotify=true
+ Encoding=UTF-8
+ X-Desktop-File-Install-Version=0.3
diff --git a/editors/abiword-devel/pkg-message b/editors/abiword-devel/pkg-message
deleted file mode 100644
index 7b2e5c2657f4..000000000000
--- a/editors/abiword-devel/pkg-message
+++ /dev/null
@@ -1,10 +0,0 @@
-###
-There is currently a bug that can cause AbiWord to crash on startup on
-FreeBSD -CURRENT. To workaround this bug, issue the following the command
-as root:
-
-ln -s aj /etc/malloc.conf
-
-More details on this bug can be found at
-http://bugzilla.abisource.com/show_bug.cgi?id=4750.
-###
diff --git a/editors/abiword-devel/pkg-plist b/editors/abiword-devel/pkg-plist
index fec069a0efb4..f5d66a2cca26 100644
--- a/editors/abiword-devel/pkg-plist
+++ b/editors/abiword-devel/pkg-plist
@@ -2,7 +2,11 @@ bin/AbiWord-2.0
bin/abiword
bin/ttfadmin.sh
bin/ttftool
+%%GNOME:%%libdata/bonobo/servers/GNOME_AbiWord_Control_2_0.server
+share/AbiSuite-2.0/AbiWord.exe.MANIFEST
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_Break.glade
+share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_Field.glade
+share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_FormatTable.glade
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_HdrFtr.glade
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_InsertTable.glade
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_Insert_DateTime.glade
@@ -47,6 +51,7 @@ share/AbiSuite-2.0/AbiWord/strings/pt-BR.strings
share/AbiSuite-2.0/AbiWord/strings/pt-PT.strings
share/AbiSuite-2.0/AbiWord/strings/ro-RO.strings
share/AbiSuite-2.0/AbiWord/strings/ru-RU.strings
+share/AbiSuite-2.0/AbiWord/strings/sc-IT.strings
share/AbiSuite-2.0/AbiWord/strings/sk-SK.strings
share/AbiSuite-2.0/AbiWord/strings/sl-SI.strings
share/AbiSuite-2.0/AbiWord/strings/sq-AL.strings
@@ -128,6 +133,7 @@ share/AbiSuite-2.0/AbiWord/system.profile-zh-CN
share/AbiSuite-2.0/AbiWord/system.profile-zh-TW
share/AbiSuite-2.0/GNOME_AbiWord_Control_2_0.server
share/AbiSuite-2.0/README
+share/AbiSuite-2.0/abi-nautilus-view-file.xml
share/AbiSuite-2.0/clipart/book.png
share/AbiSuite-2.0/clipart/chip.png
share/AbiSuite-2.0/clipart/fun.png
@@ -168,6 +174,7 @@ share/AbiSuite-2.0/templates/Two-Columns.awt
share/AbiSuite-2.0/templates/US-Letter.awt
share/AbiSuite-2.0/templates/normal.awt
share/gnome/apps/Applications/abiword.desktop
+%%GNOME:%%share/gnome/gnome-2.0/ui/abi-nautilus-view-file.xml
share/gnome/pixmaps/abiword_48.png
@dirrm share/AbiSuite-2.0/templates
@dirrm share/AbiSuite-2.0/icons
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index 8c7ef29a65db..2d9dd7ccf226 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= AbiWord2
-PORTVERSION= 1.1.4
-PORTREVISION= 1
+PORTVERSION= 1.9.0
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/
@@ -51,10 +50,8 @@ BROKEN= "This port cannot be built when textproc/wv is installed because of a he
.if ${HAVE_GNOME:Mnautilus2}!="" && ${HAVE_GNOME:Mgal2}!=""
USE_GNOME+= nautilus2 gal2
CONFIGURE_ARGS+= --enable-gnome
-PLIST_SUB+= GNOME:=""
PKGNAMESUFFIX= -gnome
-.else
-PLIST_SUB+= GNOME:="@comment "
+GNOME_ENABLED= yes
.endif
.if defined(WITH_GUCHARMAP) || exists(${X11BASE}/libdata/pkgconfig/gucharmap.pc)
@@ -84,10 +81,15 @@ pre-configure:
s|@DEFS@|-I${WRKSRC}/../libiconv/include @DEFS@|g' && ${TRUE}
post-install:
- @${CAT} ${PKGMESSAGE}
@${INSTALL_DATA} ${WRKSRC}/src/pkg/linux/rpm/data/abiword.desktop \
${PREFIX}/share/gnome/apps/Applications/abiword.desktop
@${LN} -sf ${PREFIX}/share/AbiSuite-2.0/icons/abiword_48.png \
${PREFIX}/share/gnome/pixmaps/abiword_48.png
+.if defined(GNOME_ENABLED)
+ @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/GNOME_AbiWord_Control_2_0.server\
+ ${PREFIX}/libdata/bonobo/servers/GNOME_AbiWord_Control_2_0.server
+ @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/abi-nautilus-view-file.xml \
+ ${PREFIX}/share/gnome/gnome-2.0/ui/abi-nautilus-view-file.xml
+.endif
.include <bsd.port.post.mk>
diff --git a/editors/abiword/distinfo b/editors/abiword/distinfo
index 9b9fe08a346a..8df1014bd93a 100644
--- a/editors/abiword/distinfo
+++ b/editors/abiword/distinfo
@@ -1 +1 @@
-MD5 (AbiWord/abiword-1.1.4.tar.gz) = a2933c1784035836bbe5b96e1fa22603
+MD5 (AbiWord/abiword-1.9.0.tar.gz) = f7ad1eb6bc944120e57fe8d6ee89b762
diff --git a/editors/abiword/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp b/editors/abiword/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp
deleted file mode 100644
index 2983c8255c02..000000000000
--- a/editors/abiword/files/patch-src_af_ev_unix_ev_UnixToolbar.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/af/ev/unix/ev_UnixToolbar.cpp.orig Mon Mar 24 01:55:52 2003
-+++ src/af/ev/unix/ev_UnixToolbar.cpp Mon Mar 24 01:51:14 2003
-@@ -881,11 +881,11 @@
- GtkWidget * combo;
- GdkPixbuf * pixbuf;
- if (pAction->getItemType() == EV_TBIT_ColorFore) {
-- pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<const char **>(tb_text_fgcolor_xpm));
-+ pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<char **>(tb_text_fgcolor_xpm));
- combo = color_combo_new (pixbuf, szToolTip, &e_black, color_group_fetch("foreground_color", NULL));
- }
- else {
-- pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<const char **>(tb_text_bgcolor_xpm));
-+ pixbuf = gdk_pixbuf_new_from_xpm_data (static_cast<char **>(tb_text_bgcolor_xpm));
- combo = color_combo_new (pixbuf, szToolTip, NULL, color_group_fetch("background_color", NULL));
- }
- gtk_combo_box_set_title (GTK_COMBO_BOX (combo),
diff --git a/editors/abiword/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp b/editors/abiword/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp
deleted file mode 100644
index 0013c3e684b8..000000000000
--- a/editors/abiword/files/patch-src_af_xap_unix_xap_UnixEncodingManager.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/af/xap/unix/xap_UnixEncodingManager.cpp.orig Fri Mar 7 02:33:39 2003
-+++ src/af/xap/unix/xap_UnixEncodingManager.cpp Tue Mar 25 19:49:09 2003
-@@ -475,6 +475,7 @@
- NativeUnicodeEncodingName = "UTF-8";
- LanguageISOName = "en";
- LanguageISOTerritory = "US";
-+ XAP_EncodingManager::initialize();
-
- if (!*locname || !strcmp(locname,"C"))
- { /* paranoic case - broken system */
-@@ -582,6 +583,5 @@
- FREEP(mod);
- }
- }
-- XAP_EncodingManager::initialize();
- describe();
- };
diff --git a/editors/abiword/files/patch-src_pkg_linux_rpm_data_abiword.desktop b/editors/abiword/files/patch-src_pkg_linux_rpm_data_abiword.desktop
index b875f7db74c2..656c586a6e48 100644
--- a/editors/abiword/files/patch-src_pkg_linux_rpm_data_abiword.desktop
+++ b/editors/abiword/files/patch-src_pkg_linux_rpm_data_abiword.desktop
@@ -1,14 +1,11 @@
---- src/pkg/linux/rpm/data/abiword.desktop.orig Sun Dec 8 19:56:43 2002
-+++ src/pkg/linux/rpm/data/abiword.desktop Sat Feb 22 00:25:22 2003
-@@ -8,9 +8,9 @@
- Comment[fr]=Traitement de texte AbiWord
- Comment[pt]=Processador de Texto Abiword
- Comment[sv]=Ordbehandlaren Abiword
--Exec=abiword-2.0
-+Exec=AbiWord-2.0
+--- src/pkg/linux/rpm/data/abiword.desktop.orig Sun Apr 6 14:45:19 2003
++++ src/pkg/linux/rpm/data/abiword.desktop Sun Apr 20 00:33:09 2003
+@@ -12,7 +12,7 @@
Icon=abiword_48.png
Terminal=0
Type=Application
-Categories=Application;Office;WordProcessor;X-Red-Hat-Base;
+Categories=Application;Office;WordProcessor;
StartupNotify=true
+ Encoding=UTF-8
+ X-Desktop-File-Install-Version=0.3
diff --git a/editors/abiword/pkg-message b/editors/abiword/pkg-message
deleted file mode 100644
index 7b2e5c2657f4..000000000000
--- a/editors/abiword/pkg-message
+++ /dev/null
@@ -1,10 +0,0 @@
-###
-There is currently a bug that can cause AbiWord to crash on startup on
-FreeBSD -CURRENT. To workaround this bug, issue the following the command
-as root:
-
-ln -s aj /etc/malloc.conf
-
-More details on this bug can be found at
-http://bugzilla.abisource.com/show_bug.cgi?id=4750.
-###
diff --git a/editors/abiword/pkg-plist b/editors/abiword/pkg-plist
index fec069a0efb4..f5d66a2cca26 100644
--- a/editors/abiword/pkg-plist
+++ b/editors/abiword/pkg-plist
@@ -2,7 +2,11 @@ bin/AbiWord-2.0
bin/abiword
bin/ttfadmin.sh
bin/ttftool
+%%GNOME:%%libdata/bonobo/servers/GNOME_AbiWord_Control_2_0.server
+share/AbiSuite-2.0/AbiWord.exe.MANIFEST
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_Break.glade
+share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_Field.glade
+share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_FormatTable.glade
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_HdrFtr.glade
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_InsertTable.glade
share/AbiSuite-2.0/AbiWord/glade/ap_UnixDialog_Insert_DateTime.glade
@@ -47,6 +51,7 @@ share/AbiSuite-2.0/AbiWord/strings/pt-BR.strings
share/AbiSuite-2.0/AbiWord/strings/pt-PT.strings
share/AbiSuite-2.0/AbiWord/strings/ro-RO.strings
share/AbiSuite-2.0/AbiWord/strings/ru-RU.strings
+share/AbiSuite-2.0/AbiWord/strings/sc-IT.strings
share/AbiSuite-2.0/AbiWord/strings/sk-SK.strings
share/AbiSuite-2.0/AbiWord/strings/sl-SI.strings
share/AbiSuite-2.0/AbiWord/strings/sq-AL.strings
@@ -128,6 +133,7 @@ share/AbiSuite-2.0/AbiWord/system.profile-zh-CN
share/AbiSuite-2.0/AbiWord/system.profile-zh-TW
share/AbiSuite-2.0/GNOME_AbiWord_Control_2_0.server
share/AbiSuite-2.0/README
+share/AbiSuite-2.0/abi-nautilus-view-file.xml
share/AbiSuite-2.0/clipart/book.png
share/AbiSuite-2.0/clipart/chip.png
share/AbiSuite-2.0/clipart/fun.png
@@ -168,6 +174,7 @@ share/AbiSuite-2.0/templates/Two-Columns.awt
share/AbiSuite-2.0/templates/US-Letter.awt
share/AbiSuite-2.0/templates/normal.awt
share/gnome/apps/Applications/abiword.desktop
+%%GNOME:%%share/gnome/gnome-2.0/ui/abi-nautilus-view-file.xml
share/gnome/pixmaps/abiword_48.png
@dirrm share/AbiSuite-2.0/templates
@dirrm share/AbiSuite-2.0/icons