]> git.lyx.org Git - features.git/commitdiff
Generate package dependences for debian
authorKornel Benko <kornel@lyx.org>
Sun, 29 May 2011 12:20:23 +0000 (12:20 +0000)
committerKornel Benko <kornel@lyx.org>
Sun, 29 May 2011 12:20:23 +0000 (12:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38881 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/LyxPackaging.cmake
development/cmake/TODO.txt

index 42df695e1b0b29b1ddbed2ae1f626709faf267bc..b2abeaa1466d706d7ba4ac215246ef984ef31488 100644 (file)
@@ -32,19 +32,9 @@ set(CPACK_RPM_PACKAGE_VENDOR "The LyX team")
 set(CPACK_PACKAGE_CONTACT "${PACKAGE_BUGREPORT}")
 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${LYX_PROJECT}-${LYX_INSTALL_SUFFIX}")
 
-# This is experimental, valid on _my_ system (Kornel)
-set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqtgui4 (>= 4.4.3-0)")
-if(ASPELL_FOUND)
-       set(CPACK_DEBIAN_PACKAGE_DEPENDS "libaspell15 (>= 0.60.6-1),${CPACK_DEBIAN_PACKAGE_DEPENDS}")
-endif()
-if(ENCHANT_FOUND)
-       set(CPACK_DEBIAN_PACKAGE_DEPENDS "libenchant1c2a (>= 1.6.0-0),${CPACK_DEBIAN_PACKAGE_DEPENDS}")
-endif()
-if(LYX_EXTERNAL_BOOST)
-       if(Boost_FOUND)
-               set(CPACK_DEBIAN_PACKAGE_DEPENDS "libboost-regex1.40.0 (>= 1.40.0-4),libboost-signals1.40.0 (>= 1.40.0-4),${CPACK_DEBIAN_PACKAGE_DEPENDS}")
-       endif()
-endif()
+# use dpkg-shlibdeps to generate package dependency list.
+set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
+
 #
 # for the next ones, cpack insists on data with values in some file
 set(CPACK_PACKAGE_DESCRIPTION_FILE "${TOP_SRC_DIR}/${LYX_CMAKE_DIR}/LyX_description.txt")
index 4a8af92fd20bad716fd82c01da624a5b8aa0405d..7db28a62c70b7c61c09d107b11832a13568ebca8 100644 (file)
@@ -46,6 +46,7 @@ Features
       - DONE: target for regenaration of lfuns manual would be nice (ie make lfundoc)
       - DONE: target for doxygen generation (ie make doxydoc)
   * DONE: get patch version from configure.ac (regex)
+  * DONE: Automatically generate package dependencies for debian
 
 
 Cleanup