GithubHelp home page GithubHelp logo

deevad / compilscripts Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 5.0 290 KB

( Unmaintained ) Old script to compile Krita, Mypaint, and Vc lib

License: GNU General Public License v3.0

Shell 100.00%

compilscripts's People

Contributors

deevad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

compilscripts's Issues

Vc is impossible to uninstall

VC installer shows the option to remove but if selected it states that is doesn't uninstall. It may be small, but I don't like leaving files linger around If I can avoid it.

On the build directory of vc there is file called "install_manifest.txt" it lists all files installed by Vc. To unisntall the script could

"cat install_manifest.txt | xargs rm"

Error Logs Put files into script folder

having tmp files is good for things to forget, but for error logs might be a good idea to keep them around.

compile messages are not always useless but everything is a bit too much.
I would save all messages to the compilscripts folder. For that I found a good solution on the web. I tried to adapt to be smaller, but It didn't quite work so I leave it as I found it

  • Get script directory
    scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  • Log errors
    make -j$numCores 2>> $project_error.log
  • Log everything
    make -j$numCores 1>> /tmp/$project_log.log 2>> $scriptDir/$project_error.log

That logs in a very basic way. Maybe a developer could help us get a better solution.

Open terminal on double click

I have no idea if this will work on every system but on xfce it I call the terminal with the "-e" flag I get the terminal running the script.

The flag also works with "aterm", probably it would be a good idea to check with terminals are available, using "which" or some sort of bash witchcraft

The command
if [ $TERM != "xterm" ] ; then terminal -e "$(pwd)/krita-install.sh" ; fi

I placed it before the line containing
"# Script version"

This word on xfce. when I double click in thunar it launches the terminal with the script running.

*UPDATE: on my machine I erased "xterm" in favor of "aterm", so the comment below won't work on my particular gentoo customization but It could be a safe bet to use "xterm" as the comment below states because i explicitly removed xterm"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.