Skip to content

Instantly share code, notes, and snippets.

@erikvip
Last active September 14, 2020 08:52
Show Gist options
  • Save erikvip/2707dc693cef2408cb7f to your computer and use it in GitHub Desktop.
Save erikvip/2707dc693cef2408cb7f to your computer and use it in GitHub Desktop.
Patch source manually from apt-get package

Example for manually patching an apt-get package.

(In this case, the vlc browser plugin package)

sudo apt-get source browser-plugin-vlc
sudo apt-get build-dep browser-plugin-vlc
#( Make your source changes )
dpkg-source --commit
sudo debuild -i -us -uc -b

Ex, modify VLC default arguments

ppsz_argv[ppsz_argc++] = "-vvv";
ppsz_argv[ppsz_argc++] = "--video-filter=motiondetect";
ppsz_argv[ppsz_argc++] = "--logfile=/tmp/test.txt";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment