Please learn how to distribute packages
Please learn how to distribute packages
Enough is enough. I get tired of having to build makemkv every #$%^&*() time you have a minor release.
Please do what every other software distributor knows how to do: build a package and put it in a repo.
It takes about 2-4 hours work. ENOUGH IS ENOUGH. DO IT and stop wasting our time!
Please do what every other software distributor knows how to do: build a package and put it in a repo.
It takes about 2-4 hours work. ENOUGH IS ENOUGH. DO IT and stop wasting our time!
Re: Please learn how to distribute packages
There is also the question of, "Which particular package manager?"
Handbrake is standardizing on Flatpak. But that's one of a dozen different POPULAR Linux package formats out there, and dozens more that are less popular. And some of those are distribution-specific, or there is the occasional one that some distribution refuses to support.
Handbrake is standardizing on Flatpak. But that's one of a dozen different POPULAR Linux package formats out there, and dozens more that are less popular. And some of those are distribution-specific, or there is the occasional one that some distribution refuses to support.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
Re: Please learn how to distribute packages
Really, 2-4 hours of work???
Let's look at the real numbers. Done from my Linux Mint laptop (I didn't include download time, as you'd have to download regardless of how it's distributed):
Code: Select all
brian@auton ~/Downloads/makemkv-oss-1.15.2 $ time ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libffabi/src/ffabicfg.h
config.status: executing libtool commands
real 0m3.584s
user 0m2.646s
sys 0m0.902s
Code: Select all
brian@auton ~/Downloads/makemkv-oss-1.15.2 $ time make
mkdir -p out
gcc -g -O2 -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libdriveio.so.0.full -I./libdriveio/inc libdriveio/src/infolist.cpp libdriveio/src/scsihlp.cpp libdriveio/src/srlist.cpp libdriveio/src/stdquery.cpp libdriveio/src/tipclient.cpp libdriveio/src/tipcommon.cpp libdriveio/src/tipserver.cpp \
-fPIC -Xlinker -dy -Xlinker --version-script=libdriveio/src/libdriveio.vers \
-Xlinker -soname=libdriveio.so.0 -lc -lstdc++
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/libdriveio.so.0.full out/libdriveio.so.0
mkdir -p tmp
...
gcc -g -O2 -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libmmbd.so.0.full -I./makemkvgui/inc -I./libmmbd/inc -I./libdriveio/inc \
-I./libmakemkv/inc -I./sstring/inc -I./libabi/inc makemkvgui/src/client.cpp makemkvgui/src/marshall.cpp libmmbd/src/marmmbd.cpp libmmbd/src/nstring.cpp libmmbd/src/mmbd.cpp libmmbd/src/mmconn.cpp libmmbd/src/mmbdipc.cpp libmmbd/src/utf8.cpp libmmbd/src/aacs.cpp libmmbd/src/bdplus.cpp libmmbd/src/crypto_ossl.cpp makemkvgui/src/api_posix.cpp makemkvgui/src/api_linux.cpp makemkvgui/src/sem_posix.cpp makemkvgui/src/spawn_posix.cpp sstring/src/sstring.cpp \
libdriveio/src/srlist.cpp \
-fPIC -Xlinker -dy -Xlinker --version-script=libmmbd/src/libmmbd.vers \
-Xlinker -soname=libmmbd.so.0 -lc -lstdc++ -lrt -lpthread -lcrypto
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/libmmbd.so.0.full out/libmmbd.so.0
type "sudo make install" to install
real 1m16.507s
user 1m9.645s
sys 0m6.334s
Code: Select all
brian@auton ~/Downloads/makemkv-oss-1.15.2 $ time sudo make install
[sudo] password for brian:
/usr/bin/install -c -D -m 644 out/libdriveio.so.0 /usr/lib/libdriveio.so.0
/usr/bin/install -c -D -m 644 out/libmakemkv.so.1 /usr/lib/libmakemkv.so.1
...
/usr/bin/install -c -D -m 644 makemkvgui/share/icons/128x128/makemkv.png /usr/share/icons/hicolor/128x128/apps/makemkv.png
/usr/bin/install -c -D -m 644 makemkvgui/share/icons/256x256/makemkv.png /usr/share/icons/hicolor/256x256/apps/makemkv.png
real 0m6.408s
user 0m0.164s
sys 0m0.787s
So building/installing the OSS part took a total of 1 minute 26.499 seconds
Code: Select all
brian@auton ~/Downloads/makemkv-bin-1.15.2 $ time sudo make install
rm -f /usr/bin/makemkvcon
rm -f /usr/bin/mmdtsdec
...
cd /usr/bin && ln -s -f makemkvcon sdftool
real 0m0.067s
user 0m0.043s
sys 0m0.018s
So why it it taking you 'hours' to do this?
Re: Please learn how to distribute packages
and I'm just thankful it all works... I've never done this before, so forgive me... Maybe we can simplify the decision for Mike et al.
So what are the issues here?
Select a package manager... can it be consistent across all linux platforms?
Is the licensing an issue when this is packaged?
What other issues are there that need to be considered before this can just be deployed through a package manager?
Learning currve
automation
Support issues?
So what are the issues here?
Select a package manager... can it be consistent across all linux platforms?
Is the licensing an issue when this is packaged?
What other issues are there that need to be considered before this can just be deployed through a package manager?
Learning currve
automation
Support issues?
-
- Posts: 3
- Joined: Mon Sep 05, 2016 3:18 am
Re: Please learn how to distribute packages
You can also use this PPA for Ubuntu and MAYBE Debian systems.
https://launchpad.net/~heyarje/+archive ... kemkv-beta
https://launchpad.net/~heyarje/+archive ... kemkv-beta
-
- Posts: 5
- Joined: Fri Sep 18, 2020 10:23 am
Re: Please learn how to distribute packages
@OP: If you're that lazy, use a script: https://gist.github.com/mdPlusPlus/b110 ... 6b5bce4dc6
Re: Please learn how to distribute packages
I try not to say anything on a forum that might offend someone, but I can't bite my tongue on this one.
Building makemkv for Linux is trivial. If you're not up to the task, you probably should be running
Windows or MacOS. If you can't do that, get your distribution's providers to put makemkv
in their repositories for you. Let Mike work on stuff that matters.
Building makemkv for Linux is trivial. If you're not up to the task, you probably should be running
Windows or MacOS. If you can't do that, get your distribution's providers to put makemkv
in their repositories for you. Let Mike work on stuff that matters.
Re: Please learn how to distribute packages
It is a bit doubtful many distributions would even consider adding MakeMKV to their repositories, simply because of the commercial nature. Many won't touch anything that isn't 100% GPL-compatible, which excludes MakeMKV.
A lot of distributions would no allow for patched libraries - Check out the handbrake list of known broken builds, where everything is GPLv2 compatible, but the packagers still deliberately use incompatible libraries.
A lot of distributions would no allow for patched libraries - Check out the handbrake list of known broken builds, where everything is GPLv2 compatible, but the packagers still deliberately use incompatible libraries.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
Re: Please learn how to distribute packages
RPMs are available for OpenSuse on Packman. I would assume they would be also available for Redhat.
Re: Please learn how to distribute packages
I was almost going to say that in my response... The first build can be a little daunting as you have to get the right build environment setup, but once that's done each new release is a simple process.
Since the OP has never responded, (s)he looks like a troll(ett).
Re: Please learn how to distribute packages
We've got it included in our main repo just fine with Gentoo, quick glance it looks like Ubuntu and Fedora aren't that hard either. Not sure which OS the OP is talking about here.
Re: Please learn how to distribute packages
I see that 1.15.3 is out, so I decided to waste several hours of my life installing it.
Once downloaded and extracted it took me 1 minute, 14 seconds.
Once downloaded and extracted it took me 1 minute, 14 seconds.
Re: Please learn how to distribute packages
Instructions unclear, set PC on fire and was attacked by Dingo.