Debian :: Packaging Tarball Which Already Has A Directory?

Apr 4, 2011

I have an upstream source tarball which, by coincidence, already contains a directory named "debian", but which has nothing to do with the "debian" directory for packaging. Assume also that renaming this directory would be difficult, for example because many other parts of the code would need to be modified. On an rpm based system, this poses no problem to the packager, since the rpm build process is driven by an external spec file and never has to modify the original source. What would be the best way to package this on a debian system? Is it absolutely necessary to rename the original "debian" directory? Or can I make the dpkg build tools operate out of a different directory?

View 5 Replies


ADVERTISEMENT

Debian Programming :: Packaging A Qt Application?

Jan 3, 2009

I'm trying to package a Qt application using debuild. However, I can't figure out how to make qmake generate a correct Makefile.

The main problem is that the binary doesn't get put into ./usr/bin inside the .deb.

So dh_shlibdeps always fails and I get the following:

Code: Select alldpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}

The resulting debian package then has an empty "depends" field and no binary.

I used the Qt Hello World example application to start.

I changed debian/rules (generated by dh_make) so that it runs qmake as follows:

Code: Select all#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

[code]....

View 6 Replies View Related

Debian :: Packaging / Preinst Script And Version Checking

Oct 27, 2015

How can I use the preinst script to check to see if the version that is installed older than the version trying to be installed and if so, take an action?

For example: if the software installed is at a version less than 6.14 then take an action, else return 0?

preinst:
Code: Select allset -e
case "$1" in
  install|upgrade)
  # if version installed <6.14 then do something else return 0
    ;;

[Code] ....

View 0 Replies View Related

Debian Programming :: Packaging Shared Library With Python Wrapper

Apr 12, 2014

I have written a shared library and successfully used debhelper 9 to create a Debian package from source using a Makefile generated by cmake. I then went about writing a python wrapper to that library and wish to package that wrapper in with the library so I can have a single distributable rather than 2 separate ones.

All of my attempts so far have me placing my python source and a setup.py file in the same directory as the makefile at the time where I call debuild.

From here I have tried a couple different configurations to my debian/rules file as seen below:

Attempt 1:
# -*- makefile -*-
%:
dh $@ --with-python2 --buildsystem=python_distutils

This try seemed to package up the python stuff nicely but proceeded to ignore my makefile for the shared library and therefore ultimately failed.

Attempt 2:
# -*- makefile -*-
%:
dh $@ --with-python2

This try ran make, but completely ignored the python stuff. From some research I have gathered that the --buildsystem flag tells debuild to ignore any makefiles in the directory, which obviously causes a problem in my case.

Another attempt was to modify the build dependency to first run make and then call the python build process that file looked like this

Attempt 3:
# -*- makefile -*-

build:
dh $@
dh $@ --with-python2 --buildsystem=python_distutils
%:
dh $@ --with-python2 --buildsystem=python_distutils

This appears to somewhat work as both processes do build, but a few of the python files are still not getting installed.

Is this the way I should be going about doing this? I've noticed that most python wrappers tend to package themselves individually and then make that package dependent on the library it is attempting to wrap.

View 0 Replies View Related

General :: Tarball Does Not Uncompress In Debian 5.0

Sep 29, 2009

Upon attempting to uncompress a tarball with

Code:

View 3 Replies View Related

Ubuntu :: Where To Download Bluecurve Debian Tarball?

Jul 10, 2010

Is there any other site where I can download the Bluecurve Debian Tarball? When I try to download from the Freshmeat site it gives me a 404 not found. I search the site, and nothing. Can Anyone Help Please?

View 5 Replies View Related

Debian :: Tarball System Backup Always Corrupts Libc6-dev?

Aug 3, 2011

With tar, it is possible to back up your desktop system like so (probably best done from runlevel 1 or a live medium):

# cd / # or wherever your root directory is mounted
# tar --exclude=dev/* --exclude=proc/* --exclude=sys/* --exclude=tmp/* --exclude=backup.tar.gz -czvpf backup.tar.gz .

[code]....

View 4 Replies View Related

Fedora :: Where To Ask For Packaging Rpm's

Jun 17, 2011

I've been using Ubuntu so far. There is a system of launchpad repositories where there are lots of programs available that are not in official repo. I've already added rpm fusion but still I miss many programs that I had on Ubuntu. I found this page and I wonder where I can ask for making rpm's. I need several programs:

No package acidrip available.
No package bombono-dvd available.
No package cdcat available.

[code]....

I now that I can compile from source code but I'm new to linux and it's too difficult for me. I haven't even found program alien on Fedora that allows to install packages from other distributions.

View 8 Replies View Related

Ubuntu :: Packaging Project As A .deb File?

Apr 16, 2010

I have nearly completed a project.My team developed using C,shell scripts and qt.I would like to know how to package it as a .deb file??Also during installation,i want it to check for the existence of few packages in the system.If they are not there,i want it to download them using apt.

View 3 Replies View Related

Programming :: Regarding Packaging A Software Release?

