Fusionado haikuports/haikuports con master

This commit is contained in:
Adrián Arroyo Calle
2013-12-11 17:42:53 +01:00
23 changed files with 364 additions and 309 deletions

View File

@@ -7,7 +7,7 @@ REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2009 Axel Liljencrantz"
ARCHITECTURES="x86 x86_64"
ARCHITECTURES="?x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
@@ -15,7 +15,7 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
fish$secondaryArchSuffix = $portVersion

View File

@@ -1,21 +0,0 @@
DESCRIPTION="libpthread-stubs"
HOMEPAGE="http://xcb.freedesktop.org/"
SRC_URI="http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz"
CHECKSUM_MD5="a09d928c4af54fe5436002345ef71138"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="x11-misc/util-macros >= 1.7.0"
BUILD()
{
cd libpthread-stubs-0.3
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd libpthread-stubs-0.3
make install
}

View File

@@ -1,21 +1,47 @@
SUMMARY="libpthread-stubs"
DESCRIPTION="libpthread-stubs"
HOMEPAGE="http://xcb.freedesktop.org/"
SRC_URI="http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz"
CHECKSUM_MD5="a09d928c4af54fe5436002345ef71138"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="x11-misc/util-macros >= 1.7.0"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libpthread_stubs$secondaryArchSuffix = $portVersion
devel:libpthread_stubs$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
SOURCE_DIR="libpthread-stubs-$portVersion"
BUILD()
{
cd libpthread-stubs-0.3
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure
make
}
INSTALL()
{
cd libpthread-stubs-0.3
make install
}

View File

@@ -7,28 +7,29 @@ SRC_URI="http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.1.tar.gz"
CHECKSUM_MD5="5392b4e3372879c5bf856173b418d6a2"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="pkgconfig-0.27.1.patchset"
PROVIDES="
pkgconfig = $portVersion compat >= 0.27
cmd:pkg_config = $portVersion compat >= 0.27
pkgconfig$secondaryArchSuffix = $portVersion compat >= 0.27
cmd:pkg_config$secondaryArchSuffix = $portVersion compat >= 0.27
"
REQUIRES="
haiku >= $haikuVersion
lib:libiconv
haiku$secondaryArchSuffix >= $haikuVersion
lib:libiconv$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libiconv
devel:libiconv$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:autoreconf
cmd:gcc
cmd:ld
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
@@ -46,7 +47,7 @@ BUILD()
autoconf
automake --add-missing
pcPathSubdir="develop/lib/pkgconfig"
pcPathSubdir="develop/lib${secondaryArchSuffix/_//}/pkgconfig"
pcPath="/boot/home/config/non-packaged/$pcPathSubdir"
pcPath="$pcPath:/boot/home/config/$pcPathSubdir"
pcPath="$pcPath:/boot/system/$pcPathSubdir"

View File

@@ -7,7 +7,7 @@ REVISION="1"
LICENSE="BSD (2-clause)"
COPYRIGHT="2007 D. Richard Hipp"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
PROVIDES="
fossil = $portVersion

View File

@@ -8,7 +8,7 @@ DESCRIPTION="
section you select.
"
HOMEPAGE="https://github.com/jackburton79/bescreencapture"
SRC_URI="git+git://github.com/jackburton79/bescreencapture.git#87886da2972fd4bbabb3fc5caae301c6dc14e7fd"
SRC_URI="git://github.com/jackburton79/bescreencapture.git#fb7de7c5dec3768509072e3f3ee2a433bc9285bb"
LICENSE="
BSD (3-clause)
MIT

View File

