[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: qmapshack for debian

Sorry .... now to the list

---------- Forwarded message ----------
From: Jaromír Mikeš <mira.mikes@gmail.com>
Date: 2014-08-05 22:14 GMT+02:00
Subject: Re: qmapshack for debian
To: Sebastiaan Couwenberg <sebastic@xs4all.nl>

2014-08-05 20:31 GMT+02:00 Sebastiaan Couwenberg <sebastic@xs4all.nl>:

On 08/05/2014 07:42 PM, Jaromír Mikeš wrote:
> 2014-08-05 18:16 GMT+02:00 Sebastiaan Couwenberg <sebastic@xs4all.nl>:

>>  debhelper (>= 9.20120417~),
> You need this version of debhelper to get proper hardening with cmake
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668813

I see, that's a good reason for an explicit version requirement.

Do you intent to support backports?

Not too much ...

> This way of getting orig source repacked is becoming standard in
> pkg-multimedia team where I co-maintain some packages.
> Some I am used to it moreover uscan currently doesn't work with bitbucket :(
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749225
> So this solution allows me get orig source via wget.

The wget route seems to be a good enough workaround for the uscan issue.

I would still use `tar --delete` to remove the .hg directory, e.g. with
something like the following patch (note: untested):

diff --git a/debian/rules b/debian/rules
index ec21e31..1dd2bd4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,11 +15,4 @@ get-orig-source:
 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749225
 #      uscan --noconf --force-download --rename --debug --destdir=.
-       mv $(pkg)-$(upstream_version).tar.gz
-       tar -xf $(pkg)_$(upstream_version).orig.tar.gz
-       mv $(pkg)-$(upstream_version) $(pkg)-$(dfsg_version)
-#      find $(pkg)-$(dfsg_version)/ -name '.hg' -delete
-       rm -R $(pkg)-$(dfsg_version)/.hg
-       tar cf $(pkg)_$(dfsg_version).orig.tar $(pkg)-$(dfsg_version)
-       gzip $(pkg)_$(dfsg_version).orig.tar
-       rm -rf $(pkg)-$(dfsg_version)
+       gunzip -c ../$(pkg)-$(upstream_version).tar.gz | tar --delete
--wildcards -vf - $(pkg)-$(upstream_version)/.hg\* | GZIP="--best
--no-name" gzip -c > ../$(pkg)_$(upstream_version)+ds.orig.tar.gz

I will have a look on this.

> qmapshack now installing png icon instead of xpm.
> What is your prefered way for fixing?

What do you mean by this exactly?

Sorry I expressed it badly.
qmapshack always installed png icon, but now when menu file is fixed linthian complain about png icon.
Just commit your changes in git and prepare a new release, upload it to
mentors and request sponsorship. Add an entry to the SoB wiki page to
notify our awesome sponsor.

BTW  I think commits still not goes to mailing list.
And I getting quite wild output when pushing commits.

$ git push alioth master
Counting objects: 4, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 397 bytes | 0 bytes/s, done.
Total 4 (delta 3), reused 0 (delta 0)
remote: no servers defined. use 'uri' or 'servers' configuration options
remote: Traceback (most recent call last):
remote:   File "/usr/local/bin/git-commit-notice", line 30, in <module>
remote:     environment = git_multimail.GenericEnvironment(config=config)
remote:   File "/srv/git.debian.org/bin/git_multimail.py", line 1960, in __init__
remote:     super(ProjectdescEnvironmentMixin, self).__init__(**kw)
remote:   File "/srv/git.debian.org/bin/git_multimail.py", line 1854, in __init__
remote:     **kw
remote:   File "/srv/git.debian.org/bin/git_multimail.py", line 1825, in __init__
remote:     config=config, **kw
remote:   File "/srv/git.debian.org/bin/git_multimail.py", line 1914, in __init__
remote:     config, 'refchangelist', 'mailinglist',
remote:   File "/srv/git.debian.org/bin/git_multimail.py", line 1949, in _get_recipients
remote:     'The list of recipients for %s is not configured.\n%s' % (names[0], hint)
remote: git_multimail.ConfigurationException: The list of recipients for refchangelist is not configured.
remote: Please set one of the following:
remote:     "multimailhook.refchangelist"
remote:     "multimailhook.mailinglist"
To ssh://mira-guest@git.debian.org/git/pkg-grass/qmapshack
   beec158..2306426  master -> master



Reply to: