svn commit: r347327 - in head/databases/glom: . files

Koop Mast kwm at FreeBSD.org
Thu Mar 6 21:45:37 UTC 2014


Author: kwm
Date: Thu Mar  6 21:45:35 2014
New Revision: 347327
URL: http://svnweb.freebsd.org/changeset/ports/347327
QAT: https://qat.redports.org/buildarchive/r347327/

Log:
  Unbreak on 10+
  Stagify. Add USES=desktop-file-utils and libtool.

Added:
  head/databases/glom/files/patch-glom_frame-glom.cc   (contents, props changed)
  head/databases/glom/files/patch-glom_mode-design_fields_box-db-table-definition.cc   (contents, props changed)
  head/databases/glom/files/patch-glom_mode-design_layout_layout-item-dialogs_box-formatting.cc   (contents, props changed)
Modified:
  head/databases/glom/Makefile
  head/databases/glom/pkg-plist

Modified: head/databases/glom/Makefile
==============================================================================
--- head/databases/glom/Makefile	Thu Mar  6 21:17:15 2014	(r347326)
+++ head/databases/glom/Makefile	Thu Mar  6 21:45:35 2014	(r347327)
@@ -4,7 +4,7 @@
 
 PORTNAME=	glom
 PORTVERSION=	1.12.2
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	databases gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome2
@@ -29,7 +29,8 @@ RUN_DEPENDS=	${LOCALBASE}/libdata/pkgcon
 USE_BZIP2=	yes
 USE_PYTHON=	yes
 GNU_CONFIGURE=	yes
-USES=		gettext pathfix shared-mime-info gmake pkgconfig
+USES=		desktop-file-utils gettext gmake libtool pathfix pkgconfig \
+		shared-mime-info
 USE_GNOME=	gnomedocutils gnomeprefix pygnomeextras
 USE_LDCONFIG=	yes
 USE_PGSQL=	yes
@@ -43,5 +44,8 @@ INSTALLS_ICONS=	yes
 BUILD_DEPENDS+=	postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
 RUN_DEPENDS+=	postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
 
-NO_STAGE=	yes
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libglom-1.12.so.0.0.0
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/glom_1_12.so 
+
 .include <bsd.port.mk>

Added: head/databases/glom/files/patch-glom_frame-glom.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/glom/files/patch-glom_frame-glom.cc	Thu Mar  6 21:45:35 2014	(r347327)
@@ -0,0 +1,11 @@
+--- glom/frame_glom.cc.orig	2014-03-06 22:06:42.000000000 +0100
++++ glom/frame_glom.cc	2014-03-06 22:06:55.000000000 +0100
+@@ -1583,7 +1583,7 @@
+   //Get the fields information from the database:
+   Base_DB::type_vec_fields fieldsDatabase = Base_DB::get_fields_for_table_from_database(m_table_name);
+ 
+-  Document* pDoc = dynamic_cast<const Document*>(get_document());
++  Document* pDoc = dynamic_cast<Document*>(get_document());
+   if(pDoc)
+   {
+     bool document_must_be_updated = false;

Added: head/databases/glom/files/patch-glom_mode-design_fields_box-db-table-definition.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/glom/files/patch-glom_mode-design_fields_box-db-table-definition.cc	Thu Mar  6 21:45:35 2014	(r347327)
@@ -0,0 +1,13 @@
+--- glom/mode_design/fields/box_db_table_definition.cc.orig	2014-03-06 22:10:39.000000000 +0100
++++ glom/mode_design/fields/box_db_table_definition.cc	2014-03-06 22:16:25.000000000 +0100
+@@ -143,8 +143,8 @@
+       const sharedptr<const Field>& field = *iter;
+ 
+       //Name:
+-      Gtk::TreeModel::iterator iter= m_AddDel.add_item(field->get_name());
+-      fill_field_row(iter, field);
++      Gtk::TreeModel::iterator tree_iter= m_AddDel.add_item(field->get_name());
++      fill_field_row(tree_iter, field);
+     }
+ 
+     result = true;

Added: head/databases/glom/files/patch-glom_mode-design_layout_layout-item-dialogs_box-formatting.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/glom/files/patch-glom_mode-design_layout_layout-item-dialogs_box-formatting.cc	Thu Mar  6 21:45:35 2014	(r347327)
@@ -0,0 +1,13 @@
+--- glom/mode_design/layout/layout_item_dialogs/box_formatting.cc.orig	2014-03-06 22:26:17.000000000 +0100
++++ glom/mode_design/layout/layout_item_dialogs/box_formatting.cc	2014-03-06 22:26:37.000000000 +0100
+@@ -187,8 +187,8 @@
+     {
+       //Display the value in the choices list as it would be displayed in the format:
+       const Glib::ustring value_text = Conversions::get_text_for_gda_value(m_field->get_glom_type(), *iter, format.m_numeric_format);
+-      Gtk::TreeModel::iterator iter = m_adddel_choices_custom->add_item(value_text);
+-      m_adddel_choices_custom->set_value(iter, m_col_index_custom_choices, value_text);
++      Gtk::TreeModel::iterator tree_iter = m_adddel_choices_custom->add_item(value_text);
++      m_adddel_choices_custom->set_value(tree_iter, m_col_index_custom_choices, value_text);
+     }
+ 
+     m_radiobutton_choices_custom->set_active(format.get_has_custom_choices());

Modified: head/databases/glom/pkg-plist
==============================================================================
--- head/databases/glom/pkg-plist	Thu Mar  6 21:17:15 2014	(r347326)
+++ head/databases/glom/pkg-plist	Thu Mar  6 21:45:35 2014	(r347327)
@@ -213,7 +213,6 @@ share/locale/sv/LC_MESSAGES/glom.mo
 share/locale/tr/LC_MESSAGES/glom.mo
 share/locale/vi/LC_MESSAGES/glom.mo
 share/locale/zh_CN/LC_MESSAGES/glom.mo
-share/mime/application/x-glom.xml
 share/mime/packages/glom.xml
 share/omf/glom/glom-C.omf
 share/omf/glom/glom-de.omf


More information about the svn-ports-all mailing list