[cvs] scripts/buildfink/fdb FDBWebsite.pm, NONE, 1.1 htaccess.example, NONE, 1.1 fdb.pl, 1.2, NONE

2007-04-01 Thread Matthew Sachs
Update of /cvsroot/fink/scripts/buildfink/fdb
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv21412/fdb

Added Files:
FDBWebsite.pm htaccess.example 
Removed Files:
fdb.pl 
Log Message:
Start moving web interface to new framework

--- NEW FILE: htaccess.example ---
Perl
%FDBWebsite::FDBParams = (
store = DBI,
dbtype = sqlite,
db = fdb.sqlite,
);
/Perl
PerlSwitches -I.
PerlModule FDBWebsite
SetHandler modperl
PerlResponseHandler FDBWebsite

--- NEW FILE: FDBWebsite.pm ---
package FDBWebsite;

use strict;
use warnings;
use FindBin qw($Bin);
use lib $Bin/../lib;
use FinkFDB;
use Apache2::RequestRec ();
use CGI qw(:standard param);
use JSON;
our %FDBParams;

sub handler {
  my($r) = @_;

  die Please configure \%FDBWebsite::FDBParams in the Apache configuration!\n 
unless %FDBParams;
  my $FDB = FinkFDB-new(%FDBParams);

  my($op, $param) = split(m!/!, $r-path_info());
  if ($op) {
$r-content_type('text/plain');
if ($op eq package) {
  $r-print(objToJson($FDB-getPackageFiles($param)));
} elsif ($op eq ls) {
  $r-print(objToJson(map {
$_-{file_name} .= / if $_-{is_directory};
$_;
  } $FDB-getDirectoryFiles($param)));
}
  } else {
$r-content_type('text/html');
my $packages = $FDB-getPackages();

$r-print(EOF);
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
DTD/xhtml1-strict.dtd
html
head
titleFink File Database/title
link rel=stylesheet type=text/css href=pkgdb.css /
script type=text/javascript src=jquery-latest.pack.js /
script type=text/javascript src=pkgdb.js /
/head
body
h1Fink File Database/h1
h2Filesystem/h2
ul id=filesystemli class=directorya href=# 
file_id=0/sw/a/li/ul
h2Packages/h2
ul id=packages
@{[join(\n, map { sprintf(
   'li class=packagea href=# package_id=%s%s/a/li',
   $_-{package_id},
   $_-{package_name})
} @packages)]}
  /ul
  /body
  /html
EOF
  }
}

1;

--- fdb.pl DELETED ---


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] scripts/buildfink/lib/FinkFDB DBI.pm,1.1,1.2

2007-04-01 Thread Matthew Sachs
Update of /cvsroot/fink/scripts/buildfink/lib/FinkFDB
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv21412/lib/FinkFDB

Modified Files:
DBI.pm 
Log Message:
Start moving web interface to new framework

Index: DBI.pm
===
RCS file: /cvsroot/fink/scripts/buildfink/lib/FinkFDB/DBI.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- DBI.pm  1 Apr 2007 04:46:30 -   1.1
+++ DBI.pm  1 Apr 2007 15:23:43 -   1.2
@@ -7,9 +7,7 @@
 our %dbqueries = (
  add_package = INSERT INTO packages(package_name) VALUES 
(?),
  add_file_path = INSERT INTO file_paths(parent_id, 
file_name, fullpath) VALUES (?, ?, ?),
- get_package_id = SELECT package_id FROM packages WHERE 
package_name = ?,
- get_file_id = SELECT file_id FROM file_paths WHERE fullpath 
= ?,
- add_file_version = EOF);
+ add_file_version = EOF,
 INSERT INTO file_versions(
 package_id,
 is_directory,
@@ -21,6 +19,30 @@
 flags)
 VALUES (?, ?, ?, ?, ?, ?, ?, ?)
 EOF
+ get_package_id = SELECT package_id FROM packages WHERE 
package_name = ?,
+ get_file_id = SELECT file_id FROM file_paths WHERE fullpath 
= ?,
+ get_package_files = EOF,
+SELECT fullpath AS 'path',
+   size, posix_user, posix_group, flags
+FROM file_versions LEFT OUTER JOIN packages
+   ON file_versions.package_id = packages.package_id
+WHERE package_name=?
+ORDER BY is_directory DESC, fullpath ASC
+EOF
+ get_directory_files = EOF,
+SELECT file_name,
+   size, posix_user, posix_group, flags,
+   file_paths.file_id AS 'file_id',
+   is_directory, package_name
+FROM file_paths LEFT OUTER JOIN file_versions
+   ON file_paths.file_id = file_versions.file_id
+LEFT OUTER JOIN packages
+   ON packages.package_id = file_versions.package_id
+WHERE parent_id = ?
+ORDER BY is_directory DESC, file_name ASC
+EOF
+ get_packages = SELECT package_name, package_id FROM 
packages ORDER BY package_name ASC,
+ );
 
 sub new {
   my($pkg, %params) = @_;
@@ -40,29 +62,16 @@
 
   $self-{dbh} = DBI-connect($dbstr, $params{dbuser}, $params{dbpass}, 
\%dbattrs);
   $self-{queries} = {};
-  foreach my $key (keys %dbqueries) {
-$self-{queries}-{$key} = $self-prepare($dbqueries{$key});
-  }
 
   return $self;
 }
 
 sub addPackage {
   my($self, $package) = @_;
-  $self-{queries}-{add_package}-execute($package);
+  $self-execQuery(add_package, $package);
   $self-{dbh}-commit();
 }
 
