Skip to content

Commit

Permalink
feat: add mate-submodules
Browse files Browse the repository at this point in the history
mate-submodules: MATE code components provided as Git submodule repository

Log: add mate-submodules
Issue:deepin-community/sig-deepin-sysdev-team#257
  • Loading branch information
liushanyang12138 committed Jul 7, 2023
1 parent 24d086e commit 2dce869
Show file tree
Hide file tree
Showing 25 changed files with 4,891 additions and 37 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBDIRS = libegg
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# template-repository
#mate-submodules
63 changes: 63 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
dnl Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)

AC_INIT([mate-submodules], [1.24.0], [https://mate-desktop.org])
AM_INIT_AUTOMAKE([1.9 foreign dist-xz no-dist-gzip check-news])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])

MATE_COMMON_INIT
MATE_DEBUG_CHECK([no])
MATE_COMPILE_WARNINGS

AC_PROG_CC
AM_DISABLE_STATIC
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG

dnl ==========================================================================
dnl
dnl If you add a version number here, you *must* add an AC_SUBST line for
dnl it too, or it will never make it into the spec file!
dnl
dnl ==========================================================================

GLIB_REQUIRED=2.50.0
GTK_REQUIRED=3.22.0
ICE_REQUIRED=1.0.0
SM_REQUIRED=1.0.0

AC_SUBST(GLIB_REQUIRED)
AC_SUBST(GTK_REQUIRED)
AC_SUBST(ICE_REQUIRED)
AC_SUBST(SM_REQUIRED)

dnl ===========================================================================

PKG_CHECK_MODULES(LIBEGG, [glib-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
sm >= $SM_REQUIRED
gthread-2.0 >= $GLIB_REQUIRED
ice >= $ICE_REQUIRED])
AC_SUBST([LIBEGG_CFLAGS])
AC_SUBST([LIBEGG_LIBS])

dnl ******************************

AC_CONFIG_FILES([Makefile
libegg/Makefile])
AC_OUTPUT

echo "
Configuration:

Source code location: ${srcdir}
Compiler: ${CC}
Compiler flags: ${CFLAGS}
Warning flags: ${WARN_CFLAGS}
Linker flags: ${LDFLAGS}
"
35 changes: 32 additions & 3 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
template-repository (1.0-1) unstable; urgency=medium
mate-submodules (0.0~git20230515.e2d93e1-1) unstable; urgency=medium

* Initial release
* New upstream Git snapshot.
* debian/copyright:
+ Update auto-generated copyright.in file.
+ Update copyright attributions.

-- Tsic404 <[email protected]> Sat, 28 Jan 2023 13:46:49 +0800
-- Mike Gabriel <[email protected]> Wed, 21 Jun 2023 07:22:08 +0200

mate-submodules (0.0~git20220213.a8efc6b-1) unstable; urgency=medium

* New upstream Git snapshot.

-- Mike Gabriel <[email protected]> Sat, 23 Jul 2022 17:50:46 +0200

mate-submodules (0.0~git20210623.f3091f9-3) unstable; urgency=medium

