From 0bc8976d74296abf35a954b141062ec69310e979 Mon Sep 17 00:00:00 2001 From: Jason Tan Date: Thu, 25 Aug 2005 02:08:15 +0000 Subject: [PATCH] added files to debian/ for deb. pkg. building git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@177 7f574dfc-610e-0410-a909-a81674777703 --- debian/changelog | 7 +++++ debian/compat | 1 + debian/control | 19 ++++++++++++ debian/copyright | 14 +++++++++ debian/docs | 3 ++ debian/menu | 2 ++ debian/rules | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 136 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/menu create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d8232be --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +conky (1.3.0-1) unstable; urgency=low + + * Initial Release. + * This is my first Debian Package, hopefully it works. + + -- Jason Tan Wed, 24 Aug 2005 00:10:49 -0700 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4f67145 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: conky +Section: utils +Priority: optional +Maintainer: Jason Tan +Build-Depends: debhelper (>= 4.0.0), xlibs-dev, libtool (>= 1.5.6), automake1.9, autoconf (>= 2.59) +Build-Conflicts: autoconf2.13, automake1.4 +Standards-Version: 3.6.1 + +Package: conky +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: highly configurable system monitor for X based on torsmo + Conky is a system monitor for X originally based on the torsmo code. + Since its original conception, Conky has changed a fair bit from its + predecessor. Conky can display just about anything, either on your + root desktop or in its own window. Conky has many built-in objects, + as well as the ability to execute programs and scripts, then display + the output from stdout. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d90f04e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Jason Tan on +Wed, 24 Aug 2005 00:10:49 -0700. + +It was downloaded from http://www.sourceforge.net/projects/conky + +Copyright: This software is copyright (c) 2004-2005 by Brenden Matthews. + +Upstream Author: Brenden Matthews + +You are free to distribute this software under the terms +of the BSD License. +On Debian systems, the complete text of the +BSD License can be found in the file `/usr/share/common-licenses/BSD'. + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..5502ed8 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO diff --git a/debian/menu b/debian/menu new file mode 100644 index 0000000..cfab3f7 --- /dev/null +++ b/debian/menu @@ -0,0 +1,2 @@ +?package(conky):needs="text" section="Apps/Tools"\ + title="Conky" command="/usr/bin/conky" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b03e89f --- /dev/null +++ b/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + aclocal-1.9 + libtoolize --force + autoheader + automake-1.9 -a + autoconf + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + $(MAKE) +#docbook-to-man debian/conky.sgml > conky.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/conky + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs AUTHORS README TODO + dh_installexamples doc/conkyrc.sample + dh_installmenu + dh_installman doc/conky.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure -- 1.7.9.5