Infos about V-Sim
visualization program that renders through OpenGL atomic systems such as molecules or solid defects. - (CeCILL)screenshots
http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.fr.html [fr]
spec file is available : http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/v_sim-3.2.0.fedora.spec (for fedora)
mailing-list for dev ?
status of v_sim packaging
- available at http://cookerspot.tuxfamily.org/progs/RPM/ (i586) (for Mandriva 2006.0)
- spec is at http://cookerspot.tuxfamily.org/progs/SPECS/v_sim.spec (for Mandriva 2006.0)
- src.rpm is at http://cookerspot.tuxfamily.org/progs/SRPMS/
- seems menu is not installed : to be debugged
- to be compiled for x86_64
- include icons files in the source tar.gz2
adaptation of spec file
- where are those files ?
Source2: %{name}.32.png
Source3: %{name}.48.png
obtain them from rpm file :
rpm2cpio v_sim-3.2.0-3.i586.rpm > v_sim.arcpio # to create a cpio archive
cpio -t < v_sim.arcpio|grep v_sim.png # to list and identify where are the files
cpio -di < v_sim.arcpio # extract all the files then mv ./usr/share/icons/v_sim.png ../../SOURCES/v_sim.32.png (and 18, 48...)
- add
%define release %mkrel %{rel}
# %define release 3
- rpmbuild -ba v_sim.spec # shows the following missing files :
erreur: Fichier non trouvé par la substitution: /home/baud123/rpm/tmp/v_sim-3.2.0-3-buildroot/usr/share/doc/v_sim/APIreference/*.html
erreur: Fichier non trouvé par la substitution: /home/baud123/rpm/tmp/v_sim-3.2.0-3-buildroot/usr/share/doc/v_sim/APIreference/*.png
erreur: Fichier non trouvé par la substitution: /home/baud123/rpm/tmp/v_sim-3.2.0-3-buildroot/usr/share/doc/v_sim/APIreference/*.css
erreur: Fichier non trouvé: /home/baud123/rpm/tmp/v_sim-3.2.0-3-buildroot/usr/share/doc/v_sim/APIreference/index.sgml
erreur: Fichier non trouvé: /home/baud123/rpm/tmp/v_sim-3.2.0-3-buildroot/usr/share/doc/v_sim/APIreference/v_sim.devhelp
They are in the rpm... either not generated or not included in the tar.bz2 source file :/
maybe that's this error that is causing documentation not to be generated:
checking for gtkdoc-mkdb... false
configure: WARNING: --enable-gtk-doc... but gtkdoc is not present, documentation will not build.
urpmi gtk-doc # yes there is an hyphen :/
=> OK the documentation builds now
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
configure: error: "No 'gl.h' header file."
=> urpmi libfltk1.1-devel # not suficient
=> urpmi libnvidia-xorg1-devel # not suficient
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
configure: error: "No 'glu.h' header file."
testing
- small bug : the display window is not refreshed when hidden by another window, then put back to the forefront (only the menu window is updated)
- typo : in window "Panneau de commande" / Choix de l'onglet : Colorsation (instead of "Colorisation", there's a missing i)
- question : why is it needed to select the file before opening it ? (in window "Navigateur") hum ah ok, seems you can "play" several files showing them one after the other (animation is possible ? zoom...)
- what tools can be used to create the input files ?