Compiled MPV for Debian Wheezy / How to make .deb

If none of the more specific forums is the right place to ask

Compiled MPV for Debian Wheezy / How to make .deb

Postby mrkapqa » 2018-05-25 23:29

Hello ,

i did compile a program i like to use on my laptop very often;

now i would like to "save" it for future use on other laptop withouth the need of compiling the program there again.

Is this possible?
Can i make a .deb file out of a compiled program or is this difficult?

The program in question is MPV and was being built using mpv-build scripts.


thank you very much for your help and inputs.
mrkapqa
 
Posts: 79
Joined: 2014-04-22 08:30

Re: Compiled MPV for Debian Wheezy / How to make .deb

Postby Bulkley » 2018-05-26 01:43

Why? MPV is in all the Debian repositories including old stable so what's the point of doing your own compiling? Anything special?
Bulkley
 
Posts: 5598
Joined: 2006-02-11 18:35

Re: Compiled MPV for Debian Wheezy / How to make .deb

Postby debiman » 2018-05-26 07:39

Bulkley wrote:what's the point of doing your own compiling?

i assume op compiled a much newer version of mpv.
this matters in the case of mpv, because it has been under very heavy development in recent years. the version in wheezy is likely next to useless.

that said, i think the debian wiki has an article on creating debs.
User avatar
debiman
 
Posts: 2586
Joined: 2013-03-12 07:18

Re: Compiled MPV for Debian Wheezy / How to make .deb

Postby None1975 » 2018-05-26 14:32

mrkapqa wrote:Can i make a .deb file out of a compiled program or is this difficult?

Hello. Check this.
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 549
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Compiled MPV for Debian Wheezy / How to make .deb

Postby donpine » 2018-06-06 02:32

It sounds like "checkinstall" would be perfect for what you want to do:

https://wiki.debian.org/CheckInstall

https://www.linux.com/learn/easy-packag ... eckinstall

I just learned of it recently and it worked like a charm in installing my compiled package to my bevy of laptops.
donpine
 
Posts: 1
Joined: 2014-04-04 19:25

Re: Compiled MPV for Debian Wheezy / How to make .deb

Postby stevepusser » 2018-06-06 20:04

Did you have to disable DRM for a recent MPV to build on Wheezy, and what else did you have to do?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 27.9.4, wine-staging 3.13, MPC-QT 18.03, Linux kernel 4.17.8, ffmpeg 4.0.2
User avatar
stevepusser
 
Posts: 9793
Joined: 2009-10-06 05:53


Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable