Public bug reported:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
Package: mgp
Version: 1.13a+upstream20090219-11
Priority: optional
Section: universe/x11
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Original-Maintainer: Thorsten Glaser <t...@mirbsd.de>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug

mgpembed is a tool to embed media in an mgp project. It is part of the
mgp package.

Since it is very old, written in old style perl, it doesn't work anymore (code 
rot).
This is the output when running:

$ mgpembed
syntax error at /usr/bin/mgpembed line 24, near "do Getopts("
syntax error at /usr/bin/mgpembed line 27, near "do usage("
syntax error at /usr/bin/mgpembed line 47, near "do readfile("
syntax error at /usr/bin/mgpembed line 119, near "do readfile("
Execution of /usr/bin/mgpembed aborted due to compilation errors.

I have had to tinker a bit with an already existing patch to replace a
few lines in the code and I got it to work.

I tested and attached the patch.
Hopefully it is of any help.

** Affects: mgp (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "patch for mgpembed"
   
https://bugs.launchpad.net/bugs/1910302/+attachment/5449581/+files/mgpembed.patch

** Package changed: ghex (Ubuntu) => mgp (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910302

Title:
  [mgp] mgpembed not working b/c old perl code, here is a patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mgp/+bug/1910302/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to