Commit 3c31dd1f authored by Michael J. Chudobiak's avatar Michael J. Chudobiak
Browse files

Initial commit. Copied from SourceForge svn repo.

svn path=/trunk/; revision=2
parents
Michael J. Chudobiak <mjc@svn.gnome.org>
Marlodavampire (rentacoder.com)
This diff is collapsed.
This diff is collapsed.
Michael J. Chudobiak
E-mail: mjc@svn.gnome.org
Userid: mjc
NULL =
AUTOMAKE_OPTIONS = subdir-objects
SUBDIRS = \
data \
doc \
po \
$(NULL)
gladedir = $(datadir)/moserial/glade
INCLUDES = -DMOSERIAL_GLADEDIR=\""$(gladedir)"\"
AM_CPPFLAGS = \
$(MOSERIAL_CFLAGS) \
-include $(CONFIG_HEADER) \
$(NULL)
BUILT_SOURCES = src/moserial.vala.stamp
bin_PROGRAMS = moserial
moserial_VALASOURCES = \
src/MainWindow.vala \
src/Main.vala \
src/SettingsDialog.vala \
src/Settings.vala \
src/SendProgressDialog.vala \
src/ReceiveChooserDialog.vala \
src/ReceiveProgressDialog.vala \
src/RecordDialog.vala \
src/PreferencesDialog.vala \
src/SerialConnection.vala \
src/HexTextBuffer.vala \
src/SerialStreamRecorder.vala \
src/InputParser.vala \
src/Rzwrapper.vala \
src/XmodemFilenameDialog.vala \
src/SendChooserDialog.vala \
src/Szwrapper.vala \
src/AutoScroll.vala \
src/Preferences.vala \
src/Profile.vala \
src/DefaultPaths.vala \
src/MoUtils.vala \
$(NULL)
moserial_SOURCES = \
$(moserial_VALASOURCES:.vala=.c) \
$(moserial_VALASOURCES:.vala=.h) \
$(NULL)
src/moserial.vala.stamp: $(moserial_VALASOURCES)
$(VALAC) -C --pkg gtk+-2.0 --pkg gdk-2.0 --pkg Config --pkg posix --pkg gconf-2.0 --vapidir src/ --basedir $(top_srcdir) $^
touch $@
moserial_LDADD = \
$(MOSERIAL_LIBS) \
$(NULL)
distcleancheck_listfiles = find . -type f -print | grep -v 'omf\.out'
distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper' | grep -v 'omf' | grep -v 'figures'
EXTRA_DIST = \
intltool-extract.in \
intltool-update.in \
intltool-merge.in \
$(moserial_VALASOURCES) \
src/moserial.vala.stamp \
omf.make \
xmldocs.make \
gnome-doc-utils.make \
$(NULL)
DISTCLEANFILES = \
intltool-extract \
intltool-update \
intltool-merge \
po/.intltool-merge-cache \
gnome-doc-utils.make \
$(NULL)
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="moserial"
. gnome-autogen.sh
AC_INIT([moserial], [1.0.4], [mjc@svn.gnome.org], [moserial])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
AC_PROG_CC
AM_PROG_CC_C_O
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PATH_PROG(VALAC, valac, valac)
AC_SUBST(VALAC)
AC_CONFIG_MACRO_DIR([m4])
GNOME_DOC_INIT
AH_TEMPLATE([GETTEXT_PACKAGE], [Package name for gettext])
GETTEXT_PACKAGE=moserial
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
AC_SUBST(GETTEXT_PACKAGE)
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
GLIB_REQUIRED=2.12.0
GTK_REQUIRED=2.10.0
PKG_CHECK_MODULES(MOSERIAL, glib-2.0 >= $GLIB_REQUIRED
gobject-2.0 >= $GLIB_REQUIRED
gtk+-2.0 >= $GTK_REQUIRED
gconf-2.0
gio-2.0)
AC_SUBST(MOSERIAL_CFLAGS)
AC_SUBST(MOSERIAL_LIBS)
AC_CONFIG_FILES([
Makefile
po/Makefile.in
data/Makefile
data/glade/Makefile
data/icons/Makefile
data/icons/48x48/Makefile
data/icons/48x48/apps/Makefile
doc/Makefile])
AC_OUTPUT
SUBDIRS = glade icons
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_in_files=moserial.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
EXTRA_DIST = \
$(desktop_in_files) \
$(desktop_DATA)
DISTCLEANFILES = \
$(desktop_DATA)
glade_DATA = moserial.ui
gladedir = $(datadir)/moserial/glade
EXTRA_DIST = moserial.ui moserial.glade
moserial.ui: moserial.glade
gtk-builder-convert moserial.glade moserial.ui
This diff is collapsed.
This diff is collapsed.
themedir = $(datadir)/icons/hicolor
size = 48x48
context = apps
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = moserial.png
EXTRA_DIST = $(icons_DATA)
SUBDIRS = 48x48
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
[Desktop Entry]
_Name=moserial Terminal
_GenericName=Serial Terminal
_Comment=A serial terminal optimized for logging and file capture
Categories=GTK;Utility;FileTransfer;TerminalEmulator
Exec=moserial %U
Icon=moserial
MimeType=
StartupNotify=true
Terminal=false
Type=Application
Supports Markdown
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