DEB Package
I've compiled a .deb. It's a Checkinstall, so it's really basic, but it
should work well enough until a real .deb is created.
Original issue reported on code.google.com by [email protected] on 15 Jan 2008 at 10:24
Attachments:
This might be a bug in checkinstall as it seems to include your
/var/cache/apt/pkgcache.bin file. A .deb for odvr really should be only about
100 KiB
or so.
Original comment by [email protected] on 15 Jan 2008 at 10:33
- Changed state: Accepted
Here's another one, using DebianPackageMaker (I really need to learn real
packaging).
The only bug is that you need to manually reload udev (I'll figure out how to
do that
soon, I hope).
Original comment by [email protected] on 16 Jan 2008 at 2:50
Attachments:
Ok, we're much closer now. The binary should be placed in /usr/bin instead of
/usr/local/bin, and there should be dependencies on libusb and libsndfile.
I'm a little unsure of how to properly build a package myself, but I'll do
anything
needed to help get one made.
Original comment by [email protected] on 16 Jan 2008 at 6:44
Really? The makefile told me to put it into /usr/local/bin:
install: odvr
install -o root -g root -m 755 odvr /usr/local/bin
Here's the next version with dependencies (libsndfile1 and and /usr/bin. It's
been
tested to work, even in my Ubuntu virtual machine (which is basically a vanilla
install).
Original comment by [email protected] on 16 Jan 2008 at 7:31
Attachments:
Normally the default prefix of freshly compiled source is /usr/local instead of
/usr.
That makefile needs a work-over anyway :P.
Anyway, that deb looks good enough for now. I'll keep this ticket to open as
it'd be
nice to have a proper deb building procedure.
Original comment by [email protected] on 16 Jan 2008 at 7:46
Definitely agree. I really need to try and learn some .deb skills...
Original comment by [email protected] on 16 Jan 2008 at 7:52
I finally learned some basic deb skills. Here's the result:
Original comment by [email protected] on 23 Jan 2008 at 3:58
Attachments:
Hey, that looks pretty good! Do you have a file and/or packaging procedure to do
this? I'd like to roll this into the source tarball.
Original comment by [email protected] on 23 Jan 2008 at 7:23
This is what I used to make it:
http://www.linuxdevices.com/articles/AT8047723203.html
It's still a fairly basic DEB, but it's better than checkinstall...
Original comment by [email protected] on 23 Jan 2008 at 7:26
Did you make those postinst and prerm scripts? Also, please attach the control
file
and releated. I'll pop it into the tarball.
Original comment by [email protected] on 23 Jan 2008 at 7:51
postinst and prerm? I didn't, but I didn't see the need to.
Here's the CONTROL.
Original comment by [email protected] on 23 Jan 2008 at 9:48
Attachments:
The package will need, at least, a postinst script. After installing a udev
rule,
we'll need to have udev reload to pick up the change. I can write it up.
Original comment by [email protected] on 23 Jan 2008 at 10:02
I just made a 0.1.3 release. Here's the postinst script. If you can, make a
i386 deb
and I'll put it up on the downloads page.
Original comment by [email protected] on 24 Jan 2008 at 8:43
Attachments:
Uh oh... now I can't make:
gcc -g -O2 -Wall -c -o olympusdvr.o olympusdvr.c
olympusdvr.c:23:21: error: sndfile.h: No such file or directory
olympusdvr.c:24:17: error: usb.h: No such file or directory
olympusdvr.c: In function ‘set_error’:
olympusdvr.c:63: warning: implicit declaration of function ‘vsnprintf’
olympusdvr.c: In function ‘find_odvr’:
olympusdvr.c:85: warning: implicit declaration of function ‘usb_get_busses’
olympusdvr.c:85: warning: assignment makes pointer from integer without a cast
olympusdvr.c:85: error: dereferencing pointer to incomplete type
olympusdvr.c:86: error: dereferencing pointer to incomplete type
olympusdvr.c:86: error: dereferencing pointer to incomplete type
olympusdvr.c:87: error: dereferencing pointer to incomplete type
olympusdvr.c:88: error: dereferencing pointer to incomplete type
olympusdvr.c: In function ‘trace_hexdump’:
olympusdvr.c:100: warning: implicit declaration of function ‘fprintf’
olympusdvr.c:100: warning: incompatible implicit declaration of built-in
function
‘fprintf’
olympusdvr.c:100: error: ‘stderr’ undeclared (first use in this function)
olympusdvr.c:100: error: (Each undeclared identifier is reported only once
olympusdvr.c:100: error: for each function it appears in.)
olympusdvr.c: In function ‘try_usb_bulk_write’:
olympusdvr.c:118: warning: implicit declaration of function ‘usb_bulk_write’
olympusdvr.c:125: warning: implicit declaration of function ‘usb_strerror’
olympusdvr.c: In function ‘try_usb_bulk_read’:
olympusdvr.c:140: warning: implicit declaration of function ‘usb_bulk_read’
olympusdvr.c: In function ‘odvr_open’:
olympusdvr.c:183: warning: implicit declaration of function ‘usb_init’
olympusdvr.c:184: warning: implicit declaration of function
‘usb_find_busses’
olympusdvr.c:186: warning: implicit declaration of function
‘usb_find_devices’
olympusdvr.c:190: warning: implicit declaration of function ‘usb_open’
olympusdvr.c:190: warning: assignment makes pointer from integer without a cast
olympusdvr.c:198: warning: implicit declaration of function
‘usb_claim_interface’
olympusdvr.c:201: warning: implicit declaration of function ‘usb_close’
olympusdvr.c: In function ‘odvr_close’:
olympusdvr.c:241: warning: implicit declaration of function ‘usb_reset’
olympusdvr.c: In function ‘odvr_reset’:
olympusdvr.c:274: warning: implicit declaration of function ‘usleep’
olympusdvr.c: In function ‘cmd_check’:
olympusdvr.c:296: warning: implicit declaration of function
‘usb_interrupt_read’
olympusdvr.c: In function ‘odvr_model’:
olympusdvr.c:367: warning: implicit declaration of function ‘snprintf’
olympusdvr.c:367: warning: incompatible implicit declaration of built-in
function
‘snprintf’
olympusdvr.c: In function ‘odvr_quality_name’:
olympusdvr.c:521: warning: incompatible implicit declaration of built-in
function
‘snprintf’
olympusdvr.c: In function ‘odvr_save_wav’:
olympusdvr.c:691: error: ‘SNDFILE’ undeclared (first use in this function)
olympusdvr.c:691: error: ‘out’ undeclared (first use in this function)
olympusdvr.c:692: error: ‘SF_INFO’ undeclared (first use in this function)
olympusdvr.c:692: error: expected ‘;’ before ‘out_fmt’
olympusdvr.c:703: error: ‘out_fmt’ undeclared (first use in this function)
olympusdvr.c:721: warning: implicit declaration of function
‘sf_format_check’
olympusdvr.c:727: warning: implicit declaration of function ‘sf_open_fd’
olympusdvr.c:727: error: ‘SFM_WRITE’ undeclared (first use in this function)
olympusdvr.c:737: warning: implicit declaration of function ‘sf_write_short’
olympusdvr.c:739: warning: implicit declaration of function ‘sf_close’
make: *** [olympusdvr.o] Error 1
Do you want a new ticket?
Original comment by [email protected] on 26 Jan 2008 at 1:46
The all target has not changed in the Makefile.
olympusdvr.c:23:21: error: sndfile.h: No such file or directory
olympusdvr.c:24:17: error: usb.h: No such file or directory
That suggests that you do not have the -dev packages installed for libusb and
libsndfile. Did you install these or move them around? Try:
$ find /usr/include -type f -iname 'usb.h'
Original comment by [email protected] on 26 Jan 2008 at 2:21
I feel REALLY REALLY stupid. I uninstalled them before, and forgot about it.
Here's the i386:
Original comment by [email protected] on 26 Jan 2008 at 2:31
Attachments:
Heh, that's alright. I'll be posting that deb shortly.
Original comment by [email protected] on 26 Jan 2008 at 2:46
There's a new release today. I'd like a x86 Ubuntu package if you're up for it
:-).
Original comment by [email protected] on 10 Apr 2008 at 1:20
New bugfix release this time. Post a package if you can :).
Original comment by [email protected] on 14 Apr 2008 at 11:05
I'll get on it (probably tomorrow) but ya may wanna change your deb thats up
now to
odvr-0.1.4.1_amd64.deb.
Original comment by [email protected] on 15 Apr 2008 at 12:28
Sorry, GCode was acting funky.
Original comment by [email protected] on 15 Apr 2008 at 10:04
Attachments:
Hello @ all,
can anybody make a new .deb package including the patch for vn2000-pc ?
Due to intellectual poblems ;-) i'am not able to compile it by myself.
Regards
Thomas Vill
Original comment by [email protected] on 10 Apr 2009 at 10:43
Hi Thomas,
you can find my take on creating deb-packages of odvr in my repository:
deb http://debian.sntech.de/debian/ sid main contrib
It consists of the two packages "odvr" and "odvr-sandec".
For odvr-sandec to work you will need the san_dec.dll (not included in the
package
for obvious copyright-reasons) in your
~/.wine/drive_c/windows/system32-directory.
Heiko
Original comment by [email protected] on 12 Apr 2009 at 4:26
Also, a .deb (or snap, nowadays) would be very useful, besides a GUI…