octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3.2.4 call for patches [patch for pkg]


From: Alois Schlögl
Subject: Re: 3.2.4 call for patches [patch for pkg]
Date: Wed, 25 Nov 2009 14:41:34 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jaroslav Hajek wrote:
> hi there,
> 
> I've spent essentially no time on 3.2.x maintenance last couple of months,
> and it seems that the sources have again significantly diverged, but I feel
> like producing one more 3.2.x release before closing the branch and focusing
> on 3.4.0.
> If you have any patches that you'd like to have applied to 3.2.x, please let
> me know. However, I'm not willing to invest nontrivial amounts of time into
> the individual transplants, so unless a patch is smoothly applicable and
> conforms to the binary compatibility policy, someone needs to convert it or
> the bug will stay unfixed in 3.2.x.
> 
> regards
> 



Hi Jaroslav, Soren,


I'd like asking you to apply the attached patch. Currently, everything
is converted to lower case names, which disables support for packages
with upper case letters in its name.
The patch fixes this problem.



Regards,
  Alois
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksNNAsACgkQzSlbmAlvEIidmQCfTr225ogQTDQ6Yx+BrV05KsiA
gOsAoKCSxKFjEbdrPUGvS+S91yPA2SsF
=rwqE
-----END PGP SIGNATURE-----
diff -r c0aeedd8fb86 scripts/pkg/pkg.m
--- a/scripts/pkg/pkg.m Wed Nov 25 07:31:59 2009 +0100
+++ b/scripts/pkg/pkg.m Wed Nov 25 14:35:40 2009 +0100
@@ -1661,7 +1661,6 @@
   else
     desc.depends = "";
   endif
-  desc.name = tolower (desc.name);
 endfunction
 
 ## Make sure the version string v is a valid x.y.z version string
@@ -1691,7 +1690,7 @@
 ## This function returns a cell of structures with the following fields:
 ##   package, version, operator
 function deps_cell = fix_depends (depends)
-  deps = split_by (tolower (depends), ",");
+  deps = split_by ( depends, ",");
   deps_cell = cell (1, length (deps));
 
   ## For each dependency.
@@ -1702,7 +1701,7 @@
     ## Does the dependency specify a version
     ## Example: package(>= version).
     if (length (lpar) == 1 && length (rpar) == 1)
-      package = tolower (strip (dep(1:lpar-1)));
+      package =  strip (dep(1:lpar-1));
       sub = dep(lpar(1)+1:rpar(1)-1);
       parts = strsplit (sub, " ", true);
       if (length (parts) != 2)
@@ -1719,7 +1718,7 @@
   ## we say that the version should be greater than 
   ## or equal to "0.0.0".
   else
-    package = tolower (strip (dep));
+    package  = strip (dep);
     operator = ">=";
     version  = "0.0.0";
   endif

reply via email to

[Prev in Thread] Current Thread [Next in Thread]