Re: Standalone version of Kile
Kevin Walzer <[email protected]> Thu, 11 Mar 2004 13:55:57 -0500
| Newsgroups | gmane.comp.kde.darwin |
|---|---|
| Message-ID | <[email protected]> |
I got an app bundle generated with these instructions--thanks. I will play with Kile for a bit and see if any other tweaking is needed. Two more questions: 1. What would you need from me once I get the final code situated, to get a package put up with the other binaries? So far I've done nothing but add the new admin directory and generate the new makefile--no comments out on any X11-related code. I need to work with Kile some more to verify that nothing needs to be done here. 2. I can't get the Mac-style widgets to appear by editing kdeglobals according to the instructions on the wiki. "widgetStyle=Macintosh" and "widgetStyle="macintosh (aqua)" still leaves the KDE default. Has something changed since 3.2 was built? On Mar 11, 2004, at 10:30 AM, Benjamin Reed wrote: > Kevin Walzer wrote: > >> I decided to give building a standalone version of Kile another try >> last night: >> 1. Creating a Carbon bundle/app in Xcode resulted in a file that was >> 2 gigs. I know that won't work. Since I didn't know exactly what went >> into the KDE libs and KDE support packages, I just added everything >> in /opt/kde/libs, as well as Qt. Is there any way to get a handle on >> only the packages in KDE libs and KDE support? When Ranger Rick a >> standalone version of Scribus last summer, I believe the bundle he >> built included both kdelibs and Qt, and was only about 20 megabytes. > > Well, you could do an lsbom on the .bom files in > /Library/Receipts/<foo> to get an idea of what's in each. The way I > make the binary packages that exist now, is by doing: > > source ~/cvs/kde-darwin/tools/setup-prebinding-environment.sh > ~/cvs/kde-darwin/tools/configure-kde > make > make install DESTDIR=/opt/roots/<packagename> > ~/cvs/kde-darwin/tools/generateapps.pl -d /opt/roots/<packagename> > ~/cvs/kde-darwin/tools/fix-prebinding.pl -d /opt/roots/<packagename> > > ...that way you have just your app in the /opt/roots/<packagename> > section, all ready to tar up (or install up). > > This still doesn't give you a standalone app bundle, you'd need to > hand-build that, but it shouldn't be *too* hard, I'll see if I can > script something up that does "package up foo with all kdelibs deps" > sometime. > >> 2. Is there any way to modify generateapps.sh so that it only builds >> a single app? Say, by copying it into the Kile source directory? I >> don't know Perl so I wouldn't know where to begin this on my own. > > I accomplish this by doing the destroot thing, then it doesn't > generate stuff for anything other than what's in the destroot. > >> 3. How does one pick an image to be the icon for the app bundle that >> is built by generateapps.sh? > > It looks for .desktop files in /opt/kde/share/ for each app, and > locates the closest matching .png file from the Icon field in the > desktop file. > >> 4. I'd love to just have a drag-and-drop app bundle of Kile for >> distribution. If that won't work, and if I want to put together a >> single package installer for OS X LaTex users not interested in all >> the other KDE stuff, I'm thinking that a mkpkg installer including >> Ranger Rick's pkg installers of Kdelibs, Qt, KDEsupport (plus of >> course Kile) would be the simplest approach. Or is there a better >> way? > > At the very least, if you can give me what I need to do to build kile, > I can add it as an app to the kde.opendarwin.org bits -- just like > konversation or kxmleditor or whatever... > > > -- > Benjamin Reed, a.k.a. RangerRick > [email protected] / http://ranger.befunk.com/ > Now Playing: "Merry Go Bye Bye/Nothing" by Mr Bungle > > --- Kevin Walzer, Ph.D. Editor WordTech Communications -- A New Paradigm of Poetry http://www.wordtechcommunications.com http://www.smallbizmac.com http://www.kevin-walzer.com mailto:[email protected]