LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-28-2017, 05:54 AM   #1
drunkenfist
LQ Newbie
 
Registered: Jan 2017
Distribution: MX
Posts: 14

Rep: Reputation: Disabled
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?

Last edited by drunkenfist; 03-28-2017 at 06:03 AM.
 
Old 03-28-2017, 06:09 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by drunkenfist View Post
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.
 
Old 03-28-2017, 07:04 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by drunkenfist View Post
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.
 
Old 03-28-2017, 07:42 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,713

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Vanilla used in this context is slang for ordinary or standard. Probably what most would call stock.
 
Old 03-28-2017, 07:44 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 .

-

Last edited by knudfl; 03-28-2017 at 07:52 AM.
 
Old 03-28-2017, 10:31 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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.
 
Old 03-28-2017, 11:06 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
"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.

Last edited by cynwulf; 03-28-2017 at 11:07 AM.
 
Old 03-28-2017, 08:51 PM   #8
drunkenfist
LQ Newbie
 
Registered: Jan 2017
Distribution: MX
Posts: 14

Original Poster
Rep: Reputation: Disabled
https://wiki.debian.org/apt-src like Habitual mentioned.
 
Old 03-29-2017, 02:52 AM   #9
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
"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.
 
Old 03-29-2017, 06:08 AM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I stand by my original thoughts which is that this is a made up word for their preferences.
 
Old 03-29-2017, 08:11 AM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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.
 
Old 03-29-2017, 08:17 AM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by cynwulf View Post
"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.
 
Old 03-29-2017, 08:32 AM   #13
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by rtmistler View Post
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 View Post
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).
 
Old 03-29-2017, 08:33 AM   #14
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by Habitual View Post
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?
 
Old 03-29-2017, 08:45 AM   #15
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by cynwulf View Post
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"?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading source Debianized packages. edbarx Debian 1 07-02-2014 02:17 AM
Distinguish between freeware, shareware, open source software and closed source ... turbomen Linux - Newbie 1 11-16-2010 02:49 AM
gnome: Fedora/CentOS source .bash_profile but Ubuntu/Debian source .bashrc centguy Linux - Software 6 01-17-2010 08:35 PM
iptables dnat working, but server logs local source IP instead of original source IP Nothsa Linux - Server 3 02-14-2008 05:34 PM
LXer: Red Hat to set up open-source software store: source LXer Syndicated Linux News 0 03-09-2007 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration