From owner-freebsd-ports@FreeBSD.ORG Mon Sep 22 18:19:35 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B695E106566C for ; Mon, 22 Sep 2008 18:19:35 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 3AC228FC0C for ; Mon, 22 Sep 2008 18:19:35 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Khpel-0007XX-K8; Mon, 22 Sep 2008 21:57:07 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 0E1F311FE7; Mon, 22 Sep 2008 21:57:30 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 203221702F; Mon, 22 Sep 2008 21:57:08 +0400 (MSD) Date: Mon, 22 Sep 2008 21:57:08 +0400 From: Dmitry Marakasov To: Thomas Donnelly Message-ID: <20080922175707.GA22933@hades.panopticon> References: <48D7843D.6080609@aol.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <48D7843D.6080609@aol.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: ports@FreeBSD.org Subject: Re: audio/Mixxx X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 18:19:35 -0000 * Thomas Donnelly (tad1214@aol.com) wrote: > I noticed that there is no longer a maintainer of this port. It is quite > a few versions old now (1.4.2, now up to 1.6.0) and I was curious if it > was going to be updated. I would be willing to maintain this port, but I > feel it is out of my technical capabilities. I am unable to build the > 1.6.0 version from source with quite a few errors and I am not > completely sure what the previous maintainer did to get it working. I > did try emailing the previous maintainer, but I am not expecting a > response due to his no longer maintaining the port. Actually, if you're going to maintain it, you should at be least able to build it. If you can't build it yet, that's easily fixable :) I've made a draft port for 1.6.0-beta2, you can use it for reference. It compiles fine, but I didn't ran it yet. The main changes I had to make for it to compile are: SConstruct: fix include/lib paths: +env.Prepend(CPPPATH=["/usr/local/include/qt4/Qt", "/usr/local/include/portaudio2", "/usr/local/include"]) +env.Prepend(LIBPATH=["/usr/local/lib/qt4", "/usr/local/lib/portaudio2", "/usr/local/lib"]) please note the order, it is crucial (as well as using Prepend instead of Append). mixxx includes Qt stuff as #include , so it should search in /usr/local/include/qt4/Qt _before_ /usr/local/include, or it will pick up qt3 includes instead. Same for portaudio2 - include/portaudio2 should come before /usr/local/include, or includes for old portaudio v18 will be picked (audio/portaudio = v18, audio/portaudio2 = v19 which we need). Other changes to SConstruct include disabling linux-specific stuff like ALSA and uncompatible input handlers and making it respect CC/CXX/CFLAGS/CXXFLAGS set by Ports Collection. Other two patches under files/ are for removing linux-specific input stuff as well, and additional REINPLACE_CMD's in post-patch are for fixing includes for FreeBSD: endian.h->sys/endian.h and malloc.h->stdlib.h and getting rid of qt4-linguist dependency we don't actually need. The port is ready to be committed as it is (I've checked it to be buildable 6.x/7.x/8.x i386/amd64), but you should at least test it and ensure that it works well. Maybe some other things should be fixed. For instance, I'm concerned about it's usability after removing linux-specific audio and input stuff. Is it of any use without MIDI (MIDI throught ALSA is unavailable, and I'm not sure if portaudio supports MIDI on its own) and support for input devices (joysticks, MIDI keyboards etc.)? Patch can be found here: http://people.freebsd.org/~amdmi3/mixxx.diff -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru