Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2017-10-04 Thread Manuel A. Fernandez Montecelo
2017-10-04 23:09 GMT+02:00 Julien Cristau :
> On Wed, Oct  4, 2017 at 20:08:45 +0200, Manuel A. Fernandez Montecelo wrote:
>>
>> Well, it's one of the most basic x-term packages, but more importantly,
>> rightly or wrongly, it's necessary to build glib2.0 w/tests in the
>> native architecture.
>
> Urgh.  I'd forgotten that xterm b-d on xorg-docs-core.  Sorry :(

No problem!


>> So will you want a public repository, or it's OK with these patches?
>
> It's fine.

Great!  We're all set, then.


Thanks and cheers.

-- 
Manuel A. Fernandez Montecelo 



Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2017-10-04 Thread Julien Cristau
On Wed, Oct  4, 2017 at 20:08:45 +0200, Manuel A. Fernandez Montecelo wrote:

> Hi,
> 
> 2017-10-04 13:41 Julien Cristau:
> > On 10/04/2017 01:07 AM, Manuel A. Fernandez Montecelo wrote:
> > > I agree that the changes are not very important in general from the
> > > point of view of the package.
> > > 
> > > However, they are somehwat important for cross-building and rebootstrap,
> > > and to bring up new architectures
> > 
> > I fail to see how that can possibly be true for this package.
> 
> Well, it's one of the most basic x-term packages, but more importantly,
> rightly or wrongly, it's necessary to build glib2.0 w/tests in the
> native architecture.
> 
Urgh.  I'd forgotten that xterm b-d on xorg-docs-core.  Sorry :(
> 
> > Anyway, thanks for the patches.
> 
> So will you want a public repository, or it's OK with these patches?
> 
It's fine.

Cheers,
Julien



Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2017-10-04 Thread Manuel A. Fernandez Montecelo

Hi,

2017-10-04 13:41 Julien Cristau:

On 10/04/2017 01:07 AM, Manuel A. Fernandez Montecelo wrote:

I agree that the changes are not very important in general from the
point of view of the package.

However, they are somehwat important for cross-building and rebootstrap,
and to bring up new architectures


I fail to see how that can possibly be true for this package.


Well, it's one of the most basic x-term packages, but more importantly,
rightly or wrongly, it's necessary to build glib2.0 w/tests in the
native architecture.



Anyway, thanks for the patches.


So will you want a public repository, or it's OK with these patches?


Cheers.
--
Manuel A. Fernandez Montecelo 



Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2017-10-04 Thread Julien Cristau
On 10/04/2017 01:07 AM, Manuel A. Fernandez Montecelo wrote:
> I agree that the changes are not very important in general from the
> point of view of the package.
> 
> However, they are somehwat important for cross-building and rebootstrap,
> and to bring up new architectures

I fail to see how that can possibly be true for this package.

Anyway, thanks for the patches.

Cheers,
Julien



Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2017-10-03 Thread Manuel A. Fernandez Montecelo

Hi Julien,

2017-10-01 22:50 Julien Cristau:

On Fri, Sep 29, 2017 at 00:21:59 +0200, Manuel A. Fernandez Montecelo wrote:


I uploaded to delayed/15, but if you want me to cancel or if it's OK to
change it to happen sooner, please let me know.


FWIW I don't think any of these changes are worth an upload.  They're
probably not worth removing your upload either, except if they're not in
git they'll be lost the next time somebody touches this.  So please
either cancel the NMU or provide a git tree we can pull from.


Thanks for taking a look and providing feedback.

I agree that the changes are not very important in general from the
point of view of the package.

However, they are somehwat important for cross-building and rebootstrap,
and to bring up new architectures, and since the last update was a
couple of years ago, maybe we'll go for a few months/years without
updates...


Anyway, I attach the individual patches that can be applied, if you want
me to provide the git tree I'll try to look tomorrow with more calm.


Cheers.
--
Manuel A. Fernandez Montecelo 

