myDSL Extensions (deprecated) :: Has anyone built an msttcorefonts.dsl?



I can get (with the addition of a strategically placed symlink to mkfontdir) the msttcorefonts to install via apt-get, but it appears that I need to backup more than just the fonts/TrueType directory to get it to restore properly.

What I need to do is hunt down all the files that result from the install and make a .dsl out of them. But I figured before I go through that exercise, I'd see if anyone has already done it. I know licensing restrictions on the fonts would prohibit distribution in .dsl form, but just knowing the list of files would make generating my own .dsl from an existing install pretty trivial.

How about it? Anyone been through this already?

You could extract the contents of the deb file and see what's in there:

dpkg -x msttcorefonts.deb target_directory

This will extract only the installable files, though.  There may be a 'postinst' script which runs some additional commands during installation.  Use '-e' instead of '-x' to extract the control files

Quote (mikshaw @ July 22 2005,09:59)
You could extract the contents of the deb file and see what's in there:

Yep, the magic is in the postinst. I traced through all the scripts last night and I think I got it all figured out. I was able to build a .dsl that seems to install all the fonts properly. Of course due to core fonts licensing issues, I can't distribute the .dsl extension. But if anyone is interested I could probably make a .dsl with a little script that will give folks a "one click" way to apt-get install the fonts and then automatically package them all up into a local .dsl file.
I dunno about the licensing issue, from my very brief search it appeared that at some stage these fonts were available for free download from the MS site?

Either way, if you could come up with something that could install said fonts in a hassle-free way, with the option to use a local dir, that would be cool.
Or even better yet, if there was a way of setting up a system that could install any true-type fonts in a hassle-free way, that would be awesome.


er, can't be bothered editing that to sound less "dude, that would so, like, totally rock..." :D

Quote (RoGuE_StreaK @ July 22 2005,21:30)
I dunno about the licensing issue, from my very brief search it appeared that at some stage these fonts were available for free download from the MS site?

I'm pretty sure that Microsoft has long since pulled them from their site. The original license agreement did allow for redistribution of the files -- but only "without modification" which means in there original not-very-useful-self-extracting-windows-exe format :( The .exe files themselves are still downloadable from Sourceforge.

There are RPM and DEB packages with scripts to automate the download and install process. What I think I can do is further automate things for DSL by doing the install and then automatically generating a mydsl extension from the installed files. I'll work on that a bit this weekend if time permits.

Next Page...
original here.