Opened 9 years ago

Closed 8 years ago

#37861 closed submission (wontfix)

submission: auto-multiple-choice-devel @1.1.1.1294 Design of MCQ tests with automated correction and grading

Reported by: nortcele Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: x11 education Cc: clot@…, nortcele
Port: auto-multiple-choice-revel

Description

Here is a port file to build Auto Multiple Choice directly from the developer's subversion depot.

An auto-multiple-choice port build on the 1.1.1 version of Auto Multiple Choice is allready available in MacPorts. The developer version use a more recent code base that solve important problems.

To function, this port depends on ports that need to be updated:

  • p5-class-load (ticket #37752),
  • p5-email-mime (itcket #37779).

It depends on port to be added to MacPorts:

  • p5-email-abstract (ticket #37753),
  • p5-role-tiny (ticket #37754),
  • p5-moo (ticket #37755),
  • p5-moox-types-mooselike (ticket #37756),
  • p5-strictures (ticket #37757),
  • p5-throwable (ticket #37758),
  • p5-email-sender (ticket #37759).

This port was tested with OS X 10.8.2, XCode 4.6, MacPorts 2.1.2.

Attachments (1)

Portfile (3.7 KB) - added by nortcele 9 years ago.
auto-multiple-choice-devel portfile (1.2.1 svn revision 1451)

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by nortcele

Cc: Joel.Brogniart@… added

Cc Me!

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Thanks. Some comments:

  • The modeline and $Id$ lines should not be removed (see "port lint"); the port should conform to the modeline (you've added some lines whose whitespace does not conform)
  • The maintainer line should not be removed (see "port lint"). Please indicate who the maintainer will be. If there will not be a maintainer, use "nomaintainer". It would be advantageous to have the same person(s) maintaining auto-multiple-choice and auto-multiple-choice-devel; Denis, are you willing to do so?
  • If you're going to be calling gdk-pixbuf-query-loaders in post-activate, you should have gdk-pixbuf2 in depends_run
  • Could you explain the reasons behind changing from GraphicsMagick to ImageMagick?
  • I'd be in favor of simplifying the pre-build block to just:
    pre-build {
        system -W ${worksrcpath} "${build.cmd} version_files"
    }
    

comment:3 in reply to:  2 Changed 9 years ago by nortcele

Replying to ryandesign@…:

Thanks. Some comments:

  • The modeline and $Id$ lines should not be removed (see "port lint"); the port should conform to the modeline (you've added some lines whose whitespace does not conform)

I put back the original lines from auto-multiple-choice port file and hope to have correct whitespaces now.

  • The maintainer line should not be removed (see "port lint"). Please indicate who the maintainer will be. If there will not be a maintainer, use "nomaintainer". It would be advantageous to have the same person(s) maintaining auto-multiple-choice and auto-multiple-choice-devel; Denis, are you willing to do so?
  • If you're going to be calling gdk-pixbuf-query-loaders in post-activate, you should have gdk-pixbuf2 in depends_run

Updated.

  • Could you explain the reasons behind changing from GraphicsMagick to ImageMagick?

I can't remember exactly. It was a so long road for me (so many thinks to understand). The original dependence was on GaphicsMagick, but as I recall, the perl module wasn't working (or building or existent) so I changed to p5-perlmagick.

  • I'd be in favor of simplifying the pre-build block to just:
    pre-build {
        system -W ${worksrcpath} "${build.cmd} version_files"
    }
    

Yes, it's really simpler. I changed it.

New version of port file coming. Thanks for your help.

comment:4 Changed 9 years ago by nortcele

I tryed to install the port on OS X 10.7.5 after having uninstalled all ports. It failed when compiling parts with opencv dependencies. After updating Xcode to version 4.6 and uninstalled again all ports, the installation worked. I don't know if it is the appropriate place for such remarks.

comment:5 Changed 9 years ago by nortcele

Update portfile to Auto-Multiple-Choice svn revision 1361. The port was tested with OS X 10.8.3, XCode 4.6.1, MacPorts 2.1.3. Tested also with OS X 10.7.5, XCode 4.6.1, MacPorts 2.1.3.

comment:6 Changed 9 years ago by nortcele

Update portfile to Auto-Multiple-Choice 1.2.0 svn revision 1374. The port was tested with OS X 10.8.3, XCode 4.6.2, MacPorts 2.1.3. Tested also with OS X 10.7.5, XCode 4.6.2, MacPorts 2.1.3.

Changed 9 years ago by nortcele

Attachment: Portfile added

auto-multiple-choice-devel portfile (1.2.1 svn revision 1451)

comment:7 Changed 8 years ago by nortcele

This ticket could be closed as a developer version is not really needed. Local port version is enough.

comment:8 Changed 8 years ago by dbevans (David B. Evans)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.