debian/0000755000000000000000000000000012231444164007167 5ustar debian/laserboy.install0000644000000000000000000000001312136542363012375 0ustar /usr/bin/* debian/source/0000755000000000000000000000000012136542363010473 5ustar debian/source/format0000644000000000000000000000001412136542363011701 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000164512136542363011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: LaserBoy Source: http://laserboy.org Files: * Copyright: 2002-2012 James Lehman License: GPL-3+ Files: debian/* Copyright: 2012-2012 Richard Ulrich License: GPL-3+ License: GPL-3+ laserboy 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 3 of the License, or (at your option) any later version. . laserboy 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. . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/changelog0000644000000000000000000000102112231444164011033 0ustar laserboy (2012.11.11-1build2) trusty; urgency=low * No change rebuild for Boost 1.54 transition. -- Dmitrijs Ledkovs Tue, 22 Oct 2013 10:42:12 +0100 laserboy (2012.11.11-1build1) saucy; urgency=low * No change rebuild for Boost 1.53 transition. -- Dmitrijs Ledkovs Fri, 26 Apr 2013 19:18:42 +0100 laserboy (2012.11.11-1) unstable; urgency=low * Initial packaging for Debian (Closes: #693965) -- Richard Ulrich Mon, 19 Nov 2012 23:01:27 +0100 debian/desktop0000644000000000000000000000040012136542363010561 0ustar [Desktop Entry] Name=LaserBoy Comment=Laser show simulation and conversion GenericName=LaserBoy Exec=/usr/bin/laserboy Path=/usr/share/laserboy Terminal=false Icon=laserboy Categories=Graphics;Science;Engineering Type=Application MimeType=application/ild; debian/control0000644000000000000000000000531112136542404010572 0ustar Source: laserboy Section: graphics Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Richard Ulrich Build-Depends: debhelper (>= 9.0.0), libboost-dev (>= 1.49), libboost-filesystem-dev, libboost-system-dev, libsdl-dev, cmake, unzip Standards-Version: 3.9.3 Homepage: http://laserboy.org/ Package: laserboy-indep Architecture: all Depends: ${misc:Depends} Description: Laser show software for soundcard operation - data files LaserBoy can translate laser vector art into standard, 48KHz, 16 bit, multi channel RIFF WAVE file format and play those files with independent sample shifts between the channels for proper time alignment between the scanners and the color modulation devices (per color). Waves made with LaserBoy can be played from any surround sound card in any OS. LaserBoy can open its own generated wave files and convert them back into vector art. LaserBoy provides a full set of points optimization routines including distance spanning, corner dwelling and the ability to minimize total points distance by rearranging the order and direction of lit segments within a frame. With a DC modified 8 channel sound card and some outboard electronics, LaserBoy is currently outputting full motion, 16bit X, Y position, 24 bit RGB color projections at 48 thousand points per second. Creating waves of any integer sample rate is possible. 48KHz is only a limitation of the sound cards that are currently in use. . This package contains architecture independent data files for laserboy. Package: laserboy Architecture: any Depends: laserboy-indep, ${shlibs:Depends}, ${misc:Depends} Description: Laser show software for soundcard operation LaserBoy can translate laser vector art into standard, 48KHz, 16 bit, multi channel RIFF WAVE file format and play those files with independent sample shifts between the channels for proper time alignment between the scanners and the color modulation devices (per color). Waves made with LaserBoy can be played from any surround sound card in any OS. LaserBoy can open its own generated wave files and convert them back into vector art. LaserBoy provides a full set of points optimization routines including distance spanning, corner dwelling and the ability to minimize total points distance by rearranging the order and direction of lit segments within a frame. With a DC modified 8 channel sound card and some outboard electronics, LaserBoy is currently outputting full motion, 16bit X, Y position, 24 bit RGB color projections at 48 thousand points per second. Creating waves of any integer sample rate is possible. 48KHz is only a limitation of the sound cards that are currently in use. debian/laserboy.manpages0000644000000000000000000000002312136542363012523 0ustar debian/laserboy.1 debian/laserboy.10000644000000000000000000000073012136542363011075 0ustar .TH LASERBOY "6" "December 2012" "laserboy" "User Commands" .SH NAME laserboy \- Laser show software for soundcard operation .SH SYNOPSIS .B laserboy .br laserboy home page: .br .SH COPYRIGHT Copyright \(co 2012 James Lehmann License GPLv3+: GNU GPL version 3 or later .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. debian/rules0000755000000000000000000000340412136542363010254 0ustar #!/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 # Grab the version from the changelog, up to the first - DEB_DEBIAN_DIR=$(dir $(firstword $(MAKEFILE_LIST))) DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog -l$(DEB_DEBIAN_DIR)/changelog \ | sed -rne 's,^Version: ([^-]+).*,\1,p') DEB_UPSTREAM_VERSFMT=$(shell echo ${DEB_UPSTREAM_VERSION} | sed -e "s/\./_/g") %: dh $@ --buildsystem cmake --builddirectory=build override_dh_auto_configure : dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DBUILDING_DEB:BOOL=TRUE # as seen in https://wiki.ubuntu.com/PackagingGuide/Examples/ChangingTheOrigTarball get-orig-source : uscan --noconf --force-download --rename --download-current-version --destdir=. $(DEB_DEBIAN_DIR)/.. rm -rf laserboy-$(DEB_UPSTREAM_VERSION) unzip $(DEB_DEBIAN_DIR)../LaserBoy_$(DEB_UPSTREAM_VERSFMT).zip rm $(DEB_DEBIAN_DIR)../LaserBoy_$(DEB_UPSTREAM_VERSFMT).zip mv LaserBoy laserboy-$(DEB_UPSTREAM_VERSION) rm laserboy-$(DEB_UPSTREAM_VERSION)/*.exe rm laserboy-$(DEB_UPSTREAM_VERSION)/*.dll rm laserboy-$(DEB_UPSTREAM_VERSION)/*.bat mv laserboy-$(DEB_UPSTREAM_VERSION) laserboy-$(DEB_UPSTREAM_VERSION).orig GZIP=--best tar -cz --owner root --group root --mode a+rX \ -f laserboy_$(DEB_UPSTREAM_VERSION).orig.tar.gz \ laserboy-$(DEB_UPSTREAM_VERSION).orig rm -r laserboy-$(DEB_UPSTREAM_VERSION).orig debian/watch0000644000000000000000000000024312136542363010223 0ustar # watch control file for uscan # Compulsory line, this is a version 3 file version=3 opts=uversionmangle=s/_/\./g \ http://laserboy.org/code/LaserBoy_(.*).zip debian/patches/0000755000000000000000000000000012136542363010622 5ustar debian/patches/using_cmake0000644000000000000000000000572012136542363013036 0ustar Description: using cmake using cmake Author: Richard Ulrich --- Origin: other --- /dev/null +++ laserboy-2012.05.03/CMakeLists.txt @@ -0,0 +1,22 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 2.8) + +PROJECT(laserboy) +SET(laserboy_MAIN_DIR ${laserboy_SOURCE_DIR}) + +SET(VERSION_SERIES 2012) +SET(VERSION_MAJOR 11) +SET(VERSION_MINOR 11) +SET(VERSION_PATCH 0) + +# Setup output Directories +SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin CACHE PATH "Single Directory for all Libraries") +SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin CACHE PATH "Single Directory for all Executables.") +SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin CACHE PATH "Single Directory for all static libraries.") + +SUBDIRS(src) + +INSTALL(DIRECTORY ${laserboy_MAIN_DIR}/bmp DESTINATION ${CMAKE_INSTALL_PREFIX}/share/laserboy/) +INSTALL(DIRECTORY ${laserboy_MAIN_DIR}/ild DESTINATION ${CMAKE_INSTALL_PREFIX}/share/laserboy/) +INSTALL(DIRECTORY ${laserboy_MAIN_DIR}/wtf DESTINATION ${CMAKE_INSTALL_PREFIX}/share/laserboy/) + + --- /dev/null +++ laserboy-2012.05.03/src/CMakeLists.txt @@ -0,0 +1,76 @@ + +IF(NOT CMAKE_BUILD_TYPE) + SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE) +ENDIF(NOT CMAKE_BUILD_TYPE) + + + +FIND_PACKAGE(Boost 1.48 COMPONENTS system filesystem REQUIRED) +FIND_PACKAGE(SDL REQUIRED) + +ADD_DEFINITIONS(-D BOOST_ALL_NO_LIB) + +INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR}) +INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR}) + +# a unit is the combination of a header and a cpp file in the same directory +SET(laserboy_unit + LaserBoy + LaserBoy_common + LaserBoy_frame + LaserBoy_frame_effects + LaserBoy_frame_set + LaserBoy_frame_set_effects + LaserBoy_ild_header + LaserBoy_segment + LaserBoy_palette + LaserBoy_palette_set + LaserBoy_real_segment + LaserBoy_wave + LaserBoy_space + LaserBoy_TUI + LaserBoy_SDL_GUI + LaserBoy_bmp + LaserBoy_font +) + +# add header files without accompanying source here +SET(laserboy_hdrs + +) + +# add source files without accompanying header here +SET(laserboy_src + +) + +FOREACH(UnitName ${laserboy_unit}) + SET(laserboy_src ${laserboy_src} ${UnitName}.cpp) + SET(laserboy_hdrs ${laserboy_hdrs} ${UnitName}.hpp) +ENDFOREACH(UnitName) + +ADD_EXECUTABLE(laserboy + ${laserboy_src} + ${laserboy_hdr} +) + +TARGET_LINK_LIBRARIES(laserboy + ${Boost_LIBRARIES} + ${SDL_LIBRARY} +) + +SET_TARGET_PROPERTIES(laserboy PROPERTIES + VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR} + DEBUG_POSTFIX "_d" +) + +IF(BUILDING_DEB) + SET_TARGET_PROPERTIES(laserboy PROPERTIES + COMPILE_DEFINITIONS LASERBOY_ILD_SHARE="/usr/share/laserboy/ild" + COMPILE_DEFINITIONS LASERBOY_WAV_SHARE="/usr/share/laserboy/wav" + COMPILE_DEFINITIONS LASERBOY_BMP_SHARE="/usr/share/laserboy/bmp" + ) +ENDIF() + +INSTALL(TARGETS laserboy RUNTIME DESTINATION bin) + debian/patches/series0000644000000000000000000000003612136542363012036 0ustar using_cmake ifndef_for_macros debian/patches/ifndef_for_macros0000644000000000000000000000253012136542363014212 0ustar Description: ifndef for macro definitions added ifndef to macro definitions that can be passed from cmake --- Origin: other --- laserboy-2012.05.03.orig/src/LaserBoy_macros.hpp +++ laserboy-2012.05.03/src/LaserBoy_macros.hpp @@ -70,12 +70,18 @@ //---------------------------------------------------------------------------- #define LASERBOY_TXT_VERSION "LaserBoy-txt-07-08-2009" //---------------------------------------------------------------------------- -#define LASERBOY_ILD_SHARE (string("./ild/")) -#define LASERBOY_WAV_SHARE (string("./wav/")) +#ifndef LASERBOY_ILD_SHARE + #define LASERBOY_ILD_SHARE (string("./ild/")) +#endif +#ifndef LASERBOY_WAV_SHARE + #define LASERBOY_WAV_SHARE (string("./wav/")) +#endif #define LASERBOY_UNFORMATTED_SHARE (string("./wav/unformatted/")) #define LASERBOY_AUDIO_SHARE (string("./wav/audio/")) #define LASERBOY_DXF_SHARE (string("./dxf/")) -#define LASERBOY_BMP_SHARE (string("./bmp/")) +#ifndef LASERBOY_BMP_SHARE + #define LASERBOY_BMP_SHARE (string("./bmp/")) +#endif #define LASERBOY_TXT_SHARE (string("./txt/")) #define LASERBOY_RESCALE_SHARE (string("./txt/rescales/")) #define LASERBOY_WTF_SHARE (string("./wtf/")) debian/laserboy.menu0000644000000000000000000000017212136542363011701 0ustar ?package(laserboy):needs="X11" section="Applications/Science/Engineering"\ title="laserboy" command="/usr/bin/laserboy" debian/compat0000644000000000000000000000000212136542363010371 0ustar 9 debian/laserboy-indep.install0000644000000000000000000000006012136542363013474 0ustar /usr/share/laserboy/* /usr/share/laserboy/**/*