这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@MrAdityaAlok
Copy link
Member

@MrAdityaAlok MrAdityaAlok commented Apr 8, 2025

Updated patch common-rconfiguration.cc.patch:

  • The previous patch used to store configuration at
    TERMUX_PREFIX/etc/synaptic (why?)

  • Now as assumed by the application, it is stored at ~/.config/synaptic
    or XDG_CONFIG_HOME/synaptic (if set). The old configuration will
    automatically be moved to the new location.

  • Since /tmp and /log is created inside config directory, we need
    not patch them.

Closes: #24160

Signed-off-by: Aditya Alok alok@termux.dev

@TomJo2000
Copy link
Member

TomJo2000 commented May 5, 2025

  • Sorry I just now saw this PR while working on synaptic as part of [DO NOT MERGE] [TRACKER] Apt 3.1.x #24212,
    how did you solve the:
    configure: error: You need the apt-pkg headers installed to compile synaptic.
    issue?
    Or did I just do something catastrophically wrong to cause that on my end.

Edit: Actually I'm fairly sure that issue is caused by me building against Apt 3.0.1 on that branch.

The headers still exist in the same place as before though.
image

@MrAdityaAlok MrAdityaAlok force-pushed the update-synaptic branch 2 times, most recently from f4b3877 to 3da1806 Compare May 29, 2025 18:05
* Updated patch `common-rconfiguration.cc.patch`:

- The previous patch used to store configuration at
  `TERMUX_PREFIX/etc/synaptic` (why?)

- Removed patch for `getpwuid`. It was added to ndk: https://github.com/termux/termux-packages/blob/master/ndk-patches%2F27c%2Fpwd.h.patch

- Now as assumed by the application, it is stored at `~/.config/synaptic`
  or `XDG_CONFIG_HOME/synaptic` (if set). The old configuration will
  automatically be moved to the new location.

- Since `/tmp` and `/log` is created inside config directory, we need
  not patch them.

Signed-off-by: Aditya Alok <alok@termux.dev>
@MrAdityaAlok MrAdityaAlok merged commit af68bf1 into master May 29, 2025
9 checks passed
@MrAdityaAlok MrAdityaAlok deleted the update-synaptic branch May 29, 2025 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto update failing for synaptic

3 participants