Control: tags -1 +patch

On Thu, Jul 09, 2020 at 01:26:51PM +0200, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> Relevant part (hopefully):
> > [...]
> > /usr/lib/qt5/bin/qmake -install qinstall 
> > /<<PKGBUILDDIR>>/out/release/appdata/extension_tools 
> > /<<PKGBUILDDIR>>/debian/tmp/usr/share/notepadqq/extension_tools
> > Error copying /<<PKGBUILDDIR>>/out/release/appdata/extension_tools to 
> > /<<PKGBUILDDIR>>/debian/tmp/usr/share/notepadqq/extension_tools: Cannot 
> > open /<<PKGBUILDDIR>>/out/release/appdata/extension_tools for input
> > make[3]: *** [Makefile:2390: install_misc_data] Error 3

This can be fixed by amending the 0001-remove_extension_tools patch to also
remove make_extensionTools from PRE_TARGETDEPS in src/ui/ui.pro.

Updated version of debian/patches/0001-remove_extension_tools is attached.

--
Dmitry Shachnev
Since extension tools are removed from upstream sources, remove the installation from the makefile
--- a/src/extension_tools/Makefile
+++ b/src/extension_tools/Makefile
@@ -5,5 +5,3 @@
 .PHONY: all
 
 all:
-	mkdir -p "$(DESTDIR)"
-	cp -r node_modules install.js pack.js package.json readmanifest.js "$(DESTDIR)"/
--- a/src/ui/ui.pro
+++ b/src/ui/ui.pro
@@ -230,7 +230,7 @@
 translationsTarget.commands = ($${LRELEASE} \"$${CURRFILE}\")
 
 QMAKE_EXTRA_TARGETS += editorTarget extensionToolsTarget translationsTarget
-PRE_TARGETDEPS += make_editor make_extensionTools make_translations
+PRE_TARGETDEPS += make_editor make_translations
 
 unix:!macx {
     launchTarget.target = make_launch

Reply via email to