Update to celestia-1.6.1.

This commit is contained in:
ajacoutot 2011-07-09 01:41:13 +00:00
parent abc4fbc74b
commit 89d0ff9184
7 changed files with 71 additions and 43 deletions

View File

@ -1,10 +1,8 @@
# $OpenBSD: Makefile,v 1.22 2010/12/31 07:10:02 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.23 2011/07/09 01:41:13 ajacoutot Exp $
COMMENT= free space simulator and planetarium
DISTNAME= celestia-1.6.0
REVISION= 5
DISTNAME= celestia-1.6.1
CATEGORIES= astro x11
@ -27,6 +25,7 @@ WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gtk-x11-2.0
WANTLIB += jpeg m ogg pango-1.0 pangocairo-1.0 pangoft2-1.0 pangox-1.0
WANTLIB += pcre pixman-1 png pthread pthread-stubs stdc++ xcb z
WANTLIB += gdkglext-x11-1.0 gtkglext-x11-1.0 lua theora
WANTLIB += Xxf86vm drm gthread-2.0 xcb-render xcb-shm
MODULES= devel/gettext
LIB_DEPENDS= x11/gtkglext \
@ -40,7 +39,7 @@ USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm -lGL"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-gtk \
--with-lua \

View File

@ -1,5 +1,5 @@
MD5 (celestia-1.6.0.tar.gz) = m5ao52ZqtaJvAyudYF4CPQ==
RMD160 (celestia-1.6.0.tar.gz) = wmoZAHG9Bs8sHqarkBRpNl4A+o4=
SHA1 (celestia-1.6.0.tar.gz) = cqqcwu8O4eTXPtY8omOKHtivlWY=
SHA256 (celestia-1.6.0.tar.gz) = nZeFtlHLQriQdl+XI06u07A79eB9+xvk8SOicmDNu9Q=
SIZE (celestia-1.6.0.tar.gz) = 51848015
MD5 (celestia-1.6.1.tar.gz) = AiCJgqQxuYRQL6yQm/OA9A==
RMD160 (celestia-1.6.1.tar.gz) = Rv+uKJb5XZKwt6qs/OjQBPtVvxo=
SHA1 (celestia-1.6.1.tar.gz) = Hw/fRSWoudbHCOH2ODur7WcNGOc=
SHA256 (celestia-1.6.1.tar.gz) = 01VwzLlED8C9PnPrm0w+ikwl865EShPRF1BT+hbcNMQ=
SIZE (celestia-1.6.1.tar.gz) = 52600436

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-configure,v 1.4 2009/07/20 10:35:20 ajacoutot Exp $
--- configure.orig Tue Jul 7 00:56:15 2009
+++ configure Mon Jul 20 11:50:56 2009
@@ -23422,8 +23422,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
$OpenBSD: patch-configure,v 1.5 2011/07/09 01:41:13 ajacoutot Exp $
--- configure.orig Sun Jun 5 20:33:27 2011
+++ configure Sat Jul 9 03:25:52 2011
@@ -17922,8 +17922,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
CELESTIA_CPPFLAGS=""
-CELESTIA_CFLAGS="-O2 -Wall -ffast-math -fexpensive-optimizations"
-CELESTIA_CXXFLAGS="-O2 -Wall -ffast-math -fexpensive-optimizations"
{ echo "$as_me:$LINENO: checking whether to include debugging code" >&5
echo $ECHO_N "checking whether to include debugging code... $ECHO_C" >&6; }
-CFLAGS="$CFLAGS -ffast-math -fexpensive-optimizations"
-CXXFLAGS="$CXXFLAGS -ffast-math -fexpensive-optimizations"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include debugging code" >&5
$as_echo_n "checking whether to include debugging code... " >&6; }

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_celengine_image_cpp,v 1.1 2011/07/08 20:38:01 naddy Exp $
Fix build with png-1.5.
--- src/celengine/image.cpp.orig Tue Jul 5 18:05:10 2011
+++ src/celengine/image.cpp Tue Jul 5 18:05:23 2011
@@ -737,7 +737,7 @@ Image* LoadPNGImage(const string& filename)
if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
{
- png_set_gray_1_2_4_to_8(png_ptr);
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
}
if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_celestia_celestiacore_cpp,v 1.4 2009/07/20 10:35:20 ajacoutot Exp $
--- src/celestia/celestiacore.cpp.orig Mon Jun 22 17:44:22 2009
+++ src/celestia/celestiacore.cpp Mon Jul 20 11:50:56 2009
@@ -4091,7 +4091,7 @@ bool CelestiaCore::initSimulation(const string* config
$OpenBSD: patch-src_celestia_celestiacore_cpp,v 1.5 2011/07/09 01:41:13 ajacoutot Exp $
--- src/celestia/celestiacore.cpp.orig Sun Jun 5 18:11:13 2011
+++ src/celestia/celestiacore.cpp Sat Jul 9 03:23:48 2011
@@ -4103,7 +4103,7 @@ bool CelestiaCore::initSimulation(const string* config
}
else
{

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_celestia_winmain_cpp,v 1.1 2009/11/17 23:12:16 ajacoutot Exp $
--- src/celestia/winmain.cpp.orig Tue Nov 17 15:26:12 2009
+++ src/celestia/winmain.cpp Tue Nov 17 15:26:25 2009
@@ -1384,7 +1384,7 @@ BOOL APIENTRY SelectDisplayModeProc(HWND hDlg,
$OpenBSD: patch-src_celestia_winmain_cpp,v 1.2 2011/07/09 01:41:13 ajacoutot Exp $
--- src/celestia/winmain.cpp.orig Sun Jun 5 18:11:13 2011
+++ src/celestia/winmain.cpp Sat Jul 9 03:23:48 2011
@@ -1385,7 +1385,7 @@ BOOL APIENTRY SelectDisplayModeProc(HWND hDlg,
bind_textdomain_codeset("celestia", CurrentCP());
SendMessage(hwnd, CB_INSERTSTRING, -1,
reinterpret_cast<LPARAM>(_("Windowed Mode")));

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2009/12/21 18:05:49 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.7 2011/07/09 01:41:13 ajacoutot Exp $
@bin bin/celestia
share/applications/celestia.desktop
share/celestia/
@ -7,9 +7,11 @@ share/celestia/COPYING_bg
share/celestia/COPYING_de
share/celestia/COPYING_es
share/celestia/COPYING_fr
share/celestia/COPYING_gl
share/celestia/COPYING_it
share/celestia/COPYING_ja
share/celestia/COPYING_ko
share/celestia/COPYING_nl
share/celestia/COPYING_pl
share/celestia/COPYING_pt
share/celestia/COPYING_pt_BR
@ -17,26 +19,32 @@ share/celestia/COPYING_ru
share/celestia/COPYING_sv
share/celestia/COPYING_uk
share/celestia/COPYING_zh_CN
share/celestia/COPYING_zh_TW
share/celestia/celestia-logo.png
share/celestia/celestia.cfg
@sample ${SYSCONFDIR}/celestia.cfg
share/celestia/celestiaui.xml
share/celestia/controls.txt
share/celestia/controls_be.txt
share/celestia/controls_bg.txt
share/celestia/controls_de.txt
share/celestia/controls_es.txt
share/celestia/controls_fr.txt
share/celestia/controls_gl.txt
share/celestia/controls_it.txt
share/celestia/controls_ja.txt
share/celestia/controls_ko.txt
share/celestia/controls_nl.txt
share/celestia/controls_no.txt
share/celestia/controls_pl.txt
share/celestia/controls_pt.txt
share/celestia/controls_pt_BR.txt
share/celestia/controls_ru.txt
share/celestia/controls_sk.txt
share/celestia/controls_sv.txt
share/celestia/controls_uk.txt
share/celestia/controls_zh_CN.txt
share/celestia/controls_zh_TW.txt
share/celestia/data/
share/celestia/data/asterisms.dat
share/celestia/data/asteroids.ssc
@ -76,23 +84,28 @@ share/celestia/data/venus_locs.ssc
share/celestia/data/visualbins.stc
share/celestia/data/world-capitals.ssc
share/celestia/demo.cel
share/celestia/demo_be.cel
share/celestia/demo_de.cel
share/celestia/demo_es.cel
share/celestia/demo_fr.cel
share/celestia/demo_gl.cel
share/celestia/demo_it.cel
share/celestia/demo_ja.cel
share/celestia/demo_ko.cel
share/celestia/demo_lt.cel
share/celestia/demo_lv.cel
share/celestia/demo_nl.cel
share/celestia/demo_no.cel
share/celestia/demo_pl.cel
share/celestia/demo_pt.cel
share/celestia/demo_pt_BR.cel
share/celestia/demo_ru.cel
share/celestia/demo_sk.cel
share/celestia/demo_sv.cel
share/celestia/demo_tr.cel
share/celestia/demo_uk.cel
share/celestia/demo_zh_CN.cel
share/celestia/demo_zh_TW.cel
share/celestia/extras/
share/celestia/extras-standard/
share/celestia/extras-standard/cassini/
@ -100,10 +113,15 @@ share/celestia/extras-standard/cassini/cassini.ssc
share/celestia/extras-standard/cassini/data/
share/celestia/extras-standard/cassini/data/cassini-cruise.xyzv
share/celestia/extras-standard/cassini/data/cassini-orbit.xyzv
share/celestia/extras-standard/cassini/data/cassini-solstice.xyzv
share/celestia/extras-standard/cassini/data/huygens.xyzv
share/celestia/extras-standard/cassini/models/
share/celestia/extras-standard/cassini/models/cassini.3ds
share/celestia/extras-standard/cassini/models/huygens.3ds
share/celestia/extras-standard/galileo/
share/celestia/extras-standard/galileo/data/
share/celestia/extras-standard/galileo/data/galileo-cruise.xyzv
share/celestia/extras-standard/galileo/data/galileo-orbit.xyzv
share/celestia/extras-standard/galileo/galileo.ssc
share/celestia/extras-standard/galileo/models/
share/celestia/extras-standard/galileo/models/galileo.3ds
@ -176,34 +194,42 @@ share/celestia/fonts/helvbold18.txf
share/celestia/fonts/helvbold24.txf
share/celestia/fonts/sans10.txf
share/celestia/fonts/sans12.txf
share/celestia/fonts/sans12_be.txf
share/celestia/fonts/sans12_bg.txf
share/celestia/fonts/sans12_ja.txf
share/celestia/fonts/sans12_ko.txf
share/celestia/fonts/sans12_ru.txf
share/celestia/fonts/sans12_uk.txf
share/celestia/fonts/sans12_zh_CN.txf
share/celestia/fonts/sans12_zh_TW.txf
share/celestia/fonts/sans14.txf
share/celestia/fonts/sans14_be.txf
share/celestia/fonts/sans14_ja.txf
share/celestia/fonts/sans14_ko.txf
share/celestia/fonts/sans14_ru.txf
share/celestia/fonts/sans14_uk.txf
share/celestia/fonts/sans14_zh_CN.txf
share/celestia/fonts/sans14_zh_TW.txf
share/celestia/fonts/sans20.txf
share/celestia/fonts/sansbold10.txf
share/celestia/fonts/sansbold12.txf
share/celestia/fonts/sansbold14.txf
share/celestia/fonts/sansbold20.txf
share/celestia/fonts/sansbold20_be.txf
share/celestia/fonts/sansbold20_bg.txf
share/celestia/fonts/sansbold20_ja.txf
share/celestia/fonts/sansbold20_ko.txf
share/celestia/fonts/sansbold20_ru.txf
share/celestia/fonts/sansbold20_uk.txf
share/celestia/fonts/sansbold20_zh_CN.txf
share/celestia/fonts/sansbold20_zh_TW.txf
share/celestia/guide.cel
share/celestia/guide_be.cel
share/celestia/guide_bg.cel
share/celestia/guide_de.cel
share/celestia/guide_es.cel
share/celestia/guide_fr.cel
share/celestia/guide_gl.cel
share/celestia/guide_it.cel
share/celestia/guide_ja.cel
share/celestia/guide_ko.cel
@ -213,9 +239,11 @@ share/celestia/guide_pl.cel
share/celestia/guide_pt.cel
share/celestia/guide_pt_BR.cel
share/celestia/guide_ru.cel
share/celestia/guide_sk.cel
share/celestia/guide_sv.cel
share/celestia/guide_uk.cel
share/celestia/guide_zh_CN.cel
share/celestia/guide_zh_TW.cel
share/celestia/models/
share/celestia/models/E0.png
share/celestia/models/MilkyWay.png
@ -339,10 +367,12 @@ share/celestia/shaders/texphong_nv.fp
share/celestia/splash/
share/celestia/splash/splash.png
share/celestia/start.cel
share/celestia/start_be.cel
share/celestia/start_bg.cel
share/celestia/start_de.cel
share/celestia/start_es.cel
share/celestia/start_fr.cel
share/celestia/start_gl.cel
share/celestia/start_hu.cel
share/celestia/start_it.cel
share/celestia/start_ja.cel
@ -354,9 +384,11 @@ share/celestia/start_pl.cel
share/celestia/start_pt.cel
share/celestia/start_pt_BR.cel
share/celestia/start_ru.cel
share/celestia/start_sk.cel
share/celestia/start_sv.cel
share/celestia/start_uk.cel
share/celestia/start_zh_CN.cel
share/celestia/start_zh_TW.cel
share/celestia/textures/
share/celestia/textures/flare.jpg
share/celestia/textures/hires/
@ -521,6 +553,8 @@ share/locale/ar/
share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/celestia.mo
share/locale/ar/LC_MESSAGES/celestia_constellations.mo
share/locale/be/LC_MESSAGES/celestia.mo
share/locale/be/LC_MESSAGES/celestia_constellations.mo
share/locale/bg/LC_MESSAGES/celestia.mo
share/locale/bg/LC_MESSAGES/celestia_constellations.mo
share/locale/de/LC_MESSAGES/celestia.mo
@ -532,6 +566,8 @@ share/locale/es/LC_MESSAGES/celestia.mo
share/locale/es/LC_MESSAGES/celestia_constellations.mo
share/locale/fr/LC_MESSAGES/celestia.mo
share/locale/fr/LC_MESSAGES/celestia_constellations.mo
share/locale/gl/LC_MESSAGES/celestia.mo
share/locale/gl/LC_MESSAGES/celestia_constellations.mo
share/locale/hu/LC_MESSAGES/celestia.mo
share/locale/hu/LC_MESSAGES/celestia_constellations.mo
share/locale/it/LC_MESSAGES/celestia.mo
@ -548,6 +584,8 @@ share/locale/lv/LC_MESSAGES/celestia.mo
share/locale/lv/LC_MESSAGES/celestia_constellations.mo
share/locale/nl/LC_MESSAGES/celestia.mo
share/locale/nl/LC_MESSAGES/celestia_constellations.mo
share/locale/no/LC_MESSAGES/celestia.mo
share/locale/no/LC_MESSAGES/celestia_constellations.mo
share/locale/pl/LC_MESSAGES/celestia.mo
share/locale/pl/LC_MESSAGES/celestia_constellations.mo
share/locale/pt/LC_MESSAGES/celestia.mo
@ -558,12 +596,18 @@ share/locale/ro/LC_MESSAGES/celestia.mo
share/locale/ro/LC_MESSAGES/celestia_constellations.mo
share/locale/ru/LC_MESSAGES/celestia.mo
share/locale/ru/LC_MESSAGES/celestia_constellations.mo
share/locale/sk/LC_MESSAGES/celestia.mo
share/locale/sk/LC_MESSAGES/celestia_constellations.mo
share/locale/sv/LC_MESSAGES/celestia.mo
share/locale/sv/LC_MESSAGES/celestia_constellations.mo
share/locale/tr/LC_MESSAGES/celestia.mo
share/locale/tr/LC_MESSAGES/celestia_constellations.mo
share/locale/uk/LC_MESSAGES/celestia.mo
share/locale/uk/LC_MESSAGES/celestia_constellations.mo
share/locale/zh_CN/LC_MESSAGES/celestia.mo
share/locale/zh_CN/LC_MESSAGES/celestia_constellations.mo
share/locale/zh_TW/LC_MESSAGES/celestia.mo
share/locale/zh_TW/LC_MESSAGES/celestia_constellations.mo
share/pixmaps/
share/pixmaps/celestia.png
@exec %D/bin/update-desktop-database