simgear
flightgear
opencity
This commit is contained in:
Erkan IŞIK
2025-10-13 00:32:09 +03:00
parent 66da5c160e
commit 957b671ab9
21 changed files with 751 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSIMGEAR_SHARED=ONN")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.dodoc("README*", "NEWS", "AUTHORS", "ChangeLog")
@@ -0,0 +1,27 @@
From f485a4e49cddeef436a212bc655799e71a9648a7 Mon Sep 17 00:00:00 2001
From: Fabrice Bellet <fabrice@bellet.info>
Date: Sun, 22 Sep 2013 11:54:54 +0200
Subject: [PATCH 1/3] remove unneeded header
---
simgear/misc/stopwatch.hxx | 4 ----
1 file changed, 4 deletions(-)
diff --git a/simgear/misc/stopwatch.hxx b/simgear/misc/stopwatch.hxx
index 3436438..70df459 100644
--- a/simgear/misc/stopwatch.hxx
+++ b/simgear/misc/stopwatch.hxx
@@ -42,10 +42,6 @@
# error This library requires C++
#endif
-#ifdef HAVE_CONFIG_H
-# include <simgear_config.h>
-#endif
-
#if defined(__linux__) && ! defined(HAVE_GETRUSAGE)
# define HAVE_GETRUSAGE
#endif
--
1.8.3.1
@@ -0,0 +1,34 @@
From 26fbf7c70010c7a16bdfe98a3282a13c9defd8b9 Mon Sep 17 00:00:00 2001
From: Fabrice Bellet <fabrice@bellet.info>
Date: Sun, 22 Sep 2013 11:56:12 +0200
Subject: [PATCH 2/3] check to be sure that %n is not being set as format type
(CVE-2012-2090)
---
simgear/scene/model/SGText.cxx | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/simgear/scene/model/SGText.cxx b/simgear/scene/model/SGText.cxx
index ca065b1..edf80bd 100644
--- a/simgear/scene/model/SGText.cxx
+++ b/simgear/scene/model/SGText.cxx
@@ -76,6 +76,16 @@ void SGText::UpdateCallback::operator()(osg::Node * node, osg::NodeVisitor *nv )
// FIXME:
// hopefully the users never specifies bad formats here
// this should better be something more robust
+ // It is never safe for format.c_str to be %n.
+ string unsafe ("%n");
+ size_t found;
+
+ found=format.find(unsafe);
+ if (found!=string::npos) {
+ SG_LOG(SG_GENERAL, SG_ALERT, "format type contained %n, but this is unsafe, reverting to %s");
+ format = "%s";
+ }
+
char buf[256];
if( numeric ) {
double d = property->getDoubleValue() * scale + offset;
--
1.8.3.1
+92
View File
@@ -0,0 +1,92 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>simgear</Name>
<Homepage>http://simgear.sourceforge.net/</Homepage>
<Packager>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Simgear game library</Summary>
<Description>Developement library for simulation games.</Description>
<Archive sha1sum="5aea53531f03a217e81c9bcd06401f02e6617772" type="tarbz2">https://gitlab.com/flightgear/fgmeta/-/jobs/11398677078/artifacts/raw/sgbuild/simgear-2024.1.2.tar.bz2</Archive>
<BuildDependencies>
<Dependency>OpenSceneGraph-devel</Dependency>
<Dependency>cmake</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>openal-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>c-ares-devel</Dependency>
<Dependency>boost-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">0001-remove-unneeded-header.patch</Patch>
<Patch level="1">0002-check-to-be-sure-that-n-is-not-being-set-as-format-t.patch</Patch>
</Patches>
</Source>
<Package>
<Name>simgear</Name>
<RuntimeDependencies>
<Dependency>mesa</Dependency>
<Dependency>openal</Dependency>
<Dependency>c-ares</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>zlib</Dependency>
<Dependency>OpenSceneGraph</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/SimGearCore/</Path>
</Files>
</Package>
<Package>
<Name>simgear-devel</Name>
<Summary>Development files for simgear</Summary>
<RuntimeDependencies>
<Dependency release="current">simgear</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2025-10-11</Date>
<Version>2024.1.2</Version>
<Comment>Version Bump</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
<Update release="3">
<Date>2020-06-22</Date>
<Version>2020.1.2</Version>
<Comment>Version Bump</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
<Update release="2">
<Date>2019-01-21</Date>
<Version>2018.3.1</Version>
<Comment>Version Bump</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
<Update release="1">
<Date>2017-01-18</Date>
<Version>2016.4.4</Version>
<Comment>new release</Comment>
<Name>Ali Algul</Name>
<Email>aligulle3801@gmail.com</Email>
</Update>
</History>
</PISI>
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>simgear</Name>
<Summary xml:lang="tr">Oyun kütüphanesi</Summary>
<Description xml:lang="tr">Genellikle simulasyon oyunları tarafından kullanılan bir kütüphanesi</Description>
<Description xml:lang="fr">Librairie de développement pour jeux de simulation.</Description>
<Description xml:lang="es">Librería de desarrollo para juegos de simulación</Description>
</Source>
<Package>
<Name>simgear-devel</Name>
<Summary xml:lang="tr">simgear için geliştirme dosyaları</Summary>
</Package>
</PISI>
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>game.simulation</Name>
</PISI>
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
import os
WorkDir = "fgdata"
NoStrip = "/"
def fixperms(d):
for root, dirs, files in os.walk(d):
for name in dirs:
shelltools.chmod(os.path.join(root, name), 0755)
for name in files:
shelltools.chmod(os.path.join(root, name), 0644)
def install():
pisitools.dodir("/usr/share")
shelltools.cd("..")
fixperms(WorkDir)
shelltools.copytree(WorkDir, "%s/usr/share/flightgear" % get.installDIR())
@@ -0,0 +1,49 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>flightgear-data-base</Name>
<Homepage>http://www.flightgear.org</Homepage>
<Packager>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>flightgear</Icon>
<IsA>data</IsA>
<Summary>Flightgear data files</Summary>
<Description>Contains base data files for Flightgear simulator. You can also install additional data files, including the 3 DVD sized world map from the original website.</Description>
<Archive sha1sum="e71cee16064b5f05e6574d065b50efec9709f455" type="tarbz2">https://sourceforge.net/projects/flightgear/files/release-2024.1/FlightGear-2024.1.1-data.txz/download</Archive>
</Source>
<Package>
<Name>flightgear-data-base</Name>
<Files>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2025-10-11</Date>
<Version>2024.1.1</Version>
<Comment>Version Bump</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
<Update release="2">
<Date>2020-10-15</Date>
<Version>2020.1.3</Version>
<Comment>Version Bump</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
<Update release="1">
<Date>2020-06-21</Date>
<Version>2020.1.2</Version>
<Comment>new release</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>flightgear-data-base</Name>
<Summary xml:lang="tr">Flightgear verileri</Summary>
<Description xml:lang="tr">Flightgear benzetimcisinin temel veri dosyaları. Daha fazla harita için 3 DVD boyutundaki tüm dünya haritası da dahil olmak üzere pek çok farklı veri dosyasını yazılımın sitesinden indirebilirsiniz.</Description>
</Source>
</PISI>
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DFG_DATA_DIR=/usr/share/flightgear")
def build():
cmaketools.make()
def install():
cmaketools.install()
pisitools.dodoc("README*", "ChangeLog", "AUTHORS", "NEWS", "Thanks")
@@ -0,0 +1,14 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Flight Gear
Name[tr]=Flight Gear
GenericName=Flight Simulation
GenericName[tr]=Uçak Simulasyonu
Icon=flightgear
Exec=fgfs --enable-fullscreen
Terminal=false
StartupNotify=false
Categories=Application;Game;Simulation;
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

+109
View File
@@ -0,0 +1,109 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>flightgear</Name>
<Homepage>http://www.flightgear.org</Homepage>
<Packager>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>flightgear</Icon>
<IsA>app:gui</IsA>
<Summary>Opensource flight simulator</Summary>
<Description>FlightGear is an opensource multiplatform flight simulator project.</Description>
<Archive sha1sum="0752ed1fbe2ccaf35edbec701702c594896615f3" type="tarbz2">https://gitlab.com/flightgear/fgmeta/-/jobs/11398677078/artifacts/raw/fgbuild/flightgear-2024.1.2.tar.bz2</Archive>
<BuildDependencies>
<Dependency>plib-devel</Dependency>
<Dependency>OpenSceneGraph-devel</Dependency>
<Dependency>simgear-devel</Dependency>
<Dependency>speex-devel</Dependency>
<Dependency>speexdsp-devel</Dependency>
<Dependency>openal-devel</Dependency>
<Dependency>libglvnd-devel</Dependency>
<Dependency>glew-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>eudev-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>flite-devel</Dependency>
<Dependency>freeglut-devel</Dependency>
<Dependency>libevent-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>gsm-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>qt5-declarative-devel</Dependency>
<Dependency>qt5-svg-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>flightgear</Name>
<RuntimeDependencies>
<Dependency>plib</Dependency>
<Dependency>gsm</Dependency>
<Dependency>speex</Dependency>
<Dependency>openal</Dependency>
<Dependency>simgear</Dependency>
<Dependency>dbus</Dependency>
<Dependency>zlib</Dependency>
<Dependency>eudev</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libglvnd</Dependency>
<Dependency>glew</Dependency>
<Dependency>libpng</Dependency>
<Dependency>flite</Dependency>
<Dependency>freeglut</Dependency>
<Dependency>libevent</Dependency>
<Dependency>freetype</Dependency>
<Dependency>OpenSceneGraph</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-svg</Dependency>
<Dependency>speexdsp</Dependency>
<Dependency>qt5-declarative</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/zsh</Path>
<Path fileType="data">/usr/share/icons/hicolor</Path>
<Path fileType="data">/usr/share/bash-completion/completions</Path>
<Path fileType="data">/usr/share/flightgear/</Path>
<Path fileType="data">/usr/share/applications</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/flightgear.png">flightgear.png</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/flightgear.desktop">flightgear.desktop</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="3">
<Date>2025-10-11</Date>
<Version>2024.1.2</Version>
<Comment>Version Bump</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
<Update release="2">
<Date>2020-10-15</Date>
<Version>2020.1.3</Version>
<Comment>Version Bump</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
<Update release="1">
<Date>2017-01-18</Date>
<Version>2016.4.4</Version>
<Comment>new release</Comment>
<Name>Ali Algul</Name>
<Email>aligulle3801@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>flightgear</Name>
<Summary xml:lang="tr">Açık kodlu uçuş benzetimi</Summary>
<Description xml:lang="tr">FlightGear, açıkkodlu pek çok platformu destekleyen uçuş benzetim oyunudur.</Description>
</Source>
</PISI>
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import get
WorkDir = "%s-%sstable" % (get.srcNAME(), get.srcVERSION())
NoStrip = ["/usr/share/opencity"]
def setup():
autotools.autoreconf("-vif")
autotools.configure("--disable-sdltest \
--enable-sdl-mixer")
def build():
autotools.make()
def install():
autotools.install()
@@ -0,0 +1,13 @@
--- opencity.desktop.orig 2007-10-28 20:56:57.000000000 +0200
+++ opencity.desktop 2007-12-11 20:34:02.000000000 +0200
@@ -3,8 +3,10 @@
Encoding=UTF-8
Comment=A 3D city simulator
Comment[fr]=Jeu de simulation de Ville en 3D
+Comment[tr]=3B Şehir Simülasyonu
Categories=Game;StrategyGame;
Exec=opencity
GenericName=City simulator
GenericName[fr]=Simulateur de ville
+GenericName[tr]=Şehir Simülatörü
Icon=opencity.png
@@ -0,0 +1,16 @@
Description: Fix build failure with GCC 4.7
- src/tinyxpath/node_set.cpp: Include "../main.h" for HAVE_STDINT_H.
Bug-Debian: http://bugs.debian.org/667310
Author: Matej Vela <vela@debian.org>
Last-Update: 2012-05-18
--- opencity-0.0.6.4stable~/src/tinyxpath/node_set.cpp
+++ opencity-0.0.6.4stable/src/tinyxpath/node_set.cpp
@@ -22,6 +22,7 @@
distribution.
*/
+#include "../main.h"
#include "node_set.h"
#ifdef HAVE_STDINT_H
#include "stdint.h" // for intptr_t (32/64 bits void* pointer compatibility)
@@ -0,0 +1,11 @@
--- opencity-0.0.6.2stable/configure.ac~ 2009-10-22 21:00:46.000000000 +0200
+++ opencity-0.0.6.2stable/configure.ac 2009-11-18 18:20:24.000000000 +0100
@@ -48,7 +48,7 @@
dnl Set CXXFLAGS to disable -g -O2 and support the SDL libraries check
CXXFLAGS="$SDL_CFLAGS"
-LDFLAGS="$LDFLAGS $SDL_LIBS"
+LIBS="$LIBS $SDL_LIBS -lSDL_mixer -lpng"
AC_PROG_CXX
AC_LANG_CPLUSPLUS
@@ -0,0 +1,187 @@
--- opencity-0.0.5stable.orig/config/Makefile.in 2007-12-01 23:12:47.000000000 +0200
+++ opencity-0.0.5stable/config/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -79,7 +79,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/configure 2007-12-01 23:12:51.000000000 +0200
+++ opencity-0.0.5stable/configure 2007-12-11 20:00:32.000000000 +0200
@@ -4903,7 +4903,7 @@
if test "x$enable_debug" = "xyes"; then
enable_debug="$enable_gdb"
else
- enable_debug="-DNDEBUG"
+ enable_debug=""
fi
--- opencity-0.0.5stable.orig/docs/Makefile.in 2007-12-01 23:16:54.000000000 +0200
+++ opencity-0.0.5stable/docs/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -81,7 +81,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/Makefile.in 2007-12-01 23:12:51.000000000 +0200
+++ opencity-0.0.5stable/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -103,7 +103,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/binreloc/Makefile.in 2007-12-01 23:12:47.000000000 +0200
+++ opencity-0.0.5stable/src/binreloc/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -90,7 +90,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/enum/Makefile.in 2007-12-01 23:12:48.000000000 +0200
+++ opencity-0.0.5stable/src/enum/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -73,7 +73,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/Makefile.in 2007-12-01 23:12:47.000000000 +0200
+++ opencity-0.0.5stable/src/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -136,7 +136,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/mapgen/Makefile.in 2007-12-01 23:12:48.000000000 +0200
+++ opencity-0.0.5stable/src/mapgen/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -102,7 +102,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/mas/Makefile.in 2007-12-01 23:12:49.000000000 +0200
+++ opencity-0.0.5stable/src/mas/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -93,7 +93,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/model/Makefile.in 2007-12-01 23:12:49.000000000 +0200
+++ opencity-0.0.5stable/src/model/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -93,7 +93,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/networking/Makefile.in 2007-12-01 23:12:49.000000000 +0200
+++ opencity-0.0.5stable/src/networking/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -91,7 +91,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/simulator/Makefile.in 2007-12-01 23:12:49.000000000 +0200
+++ opencity-0.0.5stable/src/simulator/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -94,7 +94,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/structure/Makefile.in 2007-12-01 23:12:50.000000000 +0200
+++ opencity-0.0.5stable/src/structure/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -93,7 +93,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/tinyxml/Makefile.in 2007-12-01 23:12:50.000000000 +0200
+++ opencity-0.0.5stable/src/tinyxml/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -92,7 +92,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/tinyxpath/Makefile.in 2007-12-01 23:12:50.000000000 +0200
+++ opencity-0.0.5stable/src/tinyxpath/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -95,7 +95,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/src/triangulation/Makefile.in 2007-12-01 23:12:50.000000000 +0200
+++ opencity-0.0.5stable/src/triangulation/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -91,7 +91,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
--- opencity-0.0.5stable.orig/viewer/Makefile.in 2007-12-01 23:12:50.000000000 +0200
+++ opencity-0.0.5stable/viewer/Makefile.in 2007-12-11 19:56:41.000000000 +0200
@@ -97,7 +97,7 @@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = $(CFLAGS) @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
+62
View File
@@ -0,0 +1,62 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>opencity</Name>
<Homepage>http://www.opencity.info</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>OpenCity</Icon>
<IsA>app:gui</IsA>
<Summary>A city simulator game</Summary>
<Description>OpenCity is a city simulator game project written in standard C++ with OpenGL and SDL from scratch.</Description>
<Archive sha1sum="f9fd35974fd45e6d8c4453417d01c56b1ef13bca" type="tarbz2">mirrors://sourceforge/opencity/opencity-0.0.6.5stable.tar.bz2</Archive>
<BuildDependencies>
<Dependency>mesa-devel</Dependency>
<Dependency>libsdl-devel</Dependency>
<Dependency>sdl-net-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>sdl-image-devel</Dependency>
<Dependency>libpng-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>desktop.patch</Patch>
<Patch level="1">gcc-4.7-fixes.patch</Patch>
<Patch level="1">pisilinux-makefile.patch</Patch>
<!--<Patch level="1">opencity-as-needed.patch</Patch>-->
</Patches>
</Source>
<Package>
<Name>opencity</Name>
<RuntimeDependencies>
<Dependency>mesa</Dependency>
<Dependency>libsdl</Dependency>
<Dependency>sdl-net</Dependency>
<Dependency>mesa-glu</Dependency>
<Dependency>sdl-image</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="config">/etc/opencity</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/applicaions</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-06-16</Date>
<Version>0.0.6.5</Version>
<Comment>First release</Comment>
<Name>Ali Algul(gulle)</Name>
<Email>aligulle3801@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>opencity</Name>
<Summary xml:lang="tr">Şehir benzetim oyunu</Summary>
<Description xml:lang="tr">OpenCity standart C++ ile OpenGL ve SDL kullanılarak sıfırdan yazılmış bir şehir benzetim oyunudur.</Description>
</Source>
</PISI>