aboutsummaryrefslogtreecommitdiff
path: root/math/gnumeric2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-14 18:44:26 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-14 18:44:26 +0000
commite430a06dc70e892eb51a1ca34872023d2f85258a (patch)
tree8defa4c6dcf4bfb2a7437bbece149406a182b02d /math/gnumeric2
parenta8fdbc0ec0ec506b2c4ec66e265c0009a3955260 (diff)
downloadports-e430a06dc70e892eb51a1ca34872023d2f85258a.tar.gz
ports-e430a06dc70e892eb51a1ca34872023d2f85258a.zip
* Fix a problem importing text files [1]
* Convert to new GNOME infrastructure Reported by: Kevin Oberman <oberman@es.net> [1] Obtained from: Gnumeric CVS [1]
Notes
Notes: svn path=/head/; revision=78974
Diffstat (limited to 'math/gnumeric2')
-rw-r--r--math/gnumeric2/Makefile11
-rw-r--r--math/gnumeric2/files/patch-src_dialogs_dialog-stf.glade132
2 files changed, 135 insertions, 8 deletions
diff --git a/math/gnumeric2/Makefile b/math/gnumeric2/Makefile
index e260100b624c..915f6efda6ca 100644
--- a/math/gnumeric2/Makefile
+++ b/math/gnumeric2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnumeric2
PORTVERSION= 1.1.16
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/1.1
@@ -17,17 +17,13 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= The GNOME 2 spreadsheet
-LIB_DEPENDS= gnomeprintui-2-2.0:${PORTSDIR}/x11-toolkits/libgnomeprintui \
- gal-2.0.1:${PORTSDIR}/x11-toolkits/gal2 \
- gda-2.1:${PORTSDIR}/databases/libgda2 \
- gsf-1.8:${PORTSDIR}/devel/libgsf
+LIB_DEPENDS= gsf-1.8:${PORTSDIR}/devel/libgsf
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_PERL5= yes
USE_GMAKE= yes
-USE_GNOMENG= yes
-USE_GNOME= gnomeprefix gnomehack gnomehier
+USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeprintui gal2 libgda2
USE_PYTHON= yes
USE_REINPLACE= yes
USE_LIBTOOL= yes
@@ -35,7 +31,6 @@ CONFIGURE_ARGS= --without-guile --with-bonobo
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \
DEFS="-I${X11BASE}/include/gal-2.0"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
PLIST_SUB= VERSION=${PORTVERSION}-bonobo
diff --git a/math/gnumeric2/files/patch-src_dialogs_dialog-stf.glade b/math/gnumeric2/files/patch-src_dialogs_dialog-stf.glade
new file mode 100644
index 000000000000..82bc0c084190
--- /dev/null
+++ b/math/gnumeric2/files/patch-src_dialogs_dialog-stf.glade
@@ -0,0 +1,132 @@
+--- src/dialogs/dialog-stf.glade.orig Mon Apr 14 14:41:34 2003
++++ src/dialogs/dialog-stf.glade Mon Apr 14 14:41:38 2003
+@@ -23,7 +23,7 @@
+ <widget class="GnomeDruidPageStandard" id="main_page">
+ <property name="visible">True</property>
+ <property name="title" translatable="yes">Data type and number of lines</property>
+- <property name="logo">stf-druid.png</property>
++ <property name="logo">../../../pixmaps/gnumeric/stf-druid.png</property>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="vbox1">
+@@ -123,7 +123,7 @@
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Trim leading and trailing spaces from each column, if you are unsure you should leave this at the default setting.</property>
+ <property name="can_focus">True</property>
+- <property name="history">-1</property>
++ <property name="history">0</property>
+
+ <child internal-child="menu">
+ <widget class="GtkMenu" id="convertwidget1">
+@@ -132,18 +132,24 @@
+ <child>
+ <widget class="GtkMenuItem" id="convertwidget2">
+ <property name="visible">True</property>
++ <property name="label" translatable="yes">Always (Both Sides)</property>
++ <property name="use_underline">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="convertwidget3">
+ <property name="visible">True</property>
++ <property name="label" translatable="yes">Never</property>
++ <property name="use_underline">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="convertwidget4">
+ <property name="visible">True</property>
++ <property name="label" translatable="yes">On left side only</property>
++ <property name="use_underline">True</property>
+ </widget>
+ </child>
+
+@@ -451,7 +457,7 @@
+ <widget class="GnomeDruidPageStandard" id="csv_page">
+ <property name="visible">True</property>
+ <property name="title" translatable="yes">Separation customization</property>
+- <property name="logo">stf-druid.png</property>
++ <property name="logo">../../../pixmaps/gnumeric/stf-druid.png</property>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="vbox4">
+@@ -1107,7 +1113,7 @@
+ <widget class="GnomeDruidPageStandard" id="fixed_page">
+ <property name="visible">True</property>
+ <property name="title" translatable="yes">Fixed width customization</property>
+- <property name="logo">stf-druid.png</property>
++ <property name="logo">../../../pixmaps/gnumeric/stf-druid.png</property>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="vbox7">
+@@ -1169,7 +1175,7 @@
+ <widget class="GtkCList" id="fixed_collist">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+- <property name="n_columns">1</property>
++ <property name="n_columns">2</property>
+ <property name="column_widths">80</property>
+ <property name="selection_mode">GTK_SELECTION_SINGLE</property>
+ <property name="show_titles">True</property>
+@@ -1177,19 +1183,32 @@
+
+ <child>
+ <widget class="GtkLabel" id="label14">
+- <property name="visible">True</property>
+ <property name="label" translatable="yes">Column</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+- <property name="xalign">7.45058e-09</property>
++ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
++ <child>
++ <widget class="GtkLabel" id="label15">
++ <property name="label" translatable="yes">End</property>
++ <property name="use_underline">False</property>
++ <property name="use_markup">False</property>
++ <property name="hustify">GTK_JUSTIFY_LEFT</property>
++ <property name="wrap">False</property>
++ <property name="selectable">False</property>
++ <property name="xalign">0</property>
++ <property name="yalign">0.5</property>
++ <property name="xpad">0</property>
++ <property name="ypad">0</property>
++ </widget>
++ </child>
+ </widget>
+ </child>
+ </widget>
+@@ -1509,7 +1528,7 @@
+ <widget class="GnomeDruidPageStandard" id="format_page">
+ <property name="visible">True</property>
+ <property name="title" translatable="yes">Column formatting</property>
+- <property name="logo">stf-druid.png</property>
++ <property name="logo">../../../pixmaps/gnumeric/stf-druid.png</property>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="druid-vbox4">
+@@ -1573,7 +1592,6 @@
+
+ <child>
+ <widget class="GtkLabel" id="label12">
+- <property name="visible">True</property>
+ <property name="label" translatable="yes">Column</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+@@ -1677,7 +1695,6 @@
+
+ <child>
+ <widget class="GtkLabel" id="label8">
+- <property name="visible">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>