>From 10c5fac7492a25bdd3aba50d60235848793d1829 Mon Sep 17 00:00:00 2001
From: Helmut Grohne 
Date: Fri, 29 Sep 2017 00:02:40 +0200
Subject: [PATCH 1/3] Mark all packages Multi-Arch: foreign. (Closes: #840813)

---
 debian/changelog | 6 +-
 debian/control   | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b2259cf..9c05a1b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
-xorg-docs (1:1.7.1-2) UNRELEASED; urgency=medium
+xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium
 
+  [ Julien Cristau ]
   * Switch xorg.freedesktop.org URLs in packaging to https.
 
+  [ Helmut Grohne ]
+  * Mark all packages Multi-Arch: foreign. (Closes: #840813)
+
  -- Julien Cristau   Sun, 21 Aug 2016 19:36:18 +0200
 
 xorg-docs (1:1.7.1-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index fda9339..cbf99f3 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,7 @@ Architecture: all
 Depends: ${misc:Depends}
 Suggests: xorg-docs
 Replaces: xorg-docs ( << 1:1.4-5 )
+Multi-Arch: foreign
 Description: Core documentation for the X.org X Window System
  This package contains core documentation for the X.org X Window
  System. This currently includes only a set of manpages which are
@@ -34,6 +35,7 @@ Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: xprt-xprintorg (<= 1:0.1.0.alpha1-10)
 Replaces: xspecs (<= 1:1.2+git20061105-2), xprt-xprintorg (<= 1:0.1.0.alpha1-10)
+Multi-Arch: foreign
 Description: Miscellaneous documentation for the X.org X Window System
  This package contains various documents on the X.org X Window System
  including the release notes for the current version and instructions on
-- 
2.14.2

>From 250144605906f534b621b0951b62fd71971ea4b9 Mon Sep 17 00:00:00 2001
From: "Manuel A. Fernandez Montecelo" 
Date: Fri, 29 Sep 2017 00:04:39 +0200
Subject: [PATCH 2/3] Remove d/xorg-docs.links (Closes: #858469)

/usr/share/X11/doc was broken for years (the file was last modified
in 2010) without anybody complaining, so rather than fixing the
destination it's probably better to just remove this legacy bit
---
 debian/changelog   | 8 
 debian/xorg-docs.links | 1 -
 2 files changed, 8 insertions(+), 1 deletion(-)
 delete mode 100644 debian/xorg-docs.links

diff --git a/debian/changelog b/debian/changelog
index 9c05a1b..56c4de5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,13 @@
 xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium
 
+  * Non-maintainer upload.
+
+  [ Manuel A. Fernandez Montecelo ]
+  * Remove d/xorg-docs.links (Closes: #858469)
+- /usr/share/X11/doc was broken for years (the file was last modified
+  in 2010) without anybody complaining, so rather than fixing the
+  destination it's probably better to just remove this legacy bit
+
   [ Julien Cristau ]
   * Switch xorg.freedesktop.org URLs in packaging to https.
 
diff --git a/debian/xorg-docs.links b/debian/xorg-docs.links
deleted file mode 100644
index fe2c93c..000
--- a/debian/xorg-docs.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/xorg-docs/docs usr/share/X11/doc
-- 
2.14.2

>From d1d5cfd3eb4ee3ac2596b3728e99347f6354fd3b Mon Sep 17 00:00:00 2001
From: "Manuel A. Fernandez Montecelo" 
Date: Fri, 29 Sep 2017 00:05:38 +0200
Subject: [PATCH 3/3] Release to unstable

---
 debian/changelog | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 56c4de5..cb2f04a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium
+xorg-docs (1:1.7.1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
 
@@ -14,7 +14,7 @@ xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium
   [ 

Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2017-10-01 Thread Julien Cristau
On Fri, Sep 29, 2017 at 00:21:59 +0200, Manuel A. Fernandez Montecelo wrote:

> Control: tags -1 + pending
> Control: tags 858469 + pending
> 
> 
> Hi,
> 
> 2016-10-15 09:49 Helmut Grohne:
> > Package: xorg-docs-core
> > Version: 1:1.7.1-1
> > Tags: patch
> > User: helm...@debian.org
> > Usertags: rebootstrap
> > Control: affects -1 + src:xterm
> > 
> > xterm cannot be cross built from source, because its build dependency on
> > xorg-docs-core is unsatisfiable. In general, Architecture: all packages
> > that are not marked Multi-Arch: foreign cannot satisfy cross
> > Build-Depends at all. I propose marking it Multi-Arch: foreign, because
> > it is Architecture: all, has no maintainer scripts or depdendencies. The
> > same holds for xorg-docs. Please consider applying the attached patch.
> 
> I prepared an NMU with this fix, plus the fix for the broken symlink in
> #858469, plus a change in the VCS from 2016 that has not been released
> yet.
> 
> debdiff attached.
> 
> I uploaded to delayed/15, but if you want me to cancel or if it's OK to
> change it to happen sooner, please let me know.
> 
FWIW I don't think any of these changes are worth an upload.  They're
probably not worth removing your upload either, except if they're not in
git they'll be lost the next time somebody touches this.  So please
either cancel the NMU or provide a git tree we can pull from.

Cheers,
Julien



Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2017-09-28 Thread Manuel A. Fernandez Montecelo

Control: tags -1 + pending
Control: tags 858469 + pending


Hi,

2016-10-15 09:49 Helmut Grohne:

Package: xorg-docs-core
Version: 1:1.7.1-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:xterm

xterm cannot be cross built from source, because its build dependency on
xorg-docs-core is unsatisfiable. In general, Architecture: all packages
that are not marked Multi-Arch: foreign cannot satisfy cross
Build-Depends at all. I propose marking it Multi-Arch: foreign, because
it is Architecture: all, has no maintainer scripts or depdendencies. The
same holds for xorg-docs. Please consider applying the attached patch.


I prepared an NMU with this fix, plus the fix for the broken symlink in
#858469, plus a change in the VCS from 2016 that has not been released
yet.

debdiff attached.

I uploaded to delayed/15, but if you want me to cancel or if it's OK to
change it to happen sooner, please let me know.


Cheers.
--
Manuel A. Fernandez Montecelo 

diff -u xorg-docs-1.7.1/debian/changelog xorg-docs-1.7.1/debian/changelog
--- xorg-docs-1.7.1/debian/changelog
+++ xorg-docs-1.7.1/debian/changelog
@@ -1,3 +1,21 @@
+xorg-docs (1:1.7.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Manuel A. Fernandez Montecelo ]
+  * Remove d/xorg-docs.links (Closes: #858469)
+- /usr/share/X11/doc was broken for years (the file was last modified
+  in 2010) without anybody complaining, so rather than fixing the
+  destination it's probably better to just remove this legacy bit
+
+  [ Julien Cristau ]
+  * Switch xorg.freedesktop.org URLs in packaging to https.
+
+  [ Helmut Grohne ]
+  * Mark all packages Multi-Arch: foreign. (Closes: #840813)
+
+ -- Manuel A. Fernandez Montecelo   Fri, 29 Sep 2017 00:05:13 
+0200
+
 xorg-docs (1:1.7.1-1) unstable; urgency=medium
 
   * Team upload.
diff -u xorg-docs-1.7.1/debian/control xorg-docs-1.7.1/debian/control
--- xorg-docs-1.7.1/debian/control
+++ xorg-docs-1.7.1/debian/control
@@ -24,6 +24,7 @@
 Depends: ${misc:Depends}
 Suggests: xorg-docs
 Replaces: xorg-docs ( << 1:1.4-5 )
+Multi-Arch: foreign
 Description: Core documentation for the X.org X Window System
  This package contains core documentation for the X.org X Window
  System. This currently includes only a set of manpages which are
@@ -34,6 +35,7 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: xprt-xprintorg (<= 1:0.1.0.alpha1-10)
 Replaces: xspecs (<= 1:1.2+git20061105-2), xprt-xprintorg (<= 
1:0.1.0.alpha1-10)
+Multi-Arch: foreign
 Description: Miscellaneous documentation for the X.org X Window System
  This package contains various documents on the X.org X Window System
  including the release notes for the current version and instructions on
diff -u xorg-docs-1.7.1/debian/copyright xorg-docs-1.7.1/debian/copyright
--- xorg-docs-1.7.1/debian/copyright
+++ xorg-docs-1.7.1/debian/copyright
@@ -1,5 +1,5 @@
 This package was downloaded from
-http://xorg.freedesktop.org/releases/individual/doc/.
+https://xorg.freedesktop.org/releases/individual/doc/.
 
 Packager's note: Taken from the generated general/License.txt
 
diff -u xorg-docs-1.7.1/debian/watch xorg-docs-1.7.1/debian/watch
--- xorg-docs-1.7.1/debian/watch
+++ xorg-docs-1.7.1/debian/watch
@@ -4 +4 @@
-http://xorg.freedesktop.org/releases/individual/doc/ xorg-docs-(.*)\.tar\.gz
+https://xorg.freedesktop.orgreleases/individual/doc/ xorg-docs-(.*)\.tar\.gz
reverted:
--- xorg-docs-1.7.1/debian/xorg-docs.links
+++ xorg-docs-1.7.1.orig/debian/xorg-docs.links
@@ -1 +0,0 @@
-usr/share/doc/xorg-docs/docs usr/share/X11/doc


Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2016-10-15 Thread Helmut Grohne
Package: xorg-docs-core
Version: 1:1.7.1-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:xterm

xterm cannot be cross built from source, because its build dependency on
xorg-docs-core is unsatisfiable. In general, Architecture: all packages
that are not marked Multi-Arch: foreign cannot satisfy cross
Build-Depends at all. I propose marking it Multi-Arch: foreign, because
it is Architecture: all, has no maintainer scripts or depdendencies. The
same holds for xorg-docs. Please consider applying the attached patch.

Helmut
diff -u xorg-docs-1.7.1/debian/changelog xorg-docs-1.7.1/debian/changelog
--- xorg-docs-1.7.1/debian/changelog
+++ xorg-docs-1.7.1/debian/changelog
@@ -1,3 +1,10 @@
+xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark all packages Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne   Sat, 15 Oct 2016 09:46:53 +0200
+
 xorg-docs (1:1.7.1-1) unstable; urgency=medium
 
   * Team upload.
diff -u xorg-docs-1.7.1/debian/control xorg-docs-1.7.1/debian/control
--- xorg-docs-1.7.1/debian/control
+++ xorg-docs-1.7.1/debian/control
@@ -24,6 +24,7 @@
 Depends: ${misc:Depends}
 Suggests: xorg-docs
 Replaces: xorg-docs ( << 1:1.4-5 )
+Multi-Arch: foreign
 Description: Core documentation for the X.org X Window System
  This package contains core documentation for the X.org X Window
  System. This currently includes only a set of manpages which are
@@ -34,6 +35,7 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: xprt-xprintorg (<= 1:0.1.0.alpha1-10)
 Replaces: xspecs (<= 1:1.2+git20061105-2), xprt-xprintorg (<= 
1:0.1.0.alpha1-10)
+Multi-Arch: foreign
 Description: Miscellaneous documentation for the X.org X Window System
  This package contains various documents on the X.org X Window System
  including the release notes for the current version and instructions on