public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITP] savi 1.5.1
@ 2017-07-02 20:06 Ken Brown
  2017-07-02 20:47 ` Marco Atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Brown @ 2017-07-02 20:06 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

savi is in Debian:

  https://packages.debian.org/stretch/savi

My cygport file and patches are attached.

Package files
=============

http://sanibeltranquility.com/cygwin/x86/release/savi/savi-1.5.1-1-src.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/savi/savi-1.5.1-1.hint
http://sanibeltranquility.com/cygwin/x86/release/savi/savi-1.5.1-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/savi/savi-1.5.1-1-src.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/savi/savi-1.5.1-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/savi/savi-1.5.1-1.tar.xz

Ken



[-- Attachment #2: about.patch --]
[-- Type: text/plain, Size: 382 bytes --]

--- origsrc/savi1.5.1/tcl/about.tcl	2017-01-02 01:11:32.000000000 -0500
+++ src/savi1.5.1/tcl/about.tcl	2017-06-28 14:16:03.267450700 -0400
@@ -54,7 +54,7 @@ proc about(build) {} {
 
     build_Label $cmd l2 \
 "http://savi.sourceforge.net/
-A user manual is in SaVi's manual/ directory.
+A user manual is in /usr/share/doc/savi/html.
 
 
 Originally created at The Geometry Center

[-- Attachment #3: geomview.patch --]
[-- Type: text/plain, Size: 239 bytes --]

--- origsrc/savi1.5.0/.geomview	2001-11-11 14:59:54.000000000 -0500
+++ src/savi1.5.0/.geomview	2017-06-23 16:59:15.193055000 -0400
@@ -1 +1 @@
-(emodule-define "SaVi" "./savi -geomview")
+(emodule-define "SaVi" "/usr/bin/savi -geomview")

[-- Attachment #4: savi_script.patch --]
[-- Type: text/plain, Size: 657 bytes --]

--- origsrc/savi1.5.1/savi	2017-06-26 00:17:00.000000000 -0400
+++ src/savi1.5.1/savi	2017-06-28 10:19:09.447852800 -0400
@@ -41,7 +41,7 @@ export SAVI
 #
 # Default executable absolute location and name
 #
-SAVIBIN="${SAVI}/bin/SaVi"
+SAVIBIN="/usr/libexec/savi/bin/SaVi"
 
 #
 # Set locations of tcl and tk library code needed at runtime
@@ -264,7 +264,7 @@ fi
 # If savi tree has been split, with files (data/ oogl/ tcl/ maps/ and textfiles)
 # placed elsewhere, then uncomment and edit the following line to reset SAVI to
 # that other tree location.
-# SAVI=/usr/share/savi
+SAVI=/usr/share/savi
 # This is useful for Debian and Cygwin packagers.
 
 #

[-- Attachment #5: zlib.patch --]
[-- Type: text/plain, Size: 433 bytes --]

--- origsrc/savi1.5.1/src/Makefile	2017-06-28 07:29:58.000000000 -0400
+++ src/savi1.5.1/src/Makefile	2017-06-28 10:36:48.023603800 -0400
@@ -26,7 +26,7 @@ include Makefile_defs_$(ARCH)
 # zlib enables transparent gzip compression of dynamic texture scratchfiles.
 # OTHER_LIBS = -lz should be inserted at end of definitions file.
 
-   GCC_FLAGS = -O2 -DNO_ZLIB
+   GCC_FLAGS = -O2
 
         LIBS = $(TCL_LIBS) $(OTHER_LIBS) -lm
 

[-- Attachment #6: savi.cygport --]
[-- Type: text/plain, Size: 1499 bytes --]

NAME="savi"
VERSION=1.5.1
RELEASE=1

SRC_URI="mirror://sourceforge/${PN}/${PN}${PV}-release.tar.gz"

SRC_DIR="${PN}${PV}"
SRC_URI+=" savi_bin"

PATCH_URI="geomview.patch"
PATCH_URI+=" savi_script.patch"
PATCH_URI+=" zlib.patch"
PATCH_URI+=" about.patch"

HOMEPAGE="http://savi.sourceforge.net/"
SUMMARY="Satellite constellation simulation and visualization"

DESCRIPTION="SaVi allows you to simulate satellite orbits and coverage, in two and
three dimensions.  SaVi is particularly useful for simulating
satellite constellations.  SaVi can use Geomview, an optional package,
for 3D rendering."

CATEGORY="Science"

DEPEND="zlib-devel tcl-tk-devel"
# REQUIRES="geomview"

MAKEOPTS+=" -j1"

DOCS="README-COVERAGE-TEXTUREMAP"
HTMLDOCS="manual/*"

savi_CONTENTS="--exclude=Makefile usr"
PKG_IGNORE="
	usr/share/doc/savi/html/Makefile
	usr/share/doc/savi/html/images/Makefile
"

src_compile() {
    lndirs
    cd ${B}
    cygmake ARCH=cygwin
}

src_install() {
    newbin ${S}/savi_bin savi
    cd ${B}
    exeinto /usr/libexec/savi/bin
    doexe bin/SaVi
    exeinto /usr/share/savi
    doexe savi
    insinto /usr/share/savi
    # These files have to be in /usr/share/savi in order for the
    # runtime Help to find them.
    doins COPYRIGHT BUGS README README-COVERAGE-TEXTUREMAP
    for d in data maps oogl tcl
    do
	insinto /usr/share/savi/${d}
	doins ${d}/*
    done
    find ${D}/usr/share/savi -name 'Makefile*' -delete
    insinto /usr/libexec/geomview
    newins .geomview .geomview-savi
}


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ITP] savi 1.5.1
  2017-07-02 20:06 [ITP] savi 1.5.1 Ken Brown
@ 2017-07-02 20:47 ` Marco Atzeri
  2017-07-02 21:07   ` Ken Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Atzeri @ 2017-07-02 20:47 UTC (permalink / raw)
  To: cygwin-apps

On 02/07/2017 22:06, Ken Brown wrote:
> savi is in Debian:
>
>  https://packages.debian.org/stretch/savi
>
> My cygport file and patches are attached.
>
> Package files
> =============
>
> http://sanibeltranquility.com/cygwin/x86/release/savi/savi-1.5.1-1-src.tar.xz
>
> http://sanibeltranquility.com/cygwin/x86/release/savi/savi-1.5.1-1.hint
> http://sanibeltranquility.com/cygwin/x86/release/savi/savi-1.5.1-1.tar.xz
> http://sanibeltranquility.com/cygwin/x86_64/release/savi/savi-1.5.1-1-src.tar.xz
>
> http://sanibeltranquility.com/cygwin/x86_64/release/savi/savi-1.5.1-1.hint
> http://sanibeltranquility.com/cygwin/x86_64/release/savi/savi-1.5.1-1.tar.xz
>
>
> Ken
>
Hi Ken,
builds fine. I assume you have tested

GTG for me

Regards
Marco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ITP] savi 1.5.1
  2017-07-02 20:47 ` Marco Atzeri
@ 2017-07-02 21:07   ` Ken Brown
  2017-07-03  4:59     ` Marco Atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Brown @ 2017-07-02 21:07 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

On 7/2/2017 4:47 PM, Marco Atzeri wrote:> builds fine. I assume you have 
tested

Yes.

> GTG for me

Thanks, Marco.  Could you add it to cygwin-pkg-maint (patch attached)?

Thanks.

Ken


[-- Attachment #2: 0001-Add-savi.patch --]
[-- Type: text/plain, Size: 884 bytes --]

From d01b743763ea2dd76243591a1bb9097ac4556b01 Mon Sep 17 00:00:00 2001
From: Ken Brown <kbrown@cornell.edu>
Date: Sun, 2 Jul 2017 17:04:22 -0400
Subject: [PATCH] Add savi

---
 cygwin-pkg-maint | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cygwin-pkg-maint b/cygwin-pkg-maint
index 8ae84e89..f7fabc3e 100644
--- a/cygwin-pkg-maint
+++ b/cygwin-pkg-maint
@@ -3282,6 +3282,7 @@ rxvt                                         Yaakov Selkowitz
 rxvt-unicode                                 Yaakov Selkowitz
 rzip                                         Jari Aalto
 s2tc                                         Yaakov Selkowitz
+savi                                         Ken Brown
 schroedinger-cat-backgrounds                 Yaakov Selkowitz
 schroedinger1.0                              Yaakov Selkowitz
 scite                                        Yaakov Selkowitz
-- 
2.12.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ITP] savi 1.5.1
  2017-07-02 21:07   ` Ken Brown
@ 2017-07-03  4:59     ` Marco Atzeri
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Atzeri @ 2017-07-03  4:59 UTC (permalink / raw)
  To: cygwin-apps

On 02/07/2017 23:07, Ken Brown wrote:
> On 7/2/2017 4:47 PM, Marco Atzeri wrote:> builds fine. I assume you have
> tested
>
> Yes.
>
>> GTG for me
>
> Thanks, Marco.  Could you add it to cygwin-pkg-maint (patch attached)?
>
> Thanks.
>
> Ken
>

done

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-03  4:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-02 20:06 [ITP] savi 1.5.1 Ken Brown
2017-07-02 20:47 ` Marco Atzeri
2017-07-02 21:07   ` Ken Brown
2017-07-03  4:59     ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).