Jan 20, 2010

I have a C++ application consisting of several source/header files. As part of the release management procedure, I use a shell script to package all necessary sources/headers in a tar file for a successful compilation on end-user site.However, for example, each time a new directory is created within application's source tree, I need to edit the shell script to implement necessary changes, which is error-prone.What is the best practice to package the source/header files of an application into a tar file ? Is there any tool that I can use for packaging purposes rather than writing my own shell scripts ? For example, how is Linux kernel itself packaged into a tar file ?

View 2 Replies View Related

Fedora :: Failed To Initialize Packaging Backend

Mar 16, 2010

Recently I started getting pop-up saying:

Code:
Failed to initialize
Failed to initialize packaging backend
This may occur if other packaging tools are being used simultaneously.
under more details i get:

Code:
There are unfinished transactions remaining. Please run yum-complete-transaction as root. I get to terminal, and as a root I try yum-complete-transaction, but it just says there are no unfinished transactions left. I tried to update thru yum, but this is what I get:

Code:
# yum update
Loaded plugins: fastestmirror, presto, refresh-packagekit
Determining fastest mirrors .....

After lots of googling, I tried:
"yum clean all",
"yum-comlete-transaction",
"rm -f /var/lib/rpm/__db*" + "rpm -vv --rebuilddb" + "yum clean all",

Everything else is working well, and I am able to update with "--skip-broken", but I keep getting this pop-ups. I use fedora 12.

View 5 Replies View Related

Networking :: Packaging A Traffic Shaper Project?

Oct 22, 2010

I have a SUSE Linux traffic shaper that can manage bandwidth usage per user and etc.for use it, we must configure LDAP server &client ,edit sudoerr's file, create mysql database with some tables� . Its interface is base on cgi&perl language . How do I package this project?
i don't know what part of proj is necessary for packaging (what is source code for creating a RPM package?)

View 1 Replies View Related

Fedora :: KPackageKit: Failed To Initialize Packaging Backend?

Feb 26, 2010

I have error in KPackageKit when i try to install anything or check for updates:

Failed to initialize packaging backend. This may occur if other packaging tools are being used simultaneously.

Details: There are unfinished transactions remaining. Please run yum-complete-transaction as root.

I don't know anything about other packaging tools - I think I don't using any. Yum works fine in terminal. Reinstall PackageKit and KPackageKit files doesn't helped me. I also try to rebuilt rpm db:

rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb
yum clean all

I'm using Fedora 12 x86_64.

View 12 Replies View Related

Ubuntu Installation :: Cannot Get The Exclusive Lock On The Packaging Backend

Jan 15, 2010

" p, li { white-space: pre-wrap; }Cannot get the exclusive lock on the packaging backend. Please close any other legacy packaging tools that may be open." I cannot update anything, and I haven't opened another package downloader. The only one open is KpackageKit. Please help, is this a big or have a I got a virus or something? I don't know what information is needed so if I need to expand tell me what I need to retrieve and ill post it.I'm not good with Kubuntu problems.

View 2 Replies View Related

CentOS 5 :: Restore Packaging System To An Usable State?

Jul 14, 2011

I've got a CentOS 5.2 installation with broken package system. When I try to do "yum update" I get lots of "Missing Dependency" errors. How could I restore it to a usable state?

View 6 Replies View Related

Ubuntu :: Opening Synaptic Packaging Manager - Command Not Found?

Feb 5, 2010

Attempting to upgrade Firefox to 3.6. On opening synaptic package manager I get :-

An error occurred
E: dpg was interrupted, you must run 'dpkg--configure-a' to correct the problem.
E:_cache->open()failed,please report.

On entering 'dpkg--configure-a' on terminal I get 'command not found.

View 5 Replies View Related

Fedora :: Software Update Error - Failed To Initialize The Packaging Backend

Mar 15, 2010

From the GUI, software update gives the error "Failed to Initialize - Failed to initialize the packaging backend. This may occur if other packaging tools are being used simultaneously." In the more details, "There are unfinished transactions remaining.

I run a terminal, switch to root and do as it tells me. It returns saying that there are no unfinished transactions. I've run it several times with the same result. Then I run "yum clean all" and "yum upgrade." The upgrade processes runs and reports "there are unfinished transactions..." However, the upgrade process still completes. Basically it is now a severe annoyance, but the system does seem to upgrade. I just cannot figure out why there are somehow unfinished transactions that I cannot get rid of. I tried reinitializing the rpm database - no luck. How can I somehow reset yum?

View 2 Replies View Related

Fedora :: 13 - LDFLAGS - Avoid Re-compiling The Source And Only Run The Rpm Packaging Stuff With The Already Built Things

Jul 19, 2010

I recently installed Fedora 13 on my system, and I'm still in the process of setting it up as I like. As the FCEU and snes9x versions on rpmfusion are old (fceultra 0.98, snes without GUI), I wanted to compile my own RPMs Everything went OK, but I found myself having to build the packages several times because of missing LDFLAGS. I got several errors like "symbol X missing, it was found on Y so you may want to add Y to the linker flags", which I fixed by modifying & exporting LDFLAGS.

