# HG changeset patch
# User insilmaril
# Date 1124437351 0
# Node ID 32dec8762b2dd7a6ed620760d89e46e298efc825
# Parent  7f06b2e3afb514432bb4f207cedac0f6a41ed5e0
added license in new aboutwindow and debian subdir by Steffen Joeris

diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/changelog	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,6 @@
+vym (1.7.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de>  Thu,  4 Aug 2005 17:58:32 +0200
+
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/compat
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/compat	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,1 @@
+4
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/control
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/control	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,13 @@
+Source: vym
+Section: kde
+Priority: optional
+Maintainer: Steffen Joeris <steffen.joeris@skolelinux.de>
+Build-Depends: debhelper (>= 4.0.0), dpatch, libqt3-mt-dev
+Standards-Version: 3.6.2.1
+
+Package: vym
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: view your mind
+ Vym is a mind mapping program. It is
+ useful to organize thoughts and do structure work.
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/copyright
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/copyright	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,25 @@
+This package was debianized by Steffen Joeris <steffen.joeris@skolelinux.de> on
+Thu,  4 Aug 2005 17:58:32 +0200.
+
+It was downloaded from 
+http://sourceforge.net/projects/vym
+
+Copyright Holder: Uwe Drechsel <vym@insilmaril.de>
+
+License:
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License, version 2
+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
+MERCHANDABILITY of FITNESS FOR A PARTICULAR PURPOSE.
+See the GNU General Public License for 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/dirs
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/dirs	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,4 @@
+usr/bin
+usr/share
+usr/share/vym
+usr/share/applications
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/docs
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/docs	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,1 @@
+doc/vym.pdf
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/menu
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/menu	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,8 @@
+?package(vym):needs="X11" \
+  section="Apps/Education" \
+  hints="Kde" \
+  title="Vym" \
+  longtitle="View your mind" \
+  command="/usr/bin/vym" \
+  icon="/usr/share/vym/icons/vym.xpm"
+
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/patches/00list
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/patches/00list	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,2 @@
+# Make the package debianlike
+10-debianlike
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/patches/10-debianlike.dpatch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/patches/10-debianlike.dpatch	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,55 @@
+#!/bin/sh -e
+## 10-debianlike.dpatch by Steffen Joeris <steffen.joeris@skolelinux.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Here we make vym debianlike :=)
+
+if [ $# -lt 1 ]; then
+echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+case "$1" in
+      -patch) patch $patch_opts -p1 < $0;;
+      -unpatch) patch $patch_opts -p1 -R < $0;;
+      *)
+      echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+      exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+--- Makefile.org	2005-08-05 17:37:51.546689964 +0200
++++ vym-1.7.0/Makefile	2005-08-05 17:34:24.950701764 +0200
+@@ -172,7 +172,8 @@
+ 		moc_editxlinkdialog.o
+ DIST	   = vym.pro
+ QMAKE_TARGET = vym
+-DESTDIR  = 
++DESTDIR  = debian/vym
++INSTALL_ROOT= $(DESTDIR)
+ TARGET   = vym
+ 
+ first: all
+@@ -822,13 +823,13 @@
+ 
+ 
+ install_doc: all 
+-	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
+-	-$(INSTALL_FILE) "doc/vym.pdf" "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
++	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/doc/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/doc/vym/"
++	-$(INSTALL_FILE) "doc/vym.pdf" "$(INSTALL_ROOT)/usr/share/doc/vym/"
+ 
+ 
+ uninstall_doc: 
+-	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/packages/vym/vym.pdf"
+-	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
++	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/vym/vym.pdf"
++	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/doc/vym/"
+ 
+ 
+ install_demo: all 
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/rules
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/rules	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,89 @@
+#!/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
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	qmake
+	dpatch apply-all
+	make
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/vym.sgml > vym.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	rm -rf debian/patched
+	rm -rf vym
+	dpatch deapply-all
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	install -m 644 vym.desktop debian/vym/usr/share/applications/vym.desktop
+	# Add here commands to install the package into debian/vym.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/vym
+
+
+# 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 
+	dh_installdocs
+	dh_installman
+	dh_installmenu
+	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
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/vym.1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/vym.1	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,28 @@
+.TH vym 8 "August 5, 2005" vym 8
+.SH NAME
+vym \- View your mind
+.SH SYNOPSIS
+.B vym
+.SH DESCRIPTION
+This manual page documents briefly the
+.B vym
+program
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBvym\fP is a program that makes mindmapping possible. It is based on qt
+and it can be used by everyone for structure work.
+.SH OPTIONS
+For more information, see /usr/share/vym/doc/vym.pdf .
+.TP
+.B \-h, \-\-help
+Show a small help.
+.TP
+.B \-v, \-\-version
+Show version of vym.
+.SH AUTHOR
+vym was written by <Uwe Drechsel>.
+.PP
+This manual page was written by Steffen Joeris <steffen.joeris@skolelinux.de>,
+for the Debian project (but may be used by others).
diff -r 7f06b2e3afb5 -r 32dec8762b2d debian/vym.manpages
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/vym.manpages	Fri Aug 19 07:42:31 2005 +0000
@@ -0,0 +1,1 @@
+debian/vym.1