debian/0000755000000000000000000000000012100171732007160 5ustar debian/xsddiagram.install0000644000000000000000000000026212100170177012675 0ustar bin/Debug/XSDDiagram.exe usr/lib/xsddiagram bin/Debug/XSDDiagrams.dll usr/lib/xsddiagram debian/xsddiagram.xpm usr/share/pixmaps debian/xsddiagram.desktop usr/share/applications debian/rules0000755000000000000000000000223512100170526010242 0ustar #!/usr/bin/make -f VER_FULL = $(shell dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-) UPSTREAM_SRC = XSDDiagram-2013-01-23-$(VER_FULL)-Source DEBIAN_SRC_DIR = xsddiagram-$(VER_FULL) DEBIAN_SRC_TAR = xsddiagram_$(VER_FULL).orig.tar.gz $(UPSTREAM_SRC).zip: wget http://regis.cosnier.free.fr/soft/xsddiagram/$@ get-orig-source: $(UPSTREAM_SRC).zip mkdir $(DEBIAN_SRC_DIR) unzip $(UPSTREAM_SRC).zip -d $(DEBIAN_SRC_DIR) # remove junk files: find $(DEBIAN_SRC_DIR) -name "*.exe" -delete find $(DEBIAN_SRC_DIR) -name "*.pdb" -delete GZIP="--best --no-name" tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR) rm -rf $(DEBIAN_SRC_DIR) debian/xsddiagram.1: help2man -n "Xml Schema Definition (XSD) diagram viewer" \ --help-option=-h --output=debian/xsddiagram.1 \ --no-info --version-string=$(VER_FULL) xsddiagram dos2unix debian/xsddiagram.1 override_dh_auto_clean: MONO_IOMAP=all xbuild $(CURDIR)/XSDDiagram2010.sln /target:Clean override_dh_auto_build: MONO_IOMAP=all xbuild $(CURDIR)/XSDDiagram2010.sln override_dh_auto_install: install -D -m0755 $(CURDIR)/debian/xsddiagram.sh $(CURDIR)/debian/xsddiagram/usr/bin/xsddiagram %: dh $@ --with cli debian/xsddiagram.xpm0000644000000000000000000000310312100170177012030 0ustar /* XPM */ static char *xsddiagram[] = { /* columns rows colors chars-per-pixel */ "32 32 23 1", " c black", ". c #201A00", "X c #2A2200", "o c #403400", "O c #635000", "+ c #776100", "@ c #896F00", "# c #8B7100", "$ c #9D8000", "% c #9F8200", "& c #AF8F00", "* c #B79500", "= c #D2AB00", "- c #DDB400", "; c #E6BB00", ": c #E8BD00", "> c #FFD000", ", c #000CFF", "< c #00FF94", "1 c #058EFF", "2 c #BCB7B9", "3 c #FFFCFC", "4 c None", /* pixels */ "44444444444444444444444444444444", "44444444444444444444444444>>4444", "4>>>4444>>>444444444444444>>o 44", "4>>># 4>>>o 4444444444444>>o 44", "44>>>.@>>% 44444444444444>>o 44", "444>>*>>> 44>>>>>444>>>>>>o 44", "444>>>>>o 4>>>4 > o>>4 o>>o 44", "4444>>># 44>>& 444*>: 4>>o 44", "4444>>>> 44>>>>&444>>% 4>>o 44", "444>>>>># 444>>>>>=4>># 4>>o 44", "444>>+>>>. 444$>>>>O>># 4>>o 44", "44>>> O>>* 44444$>>o>># 4>>o 44", "4>>>o >>>OX>444>>- O>>. >>>o 44", ">>>% 44>>>o>>>>>> >>>>;>>o 44", "44 4444 4 444 44", "44444444444444444444444444444444", "444444444444444444444 11111 4444", "4444444444 4 11111 4444", "4444444444 222222 4 4 4444", "44444444 222222 444444444444", "4 4 4 222222 4 4 4444", "4 ,,,, 4 4 4 33333 4444", "4 ,,,, 444444444444 33333 4444", "4 ,,,, 4 444444444444 4444", "4 4 44444444444444444444444", "44444444 4 4444444444444444", "44444444 4 <<<< 4444444444444444", "44444444 <<<< 4444444444444444", "4444444444 <<<< 4444444444444444", "4444444444 4444444444444444", "44444444444444444444444444444444", "44444444444444444444444444444444" }; debian/xsddiagram.manpages0000644000000000000000000000002412100170177013016 0ustar debian/xsddiagram.1 debian/xsddiagram.desktop0000644000000000000000000000036312100170177012702 0ustar [Desktop Entry] Name=XSD Diagram Comment=XML Schema Definition (XSD) diagram viewer GenericName=XSD Diagram Exec=xsddiagram Icon=xsddiagram StartupNotify=false Terminal=false Type=Application Categories=Graphics;2DGraphics;RasterGraphics;GTK; debian/xsddiagram.sh0000644000000000000000000000010412100170177011634 0ustar #!/bin/sh exec /usr/bin/cli /usr/lib/xsddiagram/XSDDiagram.exe "$@" debian/watch0000644000000000000000000000016612100170177010216 0ustar version=3 http://regis.cosnier.free.fr/soft/xsddiagram/XSDDiagram-201[0-9]-[0-9][0-9]-[0-9][0-9]-([0-9.]+)-Source.zip debian/xsddiagram.installcligac.old0000644000000000000000000000003512100170177014613 0ustar /usr/lib/cli/XSDDiagrams.dll debian/changelog0000644000000000000000000000317312100171222011030 0ustar xsddiagram (0.16-1) unstable; urgency=low * New upstream * Remove dh_clean rules, since fixed upstream * Man page version is now fixed -- Mathieu Malaterre Thu, 24 Jan 2013 09:36:31 +0100 xsddiagram (0.15-1) unstable; urgency=low * New upstream * Fix version number in dll -- Mathieu Malaterre Mon, 14 Jan 2013 11:53:48 +0100 xsddiagram (0.14-1) unstable; urgency=low * New upstream * Bump Std-Vers to 3.9.4. no changes needed * simplify clean rule -- Mathieu Malaterre Sun, 13 Jan 2013 17:08:52 +0100 xsddiagram (0.10-1) unstable; urgency=low * New upstream, * Remove DMUA flag, use my @d.o alias * Set Std-Vers to 3.9.3, no changes needed -- Mathieu Malaterre Mon, 09 Apr 2012 17:47:30 +0200 xsddiagram (0.9-2) unstable; urgency=low * Use default C# compiler in all subprojects. Closes: ##627517 -- Mathieu Malaterre Sun, 29 May 2011 18:30:35 +0200 xsddiagram (0.9-1) unstable; urgency=low * New upstream * Use debian default C# compiler. Closes: #627517 -- Mathieu Malaterre Sat, 28 May 2011 19:07:53 +0200 xsddiagram (0.7-1) unstable; urgency=low * New upstream * Add SVG/PNG export * Switch to dpkg-source 3.0 (quilt) format * Update Standards-Version to 3.9.0 (no changes needed) -- Mathieu Malaterre (malat) Thu, 22 Jul 2010 10:48:01 +0200 xsddiagram (0.5-1) unstable; urgency=low * Initial release. (Closes: #571198) -- Mathieu Malaterre (malat) Tue, 23 Feb 2010 18:26:18 +0100 debian/xsddiagram.dirs0000644000000000000000000000001012100170177012157 0ustar usr/bin debian/control0000644000000000000000000000234112100171161010557 0ustar Source: xsddiagram Section: cli-mono Priority: optional Maintainer: Debian CLI Applications Team Uploaders: Mathieu Malaterre Build-Depends: debhelper (>= 7.0.50~), cli-common-dev (>= 0.8~) Build-Depends-Indep: mono-devel, mono-xbuild Standards-Version: 3.9.4 Homepage: http://regis.cosnier.free.fr/?page=XSDDiagram Vcs-Git: git://git.debian.org/pkg-cli-apps/packages/xsddiagram.git Vcs-Browser: http://git.debian.org/?p=pkg-cli-apps/packages/xsddiagram.git Package: xsddiagram Architecture: all Depends: ${cli:Depends}, ${misc:Depends} Description: XML Schema Definition (XSD) diagram viewer XSD Diagram is a XML Schema Definition (XSD) diagram viewer . Features: - Display the elements, the groups and the attributes - Show the text/HTML documentation of element and attribute when available - Print the diagram - Export the diagram to SVG, PNG, JPG and EMF (EMF only with Windows) - Zoom the diagram with the mouse wheel while holding the control key - XML validation based on the loaded XSD file - Registration in the Windows Explorer contextual menu (for Windows only) - Drag'n drop a xsd file or url on the main window header - Command line image generation debian/copyright0000644000000000000000000000101112100170177011106 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: XSDDiagram Upstream-Contact: Regis Cosnier Upstream-Source: http://regis.cosnier.free.fr/?page=XSDDiagram Files: * Copyright: 2006-2008 Regis COSNIER License: GPL-2+ Files: debian/* Copyright: 2010-2012, Mathieu Malaterre License: GPL-2+ License: GPL-2+ On Debian GNU/Linux system you can find the complete text of the GNU General Public License version 2 license in '/usr/share/common-licenses/GPL-2'. debian/source/0000755000000000000000000000000012100170177010462 5ustar debian/source/format0000644000000000000000000000001412100170177011670 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212100170177010360 0ustar 7 debian/xsddiagram.10000644000000000000000000000442312100170766011376 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.1. .TH XSDDIAGRAM "1" "January 2013" "xsddiagram 0.16" "User Commands" .SH NAME xsddiagram \- Xml Schema Definition (XSD) diagram viewer .SH SYNOPSIS .B XSDDiagram.exe [\fI-o output.svg\fR] [\fI-os EXTENSION\fR] [\fI-r RootElement\fR]\fI* \fR[\fI-e N\fR] [\fI-z N\fR] [\fI-y\fR] [\fI-u USERNAME\fR] [\fI-p PASSWORD\fR] [\fIfile.xsd or URL\fR] .SH DESCRIPTION XSD Diagram, version 0.16.0.0 .PP \fB\-o\fR FILE .IP specifies the output image. '.png','.jpg', '.svg' ('.emf' on Windows) are allowed. If not present, the GUI is shown. .PP \fB\-os\fR EXTENSION .IP specifies the output image is streamed through the standard output. EXTENSION can be: png, jpg, svg. If not present, the GUI is shown. .PP \fB\-r\fR ELEMENT .IP specifies the root element of the tree. You can put several \fB\-r\fR options = several root elements in the tree. .PP \fB\-e\fR N .IP specifies the expand level (from 0 to what you want). Be carefull, the result image can be huge. .PP \fB\-z\fR N .IP specifies the zoom percentage from 10% to 1000% (only for .png image). Work only with the '\-o', '\-os png' or '\-os jpg' option. .PP \fB\-y\fR .IP force huge image generation without user prompt. .PP \fB\-u\fR USERNAME .IP specifies a username to authenticate when a xsd dependency (import or include) is a secured url. .PP \fB\-p\fR PASSWORD .IP specifies a password to authenticate when a xsd dependency (import or include) is a secured url. .PP .PP Example 1: > XSDDiagramConsole.exe \fB\-o\fR file.png \fB\-r\fR TotoRoot \fB\-e\fR 3 \fB\-z\fR 200 ./folder1/toto.xsd .IP will generate a PNG image from a diagram with a root element \&'TotoRoot' and expanding the tree from the root until the 3rd level. .PP Example 2: > XSDDiagram.exe ./folder1/toto.xsd .IP will load the xsd file in the GUI window. .PP Example 3: > XSDDiagram.exe \fB\-r\fR TotoRoot \fB\-e\fR 2 ./folder1/toto.xsd .IP will load the xsd file in the GUI window with a root element \&'TotoRoot' and expanding the tree from the root until the 2nd level. .PP Example 4: > XSDDiagramConsole.exe \fB\-os\fR svg \fB\-r\fR TotoRoot \fB\-e\fR 3 ./folder1/toto.xsd .IP will write a SVG image in the standard output from a diagram with a root element \&'TotoRoot' and expanding the tree from the root until the 3rd level. debian/README.source0000644000000000000000000000031612100170177011341 0ustar This packages uses the quilt patch system. Please read /usr/share/doc/quilt/README.source for more information. -- Mathieu Malaterre (malat) Tue, 23 Feb 2010 18:26:18 +0100 debian/patches/0000755000000000000000000000000012100170334010604 5ustar debian/patches/use_default_framework.patch0000644000000000000000000000674312100170177016221 0ustar Index: xsddiagram/XSDDiagram2010.csproj =================================================================== --- xsddiagram.orig/XSDDiagram2010.csproj 2013-01-13 15:55:11.969505714 +0000 +++ xsddiagram/XSDDiagram2010.csproj 2013-01-13 16:02:59.905516024 +0000 @@ -1,5 +1,5 @@  - + bin\x86\Release\ TRACE @@ -37,7 +37,6 @@ 3.5 - v2.0 http://localhost/XSDDiagram/ @@ -259,4 +258,4 @@ - \ No newline at end of file + Index: xsddiagram/XSDDiagramConsole/XSDDiagramConsole2010.csproj =================================================================== --- xsddiagram.orig/XSDDiagramConsole/XSDDiagramConsole2010.csproj 2013-01-13 15:55:11.969505714 +0000 +++ xsddiagram/XSDDiagramConsole/XSDDiagramConsole2010.csproj 2013-01-13 16:02:59.905516024 +0000 @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,7 +10,6 @@ Properties XSDDiagramConsole XSDDiagramConsole - v2.0 512 @@ -119,4 +118,4 @@ --> - \ No newline at end of file + Index: xsddiagram/XSDDiagrams/XSDDiagrams2010.csproj =================================================================== --- xsddiagram.orig/XSDDiagrams/XSDDiagrams2010.csproj 2013-01-13 15:55:11.973505714 +0000 +++ xsddiagram/XSDDiagrams/XSDDiagrams2010.csproj 2013-01-13 16:02:59.905516024 +0000 @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,7 +10,6 @@ Properties XSDDiagrams XSDDiagrams - v2.0 512 @@ -89,4 +88,4 @@ --> - \ No newline at end of file + debian/patches/series0000644000000000000000000000003412100170177012023 0ustar use_default_framework.patch