LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   debianized source code (https://www.linuxquestions.org/questions/linux-general-1/debianized-source-code-4175602691/)

drunkenfist 03-28-2017 05:54 AM

debianized source code
 
I came across the term debianized source code while browsing wiki. What does that mean? How is it different from vanilla? What is added/subtracted/edited?

hydrurga 03-28-2017 06:09 AM

Quote:

Originally Posted by drunkenfist (Post 5689172)
I came across the term debianized source code while browsing wiki. What does that mean? How is it different from vanilla? What is added/subtracted/edited?

Can you please provide a link to the wiki in question.

rtmistler 03-28-2017 07:04 AM

Quote:

Originally Posted by drunkenfist (Post 5689172)
I came across the term debianized source code while browsing wiki. What does that mean? How is it different from vanilla? What is added/subtracted/edited?

What did the wiki say? I'm wondering what vanilla is besides a spice. I agree with hydrurga, please post the link, otherwise you're asking everyone else to search for this wiki and make some sort of determination as to what it is trying to say. If it came from Debian, it could be just their own invented word.

michaelk 03-28-2017 07:42 AM

Vanilla used in this context is slang for ordinary or standard. Probably what most would call stock.

knudfl 03-28-2017 07:44 AM

Quote:

debianized source code
The may be some adds to the original source code, e.g. a generated configure file.
I.e. not all source code from e.g. a git repository includes a configure file.

Note : A Debian source is two files : name_version.debian.orig.tar.gz
... and a patch, e.g. like name_version.debian-1.diff.gz or name_version.debian.tar.xz

And : There is always included a debian/ folder (from the patch) with e.g. this :
changelog, control, copyright, patches/{files.patch}, README.Debian, rules .

-

Habitual 03-28-2017 10:31 AM

https://wiki.debian.org/apt-src may have a link to another reference. I didn't look. I was in my hard copy...
I asked on irc, did not get an answer.

https://debian-handbook.info/browse/...ng-system.html seems on target.

cynwulf 03-28-2017 11:06 AM

"debianised" source code is source code which includes debian specific patches and makefiles/configs. In a nutshell it's the source code which debian binary packages are generated from, rather than "upstream" source.

If you
Code:

$ apt-get source package_foo
It will fetch and extract debianised source for a package (where package_foo is the name of the package).

Then dpkg-buildpackage would build a package from the source.

If you're using upstream source, dh-make is used to "debianise" it before running dpkg-buildpackage.

drunkenfist 03-28-2017 08:51 PM

https://wiki.debian.org/apt-src like Habitual mentioned.

cynwulf 03-29-2017 02:52 AM

"apt-src"? more needless reinvention of the wheel it seems. Things have changed a bit since I used Debian.

Your link doesn't explain what debianised source is however nor how to debianise source. It seems like debhelper/dh-make is still valid at least.

rtmistler 03-29-2017 06:08 AM

I stand by my original thoughts which is that this is a made up word for their preferences.

Habitual 03-29-2017 08:11 AM

Maybe seeing the structure of one will help?
http://archive.ubuntu.com/ubuntu/poo...u0.2_amd64.deb

This is the fix.deb for the present cups fiasco in debian-flavored OSs.

Habitual 03-29-2017 08:17 AM

Quote:

Originally Posted by cynwulf (Post 5689635)
"apt-src"? more needless reinvention of the wheel it seems. Things have changed a bit since I used Debian.

Your link doesn't explain what debianised source is however nor how to debianise source. It seems like debhelper/dh-make is still valid at least.

I just googled " debianized source code" and looked for the most authoritative link. Then I checked My Debian Admin Handbook near Chapters [345]
Seemed to confirm your explanation.
I thought it close to the buildd service?
IDK if things have "changed", I just got here after 7 years of every thing except pure Debian.

cynwulf 03-29-2017 08:32 AM

Quote:

Originally Posted by rtmistler (Post 5689688)
I stand by my original thoughts which is that this is a made up word for their preferences.

As "Debian" is a made up word, then it stands to reason that "Debianised" is also a made up word.

I've explained what it means above - OK I may not be up to speed with the latest changes to the apt tools - but "debianised" source is, in a nutshell, upstream source code with Debian patches, from which Debian packages can be built.

Quote:

Originally Posted by Habitual (Post 5689731)
Maybe seeing the structure of one will help?

Exactly right. Anyone can manually extract a deb package file and look for themselves. deb packages are actually ar archives, so it's just a case of extracting this. Which should result in tarballs of the source (usually the "orig" file) and a diff or "debian" file of the patches (and the control file and rules, etc).

cynwulf 03-29-2017 08:33 AM

Quote:

Originally Posted by Habitual (Post 5689737)
IDK if things have "changed"

The change I was referring to is the change from "apt-get source" to "apt-src".

As I understand it "apt" also replaced "apt-get" at some point?

Habitual 03-29-2017 08:45 AM

Quote:

Originally Posted by cynwulf (Post 5689747)
The change I was referring to is the change from "apt-get source" to "apt-src".

As I understand it "apt" also replaced "apt-get" at some point?

I guess the "users" needed "help"?


All times are GMT -5. The time now is 09:36 AM.