Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Compiled MPV for Debian Wheezy / How to make .deb

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
mrkapqa
Posts: 181
Joined: 2014-04-22 08:30

Compiled MPV for Debian Wheezy / How to make .deb

#1 Post by mrkapqa »

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.

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

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

#2 Post by Bulkley »

Why? MPV is in all the Debian repositories including old stable so what's the point of doing your own compiling? Anything special?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

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

#3 Post by debiman »

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
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

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

#4 Post by None1975 »

mrkapqa wrote:Can i make a .deb file out of a compiled program or is this difficult?
Hello. Check this.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

donpine
Posts: 1
Joined: 2014-04-04 19:25

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

#5 Post by donpine »

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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

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

#6 Post by stevepusser »

Did you have to disable DRM for a recent MPV to build on Wheezy, and what else did you have to do?
MX Linux packager and developer

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

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

#7 Post by mrkapqa »

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: 181
Joined: 2014-04-22 08:30

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

#8 Post by mrkapqa »

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.)

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

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

#9 Post by stevepusser »

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.
MX Linux packager and developer


Post Reply