Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move DEB_AUTO_UPDATE_DEBIAN_CONTROL out of Debian packages #3029

Closed
timabbott opened this issue Apr 26, 2008 · 25 comments
Closed

Move DEB_AUTO_UPDATE_DEBIAN_CONTROL out of Debian packages #3029

timabbott opened this issue Apr 26, 2008 · 25 comments

Comments

@timabbott
Copy link
Contributor

Debian doesn't allow you to upload packages that use DEB_AUTO_UPDATE_DEBIAN_CONTROL because it causes confusion with Non-Maintainer Uploads. Since I'd like to get the packages so that they can be uploaded to Debian, we should remove it from our rules files. Since it's fine for our purposes, I've modified sage-debsource to set DEB_AUTO_UPDATE_DEBIAN_CONTROL so that it always gets used when we are building packages. I think it's probably easier for Michael to just make the changes than to merge N patches, so the following code will do the relevant update when the relevant spkgs are unpacked.

perl -i -0pe 's/^DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1\n//m' 
*/dist/debian/*/rules */dist/debian/rules

(if the patches are easier to deal with, let me know and I'll generate them)
The complete list of spkgs that require this treatment is as follows:

  • cddlib
  • eclib
  • extcode
  • flint
  • flintqs
  • gap
  • genus2reduction
  • gfan
  • givaro
  • iml
  • jmol
  • lcalc
  • libfplll
  • libm4ri
  • linbox
  • ntl
  • palp
  • polybori
  • rubiks
  • scipy_sandbox
  • singular
  • symmetrica
  • sympow
  • tachyon
  • zn_poly

Component: debian-package

Issue created by migration from https://trac.sagemath.org/ticket/3029

@timabbott
Copy link
Contributor Author

Attachment: auto-update-debian-control.patch.gz

@sagetrac-mabshoff

This comment has been minimized.

@sagetrac-mabshoff

This comment has been minimized.

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 26, 2008

comment:3

Hi Tim,

do I still need to run the perl script if I apply the patches? I would prefer to import 25 patches since then I do have a record. Since I will likely touch a lot of the spkgs in the next two days for cleanups I think it will be fine if you post those 25 patches and I just merge them as I go.

Cheers,

Michael

@timabbott
Copy link
Contributor Author

comment:4

No, the perl script is what generates the patches that need to be done (there's also a single patch not done by the perl script that I've already uploaded). I'll go ahead and post the 25 patches, then.

@timabbott
Copy link
Contributor Author

Attachment: auto-cddlib.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-extcode.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-flint.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-flintqs.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-genus.patch.gz

Attachment: auto-gfan.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-givaro.patch.gz

Attachment: auto-iml.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-jmol.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-libfplll.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-libm4ri.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-linbox.patch.gz

Attachment: auto-palp.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-rubiks.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-singular.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-symmetr.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-sympow.patch.gz

Attachment: auto-tachyon.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-zn_pol.patch.gz

Attachment: auto-scipy_sandbox.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-ntl.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-polybori.patch.gz

@timabbott
Copy link
Contributor Author

Attachment: auto-gap.patch.gz

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 27, 2008

comment:5

The patches look good to me. Most of them are really trivial, the two, three others are fine, too. I put them into the spkgs without bumping the patch level to avoid massive recompile on update.

Please, no more massive 25 spkg patch orgies ;)

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 27, 2008

comment:6

Merged in Sage 3.0.1.alpha1

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Apr 27, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant