Git Product home page Git Product logo

Comments (10)

gcasa avatar gcasa commented on June 26, 2024

The GNUSTEP_USER_ROOT environment setting is inherited by any process started by the dock. I can't even run ProjectCenter when started by GWorkspace. If you can find another way other than what I did, I would very much appreciate it.

from apps-projectcenter.

gcasa avatar gcasa commented on June 26, 2024

https://www.windowmaker.org/news/ this shows that the variable was being set by wmaker and has changed.

from apps-projectcenter.

gcasa avatar gcasa commented on June 26, 2024

https://www.mail-archive.com/[email protected]/msg1664042.html

from apps-projectcenter.

gcasa avatar gcasa commented on June 26, 2024

@rmottola This is not an issue with my local setup. This will happen on EVERY SINGLE INSTANCE OF WMAKER before 0.95.9 unless we make a change to fix it. Yes, it's kludgy, but it's not something that can be fixed OTHERWISE and it is not good to release a version of PC which will not work when being started from the dock. Yes, you and I understand why it's a kludge, but an average user just wants it to work and unless something like this is done, it won't.

This is not an instance of me fixing my local environment by changing the app. As documented above, it is a problem with the wmaker executable.

from apps-projectcenter.

gcasa avatar gcasa commented on June 26, 2024

I have created a PR with some updates to my previous changes and an informative comment. Once 0.95.9 (the version which uses WMAKER_USER_ROOT instead of GNUSTEP_USER_ROOT) is in common use, we should remove it.

from apps-projectcenter.

gcasa avatar gcasa commented on June 26, 2024

There are only two other solutions to this problem.

  1. always start PC from the command line (this is untenable unless we document it and it's dumb since we are supposed to run also from the dock)
  2. wait years until Debian updates to the latest version of WindowMaker.

Both of these are not good answers to this issue right now.

from apps-projectcenter.

rmottola avatar rmottola commented on June 26, 2024

The problem is twofold: a spurious variable and copying over the environment. In your patch you copy over the whole environment and remove a variable.
This is not needed, since copying over the whole environment is not needed. As explained repeatedly, the GNUSTEP_USER_ROOT was just an indication of a bad patch, not the problem itself.

I am using WindowMaker 0.95.9. I docked ProjectCenter and I can launch it and build... without your patch, I mean your whole patch. This proves that copying over the environment is not needed at all and all is fine! This is why I refused the whole pull-request and did not request a single-line fix.

from apps-projectcenter.

rmottola avatar rmottola commented on June 26, 2024

There are only two other solutions to this problem.

1. always start PC from the command line (this is untenable unless we document it and it's dumb since we are supposed to run also from the dock)

2. wait years until Debian updates to the latest version of WindowMaker.

Both of these are not good answers to this issue right now.

You must start from the command line - the patch is just a small fix of a big issue. With a "broken" windowmaker, just launch xterm when docked and it will contain the "bad" variable and a build on the command-line fails, without even invoking ProjectCenter. Once you have it, you can launch a second xterm from the first xterm and it will retain the broken environment. This is not only true for a dock, but also for menu-items.

So essentially, the old windowmaker is incompatible with "semi-recent" gnustep make. It has been finally resolved.

Depending on the way you configure and source GNUstep.sh you may not notice this, because GNUstep.sh cleans - so if you source it in xinit startup, you notice the issue, if not and start it manually at every shell, it is hidden (but then docking apps should not work for you either with the GNUstep-style library installation).

There is no solution to this problem specific to project center - the only solution is either debian updates or it at least backports the specific patch.

Broader said: old windowmaker is incompatible with any gnustep make launched from any dock, menu and any terminal used. Would you like to patch every single terminal? No.. so no patch fro ProjectCenter either.

from apps-projectcenter.

gcasa avatar gcasa commented on June 26, 2024

I have updated to the latest windowmaker so i am good. The issue is as broad as you say. The issue is should we do something for existing users?

from apps-projectcenter.

gcasa avatar gcasa commented on June 26, 2024

Wmaker changed to use WMAKER_USER_ROOT instead of GNUSTEP_USER_ROOT. This resolves the issue in the latest release of wmaker 0.95.9

from apps-projectcenter.

Related Issues (9)

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.