Re: [Mono-dev] [mono-packagers] Mono 2.4 Preview Packages for Debian/Unstable(now also for AMD64)
On 5/23/2009 at 3:36 AM, in message 20090522213628.76dee...@redbull, Mirco Bauer mee...@debian.org wrote: On Fri, 22 May 2009 03:47:06 +0200 Mirco Bauer mee...@debian.org wrote: Here the APT repository (x86 only) for the packages: deb http://debian.meebey.net/pkg-mono/mono / The release schedule goes like this: - upload to debian.meebesy.net (completed) - once I received some positive feedback I will push the packages as -1 to Debian/Experimental. I still lack positive feedback btw! Hey meebey, I have installed your packages for testing, and when I added your repository, update and go with sudo apt-get install mono-runtime, it failed at: Get:6 http://debian.meebey.net libmono-data-tds2.0-cil 2.4+dfsg-2~pre1 [54.0kB] Fetched 3310kB in 2min 4s (26.6kB/s) Failed to fetch http://debian.meebey.net/pkg-mono/mono/./libmono-corlib2.0-cil_2.4+dfsg-2~pre1_all.deb Hash Sum mismatch Failed to fetch http://debian.meebey.net/pkg-mono/mono/./mono-runtime-dbg_2.4+dfsg-2~pre1_i386.deb Hash Sum mismatch Failed to fetch http://debian.meebey.net/pkg-mono/mono/./mono-runtime_2.4+dfsg-2~pre1_i386.deb Hash Sum mismatch Failed to fetch http://debian.meebey.net/pkg-mono/mono/./libmono-security2.0-cil_2.4+dfsg-2~pre1_all.deb Hash Sum mismatch Failed to fetch http://debian.meebey.net/pkg-mono/mono/./libmono-data-tds2.0-cil_2.4+dfsg-2~pre1_all.deb Hash Sum mismatch E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? I have found there are mono-runtime_2.4+dfsg-1~pre2_i386.deb mono-runtime_2.4+dfsg-2~pre1_i386.deb in your repo, and I assume the pre2 would be newer, so i decided to install pre2 with sudo apt-get -f install mono-runtime=2.4+dfsg-1~pre2 but failed again at the error above. so i determined to give a last try with sudo apt-get -f install mono-runtime=2.4+dfsg-2~pre1 finally, they are installed on my system. So dfsg-1~pre2 and dfsg-2~pre1, which one is newer? and why some packages failed at Hash Sum mismatch? Thanks Ray ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Scale image
now i am working with a image but not work the scale. i use the, Gtk.Image image1; but the image1.Pixbuf.SimpleScale() this method not work when i save the image. here the code. image1.File = /home/mic/shadow.png; image1.Pixbuf.ScaleSimple(30,40, InterpType.Nearest); image1.Pixbuf.Save(/home/mic/abcdx, png); image1.Show(); this make the image abcdx.png but with the same size of shadow.png. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [PATCH] Adding to the PInvoke search path.
Hi, What about searching prefix/lib as well automatically that would eliminate the need for LD_LIBRARY_PATH when using prefix not searched by ld? Kornél 2009/6/1 Bill Holmes billholme...@gmail.com: Hi, The attached patch was discussed on IRC last week. We found that MS.Net uses the directory of the declaring assembly when searching for shared libraries to invoke unmanaged code. The outcome of the conversation was that we did not want the behavior by default in Mono. However an environment variable could control this behavior. Whit this patch setting MONO_PINVOKE_SEARCH to USE_ASSEMBLY_PATH will enable this. -bill 2009-06-01 Bill Holmes billholme...@gmail.com * loader.c (mono_loader_init): Check for and process the MONO_PINVOKE_SEARCH environment variable. * loader.c (mono_lookup_pinvoke_call): If MONO_PINVOKE_SEARCH is set to USE_ASSEMBLY_PATH, add the declaring assembly directory to resolve shared libraries. Code is contributed under MIT/X11 license. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [PATCH] Adding to the PInvoke search path.
After more discussion on IRC this it was decided to do this using the dllmap and not an environment variable. If the target is set to . the declaring assembly directory will be used when attempting to locate the un-manged library. -bill 2009-06-03 Bill Holmes billholme...@gmail.com * loader.c (mono_lookup_pinvoke_call): If the dllmap target is equal to . the declaring assembly path will be used to find the shared library first. Code is contributed under MIT/X11 license. On Mon, Jun 1, 2009 at 12:41 PM, Bill Holmes billholme...@gmail.com wrote: Hi, The attached patch was discussed on IRC last week. We found that MS.Net uses the directory of the declaring assembly when searching for shared libraries to invoke unmanaged code. The outcome of the conversation was that we did not want the behavior by default in Mono. However an environment variable could control this behavior. Whit this patch setting MONO_PINVOKE_SEARCH to USE_ASSEMBLY_PATH will enable this. -bill 2009-06-01 Bill Holmes billholme...@gmail.com * loader.c (mono_loader_init): Check for and process the MONO_PINVOKE_SEARCH environment variable. * loader.c (mono_lookup_pinvoke_call): If MONO_PINVOKE_SEARCH is set to USE_ASSEMBLY_PATH, add the declaring assembly directory to resolve shared libraries. Code is contributed under MIT/X11 license. mono_pinvoke_search.patch Description: Binary data ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [mono-packagers] Mono 2.4 Preview Packages for Debian/Unstable(now also for AMD64)
How do I add autentication for this repository? 2009/6/3 Ray Wang raw...@novell.com On 5/23/2009 at 3:36 AM, in message 20090522213628.76dee...@redbull, Mirco Bauer mee...@debian.org wrote: On Fri, 22 May 2009 03:47:06 +0200 Mirco Bauer mee...@debian.org wrote: Here the APT repository (x86 only) for the packages: deb http://debian.meebey.net/pkg-mono/mono / The release schedule goes like this: - upload to debian.meebesy.net (completed) - once I received some positive feedback I will push the packages as -1 to Debian/Experimental. I still lack positive feedback btw! Hey meebey, I have installed your packages for testing, and when I added your repository, update and go with sudo apt-get install mono-runtime, it failed at: Get:6 http://debian.meebey.net libmono-data-tds2.0-cil 2.4+dfsg-2~pre1 [54.0kB] Fetched 3310kB in 2min 4s (26.6kB/s) Failed to fetch http://debian.meebey.net/pkg-mono/mono/./libmono-corlib2.0-cil_2.4+dfsg-2~pre1_all.debhttp://debian.meebey.net/pkg-mono/mono/./libmono-corlib2.0-cil_2.4+dfsg-2%7Epre1_all.deb Hash Sum mismatch Failed to fetch http://debian.meebey.net/pkg-mono/mono/./mono-runtime-dbg_2.4+dfsg-2~pre1_i386.debhttp://debian.meebey.net/pkg-mono/mono/./mono-runtime-dbg_2.4+dfsg-2%7Epre1_i386.deb Hash Sum mismatch Failed to fetch http://debian.meebey.net/pkg-mono/mono/./mono-runtime_2.4+dfsg-2~pre1_i386.debhttp://debian.meebey.net/pkg-mono/mono/./mono-runtime_2.4+dfsg-2%7Epre1_i386.deb Hash Sum mismatch Failed to fetch http://debian.meebey.net/pkg-mono/mono/./libmono-security2.0-cil_2.4+dfsg-2~pre1_all.debhttp://debian.meebey.net/pkg-mono/mono/./libmono-security2.0-cil_2.4+dfsg-2%7Epre1_all.deb Hash Sum mismatch Failed to fetch http://debian.meebey.net/pkg-mono/mono/./libmono-data-tds2.0-cil_2.4+dfsg-2~pre1_all.debhttp://debian.meebey.net/pkg-mono/mono/./libmono-data-tds2.0-cil_2.4+dfsg-2%7Epre1_all.deb Hash Sum mismatch E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? I have found there are mono-runtime_2.4+dfsg-1~pre2_i386.deb mono-runtime_2.4+dfsg-2~pre1_i386.deb in your repo, and I assume the pre2 would be newer, so i decided to install pre2 with sudo apt-get -f install mono-runtime=2.4+dfsg-1~pre2 but failed again at the error above. so i determined to give a last try with sudo apt-get -f install mono-runtime=2.4+dfsg-2~pre1 finally, they are installed on my system. So dfsg-1~pre2 and dfsg-2~pre1, which one is newer? and why some packages failed at Hash Sum mismatch? Thanks Ray ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Trabajar, la mejor arma para tu superación de grano en grano, se hace la arena (R) (en trámite, pero para los cuates: LIBRE) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [PATCH] COM Interop - Support for out parameters of type SAFEARRAY[VARIANT]
I tested this patch out and the cominterop.exe test does not work. I get a return value of 62. Second I noticed some tab problems with your formatting in cominterop.cs. Finally It makes it easier for me to commit a patch if you include ChangeLog entirs. thanks -bill On Sun, May 17, 2009 at 8:43 PM, Sylvain Dupont dupo...@gmail.com wrote: Hi, The patch attached adds support for marshalling out parameters of type SAFEARRAY[VARIANT]. In addition to the tests included in the patch, I have also tested this successfully against other COM components, both on Windows and Linux (using Mainwin and with the MONO_COM environment variable set to MS). Contributed under MIT/X11 license. Thanks, Sylvain ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [PATCH] COM Interop - Support for out parameters of type SAFEARRAY[VARIANT]
Sorry I should have mentioned that I tested this on Win32 and Winx64. On Wed, Jun 3, 2009 at 5:00 PM, Bill Holmes billholme...@gmail.com wrote: I tested this patch out and the cominterop.exe test does not work. I get a return value of 62. Second I noticed some tab problems with your formatting in cominterop.cs. Finally It makes it easier for me to commit a patch if you include ChangeLog entirs. thanks -bill On Sun, May 17, 2009 at 8:43 PM, Sylvain Dupont dupo...@gmail.com wrote: Hi, The patch attached adds support for marshalling out parameters of type SAFEARRAY[VARIANT]. In addition to the tests included in the patch, I have also tested this successfully against other COM components, both on Windows and Linux (using Mainwin and with the MONO_COM environment variable set to MS). Contributed under MIT/X11 license. Thanks, Sylvain ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [PATCH] Allows cominterop_ccw_queryinterface to find interfaces implemented by base classes.
Tom, Can you test the attached patch against your code? You patch worked just fine, but I did not want to add the mono_class_get_all_implemented_interfaces to class.c. Please let me know if this works for you. -bill On Wed, Apr 29, 2009 at 7:20 PM, Tom Hindle tom_hin...@sil.org wrote: Hi, Could someone review this patch? Patch attached to following: https://bugzilla.novell.com/show_bug.cgi?id=499566 Given this is a potential frequently called function would it be worth doing either of the following optimizations? 1. Don't look looking for interfaces on Object class. 2. Cache the results of the function, eg a map of classname, array of all implemented interfaces Thanks Tom ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list bug-499566.patch Description: Binary data ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list