Commit 35176584 authored by Naba Kumar's avatar Naba Kumar

Updated Anjuta Descriptions and fixed rpm spec file (more testing

	* README, anjuta.spec.in, configure.in: Updated Anjuta Descriptions
	and fixed rpm spec file (more testing required).

	* data/gdb.init: Don't set gdb prompt.

	* mime/Makefile.am: run update-mime-data only on system-wide install.

	* plugins/gdb/Makefile.am: Install plugin at correct paths.
parent 45cce606
2005-05-20 Naba Kumar <naba@gnome.org>
* README, anjuta.spec.in, configure.in: Updated Anjuta Descriptions
and fixed rpm spec file (more testing required).
* data/gdb.init: Don't set gdb prompt.
* mime/Makefile.am: run update-mime-data only on system-wide install.
* plugins/gdb/Makefile.am: Install plugin at correct paths.
2005-05-19 Naba Kumar <naba@gnome.org>
* plugins/terminal/terminal.c: Fixed crash bug when terminal is used
......
......@@ -6,11 +6,12 @@
Introduction:
-------------
Anjuta is a versatile Integrated Development Environment (IDE) for C and C++.
It has been written for GTK/GNOME, and features a number of advanced
programming facilities. These include project management, application
wizards, an on-board interactive debugger, and a powerful source editor
with source browsing and syntax highlighting.
Anjuta DevStudio is a versatile Integrated Development Environment (IDE)
on GNOME Desktop Environment and features a number of advanced
programming facilities. These include project management, application and
class wizards, an on-board interactive debugger, powerful source editor,
syntax highlighting, intellisense autocompletions, symbol navigation,
version controls, integrated GUI designing and other tools.
Anjuta is an effort to marry the flexibility and power of text-based
command-line tools with the ease-of-use of the GNOME graphical user
......
......@@ -4,7 +4,7 @@
%define release 1
%define serial 1
Summary: GNOME IDE for C and C++
Summary: Integrated Development Environment
Name: %{name}
Version: %{version}
Release: %{release}
......@@ -32,6 +32,12 @@ Requires: vte >= @VTE_REQUIRED@
Requires: libxml2 >= @LIBXML_REQUIRED@
Requires: pango >= @PANGO_REQUIRED@
Requires: pcre >= @PCRE_REQUIRED@
Requires: devhelp >= @LIBDEVHELP_REQUIRED@
Requires: gdl >= @GDL_REQUIRED@
Requires: gnome-build >= @GNOMEBUILD_REQUIRED@
Requires: graphviz >= @LIBGRAPHVIZ_REQUIRED@
Requires: neon >= @NEON_REQUIRED@
Requires: subversion >= @SUBVERSION_REQUIRED@
BuildRequires: glib2-devel >= @GLIB_REQUIRED@
BuildRequires: gtk2-devel >= @GTK_REQUIRED@
......@@ -48,29 +54,37 @@ BuildRequires: vte-devel >= @VTE_REQUIRED@
BuildRequires: libxml2-devel >= @LIBXML_REQUIRED@
BuildRequires: pango-devel >= @PANGO_REQUIRED@
BuildRequires: pcre-devel >= @PCRE_REQUIRED@
BuildRequires: devhelp-devel >= @LIBDEVHELP_REQUIRED@
BuildRequires: gdl-devel >= @GDL_REQUIRED@
BuildRequires: gnome-build-devel >= @GNOMEBUILD_REQUIRED@
BuildRequires: graphviz-devel >= @LIBGRAPHVIZ_REQUIRED@
BuildRequires: neon-devel >= @NEON_REQUIRED@
BuildRequires: subversion-devel >= @SUBVERSION_REQUIRED@
Distribution: Any
Packager: Naba Kumar <naba@gnome.org>
Distribution: Any
Packager: Naba Kumar <naba@gnome.org>
%description
Anjuta is a versatile Integrated Development Environment (IDE) for C and C++.
It has been written for GTK/GNOME, and features a number of advanced
programming facilities. It is basically a GUI interface for the collection
of command line programming utilities and tools available for the GNU system.
These are usually run via a text console, and can be unfriendly to use.
Anjuta DevStudio is a versatile Integrated Development Environment (IDE)
on GNOME Desktop Environment and features a number of advanced
programming facilities. These include project management, application and
class wizards, an on-board interactive debugger, powerful source editor,
syntax highlighting, intellisense autocompletions, symbol navigation,
version controls, integrated GUI designing and other tools.
%package docs
Summary: Anjuta docuemntations package.
Group: Development/Tools
%package devel
Summary: Libraries and include files for Anjuta plugins development.
Group: Development/Libraries
Requires: %{name} = %{version}
%description docs
Anjuta documentations.
%description devel
Libraries, header files and API docs for developing Anjuta plugins.
%prep
%setup -q
%build
%configure --enable-final
%configure --disable-plugin-glade
make %{?_smp_mflags}
%install
......@@ -81,11 +95,21 @@ rm -fr %{buildroot}/var/scrollkeeper
%clean
rm -rf %{buildroot}
%post docs
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
%postun docs
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
%post
if which scrollkeeper-update>/dev/null 2>&1; then
scrollkeeper-update;
fi
if which update-mime-database>/dev/null 2>&1; then
update-mime-database %{datadir}/mime;
fi
%postun
if which scrollkeeper-update>/dev/null 2>&1; then
scrollkeeper-update;
fi
if which update-mime-database>/dev/null 2>&1; then
update-mime-database %{datadir}/mime;
fi
%files
%defattr(-,root,root)
......@@ -94,17 +118,28 @@ if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
%defattr(-,root,root)
%{_bindir}/%{name}*
%{_libdir}/lib%{name}*.so.*
%{_libdir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/pixmaps/%{name}
%{_datadir}/doc/%{name}
%{_datadir}/mime-info/anjuta.mime
%{_datadir}/application-registry/%{name}.applications
%{_datadir}/mime-info/%{name}.mime
%{_datadir}/mime-info/%{name}.keys
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/icons/gnome/48x48/mimetypes/*%{name}.png
%{_datadir}/mimelnk/application/x-anjuta-project.desktop
%{_datadir}/gnome/help/%{name}
%{_datadir}/omf/%{name}
%{_datadir}/locale
%{_mandir}/man1/*
%files docs
%defattr(-, root, root)
%{_datadir}/gnome/help/%{name}
%{_datadir}/omf/%{name}
%files devel
%defattr (-, root, root)
%{_includedir}/*%{name}*
%{_libdir}/pkgconfig/*%{name}*
%{_libdir}/lib%{name}*.a
%{_libdir}/lib%{name}*.la
%{_libdir}/lib%{name}*.so
%{_datadir}/gtk-doc/html/*%{name}*
......@@ -25,11 +25,14 @@ LIBXML_REQUIRED=2.4.23
PANGO_REQUIRED=1.1.1
PCRE_REQUIRED=3.9
LIBDEVHELP_REQUIRED=0.9
LIBGTODO_REQUIRED=0.15
GDL_REQUIRED=0.5.0
GNOMEBUILD_REQUIRED=0.1.1
LIBGLADEUI_REQUIRED=3.0.0
LIBGRAPHVIZ_REQUIRED=2.2.1
NEON_REQUIRED=0.24.5
SUBVERSION_REQUIRED=1.0.2
dnl LIBGTODO_REQUIRED=0.15
AC_SUBST(GLIB_REQUIRED)
AC_SUBST(GOBJECT_REQUIRED)
......@@ -52,11 +55,14 @@ AC_SUBST(PANGO_REQUIRED)
AC_SUBST(VTE_NEW_REQUIRED)
AC_SUBST(PCRE_REQUIRED)
AC_SUBST(LIBDEVHELP_REQUIRED)
AC_SUBST(LIBGTODO_REQUIRED)
AC_SUBST(GDL_REQUIRED)
AC_SUBST(GNOMEBUILD_REQUIRED)
AC_SUBST(LIBGLADEUI_REQUIRED)
AC_SUBST(LIBGRAPHVIZ_REQUIRED)
AC_SUBST(NEON_REQUIRED)
AC_SUBST(SUBVERSION_REQUIRED)
dnl AC_SUBST(LIBGTODO_REQUIRED)
AM_INIT_AUTOMAKE(anjuta, $ANJUTA_VERSION)
AM_CONFIG_HEADER(config.h)
......
......@@ -2,7 +2,6 @@
## If you are afraid of CORE DUMPS, then DO NOT modifiy this file. ##
#######################################################################
set prompt GDB is waiting for command =>\n
set confirm off
set print elements 1000
set print null-stop
......
......@@ -17,8 +17,18 @@ EXTRA_DIST = \
$(mimexml_DATA) \
$(mimeicon_DATA)
## Update mime only when system wide installation takes place
install-data-local: install-mimexmlDATA
update-mime-database $(DESTDIR)$(datadir)/mime
if [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
if which update-mime-database>/dev/null 2>&1; then \
update-mime-database $(DESTDIR)$(datadir)/mime; \
fi \
fi
uninstall-local:
update-mime-database $(DESTDIR)$(datadir)/mime
if [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
if which update-mime-database>/dev/null 2>&1; then \
update-mime-database $(DESTDIR)$(datadir)/mime; \
fi \
fi
......@@ -3,10 +3,10 @@ gdb_uidir = $(anjuta_ui_dir)
gdb_ui_DATA = anjuta-gdb-plugin.ui
# Plugin glade file
anjuta_gladedir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/glade
anjuta_gladedir = $(anjuta_glade_dir)
anjuta_glade_DATA = anjuta-gdb.glade
plugin_pixmapsdir = $(prefix)/@NO_PREFIX_PACKAGE_PIXMAPS_DIR@
plugin_pixmapsdir = $(anjuta_image_dir)
plugin_pixmaps_DATA = \
anjuta-gdb.plugin.png \
pointer.png
......@@ -14,7 +14,7 @@ plugin_pixmaps_DATA = \
plugin_in_files = anjuta-gdb.plugin.in
%.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
anjuta_plugindir = $(prefix)/@NO_PREFIX_PACKAGE_PLUGIN_DIR@
anjuta_plugindir = $(anjuta_plugin_dir)
anjuta_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
INCLUDES= \
......@@ -22,7 +22,7 @@ INCLUDES= \
$(DEPRECATED_FLAGS) \
$(LIBANJUTA_CFLAGS)
plugindir = $(prefix)/@NO_PREFIX_PACKAGE_PLUGIN_DIR@
plugindir = $(anjuta_plugin_dir)
plugin_LTLIBRARIES = libanjuta-gdb.la
libanjuta_gdb_la_LIBADD = $(LIBANJUTA_LIBS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment