how to install source packages

Asked by Steve Romanow

i am trying to install the source package for gnome terminal (libvte). I have installed libvte-dev but it appears to only contain the headers.

I see an option in Synaptic to enable Source packages, but i cannot check it. It goes from white to blue, but no check mark.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Stefano Rivera
Solved:
Last query:
Last reply:
Revision history for this message
Steve Romanow (slestak989) said :
#1

Note, i dont mind dl the source from gnome.org, but i was trying to stay within the ubuntu way of doing things.

Revision history for this message
Steve Romanow (slestak989) said :
#2

I did get to work at the command line, using apt-get source pkgname, not sure why it wasnt working in synaptic.

Revision history for this message
Gord Allott (gordallott) said :
#3

-dev versions are not the source packages, they are designed to be the parts of a library that other programs may need to compile

Revision history for this message
Steve Romanow (slestak989) said :
#4

can you tell me how to install the source deb from synaptic?

Revision history for this message
Best Stefano Rivera (stefanor) said :
#5

A source package isn't something that you install, it's something which packages are built from.

Revision history for this message
Steve Romanow (slestak989) said :
#6

Thanks Stefano Rivera, that solved my question.

Revision history for this message
Stefano Rivera (stefanor) said :
#7

It sounds like what you are trying to do is backport a newer version of gnome to feisty? Gnome is a large and complex package, and is unlikely to backport easily...

You can try and get sharkattack to do it for you: http://sharkattack.media.mit.edu/

Or you can backport it yourself, google for debian backport howto, and you should find some useful information....

Revision history for this message
Steve Romanow (slestak989) said :
#8

no, no backport. Was looking at trying to make a slight modification to gnome-terminals copy text behavior. WHen we copy out of our erp application, the ansi color strings are part of the text. Wanted to add an option to strip that out so my users can copy data keep some semblance of formatting. The data is copied with /u[0-9][0-9][0-9][0-9] so it seems pretty rudimentary to replace that regex with appropriate number of spaces. Now if I just knew c :).