Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18247 closed submission (fixed)

gavl 1.1.0

Reported by: jm@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: nerdling (Jeremy Lavergne)
Port: gavl

Description

Dear friends,

This is part of a collaboration work to publish packages for Kdenlive and MLT video editor under MacOsX.

I am not running MacOsX and only operating on a distant computer offered by a MacPorts user. So don't blame me if there are errors in the port file. I am using GNU/Debian Linux, with little experience in MacOsX. But I hope that Mac users can benefit from our video editor.

The first dependency is gavl. Please find attached the portfile.

Attachments (6)

Portfile (1.4 KB) - added by jm@… 15 years ago.
Portfile.2 (1.4 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
fixed PortSystem and depends_build
Portfile.3 (1.4 KB) - added by jm@… 15 years ago.
Final portfile, I hope. Kind regards.
Portfile.4 (1.6 KB) - added by dbevans (David B. Evans) 15 years ago.
Portfile with proposed changes (rev 4) (corrected typos)
Portfile.5 (1.6 KB) - added by jm@… 15 years ago.
Please find attached gavl library only. I was not able to test the port file because my remote MacOsX computer is stuck compiling KDE4 and I don't know if MacPorts supports multiple builds at the same time.
Portfile.6 (1.6 KB) - added by jm@… 15 years ago.
This includes your fixes, but without libpng. I could not find any libpng requirement, not in the configure script or in the Debian packages. Feel free to commit anything after modifiation and validation. I am new to MacOsX and don't know enough to make good choices. Kind regards, Jean-Michel

Download all attachments as: .zip

Change History (24)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Milestone: Port EnhancementsPort Submissions
Port: gavl added

I gave it a brief look. The master_sites should not be a complete URL. The "gavl-1.1.0.tar.gz" part should be removed from it. Macports will look for that by default. See the dist_name property in the guide.

comment:2 Changed 15 years ago by jm@…

Thanks. I updated the Portfile.

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

I downloaded this and attempted to build it. I received an error…

configure: error: Doxygen not found, use --without-doxygen to disable documentation generation

This should probably be added as a prerequisite or disabled in configure.

Also, please note that the PortSystem line is incorrect — check other portfiles or view the documentation.

comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

Changed 15 years ago by jm@…

Attachment: Portfile added

comment:5 Changed 15 years ago by jm@…

Please find attached a new port file. I hope that it will suit your needs. Kind regards, Jean-Michel

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

You should probably not have two entries in maintainers that refer to yourself -- one is sufficient. The entry jmpoure expands to jmpoure@… and should only be used if you have applied for and been assigned this handle. Otherwise you should use the other.

comment:7 Changed 15 years ago by nerdling (Jeremy Lavergne)

On your latest portfile: Failed to parse file multimedia/gavl/Portfile: invalid command name "requires_build"

The options available are: depends_lib depends_build and depends_run

I presume the second is what you want to use, like so:

depends_build port:doxygen \ port:pkgconfig

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: Portfile.2 added

fixed PortSystem and depends_build

comment:8 Changed 15 years ago by jm@…

Thanks. You can use jmpoure handle. I will maintain these packages.

Changed 15 years ago by jm@…

Attachment: Portfile.3 added

Final portfile, I hope. Kind regards.

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

Owner: changed from macports-tickets@… to devans@…

In the interest of getting this port committed for you, attached is a slightly modified version of your Portfile which builds for me and addresses a few small details:

  • the description and long description have been slightly modified based on the home page text so they are consistent with each other
  • modified master_sites to use the built in sourceforge mirror list
  • the configure file attempts to autocheck for the existence of libpng but fails to do so correctly. Have temporarily added the --disable-libpng configure flag to bypass this check until the root cause can be determined. When the problem is fixed this flag can be removed and a dependency on libpng added.
  • port livecheck fails. Have added a line to specify a livecheck regex that will work for this package.

Will commit with these changes if you approve.

Changed 15 years ago by dbevans (David B. Evans)

Attachment: Portfile.4 added

Portfile with proposed changes (rev 4) (corrected typos)

comment:10 Changed 15 years ago by jm@…

Dear Devans,

You script is fetching gmerlin framework: http://gmerlin.sourceforge.net In our case, gavl is only a subset of gmerlin and is available from here: http://gmerlin.sourceforge.net/gavl_frame.html

I looked at Debian for a better understanding of the packages and it seems that gmerlin links against gavl. In Debian GNU/Linux, these are two seperate packages.

Gmerlin has tons of dependencies, where gavl only depends on libc6.

Here is the content of gavl on my system: sudo port -v contents gavl Port gavl contains:

/opt/local/include/gavl/gavl.h /opt/local/include/gavl/gavl_version.h /opt/local/include/gavl/gavldsp.h /opt/local/include/gavl/gavltime.h /opt/local/include/gavl/timecode.h /opt/local/lib/libgavl.1.0.0.dylib /opt/local/lib/libgavl.1.dylib /opt/local/lib/libgavl.dylib /opt/local/lib/libgavl.la /opt/local/lib/pkgconfig/gavl.pc /opt/local/share/doc/gavl/apiref/annotated.html /opt/local/share/doc/gavl/apiref/classes.html /opt/local/share/doc/gavl/apiref/dir_868cbe44938bee287b53e0210d8f6bed.html /opt/local/share/doc/gavl/apiref/dir_a8a792f4a8decab148ee30a509ad5330.html /opt/local/share/doc/gavl/apiref/dirs.html /opt/local/share/doc/gavl/apiref/doxygen.css /opt/local/share/doc/gavl/apiref/doxygen.png /opt/local/share/doc/gavl/apiref/files.html /opt/local/share/doc/gavl/apiref/functions.html /opt/local/share/doc/gavl/apiref/functions_vars.html /opt/local/share/doc/gavl/apiref/gavl_8h-source.html /opt/local/share/doc/gavl/apiref/gavl_8h.html /opt/local/share/doc/gavl/apiref/gavldsp_8h-source.html /opt/local/share/doc/gavl/apiref/gavltime_8h-source.html /opt/local/share/doc/gavl/apiref/globals.html /opt/local/share/doc/gavl/apiref/globals_defs.html /opt/local/share/doc/gavl/apiref/globals_enum.html /opt/local/share/doc/gavl/apiref/globals_eval.html /opt/local/share/doc/gavl/apiref/globals_func.html /opt/local/share/doc/gavl/apiref/globals_type.html /opt/local/share/doc/gavl/apiref/groupaccelflags.html /opt/local/share/doc/gavl/apiref/groupaudio.html /opt/local/share/doc/gavl/apiref/groupaudioconversionflags.html /opt/local/share/doc/gavl/apiref/groupaudioconverter.html /opt/local/share/doc/gavl/apiref/groupaudioformat.html /opt/local/share/doc/gavl/apiref/groupaudioframe.html /opt/local/share/doc/gavl/apiref/groupaudiooptions.html /opt/local/share/doc/gavl/apiref/groupdsp.html /opt/local/share/doc/gavl/apiref/groupdsputils.html /opt/local/share/doc/gavl/apiref/grouppeakdetection.html /opt/local/share/doc/gavl/apiref/groupquality.html /opt/local/share/doc/gavl/apiref/grouprectangle.html /opt/local/share/doc/gavl/apiref/grouptime.html /opt/local/share/doc/gavl/apiref/grouptimecode.html /opt/local/share/doc/gavl/apiref/grouptimer.html /opt/local/share/doc/gavl/apiref/groupvideo.html /opt/local/share/doc/gavl/apiref/groupvideoblend.html /opt/local/share/doc/gavl/apiref/groupvideoconversionflags.html /opt/local/share/doc/gavl/apiref/groupvideoconverter.html /opt/local/share/doc/gavl/apiref/groupvideodeinterlacer.html /opt/local/share/doc/gavl/apiref/groupvideoformat.html /opt/local/share/doc/gavl/apiref/groupvideoframe.html /opt/local/share/doc/gavl/apiref/groupvideooptions.html /opt/local/share/doc/gavl/apiref/groupvideoscaler.html /opt/local/share/doc/gavl/apiref/groupvideotransform.html /opt/local/share/doc/gavl/apiref/groupvolumecontrol.html /opt/local/share/doc/gavl/apiref/index.html /opt/local/share/doc/gavl/apiref/modules.html /opt/local/share/doc/gavl/apiref/structgavlaudioformatt.html /opt/local/share/doc/gavl/apiref/structgavlaudioframet.html /opt/local/share/doc/gavl/apiref/structgavldspfuncst.html /opt/local/share/doc/gavl/apiref/structgavloverlayt.html /opt/local/share/doc/gavl/apiref/structgavlrectangleft.html /opt/local/share/doc/gavl/apiref/structgavlrectangleit.html /opt/local/share/doc/gavl/apiref/structgavltimecodeformatt.html /opt/local/share/doc/gavl/apiref/structgavlvideoformats.html /opt/local/share/doc/gavl/apiref/structgavlvideoframet.html /opt/local/share/doc/gavl/apiref/tab_b.gif /opt/local/share/doc/gavl/apiref/tab_l.gif /opt/local/share/doc/gavl/apiref/tab_r.gif /opt/local/share/doc/gavl/apiref/tabs.css /opt/local/share/doc/gavl/apiref/timecode_8h-source.html /opt/local/share/doc/gavl/apiref/uniongavlaudiochannelst.html /opt/local/share/doc/gavl/apiref/uniongavlaudiosamplest.html

Could you verify if gavl is a subset of gmerlin? In this case, we will need to rename the package gmerlin and write every single dependency. And there are more than 10 minimum.

Kind regards, Jean-Michel

comment:11 Changed 15 years ago by jm@…

Sorry, I shoul be using wikiformatting.

comment:12 Changed 15 years ago by jm@…

Maybe we should rename the package gmerlin and we should be using this all-in-one package :

http://sourceforge.net/project/showfiles.php?group_id=19684&package_id=151778

comment:13 Changed 15 years ago by jm@…

I looked at dependencies, there are way too many. Example under Debian GNU/Linux: musicbrainz, libpulse, libquicktime, libxv, etc ...

The best is to stick to my portfile.3 with your additions, but compile gavl and not gmerlin.

comment:14 Changed 15 years ago by nerdling (Jeremy Lavergne)

Some of the dependencies might already be inherited.

Other packages have a fair amount of deps, such as gtk2. It has 23 on its own, plus all the things that need included to meet their requirements.

Changed 15 years ago by jm@…

Attachment: Portfile.5 added

Please find attached gavl library only. I was not able to test the port file because my remote MacOsX computer is stuck compiling KDE4 and I don't know if MacPorts supports multiple builds at the same time.

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

Concerning the change on the master_sites line, this line fetches from the same URL that you previously specified but will substitute the host name from a list of mirrors choosing the one that has the smallest ping time. The master-sites value is a directory to fetch from, the file name fetched is the same.

Your Porfile.5 won't work because there is no gavl sf project -- its part of gmerlin.

Changed 15 years ago by jm@…

Attachment: Portfile.6 added

This includes your fixes, but without libpng. I could not find any libpng requirement, not in the configure script or in the Debian packages. Feel free to commit anything after modifiation and validation. I am new to MacOsX and don't know enough to make good choices. Kind regards, Jean-Michel

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

Resolution: fixed
Status: newclosed

Committed Portfile.6 in r46326. The result is the same, no libpng support because configure fails to indentify libpng. I was using the flag as a reminder that something was missing.

comment:17 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:18 Changed 15 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.