107 questions
0
votes
0
answers
409
views
How to set global BitBake variable in one task so that it will be noticable in another task?
I recently started to work with Yocto and now trying to understand how exactly "global" variables of some recipe work.
Till now I had a recipe as follows:
# my-recipe.bb
FILES_${PN} += "...
-1
votes
1
answer
328
views
How to package vips for distribution?
I am trying to package the vips repository for distribution so I can double-click on it and install it on any Mac OS version. On Windows, this is easy - I just have to put the folder containing the ...
1
vote
0
answers
114
views
Specify install directories, with PEP 517 installer
How can I specify, to a PEP 517 conformant installer, the directories where libraries and scripts should be installed?
Deprecated Setuptools installer does it right
Using python3 -m setup install --...
1
vote
0
answers
138
views
What is the java code to repackage by modifying the apk's smali code?
I'm trying to make a tool in java code that automatically triggers all events in android market app.
To do this, after decompiling the apk file, I try to slice all the events and add them to one main ...
0
votes
0
answers
99
views
What's going on with Go applications on PyPI?
Rather by accident I found myself in a situation in a previous role where the previous admin apparently installed "Python bindings" of InfluxDB and Docker-Compose and magically both ...
0
votes
1
answer
2k
views
How to distribute my python CLI scripting application?
I have a python script that uses CLI that I would like to package and share with the users of another team I am working with. Essentially, I was wondering what the best way would be to automate:
...
0
votes
2
answers
364
views
Combine resources into single binary [duplicate]
I have a program:
dist/
├── myapp
│ ├── bin
│ │ └── launcher
│ ├── lib
│ │ └── libmyapp.so
│ └── share
│ ├── data00.zip
│ └── data01.zip
What I want to do is combine all of ...
0
votes
1
answer
425
views
How should I package a PyInstaller onedir app for Linux?
For various reasons, I need to package a PyInstaller app in a "onedir" format (instead of the "onefile" format). The app works well and I can launch it by going into the "...
0
votes
1
answer
202
views
How to split `npm install` to two steps to perform offline builds?
I am trying to build an application requiring NPM on Open Build Service. When building the application locally, one of the steps is
cding into a directory containing package.lock and then running npm ...
1
vote
1
answer
202
views
Why nwjs updater is not wokking on macOS?
Basically, I tried to package an app using nwjs and also installed nwjs updater as mentioned in documentations.
For window it creates an .exe file and after installation if there is any update the ...
0
votes
0
answers
1k
views
Error stating 'found conflicts between different versions of "System.Core" that could not be resolved', would anyone know how to fix this?
I'm trying to build a C# WinForms App in VS 2019 and after packaging, I'm getting an error stating 'found conflicts between different versions of "System.Core" that could not be resolved'. I ...
1
vote
0
answers
391
views
Packaging a Java Swing Application in IntelliJ Idea as a platform independent app
I've made a small desktop Java Swing App and decided I want to make it readily available for my non-technical friends (or anyone else I want to show it to) to install on their computer (regardless of ...
0
votes
0
answers
190
views
Unable to generate a MSIX package for a .Net Core 3.1 WPF app with reference to CefSharp.WPF due to dependency on .NET Framework 4.5.2
I have made a simple WPF app that uses cefSharp.wcf. I am trying to create a deployment package, but I cannot get the package to build. When I try and build the package I get the following errors :
...
2
votes
0
answers
63
views
How Can I Efficiently Compress a Kivy Windows Package With Several Dependencies Into a Single .EXE?
So, I've created a build for my Kivy app with PyInstaller that stores all of its dependencies into a folder in /dist/ and that can be executed from within that folder. This is about as far as Kivy's ...
0
votes
1
answer
529
views
CPack Deb generator exclude files/targets
I'm trying to build a C++ Project with CMake that contains a shared library (Lua) , the problem I'm having is that I only want to ship the Packages with Lua when building a Tar.gz for Linux or an NSIS ...
0
votes
1
answer
524
views
WXU 3.0.5 not found with the latest version of wxgtk 3.0
So I'm packaging darkradiant as a pacman package. But when I execute darkradiant on the terminal it complains:
darkradiant: /usr/lib/libwx_gtk3u_core-3.0.so.0: version `WXU_3.0.5'
not found (...
0
votes
1
answer
190
views
How to create installation script for app build on node.js, which include installation of dump of data base (mongo) , installation of camunda server?
I am trying to build an installation script for an app which made on node.js. As of now, I have to manually install the database dump, run Mongo server, npm packages and run Camunda server. So, is ...
1
vote
1
answer
201
views
Bundle multiple independent but related python tools in one big app
I having been looking to find ways to achieve this but couldn't find one.
I have multiple python scripts some of them are preprocessing utility tools, some performs data analysis and some of creates ...
0
votes
1
answer
48
views
Best place to temporarily hold files while packaging software
I am looking for what is considered best practice when temporarily storing files and/or directories when generating an AppImage or packaging software. I am looking for a location that is not ...
1
vote
1
answer
2k
views
Run a binary executable from a JAR for AWS Lambda
I need to run wdiff from a JAR file. Locally, I do this by invoking a process that runs either the wdiff binary manually installed on a Linux server or a wdiff.exe located in a convenient nearby ...
0
votes
1
answer
853
views
debuild - dependencies set but without version
Lets say I have the following package: zs-boost_1.71.0_armhf.deb. This is custom package that installs boost 1.71 to some custom location (assume /opt/deps).
I also have project that uses this ...
0
votes
1
answer
410
views
setup.exe installer capture to msi with answer files for setup.exe
Complete new to msi packaging, just played a little bit with orca and a few repackagers for testing so that would be it.
I have a setup installer which I capture to a msi package.
Yet I want to ...
5
votes
2
answers
2k
views
Why should foo-config.cmake and foo-config-version.cmake be separate?
In talks by Daniel Pfeiffer (Effective CMake) and by Deniz Bahadir (More Modern CMake), and even in the CMake documentation, it is suggested that (at least) to .cmake files be generated for using a ...
1
vote
0
answers
696
views
makefile into debian package, copy files and directories recursively
I realized that with debian/rules
override_dh_auto_install:
dh_auto_install -- prefix=/usr
it's impossible to get a file copied into the directory structure of the debian package with the cp ...
0
votes
1
answer
592
views
How to create a deb binary package for a project that depends on unsupported versions of official packages
I'd like to create a deb package for an application so that it can be conveniently installed and updated on Debian and Ubuntu systems. However, the application depends on newer releases of some common ...
3
votes
0
answers
655
views
Distribute Django App in portable file (windows .exe file for example)
I have a Django App and I would like to distribute my App for Windows, Mac and Linux users.
I have read that Pyinstaller can help me to package my App but I dont know how to create portable App which ...
1
vote
2
answers
526
views
How to build FreeBSD pkg from python app with an rc.d script?
I have a python app with its setup.py that's working just fine to install it through setuptools. I am then packaging it up in DEB and PKGNG using the excellent Effing package management. I've also ...
12
votes
1
answer
20k
views
How to static linking to glibc in cmake
I'm trying to build a package from Fedora that can run on a RedHat 6 machine. So I need to build and static linking with some library that does not exist in RedHat machine.
I found that I can you -...
0
votes
1
answer
270
views
Packaging Multiple Python Files
I currently am using this guide to package up my project wasp. However currently everything lives inside of the wasp file.
That's not ideal. I would rather have all the classes in separate files so ...
0
votes
1
answer
67
views
Conditionally include dist directory with NPM module
I have an NPM package that can be used with the browser. But in order to use it in the browser, I pre-package it using Webpack and put the browserified code in the /dist directory.
Normally, I don't ...
21
votes
2
answers
65k
views
An example of using FILES_${PN}
I have a trouble of understanding the FILES_${PN} even after I have read the manual. For example, I was working on this example of making startup script. After I wrote something similar to, I got ...
0
votes
1
answer
265
views
React.js - Prevent Webpack from packing CSS files
How can I prevent Webpack from packing CSS files more than ones? My team are developing an app in React.js with the following architecture:
Each component has a CSS file, and we need Webpack will ...
1
vote
1
answer
86
views
Windows server 2012 URI showing undefined in a file path in IE
I have a software package which has following components.
AngularJS client end
Windows service on the server end.
There is a functionality I have - When client requests for a report, I generate it ...
0
votes
1
answer
229
views
How to make sure to start SQL Server before the windows service in a software package
I have a software package which has web, windows service, and SQL Server components.
I need to make sure that SQL Server is up and running before the service starts - when the machine starts/reboots.
...
2
votes
1
answer
278
views
ScalaJS fastOptJS and start script with sbt-native-packager
I'm working on a classic ScalaJS with Scalatags... app using the cross build approach:
<root folder>
- client
- project
- server
- shared
- build.sbt
It works fine running sbt re-start or sbt ...
2
votes
0
answers
231
views
Debian packaging - Why MD5sums changed?
I have an application consisting in two differents war plus some conf files that i'm packaging in a debian package.
When i'm typing "md5sum warname.war" in a console i have a md5sum hash ...
4
votes
2
answers
6k
views
Adding binary files to Jenkins pipeline build?
What is the best way to add existing binary files to a Jenkins pipeline build?
I have a Python script that wraps around an existing closed source binary exe file. Because it's not possible to include ...
1
vote
0
answers
41
views
What does “packaging” refer to in the software Deployment process?
From what I understand the deployment process consists of these steps.
Compiling, linking/packaging, deploying.
What does the packaging refer to? is that just a reference to packaging the object ...
7
votes
3
answers
20k
views
How to edit a wheel package (.whl)?
I have a python wheel package, when extracted I find some python code, I'd like to edit this code and re-generate the same .whl package again and test it to see the edits .. How do I do that?
7
votes
3
answers
11k
views
How can I convert a package to an exe using pyinstaller?
I've got an open source python command line program that runs on Python 2.7, Python3+, and is cross platform.
I'm trying to package it up into an executable for my windows users more easily. The ...
6
votes
0
answers
2k
views
SSL: CERTIFICATE_VERIFY_FAILED when registering in pypitest
I've followed Peter Down's instruction on pushing a package to PyPI on http://peterdowns.com/posts/first-time-with-pypi.html
I have an account on PyPI Live and PyPI Test, I could log-in and the ...
0
votes
2
answers
98
views
Is it possible to package Selenium test cases into a runnable appliction
I am creating selenium test to test a web app. I also want to be able to use these test cases as a way for non technical users to automate the first few steps of the process. ~Is this possible?
0
votes
1
answer
2k
views
How do I publish a .rar using maven?
I have a very simple project which I want to be packaged as a .rar. Now, I'm using the maven-rar-plugin, and that works perfectly locally. When I package, I get my .rar and it's what I want. However, ...
0
votes
1
answer
27
views
Removing Postgresql as dependency while software packaging
I have written a code in Python that I want to turn into a Ubuntu PPA so that everyone can download it and use it.
For storing data, I used postgresql rather than files as it provides me a structure ...
1
vote
3
answers
57
views
How to install a second/third/python on my system?
How can I install (on Linux) a plain Python distribution to e.g. /opt/myPythonProject/python? When I afterwards install packages (e.g. pip) all packages should go in /opt/myPythonProject. It should ...
1
vote
0
answers
1k
views
Packaging and deploying a self-contained Python app
I have a bunch of Python scripts that I want to deploy to other machines. Thing is, I want to have everything self-contained and not depend on the other machines' libraries. For example I don't want ...
18
votes
3
answers
18k
views
Define Version with script in RPM spec file
I have an RPM Spec file, building on rhel7 with rpmbuild, where I would like to define the Version with a script.
I read here http://www.techrepublic.com/article/rpmproc-spec-file/ , That I can do ...
8
votes
1
answer
7k
views
Install entire folder and files in it, RPM spec file
I have a spec file to build an rpm package, in my %install section I have this:
%install
install -m 700 foo/bar/filesToCopy/. $RPM_BUILD_ROOT/
The filesToCopy folder is a tree exactly how the ...
0
votes
1
answer
469
views
from which version std::regex is available in libstdc++
I have written a tool in C++ which uses c++11 features. It uses std::regex to provide regex functionality.
It requires GCC (>=4.9.0) to compile the code.
This is the error message on a Ubuntu system ...
2
votes
1
answer
10k
views
dpkg-checkbuilddeps: Unmet build dependencies
I am trying to build my debian package using dpkg-buildpackage in automatic manner. This is my workflow:
dpkg-buildpackage || (yes | mk-build-deps -i && dpkg-buildpackage)
This ...