So, 2 questions:

1.- why are the LDFLAGS missing? How can I avoid having to set them up manually?
2.- There should be a way to avoid re-compiling the source and only run the rpm packaging stuff with the already built things (some option like 'don't build, only package'). how can I do that?

BTW, I can share my (pretty much hacked) .spec files if you are interested

View 8 Replies View Related

Fedora :: How To Get D Rpm Or Tarball?

Mar 1, 2010

Read about Moksha & would love to install it on f12. how do i go about getting d rpm or tarball.

View 1 Replies View Related

General :: How To Install A Tarball

Feb 23, 2011

how to install a tar.gz file in Ubuntu. I just reinstalled Ubuntu from scratch, so I don't have any additional software.

View 5 Replies View Related

Fedora :: Configuring Homebank From The Tarball?

Aug 21, 2010

I am trying to install Homebank, a money manager. No problems untarring it. But I'm stuck on ./configure. When I run that command, I get this output:

Quote:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/Tom/Downloads/homebank-4.3/missing: Unknown `--run' option

[code]....

I'm guessing it's a simple matter of installing gtk and glib, but I just want to double check before I go any further.

View 4 Replies View Related

Fedora :: Installing Software From A Tarball?

Mar 9, 2011

using YUM to install an .rpm but I have a couple of bots of software that come only as a tarball- I am interested in the latest RC of Firefox as an example. Having downloaded a t tarball, how do I go about installing it in fedora

View 1 Replies View Related

Ubuntu :: How To Build Driver Tarball

Apr 4, 2010

my dads decided to try out ubuntu on his pc, so far everythings up and running smoothly. i am trying to get the video capture card working with tvtime. I have ran "lspci" in the terminal which has detected the following.

00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to PCI to CSA Bridge (rev 02)

[code]....

I get as far as "make KDIR=/path/to/kernel/source/tree" and got lost, i am running ubuntu 9.10. What do i put where =KDIR is?

View 3 Replies View Related

Ubuntu :: MD5 Checksum Tarball Contents?

Jul 22, 2011

I have a large tarball which is bz2 compressed, and I would like to get a md5 sum of the files contained in it, as I have a separate directory on another server containing what I think are the same files. I want to check to see if the tarballs files are the same as the uncompressed files on the remote server. The files are big 10gb+ so I was wondering if there was a quick way without having to uncompress them all and then md5 them.

View 4 Replies View Related

General :: Unable To Extract The Tarball

Mar 17, 2010

I need to extract a tarball but unfortunately this error occurred when I tried it

# tar zxvf toolchain.tar.gz
tar: Skipping to next header
gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1

[code]....

Is there a way that I can recover or extract the tarball? I tried to gunzip first but to no avail as well.

View 2 Replies View Related

Software :: Installing Aircrack-ng From Tarball?

Jun 18, 2010

i downloaded a souce tarball for aircrack-ng from linux, when i extract it and move the terminal to its directory and run make and make install it gives me errors like the following

Code:
>make
make -C src all
make[1]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src'
make -C osdep

[Code]...

as you can see by the little icon next to my penguin i am using fedora (goddard) but i want to know how to install this in several other distros other than fedora because tarballs are universal with linux distros and i wanna know how to install it without using the internet (just want to know how to install it from tarball)

View 7 Replies View Related

Software :: RPM - How To Package Binary Tarball

Nov 22, 2010

I'm trying to package Apache Tomcat binary tarball into a RPM package on CentOS 5.5. The idea is to package the tarball, extract it into /usr/local/, create a tomcat user, change permission on the /usr/local/tomcat install dir, copy the init startup script to /etc/init.d/

Since it's a binary/pre-compiled package, I don't need to compile the source codes.

View 2 Replies View Related

Programming :: Compile And Install From A Tarball?

May 2, 2011

I recently downloaded a tarball which contains a .src file for a program to convert .ttf fonts to .cxf fonts for use in Qcad drawings. how to compile and install this program in linuxmint 9 or ubuntu lucid. What I downloaded from the ribbonsoft.com website is a tarball called ttf2cxf-0.0.0.1-src.tar.gz. It contains a directory /ttf2cxf-0.0.0.1-src, which contains three files: main.cpp, Makefile, and ttf2cxf. I can post the contents of these files. This is not a high priority problem but i have been messing around with this for a while and have made no progress.

View 9 Replies View Related

Red Hat :: Nawk On CentOS 5.6 - Can't Find The Rpm Or Tarball

May 15, 2011

I am looking for nawk on CentOS 5.6 but so far can't find the rpm or tarball. Any input in locating a working copy.

View 4 Replies View Related

Fedora :: Building A Rpm From A Tarball Not Containing The Spec File?

Jun 29, 2011

I found that "autospec" can construct a spec file. But autospec-0.8-1 is not compatible with python 2.7.1 Moreover autospec seems to be considered as deprecated. Is there a more recent version or some other equivalent utility?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved