public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/avogadro/files: 1.0.1-gl2ps.patch
@ 2010-05-21 15:33 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-05-21 15:33 UTC (permalink / raw
  To: gentoo-commits

jlec        10/05/21 15:33:29

  Added:                1.0.1-gl2ps.patch
  Log:
  Version Bump, unbundle gl2ps, fix for PYTHON ABI #316169
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-chemistry/avogadro/files/1.0.1-gl2ps.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/avogadro/files/1.0.1-gl2ps.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/avogadro/files/1.0.1-gl2ps.patch?rev=1.1&content-type=text/plain

Index: 1.0.1-gl2ps.patch
===================================================================
diff --git a/avogadro/src/CMakeLists.txt b/avogadro/src/CMakeLists.txt
index 75b6dfb..d87ac2c 100644
--- a/avogadro/src/CMakeLists.txt
+++ b/avogadro/src/CMakeLists.txt
@@ -45,7 +45,7 @@ endif(ENABLE_UPDATE_CHECKER)
 FILE(GLOB projectDelegates_SRCS "projectdelegates/*.cpp")
 set(avogadro_SRCS ${avogadro_SRCS} ${projectDelegates_SRCS})
 # Add GL2PS to the executable
-set(avogadro_SRCS ${avogadro_SRCS} "../gl2ps/gl2ps.c")
+#set(avogadro_SRCS ${avogadro_SRCS} "../gl2ps/gl2ps.c")
 
 if( WIN32 )
   set(avogadro_SRCS ${avogadro_SRCS} windows/avogadro.rc)
diff --git a/avogadro/src/mainwindow.cpp b/avogadro/src/mainwindow.cpp
index 66785fd..2933953 100644
--- a/avogadro/src/mainwindow.cpp
+++ b/avogadro/src/mainwindow.cpp
@@ -51,7 +51,7 @@
 //#endif
 
 // Include the GL2PS header
-#include "../gl2ps/gl2ps.h"
+#include <gl2ps.h>
 
 #include <avogadro/pluginmanager.h>
 
diff --git a/libavogadro/src/CMakeLists.txt b/libavogadro/src/CMakeLists.txt
index cce8ece..cc084fb 100644
--- a/libavogadro/src/CMakeLists.txt
+++ b/libavogadro/src/CMakeLists.txt
@@ -152,7 +152,7 @@ endforeach(headerFile ${libavogadro_HDRS})
 add_library(avogadro SHARED ${libavogadro_SRCS} ${libavogadro_QM} ${pythontool_RC_SRCS})
 set_target_properties(avogadro
   PROPERTIES VERSION ${Avogadro_VERSION_FULL} SOVERSION 1 )
-target_link_libraries(avogadro ${AVO_LINK_LIBRARIES})
+target_link_libraries(avogadro ${AVO_LINK_LIBRARIES} gl2ps)
 
 install(TARGETS avogadro DESTINATION ${LIB_INSTALL_DIR})
 install(FILES ${libavogadro_HDRS}






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-21 10:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-21 15:33 [gentoo-commits] gentoo-x86 commit in sci-chemistry/avogadro/files: 1.0.1-gl2ps.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox