Package: avogadro
Version: 1.0.3-3.1
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd
Hi,
currently[1], avogadro does not build on hurd-i386.
The problem is that the .desktop file and its icon are not installed
on Hurd, so dh_install fails to install them.
Attached there is a patch which I also forwarded upstream (see [2]).
[1]
https://buildd.debian.org/status/fetch.php?pkg=avogadro&arch=hurd-i386&ver=1.0.3-3.1&stamp=1328631588
[2]
https://sourceforge.net/tracker/?func=detail&aid=3485433&group_id=165310&atid=835079
Thanks,
--
Pino
--- a/avogadro/src/CMakeLists.txt
+++ b/avogadro/src/CMakeLists.txt
@@ -169,10 +169,10 @@
endif(APPLE AND ENABLE_AVO_PACKAGE)
# Install a .desktop file and icon for Linux users
-if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD)
+if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD OR CMAKE_SYSTEM_NAME STREQUAL GNU)
install(FILES "avogadro.desktop" DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES "icons/avogadro-icon.png" DESTINATION ${XDG_ICON_INSTALL_DIR})
-endif(CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD)
+endif(CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD OR CMAKE_SYSTEM_NAME STREQUAL GNU)
#add_subdirectory(projectplugins)