Re: [Fink-devel] missing patch file does not give an error
On 19 May 2005, at 8:47 AM, Koen van der Drift wrote: Why not let fink test for the presence of the patchscript file? Maybe using a similar mechanism that test for the presence of the source in /sw/src. Let me add that I have no idea about the inner workings of fink, so I might be way out of line :) Not all packages have a patch file and some may have more than one. So you'd have to add a way to specify what patch files should be there. That would only solve half the problem anyway. It's still possible for a badly written patch script to return success to fink when part of a piped chain of commands fails. -- Rohan Lloyd --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] missing patch file does not give an error
On 18 May 2005, at 2:14 PM, Chris Zubrzycki wrote: [discussion about how to fail a patch script with missing patch file] > put #!/bin/sh -e as the first line of the patchscript. The -e will > cause it to bail if any commands exit non-zero. > That won't work. It will only bail if the last command in the chain fails. $ cat </tmp/patchscript.sh > #/bin/sh -e > sed s'|@PREFIX@|%p|g' echo "Here I am" > EOF $ chmod +x patchscript.sh $ ./patchscript.sh /patchscript.sh: line 2: /tmp/foo: No such file or directory Here I am $ echo $? 0 -- Rohan Lloyd --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] PatchScript: how to handle broken pipes
On 28 Jan 2005, at 12:26 PM, Daniel Macks wrote: I tried to compile a package that contained the fairly standard: sed 's|@PREFIX@|%p|' < %a/%n.patch | patch -p1 in PatchScript and due to a screwup on my part, that patchfile didn't exist. An error message was reported by sed, however, the build process then continued! How's this for a simple alternative: /usr/bin/sed 's|@PREFIX@|%p|' <%a/%n.patch >%n.patch && /usr/bin/patch -p1 %n.patch It leaves a %n.patch file in the build directory, but shouldn't matter. -- Rohan Lloyd --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] /usr/bin/test ?
On 28 Oct 2004, at 1:55 PM, David Brown wrote: On Wed, Oct 27, 2004 at 05:23:47PM -0400, Koen van der Drift wrote: A package I am working on uses /usr/bin/test during compiling. I don't have that on my Mac (10.3.5). Anyone have a suggestion what I should do in this case? Is there maybe a fink package that installs /sw/bin/test? It's in /bin/test. Any idea why the path is hardcoded into the test? Hardcoded paths are a good thing in my opinion for a couple of reasons: a) Security - Fink runs everything as root. It is long established practice that root scripts should use hard coded paths. I want to know that the standard /bin/test is being run, not some other script called "test" that I might have in my path. b) Compatibility - Different versions of executables can have slightly different behaviour. For instance, I had a problem in one of my packages where the build was failing if the user had the fink version of makeinfo, whereas /usr/bin/makeinfo worked fine. By hard coding the path, I knew it would work for anyone. c) Consistency - Fink has a policy that a binary package should be the same no matter which machine it was built on. (eg packages do not use G5 optimisations on a G5) If you don't hard code paths, the binary package could be subtly different depending on the users path. Just my $0.02 -- Rohan Lloyd --- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins003001msi/direct/01/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] node for db42-ssl-shlibs already exists
When I try to do an update-all, I get the error: [EMAIL PROTECTED]> fink update-all /usr/bin/sudo /sw/bin/fink update-all Information about 3872 packages read in 3 seconds. Failed: Internal error: node for db42-ssl-shlibs already exists This is what "fink list db42" produces: [EMAIL PROTECTED]> fink list db42 Information about 3872 packages read in 2 seconds. db42 4.2.52-12 Berkeley DB embedded database - non crypto db42-bin 4.2.52-12 Binary utilities for db42 db42-doc 4.2.52-12 Documentation for db42 db42-java 4.2.52-12 Berkeley DB java libraries - ssl db42-shlibs4.2.52-12 Shared Libraries for db42 db42-ssl 4.2.52-12 Berkeley DB embedded database - ssl db42-ssl-bin 4.2.52-12 Binary utilities for db42-ssl db42-ssl-doc 4.2.52-12 Documentation for db42-ssl db42-ssl-java 4.2.52-12 Berkeley DB java libraries - ssl i db42-ssl-shlibs4.2.52-12 Shared Libraries for db42-ssl Any ideas? -- Rohan Lloyd --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Patch and PatchScript ignored
On 1 Jun 2004, at 12:06 PM, Nigel Stanger wrote: On 1/6/2004 1:59 PM, Alexander Strange at [EMAIL PROTECTED] spake thus: What version of fink is it (fink --version)? Current stable and unstable both have 0.20.2-1 which supports this. nuevorico> fink --version Package manager version: 0.20.2 Distribution version: 0.7.0.cvs nuevorico> fink list fink Information about 3177 packages read in 3 seconds. i fink 0.20.2-1 The Fink package manager I'm running unstable. Hmm... even more confused :) You're not the only one. I get exactly the same results here. -- Rohan Lloyd --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Fwd: [Fink-users] Feedback wanted
I sent this to fink-users a few days ago, and so far haven't got one response. Maybe someone on this list is using some of these packages... Begin forwarded message: From: Rohan Lloyd <[EMAIL PROTECTED]> Date: 29 February 2004 2:17:55 PM GMT+11:00 To: Fink-Users <[EMAIL PROTECTED]> Subject: [Fink-users] Feedback wanted I have several packages in unstable, that I'd like to get moved to stable before the upcoming binary release. findbugs-0.7.1-1 jdepend-2.6-2 jing-20030619-2 nxml-mode-20031018-1 python-mode-4.35-11 trang-20030619-1 If you're using any of these with no problems, can you send me a quick note. Thanks -- Rohan Lloyd --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Hardcoded /sw.
On 23 Feb 2004, at 8:07 PM, Andrea Riciputi wrote: Hi, I was validating a package that I maintain and I got the following warning: Warning: Patch file appears to contain a hardcoded /sw. (pyx-py23.patch) Trying to replace "/sw" strings with "%p/" result in an error. Which is the right sintax? Replace "/sw" with "@PREFIX@ Then put the following PatchScript in the .info file: PatchScript: << /usr/bin/sed 's|@PREFIX@|%p|g' <%a/%n.patch | /usr/bin/patch -p1 << -- Rohan Lloyd --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Re: dists/10.3/unstable/main/finkinfo/libs/perlmods proc-processtable-pm581.info,NONE,1.1
On 23 Feb 2004, at 1:50 PM, Daniel Macks wrote: [snip - discussion comparing RFC-822 and hereis doc styles] RFC-822 says the first line of the field is on the line with the fieldname, and continues for all successive lines that are whitespace-indented. The RFC specifies "whitespace", not any particular amount nor even that the whitespace used must be consistent line-to-line. Since fink has to disregard all leading whitespace in this format, a language like python (as Rohan seems itching to use:) that uses indentation to indicate code blocks could not be used. A quick clarification on that... I have no immediate plans for python scripting in a package. The lack of support for whitespace significant scripting languages (ie python) is just something I noticed while looking at changes to support folding of multiline commands. -- Rohan Lloyd --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Folding long lines in scripts
On 16 Feb 2004, at 8:20 PM, Daniel Macks wrote: Okay Rohan, I think that works now. I just patched Services.pm. Give it a try. For the second above, I used: # Unfold multiline commands into one line $script =~ s/\s*\\\s*\n/ /g; in case Maintainer got sloppy and left training whitespace after \. I also updated the Packaging Manual docs for Script fields (which didn't even mention #! scripts at all!). Strictly speaking the '\' should appear immediately before the '\n'. To quote bash(1): A non-quoted backslash (\) is the escape character. It preserves the literal value of the next character that follows, with the exception of . If a \ pair appears, and the backslash is not itself quoted, the \ is treated as a line continuation (that is, it is removed from the input stream and effectively ignored). I'm not sure of the benefit of allowing sloppiness. If you do that you would get the strange behaviour that it would work with individual script lines, but if they added a "#!/bin/sh" on the first line, the shell would not recognise the continuation, and you'd get different results. -- Rohan Lloyd --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Folding long lines in scripts
On 16 Feb 2004, at 6:52 PM, Daniel Macks wrote: On Thu, Feb 12, 2004 at 06:14:10PM +1100, Rohan Lloyd wrote: [a *huge* snip...we're now talking about a patch for Services.pm] Okay, looking good. Question: - If "#!" strip leading whitespace on first line only - Otherwise, unfold lines and strip leading whitespace on all lines. This latter part is implemented by: + # Strip any leading white space on each line + $script =~ s/^\s*//mg; + # Unfold multiline commands into one line + $script =~ s/\s*\\\n\s*/ /g; Given that the first of these does what the comment says, won't there never be any \s after a \n? Well spotted. When I originally wrote the 2nd regex, I was not stripping leading whitespace, so the "\s*" was required. However, as you point out, it is redundant given the 1st regex. -- Rohan Lloyd --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] kexts in fink
On 13 Feb 2004, at 8:15 AM, Rob Braun wrote: After talking with some of the people that actually know something about kexts, I'm completely wrong here. kexts can be loaded from anywhere. They only need to be in /S/L/E if they are going to be "hot plugged", or automatically loaded when a device is inserted or some such. If this is not the case, it is recommended that kexts NOT be placed in /S/L/E. A case in point is the filesystem kexts. These are in /S/L/CoreServices/... If that is the case, I don't see why we need to define a new place for them. Just use %p/lib/ This keeps the directory structure simple and conforming with FHS. -- Rohan Lloyd --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Folding long lines in scripts
On 12 Feb 2004, at 4:33 PM, Daniel Macks wrote: On Thu, Feb 12, 2004 at 12:53:09AM +1100, Rohan Lloyd wrote: In writing the InstallScript for a new package I wanted to be able to fold long lines, to make it more readable. ie. have: /usr/bin/install -m 755 common/fink/emacsen-install \ %i/lib/emacsen-common/packages/install/%n Instead of: /usr/bin/install -m 755 common/fink/emacsen-install %i/lib/emacsen-common/packages/install/%n Not a bad idea. Thanks. 8v) I discovered that fink did not like this. If I add a "#!/bin/sh" to the first line, it saves the script to a file, and then runs it through /bin/sh which works, but I don't get to see the individual commands as they are run. Try '#!/bin/sh -x' instead. That's not quite as friendly, as it prints out the command after all the shell globbing etc. For example, you get: /bin/rm -rf /sw/src/root-cedet-common-1.0beta1c-1 /bin/mkdir -p /sw/src/root-cedet-common-1.0beta1c-1/sw /bin/mkdir -p /sw/src/root-cedet-common-1.0beta1c-1/DEBIAN /var/tmp/tmp.1.yygucg + /usr/bin/install -m 755 -d /sw/src/root-cedet-common-1.0beta1c-1/sw/share/cedet-common/icons + /usr/bin/install -m 644 common/icons/Makefile common/icons/Project.ede common/icons/bits.xpm common/icons/bitsbang.xpm common/icons/box-minus.xpm common/icons/box-plus.xpm common/icons/box.xpm common/icons/checkmark.xpm common/icons/dir-minus.xpm common/icons/dir-plus.xpm common/icons/dir.xpm common/icons/doc-minus.xpm common/icons/doc-plus.xpm common/icons/doc.xpm common/icons/info.xpm common/icons/key.xpm common/icons/label.xpm common/icons/lock.xpm common/icons/mail.xpm common/icons/page-minus.xpm common/icons/page-plus.xpm common/icons/page.xpm common/icons/tag-gt.xpm common/icons/tag-minus.xpm common/icons/tag-plus.xpm common/icons/tag-type.xpm common/icons/tag-v.xpm common/icons/tag.xpm common/icons/unlock.xpm /sw/src/root-cedet-common-1.0beta1c-1/sw/share/cedet-common/icons + /usr/bin/install -m 755 -d /sw/src/root-cedet-common-1.0beta1c-1/sw/share/emacs/site-lisp/cedet- common + /usr/bin/install -m 644 common/cedet-autogen.el common/cedet-compat.el common/cedet-load.el common/cedet-loaddefs.el common/cedet.el common/ezimage.el common/inversion.el common/pprint.el common/sformat.el common/working.el /sw/src/root-cedet-common-1.0beta1c-1/sw/share/emacs/site-lisp/cedet- common + /usr/bin/install -m 755 -d /sw/src/root-cedet-common-1.0beta1c-1/sw/lib/emacsen-common/packages/ install + /usr/bin/install -m 755 common/fink/emacsen-install /sw/src/root-cedet-common-1.0beta1c-1/sw/lib/emacsen-common/packages/ install/cedet-common install: common/fink/emacsen-install: No such file or directory Instead of: /bin/rm -rf /sw/src/root-cedet-common-1.0beta1c-1 /bin/mkdir -p /sw/src/root-cedet-common-1.0beta1c-1/sw /bin/mkdir -p /sw/src/root-cedet-common-1.0beta1c-1/DEBIAN /usr/bin/install -m 755 -d /sw/src/root-cedet-common-1.0beta1c-1/sw/share/cedet-common/icons /usr/bin/install -m 644 common/icons/* /sw/src/root-cedet-common-1.0beta1c-1/sw/share/cedet-common/icons /usr/bin/install -m 755 -d /sw/src/root-cedet-common-1.0beta1c-1/sw/share/emacs/site-lisp/cedet- common /usr/bin/install -m 644 common/*.el /sw/src/root-cedet-common-1.0beta1c-1/sw/share/emacs/site-lisp/cedet- common /usr/bin/install -m 755 -d /sw/src/root-cedet-common-1.0beta1c-1/sw/lib/emacsen-common/packages/ install /usr/bin/install -m 755 common/fink/emacsen-install /sw/src/root-cedet-common-1.0beta1c-1/sw/lib/emacsen-common/packages/ install/cedet-common install: common/fink/emacsen-install: No such file or directory While I was there, I found the following 2 lines at the top of execute_script: $script =~ s/[\r\n]+$//s;# Remove empty lines $script =~ s/^\s*//; # Remove white spaces from the start of each line Neither of these lines works. The first one only deletes blank lines at the end of the script, while the second only removes white space from the first line. So, I just deleted them. Blank lines, and leading white space are correctly handled anyway. Luckily, Mac BSD seems to ignore the leading space in the first line of a script (i.e., " #!/bin/sh"). It's not really correct to write that, however; 'file' will report the script as only "ASCII text". We should probably remove the whitespace in that line when dumping to the tempfile. Also, what about if a *Script has blank lines at the beginning? InstallScript: << #!/bin/bash -ex ... << The existing leading-whitespace regex, though mis-commented, has the effect of removing these. Actually by the time the script gets here, all leading blank lines have been stripped (apart from a leading '\n' character). The second regex deletes this '\n' and any whitespace before the "#!". The first regex only deletes trailing blank lines.
[Fink-devel] Folding long lines in scripts
In writing the InstallScript for a new package I wanted to be able to fold long lines, to make it more readable. ie. have: /usr/bin/install -m 755 -d %i/lib/emacsen-common/packages/install /usr/bin/install -m 755 common/fink/emacsen-install \ %i/lib/emacsen-common/packages/install/%n Instead of: /usr/bin/install -m 755 -d %i/lib/emacsen-common/packages/install /usr/bin/install -m 755 common/fink/emacsen-install %i/lib/emacsen-common/packages/install/%n I discovered that fink did not like this. If I add a "#!/bin/sh" to the first line, it saves the script to a file, and then runs it through /bin/sh which works, but I don't get to see the individual commands as they are run. So I poked around in Services.pm and added code to Unfold multiline commands. It's a simple one line addition in execute_script While I was there, I found the following 2 lines at the top of execute_script: $script =~ s/[\r\n]+$//s;# Remove empty lines $script =~ s/^\s*//; # Remove white spaces from the start of each line Neither of these lines works. The first one only deletes blank lines at the end of the script, while the second only removes white space from the first line. I fixed these by changing them to: $script =~ s/([\r\n])[\r\n]*/${1}/g; # Remove empty lines $script =~ s/^\s*//mg; # Remove white spaces from the start of each line But then after thinking about it, I'm not sure these should be done anyway. These lines are executed before we have decided whether to execute line by line, or whether to save to a file and run through external command. What if the script was a python script? By removing leading white space we would be changing the code, and break the script. So I decided to just remove them. However the I had to tweak the check for "#!" to allow white space before, in order to be backwards compatible. So, I just deleted them. Blank lines, and leading white space are correctly handled anyway. Attached is a patch that adds the line folding, and removes these broken lines. So what do you think? Any problems with it? Can someone add it? Thanks Services.pm.patch Description: Binary data -- Rohan Lloyd
Re: [Fink-devel] Colorizing info files in emacs.
On 23 Jan 2004, at 9:34 AM, Andrea Riciputi wrote: Hi, I was wondering if someone has tried to setup emacs in order to colorize fink's info files. I've no idea about how to get it, but I think it would be useful. Any suggestion? I have started writing a major mode for fink. It's still very much a work in progress. So far the following are highlighted: • Comments • field names • % expansions • Unrecognised % expansions • Description errors - Starting with "A" or "An" - Starting with lower case - Ending with "." - Longer than 45 characters • instances of package name where %n/%v should be used. It has some major problems too: • If you delete the Package: value, emacs goes into a tight loop It's been a long time since I've done anything with it. If anyone is interested I could send what I have so far... -- Rohan Lloyd --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Colorizing info files in emacs.
On 23 Jan 2004, at 9:34 AM, Andrea Riciputi wrote: Hi, I was wondering if someone has tried to setup emacs in order to colorize fink's info files. I've no idea about how to get it, but I think it would be useful. Any suggestion? I have started writing a major mode for fink. It's still very much a work in progress. So far the following are highlighted: • Comments • field names • % expansions • Unrecognised % expansions • Description errors - Starting with "A" or "An" - Starting with lower case - Ending with "." - Longer than 45 characters • instances of package name where %n/%v should be used. It has some major problems too: • If you delete the Package: value, emacs goes into a tight loop It's been a long time since I've done anything with it. If anyone is interested I could send what I have so far... -- Rohan Lloyd --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Non distributable source files
I have made a fink package for jsr14 (prototype implementation of Java Generics) https://sourceforge.net/tracker/? func=detail&atid=414256&aid=860837&group_id=17203 The source for this package is freely (as in beer) available from Sun, but is only downloadable by registered developers (free to join) after agreeing to the license. http://developer.java.sun.com/developer/earlyAccess/adding_generics/ index.html How do we handle such programs in Fink? I have included in the DescDetail field the details of where to get the source, and said to download it and place in /sw/src. Is this OK? Also what do you think the License field should be in this case. I have said "Commercial", but it on further looking, it might fit into "Restrictive". -- Rohan Lloyd --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] /sw in .patch and .patch filenames
On 22 Dec 2003, at 1:55 PM, Daniel Macks wrote: I notice a *lot* of packages have hardcoded /sw in their .patch files. So first, could everyone please check the things yuo maintain for this problem? I'm going to make 'fink validate' whine about this shortly... To make this and other validator checks more reliable, I'm wondering about .patch filenames. Is there a time when having a *.info and *.patch where the corresponding filename roots "*" do not match is a good idea? We never say not to do this, but Packaging Manual says that's the usual way. A lot of packages now use PatchScript that reads the patchfile (cf. Patch) the validator code doesn't know to check the .patch at all, so if this is the rule we could always check *.patch if it is present (instead of checking "whatever Patch: says"). One example I've seen is emacs21. There are 3 variants (emacs21, emacs21-xaw3d and emacs21-nox) but they all use the same patch file. /sw/fink/10.2-gcc3.3/unstable/main/finkinfo/editors [EMAIL PROTECTED]> grep "\.patch" emacs21*.info emacs21-21.3-11.info: sed 's|@PREFIX@|%p|g' <%a/emacs21-%v-%r.patch | patch -p1 emacs21-nox-21.3-11.info: sed 's|@PREFIX@|%p|g' <%a/emacs21-%v-%r.patch | patch -p1 emacs21-xaw3d-21.3-11.info: sed 's|@PREFIX@|%p|g' <%a/emacs21-%v-%r.patch | patch -p1 -- Rohan Lloyd --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Problems with ant-1.6.0-21
On 22 Dec 2003, at 10:55 AM, Hisashi T Fujinaka wrote: On Mon, 22 Dec 2003, Rohan Lloyd wrote: I'm having a problem installing the new 1.6.0 version of ant. It fails when running build.sh This results in no "ant" subdirectory, so nothing is copied to /sw/lib/ant Any ideas? That's something I added last night. I'll take a look at it, but it did work for me. I've found the cause. I had fop installed, which includes ant-1.5.1. It was picking that up in my CLASSPATH, and getting very confused. When I removed fop and tried installing ant-1.6.0 it worked fine. -- Rohan Lloyd --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Problems with ant-1.6.0-21
/sw/src/root-ant-1.6.0-21/sw/etc/profile.d/ant.sh.env /bin/mv -f /sw/src/root-ant-1.6.0-21/sw/etc/profile.d/ant.csh.env /sw/src/root-ant-1.6.0-21/sw/etc/profile.d/ant.csh /bin/mv -f /sw/src/root-ant-1.6.0-21/sw/etc/profile.d/ant.sh.env /sw/src/root-ant-1.6.0-21/sw/etc/profile.d/ant.sh /bin/chmod 755 /sw/src/root-ant-1.6.0-21/sw/etc/profile.d/ant.* /bin/rm -f /sw/src/root-ant-1.6.0-21/sw/info/dir /sw/src/root-ant-1.6.0-21/sw/info/dir.old /sw/src/root-ant-1.6.0-21/sw/share/info/dir /sw/src/root-ant-1.6.0-21/sw/share/info/dir.old Writing control file... Finding prebound objects... Writing dependencies... dpkg-deb -b root-ant-1.6.0-21 /sw/fink/dists/unstable/main/binary-darwin-powerpc/devel dpkg-deb: building package `ant' in `/sw/fink/dists/unstable/main/binary-darwin-powerpc/devel/ant_1.6.0 -21_darwin-powerpc.deb'. /bin/ln -sf /sw/fink/dists/unstable/main/binary-darwin-powerpc/devel/ant_1.6.0 -21_darwin-powerpc.deb /sw/fink/debs/ /bin/rm -rf /sw/src/root-ant-1.6.0-21 -- Rohan Lloyd --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] A few interesting facts about the Fink Webv-Site.
On 15 Dec 2003, at 7:24 PM, D. Höhn wrote: While this attempt at tracking was and is in no way complete it does show us where we could invest some more time. Most of our referrers seem to come from google , some are pouring in from apple.com now and a lot are coming from the guy who owns the fink.org domain. I suspect, like me there are a lot of people who can never remember the address. I always come via google, because I find it easier to type "fink" into Safari's google search than to try to remember where it is. -- Rohan Lloyd --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] findutils breaks compare-trees.pl
I was just trying to run compare-trees.pl and it was hanging. I tracked the problem down to having findutils (4.1.20-2) installed. When I removed findutils, compare-trees.pl ran fine. I haven't had a chance to look further into it, to see what the actual problem is... -- Rohan Lloyd --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Update findbugs
findbugs: 0.6.0-2 10.2/stable/devel, 10.2-gcc3.3/stable/devel, 10.3/stable/devel, 10.3/unstable/devel 0.6.6-1 10.2-gcc3.3/unstable/devel 0.7.0-1 10.2/unstable/devel Can someone with CVS access please update the "10.2-gcc3.3/unstable" and "10.3/unstable" trees to the latest 0.7.0-1 version. I have used it on both for a while with no problems at all. Thanks -- Rohan Lloyd --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] findbugs versions
Comparing trees, I find 3 different versions of findbugs findbugs: 0.6.0-2 10.2/stable/devel, 10.2-gcc3.3/stable/devel, 10.3/stable/devel, 10.3/unstable/devel 0.6.6-1 10.2-gcc3.3/unstable/devel 0.7.0-1 10.2/unstable/devel, 10.3/local/devel There is no reason why all three unstable trees couldn't be updated to the latest 0.7.0 version. I have run it successfully on both 10.2 and 10.3, and it's java so the version of gcc makes no difference. Could someone update the unstable versions to 0.7.0 Thanks -- Rohan Lloyd --- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Script to change emails
On 8 Nov 2003, at 6:04 PM, Jeremy Higgs wrote: Hi everyone! Does anyone have a script that would allow me to change the email listed in each of the .info files for packages I maintain? I've done a little bit of simple shell scripting, so I was going to do it that way using a whole lot of for loops, but I'm not sure how to do it completely. If anyone has a script already (I remember some developers changing emails before) that I could look at, that would be great! You can do it in emacs using tags-query-replace First create a TAGS file for all info files cd /sw/fink find . -name "*.info" | xargs etags Fire up emacs, and go: M-x tags-query-replace enter the string you want to replace, and what you want to change it to, and go. It will open up each file in which a match is found. You can then either accept/reject individual changes, or type '!' to change all occurrences in that file. Voila! -- Rohan Lloyd --- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] findbugs
findbugs-0.7.0-1 can be added to 10.3/unstable (I'm using it without any problems) I'd also like to get it moved to stable in all trees, so can anyone else who's using it successfully give me some feedback. Thanks -- Rohan Lloyd --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Problems with system-xfree86
There was a recent change to split system-xfree86 into 4.2 and 4.3 versions. When I do a fink update, I got the following error: [EMAIL PROTECTED]> fink update system-xfree86 sudo /sw/bin/fink update system-xfree86 Password: Information about 2891 packages read in 24 seconds. fink needs help picking an alternative to satisfy a virtual dependency. The candidates: (1) system-xfree86-42: Placeholder: XFree86 4.2.x and Apple X11 beta 3 (2) system-xfree86-43: Placeholder: XFree86 4.3.x and Apple X11 1.0 Pick one: [1] The following package will be installed or updated: system-xfree86 The following additional package will be installed: system-xfree86-42 Do you want to continue? [Y/n] dpkg -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/x11-system/system- xfree86-42_4.2-1_darwin-powerpc.deb dpkg: regarding .../system-xfree86-42_4.2-1_darwin-powerpc.deb containing system-xfree86-42: system-xfree86 conflicts with x11 system-xfree86-42 provides x11 and is to be installed. dpkg: error processing /sw/fink/dists/unstable/main/binary-darwin-powerpc/x11-system/system- xfree86-42_4.2-1_darwin-powerpc.deb (--install): conflicting packages - not installing system-xfree86-42 Errors were encountered while processing: /sw/fink/dists/unstable/main/binary-darwin-powerpc/x11-system/system- xfree86-42_4.2-1_darwin-powerpc.deb ### execution of dpkg failed, exit code 1 Failed: can't install package system-xfree86-42-4.2-1 -- Rohan Lloyd --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] OpenNap-0.44, 0.45, -NG
On Tuesday, July 29, 2003, at 12:45 PM, Jeffrey Ellis wrote: Hi, All-- I was hoping to get some help with the .info files for each of these packages. I am a total newbie...hence the need for help :) I need to add some commands at the end of the install process which will create a new directory and then copy and rename some files into that directory, and finally edit one of the files to add a line needed so the server will run. What I need is this to be written out as it should go in the .info file for one of the projects, and I will edit the other two. The following are the commands I need (this example is for the opennap-ng project).: mkdir /sw/share/opennap-ng cd doc/opennap-ng/examples cp sample.block /sw/share/opennap-ng/block;cp sample.channels /sw/share/opennap-ng/channels;cp sample.config /sw/share/opennap-ng/config;cp sample.filter = /sw/share/opennap-ng/filter;cp sample.motd /sw/share/opennap-ng/motd;cp sample.servers /sw/share/opennap-ng/servers;touch /sw/share/opennap-ng/users I don't know anything about OpenNap, but based on your email, I would do the following: --- InstallScript: << install -m 755 -d %i/share/%n install -m 644 doc/%n/examples/sample.block%i/share/%n/block install -m 644 doc/%n/examples/sample.channels %i/share/%n/channels install -m 644 doc/%n/examples/sample.config %i/share/%n/config install -m 644 doc/%n/examples/sample.filter %i/share/%n/filter install -m 644 doc/%n/examples/sample.motd %i/share/%n/motd install -m 644 doc/%n/examples/sample.servers %i/share/%n/servers echo "# Uncomment the following line, and change appropriately" > %i/share/%n/servers echo "# Admin mypassword [EMAIL PROTECTED] Admin 0 0" >> %i/share/%n/servers << DescUsage: << The file %p/share/%n must be edited to set the admin password and email address. << --- If you haven't already, you should read the Fink Packaging manual http://fink.sourceforge.net/doc/packaging/index.php I'm not sure that /sw/share/opennap-ng is the right place to be putting these config files. /sw/etc/opennap-ng might be a better place. See: http://fink.sourceforge.net/doc/packaging/fslayout.php#dirs -- Rohan Lloyd --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Validating fink packages
On Tuesday, June 3, 2003, at 01:09 AM, David R. Morrison wrote: - python modules: must comply with fink python policy Is anybody willing to write a brief statement of what this policy is? I would then add it to the documentation. I'll also add the emacs policy, which Rohan pointed out. On the subject of emacs policy, I've just made some local modifications to Validation.pm to add some checks for emacs packages. It checks 2 things: 1. No files are placed directly in /sw/share/emacs/site-lisp (they should be in a package subdirectory) 2. No byte compiled .elc files are installed (they should be compiled during postInst by /sw/lib/emacsen-common/packages/install/ script) The code has a couple of special cases, because emacsen-common and emacs/xemacs themselves are allowed to do these things. I'm not sure that what I've got is right for xemacs. I don't use it, and I don't have the diskspace or patience to install it just to check it out. So there could be a lot of false errors for xemacs. Attached is a diff of the changes Validation.pm.diff Description: Binary data -- Rohan Lloyd
[Fink-devel] (no subject)
-- Rohan Lloyd --- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Validating fink packages
On Sunday, June 1, 2003, at 06:04 AM, Ben Hines wrote: On Saturday, May 31, 2003, at 09:16 AM, mathias meyer wrote: if there are some things to do (like checking md5sum fields a while ago) where you might apprechiate some help let me know, i'm happy to do that. I you want to, I would appreciate help validating new fink packages from the tracker... usually i check: - fink validate on the .deb file and the .info file - dpkg -c on the deb file just to make sure... make sure to do this for each splitoff. - Check for hardcoded /sws in the info and patch (should be %p) - Check for them touching anything outside of %d or %b during build and install. Not legal except in very special cases. - Make sure license and Homepage is in the package and is right - Make sure Maintainer is in the package and is the person who submitted the package. If not make sure they have the maintainer's permission. - Check dependencies, run something like this: 'dpkg -L wml | xargs otool -L' will list all libraries linked to by everything in that package. make sure it depends on each (didnt someone make a perl script to do that?.. i think so), and make sure none are BuildDependsOnly. - Try to check builddepends as much as possible (can be hard to get them all sometimes) - Make sure description is readable and appropriate - Sometimes I will let them know if they are doing crazy build hacks they don't need to be doing - Let them know if they are missing fink fields, like if they have a .conf file but forgot ConfFiles: field, or are not using fields like ConfigureParams: - Make sure they have splitoffs if they include shared libraries, and comply with the full -shlibs policy if necessary. - Make sure library versions in the Shlibs: field are correct. - python modules: must comply with fink python policy - perl modules: must comply with fink perl module policy anything else I'm forgetting? :) I'd like to add: - Emacs modules: must comply with emacs policy (/sw/share/doc/emacsen-common/debian-emacs-policy) Currently very few do. -- Rohan Lloyd --- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] python modules do not comply with policy
On Thursday, April 3, 2003, at 11:50 AM, David R. Morrison wrote: The problem with perl is similar, but not identical. Many perl modules work just fine with all versions of perl, and those don't necessarily need to be segregated from each other. Once I get the bindist out the door, I plan to work on getting multiple versions of perl coexisting with fink. For perl modules that *do* require separate compiles for each perl version, this is going to introduce the same headache we are now discussing with python. Emacs packages have a similar problem. With multiple emacs flavours installed, the .el files have to be byte compiled for each flavour. For the full details of how it works, have a look in /sw/share/doc/emacsen-common/debian-emacs-policy For Perl and Python, a similar approach could be used. For instance, with python, we could have the following directory structure: /sw/share/python/site-packages /sw/share/python2.2/site-packages /sw/share/python2.3/site-packages .py files get installed into /sw/lib/python/site-packages, and then compiled for each flavour of python and the resulting .pyc and .pyo files put into /sw/lib//site-packages Each flavour of python would be modified to include /sw/lib//site-packages in its path. A package called python-common would be created. It would provide scripts: /sw/lib/python-common/python-package-install /sw/lib/python-common/python-package-remove A python package "foo" must call /sw/lib/python-common/python-package-install foo in the postinst and /sw/lib/python-common/python-package-remove foo in the prerm These scripts call the package provided install/remove scripts in /sw/lib/python-common/packages/install/ /sw/lib/python-common/packages/remove/ which are responsible for doing the byte compiling on install and removing the byte compiled files on remove. These scripts are called both when a package is installed/removed and when a flavour is installed/removed. See the debian-policy for details. It works pretty well for emacs, What do you think? -- Rohan Lloyd --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Epoch
On Tuesday, March 4, 2003, at 05:39 PM, Ben Hines wrote: Particularly never add a "-RC1" or something similar just "because you can use epoch to correct it later". It is better to not package that version, or if you must, fudge the version so it works with dpkg's system. If you see a strange version with a new package update, make sure it will update cleanly later before adding it. Epoch is only to correct errors, or if the upstreams change their entire versioning scheme. I've just submitted a bunch of packages elib, eieio, semantic, speedbar and jde. These are all still in the package submission page. The speedbar version is speedbar-0.14beta4, and this beta version is required by the latest (non beta) jde-2.3.2. I was going to leave it as is and use Epoch if and when speedbar-0.14 comes out, but I'm happy to change it if anyone can suggest something better. Any suggestions? -- Rohan Lloyd --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Fwd: positive feedback on python-mode-4.6.18.2-1
This package has been working for a while now, how do I get it moved to stable? Begin forwarded message: From: Kow K <[EMAIL PROTECTED]> Date: Tue Feb 11, 2003 3:55:04 PM Australia/Sydney To: [EMAIL PROTECTED] Subject: positive feedback on python-mode-4.6.18.2-1 Hi, I'm reporting that the unstable package of Fink in the title was successfully built and has been working on my machine for a while. Sorry if this report isn't updated from the last one I submitted. Thanks for your effort on Fink Project. -- Package manager version: 0.11.2 Distribution version: 0.5.1.cvs Mac OS X version: 10.2.3 December 2002 Developer Tools gcc version: 3.1 make version: 3.79.1 Feedback Courtesy of FinkCommander -- Rohan Lloyd --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] setting envvar for build on Mac OS X 10.2
On Thursday, October 3, 2002, at 02:21 PM, Morgan Hough wrote: > I am putting a package submission together and I need to set the > environmental variable NETCDF_PREFIX to /sw before I compile but I am > not sure how I should do this with fink. > > When I build the package on my machine I, > > setenv NETCDF_PREFIX /sw > ./configure > make > make install > > and everything runs fine. How do I do the same thing with fink? Thanks > in advance. It depends where this is used. Assuming that it is only used by make (and not configure), the following will probably work: CompileScript: << ./configure make NETCDF_PREFIX=%p << InstallScript: make install NETCDF_PREFIX=%p -- Rohan Lloyd --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Emacs Package policy
I have a few questions about the policy for Emacs Packages. I have read /sw/share/doc/emacsen-common/debian-emacs-policy, and my understanding is that a package "foo" should do the following: Install Phase should: place .el files in %i/share/emacs/site-lisp/%n place install script in %i/lib/emacsen-common/packages/install/%n place remove script in %i/lib/emacsen-common/packages/remove/%n optionally place startup file in %i/etc/emacs/site-start.d/50%n.el PostInstScript: %p/lib/emacsen-common/emacs-package-install %n PreRmScript:%p/lib/emacsen-common/emacs-package-remove %n The install script gets called once for each flavor of emacs installed (emacs20, emacs21, xemacs21, ...) and should byte compile the .el files and put .elc files in %p/share//site-lisp/%n The remove script also gets called once for each flavor and should remove the byte compiled files for that flavor. So some general questions are: 1. Existing packages seem to put all .el and .elc files in %p/share/emacs/site-lisp without creating a subdir. Is this because of lack of understanding, laziness, fink policy is different to debian, my misunderstanding, other? 2. Does anyone ever actually install different flavors of emacs at once? Is the debian policy overengineered, and the simple approach of putting everything in site-lisp is sufficient? 3. By default subdirs of %p/share//site-lisp get added to the load-path (because of sub-dirs.el) but subdirs of %p/share/emacs/site-lisp do not. If all files are byte compiled into the flavour specific directory, then this should be OK. But it is potentially confusing, if a user modifies a file in %p/share/emacs/site-lisp/foo and wonders why it doesn't get loaded. Is this the way it's supposed to be? 4. What sort of stuff should go into the startup file? My feeling is that we should be aiming for packages to work 'out of the box' so required things like file mappings, load-path and autoloads should go in there. Other optional configurations should be mentioned in UserDesc and users add to their .emacs if they want them. Other packages I've looked at seem to require at least some manual configuration after installing. 5. Am I being to pedantic and expecting too much? I'm putting together packages for python-mode, elib, eieio, speedbar, semantic and jde, and have a few specific questions: 6. python-mode is a nosource package that just grabs python-mode.el from the python package and installs it. The python package says the License is OSI-approved. The top of the python-mode.el has > ;;; python-mode.el --- Major mode for editing Python programs > > ;; Copyright (C) 1992,1993,1994 Tim Peters > > ;; Author: 1995-2001 Barry A. Warsaw > ;; 1992-1994 Tim Peters > ;; Maintainer: [EMAIL PROTECTED] > ;; Created:Feb 1992 > ;; Keywords: python languages oop > > (defconst py-version "$Revision: 4.6.18.2 $" > "`python-mode' version number.") > > ;; This software is provided as-is, without express or implied > ;; warranty. Permission to use, copy, modify, distribute or sell this > ;; software, without fee, for any purpose and by any individual or > ;; organization, is hereby granted, provided that the above copyright > ;; notice and this paragraph appear in all copies. Which I'm sticking in a DocFile called LICENSE. But what should the License: field be, since this package isn't actually supplying the anything. Is OSI-approved what I should put? 7. Once I've put together these packages and I'm happy with them, what do I do with them in order to get them reviewed / tested / put into fink? -- Rohan Lloyd --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Where to now?
There are several new packages I'd like to see in Fink. rather than just complain about missing packages I'm willing to get in there and add them myself. I thought I'd start off on something simple, so I've written a package for emacs python-mode. There's no source tarball, as the source comes with python. The script just depends on both emacs and python and makes it usable by installing it in /sw/etc/share/emacs/site-lisp I've read the Packaing Manual, and put together the following info file in /sw/fink/10.2/unstable/main/finkinfo/editors > Package: python-mode > Version: 4.6.18.2 > Revision: 1 > Maintainer: Rohan Lloyd <[EMAIL PROTECTED]> > Depends: emacsen, python (>= 2.2) | python-nox (>= 2.2), python (<< > 2.3) | python-nox (<< 2.3) > Description: python edit mode for Emacs > Type: nosource > CompileScript: << > cp %p/lib/python2.2/Misc/python-mode.el . > emacs -q -batch -f batch-byte-compile python-mode.el > << > InstallScript: << > cp python-mode.el python-mode.elc %p/share/emacs/site-lisp > << > DescUsage: << > To activate this, you should put this into your .emacs file: > > (setq auto-mode-alist > (cons '("\\.py$" . python-mode) auto-mode-alist)) > (setq interpreter-mode-alist > (cons '("python" . python-mode) > interpreter-mode-alist)) > > (autoload 'python-mode "python-mode" "Python editing mode." t) > > ;;; add these lines if you like color-based syntax highlighting > (global-font-lock-mode t) > (setq font-lock-maximum-decoration t) > << > Homepage: http://www.python.org/emacs/python-mode/ Does that look right? I tested it out with "fink install python-mode" and it seems to work fine. So how do I get this into Fink? Do I sign up as a core developer? How? Do I submit it to the Package Submission Tracker? Thanks -- Rohan Lloyd --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel