Re: [Dng] The basic of building package
On 20/05/15 18:15, Anto wrote: Hello Everybody, I am sorry to ask a basic question, but I fail to find the information on Debian documentation. There are million of them, so I must have missed it. My main source of reading is https://www.debian.org/doc/manuals/maint-guide/index.en.html. My question is quite generic as I see the same problem on some packages that I have been trying to build. So they are not specific to one package. That problem happens when I use .debian.tar.xz which was built for older version of .orig.tar.xz. As far as I understood, due to the differences in the files of the source packages, i.e. some files exist on the new source but not on the old one, the "debian/rules clean" deletes some files from the new source. And most of the time, the build packages fail if I see the messages similar as the ones below: dpkg-source: info: building using existing ./name and version>.orig.tar.xz dpkg-source: warning: ignoring deletion of file dir1/file1 dpkg-source: warning: ignoring deletion of file dir2/file2 dpkg-source: warning: ignoring deletion of file dir3/file3 And so on. If the files that got deleted were not needed during the compilation, I could get the package successfully built. I know that I must change something on the debian directory of the package to match the new source, but I am not sure which ones. Could anyone please point me to the right direction? Thanks a lot in advance for your help. Cheers, Anto Hello Everybody, First of all, thanks to Brian and Angel for your suggestions. What I have found last night is that, the dh_clean deletes some source files. So my quick and dirty workaround was to remove the rm commands on debian/rules. The other thing that I found last night is that, when I add patch files into debian/patches especially for the files which do not exist on the main stream source package, I should also patch the corresponding Makefile.am. A part from Makefile.am, which other files on the source package should I also take care of? Another question is about generating the patch files to be added into debian/patches directory. What I have been doing so far are the followings, to get the patch files which look similar to the official patches: 1. Create "a" and "b" directory 2. Copy the files from the original source package including their directory structures, into "a" and "b" directories If the file does not exist on the original sourcepackage, only generate its directory structure on "a" directory and put the new file on "b" directory under the same directory structure 3. Modify only the files on "b" directory 4. Run "git diff --no-prefix --no-index a/ b/ > .patch" I am sure that is not the proper way to do it. So could you please let me know how to properly build the patches, especially for off-line purpose so no local and remote git repositories? Thanks in advance. Cheers, Anto ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[Dng] systemd, sysvinit and util-linux
Hello list, just FYI: Debian/testing has just updated the sysvinit packages (initscripts, sysv-rc, sysvinit-core, sysvinit-utils) from 2.88dsf-59 to 2.88dsf-59.1. This introduces a dependency on mount (>= 2.26.2-3). Whereas the the sysvinit packages in Devuan/testing are still being merged from Debian, Devuan ships its own util-linux 2.25.2-4.1+devuan1, thus breaking the dependency. (Issue reported on GitLab.) The technical background (as I understand it) is to move certain utilities, particularly mountpoint, from sysvinit-utils to util-linux, which superficially seems legit to me. The political background, however, seems to be to remove the last remaining dependencies on sysvinit-scripts from systemd, presumably just one more step towards eventually dropping sysvinit support from Debian altogether. Well, not very surprising, but still sad. Again, thanks to all the folks working on and supporting Devuan, striving to still provide us with a working systemd-less yet still Debian-like distribution in the future! Cheers, Urban ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[Dng] Hi - awaiting your distribution
Hi, I'm eagerly awaiting your distribution. I just reinstalled debian 8 after the update from debian 7 failed ... and I'm not a fan of systemd. I hadn't been following what was up at debian, but I'm sorry to see what's gone down. Thanks for taking this on. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [Dng] The basic of building package
On Thu, May 21, 2015 at 02:08:23PM +0200, Anto wrote: > Another question is about generating the patch files to be added into > debian/patches directory. What I have been doing so far are the followings, > to get the patch files which look similar to the official patches: > > 1. Create "a" and "b" directory > > 2. Copy the files from the original source package including their directory > structures, into "a" and "b" directories > >If the file does not exist on the original sourcepackage, only generate > its directory structure on "a" directory and put the new file on "b" > directory under the same directory structure > > 3. Modify only the files on "b" directory > > 4. Run "git diff --no-prefix --no-index a/ b/ > .patch" > > I am sure that is not the proper way to do it. So could you please let me > know how to properly build the patches, especially for off-line purpose so > no local and remote git repositories? * The standard tool for Debian packages is "quilt", which needs a litle bit of setup to make it use debian/patches. You will need to "add" files that you want to edit *before* changing them. * git's default format is: --- a/ +++ b/ You do not need to do anything other than make sure that everything has been committed to git before you start editing; git will store the contents of the repository internally. HTH, Isaac Dunham ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [Dng] The basic of building package
On 21/05/15 15:59, Isaac Dunham wrote: On Thu, May 21, 2015 at 02:08:23PM +0200, Anto wrote: Another question is about generating the patch files to be added into debian/patches directory. What I have been doing so far are the followings, to get the patch files which look similar to the official patches: 1. Create "a" and "b" directory 2. Copy the files from the original source package including their directory structures, into "a" and "b" directories If the file does not exist on the original sourcepackage, only generate its directory structure on "a" directory and put the new file on "b" directory under the same directory structure 3. Modify only the files on "b" directory 4. Run "git diff --no-prefix --no-index a/ b/ > .patch" I am sure that is not the proper way to do it. So could you please let me know how to properly build the patches, especially for off-line purpose so no local and remote git repositories? * The standard tool for Debian packages is "quilt", which needs a litle bit of setup to make it use debian/patches. You will need to "add" files that you want to edit *before* changing them. * git's default format is: --- a/ +++ b/ You do not need to do anything other than make sure that everything has been committed to git before you start editing; git will store the contents of the repository internally. HTH, Isaac Dunham Thanks Isaac, Yes, I saw that quilt is always mentioned on Debian documentation for packaging but I don't see the advantage of using it. So I have never started to set it up just for the purpose of generating the patch containing the changes on a few files. I think git has more advantages and it is more relevant to Devuan gitlab so I will learn more about it. Cheers, Anto ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [Dng] The basic of building package
Am 21.05.2015 um 16:37 schrieb Anto: >> [...] > Yes, I saw that quilt is always mentioned on Debian documentation > for packaging but I don't see the advantage of using it. So I have > never started to set it up just for the purpose of generating the > patch containing the changes on a few files. I think git has more > advantages and it is more relevant to Devuan gitlab so I will learn > more about it. Hi Anto, IMHO, knowing how to identify and work with existing packages that use quilt still is neccessary, for example to not break with the existing conventions of maintenance of such a package, and of course for taking countermeasures against unwelcome patches ... ;-) Getting quilt to work the Debian way is not difficult and well explained here: https://wiki.debian.org/UsingQuilt#Using_quilt_with_Debian_source_packages The section "Basic quilt tasks" covers the activities of creating new patches on top of an existing series of patches, and applying, unapplying and modifying them. Additionally, there's the activity of deleting an existing patch which can be accomplished with "quilt delete". IIRC, without the -r flag to "quilt delete", the patch is disabled, with the flag set it's physically deleted. Technically there's not much more to it. Kind regards, t. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [Dng] Hi - awaiting your distribution
On Thu, May 21, 2015 at 8:19 AM, john francis lee wrote: > Hi, > > I'm eagerly awaiting your distribution. I just reinstalled debian 8 > after the update from debian 7 failed ... and I'm not a fan of systemd. > I hadn't been following what was up at debian, but I'm sorry to see > what's gone down. hi , i m not one of the developpers, but I think you should make a donation ;) I did because I also need devuan ! http://devuan.org/donate.html and you can even donate bitcoins ! to the devs : what about also accepting namecoin ? ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [Dng] Hi - awaiting your distribution
On Thu, May 21, 2015 at 11:41:17AM -0500, Neo Futur wrote: > On Thu, May 21, 2015 at 8:19 AM, john francis lee wrote: > > Hi, > > > > I'm eagerly awaiting your distribution. I just reinstalled debian 8 > > after the update from debian 7 failed ... and I'm not a fan of systemd. > > I hadn't been following what was up at debian, but I'm sorry to see > > what's gone down. > hi , i m not one of the developpers, but I think you should make a > donation ;) I did because I also need devuan ! > > http://devuan.org/donate.html > > and you can even donate bitcoins ! > > to the devs : what about also accepting namecoin ? And what about accepting international postal money orders? -- hendrik ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [Dng] I want to mount a Packages page, buildd and Wanna-build system
El 20/05/2015 7:39 pm, Franco Lanza escribió: The packages page is a well welcomed contribution! What do you need to setting up it for devuan? For the packages page I need a apache server. It uses perl and other things. The url for the repo or if the repo is local the local dir. Full ssh access to the server, because it needs many configs here and there. Also, it needs a cron to be run in a daily basis (To pull the new packages from the repo). I still have intentions to donate a 1 year VPS for these services. If have time, I also want to setup a Debian BTS (Bug Tracking System) and Debian screenshots. So, if you have a server, I will install on it. If you want the VPS, the only condition is I choose the server name (on the devuan.org domain). (Resend, forget to CC the mailing list) -- Atte. Felix Arreola ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [Dng] Suggestion for vdev
Hi James, Apologies for the late reply--things have been busy at work lately. I'd be happy to add an OpenRC init script :) I opened an issue for it here: https://github.com/jcnelson/vdev/issues/27 Also, a BSD-style init script would be nice at some point ( https://github.com/jcnelson/vdev/issues/28). -Jude On Wed, May 20, 2015 at 9:05 PM, James Powell wrote: > Jude, when vdev gets mature enough, could you submit an init script to the > OpenRC project, please? > > Thanks, > Jim > > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng > > ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng