Slashdot Mirror


Google Windows Apps Coming To Linux

skaet writes "DesktopLinux.com reports that Google is working together with CodeWeavers to bring their photo editing and sharing program Picasa, formerly only available on Windows, over to Linux. From the article: 'The program is now in a limited beta test. If this program is successful, other Google applications will be following it to the Linux desktop, sources say. The Linux Picasa implementation includes the full feature set of the Windows Picasa 2.x software. It is not, strictly speaking, a port of Picasa to Linux. Instead, Linux Picasa combines Windows Picasa code and Wine technology to run Windows Picasa on Linux. This, however, will be transparent to Linux users, when they download, install, and run the free program on their systems.'"

26 of 298 comments (clear)

  1. Wine Source Code Patching by EdMcMan · · Score: 5, Interesting

    I knew Wine started out as a tool to migrate source code bases from Windows to Linux, but this is the first time I've heard of it being used for that (as opposed to doing conversions at runtime).

    1. Re:Wine Source Code Patching by bomek · · Score: 3, Interesting

      Few years ago, A beta version of Canvas from Deneba (a vector graphic application ) was available until they cancelled the project.

    2. Re:Wine Source Code Patching by tabrisnet · · Score: 4, Interesting

      Plus there was Corel Office 2000, tho I'm not sure that they ever _finished_ that project. Meanwhile, Corel made a lot of contributions to WINE during that timeframe.

    3. Re:Wine Source Code Patching by aug24 · · Score: 3, Insightful

      AFAIK, the entire API of wine is provided in the WineLib headers, which means that windows source can be statically compiled against it (assuming all the APIs you want are there which is mostly true now).

      Usually however, people don't have the windows source, so the runtime implementations are used and the calls become dynamic. There's the same code behind of course.

      There should be a Wine expert along shortly to point out the gross over-simplification in what I've just said ;-)

      Justin.

      --
      You're only jealous cos the little penguins are talking to me.
    4. Re:Wine Source Code Patching by Bill+Hayden · · Score: 5, Funny
      There should be a Wine expert along shortly to point out the gross over-simplification in what I've just said ;-)
      I am a WINE expert, and that was a gross-oversimplification.
      --
      Protect your browser with the Force Safe Search add-on
    5. Re:Wine Source Code Patching by tondrej · · Score: 3, Informative

      Although Kylix is named after a Greek wine-drinking cup and the Kylix IDE itself does use WINE, the produced executables do not depend on WINE. The CLX library uses Qt runtime.

      --
      Never send a human to do a machine's job.
  2. Yuck by Anonymous Coward · · Score: 5, Insightful

    Using programs in wine is painful. It's definitely one of those areas where you only do it if you have to, not if you have a choice. Since Picasa is hardly the only such program available for Linux, why bother if it's only going to be half-assed? Who wants to manage a wine installation to run Picasa. Anyone? Do any of you really want this?

    The solution to complaints that Google makes no effort to port their software to Linux isn't to get CodeWeavers to make it run when used with winelib. It's to port the software to Linux. Otherwise just tell Linux users to sod off, because that's basically what linking with wine is doing.

    1. Re:Yuck by raventh1 · · Score: 5, Insightful

      First: You have to commend them because they are taking any step to cross-platform.
      Second: If any step succeeds, another is likely to be taken.
      Third: Other companies will be watching Google, and they may decide it's worth the time to at least start with wine. A foot in the door may lead to a complete port.

    2. Re:Yuck by lahvak · · Score: 5, Insightful

      It's not going to run "in wine". They are linking it with winelib to make it into a native Linux application without having to completely rewrite it. Winelib provides the interface between Windows API and Linux API. It is similar to porting Unix applications to Windows using Cygwin.

      --
      AccountKiller
    3. Re:Yuck by pjbgravely · · Score: 3, Interesting

      Linux users feel that because Google built their system on Linux that they should give back to the community by porting their closed source apps to Linux. Of course this did not happen and I am sure some people were angry because of it.

      We have to remember that Google does pay for Linux apps through bounties so they are giving something back. I doubt we will see real ports until a killer worm takes out 50% of all Microsoft Windows boxes.

      --
      Star Trek, there maybe hope.
    4. Re:Yuck by hey! · · Score: 3, Insightful

      The most stark difference between Cygwin and Wine is that Cygwin is functionally-complete, while Wine is not.

      However, if you are a developer using it as a compatability library, presumably you test your applications so they perform the way you intend. If a feature doesn't work right, or it's too slow, then you do it a different way. There's always a different way. Generally your first cut is pretty far from what you'd wish on any implementation of any set of APIs, which is why you test in the first place.

      Users trying to run software in which running against WINE are in a completely different position. They're hoping that an app will run well against WINE, even though it has never been tested against it. If it doesn't run well, not having source code they don't have any recourse. Given these unfavorable preconditions, WINE works remarkably well.

      The only reason to use WINE as a developer is to port existing Win32 apps to non-Windows platforms. If you are targetting Unix, or intending Unix/Win32 compatibility from the outset, there are better choices.

      There is no reason in principle porting your app to Win32 using WINE with a bit of testing can't work, but whether it is practical depends on how much tweaking you need to do to make things work well on both platforms. My guess is that most people looking at this choice don't think it is practical. If getting your Win2000 app to work on WINE as as easy as getting it to work on Windows XP, then I'm sure many more people would be eager to make a Linux offering.

      Google has money and is technically innovative. Having a player like this attempt a port of their Win32 app to WINE could be a very interesting development. If they're only going to throw out a half baked version of their closed source Win32 apps, it's hardly important news. But if they contribute back improvements to WINE or create an open source facade that abstracts the differences between the two, it could be very significant.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  3. Google and "limited beta"? by Opportunist · · Score: 4, Funny

    Does this mean every Beta-Tester gets like 5000 invites, and everyone they invite gets another 5000?

    Btw, anyone want a GMail account?

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  4. Re:Ughhh..... by makomk · · Score: 4, Insightful

    Wine. So that means their still Windows applications then?

    Sort of. If they're porting it in the usual way, it'll still use the Windows API but will be a Linux ELF binary. (The actual program binary *might* be a shared object, depending on whether CodeWeavers use the standard wineport tools or some custom-developed toolkit of their own).

  5. This gives me a very odd feeling. by Volanin · · Score: 4, Interesting

    From the article:

    The new program is reportedly re-tooled to work perfectly under CodeWeaver's CrossOver Office Wine emulation. This may mean that Linux Picasa is using the program's own native Windows DLLs (dynamic link libraries).

    This gives me a very odd feeling.
    While for one side this will be very good for Linux users as this technology may be used in the future, allowing a fast deployment and development of very good programs, will this also mark a real beginning for Linux closed-source programs and binary installations?

    --
    If I clone myself, can I call it a thread?
    If a girl winks to us, can I call it a race condition?
  6. Quick question... by PinkyDead · · Score: 4, Interesting

    I've already got Picasa up and running on Wine, but I never use it because it references files on the c: drive (shudder) - will that be the case with this thing - or will there be proper paths?

    --
    Genesis 1:32 And God typed :wq!
  7. Headline: by blkros · · Score: 4, Insightful

    Google Throws Linux Users a Bone
    An old, marrowless, dried up, bone, with no meat on it, and, yet, there it is.
    Basically they're making a Windows app run on Linux, using Wine. Why didn't we think of that?

    --
    Damnit, Jim, I'm an anarchist, not a F@#$!^& doctor!
  8. People will moan and bitch about more free stuff by valen · · Score: 5, Interesting


      Given Google don't make any money from Picasa, the Linux client is a loss-leader. So, it makes sense to get the first Linux version in the easiest way possible. And that is Wine. That's what it was written for. In the free software world, there is always someone who will say "I want that for free!", and "Now that I have it for free, I want it better". If you do that in a restaurant, they'll sprinkle crumbled turd on your food. On the internet, all they can do is ignore you.

      Check out the code contributions - there are lots of bugs found & fixed by the Google guys that are working on this. It's not like they are saying "Go run on wine, we don't care", it's "Go run on wine, and we've given you the most help we can".

      A tool like Picasa, which was written from the ground up for Windows, is not a candidate for a "Linux Port". It would need a "Linux re-write". Maybe a future version could be built using tools to help with platform independance...but Google have much bigger things to worry about.

    John

  9. A hint of things to come? by dhart · · Score: 5, Interesting

    Perhaps Google is quietly gaining experience with desktop Linux (Ubuntu) and WINE for a future assault on the Microsoft-dominated desktop. Microsoft will try very hard to switch people away from win32 apps and onto WinFX apps, where they have much tighter control (patents, DRM, etc.). Also, Microsoft knows that win32 will soon be 99%+ reverse engineered to run on Linux, so they have a huge interest in killing win32. Circa 1999 Intel wanted to kill x86 to increase profit margins and gain a tighter control of the market via IA-64 (Itanium), a highly IP-encumbered ISA. In the process, Intel left an x86-64 gap. If Microsoft leaves a win32 gap, like Intel did with x86-64, perhaps Google will fill that gap with Linux/win32, just as AMD filled Intel's gap with AMD64, leaving Intel scrambling and Itanium stagnating. I would guess that Microsoft will do better with WinFX than Intel is doing with Itanium, but how much better is the interesting question!

  10. Re:Ughhh..... by gutnor · · Score: 4, Insightful

    Technically maybe but what is important is that for a linux user it looks like a linux application. It will be supported like a Linux application.
    It is not a hack you need to do and support yourself in the back of the original developer.

    In any cross-platform development you try to limit the difference between different platform source trees, generally you isolate all platform specific functions in a common framework and only port the common framework on different platforms, leaving the rest of code unchanged.
    There are plenty of cross-platform frameworks for plenty of use ( from simply using stdio.h to opengl ), in this case they choosed WINE. That is surprising yes, but that does make sense for a project that need to be crossplatform retroactively.

    You can see that Google apps are still Windows applications but you can see them as using a cross platform framework developped conjointly by Microsoft on Windows and WINE team on Linux :-)

  11. Re:Not a good way to do it, however. by strider44 · · Score: 5, Insightful

    They were also a long time ago, at least in terms of computers. Wine has come leaps and bounds especially in terms of stability in just the last year. One of the main ideas behind this however is that Google will know which functions are needed, which lightens the set almost immeasurably. This is a relatively small program compared to WordPerfect so all they need to do is ensure those functions they use are stable, and when they want to port another program along they need to expand the set of functions that they need to be stable to incorperate the functions that program needs and do the maintenance job on that.

    They also have the advantage in that they can modify Wine to suit the program and the program to suit Linux should they need it, and advantage that you don't have running Wine on your average computer. They can, for example, rewrite the file loading code to take advantage of the GTK file selecter and grab the files directly from the operating system. They don't *need* to go through the C:\ file system emulation, one of the bigger issues with Wine. They can also probably with small modifications route their audio through GStreamer, cutting out the Wine audio library which is sometimes considered buggy. If a certain section of the program proves buggy, they can simply port that section and do the rest through Wine.

    Seriously, I think if a Linux version of Picasso ends up buggy then it's Google's fault, not Wine.

  12. Re:IBM nah Google. by Anonymous Coward · · Score: 5, Insightful

    Right.... because Google sure has a history of producing good client side software... Get a grip people, Google makes the best search engine and a good email interface (IMO it's not even that good but that's another topic). Everything else that they've made has been extremely mediocre at best (Google Video, Google Talk etc.). Saying that they have the ability to make Linux acceptable to the masses more than Sun or IBM, who are two of the worlds biggest open source contributors, is beyond ridiculous.

    Then you go on to say, "the other guys just R & D it". Oh please, it'll be years, if ever, before Google can claim that they've produced a fraction of the amount of Open Source code as IBM and Sun. There is no company that the R & D statement would apply to more than Google. IBM and Sun produce a ton of Open Source code, whereas Google produces almost nothing. These aren't even going to be native Linux apps and several of those apps already work in Wine.

    I love the words you used as well, "Google by some magic". Sheesh...

  13. Re:Boneheads by westlake · · Score: 3, Informative
    It's 2006 and Google, one the supposed leading tech companies in the world, is still writing their apps with the Win32 API???

    It is 2006 and win32 is 97% of the market for desktop apps like Picassa.

  14. Re:not another Goomur, but almost... by mikeisme77 · · Score: 4, Informative

    Have you ever USED Picasa? It's an APPLICATION (not a WEB application) that runs on your desktop and helps you organize and perform basic edits/adjustments to your images. It also has the added feature (after Google bought it a couple years ago) of allowing users to easily upload pictures to their blogspot or e-mail it through GMail (not sure about the GMail feature as I haven't tried the latest version, but I seem to remember hearing about this). It's got an awesome GUI, but other than that (and the Google specific tie-ins) it doesn't do much more than other photo organizing apps already available in Linux.

    Still, this is a decent start. I'd be more excited about them porting the desktop search (as long as I can still disable the sharing of info. to Google).

  15. Re:Cool by JesterXXV · · Score: 5, Insightful

    The combination of your comment and your sig just made my head explode.

    --
    Yo mama so fake, she failed the Turing Test.
  16. Picasa is NOT a photo editing tool. by rduke15 · · Score: 4, Insightful

    Unlike what you seem to think, Picasa is not a photo editing tool.

    Rather, it is some sort of photo organizer/viewer. It does have a few (very simple and easy to use) tools to enhance contrast/color etc., but it's purpose is nothing like Photoshop/Gimp/PaintShopPro/etc.

    Sorry for not being more clear about what it really is. It's probably because I still wonder myself... Maybe someone who has actually found a use for it can be clearer.

  17. Why do it half assed by TheSkepticalOptimist · · Score: 3, Insightful

    Honestly, if Google was truely serious about creating a Linux based GOOS then why do a half assed "port" of picasa using Wine. Wine has always resulted in half assed implementations of Windows software, often lacking real performance and often many features disabled. I am surprise Google with all their newly minted billions would not just higher a bunch of Linux Developers and make a native Linux version of Picasa.

    And don't fool yourselves, Wine IS an emulator. Anything that has to mediate between native software code and native OS/Hardware code is an emulator. It may not be a hardware emulator (i.e. not translating to machine code the software code wasn't written for), but it is a software emulator translating windows calls to Linux calls. And in any case, emulators are slow.

    --
    I haven't thought of anything clever to put here, but then again most of you haven't either.