debian/0000755000000000000000000000000012152563017007170 5ustar debian/patches/0000755000000000000000000000000012152562454010623 5ustar debian/patches/portaudio.patch0000644000000000000000000000406711462012615013651 0ustar Author: Miriam Ruiz Description: compile against the system portaudio instead of the removed embedded one --- a/game2/gameSource/sound/SoundPlayer.h +++ b/game2/gameSource/sound/SoundPlayer.h @@ -52,8 +52,7 @@ #include "SoundFilter.h" #include "PlayableSound.h" -#include "minorGems/sound/portaudio/pa_common/portaudio.h" -#include "minorGems/sound/portaudio/pablio/pablio.h" +#include #include "minorGems/util/SimpleVector.h" --- a/game2/Makefile.common +++ b/game2/Makefile.common @@ -43,7 +43,6 @@ OPTIMIZE_FLAG = ${OPTIMIZE_ON_FLAG} -PORT_AUDIO_PATH = ${ROOT_PATH}/minorGems/sound/portaudio # common to all platforms @@ -52,7 +51,7 @@ -COMPILE_FLAGS = -Wall -Wwrite-strings -Wchar-subscripts -Wparentheses ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} -I${ROOT_PATH} -I${PORT_AUDIO_PATH}/pa_common +COMPILE_FLAGS = -Wall -Wwrite-strings -Wchar-subscripts -Wparentheses ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} -I${ROOT_PATH} COMPILE = ${GXX} ${COMPILE_FLAGS} -c --- a/runToBuild +++ b/runToBuild @@ -16,15 +16,6 @@ ./configure -echo "Building portaudio..." - -cd ../minorGems/sound/portaudio -chmod u+x ./configure -./configure -make -cd ../../../game2 - - echo "Building Cultivation..." cd gameSource --- a/game2/Makefile.GnuLinux +++ b/game2/Makefile.GnuLinux @@ -20,7 +20,7 @@ # various GL and X windows librariesneeded for linux # also need portaudio library (which in turn needs pthreads) -PLATFORM_LINK_FLAGS = -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 ${PORT_AUDIO_PATH}/lib/libportaudio.a -lpthread -lpng +PLATFORM_LINK_FLAGS = -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 -lportaudio -lpthread -lpng # All platforms but OSX support g++ and need no linker hacks --- a/game2/build/source/runToBuild +++ b/game2/build/source/runToBuild @@ -16,15 +16,6 @@ ./configure -echo "Building portaudio..." - -cd ../minorGems/sound/portaudio -chmod u+x ./configure -./configure -make -cd ../../../game2 - - echo "Building Cultivation..." cd gameSource debian/patches/math_h.patch0000644000000000000000000000045711462012615013102 0ustar Author: Miriam Ruiz Description: include math.h --- a/game2/gameSource/sound/SoundEffectsBank.cpp +++ b/game2/gameSource/sound/SoundEffectsBank.cpp @@ -10,6 +10,7 @@ #include "minorGems/util/random/StdRandomSource.h" +#include extern int globalSoundSampleRate; debian/patches/fix_crash.patch0000644000000000000000000000154111525153411013603 0ustar Description: fix a crash when restarting the game Origin: backport, http://hcsoftware.cvs.sourceforge.net/viewvc/hcsoftware/tempProjects/game2/gameSource/game.cpp?r1=1.155&r2=1.156&view=patch Bug-Debian: http://bugs.debian.org/597851 Author: Jason Rohrer --- a/game2/gameSource/game.cpp +++ b/game2/gameSource/game.cpp @@ -1381,12 +1382,20 @@ mScreen->removeMouseHandler( mMainPanelGuiTranslator ); mScreen->removeKeyboardHandler( mMainPanelGuiTranslator ); - + + // prevent bad access from audio thread during deletion and + // new construction + globalLock.lock(); + delete sceneHandler; // construt new sceneHandler = new GameSceneHandler( screen ); + globalLock.unlock(); + + + sceneHandler->initFromFiles(); restartFlag = false; debian/patches/abs_paths.patch0000644000000000000000000000347011462012615013604 0ustar Author: Miriam Ruiz Description: Allow the game to be compiled with absolute paths to the data --- a/game2/gameSource/game.cpp +++ b/game2/gameSource/game.cpp @@ -50,6 +50,8 @@ #include +#include "defs.h" + #include "minorGems/graphics/openGL/ScreenGL.h" #include "minorGems/graphics/openGL/SceneHandlerGL.h" #include "minorGems/graphics/Color.h" @@ -912,7 +914,7 @@ // load font image TGAImageConverter tga; - File fontFile( NULL, "font.tga" ); + File fontFile( new Path(DATADIR), "font.tga" ); FileInputStream fontInput( &fontFile ); Image *fontImage = tga.deformatImage( &fontInput ); @@ -995,7 +997,7 @@ mCurrentTipStoredItem = -1; // translation language for tool tips - File languageNameFile( NULL, "language.txt" ); + File languageNameFile( new Path(DATADIR), "language.txt" ); if( languageNameFile.exists() ) { char *languageNameText = languageNameFile.readFileContents(); @@ -1008,6 +1010,7 @@ if( numTokens > 0 ) { char *languageName = *( tokens->getElement( 0 ) ); + TranslationManager::setDirectoryName( DATADIR "/languages" ); TranslationManager::setLanguage( languageName ); } else { --- a/game2/gameSource/features.cpp +++ b/game2/gameSource/features.cpp @@ -7,6 +7,7 @@ +#include "defs.h" #include "features.h" #include "minorGems/io/file/File.h" @@ -57,7 +58,7 @@ void initializeFeatures() { - FILE *featuresFile = fopen( "features.txt", "r" ); + FILE *featuresFile = fopen( DATADIR "/features.txt", "r" ); char stringBuffer[100]; int switchValue; --- /dev/null +++ b/game2/gameSource/defs.h @@ -0,0 +1,8 @@ +#ifndef DEFS_INCLUDED +#define DEFS_INCLUDED + +#ifndef DATADIR +#define DATADIR "." +#endif + +#endif debian/patches/portaudio19.patch0000644000000000000000000000600012152561230014007 0ustar Author: Barry deFreese Description: Patch system to utilize portaudio v19 Bug-Debian: http://bugs.debian.org/594015 Last-Update: 2013-06-01 --- a/game2/gameSource/sound/SoundPlayer.h +++ b/game2/gameSource/sound/SoundPlayer.h @@ -239,7 +239,7 @@ char mFadingIn; int mNumFadeFramesRemaining; - PortAudioStream *mAudioStream; + PaStream *mAudioStream; // realtime sounds that should be mixed into the next to-speaker call SimpleVector *mRealtimeSounds; --- a/game2/gameSource/sound/SoundPlayer.cpp +++ b/game2/gameSource/sound/SoundPlayer.cpp @@ -52,9 +52,11 @@ // callback passed into portaudio -static int portaudioCallback( void *inputBuffer, void *outputBuffer, +int portaudioCallback( const void *inputBuffer, void *outputBuffer, unsigned long framesPerBuffer, - PaTimestamp outTime, void *userData ) { + const PaStreamCallbackTimeInfo *outTime, + PaStreamCallbackFlags statusFlags, + void *userData ) { SoundPlayer *player = (SoundPlayer *)userData; @@ -157,21 +159,13 @@ if( error == paNoError ) { - error = Pa_OpenStream( + error = Pa_OpenDefaultStream( &mAudioStream, - paNoDevice,// default input device 0, // no input - paFloat32, // 32 bit floating point input - NULL, - Pa_GetDefaultOutputDeviceID(), 2, // stereo output paFloat32, // 32 bit floating point output - NULL, mSampleRate, 1024, // frames per buffer - 0, // number of buffers, if zero then use default minimum - paClipOff, // we won't output out of range samples so - // don't bother clipping them portaudioCallback, (void *)this ); // pass self-pointer to callback function --- a/game2/gameSource/sound/MusicPlayer.cpp +++ b/game2/gameSource/sound/MusicPlayer.cpp @@ -112,13 +112,14 @@ // get parts and positions of gardeners int numParts = 0; - Vector3D **positions = - globalWorld->getAllGardenerPositions( &numParts ); - MusicPart **musicParts = - globalWorld->getAllGardenerMusicParts( &numParts ); - double *volumeModifiers = - globalWorld->getAllGardenerMusicVolumeModifiers( &numParts ); - + Vector3D **positions = NULL; + MusicPart **musicParts = NULL; + double *volumeModifiers = NULL; + if ( globalWorld ){ + positions = globalWorld->getAllGardenerPositions( &numParts ); + musicParts = globalWorld->getAllGardenerMusicParts( &numParts ); + volumeModifiers = globalWorld->getAllGardenerMusicVolumeModifiers( &numParts ); + } // get center position from current player position Vector3D *centerPosition = new Vector3D( &globalPlayerCurrentPosition ); debian/patches/series0000644000000000000000000000011712152517370012034 0ustar portaudio.patch abs_paths.patch math_h.patch fix_crash.patch portaudio19.patch debian/watch0000644000000000000000000000021211461004776010220 0ustar version=3 opts="dversionmangle=s/[.+]dfsg(.?\d+)?$//; s/\.[0-9]{8}$//" \ http://sf.net/cultivation/Cultivation_(.*)_UnixSource\.tar\.gz debian/install0000644000000000000000000000072712152550417010567 0ustar 32x32/cultivation.png usr/share/icons/hicolor/32x32/apps 32x32/cultivation.xpm usr/share/pixmaps cultivation.png usr/share/icons/hicolor/128x128/apps debian/*.desktop usr/share/applications/ game2/gameSource/Cultivation usr/games game2/gameSource/features.txt usr/share/games/cultivation game2/gameSource/font.tga usr/share/games/cultivation game2/gameSource/language.txt usr/share/games/cultivation game2/gameSource/languages/*.txt usr/share/games/cultivation/languages debian/copyright0000644000000000000000000000724412152540154011127 0ustar This package was debianized by Miriam Ruiz on Fri, 08 Jun 2007 14:04:02 +0000. It was downloaded from http://sourceforge.net/projects/cultivation Upstream Author: Jason Rohrer Copyright: Cultivation is in the public domain. minorGems/crypto/hashes/sha*.h: No Copyright. It is in the public domain minorGems/io/file/win32/dirent.*: Copyright 1997 Kevlin Henney minorGems/io/serialPort/win32/COMPort.*: Copyright 2000 UAB BBDSoft License: Cultivation is Free I have placed Cultivation, and the underlying source code, in the public domain. You are free to do whatever you want with it. However, I spent many months working on it, and my family and I do need to eat. If you got some enjoyment out of Cultivation, and you can afford it, please stuff a few dollars in an envelope and send it to: Jason Rohrer 93 Elm St. Potsdam, NY 13676 You can also donate online, and read about my family's simple lifestyle (my wife, child, and I live on less than $10,000 per year), here: http://hcsoftware.sourceforge.net/jason-rohrer/supportMyWork.php The Debian packaging is Copyright 2007, Miriam Ruiz and is licensed under the GPL. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-*'. sha1: Originally witten by Steve Reid Modified by Aaron D. Gifford NO COPYRIGHT - THIS IS 100% IN THE PUBLIC DOMAIN The original unmodified version is available at: ftp://ftp.funet.fi/pub/crypt/hash/sha/sha1.c THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. dirent: POSIX directory browsing functions and types for Win32. Kevlin Henney (mailto:kevlin@acm.org), March 1997. Copyright Kevlin Henney, 1997. All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation for any purpose is hereby granted without fee, provided that this copyright and permissions notice appear in all copies and derivatives, and that no charge may be made for the software and its documentation except to cover cost of distribution. This software is supplied "as is" without express or implied warranty. COMPort: General component library for WIN32 Copyright (C) 2000, UAB BBDSoft ( http://www.bbdsoft.com/ ) This material is provided "as is", with absolutely no warranty expressed or implied. Any use is at your own risk. Permission to use or copy this software for any purpose is hereby granted without fee, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. The author of this program may be contacted at developers@bbdsoft.com debian/menu0000644000000000000000000000036011461004717010055 0ustar ?package(cultivation):needs="X11" \ section="Games/Action"\ title="Cultivation" \ longtitle="Game about the interactions within a gardening community" \ command="/usr/games/cultivation" \ icon="/usr/share/pixmaps/cultivation.xpm" debian/Cultivation.60000644000000000000000000001033711460775465011601 0ustar .\" (c) 2007 Miriam Ruiz .\" .\" This document 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 package; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA .TH "cultivation" "6" "June 2007" "" "Games" .SH "NAME" cultivation \- game about the interactions within a gardening community .SH "SYNOPSIS" .B cultivation .SH "DESCRIPTION" Cultivation is a video game written by Jason Rohrer about a community of gardeners growing food for themselves in a shared space. .PP Cultivation is quite different from most other games. It is a social simulation, and the primary form of conflict is over land and plant resources\-\-\-there is no shooting, but there are plenty of angry looks. It is also an evolution simulation. Within the world of Cultivation, you can explore a virtually infinite spectrum of different plant and gardener varieties. .PP All of the graphics, sounds, melodies,and other content in Cultivation are 100% procedurally generated at playtime. In other words, there are no hand\-painted texture maps\-\-\-instead, each object has a uniquely "grown" appearance. Every time you play, Cultivation generates fresh visuals, music, and behaviors. .PP Cultivation is certainly an unusual game, but that doesn't necessarily mean it's good. From experience, some people absolutely love it, while others absolutely hate it. It's intended to be an "art game," after all, and mixed reactions go with that territory. .PP When two sides are fighting, they often ruin the commons for everyone. The game is a metaphor about that kind of situation. Too much fighting destroys the island for everyone. .SH "USAGE" Cultivation explores the social interactions within a gardening community. You lead one family of gardeners, starting with a single individual, and wise choices can keep your genetic line from extinction. While breeding plants, eating, and mating, your actions impact your neighbors, and the social balance sways between conflict and compromise. .PP Cultivation features dynamic graphics that are procedurally\-generated using genetic representations and cross\-breeding. In other words, game objects are "grown" in real\-time instead of being hand\-painted or hard\-coded. Each plant and gardener in the game is unique in terms of both its appearance and behavior. The game includes an extensive in\-game tutorial. .PP In Cultivation, the game system teeters on the verge of uncontrolled conflict, and the player can make choices within this system that affect the balance. Perhaps it is impossible to win the game by acting only out of self\-interest, but likewise, it may be impossible to win acting only out of altruism (I say "perhaps" here because, even as the designer of the system, I have only explored a tiny fraction of the game's possible permutations). Players can directly see the results of the choices that they make. .PP In the initial release of Cultivation, neighbors would respond to encroachment with both counter\-encroachment (claiming some of your plants as their own) and social scorn (refusing to mate with you). With only these mechanics in place, fighting just didn't feel serious enough\-\-\-a fight could continue indefinitely without any real consequences, since after two plots overlapped completely, no further revenge was possible for either side. I had to think of a more serious act to crown the peak of an escalating fight. Poisoning, which is now a key mechanic in Cultivation, fit perfectly. This mechanic allows an angry neighbor to poison a plant. Poison not only kills the target plant, but it also renders the ground around the plant forever unusable. .SH "SEE ALSO" You can find more information at http://cultivation.sourceforge.net/ debian/manpages0000644000000000000000000000005211460775465010720 0ustar debian/cultivation.6 debian/Cultivation.6 debian/changelog0000644000000000000000000000606512152562450011051 0ustar cultivation (9+dfsg1-2) unstable; urgency=low [ Barry deFreese ] * Patch for portaudio19. (Closes: #594015). * Add hardening flags: + Clean up rules file to pass options not sed the makefiles. + Add dpkg-dev build dep for buildflags. * Bump Standards Version to 3.9.4. [ Paul Wise ] * Use the canonical and working URLs for Vcs-* * Upgrade to debhelper compat 9, add hardening * Drop unneeded duplicate png file * Add some keywords to the desktop file -- Paul Wise Sun, 02 Jun 2013 14:24:36 +0800 cultivation (9+dfsg1-1) unstable; urgency=low * New upstream release - Needs libpng, build against it * Switch to dpkg-source v3 format * Refresh, clean patches - Drop rng_64bit.patch, merged upstream - Drop mouse_pos.patch, issue fixed in mesa - Drop cflags.patch, using sed is better - Merge build.patch into portaudio.patch * Switch to debhelper dh rules.tiny style * Keep upstream capitalization, add symlinks * Split up Build-Depends field * Build & use a large transparent icon from the MacOS icon & mask * Improve the menu files * Install the upstream changelog file * Change the patches to use DEP-3 headers * Add myself to Uploaders * Drop README.Debian, it is not useful to users * Bump Standards-Version, no changes needed * Slightly improve the copyright file * Don't link against libX11, it isn't used * Fix a crash when restarting the game (Closes: #597851) -- Paul Wise Wed, 09 Feb 2011 21:53:07 +0800 cultivation (8.20070809.dfsg1-3) unstable; urgency=medium [ Miriam Ruiz ] * Fixed bashism: Replaced "{build,configure}-stamp" by "build-stamp configure-stamp" in debian/rules. [ Jon Dowland ] * remove a bashism in debian/rules (Closes: #478368) [ Ansgar Burchardt ] * Remove deprecated Encoding key from .desktop file * debian/control: Change XS-Vcs-* to Vcs-* * Remove Homepage semi-field from description [ Peter De Wachter ] * rng_64bit.patch: fix for 64-bit systems from upstream CVS (Closes: #501933) * debian/rules: call dh_desktop * debian/control: add myself to uploaders -- Peter De Wachter Tue, 14 Oct 2008 00:02:25 +0200 cultivation (8.20070809.dfsg1-2) unstable; urgency=low [ Miriam Ruiz ] * Added hacky patch to fix wrong mouse behaviour. See #440137 Thanks to David Martinez Marti [ Jon Dowland ] * add Homepage: control field to source stanza -- Jon Dowland Mon, 03 Dec 2007 17:47:53 +0000 cultivation (8.20070809.dfsg1-1) unstable; urgency=low [ Miriam Ruiz ] * New upstream version. * Replaced icon by upstream's. * Added XS-Vcs-Svn and XS-Vcs-Browser to debian/control. -- Miriam Ruiz Tue, 28 Aug 2007 14:36:38 +0000 cultivation (7.20061227.dfsg1-1) unstable; urgency=low [ Miriam Ruiz ] * Initial release (Closes: #428078) [ Jon Dowland ] * update menu section to "Games/Action" for menu transition (thanks Linas Žvirblis) -- Miriam Ruiz Fri, 08 Jun 2007 14:04:02 +0000 debian/source/0000755000000000000000000000000012152562454010474 5ustar debian/source/format0000644000000000000000000000001411460765574011713 0ustar 3.0 (quilt) debian/cultivation.desktop0000644000000000000000000000041112152550445013121 0ustar [Desktop Entry] Type=Application Name=Cultivation GenericName=Gardening game Comment=Game about the interactions within a gardening community Icon=cultivation Exec=cultivation Terminal=false Categories=Game;ArcadeGame; Keywords=Gardening;Social dynamics;Community; debian/control0000644000000000000000000000237712152550336010604 0ustar Source: cultivation Section: games Priority: extra Maintainer: Debian Games Team Uploaders: Miriam Ruiz , Peter De Wachter , Paul Wise Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), freeglut3-dev, imagemagick, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libpng-dev, portaudio19-dev Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/cultivation/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/cultivation/ Homepage: http://cultivation.sourceforge.net/ Package: cultivation Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: game about the interactions within a gardening community Cultivation is a game about a community of gardeners growing food for themselves in a shared space. . Cultivation is quite different from most other games. It is a social simulation, and the primary form of conflict is over land and plant resources. There is no shooting, but there are plenty of angry looks. It is also an evolution simulation. Within the world of Cultivation, you can explore a virtually infinite spectrum of different plant and gardener varieties. debian/links0000644000000000000000000000005411460775465010247 0ustar usr/games/Cultivation usr/games/cultivation debian/docs0000644000000000000000000000003510632335262010041 0ustar game2/documentation/how_to_* debian/rules0000755000000000000000000000443412152550336010255 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ --parallel override_dh_auto_configure: chmod u+x game2/configure cd game2 && ./configure --linux override_dh_auto_build: convert -type Grayscale -negate ./game2/build/macOSX/icon128_mask.png mask.png composite -compose CopyOpacity mask.png ./game2/build/macOSX/icon128_color.png cultivation.png mkdir -p 32x32 convert -scale 32x32 cultivation.png 32x32/cultivation.png convert 32x32/cultivation.png 32x32/cultivation.xpm sed -i -e 's/-lX11//' game2/gameSource/Makefile sed -i -e 's/^DEBUG_FLAG = .*/DEBUG_FLAG = /' game2/gameSource/Makefile sed -i -e 's/^OPTIMIZE_FLAG = .*/OPTIMIZE_FLAG = /' game2/gameSource/Makefile sed -i -e 's/^COMPILE_FLAGS = /COMPILE_FLAGS = $$(CFLAGS) $$(CPPFLAGS) /' game2/gameSource/Makefile sed -i -e 's/^LINK_FLAGS = /LINK_FLAGS = $$(LDFLAGS) /' game2/gameSource/Makefile $(MAKE) -C game2/gameSource LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS) -DDATADIR=\\\"/usr/share/games/cultivation\\\"" override_dh_auto_clean: [ ! -f game2/gameSource/Makefile ] || $(MAKE) -C game2/gameSource clean rm -f game2/gameSource/Makefile rm -f game2/gameSource/Makefile.minorGems_dependencies rm -rf mask.png cultivation.png 32x32 override_dh_installchangelogs: dh_installchangelogs game2/documentation/changeLog.txt V=9 P=Cultivation p=cultivation sfp=cultivation/cultivation get-orig-source: wget -c http://downloads.sourceforge.net/project/$(sfp)/v$(V)/$(P)_$(V)_UnixSource.tar.gz tar zxf $(P)_$(V)_UnixSource.tar.gz # Embedded code copies rm -r $(P)_$(V)_UnixSource/minorGems/sound/portaudio # Embedded code copies, unused rm -r $(P)_$(V)_UnixSource/minorGems/network/upnp/miniupnpc rm $(P)_$(V)_UnixSource/minorGems/graphics/converters/lodepng.* # Pre-built PDF, unused rm $(P)_$(V)_UnixSource/game2/documentation/futurePlay/poster.pdf # Pre-built Windows libraries, unused rm $(P)_$(V)_UnixSource/game2/build/win32/*.dll # non-free, unused rm -r $(P)_$(V)_UnixSource/minorGems/util/development/fortify rm $(P)_$(V)_UnixSource/minorGems/graphics/openGL/tga.* rm $(P)_$(V)_UnixSource/minorGems/graphics/openGL/texture.* mv $(P)_$(V)_UnixSource $(p)-$(V)+dfsg1.orig tar zcf ../$(p)_$(V)+dfsg1.orig.tar.gz $(p)-$(V)+dfsg1.orig rm -r $(P)_$(V)_UnixSource.tar.gz $(p)-$(V)+dfsg1.orig debian/compat0000644000000000000000000000000212152550336010366 0ustar 9 debian/cultivation.60000644000000000000000000000002711460775465011634 0ustar .so man6/Cultivation.6