* Joachim Breitner <nomeata@debian.org> [2015-05-30 11:36:04+0200] > Hi Dmitry, > > Am Mittwoch, den 27.05.2015, 16:10 +0000 schrieb KAction@gnu.org: > > Wed May 27 16:04:52 UTC 2015 KAction@gnu.org > > * Repack to get rid of jquery > > > > Please note, that Files-Excluded: field in copyright file > > does not work currently due bug in `tar', so you > > have to manually remove files specified in this field. > > > > M ./changelog -1 +2 > > M ./copyright +1 > > M ./watch -1 +1 > [..] > > Source: http://hackage.haskell.org/package/gitit > > +Files-Excluded: */jquery*.js > > I tried to prepare the tarball using > $ rm gitit-0.10.6.3/**/jquery*.js > but then the build fails: > > dh_link -plibghc-gitit-data > dh_buildinfo -plibghc-gitit-data > dh_installmime -plibghc-gitit-data > dh_installgsettings -plibghc-gitit-data > dh_linktree -plibghc-gitit-data > dpkg-query: no path found matching pattern /usr/share/javascript/jquery-hotkeys/jquery.hotkeys.js > dh_linktree: error: dpkg --search -- /usr/share/javascript/jquery-hotkeys/jquery.hotkeys.js /usr/share/javascript/jquery-ui/ui/jquery.ui.core.js /usr/share/javascript/jquery-ui/ui/jquery.ui.draggable.js /usr/share/javascript/jquery-ui/ui/jquery.ui.droppable.js /usr/share/javascript/jquery-ui/ui/jquery.ui.tabs.js /usr/share/javascript/jquery/jquery.js gave error exit status 1 > make: *** [binary-post-install/libghc-gitit-data] Error 1 > > Did I remove too much? What is the precise removal that I should do? No, you are correct. I forgot dependency. Just pushed fix. Please try again. For some unknown reason my sbuild fails: sbuild-build-depends-gitit-dummy : Depends: libghc-pandoc-dev (>= 1.13) but it is not going to be installed Depends: libghc-pandoc-dev (< 1.14) but it is not going to be installed Depends: libghc-hoauth2-dev (>= 0.4.2) but it is not going to be installed [...] so I rebuilt offending packages locally. Suggestions how fix it? Also, as I drew attention in my last commit, jquery is actually unused, since initialization code is commented out by upstream. We can easily just drop every piece of JS and all will be the same, but I belive some time in future it will be in use, so I am relucant to do so. > Note that in Files-Excluded, * matches / as well. Nice to know. -- Best regards, Dmitry Bogatov <KAction@gnu.org>, Free Software supporter, esperantisto and netiquette guardian. GPG: 54B7F00D
Attachment:
pgpKQvf0a1QAN.pgp
Description: PGP signature