LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 05-18-2008, 07:39 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 50
How to create .diff.gz/.dsc/.orig.tar.gz from a downloaded tar.gz application?


Hello,
For my dpkg-scansources, it looks it does not recognize the *.tar.gz in the pool, hence we need to create those 3 files .diff.gz/.dsc/.orig.tar.gz to make deb-src working and to find sthg with
Quote:
apt-cache showsrc packagename
.

Could eventually dpkg-scansources works only with a single tar.gz ?
thanks

Last edited by frenchn00b; 05-18-2008 at 09:50 AM.
 
Old 05-18-2008, 07:43 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
For my dpkg-scansources, it looks it does not recognize the *.tar.gz in the pool
Well take it out of the pool and dry it off... poor thing must be half drowned!

Otherwise, what you have said makes no sense.

What are you trying, and what is the result?
Post the command and it's output.
 
Old 05-18-2008, 08:17 AM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by Simon Bridge View Post
Well take it out of the pool and dry it off... poor thing must be half drowned!

Otherwise, what you have said makes no sense.

What are you trying, and what is the result?
Post the command and it's output.
I put lot of tar.gz in the pool folder, and If I type
Code:
$ dpkg-scansources  pool
it only outputs the one with .dsc + .tar.gz

If no .dsc, then nothing
 
Old 05-18-2008, 08:30 AM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 50
From here, http://ubuntuforums.org/showthread.php?t=51003
if I understand well, we have to use dh_make ... right?
 
Old 05-18-2008, 09:09 AM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 50
It worked like this, and created in the ../ a dsc file:
Code:
 make clean ; DEBFULLNAME="Frenchn00b" ; export DEBFULLNAME ; dh_make -e frenchn00b@gmail.com -f ../mypackage.tar.bz2  ; dpkg-buildpackage -rfakeroot
Dont know if it is really the best way...

--
http://www.debian.org/doc/manuals/ap...ndling.en.html

Last edited by frenchn00b; 05-18-2008 at 09:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing libxml-parser-perl_2.34.orig.tar andreas_skw Linux - Newbie 6 05-07-2008 11:42 PM
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 10 02-23-2008 05:40 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
How to install a downloaded tar.gz? zeroz52 Linux - Newbie 8 10-06-2006 10:32 PM


All times are GMT -5. The time now is 09:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration