Skip to content

Commit

Permalink
Configure script now performs better checks for ncurses lib, helping …
Browse files Browse the repository at this point in the history
…builds on xUbuntu. Updated buildobs script.
  • Loading branch information
trisyoungs committed Dec 4, 2013
1 parent a316316 commit 9ab50d4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 22 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(Aten)
set(DESCRIPTION "Aten - Atomic configuration builder and editor")
set(AUTHOR "Tristan Youngs")
set(VERSION_MAJOR "1")
set(VERSION_MINOR "855")
set(VERSION_MINOR "856")
set(VERSION_PATCH "1")

set(CMAKE_BUILD_TYPE "Release")
Expand Down
2 changes: 1 addition & 1 deletion aten.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Name, brief description, and version
Summary: Aten - Atomic configuration builder and editor
Name: %{shortname}
Version: 1.855
Version: 1.856
Release: 1
License: GPL
%define fullname %{name}-%{version}
Expand Down
13 changes: 0 additions & 13 deletions buildobs
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ tar -zxvf $DISTFILE
zip -9r $ZIPDISTFILE aten-${ATENVERSION}
rm -rf aten-${ATENVERSION}

# FTP source tgz and zip to website
pftp -i ftp.projectaten.net << EOF
cd Beta
binary
mdelete aten*tar.gz
mdelete aten*zip
put $DISTFILE
put $ZIPDISTFILE
EOF

# Update tarfile info in ./extra/aten.dsc
echo ""
echo "Updating extra/aten.dsc..."
Expand Down Expand Up @@ -98,9 +88,6 @@ DATE=`date`
osc commit -m "Committing version $ATENVERSION (release=$RELEASE) on $DATE."
cd ../../

# Cleanup
rm $DISTFILE $ZIPDISTFILE

exit 0


Expand Down
8 changes: 5 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
AC_PREREQ(2.60)

# Set program name, version, bug-address and source directory
m4_define([ATEN_VERSION],[1.855])
m4_define([ATEN_VERSION],[1.856])
AC_INIT(aten,ATEN_VERSION,[email protected])
AC_CONFIG_SRCDIR([src/main.cpp])

Expand Down Expand Up @@ -88,10 +88,12 @@ if test "$with_qt" != "framework"; then
PKG_PROG_PKG_CONFIG
fi


# Check for other dependencies
AC_CHECK_HEADER([$RLINCDIR/readline.h],,[AC_MSG_ERROR([Cannot find headers for readline.])])

# Determine whether to link against libncurses or libncurses5
AC_SEARCH_LIBS(tgetent, [ncurses ncurses5 curses termcap])

# Set up compilation for Qt GUI
if test "$with_qt" = "framework"; then
QTGUI_LIBS="-framework QtGui -framework QtOpenGL -framework QtCore"
Expand All @@ -109,7 +111,7 @@ if test "x$with_qt" = "x"; then
PKG_CHECK_MODULES(QTGUI, QtGui >= 4.1.0)
PKG_CHECK_MODULES(QTOPENGL, QtOpenGL >= 4.1.0)
fi
GUI_LDLIBS="$QTGUI_LIBS $QTOPENGL_LIBS -lreadline -lncurses -lGL"
GUI_LDLIBS="$QTGUI_LIBS $QTOPENGL_LIBS -lreadline -lGL"
GUI_CFLAGS="$QTGUI_CFLAGS -I$RLINCDIR"


Expand Down
4 changes: 2 additions & 2 deletions extra/aten.dsc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Format: 1.0
Source: aten
Version: 1.855
Version: 1.856
Binary: aten
Maintainer: Tristan Youngs <[email protected]>
Architecture: any
Build-Depends: debhelper (>= 4.1.16), libqt4-dev | libqt4-core, libqt4-opengl-dev, libreadline5-dev | libreadline-dev, libgl1-mesa-dev, pkgconfig | pkg-config, libncurses5
Files:
c9261a9523963a7d298046de12c9b803 4307358 aten-1.855.tar.gz
0f7cda0fc1d5e6e2ca1c6247eb944c61 4309758 aten-1.856.tar.gz
4 changes: 2 additions & 2 deletions src/main/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#ifndef ATEN_VERSION_H
#define ATEN_VERSION_H

#define ATENVERSION "1.855"
#define ATENREVISION "1855"
#define ATENVERSION "1.856"
#define ATENREVISION "1856"
#define ATENDATE "Thu 28 Jun - 13:36"
#define ATENURL "http://aten.googlecode.com/svn/trunk"

Expand Down

0 comments on commit 9ab50d4

Please sign in to comment.