forked from fedora-modularity/libmodulemd
-
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.
Generated by gnome-builder
- Loading branch information
0 parents
commit cdf0c13
Showing
34 changed files
with
11,244 additions
and
0 deletions.
There are no files selected for viewing
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,18 @@ | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,36 @@ | ||
SUBDIRS = data src po | ||
|
||
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.
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,38 @@ | ||
#!/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 | ||
|
||
mkdir -p m4 | ||
|
||
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,132 @@ | ||
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=modulemd]) | ||
m4_define([api_version],[major_version]) | ||
|
||
AX_IS_RELEASE([micro-version]) | ||
|
||
dnl *********************************************************************** | ||
dnl Initialize autoconf | ||
dnl *********************************************************************** | ||
AC_INIT([modulemd],[package_version],[bug_report_url]) | ||
AC_CONFIG_HEADERS([config.h]) | ||
AC_CONFIG_SRCDIR([data/modulemd.pc.in]) | ||
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([no],[] | ||
[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_PROG_SED | ||
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 | ||
|
||
|
||
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(MODULEMD, [gio-2.0 >= 2.42]) | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Initialize Libtool | ||
dnl *********************************************************************** | ||
LT_PREREQ([2.2]) | ||
LT_INIT | ||
|
||
|
||
dnl *********************************************************************** | ||
dnl Process .in Files | ||
dnl *********************************************************************** | ||
AC_CONFIG_FILES([ | ||
Makefile | ||
src/Makefile | ||
src/modulemd-version.h | ||
data/Makefile | ||
data/modulemd-$API_VERSION.pc:data/modulemd.pc.in | ||
po/Makefile.in | ||
],[], | ||
[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,10 @@ | ||
# pkg-config data | ||
# Note that the template file is called modulemd.pc.in, but generates a | ||
# versioned .pc file using some magic in AC_CONFIG_FILES. | ||
pkgconfigdir = $(libdir)/pkgconfig | ||
pkgconfig_DATA = modulemd-$(API_VERSION).pc | ||
|
||
DISTCLEANFILES = $(pkgconfig_DATA) | ||
EXTRA_DIST = modulemd.pc.in | ||
|
||
-include $(top_srcdir)/git.mk |
Empty file.
Oops, something went wrong.