-sub selectOne {
-  my($self, $qname, @bindvals) = @_;
-
-  my $query = $self-{queries}-{$qname};
-  $query-execute(@bindvals) or return;
-  my($val) = $query-fetchrow_array();
-  $query-finish();
-  return $val;
-}
-
 sub addPackageFiles {
   my($self, $package, $files) = @_;
 
@@ -79,6 +88,60 @@
   $self-{dbh}-commit();
 }
 
+sub getPackageFiles {
+  my($self, $package_id) = @_;
+  return $self-selectAll(get_package_files, $package_id);
+}
+
+sub getPackages {
+  my($self) = @_;
+  return $self-selectAll(get_packages);
+}
+
+sub getPackageID {
+  my($self, $package_name) = @_;
+  return $self-selectOne(get_package_id, $package_name);
+}
+
+sub getFileID {
+  my($self, $path) = @_;
+  return $self-selectOne(get_file_id, $path);
+}
+
+sub getDirectoryFiles {
+  my($self, $file_id) = @_;
+  return $self-selectAll(get_directory_files, $file_id);
+}
+
+# ===Internal Functions===
+
+sub execQuery {
+  my($self, $qname, @bindvals) = @_;
+
+  my $queries = $self-{queries};
+  my $query = $queries-{$qname};
+  $query = $queries-{$qname} = $self-prepare($qname) if !$query;
+
+  return $query-execute(@bindvals) ? $query : undef;
+}
+
+sub selectOne {
+  my($self, $qname, @bindvals) = @_;
+
+  my $query = $self-execQuery($qname, @bindvals);
+  my($val) = $query-fetchrow_array();
+  $query-finish();
+  return $val;
+}
+
+sub selectAll {
+  my($query, @bindvals) = @_;
+  my $query = $self-execQuery($query, @bindvals);
+  my $ret = $query-fetchall_arrayref({});
+  $query-finish();
+  return @$ret;
+}
+
 sub makeFileHierarchy {
   my($self, $pkg, $files) = @_;
   my %root = (. = , .. = undef, /path/ = );
@@ -117,23 +180,23 @@
 
   my $file_id = $self-selectOne(get_file_id, $file-{/path/});
   if(!$file_id) {
-$self-{queries}-{add_file_path}-execute($parent_id, $file-{.}, 
$file-{/path/});
+$self-execQuery(add_file_path, $parent_id, $file-{.}, 
$file-{/path/});
 $file_id = $self-selectOne(get_file_id, $file-{/path/}) or
   die Couldn't fetch or insert file ID for .$file-{/path/}.!\n;
   }
 
   if ($file-{/versions/}) {
 foreach my $filever (@{$file-{/versions/}}) {
-  $self-{queries}-{add_file_version}-execute(
-   $pkgid,
-   $filever-{isdir},
-   $filever-{fullpath},
-

[cvs] scripts/buildfink/fdb FDBWebsite.pm,1.1,1.2

2007-04-01 Thread Matthew Sachs
Update of /cvsroot/fink/scripts/buildfink/fdb
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv22613/fdb

Modified Files:
FDBWebsite.pm 
Log Message:
Return Apache2 constants

Index: FDBWebsite.pm
===
RCS file: /cvsroot/fink/scripts/buildfink/fdb/FDBWebsite.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- FDBWebsite.pm   1 Apr 2007 15:23:43 -   1.1
+++ FDBWebsite.pm   1 Apr 2007 15:27:03 -   1.2
@@ -6,6 +6,7 @@
 use lib $Bin/../lib;
 use FinkFDB;
 use Apache2::RequestRec ();
+use Apache2::Const -compile = qw(OK);
 use CGI qw(:standard param);
 use JSON;
 our %FDBParams;
@@ -27,6 +28,8 @@
$_;
   } $FDB-getDirectoryFiles($param)));
 }
+
+return Apache2::Const::OK;
   } else {
 $r-content_type('text/html');
 my $packages = $FDB-getPackages();
@@ -56,6 +59,8 @@
   /html
 EOF
   }
+
+  return Apache2::Const::OK;
 }
 
 1;


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.3/unstable/main/finkinfo/devel m4.info, 1.9, 1.10 m4.patch, 1.7, 1.8

2007-04-01 Thread Christian Schaffner
Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/devel
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv11063/10.3/unstable/main/finkinfo/devel

Modified Files:
m4.info m4.patch 
Log Message:
Added texinfo as build dependecy (fails without on 10.3). Also fixes some
stray character in patch file


Index: m4.info
===
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/devel/m4.info,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- m4.info 28 Mar 2007 07:58:50 -  1.9
+++ m4.info 1 Apr 2007 16:25:24 -   1.10
@@ -1,12 +1,12 @@
 Package: m4
 Version: 1.4.8
-Revision: 1
+Revision: 2
 Source: mirror:gnu:%n/%n-%v.tar.bz2
 Source-MD5: 6bbf917e5d8fab20b38d43868c3944d3
 SetCFLAGS: -mdynamic-no-pic -Os
 PatchFile: %n.patch
-PatchFile-MD5: 58493ebf613baf21f6a7e42bea84749c
-BuildDepends: fink (= 0.24.12)
+PatchFile-MD5: 6af6b927ec922fdfe158fe6b2ca0655d
+BuildDepends: fink (= 0.24.12), texinfo
 CompileScript: 
   CPP= ./configure %c
   make

Index: m4.patch
===
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/devel/m4.patch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- m4.patch28 Mar 2007 07:58:50 -  1.7
+++ m4.patch1 Apr 2007 16:25:24 -   1.8
@@ -7,7 +7,7 @@
  @comment systems where /bin/sh does not create its own process group.
 [EMAIL PROTECTED] That leaves KILL and PIPE as the two signals tested.
 [EMAIL PROTECTED] And PIPE is unreliable, since people tend to run with it 
[EMAIL PROTECTED] ignored, with m4 inheriting that choice.  That leaves KILL as 
[EMAIL PROTECTED] ignored, with m4 inheriting that choice. That leaves KILL as 
 [EMAIL PROTECTED] the only signal we can reliably test. 
  @example
  dnl This test assumes kill is a shell builtin, and that signals are


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.4/unstable/main/finkinfo/devel m4.info, 1.7, 1.8 m4.patch, 1.6, 1.7

2007-04-01 Thread Christian Schaffner
Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv11063/10.4/unstable/main/finkinfo/devel

Modified Files:
m4.info m4.patch 
Log Message:
Added texinfo as build dependecy (fails without on 10.3). Also fixes some
stray character in patch file


Index: m4.info
===
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/m4.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- m4.info 28 Mar 2007 07:58:50 -  1.7
+++ m4.info 1 Apr 2007 16:25:24 -   1.8
@@ -1,12 +1,12 @@
 Package: m4
 Version: 1.4.8
-Revision: 1
+Revision: 2
 Source: mirror:gnu:%n/%n-%v.tar.bz2
 Source-MD5: 6bbf917e5d8fab20b38d43868c3944d3
 SetCFLAGS: -mdynamic-no-pic -Os
 PatchFile: %n.patch
-PatchFile-MD5: 58493ebf613baf21f6a7e42bea84749c
-BuildDepends: fink (= 0.24.12)
+PatchFile-MD5: 6af6b927ec922fdfe158fe6b2ca0655d
+BuildDepends: fink (= 0.24.12), texinfo
 CompileScript: 
   CPP= ./configure %c
   make

Index: m4.patch
===
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/m4.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- m4.patch28 Mar 2007 07:58:50 -  1.6
+++ m4.patch1 Apr 2007 16:25:24 -   1.7
@@ -7,7 +7,7 @@
  @comment systems where /bin/sh does not create its own process group.
 [EMAIL PROTECTED] That leaves KILL and PIPE as the two signals tested.
 [EMAIL PROTECTED] And PIPE is unreliable, since people tend to run with it 
[EMAIL PROTECTED] ignored, with m4 inheriting that choice.  That leaves KILL as 
[EMAIL PROTECTED] ignored, with m4 inheriting that choice. That leaves KILL as 
 [EMAIL PROTECTED] the only signal we can reliably test. 
  @example
  dnl This test assumes kill is a shell builtin, and that signals are


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.3/unstable/main/finkinfo/text breqn.info,NONE,1.1

2007-04-01 Thread Martin Costabel
Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/text
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv25708/10.3/unstable/main/finkinfo/text

Added Files:
breqn.info 
Log Message:
Backport from 10.4. Needed for cadabra.

--- NEW FILE: breqn.info ---
Package: breqn
Version: 0.94
Revision: 2
# The main source repository at ftp.ams.org has currently
# problems responding.
Source: mirror:custom:%n094.tgz
CustomMirror: 
 eur-DE:  http://www.artfiles.org/gentoo.org/distfiles/
 nam-US:  http://www.kilohotel.com/misc/
 Primary: ftp://ftp.ams.org/pub/tex/

Source-MD5: 61f8bcbfd475203fd977ee9589810780
CompileScript: echo No compile needed
InstallScript: 
 mkdir -p %i/share/doc/%n
 mv *.dvi %i/share/doc/%n
 mv *.txt %i/share/doc/%n
 mkdir -p %i/etc/texmf.local/tex/latex/%n
 mv *.sty %i/etc/texmf.local/tex/latex/%n
 mv *.sym %i/etc/texmf.local/tex/latex/%n

Description: LaTeX - Automatic equation line breaking
License: OSI-Approved
PostInstScript: if [ -f %p/bin/mktexlsr ]; then mktexlsr %p/etc/texmf.local; fi
PostRmScript: if [ -f %p/bin/mktexlsr ]; then mktexlsr %p/etc/texmf.local; fi
Homepage: http://www.ctan.org/tex-archive/help/Catalogue/entries/breqn.html
Maintainer: Kevin Horton [EMAIL PROTECTED]


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.4/unstable/main/finkinfo/sci pdb2pqr.info,1.4,1.5

2007-04-01 Thread William Scott
Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv25722

Modified Files:
pdb2pqr.info 
Log Message:
update pdb2pqr version

Index: pdb2pqr.info
===
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/pdb2pqr.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- pdb2pqr.info22 Nov 2006 17:16:40 -  1.4
+++ pdb2pqr.info1 Apr 2007 22:35:45 -   1.5
@@ -1,32 +1,42 @@
 Package: pdb2pqr
-Version: 1.0.2
-Revision: 40
+Version: 1.1.2
+Revision: 1
 Source: mirror:sourceforge:%n/%n-%v.tar.gz
-Source-MD5: 4294713d22ae34079fcd4f652f2c793a 
+Source-MD5: 40386de56577ba6842076483327bc341 
 SourceDirectory: %n-%v
-BuildDepends: g77 | fort77
+BuildDepends: fort77
 Description: Converts pdb files to pqr
 NoSetCPPFLAGS: true
 NoSetLDFLAGS: true
 SetLDFLAGS: -F/System/Library/Frameworks/Python.framework
 ConfigureParams: py_path=/usr/bin/python2.3
 CompileScript: 
-#!/bin/zsh -efv
+#!/bin/zsh -ef 
  PATH=/usr/bin:$PATH
  perl -pi -e 's|python2.2|python2.3|g' **/* 2/dev/null
  perl -pi -e 's|python2 |python2.3 |g' **/* 2/dev/null
  perl -pi -e s|/usr/bin/python2.3|/usr/bin/python|g **/*.py 2/dev/null
-FC=gfortran py_path=/usr/bin/python2.3 
LDFLAGS=-F/System/Library/Frameworks/Python.framework  ./configure  
--with-f77=gfortran
+#  
+FC=fort77 py_path=/usr/bin/python2.3 
LDFLAGS=-F/System/Library/Frameworks/Python.framework  ./configure  
--with-f77=fort77
 make
 rm -f **/*.o
 
 InstallScript: 
-#!/bin/zsh -efv
+#!/bin/zsh -ef
 mkdir -p %i/share/pdb2pqr
 cp -R * %i/share/pdb2pqr
+#
 mkdir -p %i/bin
-ln -s %p/share/pdb2pqr/pdb2pqr.py %i/bin/pdb2pqr
-ln -s %p/share/pdb2pqr/propka/propka %i/bin/propka
+echo #\!/bin/zsh -f   |   %i/bin/pdb2pqr
+echo %p/share/pdb2pqr/pdb2pqr.py \[EMAIL PROTECTED]  |   %i/bin/pdb2pqr
+chmod a+x%i/bin/pdb2pqr
+#
+echo #\!/bin/zsh -f   |   %i/bin/propka
+echo %p/share/pdb2pqr/propka/propka \[EMAIL PROTECTED]   |   
%i/bin/propka
+chmod a+x%i/bin/propka
+# Symbolic links are problematic in this version.
+#ln -s %p/share/pdb2pqr/pdb2pqr.py %i/bin/pdb2pqr
+#ln -s %p/share/pdb2pqr/propka/propka %i/bin/propka
 
 Homepage: http://pdb2pqr.sourceforge.net/
 DescDetail: 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.4/unstable/main/finkinfo/sci pdb2pqr.info,1.5,1.6

2007-04-01 Thread William Scott
Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv26480

Modified Files:
pdb2pqr.info 
Log Message:
forgot to put back the annoying verbosity flags

Index: pdb2pqr.info
===
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/pdb2pqr.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pdb2pqr.info1 Apr 2007 22:35:45 -   1.5
+++ pdb2pqr.info1 Apr 2007 22:37:08 -   1.6
@@ -11,7 +11,7 @@
 SetLDFLAGS: -F/System/Library/Frameworks/Python.framework
 ConfigureParams: py_path=/usr/bin/python2.3
 CompileScript: 
