BSDBuild-SVN | 10 Apr 2013 05:55
Favicon

BSDBuild: r1006 - trunk/BSDBuild

Author: vedge
Date: 2013-04-09 22:55:12 -0500 (Tue, 09 Apr 2013)
New Revision: 1006

Modified:
   trunk/BSDBuild/clock_win32.pm
Log:
fix winmm test, thanks Dirkson!

Modified: trunk/BSDBuild/clock_win32.pm
===================================================================
--- trunk/BSDBuild/clock_win32.pm	2013-03-14 03:42:06 UTC (rev 1005)
+++ trunk/BSDBuild/clock_win32.pm	2013-04-10 03:55:12 UTC (rev 1006)
 <at>  <at>  -40,7 +40,7  <at>  <at> 
 #endif
 	t0 = timeGetTime();
 	Sleep(1);
-	return (to != 0) ? 0 : 1;
+	return (t0 != 0) ? 0 : 1;
 }
 EOF
BSDBuild-SVN | 14 Mar 2013 04:42
Favicon

BSDBuild: r1005 - trunk/BSDBuild

Author: vedge
Date: 2013-03-13 22:42:06 -0500 (Wed, 13 Mar 2013)
New Revision: 1005

Modified:
   trunk/BSDBuild/clock_win32.pm
Log:
prevent -Wunused-but-set warning

Modified: trunk/BSDBuild/clock_win32.pm
===================================================================
--- trunk/BSDBuild/clock_win32.pm	2013-01-23 01:40:30 UTC (rev 1004)
+++ trunk/BSDBuild/clock_win32.pm	2013-03-14 03:42:06 UTC (rev 1005)
 <at>  <at>  -40,7 +40,7  <at>  <at> 
 #endif
 	t0 = timeGetTime();
 	Sleep(1);
-	return (0);
+	return (to != 0) ? 0 : 1;
 }
 EOF
BSDBuild-SVN | 23 Jan 2013 02:40
Favicon

BSDBuild: r1004 - trunk/BSDBuild

Author: vedge
Date: 2013-01-22 20:40:30 -0500 (Tue, 22 Jan 2013)
New Revision: 1004

Added:
   trunk/BSDBuild/freesg-rg.pm
Removed:
   trunk/BSDBuild/agar-rg.pm
Modified:
   trunk/BSDBuild/Makefile
Log:
+ freesg-rg

Modified: trunk/BSDBuild/Makefile
===================================================================
--- trunk/BSDBuild/Makefile	2013-01-17 14:54:05 UTC (rev 1003)
+++ trunk/BSDBuild/Makefile	2013-01-23 01:40:30 UTC (rev 1004)
 <at>  <at>  -48,7 +48,6  <at>  <at> 
 	free_null.pm \
 	agar.pm \
 	agar-core.pm \
-	agar-rg.pm \
 	agar-vg.pm \
 	agar-dev.pm \
 	agar-au.pm \
 <at>  <at>  -77,6 +76,7  <at>  <at> 
 	so_peercred.pm \
 	getpeereid.pm \
 	freesg.pm \
+	freesg-rg.pm \
(Continue reading)

BSDBuild-SVN | 17 Jan 2013 15:54
Favicon

BSDBuild: r1003 - trunk/BSDBuild

Author: vedge
Date: 2013-01-17 09:54:05 -0500 (Thu, 17 Jan 2013)
New Revision: 1003

Modified:
   trunk/BSDBuild/portaudio.pm
Log:
fix Pa_IsFormatSupported() test

Modified: trunk/BSDBuild/portaudio.pm
===================================================================
--- trunk/BSDBuild/portaudio.pm	2013-01-15 09:57:59 UTC (rev 1002)
+++ trunk/BSDBuild/portaudio.pm	2013-01-17 14:54:05 UTC (rev 1003)
 <at>  <at>  -24,6 +24,7  <at>  <at> 
 # USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE..

 my $testCode = << 'EOF';
