Update of /cvsroot/fink/fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21196

Modified Files:
      Tag: shlibs
        ChangeLog VERSION bootstrap.sh setup.sh 
Added Files:
      Tag: shlibs
        STYLE 
Log Message:
Trying to revive the shlibs branch, not tested, likely won't work till I'm done 
so don't try\! only 400 more commits to add :)

--- NEW FILE: STYLE ---
<http://thread.gmane.org/gmane.os.apple.fink.devel/6012>

From: Max Horn <max <at> quendi.de>
Subject: Re: Basic style guide (was Re: fink/perlmod/Fink 
Bootstrap.pm,1.40,1.41 Command.pm,1.3,1.4 Config.pm,1.25,1.26 
Mirror.pm,1.10,1.11)
Newsgroups: gmane.os.apple.fink.devel
Date: Sun, 16 Nov 2003 14:05:12 +0100

[...] Here's them, roughly:

* tabs are 4 wide
* use tabs for indention of statements (so with the above, you get "4 
character indention")
* in particular, do *not* use emacs 2/8 indention mode
* don't use tabs for indention/alignment *inside* statements.
* there is no particular reason to stick to a 80 column width, but if 
it makes you feel better, I don't mind it either, as long as it doesn't 
cause extremely unnatural code formatting
* our bracing style is:
   while (foo) {
        ...
   }
* use a whitespace after keywords:  "if (foo)" and not "if(foo)"


Index: VERSION
===================================================================
RCS file: /cvsroot/fink/fink/VERSION,v
retrieving revision 1.32.2.10
retrieving revision 1.32.2.11
diff -u -d -r1.32.2.10 -r1.32.2.11
--- VERSION     27 Dec 2004 21:20:32 -0000      1.32.2.10
+++ VERSION     28 Dec 2004 16:59:57 -0000      1.32.2.11
@@ -1 +1 @@
-0.18.2.cvs.shlibs
+0.19.0.cvs.shlibs

Index: bootstrap.sh
===================================================================
RCS file: /cvsroot/fink/fink/bootstrap.sh,v
retrieving revision 1.4.4.2
retrieving revision 1.4.4.3
diff -u -d -r1.4.4.2 -r1.4.4.3
--- bootstrap.sh        4 Jan 2004 19:59:12 -0000       1.4.4.2
+++ bootstrap.sh        28 Dec 2004 16:59:57 -0000      1.4.4.3
@@ -47,6 +47,13 @@
   exit 1
 fi
 
+### create FinkVersion.pm for bootstrap
+
+if [ ! -f perlmod/Fink/FinkVersion.pm ]; then
+  version=`cat VERSION`
+  sed -e "s|@VERSION@|$version|g" <perlmod/Fink/FinkVersion.pm.in 
>perlmod/Fink/FinkVersion.pm
+fi
+
 ### start bootstrap.pl
 
 if [ ! -x bootstrap.pl ]; then

Index: setup.sh
===================================================================
RCS file: /cvsroot/fink/fink/setup.sh,v
retrieving revision 1.13.2.1
retrieving revision 1.13.2.2
diff -u -d -r1.13.2.1 -r1.13.2.2
--- setup.sh    4 Jan 2004 19:59:12 -0000       1.13.2.1
+++ setup.sh    28 Dec 2004 16:59:57 -0000      1.13.2.2
@@ -40,7 +40,7 @@
 sed "s|@PREFIX@|$basepath|g" <pathsetup.command.in >pathsetup.command
 
 echo "Creating FinkVersion.pm..."
-sed -e "s|@VERSION@|$version|g" -e "s|@BASEPATH@|$basepath|g" 
<perlmod/Fink/FinkVersion.pm.in >perlmod/Fink/FinkVersion.pm
+sed -e "s|@VERSION@|$version|g" <perlmod/Fink/FinkVersion.pm.in 
>perlmod/Fink/FinkVersion.pm
 
 echo "Creating man page..."
 sed "s|@VERSION@|$version|g ; s|@PREFIX@|$basepath|g" <fink.8.in >fink.8

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/ChangeLog,v
retrieving revision 1.143.2.11
retrieving revision 1.143.2.12
diff -u -d -r1.143.2.11 -r1.143.2.12
--- ChangeLog   27 Dec 2004 21:20:32 -0000      1.143.2.11
+++ ChangeLog   28 Dec 2004 16:59:57 -0000      1.143.2.12
@@ -1,3 +1,18 @@
+2004-02-21  Dave Morrison  <[EMAIL PROTECTED]>
+
+       * VERSION: Bumped package manager version to 0.19.0
+
+2004-02-16  Daniel Macks  <[EMAIL PROTECTED]>
+
+       * STYLE: a style guide for the fink core code.
+
+2004-02-14  Dave Morrison  <[EMAIL PROTECTED]>
+
+       * bootstrap.sh, setup.sh: Create FinkVersion.pm from FinkVersion.pm.in
+       during bootstrap.  (Also, when this is created in setup.sh, don't
+       do the obsolete substitution for @BASEPATH@, which is no longer
+       necessary.)
+       
 2004-02-14  Benjamin Reed  <[EMAIL PROTECTED]>
 
        * fink-virtual-pkgs.in: Added "debug" mode to show what's going



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to