Anonymous avatar Anonymous committed eae22d9

pyorbit fix Slackbuild and build. gnome-python fix deps and build better package

Comments (0)

Files changed (3)

var/vabs/gnome-python/src/gnome-python.SlackBuild

 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"1"}
+BUILDNUM=${BUILDNUM:-"2"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-"pygtk pygobject pycairo"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"libgnome pyorbit libbonoboui libgnomecanvas libgnomeui pygtk pygobject pycairo"} #Add deps needed TO BUILD this package here.
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
 #-----------------------------------------------------------------------
 
 echo "Configuring source..."
-./waf configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX}
- ./waf build || exit 1
-
-./waf install --destdir=$PKG || exit 1
-
+./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--localstatedir=/var \
+	--libdir=/usr/lib${LIBDIRSUFFIX} \
+	--disable-static \
+	--mandir=/usr/man \
+	--enable-gconf \
+	--build=$CONFIGURE_TRIPLET || exit 1
+make $NUMJOBS || make || exit 1
+make install DESTDIR=$PKG
 
 #######################################################################
 #Miscellenious tweaks and things outside a normal ./configure go here #

var/vabs/pyorbit/src/pyorbit.SlackBuild

 VERSION=${VERSION:-"2.24.0"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"stretchedthin"}   #Enter your Name!
-LINK=${LINK:-""}  #Enter URL for package here!
-
+LINK=${LINK:-"http://ftp.gnome.org/pub/GNOME/sources/${NAME}/2.24/${NAME}-${VERSION}.tar.bz2"}  #Enter URL for package here!
+MAKEDEPENDS=${MAKEDEPENDS:-"ORBit2"}
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
 
   --mandir=/usr/man \
   --disable-static \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
-  --build=$ARCH-slackware-linux
+  --build=$CONFIGURE_TRIPLET || exit 1
 
-make
-make install-strip DESTDIR=$PKG
+make $NUMJOBS || make || exit 1
+make install-strip DESTDIR=$PKG || exit 1
 
 
 #######################################################################

var/vabs/pyorbit/src/slack-desc

+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+       |-----handy-ruler------------------------------------------------------|
+pyorbit: PyORBit (Python bindings for the ORBit2 CORBA ORB)
+pyorbit:
+pyorbit: PyORBit is a binding for the ORBit2 CORBA ORB. It aims to be
+pyorbit: compatible with the Python language mapping standard, implementing
+pyorbit: both the client side and server side bindings. PyORBit is capable of
+pyorbit: calling methods of in-process ORBit servers implemented in C, and
+pyorbit: being called by C code.
+pyorbit:
+pyorbit:
+pyorbit:
+pyorbit:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.