-#!/bin/zsh -ef 
+#!/bin/zsh -efv 
  PATH=/usr/bin:$PATH
  perl -pi -e 's|python2.2|python2.3|g' **/* 2/dev/null
  perl -pi -e 's|python2 |python2.3 |g' **/* 2/dev/null
@@ -22,7 +22,7 @@
 rm -f **/*.o
 
 InstallScript: 
-#!/bin/zsh -ef
+#!/bin/zsh -efv
 mkdir -p %i/share/pdb2pqr
 cp -R * %i/share/pdb2pqr
 #


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.3/stable/main/finkinfo/x11 pcb.info, NONE, 1.1 pcb.patch, NONE, 1.1

2007-04-01 Thread Charles Lepple
Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/x11
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv13214

Added Files:
pcb.info pcb.patch 
Log Message:
Moved to stable by user request.


--- NEW FILE: pcb.patch ---
--- pcb-20060822/src/hid/gtk/gui-library-window.c.orig  2006-04-17 
21:48:10.0 -0400
+++ pcb-20060822/src/hid/gtk/gui-library-window.c   2006-10-04 
23:11:25.0 -0400
@@ -344,7 +344,7 @@
* don't want.
*/
   gtk_widget_realize (library_window);
-  gdk_window_set_accept_focus (library_window-window, FALSE);
+  //gdk_window_set_accept_focus (library_window-window, FALSE);
 
   gtk_widget_show_all (library_window);
 }

--- NEW FILE: pcb.info ---
Package: pcb
# Remember to change snapshot version below as well:
Version: 1.99.20060822
Revision: 2

Depends: libstroke-shlibs, app-defaults, tcltk, gtk+2-shlibs, glib2-shlibs, 
x11-shlibs, gd2-shlibs, libjpeg-shlibs, libpng3-shlibs, libgettext3-shlibs
BuildDepends: libstroke, gawk, gtk+2-dev, x11-dev, atk1 (= 1.6.0-1), glib2-dev 
(= 2.4.0-1), pango1-xft2-dev (= 1.4.0-1), gd2, libjpeg, libpng3, netpbm-bin, 
libgettext3-dev, libiconv-dev

### For documentation:
# Bdep: tetex-base, texinfo 
# InfoDocs: pcb.info

Recommends: gerbv, gsch2pcb

Source: mirror:sourceforge:pcb/pcb-20060822.tar.gz
Source-MD5: e091285d6741860484b31e8ac5b7e37f
Patch: %n.patch

ConfigureParams: --mandir=%p/share/man --infodir=%p/share/info 
--disable-dependency-tracking --disable-doc