@@ -1,15 +1,15 @@
SUMMARY="A utility for burning CD"
DESCRIPTION="BurnItNow is a CD burning utility application for Haiku"
HOMEPAGE="https://github.com/HaikuArchives/BurnItNow"
SRC_URI="git+https://github.com/HaikuArchives/BurnItNow.git#3e7e69d048"
SRC_URI="git+https://github.com/HaikuArchives/BurnItNow.git#a790db9a87"
REVISION="1"
COPYRIGHT="
2010-2013 BurnItNow Team
"
LICENSE="MIT"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
burnitnow = $portVersion
@@ -31,7 +31,7 @@ BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
"
SOURCE_DIR="$portName/burnitnow2"
#SOURCE_DIR="$portName/burnitnow2"
BUILD()
{

View File

@@ -0,0 +1,72 @@
SUMMARY="A programmer's editor"
DESCRIPTION="A programmer's editor"
HOMEPAGE="http://pe-editor.berlios.de/"
LICENSE="
BSD (4-clause)
MIT
"
COPYRIGHT="
1996-2002 Maarteen Hekkelman
2003-2013 Team Pe
"
SRC_URI="hg+http://hg.berlios.de/repos/pe-editor#614"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
pe = $portVersion
cmd:Pe = $portVersion compat >= 2
cmd:lpe = $portVersion compat >= 2
"
REQUIRES="
haiku
lib:libpcre
lib:libpcreposix
"
BUILD_REQUIRES="
devel:libpcre
devel:libpcreposix
"
BUILD_PREREQUIRES="
haiku_devel
cmd:bison
cmd:flex
cmd:gcc
cmd:jam
cmd:ld
"
USER_SETTINGS_FILES="
settings/pe directory
"
SOURCE_DIR="$portVersionedName"
PATCHES="
pe-2.4.3_hg611.patch3
"
BUILD()
{
jam -q
# multi-job builds don't work reliably
}
INSTALL()
{
peDir=$appsDir/Pe
mkdir -p $appsDir
cp -a generated/distro $peDir
cp -a doc $peDir/Documentation
mkdir $binDir
ln -sfn $peDir/lpe $binDir
addAppDeskbarSymlink $peDir/Pe
}

View File

@@ -6,7 +6,7 @@ DESCRIPTION="
Usage: GuitarMaster [/path/to/songsDirectory]
"
HOMEPAGE="http://code.google.com/p/guitarmaster/"
SRC_URI="svn+http://guitarmaster.googlecode.com/svn/trunk/@20"
SRC_URI="svn+http://guitarmaster.googlecode.com/svn/trunk/@21"
LICENSE="MIT"
COPYRIGHT="Toxic Labs 2008-2009"
REVISION="1"
@@ -27,10 +27,6 @@ BUILD_PREREQUIRES="
cmd:gcc
"
PATCHES="
guitarmaster-r20.patch
"
SRC_FILENAME="download"
SOURCE_DIR="$portName"

View File

@@ -1,212 +0,0 @@
From 4929c586441b40f7046487bc9b9a7dd887e3e605 Mon Sep 17 00:00:00 2001
From: Luke <noryb009@gmail.com>
Date: Sun, 24 Nov 2013 07:51:48 +0000
Subject: [PATCH] Search for songs directory
---
TApp.cpp | 5 +++--
TApp.h | 4 +++-
TMainWindow.cpp | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
TMainWindow.h | 4 +++-
main.cpp | 11 +++++++++-
5 files changed, 79 insertions(+), 8 deletions(-)
diff --git a/TApp.cpp b/TApp.cpp
index b38dbe1..a9d89ec 100644
--- a/TApp.cpp
+++ b/TApp.cpp
@@ -10,10 +10,11 @@ using namespace org::toxic;
using namespace std;
-TApp::TApp():BApplication("application/x-vnd.guitar-master")
+TApp::TApp(BString * UserSpecifiedSongDir):BApplication("application/x-vnd.guitar-master")
{
cout<<"Guitar Master project"<<endl;
cout<<"Toxic Labs 2008/2009"<<endl;
+ this->UserSpecifiedSongDir = UserSpecifiedSongDir;
}
@@ -27,5 +28,5 @@ void TApp::ReadyToRun()
{
cout<<"ready!!"<<endl;
- window = new TMainWindow(BRect(50,50,300,300));
+ window = new TMainWindow(BRect(50,50,300,300), UserSpecifiedSongDir);
}
diff --git a/TApp.h b/TApp.h
index f9a6a93..ecf8f00 100644
--- a/TApp.h
+++ b/TApp.h
@@ -5,6 +5,7 @@
#ifndef _TApp_
#define _TApp_
+#include <String.h>
#include <Application.h>
#include "TMainWindow.h"
@@ -16,9 +17,10 @@ namespace org
{
private:
TMainWindow * window;
+ BString * UserSpecifiedSongDir;
public:
- TApp();
+ TApp(BString * UserSpecifiedSongDir = NULL);
~TApp();
virtual void ReadyToRun();
diff --git a/TMainWindow.cpp b/TMainWindow.cpp
index d84cbd4..f16be1d 100644
--- a/TMainWindow.cpp
+++ b/TMainWindow.cpp
@@ -11,12 +11,17 @@
#include <String.h>
#include <iostream>
+#include <unistd.h>
+#include <sys/types.h>
+#include <pwd.h>
+#include <stdlib.h>
+
using namespace org::toxic;
using namespace org::toxic::resources;
using namespace std;
-TMainWindow::TMainWindow(BRect frame): BWindow(frame,"Guitar Master",B_TITLED_WINDOW,B_NOT_ZOOMABLE | B_NOT_RESIZABLE)
+TMainWindow::TMainWindow(BRect frame, BString * UserSpecifiedSongDir): BWindow(frame,"Guitar Master",B_TITLED_WINDOW,B_NOT_ZOOMABLE | B_NOT_RESIZABLE)
{
cout<<"Main window"<<endl;
@@ -46,9 +51,61 @@ TMainWindow::TMainWindow(BRect frame): BWindow(frame,"Guitar Master",B_TITLED_WI
//Songs menu
menu = new BMenu("Songs");
// fill with available song list...
+
+ BString homeDir = getenv("HOME");
+ if(homeDir == NULL) {
+ struct passwd *pw = getpwuid(getuid());
+ homeDir = pw->pw_dir;
+ }
+
+ BString * songLocations[13];
+ songLocations[0] = UserSpecifiedSongDir;
+ songLocations[1] = new BString("songs");
+ songLocations[2] = new BString("/music/GuitarMaster");
+ songLocations[2]->Prepend(homeDir);
+ songLocations[3] = new BString("/music/guitarmaster");
+ songLocations[3]->Prepend(homeDir);
+ songLocations[4] = new BString("/music/Guitar Master");
+ songLocations[4]->Prepend(homeDir);
+ songLocations[5] = new BString("/music/guitar master");
+ songLocations[5]->Prepend(homeDir);
+ songLocations[6] = new BString("/Music/GuitarMaster");
+ songLocations[6]->Prepend(homeDir);
+ songLocations[7] = new BString("/Music/guitarmaster");
+ songLocations[7]->Prepend(homeDir);
+ songLocations[8] = new BString("/Music/Guitar Master");
+ songLocations[8]->Prepend(homeDir);
+ songLocations[9] = new BString("/Music/guitar master");
+ songLocations[9]->Prepend(homeDir);
+ songLocations[10] = new BString("/music");
+ songLocations[10]->Prepend(homeDir);
+ songLocations[11] = new BString("/Music");
+ songLocations[11]->Prepend(homeDir);
+ songLocations[12] = new BString(homeDir);
+
+ cout<<"Searching for songs directory..."<<endl;
+
+ BDirectory * songs_dir_check;
+ for(int i=0; i<sizeof(songLocations)/sizeof(BString *); i++) {
+ if(songLocations[i] != NULL) {
+ cout<<" Checking "<<songLocations[i]->String()<<endl;
+ songs_dir_check = new BDirectory(songLocations[i]->String());
+ if(songs_dir_check->InitCheck() == B_OK) {
+ SongsDirLocation = new BString(*songLocations[i]);
+ delete songs_dir_check;
+ break;
+ }
+ delete songs_dir_check;
+ }
+ }
+
+ for(int i=0; i<sizeof(songLocations)/sizeof(BString *); i++) {
+ delete songLocations[i];
+ }
+
cout<<"Reading songs directory..."<<endl;
- BDirectory songs_dir("songs");
+ BDirectory songs_dir(SongsDirLocation->String());
BEntry entry;
char str[B_FILE_NAME_LENGTH];
BMessage * message;
@@ -128,7 +185,7 @@ void TMainWindow::MessageReceived(BMessage * mesg)
case T_MSG_SELECT_SONG:
mesg->FindString("song",&str);
- spath<<"songs/"<<str<<"/notes.mid";
+ spath<<SongsDirLocation->String()<<"/"<<str<<"/notes.mid";
cout<<"Selected: "<<spath.String()<<endl;
diff --git a/TMainWindow.h b/TMainWindow.h
index b5a3ea4..db632ec 100644
--- a/TMainWindow.h
+++ b/TMainWindow.h
@@ -5,6 +5,7 @@
#include <Window.h>
#include <MessageRunner.h>
+#include <String.h>
#include "TGameView.h"
#define T_MSG_FRAME 0x00FF0011
@@ -20,10 +21,11 @@ namespace org
TGameView * gameview;
BMessageRunner * timer;
+ BString * SongsDirLocation;
public:
- TMainWindow(BRect frame);
+ TMainWindow(BRect frame, BString * songDirectory = NULL);
~TMainWindow();
diff --git a/main.cpp b/main.cpp
index 6e9a650..da8d16b 100644
--- a/main.cpp
+++ b/main.cpp
@@ -3,13 +3,22 @@
* Toxic Labs
*/
+#include <String.h>
#include "TApp.h"
using namespace org::toxic;
int main (int argc,char * argv[])
{
- TApp app;
+ BString * UserSpecifiedSongDir;
+ UserSpecifiedSongDir = NULL;
+ // see if song directory was specified
+ if(argc > 1)
+ {
+ UserSpecifiedSongDir = new BString(argv[1]);
+ }
+
+ TApp app(UserSpecifiedSongDir);
app.Run();
--
1.8.3.4

View File

@@ -148,7 +148,7 @@ TEST()
PROVIDES_devel="
libsdl${secondaryArchSuffix}_devel = 1.2.15 compat >= 1.2
cmd:sdl_config = $portVersion compat >= 1.2
cmd:sdl_config$secondaryArchSuffix = $portVersion compat >= 1.2
devel:libSDL$secondaryArchSuffix = 1.2_0.11.4 compat >= 1.2_0
devel:libSDLmain$secondaryArchSuffix = 1.2_0.11.4 compat >= 1.2_0
devel:libSDL_1.2$secondaryArchSuffix = 0.11.4 compat >= 0

View File

@@ -12,7 +12,7 @@ COPYRIGHT="1994-2012 Niklas Beisert, Stian Skjelstad and others"
## media-libs/flac >= 1.2.1"
## ncurses zlib ... cf. ocp.spec
ARCHITECTURES="x86 x86_64"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
@@ -48,20 +48,16 @@ BUILD_PREREQUIRES="
cmd:autoconf
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:sdl_config$secondaryArchSuffix
"
#XXX: this one pulls gcc2 SDL package in... which we don't need
# cmd:sdl_config
SOURCE_DIR="code"
# TODO: fix configure.ac to use sdl-config
# XXX: dwmixfa_8087.c:39:2: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
BUILD()
{
autoconf
export CFLAGS="$(sdl-config --cflags)"
./configure --prefix=$prefix
runConfigure ./configure
make
}

View File

@@ -1,23 +1,53 @@
SUMMARY="xtrans"
DESCRIPTION="xtrans"
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
SRC_URI="http://xorg.freedesktop.org/releases/individual/lib/xtrans-1.2.5.tar.gz"
CHECKSUM_MD5="b2f47d49faf1f24e8294b624b21b9b93"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="pkgconfig >= 0.23
x11-misc/util-macros >= 1.7.0"
COPYRIGHT="1993, 1994, 1998 The Open Group
1993, 1994 NCR Corporation - Dayton, Ohio, USA
2002, 2005 Sun Microsystems, Inc. All rights reserved.
Copyright 1996 by Sebastien Marineau and Holger Veit
2003 Keith Packard, Noah Levitt"
LICENSE="MIT (no promotion)"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
xtrans$secondaryArchSuffix = $portVersion
devel:xtrans$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cd xtrans-1.2.5
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=`finddir B_COMMON_DATA_DIRECTORY`
runConfigure ./configure
}
INSTALL()
{
cd xtrans-1.2.5
make install
mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//}
mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/
}

View File

@@ -1,3 +1,4 @@
SUMMARY="xorg util-macros"
DESCRIPTION="xorg util-macros"
HOMEPAGE="http://cgit.freedesktop.org/xorg/util/macros/"
COPYRIGHT="2005 Red Hat, Inc.
@@ -7,19 +8,42 @@ LICENSE="MIT"
SRC_URI="git://anongit.freedesktop.org/xorg/util/macros"
#CHECKSUM_MD5=""
REVISION="1"
STATUS_HAIKU="untested"
DEPEND=""
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
util_macros$secondaryArchSuffix = $portVersion
devel:util_macros$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:autoconf
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
"
BUILD()
{
cd util-macros-1.17.0-git
./autogen.sh -V
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=`finddir B_COMMON_LIB_DIRECTORY`
runConfigure ./configure
make
}
INSTALL()
{
cd util-macros-1.17.0-git
make install
#fixPkgconfig
mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//}
mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/
}

View File

@@ -1,21 +1,50 @@
SUMMARY="inputproto"
DESCRIPTION="inputproto"
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
SRC_URI="http://xorg.freedesktop.org/releases/individual/proto/inputproto-2.0.tar.gz"
CHECKSUM_MD5="13d91739cf70a781f1db24d8d3677574"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="x11-misc/util-macros >= 1.7.0"
COPYRIGHT="1989, 1998 The Open Group
1989 by Hewlett-Packard Company, Palo Alto, California.
"
LICENSE="MIT (no promotion)"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
inputproto$secondaryArchSuffix = $portVersion
devel:inputproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cd inputproto-2.0
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure
}
INSTALL()
{
cd inputproto-2.0
make install
fixPkgconfig
}

View File

@@ -1,21 +1,47 @@
SUMMARY="kbproto"
DESCRIPTION="kbproto"
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
SRC_URI="http://xorg.freedesktop.org/releases/individual/proto/kbproto-1.0.4.tar.gz"
CHECKSUM_MD5="4deef518a03bc94a7a25902bb7c98dd6"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="x11-misc/util-macros >= 1.7.0"
COPYRIGHT="1993 by Silicon Graphics Computer Systems, Inc."
LICENSE="MIT"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
kbproto$secondaryArchSuffix = $portVersion
devel:kbproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cd kbproto-1.0.4
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure
}
INSTALL()
{
cd kbproto-1.0.4
make install
fixPkgconfig
}

View File

@@ -1,22 +1,50 @@
SUMMARY="xcb-proto"
DESCRIPTION="xcb-proto"
HOMEPAGE="http://xcb.freedesktop.org/"
SRC_URI="http://xcb.freedesktop.org/dist/xcb-proto-1.6.tar.gz"
CHECKSUM_MD5="8d29695e8faf5fcdce568c66eaeaa5ee"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="x11-misc/util-macros >= 1.7.0"
COPYRIGHT="2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett."
LICENSE="MIT (no promotion)"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
xcb_proto$secondaryArchSuffix = $portVersion
devel:xcb_proto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:python$secondaryArchSuffix
"
SOURCE_DIR="xcb-proto-$portVersion"
BUILD()
{
cd xcb-proto-1.6
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure
make
}
INSTALL()
{
cd xcb-proto-1.6
make install
}

View File

@@ -1,21 +1,55 @@
SUMMARY="xextproto"
DESCRIPTION="xextproto"
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
SRC_URI="http://xorg.freedesktop.org/releases/individual/proto/xextproto-7.1.1.tar.gz"
CHECKSUM_MD5="6c55283718dbeb826bcf899b9e89faba"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="x11-misc/util-macros >= 1.7.0"
COPYRIGHT="1989, 1998 The Open Group
1997 by Silicon Graphics Computer Systems, Inc.
1992 Network Computing Devices
1994, 1995 Hewlett-Packard Company
1996 Digital Equipment Corporation, Maynard, Massachusetts.
1988, 1989, 1990, 1994 Network Computing Devices, Inc.
1991,1993 by Digital Equipment Corporation, Maynard, Massachusetts, and Olivetti Research Limited, Cambridge, England.
1986, 1987, 1988 by Hewlett-Packard Corporation
2007-2008 Peter Hutterer"
LICENSE="MIT (no promotion)"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
xextproto$secondaryArchSuffix = $portVersion
devel:xextproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix >= 1.7.0
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cd xextproto-7.1.1
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure
}
INSTALL()
{
cd xextproto-7.1.1
make install
fixPkgconfig
}

View File

@@ -1,3 +1,4 @@
SUMMARY="xproto"
DESCRIPTION="xproto"
HOMEPAGE="http://cgit.freedesktop.org/xorg/proto/xproto/"
COPYRIGHT="1991, Oracle and/or its affiliates. All rights reserved.
@@ -11,19 +12,44 @@ LICENSE="MIT (no promotion)"
SRC_URI="git://anongit.freedesktop.org/xorg/proto/xproto"
#CHECKSUM_MD5=""
REVISION="1"
STATUS_HAIKU="untested"
DEPEND=""
PATCHES="xproto-7.0.23_git.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
xproto$secondaryArchSuffix = $portVersion
devel:xproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cd xproto-7.0.23-git
./autogen.sh -V
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=`finddir B_COMMON_LIB_DIRECTORY`
runConfigure ./configure
make
}
INSTALL()
{
cd xproto-7.0.23-git
make install
fixPkgconfig
}