antiword.dsl?


Forum: myDSL Extensions (deprecated)
Topic: antiword.dsl?
started by: reidar

Posted by reidar on Sep. 14 2004,06:38
Would it be possible to have an antiword.dsl extension? I know someone made a wv.dsl, but this is a bit limited, and I ... well, I really like antiword  :)
Together with siag-office and maybe even a magicpoint.dsl this would give DSL considerable office-power! Siag-office seems to be able to import abiword-files, openofficewriter-files, rtf and txt-files. With antiword (and I suppose also with wv...) it is possible to import M$-word files, and there are already lots of possibilities to export text files to ps or pdf in DSL.
So, my suggestion: could someone make antiword.dsl and/or magicpoint.dsl? Would be great!

-r

Posted by cbagger01 on Sep. 14 2004,16:27
antiword is already included inside the siag office dsl extension.

Try looking for it in the /usr/lib/siag/antiword/   directory.

I am pretty sure that this is the correct directory location.

Posted by reidar on Sep. 15 2004,06:47
When I use siag on live-cd I found antiword in /usr/local/lib/siag/antiword. I don't know if it is always that way, but that's were I found it. Anyway, thanks a lot! I didn't know it was included in siag. Thanks! :)

-r

Posted by clivesay on Sep. 15 2004,11:33
As I dig more into Siag, like yourself, I am surprised how powerful it is! :)

Chris

Posted by reidar on Sep. 15 2004,12:36
Totally agree!

One question: Have you experience with the siag spreadsheets program? I tried the grapher, but it didn't seem to work. I read in the online documentation that siag used gnuplot as a grapher, so I installed gnuplot.dsl, but it still didn't work. Have you or anyone else experience with this?

-r

Posted by reidar on Sep. 17 2004,07:27
Siag seems to have antiword version 0.32, while the current is 0.35. I would believe that the newer version have better support for converting documents from more recent versions of M$-word, and it also seems that for instance support for lists, text boxes, superscript/subscript, etc. has improved or been added. There seems to have been several bug-fixes as well. Perhaps it would still be an idea to make an antiword.dsl extension, with antiword-0.35?

-r

Posted by cbagger01 on Sep. 18 2004,01:22
I agree. There is a good reason for you to make an antiword.dsl

Good Luck.

Posted by reidar on Sep. 18 2004,07:34
Good. Only problem is I have never tried it before... Well, one time has to be the first! Could anyone be kind enough to give me the directions to a description of how to do it that is suitable for a beginner? (And I will also look for it myself of course, but I know some of you save the best links)
:)

-r

Posted by cbagger01 on Sep. 18 2004,17:27
OK,

Here is a dsl extension building script called deb2dsl:

< http://damnsmalllinux.org/cgi-bin....deb2dsl >


Follow the instructions IN DETAIL and it should work. You will need firefox or Opera to copy the script into your clipboard and paste into Scite.  For some reason the copy/paste functions don't work well with Dillo or Glinks.

There is a copy of antiword 0.35 that is located in the TESTING Debian sources, so you will have to point your system in the direction of the testing packages.

After you have enabled apt, open an xterm and type:

sudo su
scite /etc/apt/sources.list

Scite will then appear. Look for the line that doesn't begin with a "#" symbol and change the word "stable" to "testing".  Then save the file.

Then go back to your xterm and type:

apt-get update
apt-get install antiword
exit

and you should be in business.  Keep in mind that Antiword is a command line utility so it won't work properly if chosen from the fluxbox menu list.  It works find if it is used from within the xterminal window command prompt.

Hope this helps, and glad to see that you are willing to give it a shot.

Posted by reidar on Sep. 20 2004,06:23
I tried this approach at home in the weekend, but I couldn't get it right. I do not have an internet connection at home, so I copied the content of this link below to scite, and then worked with it at home. Since I don't have an internet connection at home, I had to install antiword through CDs with Debian - testing. All this might be the reason why I didn't succeed, but I don't know. I did manage to install antiword properly though. Will the approach work with DSL installed to hd?

-r

Posted by cbagger01 on Sep. 20 2004,16:26
The main reason why you should always run the deb2dsl script from a fresh livecd/frugal/poorman's boot is because the script will grab all existing *.deb files in the apt archives and build them into a *.dsl file.

This will get all of the required dependencies for your new application.

If you do this from a hd-install or even a livecd install after you have installed/removed stuff using apt-get or Synaptic, the archives directory will no longer contain an accurate list of the packages that are needed to install your application into a base install of the DSL distro.

So to make a short answer long:

You can do it from an hd-install but ONLY if the install is fresh and you have not added or removed anything via apt-get/dpkg/Synaptic.

And of course this is a one-shot deal because after you have used deb2dsl and apt-get once to build a package, you no longer have a fresh install anymore so you cannot build a second *.dsl file for a different program without accidentally including the stuff from your first program.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.