packaging

Using 3rd Party SDK and Finder doesn't finish compressing the app file. Any idea what's wrong?

I found this 3rd party SDK and I used it in my project. Everything compiles, works great and builds with no warnings... Before I was getting a warning saying that the CodeResources file needs to be a symbolic link...it's gone now but I think that it still has something to do with this problem... As soon as I try to compress the app fil...

Ubuntu: how to make apt-get/synaptic work for own application

We are developing a (closed-source) Java application and think about possibilities to update the software automatically on the user's machines. Fortunately, for nearly all Linux systems there exist package managers. We don't think it would be useful to add our application to the common repositories for several reasons, but how to create ...

How to configure default paths in Jammit ?

Hi, I have a Jammit gem installed. I want to configure it a little: it must pack all the stuff into "public/assets_cache" folder, so, the packaged stuff will not make clutter in "public/assets", that has all .js and .css files. I have followed documentation here and here environment.rb is: require "Jammit" ... config.gem "jammit" ...

maven project documentation

Hi, I have a maven project that has both code and documentation (pdf files). When I create a release of my software, I'd like to package the jar file and the documentation for the user. Is there a "correct" way to do this in maven? Should I have a multiple modules - one for the code (it's a small project, so the code is a single module r...

Prevent creation of conffiles

I'm trying to build a package which has some files under /etc that are not configuration. They are included in the conffiles automatically even if I create an empty package.conffiles in the debian directory. How can I stop dh_installdeb from doing that? ...

Directory Structure for a Small Library

So I wrote a fun little extension method library while trying out c# and c# closures(smalltalk style ifTrue,ifFalse and timesRepeat). I was thinking of putting this on some code sharing site but am unsure of what sort of directory structure it should have(tests,library,license,ect.). Also should I include compiled dlls? Bonus points i...

Where to manually install python files

I'm having trouble with setuptools in a larger project where a python package has to be "constructed" from several debian packages (each containing a subpackage of the "main" package). Thus we decided to install the files manully instead of using "setup.py install", but we are unsure of the location to use. We first used a directory in /...

ant: Need help packaging an EJB and its dependencies into an EAR

My goal is pretty simple: to use ant to build an EAR which contains 1 EJB and 1 jar containing all of the dependencies. This jar, called common.jar for the sake of example has vendor jar files in it as well as other xml files that the EJB depends on and will need to be able to see during runtime.... So far I have everything packaged cor...

What's the best layout for a python command line application?

What is the right way (or I'll settle for a good way) to lay out a command line python application of moderate complexity? I've created a python project skeleton using paster, which gave me a few files to start with: myproj/__init__.py MyProj.egg-info/ dependency_links.txt entry_points.txt PKG-INFO SOURCES.txt top_level.txt zip-s...

How to depends of a system command with python/distutils?

Hi, I'm looking for the most elegant way to notify users of my library that they need a specific unix command to ensure that it will works... When is the bet time for my lib to raise an error: Installation ? When my app call the command ? At the import of my lib ? both? And also how should you detect that the command is missing (if ...

Are there any tools for modifying INI style files from shell script

I'm building a custom package of vnc and would like to ensure the xdcmp settings of GDM are enabled in the package post install script. The gdm.conf file is an ini style one, i.e.: [section] var=name And the value I want to set has name clashes in different sections throughout the config file. Are there any tools that allow for easy m...

What's the difference between a regular Android APK and one included as part of a device's system image ?

We have a manufacturer that wants to pre-install our application on their Android device. We sent them the APK and even though it installs fine when used by a user, it appears to not get installed correctly when included in the manufacturer's build image. FYI, our application uses the JNI layer and some libraries built with NDK. The exce...

How to full expand variables in autoconf?

In this example: configure.ac: ... AC_CONFIG_FILES([script1]) AC_OUTPUT script1.in: #!/bin/bash ... config=@datadir@/blah This @datadir@ is expanded to ${prefix}/share, is there any way to expand it to /usr/local/share? ...

How can I include file names that have '!' characters in packages created with EPM?

I'm packaging up some javascript using epm(1) on freebsd, and some of the doc files have ! characters, which causes packaging to fail: pkg_create -z -p / -s /tmp/release-xXkrY9/checkout -c pkg/advanis_9166_saas_advanisweb+www.comment -d pkg/advanis_9166_saas_advanisweb+www.descr -f pkg/advanis_9166_saas_advanisweb+www.plist advanis_9166...

Adding tests to sdist, but not installing

Hi, I'd like to add tests to the sdist package in my setuptools distribution, but I don't want them installed / in bdist. I already have: setup( ... packages = find_packages(exclude='tests'), test_suite = "tests", ... ) But currently the tests/* are always included. How can I change that? ...

How to post-install something using GNU Automake?

I want to setup symlinks and add some lines to system configuration files, I think I should do these jobs in some post-install manner. Makefile.am: bin_SCRIPTS = a a1 a1: ln -snf a a1 This does work but it copies a to a1 in the bindir, while a1 is created as a symlink in the build dir. I'd also want to modify some system co...

Packaging proprietary software for Linux

Hi, I'm doing cross-platform development and I want to build a nice, self-contained (!) package for Linux. I know that that's not the way it's usually done, but the application requires all data in one place, so I'm installing it into /opt, like many other proprietary software packages do. I will eventually provide deb and rpm packages,...

Bundler: `bundle package` with a :git source

I'm trying to get my app to package my gems before deployment (to heroku) One of my gems in my Gemfile is a custom gem that I've written and I'm using the :git option of bundler to use the specific tag of my interest as such: gem "my_gem", :git => "[email protected]:my_username/my_gem.git", :tag => "v0.1.0" When I run bundle package how...

Do I need *.egg-info directories when using setuptools/distribute to create a python package

I have a "standard" python package layout like this: setup.py - using setuptools README src/moduleA test/ However, when I execute setup.py it decides to create the directory src/moduleA.egg-info. The question is, do I need to worry about the contents of this directory and check it in with the rest of my code, or should I just rely ...

Running a Clojure program

say i create a program in clojure and i have to deliver it to a client. the client does have some computer knowledge but he does not know/want to start the repl, load my program, and run it. he wants to double click an exe file or run a shell script how do i package my program and deliver (the program itself with the clojure jars) ? ...