help w/ creating a SlackBuild for icecat
OK I am building a SlackBuild for icecat. This is proving much more challenging then the last SlackBuild script I wrote (with the aids of templates). I am attempting to write this one with the aid of templates as well. Fact is I am not all that skilled and have only written one SlackBuild. Yet I firmly get the idea. The below code is using the template provided by SlackBuild.org.
Any help would be liked. I currently keep getting this error. Code:
checking for cairo >= 1.6.0 freetype2 fontconfig... Thank you in advance. Code:
I updated the code to reflect the current state of things |
The icecat package is dependent upon cairo 1.6.0 or greater. Slackware 12.1 provides version 1.4.14. Slackware Current provides version 1.6.4.
|
Quote:
Any how can any one tell me what the differnce between the configure options of Code:
--enable-libxul |
Try running configure --help to see what the options are. I think they are probably to do with building the libxul.so shared library or compiling the functions statically but I'm not sure.
Just an idea but maybe it would be worth looking at an existing Firefox Slackbuild as a learning exercise. I believe Firefox can use .mozconfig configuration files to hold all the configuration options - it may be worth building one of these. You could create a here document from your Slackbuild script if you wanted to create this on the fly. |
I hate to dump ice on you(no pun intended), but I think that building icecat is way ambitious for your first few (hundred) SlackBuilds. First of all, to make it truly icecat, you'll need to apply the patches from debian and some of them are going to cause you heartaches. You could use the official Slackware SlackBuild for SeaMonkey as a starting point since it is the closest thing to that you can get. But still, some of the options used in the SlackBuild will be directly opposed to the essence of what icecat means to be. The Slackware build is an authorized build so it can use the OFFICIAL options which include the Mozilla Foundation branding materials. Most of the icecat modifications deal with removing the official branding icons and name. You'll have to study closely the different configure options used for icecat as opposed to seamonkey. I dare say that simply working with the regular Slackbuild for seamonkey and making *small* changes to that will be enough to convince you that you don't *really* want to fool around with compiling any mozilla stuff -it will drive you crazy very quickly. If you don't know what xul and static compiling are, you will quickly lose your way compiling any moz stuff. It doesn't help that it takes so long to test a compile abd find out if what you are trying is working. Ohhh, I get all bothered just thinking about compiling moz stuff. My God man, save yourself while you still can!
More to the point. libxul is a library which can't be compiled statically, so you have to decide whether you want static or libxul. BTW, getting a statically compiled moz product is the most maddening thing of all, and if you succeed, you'll find that the application needs about 500MB of RAM to run. It will start up a little quicker than a dynamically compiled version though. My condolences to your family if you decide to proceed... |
Quote:
Also I had thought of using sea monkey SlackBuild as a reference. However since you brought it up I decided to look at it again. So I am trying to use it as a template instead. Still, since you say I could be at this for some time.... I 'll just give it a few more goes and call it good. ========================================================================== Other thoughts: I really do think its important to support the forked version. I am behind the free software movement 99% of the way. I'm no saint mind you. I do flash but aside from a few things here and there I do my best to use 100% free software. The more freedom we keep in our part of the park the better. I do not care if its a nice dictator, (even though that is better then one who is not), a dictator is a dictator. |
I hadn't noticed that gnuzilla had an already patched version -that should make it easier rather than fooling with the debian patches. As I said, most of the patches(or differences from the original) deal with changing the 'brand' of the product. Still, debian no doubt includes other patches which add features or fix bugs -that's what all the trouble was about to begin with...
|
Quote:
Despite you trying to warn me or even turn me away from creating a icecat package I succeeded. You were, in fact, very helpful. I used the SeaMonkey as a reference. Only one thing did not come out the way I had hoped, and so I am doing some research on the internet on how to proceed from here. The icons never made it. I do not get any of the icecat icons. I do not get any icons at all for that matter. Thanks every one. Edit: Despite all what I wrote above I am beginning to see that this may still be more work. Reason: Because I am wrestling with gnash & flash. Other thoughts: It is blazing fast. But other things like very few icons in the actual browser it self. i.e. stop refresh etc. Update: I got it all working just one thing left to do. I do not have a icon. I have a full browser theme. I.e. I got stop icon refresh icon inside the browser ware before I did not. Only thing missing is that in the network section of the xfce menu has no icecat icon or entry (and I did put in the SlackBuild).Also I got flash working. I will try to switch over to Gnash but I was going back and forth between them just to see if I could get it working period. Alas With a little work I did get it working. I am currently using 100% free icecat for a web browser. |
All times are GMT -5. The time now is 10:38 AM. |