+#include <stdio.h>
 #include <portaudio2/portaudio.h>

 int
 <at>  <at>  -32,7 +33,7  <at>  <at> 
 	int rv;

 	if ((rv = Pa_Initialize()) != paNoError) {
-		if (Pa_IsFormatSupported(NULL, NULL) != 0) {
+		if (Pa_IsFormatSupported(NULL, NULL, 48000.0) != 0) {
 			return (0);
 		} else {
 			return (rv);
(Continue reading)

BSDBuild-SVN | 15 Jan 2013 10:57
Favicon

BSDBuild: r1002 - trunk/BSDBuild

Author: vedge
Date: 2013-01-15 04:57:59 -0500 (Tue, 15 Jan 2013)
New Revision: 1002

Added:
   trunk/BSDBuild/etubestore.pm
   trunk/BSDBuild/uim.pm
Modified:
   trunk/BSDBuild/Makefile
   trunk/BSDBuild/agar-au.pm
Log:
+ etubestore
+ uim

Modified: trunk/BSDBuild/Makefile
===================================================================
--- trunk/BSDBuild/Makefile	2013-01-07 07:17:22 UTC (rev 1001)
+++ trunk/BSDBuild/Makefile	2013-01-15 09:57:59 UTC (rev 1002)
 <at>  <at>  -116,7 +116,9  <at>  <at> 
 	rand48.pm \
 	nanosleep.pm \
 	kqueue.pm \
-	timerfd.pm
+	timerfd.pm \
+	etubestore.pm \
+	uim.pm

 all:

Modified: trunk/BSDBuild/agar-au.pm
(Continue reading)

BSDBuild-SVN | 7 Jan 2013 08:17
Favicon

BSDBuild: r1001 - trunk/BSDBuild

Author: vedge
Date: 2013-01-07 02:17:22 -0500 (Mon, 07 Jan 2013)
New Revision: 1001

Modified:
   trunk/BSDBuild/opengl.pm
   trunk/BSDBuild/sdl.pm
Log:
define _USE_OPENGL_FRAMEWORK and _USE_SDL_FRAMEWORK if linking against
the frameworks.

Modified: trunk/BSDBuild/opengl.pm
===================================================================
--- trunk/BSDBuild/opengl.pm	2012-12-14 04:27:45 UTC (rev 1000)
+++ trunk/BSDBuild/opengl.pm	2013-01-07 07:17:22 UTC (rev 1001)
 <at>  <at>  -50,10 +50,10  <at>  <at> 
 );
 	
 my $testCode = << 'EOF';
-#ifdef __APPLE__
-#include <OpenGL/gl.h>
+#ifdef _USE_OPENGL_FRAMEWORK
+# include <OpenGL/gl.h>
 #else
-#include <GL/gl.h>
+# include <GL/gl.h>
 #endif
 int main(int argc, char *argv[]) {
 	glFlush();
 <at>  <at>  -77,18 +77,28  <at>  <at> 
(Continue reading)

BSDBuild-SVN | 14 Dec 2012 05:27
Favicon

BSDBuild: r1000 - trunk/BSDBuild

Author: vedge
Date: 2012-12-13 23:27:45 -0500 (Thu, 13 Dec 2012)
New Revision: 1000

Modified:
   trunk/BSDBuild/portaudio.pm
Log:
make sure the test fails unless this is PortAudio 2

Modified: trunk/BSDBuild/portaudio.pm
===================================================================
--- trunk/BSDBuild/portaudio.pm	2012-09-07 05:55:58 UTC (rev 999)
+++ trunk/BSDBuild/portaudio.pm	2012-12-14 04:27:45 UTC (rev 1000)
 <at>  <at>  -32,7 +32,11  <at>  <at> 
 	int rv;

 	if ((rv = Pa_Initialize()) != paNoError) {
-		return (rv);
+		if (Pa_IsFormatSupported(NULL, NULL) != 0) {
+			return (0);
+		} else {
+			return (rv);
+		}
 	} else {
 		Pa_Terminate();
 		return (0);
 <at>  <at>  -89,7 +93,7  <at>  <at> 

 	MkIfNE('${PORTAUDIO_VERSION}', '');
 		MkFoundVer($pfx, $ver, 'PORTAUDIO_VERSION');
(Continue reading)

BSDBuild-SVN | 7 Sep 2012 07:55
Favicon

BSDBuild: r999 - trunk/BSDBuild

Author: vedge
Date: 2012-09-07 01:55:58 -0400 (Fri, 07 Sep 2012)
New Revision: 999

Added:
   trunk/BSDBuild/timerfd.pm
Modified:
   trunk/BSDBuild/Makefile
Log:
test for timerfd interface

Modified: trunk/BSDBuild/Makefile
===================================================================
--- trunk/BSDBuild/Makefile	2012-08-28 11:28:52 UTC (rev 998)
+++ trunk/BSDBuild/Makefile	2012-09-07 05:55:58 UTC (rev 999)
 <at>  <at>  -115,7 +115,8  <at>  <at> 
 	fontconfig.pm \
 	rand48.pm \
 	nanosleep.pm \
-	kqueue.pm
+	kqueue.pm \
+	timerfd.pm

 all:

Added: trunk/BSDBuild/timerfd.pm
===================================================================
--- trunk/BSDBuild/timerfd.pm	                        (rev 0)
+++ trunk/BSDBuild/timerfd.pm	2012-09-07 05:55:58 UTC (rev 999)
 <at>  <at>  -0,0 +1,65  <at>  <at> 
(Continue reading)

BSDBuild-SVN | 28 Aug 2012 13:28
Favicon

BSDBuild: r998 - trunk/BSDBuild

Author: vedge
Date: 2012-08-28 07:28:52 -0400 (Tue, 28 Aug 2012)
New Revision: 998

Added:
   trunk/BSDBuild/kqueue.pm
Modified:
   trunk/BSDBuild/Makefile
Log:
test for kqueue

Modified: trunk/BSDBuild/Makefile
===================================================================
--- trunk/BSDBuild/Makefile	2012-08-24 09:00:12 UTC (rev 997)
+++ trunk/BSDBuild/Makefile	2012-08-28 11:28:52 UTC (rev 998)
 <at>  <at>  -114,7 +114,8  <at>  <at> 
 	siocgifconf.pm \
 	fontconfig.pm \
 	rand48.pm \
-	nanosleep.pm
+	nanosleep.pm \
+	kqueue.pm

 all:

Added: trunk/BSDBuild/kqueue.pm
===================================================================
--- trunk/BSDBuild/kqueue.pm	                        (rev 0)
+++ trunk/BSDBuild/kqueue.pm	2012-08-28 11:28:52 UTC (rev 998)
 <at>  <at>  -0,0 +1,66  <at>  <at> 
(Continue reading)

BSDBuild-SVN | 24 Aug 2012 11:00
Favicon

BSDBuild: r997 - trunk/BSDBuild

Author: vedge
Date: 2012-08-24 05:00:12 -0400 (Fri, 24 Aug 2012)
New Revision: 997

Modified:
   trunk/BSDBuild/x11.pm
Log:
test for XKB extension

Modified: trunk/BSDBuild/x11.pm
===================================================================
--- trunk/BSDBuild/x11.pm	2012-08-21 06:27:36 UTC (rev 996)
+++ trunk/BSDBuild/x11.pm	2012-08-24 09:00:12 UTC (rev 997)
 <at>  <at>  -94,7 +94,27  <at>  <at> 
 }
 EOF
 	MkSaveIfTrue('${HAVE_X11}', 'X11_CFLAGS', 'X11_LIBS');
+
+	MkIfTrue('${HAVE_X11}');
+		MkPrintN('checking for the XKB extension...');
+		MkCompileC('HAVE_XKB', '${X11_CFLAGS}', '${X11_LIBS} -lX11', << 'EOF');
+#include <X11/Xlib.h>
+#include <X11/XKBlib.h>
+int main(int argc, char *argv[])
+{
+	Display *disp;
+	KeyCode kc = 0;
+	KeySym ks;
+	disp = XOpenDisplay(NULL);
+	ks = XkbKeycodeToKeysym(disp, kc, 0, 0);
(Continue reading)

BSDBuild-SVN | 21 Aug 2012 08:27
Favicon

BSDBuild: r996 - trunk/BSDBuild

Author: vedge
Date: 2012-08-21 02:27:36 -0400 (Tue, 21 Aug 2012)
New Revision: 996

Added:
   trunk/BSDBuild/nanosleep.pm
Modified:
   trunk/BSDBuild/Makefile
Log:
test for nanosleep()

Modified: trunk/BSDBuild/Makefile
===================================================================
--- trunk/BSDBuild/Makefile	2012-08-20 02:39:51 UTC (rev 995)
+++ trunk/BSDBuild/Makefile	2012-08-21 06:27:36 UTC (rev 996)
 <at>  <at>  -113,7 +113,8  <at>  <at> 
 	winsock.pm \
 	siocgifconf.pm \
 	fontconfig.pm \
-	rand48.pm
+	rand48.pm \
+	nanosleep.pm

 all:

Added: trunk/BSDBuild/nanosleep.pm
===================================================================
--- trunk/BSDBuild/nanosleep.pm	                        (rev 0)
+++ trunk/BSDBuild/nanosleep.pm	2012-08-21 06:27:36 UTC (rev 996)
 <at>  <at>  -0,0 +1,61  <at>  <at> 
(Continue reading)


Gmane