Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wine > creating RPMs including wine and a windows program

Forgot Password?
 Wine   Discussion about Wine, the Open Source implementation of the Windows API on top of X and Unix.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-18-2009   #1 (permalink)
Just Joined!
 
Join Date: May 2009
Posts: 8
creating RPMs including wine and a windows program

hello,

I have just installed WINE on Linux-Suse and a Windows-program that runs as a service on Windows. That worked well.

Now i want to create a RPM installation-packet, where wine and the windows progam is included. Now I have some questions:

Is it enough to adjust the WINE RPM and pack the Installation-folder of the win-program into the tar.gz-file?

Perhaps there is also the possibillity to use the installer-exe at the end of the wine-installation via prescript?

the application is about 2 MB big.

Where can i find detailed information to this issue (i am a newby in Linux)?

Do I need the SRPMs of Wine or the RPMs?

Would this still work on a PC, where Wine is already installed?
c_andy_man is offline  


Reply With Quote
Old 05-19-2009   #2 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
This has some problems, both practical and phylosophical/legal (probably).

The EULA or license you accept when you install a Windows program will most likely tell you that it's forbidden to redistribute the program in any form, which is what you intend to do. If you plan to use it on many machines, then most likely you have to purchase many licenses. Of course this might apply or not depending on the concrete license the program has.

About the practical side of things. Windows programs are designed to run with full r/w privileges on your system. To achieve this, wine emulates a windows installation on your home directory, this means that the program has to be installed on a per-user basis, and can't be installed system wide (i.e. on /usr or /opt). I don't think that there's any clean way to overcome this one.
i92guboj is offline   Reply With Quote
Old 05-20-2009   #3 (permalink)
Just Joined!
 
Join Date: May 2009
Posts: 8
There is no legal problem because the program is server-client based. The licencing depends on the number of clients connected to the server. the program i want to use in Linux is the client-component, that doesn't have a use without the licenced server.

The role model for the way of installation is google picasa. When you install picasa for linux, it is mostly the same as in windows except wine is included within the installation.
c_andy_man is offline   Reply With Quote
Old 05-21-2009   #4 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
Quote:
Originally Posted by c_andy_man View Post
There is no legal problem because the program is server-client based. The licencing depends on the number of clients connected to the server. the program i want to use in Linux is the client-component, that doesn't have a use without the licenced server.
That doesn't mean they allow redistribution. But maybe they do, just read the license.

Quote:
The role model for the way of installation is google picasa. When you install picasa for linux, it is mostly the same as in windows except wine is included within the installation.
picasa probably uses a shell script wrapper to launch the whole thing after setting the right WINEPREFFIX and the rest of things like mozilla prefixes whatever else is needed. I guess you could do that as well.

Another option if you have the source for the client could be to compile it against winelib so the app is standalone.
i92guboj is offline   Reply With Quote
Old 06-03-2009   #5 (permalink)
Just Joined!
 
Join Date: May 2009
Posts: 8
I have only found examples on Compiling C or C++ Sources over Winlib. Is this also possible with Delphi?
c_andy_man is offline   Reply With Quote
Old 06-03-2009   #6 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
I haven't ever heared such a thing. The equivalent for delphi in linux would be lazarus, if I am correct. It uses the fpc (free pascal compiler) as a backend. So I guess that's the direction that you should be looking at. Maybe you can ask on their mailing lists or something.

However, the lazarus/fpc seems not to be so big and I haven't ever heard of pascal bindings for winelib...
i92guboj is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:12 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2