View Issue Details

IDProjectCategoryView StatusLast Update
0000628Cinelerra-GG[All Projects] Featurepublic2023-06-06 17:22
ReporterPhyllisSmith Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0000628: Add features - separate windows attributes + include git commit tag on build
DescriptionA couple of Feature requests for the future (as presented by Rob)
1) Separate out the windows attributes so that each window has it's own display preference setting.
2) Modify the build procedure so that make automatically includes the git commit tag from the version used to create the binary,
3) and with a cin --version option to inquire without it starting the GUI.
TagsNo tags attached.

Activities

Andrew-R

Andrew-R

2023-06-06 17:22

reporter   ~0005494

no progress on git log, but somewhat interesting articleon programking with xlib:

https://handmade.network/forums/articles/t/2834-tutorial_a_tour_through_xlib_and_related_technologies

https://www.tonyobryan.com/index.php?article=9
("Setting An X11 Window to Full Screen")

I think I saw some strange behavior running compiz + TDE + cingg when it comes
to recording virtual desktops, so worth investigating how those attribs works.
PhyllisSmith

PhyllisSmith

2023-01-11 16:51

manager   ~0005378

Waiting to hear possible results. Meanwhile want to log how Rob did this: "implemented such at my last job by saving git-commit-string as a macro
that could be read by the compiler and expanded during compiler preprocessing. the slight complication with your build system is that you don't always build from a git repo so in lieu of being able to call "git log" you would need an authoritative fall-back text file .version??? as part of the build." True, I never build from the git repo.
Andrew-R

Andrew-R

2023-01-11 03:33

reporter   ~0005376

for git hash google pops up this idea:

https://gist.github.com/lindenb/3c7f0cc391749802a120

in makefile

githash.h:
        echo -n '#ifndef GIT_HASH\n#define GIT_HASH "' > $@ && \
        git rev-parse HEAD | tr -d "\n" >> $@ && \
        echo '"\n#endif' >> $@

then one can include this githash.h in our version.h (and not forgot to rm it on make clean.

I'll try this one

Issue History

Date Modified Username Field Change
2023-01-10 19:14 PhyllisSmith New Issue
2023-01-11 03:33 Andrew-R Note Added: 0005376
2023-01-11 16:51 PhyllisSmith Note Added: 0005378
2023-06-06 17:22 Andrew-R Note Added: 0005494