Comments (5)
- --socket=x11
Unless you're forcing XCB QPA platform in the application or using ngspice's X11 plotting, it should have instead
--socket=fallback-x11
--socket=wayland
Please read the standard permission section.
- name: ngspice
build-options:
strip: true
This means that you're throwing away ngspice's symbols, instead of extracting them and moving into a separate .Debug
extension.
In fact, due to flatpak-builder
bug, this actually remove symbols from everything that is already in $FLATPAK_DEST
.
And last, this is obviously missing an AppStream MetaInfo, which will be needed for Flathub submission. Please see the documentation here, the AppStream MetaInfo Creator, and the Appstream section in App Requirements wiki page.
from qucs_s.
I have recently started the generation of the Flatpak manifest for Qucs-S. I didn't find a way to launch an external application from system /usr
from the flatpak. Therefore I decided to include the ngspice into the Flatpak package. The qucsator has dependency on ADMS that depends on Perl modules. And therefore the adding of the qucsator into the Flatpak is not a straightforward task. So I decided to restrict the Flatpak version of the Qucs-S by Ngspice support only. The manifest draft could be found here: https://github.com/ra3xdh/qucs_scripts/blob/master/FLATPAK/com.github.ra3xdh.qucs-s.yaml
from qucs_s.
The qucsator has dependency on ADMS that depends on Perl modules. And therefore the adding of the qucsator into the Flatpak is not a straightforward task.
@ra3xdh you can use flatpak-cpan-generator.pl.
I packaged ADMS with QUCS like this
- name: adms
config-opts:
- --enable-maintainer-mode
- PERL5LIB=/app/lib/perl5
make-args:
- PERL5LIB=/app/lib/perl5
sources:
- type: archive
url: https://github.com/Qucs/ADMS/archive/release-2.3.7.tar.gz
sha256: 0d24f645d7ce0daa447af1b0cff1123047f3b73cc41cf403650f469721f95173
modules:
- name: perl-dependencies
buildsystem: simple
build-options:
env:
- PERL5LIB=/app/lib/perl5
build-commands:
- perl-libs/install.sh
post-install:
# workaround for cpanm acting silly and installs files without write permission
- find /app -type f ! -perm -0200 -exec chmod u+w '{}' \;
sources:
- perl-dependencies-sources.json
- type: shell
commands:
# fix the generated install.sh to avoid having it try to install into /usr
- sed -e 's|\(perl Makefile.PL\).* \&\& \(make install\).*|\1 INSTALL_BASE=/app \&\& \2|' -e
's|\(perl Build.PL\) \&\&|\1 --install_base=/app \&\&|' -i perl-libs/install.sh
And perl-dependencies-sources.json
was generated by running
$ flatpak-cpan-generator.pl --output perl-dependencies-sources.json XML::LibXML
from qucs_s.
I updated the example ADMS
packaging to work with the latest revision of flatpak-cpan-generator.pl
.
from qucs_s.
Is flatpak qucs-s support up to date ?
from qucs_s.
Related Issues (20)
- Nutmeg Scripting for Power Amplifier Wingspread Analysis HOT 4
- QUCS-S 2.1.0: Tuner Slider Bug HOT 2
- Backward schematic compatibility HOT 4
- Schematic Editor: Deactivate/Activate of Blocks Does Not Work Consistent HOT 2
- Tuner Slider Does Not Handle Numbers and Units in .PARAM Block Correctly HOT 1
- Provide an option to disable transient model for RF port HOT 9
- Add entry field for external model for Verilog-A HOT 5
- New Regulators.lib HOT 1
- False error reported? HOT 6
- Qucs-S 24.1-7df03e9 - Yet Another Tuner Slider Bug HOT 3
- net name restrictions HOT 1
- Tuner Slider GUI Window Size Scaling Issue HOT 3
- Identifying missing Spice model prior to sending netlist to ngspice HOT 1
- Loudspeaker model for Qucs-S HOT 2
- Schematic Editor: Netnames Are Not Moved inside Object Group HOT 1
- ngspice % done readout HOT 2
- Missing https://download.opensuse.org/repositories/home:/ra3xdh/Fedora_39/ HOT 1
- Angelov HEMT model HOT 4
- Schematic Editor: View All -> wrong scaling HOT 5
- Schematic Editor: Nutmeg script parser does not "Find all variables" if terms in brackets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qucs_s.