summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-02-07 18:03:15 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-02-07 18:03:15 +0100
commit169a28cc23d11eddcae54c09c724af0c67a6ad2f (patch)
treeedcc2c85d9bec1558e3075011b66b9de50c803e4
parentea9267665df2cb3022cf6b136f4ab05b409748b9 (diff)
downloadlogdiag-169a28cc23d11eddcae54c09c724af0c67a6ad2f.tar.gz
logdiag-169a28cc23d11eddcae54c09c724af0c67a6ad2f.tar.xz
logdiag-169a28cc23d11eddcae54c09c724af0c67a6ad2f.zip
Define github as the homepage for logdiag.
-rw-r--r--CMakeLists.txt6
-rw-r--r--config.h.in1
-rw-r--r--src/ld-window-main.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5fd79cc..cb9e30d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@ else (OPTION_NOINSTALL)
set (OPTION_NOINSTALL 0)
endif (OPTION_NOINSTALL)
-# Version
+# Project information
set (project_VERSION_MAJOR "0")
set (project_VERSION_MINOR "0")
set (project_VERSION_PATCH "1")
@@ -22,6 +22,8 @@ set (project_VERSION "${project_VERSION_MAJOR}")
set (project_VERSION "${project_VERSION}.${project_VERSION_MINOR}")
set (project_VERSION "${project_VERSION}.${project_VERSION_PATCH}")
+set (project_URL "http://github.com/pjanouch/logdiag")
+
# For custom modules
set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
@@ -309,10 +311,12 @@ set (CPACK_NSIS_DELETE_ICONS_EXTRA
set (CPACK_DEBIAN_PACKAGE_DEPENDS "libgtk2.0-0 (>= 2.12), libjson-glib-1.0-0 (>= 0.10.4), liblua5.1-0, librsvg2-common")
set (CPACK_DEBIAN_PACKAGE_BUILDS_DEPENDS "libgtk2.0-dev (>= 2.12), libjson-glib-dev (>= 0.10.4), liblua5.1-0-dev")
set (CPACK_DEBIAN_PACKAGE_SECTION "Electronics")
+set (CPACK_DEBIAN_PACKAGE_HOMEPAGE "${project_URL}")
set (CPACK_RPM_PACKAGE_REQUIRES "gtk2 >= 2.12, json-glib >= 0.10.4, lua = 5.1, librsvg2")
set (CPACK_RPM_PACKAGE_GROUP "Graphics")
set (CPACK_RPM_PACKAGE_LICENSE "BSD")
+set (CPACK_RPM_PACKAGE_URL "${project_URL}")
set (CPACK_SOURCE_GENERATOR "TGZ;ZIP")
set (CPACK_SOURCE_IGNORE_FILES "/.git;/build;/win32-depends;/liblogdiag/ld-marshal.[ch]")
diff --git a/config.h.in b/config.h.in
index 43b5f30..5ebdc87 100644
--- a/config.h.in
+++ b/config.h.in
@@ -10,6 +10,7 @@
#define PROJECT_NAME "${PROJECT_NAME}"
#define PROJECT_VERSION "${project_VERSION}"
+#define PROJECT_URL "${project_URL}"
#if ${OPTION_NOINSTALL}
/* For developers. */
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index 1bb7827..0c671ed 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -843,6 +843,7 @@ on_action_about (GtkAction *action, LdWindowMain *self)
"program-name", PROJECT_NAME,
"version", PROJECT_VERSION,
"copyright", "Copyright Přemysl Janouch 2010 - 2011",
+ "website", PROJECT_URL,
NULL);
}