Hello Georges, Denis, W. Martin, everybody,

Please use qmake to package it.
cat rules 
#!/usr/bin/make -f

#export DH_VERBOSE=1

export QT_SELECT=qt5

%:
        dh $@ --buildsystem=qmake

override_dh_clean:
        dh_clean
        rm -rf debug/ release/


BTW: you have also my Debian repository for 0.100.0-devel versions for 
Unstable et stable Debian:
https://qelectrotech.org/wiki_new/doc/install_debian

PS: on 0.100.0 version we have changing versioning and use now git sub-modules 
for elements, SingleApplication, pugiXML

https://github.com/qelectrotech/qelectrotech-source-mirror/blob/master/
packaging_script_Debian_Ubuntu_Windows.sh

https://github.com/qelectrotech/qelectrotech-source-mirror/blob/master/
packaging_script_AppImage.sh

https://github.com/qelectrotech/qelectrotech-source-mirror/blob/master/
packaging_script_Flatpak.sh


Best regards,
Laurent









Le samedi 16 décembre 2023, 20:03:04 CET Georges Khaznadar a écrit :
> Hello Denis, Laurent, W. Martin, everybody,
> 
> I gave a try, building a package based on upstream's branch 0.9.1;
> 
> however it fails at some point, with an error related to "pugixml" I do
> not yet understand completely the reason why it fails, but I suspect
> that the compilation is supposed to be launched in the context of
> Github's git structure, in order to import consistently a git tree
> coming from https://github.com/zeux/pugixml (take a look at the file
> https://github.com/qelectrotech/qelectrotech-source-mirror/blob/0.9.1/cmake/
> fetch_pugixml.cmake, line 27: GIT_REPOSITORY
> https://github.com/zeux/pugixml.git)
> 
> I fear that there are other issues of the same kind:
> -----------------8<---------------------------
> grep -r GIT_REPOSITORY .
> ./cmake/fetch_singleapplication.cmake:  GIT_REPOSITORY
> https://github.com/itay-grudev/SingleApplication.git
> ./cmake/fetch_pugixml.cmake:    GIT_REPOSITORY
> https://github.com/zeux/pugixml.git ./cmake/fetch_kdeaddons.cmake:     
> GIT_REPOSITORY https://invent.kde.org/frameworks/extra-cmake-modules.git
> ./cmake/fetch_kdeaddons.cmake:      GIT_REPOSITORY
> https://invent.kde.org/frameworks/kcoreaddons.git
> ./cmake/fetch_kdeaddons.cmake:      GIT_REPOSITORY
> https://invent.kde.org/frameworks/kwidgetsaddons.git
> ./tests/googlemock/CMakeLists.txt:  GIT_REPOSITORY
> https://github.com/google/googletest.git ./tests/catch/CMakeLists.txt: 
> GIT_REPOSITORY https://github.com/catchorg/Catch2.git
> ./tests/googletest/CMakeLists.txt:  GIT_REPOSITORY
> https://github.com/google/googletest.git
> -----------------8<---------------------------
> 
> Please have you an idea, or an indication, about fixing that, or working it
> around?
> 
> 
> Best regards,                 Georges.
> 
> Denis Briand a écrit :
> > Package: wnpp
> > Severity: normal
> > 
> > Hello,
> > I'm no longer interested to maintain this package.
> > I'm more involved in Debian France Organization now and I haven't enought
> > free time to maintain it correctly. Qeletrotech needs a maintainer with
> > Qt5 and C++ knowledges.
> > 
> > QElectroTech is a Qt5 application written in C++ to design electric
> > diagrams. It includes a diagram editor and a symbol editor. It uses XML
> > files to store the produced contents. Homepage: http://qelectrotech.org
> > 
> > 
> > Denis Briand



Source: qelectrotech
Section: electronics
Priority: optional
Maintainer: laurent trinques <[email protected]>
Build-Depends: debhelper (>= 11),
               libqt5svg5-dev,
               qt5-qmake,
               qtbase5-dev,
               libkf5widgetsaddons-dev,
               libkf5coreaddons-dev, 
               libsqlite3-dev,
               pkgconf
Standards-Version: 4.5.0
Rules-Requires-Root: no
Homepage: http://qelectrotech.org/

Package: qelectrotech
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libkf5coreaddons5, 
libkf5widgetsaddons5, libsqlite3-0
Recommends: qelectrotech-examples (= ${source:Version}), qelectrotech-data (= 
${source:Version}), qttranslations5-l10n, mesa-utils
Description: Electric schematic editor
 QElectroTech is a Qt5 application written in C++ .
 This program helps you to design electrical schematic diagrams.
 It includes a schematic editor, an element editor and a titleblock editor.
 It uses XML files to store the produced contents.



Package: qelectrotech-data
Architecture: all
Depends: ${misc:Depends}
Recommends: qelectrotech (= ${source:Version})
Description: symbols needed for qelectrotech
 QElectroTech is a Qt5 application written in C++ .
 This program helps you to design electrical schematic diagrams.
 It includes a schematic editor, an element editor and a titleblock editor.
 It uses XML files to store the produced contents.
 This package provide symbols needed for qelectrotech.


Package: qelectrotech-examples
Architecture: all
Depends: ${misc:Depends}
Recommends: qelectrotech (= ${source:Version})
Description: examples files for qelectrotech
 QElectroTech is a Qt5 application written in C++ .
 This program helps you to design electrical schematic diagrams.
 It includes a schematic editor, an element editor and a titleblock editor.
 It uses XML files to store the produced contents.
 This package provide examples files for qeletrotech.
#!/usr/bin/make -f

#export DH_VERBOSE=1

export QT_SELECT=qt5

%:
	dh $@ --buildsystem=qmake

override_dh_clean:
	dh_clean
	rm -rf debug/ release/
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to