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: 97
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: 5704
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: 3064
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 Stretch / WM: FVWM
Debian Wiki | DontBreakDebian, My config files in github
User avatar
None1975
 
Posts: 750
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: Flightgear 2018.2.2, 4.19.13 kernel, wine-staging 4.0~rc4, Stellarium 0.18.3, VLC 3.0.5, Midori 7.0
User avatar
stevepusser
 
Posts: 10437
Joined: 2009-10-06 05:53

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

Postby mrkapqa » 2018-12-09 08:45

yes, i had to disable it , plus git checkout libass ,



git clone https://github.com/mpv-player/mpv-build.git
cd mpv-build
./update
./clean
cd libass
git checkout 9a2b38e8f5957418362e86b525f72794565deedd
cd ..
echo --disable-drm >> mpv_options
./build -j2
sudo ./build install
mrkapqa
 
Posts: 97
Joined: 2014-04-22 08:30

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

Postby mrkapqa » 2018-12-09 08:49

Thank you for your answers , i currently upgraded to Stretch and on older T60 i am using Lubuntu 14.04 (with Alsa only) so no Debian wheezy atm .
The Debian build for mpv is not functioning properly on Jessie , with Stretch it is ok. /(Best bet is to use Debian Multimedia for Mpv , and with L(ubuntu) to use PPA.)
mrkapqa
 
Posts: 97
Joined: 2014-04-22 08:30

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

Postby stevepusser » 2018-12-09 19:54

If there's a Trusty version in the PPA, odds are high that it can be rebuilt from the PPA sources for Wheezy, but might require some extra tweaks.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.13 kernel, wine-staging 4.0~rc4, Stellarium 0.18.3, VLC 3.0.5, Midori 7.0
User avatar
stevepusser
 
Posts: 10437
Joined: 2009-10-06 05:53

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

Postby mrkapqa » 2018-12-09 20:08

mrkapqa
 
Posts: 97
Joined: 2014-04-22 08:30


Return to General Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable