-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d60d464
Showing
28 changed files
with
3,269 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
SUBDIRS = \ | ||
data \ | ||
po \ | ||
src \ | ||
$(NULL) | ||
|
||
EXTRA_DIST = AUTHORS | ||
|
||
AUTHORS: | ||
$(AM_V_GEN)if test -d "$(srcdir)/.git"; \ | ||
then \ | ||
echo Creating $@ && \ | ||
( cd "$(top_srcdir)" && \ | ||
echo '# Generated by Makefile. Do not edit.'; echo; \ | ||
git log --no-merges --pretty=format:"%an" $(SUBDIRS) \ | ||
| sort | uniq ) > $@.tmp \ | ||
&& mv -f $@.tmp $@ \ | ||
|| ( rm -f $@.tmp ; \ | ||
echo Failed to generate $@ >&2 ); \ | ||
else touch $@; fi | ||
|
||
# Generate the ChangeLog. | ||
@GENERATE_CHANGELOG_RULES@ | ||
dist-hook: dist-ChangeLog | ||
|
||
GITIGNOREFILES = \ | ||
**/*.swp \ | ||
*.o \ | ||
aclocal.m4 \ | ||
build-aux \ | ||
ChangeLog \ | ||
config \ | ||
config.h.in \ | ||
gtk-doc.m4 \ | ||
gtk-doc.make \ | ||
INSTALL \ | ||
$(NULL) | ||
|
||
-include $(top_srcdir)/git.mk |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
NewTerm | ||
======= | ||
|
||
This is an attempt to see what it's like to have a terminal | ||
that is project based. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
# Run this to generate all the initial makefiles, etc. | ||
test -n "$srcdir" || srcdir=$(dirname "$0") | ||
test -n "$srcdir" || srcdir=. | ||
|
||
olddir=$(pwd) | ||
|
||
cd $srcdir | ||
|
||
(test -f configure.ac) || { | ||
echo "*** ERROR: Directory '$srcdir' does not look like the top-level project directory ***" | ||
exit 1 | ||
} | ||
|
||
# shellcheck disable=SC2016 | ||
PKG_NAME=$(autoconf --trace 'AC_INIT:$1' configure.ac) | ||
|
||
if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then | ||
echo "*** WARNING: I am going to run 'configure' with no arguments." >&2 | ||
echo "*** If you wish to pass any to it, please specify them on the" >&2 | ||
echo "*** '$0' command line." >&2 | ||
echo "" >&2 | ||
fi | ||
|
||
aclocal --install || exit 1 | ||
autoreconf --verbose --force --install || exit 1 | ||
|
||
cd "$olddir" | ||
if [ "$NOCONFIGURE" = "" ]; then | ||
$srcdir/configure "$@" || exit 1 | ||
|
||
if [ "$1" = "--help" ]; then exit 0 else | ||
echo "Now type 'make' to compile $PKG_NAME" || exit 1 | ||
fi | ||
else | ||
echo "Skipping configure process." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
AC_PREREQ([2.69]) | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Define Versioning Information | ||
dnl *********************************************************************** | ||
m4_define([major_version],[0]) | ||
m4_define([minor_version],[1]) | ||
m4_define([micro_version],[0]) | ||
m4_define([package_version],[major_version.minor_version.micro_version]) | ||
m4_define([bug_report_url],[https://bugzilla.gnome.org/enter_bug.cgi?product=newterm]) | ||
m4_define([api_version],[0]) | ||
|
||
AX_IS_RELEASE([micro-version]) | ||
|
||
dnl *********************************************************************** | ||
dnl Initialize autoconf | ||
dnl *********************************************************************** | ||
AC_INIT([newterm],[package_version],[bug_report_url]) | ||
AC_CONFIG_HEADERS([config.h]) | ||
AC_CONFIG_SRCDIR([NEWS]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
AC_SUBST([ACLOCAL_AMFLAGS], "-I m4") | ||
AC_CANONICAL_HOST | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Make version information available to autoconf files | ||
dnl *********************************************************************** | ||
AC_SUBST([MAJOR_VERSION],major_version) | ||
AC_SUBST([MINOR_VERSION],minor_version) | ||
AC_SUBST([MICRO_VERSION],micro_version) | ||
AC_SUBST([API_VERSION],api_version) | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Initialize automake | ||
dnl *********************************************************************** | ||
AM_SILENT_RULES([yes]) | ||
AM_INIT_AUTOMAKE([1.11 foreign subdir-objects tar-ustar no-dist-gzip dist-xz -Wno-portability]) | ||
AM_MAINTAINER_MODE([enable]) | ||
AX_GENERATE_CHANGELOG | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Add extra debugging with --enable-debug and --enable-compile-warnings | ||
dnl *********************************************************************** | ||
AX_CHECK_ENABLE_DEBUG([yes],[], | ||
[G_DISABLE_ASSERT G_DISABLE_CHECKS G_DISABLE_CAST_CHECKS]) | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Internationalization | ||
dnl *********************************************************************** | ||
GETTEXT_PACKAGE=AC_PACKAGE_TARNAME | ||
AC_SUBST([GETTEXT_PACKAGE]) | ||
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [GETTEXT package name]) | ||
|
||
AM_GNU_GETTEXT_VERSION([0.19.6]) | ||
AM_GNU_GETTEXT([external]) | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Check for required programs | ||
dnl *********************************************************************** | ||
AC_PROG_CC | ||
AC_PROG_INSTALL | ||
AC_PATH_PROG([GLIB_GENMARSHAL],[glib-genmarshal]) | ||
AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums]) | ||
AC_PATH_PROG([GLIB_COMPILE_RESOURCES],[glib-compile-resources]) | ||
PKG_PROG_PKG_CONFIG([0.22]) | ||
GLIB_GSETTINGS | ||
GOBJECT_INTROSPECTION_CHECK([1.42.0]) | ||
VAPIGEN_CHECK | ||
|
||
|
||
AX_COMPILER_FLAGS(WARN_CFLAGS, WARN_LDFLAGS, yes, , -Wno-declaration-after-statement) | ||
|
||
dnl *********************************************************************** | ||
dnl Ensure C11 is Supported | ||
dnl *********************************************************************** | ||
AX_CHECK_COMPILE_FLAG([-std=gnu11], | ||
[CFLAGS="$CFLAGS -std=gnu11"], | ||
[AC_MSG_ERROR([C compiler cannot compile GNU C11 code])]) | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Check for required packages | ||
dnl *********************************************************************** | ||
PKG_CHECK_MODULES(NEWTERM, [gio-2.0 >= 2.42 gtk+-3.0 >= 3.20 vte-2.91]) | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Initialize Libtool | ||
dnl *********************************************************************** | ||
LT_PREREQ([2.2]) | ||
LT_INIT | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Process .in Files | ||
dnl *********************************************************************** | ||
AC_CONFIG_FILES([ | ||
Makefile | ||
data/Makefile | ||
po/Makefile.in | ||
src/Makefile | ||
],[], | ||
[API_VERSION='$API_VERSION']) | ||
AC_OUTPUT | ||
|
||
|
||
echo "" | ||
echo " ${PACKAGE} - ${VERSION}" | ||
echo "" | ||
echo " Options" | ||
echo "" | ||
echo " Prefix ............................... : ${prefix}" | ||
echo " Libdir ............................... : ${libdir}" | ||
echo "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
-include $(top_srcdir)/git.mk | ||
|
||
EXTRA_DIST= | ||
|
||
desktopdir=$(datadir)/applications | ||
desktop_DATA = org.gnome.newterm.desktop | ||
EXTRA_DIST += desktop_DATA | ||
|
||
searchdir=$(datadir)/gnome-shell/search-providers | ||
|
||
search_DATA = org.gnome.newterm.search-provider.ini | ||
EXTRA_DIST += searchdir_DATA | ||
|
||
servicedir=/usr/share/dbus-1/services | ||
service_DATA = org.gnome.newterm.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Name=NewTerm | ||
Exec=gapplication launch org.gnome.newterm | ||
Icon=utilities-terminal | ||
Type=Application | ||
StartupNotify=true | ||
DBusActivatable=true | ||
Categories=Categories=GNOME;GTK;System;TerminalEmulator; | ||
Keywords=terminal;shell;project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Shell Search Provider] | ||
DesktopId=org.gnome.newterm.desktop | ||
BusName=org.gnome.newterm | ||
ObjectPath=/org/gnome/newterm/SearchProvider | ||
Version=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[D-BUS Service] | ||
Name=org.gnome.newterm | ||
Exec=/usr/bin/newterm --gapplication-service |
Oops, something went wrong.