[SOLVED] Re: How to set up dvd+rw-tools source the way it gets compiled for Debian sid ?
Hi, Nicolas George wrote: > apt-get source dvd+rw-tools That's an appealing proposal for a Debian noob like me. https://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html says i can do this as normal user. ... Get:3 http://ftp.de.debian.org/debian/ jessie/main dvd+rw-tools 7.1-11 (diff) [24.3 kB] ... dpkg-source: info: applying 01-growisofs-pioneer.patch ... dpkg-source: info: applying 10-blue-ray-bug713016.patch Looks like the patch list from sid's .debian.tar.bz2. The version number matches too. This should suffice as base. $ cd dvd+rw-tools-7.1 $ make one should look for the cause of this message /bin/sh: 1: [: 1000: unexpected operator and whether this is a sign for upcomming trouble mp.h:59:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Whatever, i get a runnable growisofs binary: $ ./growisofs -version * ./growisofs by , version 7.1, front-ending to genisoimage: genisoimage 1.1.11 (Linux) Thanks a lot. Have a nice day :) Thomas -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/21352560053868487...@scdbackup.webframe.org
Re: How to set up dvd+rw-tools source the way it gets compiled for Debian sid ?
On Fri, Aug 07, 2015 at 11:35:22AM +0200, Thomas Schmitt wrote: > Hi, > > Reco wrote: > > 1) Change the source as appropriate. > > First i need to have it. How to apply the patches from > dvd+rw-tools_7.1-11.debian.tar.bz2 to the unpacked > dvd+rw-tools_7.1.orig.tar.gz so that i get the same source > that is used for producing Debian binary packages ? > > I strive for the source state which the Debian maintainer > of dvd+rw-tools will see when applying and testing my > patch proposals. A manual way - download these: http://http.debian.net/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.1-11.dsc http://http.debian.net/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.1.orig.tar.gz http://http.debian.net/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.1-11.debian.tar.bz2 Invoke (it should apply patches after the unpacking): dpkg-source -x dvd+rw-tools_7.1-11.dsc An automatic way: Make sure you have 'deb-src' entries in your /etc/apt/sources.list. Invoke: apt-get source dvd+rw-tools To produce *dsc and archives from the modified source tree - use 'dpkg-buildpackage -S'. Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150807105908.GA4438@x101h
Re: How to set up dvd+rw-tools source the way it gets compiled for Debian sid ?
Le decadi 20 thermidor, an CCXXIII, Thomas Schmitt a écrit : > First i need to have it. How to apply the patches from > dvd+rw-tools_7.1-11.debian.tar.bz2 to the unpacked > dvd+rw-tools_7.1.orig.tar.gz so that i get the same source > that is used for producing Debian binary packages ? > > I strive for the source state which the Debian maintainer > of dvd+rw-tools will see when applying and testing my > patch proposals. Using `apt-get source dvd+rw-tools`, I get the following message: NOTICE: 'dvd+rw-tools' packaging is maintained in the 'Git' version control system at: git://git.debian.org/pkg-opt-media/dvd+rw-tools.git I guess cloning that tree would be the best way of having the same work environment as the maintainers. That makes two stacked revision control system, which is a bit clumsy, but I guess there is no way around it for historical reasons. Regards, -- Nicolas George signature.asc Description: Digital signature
Re: How to set up dvd+rw-tools source the way it gets compiled for Debian sid ?
Hi, Reco wrote: > 1) Change the source as appropriate. First i need to have it. How to apply the patches from dvd+rw-tools_7.1-11.debian.tar.bz2 to the unpacked dvd+rw-tools_7.1.orig.tar.gz so that i get the same source that is used for producing Debian binary packages ? I strive for the source state which the Debian maintainer of dvd+rw-tools will see when applying and testing my patch proposals. > 3) quilt will take care of the rest. Will try to learn about it. Maybe it's the answer to my question. Have a nice day :) Thomas -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/31489560025830432...@scdbackup.webframe.org
Re: How to set up dvd+rw-tools source the way it gets compiled for Debian sid ?
Hi. On Fri, Aug 07, 2015 at 10:09:54AM +0200, Thomas Schmitt wrote: > Hi, > > i want to fix the growisofs DVD-R DAO bug and its > wrong interpretation of "Descriptor" format error indication. > See https://lists.debian.org/debian-user/2015/08/msg00197.html > > Since growisofs has no upstream any more, i plan to submit > patches towards Debian sid. > But how to combine the growisofs source files of sid to the > source installation which yields the sid growisofs binary ? > > In > https://packages.debian.org/sid/video/dvd+rw-tools > there are > > http://http.debian.net/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.1-11.dsc > > http://http.debian.net/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.1.orig.tar.gz > > http://http.debian.net/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.1-11.debian.tar.bz2 > > In dvd+rw-tools_7.1-11.debian.tar.bz2 i see a set of patches. > Is there some automat which applies them properly ? You can do it old way: 1) Make your patch(es). 2) Put them into debian/patches. 3) Put the name(s) of your patch(es) into debian/patches/series in the desired order. 4) quilt will take care of the rest. Or you can do it new way: 1) Change the source as appropriate. 2) Invoke dpkg-source --commit. 3) quilt will take care of the rest. Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150807083033.GA3640@x101h
How to set up dvd+rw-tools source the way it gets compiled for Debian sid ?
Hi, i want to fix the growisofs DVD-R DAO bug and its wrong interpretation of "Descriptor" format error indication. See https://lists.debian.org/debian-user/2015/08/msg00197.html Since growisofs has no upstream any more, i plan to submit patches towards Debian sid. But how to combine the growisofs source files of sid to the source installation which yields the sid growisofs binary ? In https://packages.debian.org/sid/video/dvd+rw-tools there are http://http.debian.net/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.1-11.dsc http://http.debian.net/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.1.orig.tar.gz http://http.debian.net/debian/pool/main/d/dvd+rw-tools/dvd+rw-tools_7.1-11.debian.tar.bz2 In dvd+rw-tools_7.1-11.debian.tar.bz2 i see a set of patches. Is there some automat which applies them properly ? Have a nice day :) Thomas -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/31472560024814919...@scdbackup.webframe.org