1 (edited by Re-searcher 2022-09-21 12:27:06)

Topic: Création de QET à partir de la source - le chemin mime n'est pas défin

Bonjour,

Ma langue maternelle est le néerlandais.


Pour GNU/Linux Debian Sid en mode terminal.

Par qmake qelectrotecg.pro

AVERTISSEMENT : mime_xml.path n'est pas défini : la cible d'installation n'est pas créée

AVERTISSEMENT : mime_desktop.path n'est pas défini : la cible d'installation n'est pas créée

AVERTISSEMENT : mime_xml.path n'est pas défini : la cible d'installation n'est pas créée

AVERTISSEMENT : mime_desktop.path n'est pas défini : la cible d'installation n'est pas créée


Une idée de comment résoudre ce problème ?

Erik

I am an industrial developer technician and born in 1960

Re: Création de QET à partir de la source - le chemin mime n'est pas défin

Hi Erik,

see this PR by Pino Debian developer :
https://github.com/qelectrotech/qelectr … r/pull/223

Laurent

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Création de QET à partir de la source - le chemin mime n'est pas défin

@scorpio810

Bonjour Laurent,

Merci pour le lien (fr)
Thanks for the link (en)
Bedankt voor de link (nl)

Erik

I am an industrial developer technician and born in 1960

Re: Création de QET à partir de la source - le chemin mime n'est pas défin

@scorpio810

Bonjour Laurent,

Vous pouvez me répondre en français.
C'est beaucoup plus facile pour vous.
Je traduirai le texte.

Ce n'était pas la solution.
J'ai ajouté deux lignes dans le fichier qelectrotech.pro
Ceci à la ligne 16

Ligne 16     mime_xml.path               = '../share/mime/xml/'   
Ligne 17     mime_desktop.path           = '../share/mime/desktop/'


Maintenant, le programme compile.
Merci encore pour vous.

Erik

I am an industrial developer technician and born in 1960

Re: Création de QET à partir de la source - le chemin mime n'est pas défin

hmm
https://git.tuxfamily.org/qet/qet.git/c … a56c94bbcc

Drop XML files autogenerated from qelectrotech.xml
These files are the bare XML definitions, and they are automatically
generated by update-mime-database (part of shared-mime-info) on update
(e.g. by distro hooks) or manually. Keeping them in the sources, and
installing them, is definitely not correct, as qelectrotech.xml is
their canonical definition.

Hence, drop them from the sources, together with references to them.

laurent@debian:~/Qet-svn/git/qet/build$ qmake ../qelectrotech.pro
WARNING: mime_xml.path is not defined: install target not created

WARNING: mime_desktop.path is not defined: install target not created

WARNING: mime_xml.path is not defined: install target not created

WARNING: mime_desktop.path is not defined: install target not created

laurent@debian:~/Qet-svn/git/qet/build$ 

@ Erik,
since this Pino Pull Request I have these warnings when building and packaging QET, but I don't saw any problem when we launch QET.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."