rpms/openvrml/F-8 openvrml-player-visibility.patch, NONE, 1.1 openvrml.spec, 1.39, 1.40

Braden McDaniel (braden) fedora-extras-commits at redhat.com
Sun Jun 22 07:31:59 UTC 2008


Author: braden

Update of /cvs/pkgs/rpms/openvrml/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9692/F-8

Modified Files:
	openvrml.spec 
Added Files:
	openvrml-player-visibility.patch 
Log Message:
Make symbols for libglade callbacks in openvrml-player visible.

openvrml-player-visibility.patch:

--- NEW FILE openvrml-player-visibility.patch ---
Index: src/openvrml-player/player.cpp
===================================================================
--- src/openvrml-player/player.cpp	(revision 3483)
+++ src/openvrml-player/player.cpp	(working copy)
@@ -46,14 +46,16 @@
     // GTK+ signal handlers; libglade needs them to have external linkage in
     // order to connect them.
     //
-    void openvrml_player_on_about_activated(GtkWindow * window);
-    void openvrml_player_on_file_open_activated(
+    OPENVRML_API void openvrml_player_on_about_activated(GtkWindow * window);
+    OPENVRML_API void openvrml_player_on_file_open_activated(
         OpenvrmlPlayerFileChooserDialog * dialog);
-    void openvrml_player_on_locationentry_activated(GtkEntry * entry);
-    void openvrml_player_on_filechooserdialog_response(GtkDialog * dialog,
-                                                       gint arg1,
-                                                       gpointer user_data);
-    void openvrml_player_quit();
+    OPENVRML_API void
+    openvrml_player_on_locationentry_activated(GtkEntry * entry);
+    OPENVRML_API void
+    openvrml_player_on_filechooserdialog_response(GtkDialog * dialog,
+                                                  gint arg1,
+                                                  gpointer user_data);
+    OPENVRML_API void openvrml_player_quit();
 
     //
     // The following functions are 'extern "C"' because they get passed as


Index: openvrml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openvrml/F-8/openvrml.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- openvrml.spec	20 Jun 2008 09:10:04 -0000	1.39
+++ openvrml.spec	22 Jun 2008 07:30:11 -0000	1.40
@@ -1,11 +1,12 @@
 # -*- rpm-spec -*-
 Name:           openvrml
 Version:        0.17.6
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        VRML/X3D runtime library
 License:        LGPLv3+
 Group:          System Environment/Libraries
 Source:         http://downloads.sf.net/openvrml/%{name}-%{version}.tar.gz
+Patch:          openvrml-player-visibility.patch
 URL:            http://openvrml.org
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  pkgconfig >= 0.12.0
@@ -94,6 +95,7 @@
 
 %prep
 %setup
+%patch -p0
 
 %build
 CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden"
@@ -171,6 +173,9 @@
 
 
 %changelog
+* Sun Jun 22 2008  Braden McDaniel  <braden at endoframe.com> - 0.17.6-2
+- Make symbols for libglade callbacks in openvrml-player visible.
+
 * Fri Jun 20 2008  Braden McDaniel  <braden at endoframe.com> - 0.17.6-1
 - Updated to 0.17.6.
 - Build with -fvisibility=hidden -fvisibility-inlines-hidden




More information about the fedora-extras-commits mailing list