debian/0000755000000000000000000000000012232313223007157 5ustar debian/source/0000755000000000000000000000000012232040571010462 5ustar debian/source/format0000644000000000000000000000001412232040571011670 0ustar 3.0 (quilt) debian/control0000644000000000000000000000145512232040571010572 0ustar Source: leocad Section: utils Priority: extra Maintainer: Nicolas Guilbert Build-Depends: debhelper (>= 9) , qt4-qmake , libqt4-dev , libqt4-opengl-dev , libjpeg-dev , zlib1g-dev , libpng-dev , dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.4 Homepage: http://www.leocad.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/leocad.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/leocad.git Package: leocad Architecture: any Depends: ${shlibs:Depends} , ${misc:Depends} Recommends: leocad-parts Description: virtual brick CAD software LeoCAD is a CAD program that can be used to create virtual models with bricks similar to those found in many toys. . It has an easy to use interface and currently features over 2000 different pieces created by the LDraw community. debian/upstream-changelog0000644000000000000000000004210612232040571012675 0ustar Version 0.80 Switched user interface to Qt on all platforms. Added native Mac OS X version. Added dialog to search for specific parts in the current model. Added option to export used parts in CSV format. Save crash dump on Windows. Fixed some parts being rendered incorrectly. Fixed crash on Windows computers with the policy to disable recent menu files. Version 0.79.3 (6/3/2013) Improved camera rotation. Renamed default view positions. Added option to print Bill of Materials for a model. Added a small built-in parts library in case a real one is not available. Added export to Brick Link. Added option to display piece ID and select the piece color to the HTML exporter. Added drag and drop support from piece list on Linux. Added middle mouse button and mouse wheel support on Linux. Added camera rotate and zoom to the Minifig Wizard preview. Fixed 3ds export colors. Version 0.79.2 (21/1/2013) Fixed rendering problems on computers with a decimal point other than a dot. Fixed wrong pieces being selected after dragging a new piece from the piece list. Better Linux desktop integration. Version 0.79.1 (2/1/2013) Fixed rendering glitch with some translucent pieces. Don't change view during undo or redo. Fixed crash changing directories in the Linux file dialog. Fixed bug loading textures from zip files. Read parts.lst when using a library folder directly. Version 0.79 (13/12/2012) Switched to a new library file format. Added support for texture mapped pieces. Added support for using the LDraw library directly. Load color config from ldconfig.ldr where the library is located. Save view layout between sessions. Allow the pieces search text box to auto-complete when entering piece numbers. Fixed errors on big endian computers. Zoom extents after loading a file. Version 0.78.1 (21/09/2012) Fixed crash loading files with pieces not in the library. Fixed Linux Properties Dialog crash. Fixed wrong stud radius. Added message about unsaved shortcut changes. Version 0.78 (14/08/2012) New mouse overlay when in selection mode. Added transform entries to the toolbar. Added option to keep adding pieces with the mouse if the control key is pressed. Added support for new minifig accessory categories. Added MSAA support. Fixed 3DS export colors. Fixed mouse detection over the move overlay. Fixed bug rotating multiple pieces. Version 0.77 (05/07/2012) Added new colors. Faster rendering on video cards that support Vertex Buffer Objects. Fixed bug exporting certain Wavefront files. Fixed instructions printing not centering correctly. Fixed bug where translucent pieces at the same position could cause a crash. Fixed shortcuts conflict with the Properties Pane. Updated Minifig Wizard settings. Version 0.76.2 (07/04/2012) Added command line option to create Pieces Library. Fixed bug exporting Wavefront files. Fixed bugs importing pieces. Version 0.76.1 (05/04/2012) Fixed bug where piece categories would not expand on some computers. Version 0.76 (18/03/2012) Updated Windows interface to a more modern style. Updated Linux dialogs and interface. Views can now be dynamically created and resized. Added shortcut to quickly pan/zoom/rotate while holding the control key down and pressing the L/M/R mouse buttons. Replaced the Modify toolbar with the Properties bar. Updated POV-Ray export to support the current LGEO library. Added Import Folder option to the Pieces Library Manager. Better color conversion when importing pieces. Insert placeholder pieces when loading files with pieces not in the library so they are not deleted when saving. Changed position units to match LDraw. Fixed bug where 3DS objects were not exported as double sided. Fixed decimal separator when saving text files on computers with certain language settings. Fixed stud rendering bug in pieces with a large number of vertices. Version 0.75.2 (17/06/2011) Added support for pieces with names longer than 8 characters. Version 0.75.1 (11/07/2010) Minifig Wizard can now read its settings from a config file. Version 0.75 (31/03/2006) Added rubber band selection (drag the mouse to select pieces inside a given region). Added the ability to rotate the piece preview camera. Added independent XY and Z snap values. Added an overlay for helping rotate the camera. Added an option to check for new versions at startup. Added drag and drop of pieces from the Pieces Toolbar to the project. New pieces are added at the same pos/orientation as the currently selected one. When adding new pieces with the mouse their position is now previewed before inserting. Changed piece movement to be relative to the currently selected piece by default. Replaced the piece groups with a category tree in the Pieces Toolbar. Fixed a bug that was causing some pieces to be incorrectly rotated after importing an LDraw file. Pressing the delete key while in the pieces search window no longer deletes pieces in the project. The size of the pieces toolbar will now be remembered when you restart the program. Version 0.74 (18/02/2005) Fixed rotation bug. Added icons to help moving/rotating pieces with the mouse. Added support for custom user shortcut keys. Added support to Big Endian computers (Linux PPC). Added new pieces to the Minifig Wizard. Added commands to insert and delete steps when creating instructions. Fixed a bug that would cause pieces to disappear when rotating them. Fixed some bugs in the 3DS exporter. Fixed a crash loading files in computers configured to use different decimal separators. Fixed a crash with the Zoom Extents command. Fixed a crash loading very big pieces. Version 0.73 (18/12/2000) Fixed rotation bug. Fixed a bug when you insert a piece after a rotated piece wouldn't show the new piece correctly. Fixed Z buffer bug in the piece preview. Fixed blending in piece preview. Fixed bug when exporting POV-Ray files using LGEO. Fixed small bug in the texture font. Fixed startup crash under win2k. Adding rotation angles to each minifig wizard option. Added an option to save custom minifigs to the Minifig Wizard. Added new minifig pieces to the minifig wizard. Added Save Picture dialog to the Linux version. Added an overwrite prompt when saving a project under Linux. Added project loading preview to the Linux version. The Pieces toolbar can now be resized when docked or detached from the main window (Linux). Fixed animation playback under Linux. Fixed the numeric keypad under Linux. Fixed problem with "focus follow mouse" in X. Updated the Linux Array dialog. Enabled the "Make Default" button of the preferences dialog (Linux). Save window position and size under Linux. The toolbar menu now has the checkboxes correct (Linux). Remember toolbar state between sessions (Linux). Added Linux man page. Version 0.71 (9/19/99) Rendering is 30% faster in some 3D video cards New way of moving objects with the mouse Double click now selects the object under the cursor Pasted pieces are selected now Fixed a bug loading groups from old files Fixed a bug in the .obj export code Several small bugs fixed Version 0.70 (8/20/99) First Linux version Added new command line options You can now work with multiple clipboards Added 2 buttons to move pieces to the next/previous step It’s now possible to have infinite groups depth You can now specify a default path for .lcd files Added a dialog to edit the piece groups Added support for saving interlaced GIFs Removed the spaces from the color names in .obj files Fixed a bug reading compressed .bmp files Fixed a bug choosing the image format when saving html pages Groups are now pasted correctly Fixed a bug with the file/merge command Version 0.66 (5/27/99) Fixed a bug in the piece preview window Fixed a bug in the Array dialog Arrays created from groups of pieces are now rotated correctly Version 0.65 (4/26/99) Added a reset cameras command Changed the transparency to alpha blending Changed the print preview toolbar Fixed a bug in the minifig wizard Fixed a bug when loading some files Fixed a copy & paste bug Fixed the delete camera command Fixed a bug running POV-Ray Fixed a bug creating HTML instructions Version 0.64 (3/27/99) Added a terrain editor Added a completely new POV-Ray export function Added 3DS and OBJ color export Added a menu to set the snap spacing from the status bar Fixed a bug changing the tabs in the Preferences dialog Fixed a bug loading/saving piece groups Fixed a bug with the name of pasted pieces Fixed the option to set the size of the base grid Version 0.63 (2/12/99) Redone the background rendering routines Exporting to HTML can now create pictures of the pieces used Added an option to update the Piece Library Fixed a bug importing LDraw files Fixed a bug with the Print Preview Fixed a bug running L2P Version 0.62 (1/21/99) Added functions to export files to Wavefront & 3DS (no colors yet) Added an option to draw a floor & sky Added tooltips for the toolbar buttons Added an option to highlight new pieces when creating HTML files Fixed a bug with the minifig wizard Fixed a bug loading the program on some computers The title bar now correctly shows the name of the file loaded Version 0.61 (1/13/98) About 40% speed increase Accurate selection of pieces Improved AutoPan/MouseWheel? support Autosave re-enabled Basic animation support Fixed some bugs loading old files Version 0.60 (12/24/98) Rewrote the program, too many changes to list Version 0.54 (08/25/98) Added an option to save transparent GIFs Added an option to show the piece position on the status bar Added an auto-save feature Added an option to use "Brick" units instead of centimeters Improved the way the program draw the lines Pressing CTRL while the rotate tool is selected changes temporarily to pan (and vice-versa) Fixed a bug that prevented the Infobar from floating Fixed a bug with the print preview Fixed a bug with the color selector on some video cards When a new piece is inserted, it is now placed above the previously selected one Changed some more colors (now black is a very dark grey and the edge lines are black) Version 0.53 (07/31/98) Added an option to preview the position of new pieces Added a function to print a list of pieces used Fixed a bug with 256 colors displays You can now select cameras with the mouse Improved the zoom rectangle tool The groups toolbar is now updated when you add/remove a new group Changed some colors a little bit Version 0.52 (07/17/98) Added new colors Added a function to import a single LDraw piece into the library Improved the minifig wizard Tuned up the application to use less memory (about 6MB less) Removed the shaded caption bar (Windows 98 will do it) Changed the format of the piece library Fixed some minor bugs Version 0.51a (06/25/98) Fixed a bug with the LDraw import and export routines Fixed a bug with the print catalog command on high resolution printers It’s now possible to set the size of the preview window on the pieces toolbar Version 0.51 (06/16/98) Rotations of more than 1 brick are now correct Fixed a bug with the piece preview palette on 256 colors Fixed another bug with the 'Save toolbar position' option LeoCAD now remembers the 'view part number' settings Background/Fast? Rendering options are saved with the projects Added an option to save a preview of the project files Added an option to print a header & footer Added an option to set print margins Added a print setup tab on the preferences dialog Added: save GIF files Added: save 256 colors BMP files Added: save progressive JPG files Added a button to browse for background images It's possible to use GIF files as background Moved the 'Save Picture' command to the 'Save As' dialog Moved the 'Import LDraw' command to the 'Open' dialog Version 0.50a Added an option to print with lower quality (using less memory) Fixed a bug closing the print preview Version 0.50 Added a function to export files to POV-Ray (using LGEO) Added a function to check for new versions Added a function to print all pieces on the library Added a function to send a project by e-mail Added a function to save a sequence of pictures (to create a QTVR object) Added an option to choose how many steps per page are printed Added an option to draw a border around each step printed Changed the ‘3D Snap’ button on the toolbar to display a menu Fixed a bug saving the toolbars position Fixed a bug with the selection of bricks with multiple viewports enabled Version 0.49 Added an option to save JPG files Added an option to use a JPG file as background Added tooltips for the color list Added a 'total' field to the 'Pieces Used' list Added a command to create HTML instructions Added new movement modes keyframer/snapshot Fixed/Added? some options to the interface Fixed the camera submenu Fixed a bug that would crash the program while rendering in the background Version 0.48 Added an option to remove a brick after a chosen step Added an option to draw the studs as boxes Added a dialog to create minifigs Added an option to set the mouse sensitivity Added an ‘Apply’ button to the ‘Step’ and ‘Camera’ dialog The ‘Camera’ dialog now gets correctly updated The info bar now shows the rotations and get updated correctly Better LDraw import Fixed a bug with the print preview in full screen mode No more duplicate names on the brick combobox The brick bar now shows the popups when you right click on almost any place Version 0.47 Fixed a bug that would crash LeoCAD on some computers Version 0.46 New color list The keyboard keys now move/rotate on the direction of the screen Numeric keypad now works correctly It is possible to group the parts and keep the brick combobox Fixed some problems with the save bitmap dialog Fixed a bug that wouldn’t change the preferences on the second thread When the program is not active, it will redraw the window faster No more ‘~Moved to’ parts on the list of used pieces Version 0.45 Added a button to save default options for new projects Added a dialog to modify a brick Added an option do remove the hidden lines on the fast rendering Added an option to draw filled boxes instead of only the edges Added some options to hide the camera ‘boxes’ Faster grid Faster rendering Zoom extents all viewports (hold control and press the icon on the toolbar) Changed a little bit the right button popups Completely rewrote the Part Library Manager Added a command to import Ldraw parts from a directory Version 0.44 Now LeoCAD saves the fog/background bitmap options of every project Some more popup menu options Version 0.43 Fog effect Load the background from a bitmap file Option to save the toolbars position enabled Menus with icons LDraw models are now imported with the current color of the combobox Better axis icon Bricks are now pasted on the current step Bricks that were grouped when copied to the clipboard are pasted correctly Now correctly works with the ‘file/new LeoCAD project’ from windows explorer Fixed a bug that would show a GPF sometimes when exiting the program Version 0.42 Multiple viewports New parts are now inserted above the last part if you use the keyboard Zoom extents will not freeze LeoCAD anymore Fixed bugs on some old parts Added 52 new parts Version 0.41 LeoCAD is now multithreaded Added 45 new parts Added new clear colors Added a command to ‘hide’ bricks Added shortcuts to the predefined views Added shortcuts to zoom function (-/+ keys) Added an icon that shows the axis orientation Added a dialog to change the current step Added an option to disable movement on certain axis Added a dialog to enter names for the groups of bricks Added a command to create ‘arrays’ of bricks Added commands to select all/invert/by name/none bricks Added an option to make the default action not move after inserting a part Added warnings if there are old DLLs installed Added tooltips for the parts list Changed the toolbars Changed the viewpoint dialog Fixed a bug with the zoom extents Fixed a bug with the paste command Fixed a bug with the file version warning Fixed a bug when changing the step of multiple bricks Fixed some bugs with menu items not being correctly disabled debian/compat0000644000000000000000000000000212232040571010360 0ustar 9 debian/rules0000755000000000000000000000153212232040571010243 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export PREFIX=/usr ifndef UPVER UPVER := $(shell dpkg-parsechangelog | grep ^Version | awk '{print $$2}' | cut -d- -f1) endif SVNREPO := http://svn.leocad.org/tags %: dh $@ # Install icon too override_dh_install: dh_install install -m644 -D tools/icon/icon32.png \ debian/leocad/usr/share/icons/hicolor/32x32/apps/leocad.png override_dh_installdocs: dh_installdocs rm debian/leocad/usr/share/doc/leocad/COPYING.txt mv debian/leocad/usr/share/doc/leocad/upstream-changelog debian/leocad/usr/share/doc/leocad/changelog get-orig-source: svn checkout $(SVNREPO)/leocad-$(UPVER) find leocad-$(UPVER)/ -name ".svn" -type d | xargs rm -rf tar cf leocad_$(UPVER).orig.tar leocad-$(UPVER) bzip2 leocad_$(UPVER).orig.tar rm -rf leocad-$(UPVER)/ debian/patches/0000755000000000000000000000000012232040571010611 5ustar debian/patches/series0000644000000000000000000000007112232040571012024 0ustar 01-desktop-icon.patch 02-skip-version-update-check.patch debian/patches/02-skip-version-update-check.patch0000644000000000000000000000107512232040571017040 0ustar Description: The check for whether a newer version is available online does not make sense with the Debian distribution model. Remove it. Author: Nicolas Guilbert Index: leocad-git-clone/qt/qtmain.cpp =================================================================== --- leocad-git-clone.orig/qt/qtmain.cpp 2013-10-22 13:08:48.000000000 +0200 +++ leocad-git-clone/qt/qtmain.cpp 2013-10-22 15:02:02.000000000 +0200 @@ -169,8 +169,6 @@ gMainWindow->UpdateRecentFiles(); w.show(); - lcDoInitialUpdateCheck(); - int execReturn = app.exec(); delete gMainWindow; debian/patches/01-desktop-icon.patch0000644000000000000000000000120512232040571014445 0ustar Description: Make the .desktop file comply with https://wiki.debian.org/Proposals/DebianMenuUsingDesktopEntries Author: Nicolas Guilbert Index: leocad/qt/leocad.desktop =================================================================== --- leocad.orig/qt/leocad.desktop 2013-08-23 01:44:45.000000000 +0200 +++ leocad/qt/leocad.desktop 2013-08-23 01:51:56.000000000 +0200 @@ -9,7 +9,7 @@ Exec=leocad %f Terminal=false Type=Application -Icon=leocad.svg +Icon=leocad MimeType=application/vnd.leocad;application/x-ldraw;application/x-multi-part-ldraw;application/x-ldlite; Categories=Graphics;3DGraphics;Education; Keywords=CAD;LEGO;LDraw; debian/watch0000644000000000000000000000016112232040571010211 0ustar version=3 http://code.google.com/p/leocad/downloads/list \ //leocad.googlecode.com/files/leocad-(\d+.*)-src\.tgz debian/docs0000644000000000000000000000005712232040571010037 0ustar docs/CREDITS.txt docs/README.txt docs/TODO.txt debian/leocad.install0000644000000000000000000000006012232040571011775 0ustar debian/upstream-changelog usr/share/doc/leocad/ debian/copyright0000644000000000000000000000200512232040571011112 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Files: * Copyright: © 1998-2013, Leonardo Zide License: GPL-2.0+ Files: debian/* Copyright: © 2012, David Paleino License: GPL-2.0+ License: GPL-2.0+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package 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, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/changelog0000644000000000000000000001166212232313214011037 0ustar leocad (0.80.1+svn1545b-1) unstable; urgency=low * Remove spurious Makefile from the SVN snapshot which resulted in an FTBFS on non-amd64 architectures. * Remove some additional unwanted files from the SVN snapshot. * Bump upstream version to reflect the fact it's a new orig.tar.gz and overwrite the existing one. -- Nicolas Guilbert Wed, 23 Oct 2013 23:38:06 +0200 leocad (0.80.1+svn1545-1) unstable; urgency=low * New upstream release. - fix FTBFS on Hurd and kfreebsd- (Closes: #726145) * Patches refreshed - 07-fix-appearance-typo.patch removed, fixed upstream * Skip the check for newer available versions. (Closes: #726147) -- Nicolas Guilbert Tue, 22 Oct 2013 14:06:51 +0200 leocad (0.80-1) unstable; urgency=low * New upstream version justifying release to unstable * Patches refreshed - 01-add-desktop-file.patch removed, fixed upstream - 02-eliminate-gcc-warnings.patch removed, fixed upstream / invalid - 04-init-vectors.patch removed, upstream insists on keeping the vectors uninitialized and valgrind cannot find any problems with that - 06-fix-clang-unused-variable-warning.patch removed, fixed upstream - 07-fix-appearance-typo.patch refreshed * removed duplicate COPYING.txt file * added upstream changelog -- Nicolas Guilbert Thu, 22 Aug 2013 20:20:08 +0200 leocad (0.79.3+svn1417-1) experimental; urgency=low * Updated to Qt-based upstream development version * debian/patches: - 01-unused_variable_row_stride.patch removed, no longer applies - 02-valgrind-cleaning.patch removed, fixed upstream - 05-zipfile_signed.patch, fixed upstream - 11-keywords-in-desktop-file.patch removed, no longer applies - 01-add-desktop-file.patch added, adds desktop file - 02-eliminate-gcc-warnings.patch added - 06-fix-clang-unused-variable-warning.patch added - 07-fix-appearance-typo.patch added * debian/rules updated: qmake-based build is clean, no need for override_dh_auto_clean target * debian/control: - updated dependencies from GTK to Qt - raised debhelper dependency from 8 to 9 -- Nicolas Guilbert Mon, 15 Jul 2013 23:57:22 +0200 leocad (0.79.3-2) UNRELEASED; urgency=low * debian/patches/: - removed 08-fix_deprecated_code.patch, fixed upstream - added 01-unused_variable_row_stride.patch, fixes unused variable warning, - added 02-valgrind-cleaning.patch, cleans valgrind detected uninitialized variables -- Nicolas Guilbert Sun, 07 Jul 2013 00:58:40 +0200 leocad (0.79.3-1) unstable; urgency=low [ David Paleino ] * Removed debian/leocad.desktop, use the one provided by upstream instead. Added 01-fix_desktop_file.patch to properly change it when needed. [ Nicolas Guilbert ] * Adopting package (Closes: #711830). * New upstream version * Hardening * debian/patches/: - 00-fix_image_linking.patch deleted, fixed upstream - 01-fix_desktop_file.patch deleted, fixed upstream - 10-fix_segfault.patch deleted, fixed upstream - 11-keywords-in-desktop-file added [ Petter Reinholdtsen ] * Add build dependency on dpkg-dev (>= 1.16.1~) to make sure /usr/share/dpkg/buildflags.mk is available. * Upload sponsored by Petter Reinholdtsen. -- Nicolas Guilbert Fri, 05 Jul 2013 10:01:11 +0200 leocad (0.79.2-1) experimental; urgency=low [ David Paleino ] * New upstream version. * Fix segfault, thanks to Petter Reinholdtsen. * Updated debian/watch. * debian/patches/: - 00-improve_source.patch removed, merged upstream. - 01-fix_manpage.patch removed, merged upstream. - 02-fix_segfault.patch removed, merged upstream. - 00-fix_image_linking.patch added, fix creation of the image symlink. - 08-fix_deprecated_code.patch added, fix some misc deprecated code. [ Petter Reinholdtsen ] * Reduce debhelper dependency from 9 to 8, to allow the source to build in Debian Squeeze without any changes. * New patch 04-init-vectors.patch to make sure the lcVector2 and lcVector3 member variables always are initialized. * New patch 05-zipfile_signed.patch to get rid of some signed/unsigned warnings from the compiler. * Install desktop file and icon to get a meny entry in KDE and Gnome. According to the leocad author the program can read and write LDraw files. Add LDraw mime types to the list of supported MIME types, according to the list at . * New patch 10-fix_segfault.patch to avoid calling stat() with uninitialized memory and crashing with segfault. * Correct email address of upstream in copyright file to one that is working. -- David Paleino Fri, 08 Feb 2013 21:37:05 +0100 leocad (0.79-1) experimental; urgency=low * Initial release (Closes: #553311) -- David Paleino Sat, 15 Dec 2012 22:13:08 +0100 debian/manpages0000644000000000000000000000001612232040571010675 0ustar docs/leocad.1