[ Chris Lamb ]
* debian/rules:
+ Create source tarball reproducibly. (Closes: #1001553).

-- Mike Gabriel <[email protected]> Mon, 13 Dec 2021 01:55:08 +0100

mate-submodules (0.0~git20210623.f3091f9-2) unstable; urgency=medium

* Re-upload as is (source-only upload).

-- Mike Gabriel <[email protected]> Sat, 11 Dec 2021 21:21:01 +0100

mate-submodules (0.0~git20210623.f3091f9-1) unstable; urgency=medium

* Initial upload to Debian. (Closes: #1001497).

-- Mike Gabriel <[email protected]> Sat, 11 Dec 2021 01:15:31 +0100
1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

39 changes: 26 additions & 13 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
Source: template-repository
Section: unknown
Source: mate-submodules
Section: devel
Priority: optional
Maintainer: Tsic404 <[email protected]>
Build-Depends: debhelper (>= 11)
Standards-Version: 4.1.3
Homepage: https://github.com/deepin-community/template-repository
#Vcs-Browser: https://salsa.debian.org/debian/deepin-community-template-repository
#Vcs-Git: https://salsa.debian.org/debian/deepin-community-template-repository.git
Build-Depends:
debhelper-compat (= 13),
tar (>= 1.28),
Maintainer: Debian+Ubuntu MATE Packaging Team <[email protected]>
Uploaders: Mike Gabriel <[email protected]>,
Rules-Requires-Root: no
Standards-Version: 4.6.0
Homepage: https://github.com/mate-desktop/mate-submodules
Vcs-Browser: https://salsa.debian.org/debian-mate-team/mate-submodules
Vcs-Git: https://salsa.debian.org/debian-mate-team/mate-submodules.git

Package: template-repository
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Package: mate-submodules-source
Architecture: all
Depends:
${misc:Depends},
Description: MATE code components provided as Git submodule repository
The MATE Desktop Environment is the continuation of GNOME 2. It provides an
intuitive and attractive desktop environment using traditional metaphors for
Linux and other Unix-like operating systems.
.
MATE is under active development to add support for new technologies while
preserving a traditional desktop experience.
.
This package provides code components required to build other parts of the
MATE desktop environment.
73 changes: 55 additions & 18 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -1,22 +1,59 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: template-repository
Source: https://github.com/deepin-community/template-repository
Upstream-Name: mate-submodules
Source: https://github.com/mate-desktop/mate-submodules

Files: *
Copyright: 2023 Tsic404 <[email protected]>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Files: .build.yml
.github/ISSUE_TEMPLATE/mate-issue-template.md
.travis.yml
Makefile.am
configure.ac
libegg/Makefile.am
libegg/meson.build
meson.build
Copyright: 2012-2021, MATE Developers
License: LGPL-2+
Comment:
Assuming MATE Developers as copyright holders.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
Using license from libegg for now, as there is no
better hint in the source tree.

Files: libegg/eggdesktopfile.h
libegg/eggsmclient-private.h
libegg/eggsmclient.c
libegg/eggsmclient.h
Copyright: 2007, Novell, Inc.
2012-2021, MATE Developers
License: LGPL-2+

Files: libegg/eggtreemultidnd.c
libegg/eggtreemultidnd.h
Copyright: 2001, Red Hat, Inc.
2012-2021, MATE Developers
License: LGPL-2+

Files: libegg/eggdesktopfile.c
Copyright: 1999-2000, Red Hat Inc.
2001, George Lebl
2007, Novell, Inc.
2012-2021, MATE Developers
License: LGPL-2+

Files: libegg/eggsmclient-xsmp.c
Copyright: 1998, The Open Group.
2001, Havoc Pennington, MateClient (C) 1998 Carsten Schaar, and twm
2007, Novell, Inc.
2012-2021, MATE Developers
License: LGPL-2+

Files: debian/*
Copyright: 2021-2023, Mike Gabriel <[email protected]>
License: LGPL-2+

License: LGPL-2+
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
See /usr/share/common-licenses/LGPL-2 for the full license text.
71 changes: 71 additions & 0 deletions debian/copyright.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: FIXME
Upstream-Contact: FIXME
Source: FIXME
Disclaimer: Autogenerated by licensecheck

Files: Makefile.am
configure.ac
debian/changelog
debian/control
debian/files
debian/install
debian/patches/README
debian/rules
debian/source/format
debian/upstream/metadata
debian/watch
libegg/Makefile.am
libegg/meson.build
Copyright: NONE
License: UNKNOWN
FIXME

Files: libegg/eggdesktopfile.h
libegg/eggsmclient-private.h
libegg/eggsmclient.c
libegg/eggsmclient.h
Copyright: 2007, Novell, Inc.
2012-2021, MATE Developers
License: LGPL-2+
FIXME

Files: libegg/eggtreemultidnd.c
libegg/eggtreemultidnd.h
Copyright: 2001, Red Hat, Inc.
2012-2021, MATE Developers
License: LGPL-2+
FIXME

Files: meson.build
Copyright: NONE
License: GPL-2
FIXME

Files: debian/copyright
Copyright: 1998, Carsten Schaar, and twm
1998, The Open Group.
1999-2000, Red Hat Inc.
2001, Red Hat, Inc.
2007, Novell, Inc.
2012-2021, MATE Developers
2021, Mike Gabriel <[email protected]>
License: LGPL-2+
FIXME

Files: libegg/eggdesktopfile.c
Copyright: 1999-2000, Red Hat Inc.
2001, George Lebl
2007, Novell, Inc.
2012-2021, MATE Developers
License: LGPL-2+
FIXME

Files: libegg/eggsmclient-xsmp.c
Copyright: 1998, The Open Group.
2001, Havoc Pennington, MateClient (C) 1998 Carsten Schaar, and twm
2007, Novell, Inc.
2012-2021, MATE Developers
License: LGPL-2+
FIXME

1 change: 1 addition & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/src/*.tar.xz
3 changes: 3 additions & 0 deletions debian/patches/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0xxx: Grabbed from upstream development.
1xxx: Possibly relevant for upstream adoption.
2xxx: Only relevant for official Debian release.
14 changes: 14 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,17 @@

%:
dh $@

override_dh_autoreconf:

override_dh_auto_configure:

override_dh_auto_build:

override_dh_install:
mkdir -p $(CURDIR)/debian/tmp/usr/src/
cd $(CURDIR) && tar --clamp-mtime --mtime="$(SOURCE_DATE)" --mode=go=rX,u+rw,a-s --owner=0 --group=0 --numeric-owner -cv `find . -type f | grep -v ./debian/ | grep -v ./.pc/ | sort` | xz -z > $(CURDIR)/debian/tmp/usr/src/mate-submodules-source.tar.xz
dh_install

get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..
2 changes: 1 addition & 1 deletion debian/source/format
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0 (quilt)
3.0 (quilt)
5 changes: 5 additions & 0 deletions debian/upstream/metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Name: mate-submodules
Bug-Database: https://github.com/mate-desktop/mate-submodules/issues
Bug-Submit: https://github.com/mate-desktop/mate-submodules/issues/new
Repository: https://github.com/mate-desktop/mate-submodules.git
Repository-Browse: https://github.com/mate-desktop/mate-submodules/
4 changes: 4 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version=4
opts="mode=git, pgpmode=none" \
https://github.com/mate-desktop/mate-submodules \
HEAD
37 changes: 37 additions & 0 deletions libegg/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
NULL=

noinst_LTLIBRARIES = libegg.la

AM_CPPFLAGS = $(LIBEGG_CFLAGS)

EGG_TREE_DND_FILES = \
eggtreemultidnd.c \
eggtreemultidnd.h \
$(NULL)

EGG_SMCLIENT_FILES = \
eggdesktopfile.c \
eggdesktopfile.h \
eggsmclient.c \
eggsmclient.h \
eggsmclient-private.h \
eggsmclient-xsmp.c \
$(NULL)

libegg_la_SOURCES = \
$(EGG_TREE_DND_FILES) \
$(EGG_SMCLIENT_FILES) \
$(NULL)

libegg_la_CFLAGS = \
-DEGG_SM_CLIENT_BACKEND_XSMP \
-DG_LOG_DOMAIN=\""EggSMClient"\" \
$(LIBEGG_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)

libegg_la_LIBADD = \
$(LIBEGG_LIBS) \
$(NULL)

-include $(top_srcdir)/git.mk
Loading

0 comments on commit 2dce869

Please sign in to comment.