InstallScript: 
   make install DESTDIR=%d
   install -m 755 -d %i/share/doc/pcb
   cp -p doc/{pcb.{pdf,ps,html},refcard.*} %i/share/doc/pcb
   cp -p doc/*.{pdf,png,eps,gif} %i/share/doc/pcb
   cp -pr example tutorial/* %i/share/doc/pcb
   rm -f %i/share/doc/pcb/{example,example/libraries,}/Makefile*
   install -m 755 -d %i/etc/app-defaults
   mv %i/share/pcb/Pcb %i/etc/app-defaults
   mv %i/bin/pcb-bin %i/bin/pcb
   rmdir %i/share/pcb-20060822



DocFiles: 
AUTHORS COPYING NEWS README
README_FILES/CHANGES
README_FILES/Tools
README_FILES/Whats_new_in_2.0


Description: Printed Circuit Board design program

DescDetail: 
PCB allows you to design printed circuit boards. You can use gnetlist (part of
the geda-gnetlist package) to create a netlist to ensure that your PCB matches
a schematic diagram created with gschem.

PCB can create Gerber output files (both RS-274D and RS274X) and Excellon drill
files that you can send to board vendors for manufacturing. You can also create
PostScript plots of the board for verification purposes, or to create your own
photolithography masks for etching.

This snapshot introduces the new GTK+2 frontend from Bill Wilson.


DescPort: 
Things just got a lot easier now that PCB uses auto* tools instead of imake.


DescPackaging: 
Stroke support is included, but largely untested on OS X. You will probably
need a 3-button mouse for this.


License: GPL
Homepage: http://pcb.sourceforge.net/
Maintainer: Charles Lepple [EMAIL PROTECTED]


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.3/unstable/main/finkinfo/x11 pcb.info, 1.10, 1.11 pcb.patch, 1.2, NONE

2007-04-01 Thread Charles Lepple
Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/x11
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv15279

Modified Files:
pcb.info 
Removed Files:
pcb.patch 
Log Message:
New upstream pcb (1.99.20070208p1). Tested on 10.4, but 10.3 will have to wait
for user testing. After all, isn't this why we call this tree 'unstable'? :-)


--- pcb.patch DELETED ---

Index: pcb.info
===
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/x11/pcb.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- pcb.info9 Nov 2006 03:53:19 -   1.10
+++ pcb.info2 Apr 2007 01:03:29 -   1.11
@@ -1,10 +1,10 @@
 Package: pcb
 # Remember to change snapshot version below as well:
-Version: 1.99.20060822
-Revision: 2
+Version: 1.99.20070208p1
+Revision: 0
 
 Depends: libstroke-shlibs, app-defaults, tcltk, gtk+2-shlibs, glib2-shlibs, 
x11-shlibs, gd2-shlibs, libjpeg-shlibs, libpng3-shlibs, libgettext3-shlibs
-BuildDepends: libstroke, gawk, gtk+2-dev, x11-dev, atk1 (= 1.6.0-1), 
glib2-dev (= 2.4.0-1), pango1-xft2-dev (= 1.4.0-1), gd2, libjpeg, libpng3, 
netpbm-bin, libgettext3-dev, libiconv-dev
+BuildDepends: libstroke, gawk, gtk+2-dev, x11-dev, atk1 (= 1.6.0-1), 
glib2-dev (= 2.4.0-1), pango1-xft2-dev (= 1.4.0-1), gd2 (= 2.0.33-3), 
libjpeg, libpng3, netpbm-bin, libgettext3-dev, libiconv-dev
 
 ### For documentation:
 # Bdep: tetex-base, texinfo 
@@ -12,9 +12,9 @@
 
 Recommends: gerbv, gsch2pcb
 
-Source: mirror:sourceforge:pcb/pcb-20060822.tar.gz
-Source-MD5: e091285d6741860484b31e8ac5b7e37f
-Patch: %n.patch
+Source: mirror:sourceforge:pcb/pcb-20070208p1.tar.gz
+Source-MD5: c4d7ead28e2b2ee6b171a94212a7bc2f
+# Patch: %n.patch
 
 ConfigureParams: --mandir=%p/share/man --infodir=%p/share/info 
--disable-dependency-tracking --disable-doc
 
@@ -25,10 +25,7 @@
cp -p doc/*.{pdf,png,eps,gif} %i/share/doc/pcb
cp -pr example tutorial/* %i/share/doc/pcb
rm -f %i/share/doc/pcb/{example,example/libraries,}/Makefile*
-   install -m 755 -d %i/etc/app-defaults
-   mv %i/share/pcb/Pcb %i/etc/app-defaults
-   mv %i/bin/pcb-bin %i/bin/pcb
-   rmdir %i/share/pcb-20060822
+   rmdir %i/share/pcb-20070208
 
 
 
@@ -51,7 +48,7 @@
 PostScript plots of the board for verification purposes, or to create your own
 photolithography masks for etching.
 
-This snapshot introduces the new GTK+2 frontend from Bill Wilson.
+This snapshot includes the new GTK+2 frontend from Bill Wilson.
 
 
 DescPort: 
@@ -61,6 +58,8 @@
 DescPackaging: 
 Stroke support is included, but largely untested on OS X. You will probably
 need a 3-button mouse for this.
+
+$LastChangedRevision: 344 $ in my local SVN repository.
 
 
 License: GPL


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.4/unstable/main/finkinfo/languages iverilog.info, 1.3, 1.4 iverilog.patch, 1.1, NONE

2007-04-01 Thread Charles Lepple
Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv21726

Modified Files:
iverilog.info 
Removed Files:
iverilog.patch 
Log Message:
New upstream iverilog (0.8.4).

Tests passed: 756, Parse Errors: 0, Unsupported: 8, failed execution, 49, 
crashed: 0, C compiler err: 31 total: 860


Index: iverilog.info
===
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages/iverilog.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- iverilog.info   12 Jul 2006 17:10:15 -  1.3
+++ iverilog.info   2 Apr 2007 01:19:48 -   1.4
@@ -1,7 +1,7 @@
 Package: iverilog
 # Remember to fix Source line as well:
-Version: 0.8.1
-Revision: 1001
+Version: 0.8.4
+Revision: 1000
 Depends: readline5-shlibs
 Provides: verilog
 
@@ -10,10 +10,10 @@
 BuildDepends: gperf, readline5, libncurses5, bison (= 2.0)
 
 Source: ftp://ftp.icarus.com/pub/eda/verilog/v0.8/verilog-%v.tar.gz
-Source-MD5: 61ab44cbf1734acf1b1e6c4c1ed596b6
+Source-MD5: e1ec55702622ad7522ebc6f357b9f2ce
 # SourceDirectory: verilog-%v
 
-Patch: %n.patch
+# Patch: %n.patch
 
 # Bug list:
 #
@@ -84,6 +84,8 @@
 
 
 DescPackaging: 
+$LastChangedRevision: 373 $ in my local repository.
+
 SetCXXFLAGS is used because CPPFLAGS does not appear to be honored (this
 problem manifests itself as an inability to find readline/readline.h).
 

--- iverilog.patch DELETED ---


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.3/stable/main/finkinfo/languages iverilog.info, NONE, 1.1

2007-04-01 Thread Charles Lepple
Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/languages
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv24212

Added Files:
iverilog.info 
Log Message:
Promoting iverilog to 10.3/stable


--- NEW FILE: iverilog.info ---
Package: iverilog
# Remember to fix Source line as well:
Version: 0.8
# almost the same as 16, but bison in 10.3/stable is currently old enough to
# work (1.35), so I dropped the dependency.
Revision: 17
Depends: readline-shlibs
Provides: verilog

# bison from Xcode 1.5+Nov2004 (ver. 1.2.8) works, but some versions from
# Fink (1.875 and later, but not including 2.0) break the build.
BuildDepends: gperf, readline, libncurses5, bison

Source: ftp://ftp.icarus.com/pub/eda/verilog/v%v/verilog-%v.tar.gz
Source-MD5: 12a20a7f63183e767a9d7d077eb0556c
# SourceDirectory: verilog-%v

# Bug list:
#
# Needs testing/patch:
#   * math.c shift overflow

DocFiles: 
  BUGS.txt COPYING QUICK_START.txt README.txt
  attributes.txt cadpli/cadpli.txt glossary.txt ieee1364-notes.txt
  ivl_target.txt ivlpp/ivlpp.txt lpm.txt macosx.txt
  netlist.txt swift.txt t-dll.txt 
  tgt-fpga/fpga.txt tgt-vvp/README.txt:README.tgt-vvp.txt vpi.txt
  vvp/README.txt:README.vvp.txt vvp/functor.txt vvp/opcodes.txt
  vvp/vpi.txt:vpi-within-vvp.txt vvp/vthread.txt
  xilinx-hint.txt xnf.txt xnf2pcf.sh


# DocFiles found with: 'find . -name *.txt'
# Additional DocFiles: COPYING
#Ignored DocFiles: INSTALL cygwin.txt mingw.txt solaris/*

ConfigureParams: --mandir=%p/share/man

GCC: 3.3

### For G3/G4:
SetCFLAGS:   -O3 -mcpu=750 -mtune=7400
SetCXXFLAGS: -O3 -mcpu=750 -mtune=7400

### For G4 only:
# SetCFLAGS:   -O3 -mcpu=7400
# SetCXXFLAGS: -O3 -mcpu=7400

InstallScript: 
  make install prefix=%i mandir=%i/share/man
  install -d -m 755 %i/share/doc/%n/examples/vvp
  install -c -p -m 644 examples/* %i/share/doc/%n/examples
  install -c -p -m 644 vvp/examples/* %i/share/doc/%n/examples/vvp
  ranlib %i/lib/lib*.a


Description: Icarus Verilog

DescDetail: 
Icarus Verilog is a Verilog compiler that generates a variety of
engineering formats, including XNF and EDIF netlists for synthesis,
and waveform files from simulation. It strives to be true to the
IEEE-1364 standard.

A testbench is available at http://sourceforge.net/projects/ivtest


DescPort: 
Instructions from macos.txt were followed, adapting them for the
Fink way of doing things.


DescPackaging: 
SetCXXFLAGS is used because CPPFLAGS does not appear to be honored (this
problem manifests itself as an inability to find readline/readline.h).


License: GPL
Homepage: http://www.icarus.com/eda/verilog/
Maintainer: Charles Lepple [EMAIL PROTECTED]


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] dists/10.4/unstable/main/finkinfo/sci biopython-py.patch, NONE, 1.1 biopython-py.info, 1.7, 1.8

2007-04-01 Thread Koen van der Drift
Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv10255

Modified Files:
biopython-py.info 
Added Files:
biopython-py.patch 
Log Message:
new upstream

Index: biopython-py.info
===
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/biopython-py.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- biopython-py.info   27 Sep 2006 01:48:49 -  1.7
+++ biopython-py.info   2 Apr 2007 02:14:41 -   1.8
@@ -1,6 +1,6 @@
 Info2: 
 Package: biopython-py%type_pkg[python]
-Version: 1.42
+Version: 1.43
 Revision: 1001
 Type: python (2.3 2.4 2.5)
 Depends: python%type_pkg[python], python-mx-py%type_pkg[python], 
numeric-py%type_pkg[python], reportlab-py%type_pkg[python] (= 1.20-1011)
@@ -8,8 +8,8 @@
 Replaces: python-biopython-py%type_pkg[python]
 #Provides: python-biopython-py%type_pkg[python]
 Source: http://biopython.org/DIST/biopython-%v.tar.gz
-Source-MD5: 6d9bf58d0fcfa5a3b2053ad419069ff3
-#Patch: %{ni}.patch
+Source-MD5: 3c275b321bb1db7d8bda764913aaedcd
+Patch: %{ni}.patch
 CompileScript: %p/bin/python%type_raw[python] setup.py build
 InstallScript:  
   %p/bin/python%type_raw[python] setup.py install --root=%d

--- NEW FILE: biopython-py.patch ---
diff -Naur biopython-1.43/setup.py biopython-1.43-patched/setup.py
--- biopython-1.43/setup.py 2007-03-17 15:21:04.0 -0400
+++ biopython-1.43-patched/setup.py 2007-04-01 22:02:12.0 -0400
@@ -112,15 +112,14 @@
 
 
 # Compile KDTree ? Not compiled by default
-print \n*** Bio.KDTree *** NOT built by default 
-kdtree_msg = 
-The Bio.PDB.NeighborSearch module depends on the Bio.KDTree module,
-which in turn, depends on C++ code that does not compile cleanly on
-all platforms. Hence, Bio.KDTree is not built by default.
-
-Would you like to build Bio.KDTree ?
-
-if get_yes_or_no (kdtree_msg, 0):
+#print \n*** Bio.KDTree *** NOT built by default 
+#kdtree_msg = 
+#The Bio.PDB.NeighborSearch module depends on the Bio.KDTree module,
+#which in turn, depends on C++ code that does not compile cleanly on
+#all platforms. Hence, Bio.KDTree is not built by default.
+#
+#Would you like to build Bio.KDTree ?
+#if get_yes_or_no (kdtree_msg, 0):
 NUMPY_PACKAGES.append(Bio.KDTree)
 NUMPY_EXTENSIONS.append(
 CplusplusExtension('Bio.KDTree._CKDTree', 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[cvs] scripts/buildfink/lib/FinkFDB DBI.pm,1.2,1.3

2007-04-01 Thread Matthew Sachs
Update of /cvsroot/fink/scripts/buildfink/lib/FinkFDB
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv32496/lib/FinkFDB

Modified Files:
DBI.pm 
Log Message:
Back-end and front-end can talk again

Index: DBI.pm
===
RCS file: /cvsroot/fink/scripts/buildfink/lib/FinkFDB/DBI.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- DBI.pm  1 Apr 2007 15:23:43 -   1.2
+++ DBI.pm  2 Apr 2007 04:35:45 -   1.3
@@ -24,9 +24,8 @@
  get_package_files = EOF,
 SELECT fullpath AS 'path',
size, posix_user, posix_group, flags
-FROM file_versions LEFT OUTER JOIN packages
-   ON file_versions.package_id = packages.package_id
-WHERE package_name=?
+FROM file_versions
+WHERE package_id=?
 ORDER BY is_directory DESC, fullpath ASC
 EOF
  get_directory_files = EOF,
@@ -39,7 +38,7 @@
 LEFT OUTER JOIN packages
ON packages.package_id = file_versions.package_id
 WHERE parent_id = ?
-ORDER BY is_directory DESC, file_name ASC
+ORDER BY is_directory DESC, file_name ASC, package_name ASC
 EOF
  get_packages = SELECT package_name, package_id FROM 
packages ORDER BY package_name ASC,
  );
@@ -60,12 +59,30 @@
 $dbstr = sprintf(dbi:%s:%s, $self-{dbtype}, $params{db});
   }
 
-  $self-{dbh} = DBI-connect($dbstr, $params{dbuser}, $params{dbpass}, 
\%dbattrs);
-  $self-{queries} = {};
+  $self-{dbstr} = $dbstr;
+  $self-{dbuser} = $params{dbuser};
+  $self-{dbpass} = $params{dbpass};
+  $self-{dbattrs} = \%dbattrs;
 
   return $self;
 }
 
+sub connect {
+  my($self) = @_;
+  $self-{dbh} = DBI-connect($self-{dbstr},
+ $self-{dbuser},
+ $self-{dbpass},
+ $self-{dbattrs});
+  $self-{queries} = {};
+}
+
+sub disconnect {
+  my($self) = @_;
+  delete $self-{queries};
+  $self-{dbh}-disconnect();
+  delete $self-{dbh};
+}
+
 sub addPackage {
   my($self, $package) = @_;
   $self-execQuery(add_package, $package);
@@ -135,8 +152,8 @@
 }
 
 sub selectAll {
-  my($query, @bindvals) = @_;
-  my $query = $self-execQuery($query, @bindvals);
+  my($self, $qname, @bindvals) = @_;
+  my $query = $self-execQuery($qname, @bindvals);
   my $ret = $query-fetchall_arrayref({});
   $query-finish();
   return @$ret;


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits