[Fink-devel] individual octave-forge packages

2008-07-01 Thread Jonathan Stickel
I have created info files for a few of the octave-forge packages and 
have placed them in a new package tracker on Fink sourceforge.  I think 
this is the preferred way to go instead of maintaining the monolithic 
octave-forge fink package.  The info files work for me, but I have done 
only minimal testing so far.

Regards,
Jonathan

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] shared file between packages and octave-forge

2008-06-30 Thread Jonathan Stickel
What is the best way to work with a Fink installed file that is shared 
and modified by a set of different fink packages?

I ran into this problem when I attempted to write separate .info files 
for each of the of the octave-forge packages (currently a monolithic 
package in Fink).  Each package writes to a single file that tells 
Octave which packages are installed, typically 
/sw/share/octave/octave_packages.  If I try to do so with my limited 
fink knowledge, I run into sandbox or file overwrite errors.

Thanks,
Jonathan

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] new fink package octaviz

2008-03-21 Thread Jonathan Stickel
I have added a fink package for octaviz to the sourceforge tracker.  Any 
help with testing, etc. will be appreciated.  I am still relatively new 
at this, and so I am sure the info file could benefit from revision.

Regards,
Jonathan

P.S.
I also added an updated vtkdata info file for 5.0.4.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] vtk info file patch

2008-03-10 Thread Jonathan Stickel
Martin Costabel wrote:
 Jonathan Stickel wrote:
 Martin

 Attached is a patch for the vtk-py info file.  This patch fixes this bug:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388736

 which affects compiling of programs that depend on vtk.  I also 
 updated the info file to use vtk-5.0.3.
 
 Thanks for the diff, I'll look at it and update vtk-py correspondingly.
 
 I see that there is a second .cmake file that has the same problem, and 
 I would like to understand the origin of the problem. I'd ideally prefer 
 to prevent the crap from being dumped into these files rather than 
 wiping them clean after the fact. So I'll do some more test before 
 committing.
 
 Also after a first build that jsut finished, I notice that your patch 
 script doesn't fix the problem for me, because %b doesn't match the 
 string that is placed in that file. The reason is that I have /sw as a 
 symlink to /sw_unstable, and %b uses /sw (the logical path), whereas 
 the buggy file contains /sw_unstable (the physical path). So some more 
 sophisticated patch script would be needed.
 

It looks like this is fixed in vtk-5.0.4.  If you were involved in the 
fix, thanks!

Jonathan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] vtk info file patch

2008-01-15 Thread Jonathan Stickel

Martin

Attached is a patch for the vtk-py info file.  This patch fixes this bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388736

which affects compiling of programs that depend on vtk.  I also updated 
the info file to use vtk-5.0.3.


Thanks,
Jonathan
--- /sw/fink/10.4/unstable/main/finkinfo/sci/vtk-py.info2007-11-24 
16:28:06.0 -0700
+++ vtk-py.info 2008-01-15 08:37:49.0 -0700
@@ -1,12 +1,12 @@
 Info2: 
 Package: vtk-py%type_pkg[python]
-Version: 5.0.2
+Version: 5.0.3
 Revision: 1004
 Distribution: (%type_pkg[python] = 23) 10.3, (%type_pkg[python] = 23) 10.4, 
(%type_pkg[python] = 24) 10.4
 Type: python (2.3 2.4 2.5)
 BuildDependsOnly: False
 Source: http://www.vtk.org/files/release/5.0/vtk-%v.tar.gz
-Source-MD5: c2f439d1a4bc1598a1cb09ee43f794ed
+Source-MD5: 0148a3d3c46d0599ab63e79f7f406609
 SourceDirectory: VTK
 License: BSD
 GCC: 4.0
@@ -22,12 +22,12 @@
  perl -pi.bak -e 's|\-flat_namespace,\-U,_environ|-undefined,dynamic_lookup|g' 
CMakeLists.txt 
   if [ %m = powerpc ]; then  perl -pi -e 's|(\-no\-cpp\-precomp)|\-Os 
\-mcpu=G3 \-mtune=G4 \-funroll\-loops \-Wno\-long\-double |g' CMakeLists.txt; fi
  if [ %m = i386 ]; then perl -pi -e 's|(\-no\-cpp\-precomp)|\-Os 
\-funroll\-loops \-Wno\-long\-double |g' CMakeLists.txt; fi
- if [ %type_raw[python] = 2.5 ]; then perl -pi.bak -e 's|(char 
.*tp_doc;)|const \1|' Common/vtkPythonUtil.cxx; fi 
+ #if [ %type_raw[python] = 2.5 ]; then perl -pi.bak -e 's|(char 
.*tp_doc;)|const \1|' Common/vtkPythonUtil.cxx; fi 
 
 NoSetMAKEFLAGS: true
 SetMAKEFLAGS: -j1
 CompileScript: 
-#!/bin/sh -ex
+#!/bin/sh -ev
  %p/bin/cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DVTK_INSTALL_LIB_DIR:STRING=/lib/vtk \
-DCMAKE_INSTALL_PREFIX:PATH=%p \
@@ -73,8 +73,9 @@
  make
  
 InstallScript: 
-#!/bin/sh -ex
+#!/bin/sh -ev
  make install DESTDIR=%d
+ sed -i 's:%b/Common/::g' %i/lib/vtk/vtk-5.0/vtkCommonKit.cmake
  /usr/bin/install -d %i/share/doc/%n
  /bin/cp -R Examples %i/share/doc/%n/
  /usr/bin/find -d %i/share/doc/%n/Examples -name CVS -exec rm -rf \{\} \;
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

[Fink-devel] rebuild debugging

2008-01-14 Thread Jonathan Stickel
I would like to debug something in the InstallScript part of an .info 
file.  I know that fink -k -K rebuild  will rebuild the package 
and keep the build and root directories.  This helps.  However, I would 
prefer to not run the compile part every time since I am only debugging 
the install part and would like to save a lot of time.  Is there a way 
to do this with a fink command or some other way?  For example, with 
gentoo (which has many similarities to fink) it is possible with ebuild 
 install.

Thanks,
Jonathan

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] octave-forge

2008-01-04 Thread Jonathan Stickel
Jean-François Mertens wrote:
 
 On 02 Jan 2008, at 23:02, Alexandre Vial wrote:
 
 Jonathan Stickel a écrit :
 Corey

 The latest octave-forge.info (20071212-1005) has a couple bugs.

 First, the perl command for correcting the octave_packages file does not
 work correctly, resulting in octave not recognizing that any packages
 are installed.
 except e.g. that pkg list worked properly ...

The result of the perl script definitely resulted in an empty pkg list 
for me.  Anyway, this is fixed now.  (Minor detail:  there is still 
credit for the perl script in the info file, but ther is no more perl 
script...)


 Second, the pkg prefixes specified causes some problems.  Specifically,
 the pkg load/unload command stops working after octave-forge is 
 installed.

 I have fixed both of these in the attached info file.  Please let me
 know you received this; if I don't hear, I will open (or append) a
 tracker in sourceforge.

 Thanks,
 Jonathan

 It works great on Mac OS X 10.4.11 Intel with Octave 3.0
 Thank you very much

 Alexandre
 
 Commited by accident _ but having checked now what I
 would have wanted to do before _ I agree with Alexandre.
 Thanks a lot Jonathan !
 

You are welcome.  I closed the open tracker on sourceforge related to 
octave-forge.

Jonathan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] SuiteSparse package (in support of Octave)

2007-11-06 Thread Jonathan Stickel
 Date: Sun, 4 Nov 2007 21:25:58 -0500
 From: Ben Abbott [EMAIL PROTECTED]
 Subject: Re: [Fink-devel] SuiteSparse package (in support of Octave)
 To: Alexander K. Hansen [EMAIL PROTECTED]
 Cc: fink-devel@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
 
 
 On Nov 4, 2007, at 9:23 PM, Alexander K. Hansen wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Ben Abbott wrote:
 On Nov 4, 2007, at 8:35 PM, Alexander K. Hansen wrote:

 Ben Abbott wrote:
 I've uploaded a new Fink package for SuiteSparse to the
 package tracker.

 http://sourceforge.net/tracker/index.php

 When present during an Octave build, Octave will use
 SuiteSparse for many calculations using sparse matrices.

 This is my 1st attempt to creating a package. The package
 validated fine. However, I'm still expecting some things may
 need correcting or improving.
 Is this intended to modify how octave builds?  If so that's
 contrary to Fink policy unless a separate variant of octave is made
  to use it.
 Modify how Octave builds?  hmmm, depends upon perspective
 (meaning I'm not sure).
 The presence of SuiteSparse doesn't modify how Octave builds any
 more than the packages for fftw, qhull, readline5, gnuplot, etc.
 Octave would build and function fine (except for the absent
 functionality) ... actually ... it *would* build and function if
 not for the dependencies stated in octave.info. There is no need to
  modify octave.info or octave.patch (names?) in order for
 SuiteSparse components to be included in Octave's functionality.
 When SuiteSparse is installed, Octave's usual configure process
 will recognize that SuiteSparse is available and produce a makefile
  that links to it.
 Ben
 It would require a modification to the octave package or a variant,  
 then.

 
 Shall I send an email to Octave's maintainer?
 

Although it is difficult to tell from Alex's terse response, I think he 
means that a modification to the Octave package in Fink will be needed, 
i.e. a change to the octave.info file.  I am still new to Fink and don't 
understand the details myself, but it looks like some packages have 
variants:  they are compiled against different libraries and are 
therefor different.  Like you, I would argue that since fftw, qhull, 
hdf5 are not treated as variants, then suitesparse should not be treated 
as a variant either.

Jonathan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] .info file submission for upgraded package

2007-10-16 Thread Jonathan Stickel
I have revised .info files for upgrades to octave and octave-forge. 
What is the best way to submit these?  Should I submit them as bugs to 
the bug tracker on sourceforge?

Thanks,
Jonathan

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel