Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: fritzing parts missing and qt6 migration #21875

Open
knyipab opened this issue Oct 19, 2024 · 3 comments
Open

[Bug]: fritzing parts missing and qt6 migration #21875

knyipab opened this issue Oct 19, 2024 · 3 comments
Labels
bug report Something is not working properly untriaged

Comments

@knyipab
Copy link
Contributor

knyipab commented Oct 19, 2024

Problem description

Apart from #21873. There are two more issues regarding this package:

  1. fritzing parts are not available, making this package not so useful.
  2. newest version is 1.0.4 and it is qt6 ready, but the author does not release with git tags at all (for years). Still, provided that the rolling nature of termux-package, 1.0.4 should be packaged.

fritzing-parts is actually packaged by debian (partial or complete??) so probably safe to package for termux?
I drafted a fritzing-parts build script below as example. Still even with this package, fritzing is still not showing the parts normally.

TERMUX_PKG_HOMEPAGE=https://fritzing.org/
TERMUX_PKG_DESCRIPTION="An Electronic Design Automation software (parts files)"
TERMUX_PKG_LICENSE="custom"
TERMUX_PKG_LICENSE_FILE="LICENSE.txt"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.0.4
TERMUX_PKG_SRCURL=git+https://github.com/fritzing/fritzing-parts
TERMUX_PKG_GIT_BRANCH="$TERMUX_PKG_VERSION"
TERMUX_PKG_BUILD_IN_SRC=true
# TERMUX_PKG_AUTO_UPDATE=true
# TERMUX_PKG_UPDATE_METHOD=repology

termux_step_make_install() {
	mkdir -p $TERMUX_PREFIX/share/fritzing/parts
	cp -r $TERMUX_PKG_SRCDIR/* $TERMUX_PREFIX/share/fritzing/parts
}

What steps will reproduce the bug?

NA

What is the expected behavior?

No response

System information

Not relevant.
@knyipab knyipab added bug report Something is not working properly untriaged labels Oct 19, 2024
@Biswa96
Copy link
Member

Biswa96 commented Oct 19, 2024

Still even with this package, fritzing is still not showing the parts normally.

How to reproduce the issue?

@knyipab
Copy link
Contributor Author

knyipab commented Oct 19, 2024

After installing that draft fritzing-parts package (available in a previous build attempt), simply open the fritzing app. It will be able to find core.fzb. But prompting errors like this:

image

The parts panel shows some parts, but most of them are just missing:
image

@knyipab
Copy link
Contributor Author

knyipab commented Oct 19, 2024

Tried to compile 1.0.4 (https://github.com/knyipab/termux-packages/actions/runs/11417196131) but couldn't get rid of the boost version error after a number of attempts. including:

sed -i 's/	BOOSTS = 85/    BOOSTS = 43 44 45 46 47 48 49 50 51 52 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99/' pri/boostdetect.pri
export BOOST_ROOT=$TERMUX_PREFIX

Hope someone know how to fix that.

Fritzing now has paywall and the best way is probably to follow the approach by AUR: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fritzing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly untriaged
Projects
None yet
Development

No branches or pull requests

2 participants