Mercurial > hg > forks > UniversalIndentGUI
changeset 612:e877a8d5c6b3
Added files for creating debian packages. How to build with these files read at: http://wiki.ubuntu.com/PackagingGuide/Complete. Normally calling "debuild -us -uc" and "debuild -S -us -uc" in the debian dir will do it.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@871 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Mon, 27 Oct 2008 16:24:22 +0000 |
parents | 729d1ad18e9b |
children | 979dbc8fb5be |
files | debian/README.Debian debian/changelog debian/compat debian/control debian/copyright debian/dirs debian/docs debian/files debian/menu debian/rules |
diffstat | 10 files changed, 201 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/README.Debian Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,6 @@ +universalindentgui for Debian +----------------------------- + +<possible notes regarding this package - if none, delete this file> + + -- ts <mail@thomas-schweitzer.de> Mon, 27 Oct 2008 13:50:16 +0100
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/changelog Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,21 @@ +universalindentgui (1.0.1-1) unstable; urgency=low + + * New upstream release + + -- Thomas Schweitzer <mail@thomas-schweitzer.de> Mon, 27 Oct 2008 12:35:20 +0100 + +universalindentgui (0.8.1-1) unstable; urgency=low + + * New upstream release + * debian/rules: Do not delete perltidy as it's no longer shipped + * debian/rules: Cleanup extended + + -- Sebastian Pipping <webmaster@hartwork.org> Wed, 02 April 2008 04:45:00 +0100 + +universalindentgui (0.8.0-1) unstable; urgency=low + + * Initial release (Closes: #459671) + * Add man page missing in release archive (svn revision 603 plus fixes) + + -- Sebastian Pipping <webmaster@hartwork.org> Tue, 08 Jan 2008 15:13:53 +0100 +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/compat Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,1 @@ +7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/control Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,21 @@ +Source: universalindentgui +Section: devel +Priority: optional +Maintainer: Thomas Schweitzer <mail@thomas-schweitzer.de> +Build-Depends: debhelper (>= 7), libqt4-dev (>= 4.4), libqscintilla2-dev +Standards-Version: 3.7.3 +Uploaders: Marcela Tiznado <mlt@debian.org> +Homepage: http://universalindent.sourceforge.net/ + +Package: universalindentgui +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: astyle, bcpp, csstidy, hindent, indent, tidy, uncrustify (>= 0.50), xmlindent +Description: GUI frontend for nearly any code beautifier + UniversalIndentGui is a GUI fontend for nearly any code beautifier, currently + supporting Artistic Style (Astyle), BCPP, CSSTidy, GNU Indent, GreatCode, + HTML Tidy, PerlTidy, phpCodeBeautifier (phpCB) and Uncrustify. + UniversalIndentGui allows you to tune a beautifier's configuration and see + how the changes affects a source example live. It is especially useful to + compare different C/C++ beautifiers when you have to choose one of them. +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/copyright Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,44 @@ +This package was debianized by Thomas Schweitzer <mail@thomas-schweitzer.de> on +Mon, 27 Oct 2008 12:35:20 +0100. + +It was downloaded from: + + <http://downloads.sourceforge.net/universalindent/universalindentgui-1.0.1.tar.gz> + +And the project homepage is: + + <http://universalindent.sourceforge.net/> + +Upstream Author: + + Thomas Schweitzer <thomas_-_s@users.sourceforge.net> + +Copyright: + + <Copyright (C) YYYY Name OfAuthor> + <likewise for another author> + +License: + + - The sources of UniversalIndentGui are: + + | Copyright (c) 2006-2008, Thomas Schweitzer + + | This program is free software; you can redistribute it and/or modify + | it under the terms of the GNU General Public License version 2.0 as + | published by the Free Software Foundation. + | + | This program is distributed in the hope that it will be useful, + | but WITHOUT ANY WARRANTY; without even the implied warranty of + | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + | GNU General Public License for more details. + | + | You should have received a copy of the GNU General Public License + | along with this program; if not, write to the Free Software + | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + +The Debian packaging is (C) 2008, Thomas Schweitzer <mail@thomas-schweitzer.de> and +is licensed under the GPL 2, see `/usr/share/common-licenses/GPL-2'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dirs Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,2 @@ +usr/bin +usr/sbin
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/docs Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,3 @@ +CHANGELOG.txt +INSTALL.txt +readme.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/files Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,1 @@ +universalindentgui_1.0.1-1_i386.deb devel optional
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/menu Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,6 @@ +?package(universalindentgui):\ + needs="X11"\ + section="Applications/Programming"\ + title="UniversalIndentGUI"\ + command="/usr/bin/universalindentgui" +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/rules Mon Oct 27 16:24:22 2008 +0000 @@ -0,0 +1,96 @@ +#!/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 + + + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + qmake-qt4 + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/universalindentgui.sgml > universalindentgui.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + #$(MAKE) clean + [ ! -f Makefile ] || $(MAKE) clean + rm -Rfv debug release + rm -fv translations/*.qm Makefile.* Makefile + rm -fv doc/universalindentgui.1.gz + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/universalindentgui. + $(MAKE) DESTDIR=$(CURDIR)/debian/universalindentgui install + + +# 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.txt + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + 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