-Copyright (C) 2008, Philip Chimento and Marijn van Vliet.
+Copyright (C) 2010, Philip Chimento and Marijn van Vliet.
All rights reserved.
Chimara is free software copyrighted by Philip Chimento and Marijn van Vliet.
# Initialize Autoconf
# Args: (human-readable package name, package version, bug report address,
# tarballname)
-AC_INIT([chimara], [0.1])
+AC_INIT([chimara], [0.9])
# Sanity check to make sure we are running Autoconf from the right directory
AC_CONFIG_SRCDIR(libchimara/chimara-glk.c)
# Put m4 macros in their own directory
AC_SUBST(LT_VERSION_INFO)
### REQUIREMENTS ##############################################################
+# Recommended GTK version: at least 2.12
+# Recommended Glib version: at least 2.16
GTK_REQUIRED_VERSION=2.6
GLIB_REQUIRED_VERSION=2.6
GTK_DOC_REQUIRED_VERSION=1.9
-chimara (0.1-1) unstable; urgency=low
+chimara (0.9-1) unstable; urgency=low
- * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
- * TODO FIXME when actually doing release
+ * Initial release (Closes: #36)
- -- Philip Chimento <philip.chimento@gmail.com> Sat, 28 Nov 2009 00:57:21 +0100
+ -- Philip Chimento <philip.chimento@gmail.com> Sun, 18 Apr 2009 17:03:21 +0100
libglib2.0-dev,
libgtk2.0-dev
Standards-Version: 3.7.3
-Homepage: <insert the upstream URL, if relevant>
+Homepage: http://lassie.student.utwente.nl/chimara
Package: libchimara0
Section: libs
.
This package contains the Chimara reference manual.
-Package: libchimara-player
+Package: chimara-player
Section: games
Architecture: any
Depends: ${misc:Depends}
This package was debianized by Philip Chimento <philip.chimento@gmail.com> on
Sat, 28 Nov 2009 00:57:21 +0100.
-It was downloaded from <url://example.com>
+It was downloaded from <http://lassie.student.utwente.nl/chimara>
Upstream Author(s):
Copyright:
- Copyright (C) 2009 <<whatever>>
+ Copyright (C) 2010 Marijn van Vliet and Philip Chimento
License:
- Yada yada TODO FIXME when actually doing release
-
-The Debian packaging is (C) 2009, Philip Chimento <philip.chimento@gmail.com> and
-is licensed under the same license as the main program.
+ Copyright (C) 2010, Philip Chimento and Marijn van Vliet.
+ All rights reserved.
+
+ Chimara is free software copyrighted by Philip Chimento and Marijn van Vliet.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ 3. Neither of the names Philip Chimento or Marijn van Vliet, nor the name of any
+ other contributor may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The Debian packaging is (C) 2010, Marijn van Vliet <w.m.vanvliet@student.utwente.nl>
+and Philip Chimento <philip.chimento@gmail.com> and is licensed under the same
+license as the main program.
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
lib_LTLIBRARIES = libchimara.la
if TARGET_ILIAD
- plugindir = "../interpreters"
+pluginpath = "../interpreters"
else
- plugindir = $(pkglibdir)
+pluginpath = $(pkglibdir)
endif
libchimara_la_SOURCES = \
init.c init.h \
input.c input.h \
magic.c magic.h \
- mouse.c \
+ mouse.c mouse.h \
pager.c pager.h \
resource.c resource.h \
schannel.c \
libchimara_la_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Chimara\" \
-DLOCALEDIR=\""$(datadir)/locale"\" \
- -DPLUGINDIR=\""$(plugindir)"\" \
+ -DPLUGINDIR=\""$(pluginpath)"\" \
-DPLUGINSOURCEDIR=\""$(abs_builddir)/../interpreters"\" \
-I$(top_srcdir)
libchimara_la_CFLAGS = @CHIMARA_CFLAGS@ $(AM_CFLAGS)
GError *error = NULL;
builder = gtk_builder_new();
- if( !gtk_builder_add_from_file(builder, PACKAGE_SRC_DIR "/chimara.ui", &error) ) {
- error_dialog(NULL, error, "Error while building interface: ");
- return;
+ if( !gtk_builder_add_from_file(builder, PACKAGE_DATA_DIR "/chimara.ui", &error) ) {
+#ifdef DEBUG
+ g_error_free(error);
+ error = NULL;
+ if( !gtk_builder_add_from_file(builder, PACKAGE_SRC_DIR "/chimara.ui", &error) ) {
+#endif /* DEBUG */
+ error_dialog(NULL, error, "Error while building interface: ");
+ return;
+#ifdef DEBUG
+ }
+#endif /* DEBUG */
}
window = GTK_WIDGET(load_object("chimara"));
gtk_recent_chooser_add_filter(recent, filter);
uimanager = gtk_ui_manager_new();
- if( !gtk_ui_manager_add_ui_from_file(uimanager, PACKAGE_SRC_DIR "/chimara.menus", &error) ) {
- error_dialog(NULL, error, "Error while building interface: ");
- return;
+ if( !gtk_ui_manager_add_ui_from_file(uimanager, PACKAGE_DATA_DIR "/chimara.menus", &error) ) {
+#ifdef DEBUG
+ g_error_free(error);
+ error = NULL;
+ if( !gtk_ui_manager_add_ui_from_file(uimanager, PACKAGE_SRC_DIR "/chimara.menus", &error) ) {
+#endif /* DEBUG */
+ error_dialog(NULL, error, "Error while building interface: ");
+ return;
+#ifdef DEBUG
+ }
+#endif /* DEBUG */
}
glk = chimara_if_new();