d/rules: Stop generating d/control.in from d/control
authorSimon McVittie <smcv@debian.org>
Thu, 2 Nov 2023 14:24:42 +0000 (14:24 +0000)
committerSimon McVittie <smcv@debian.org>
Thu, 2 Nov 2023 14:24:42 +0000 (14:24 +0000)
The variable substitutions obscured more than they really helped.

debian/control.in [deleted file]
debian/rules

diff --git a/debian/control.in b/debian/control.in
deleted file mode 100644 (file)
index 5076881..0000000
+++ /dev/null
@@ -1,328 +0,0 @@
-Source: gtk4
-Section: libs
-Priority: optional
-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
-Uploaders: Simon McVittie <smcv@debian.org>, @GNOME_TEAM@
-Build-Depends: adwaita-icon-theme <!nocheck>,
-               at-spi2-core <!nocheck>,
-               dbus-daemon <!nocheck>,
-               debhelper-compat (= 13),
-               dh-exec,
-               fonts-cantarell <!nocheck>,
-               fonts-noto-core <!nocheck>,
-               gnome-pkg-tools,
-               gobject-introspection (>= 1.76.0),
-               gsettings-desktop-schemas <!nocheck>,
-               iso-codes <!nocheck>,
-               libavcodec-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x],
-               libavdevice-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x],
-               libavfilter-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x],
-               libavformat-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x],
-               libavutil-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x],
-               libcairo2-dev,
-               libcolord-dev,
-               libcloudproviders-dev (>= 0.3.1),
-               libcups2-dev,
-               libegl1-mesa-dev [linux-any],
-               libepoxy-dev,
-               libfontconfig-dev,
-               libfribidi-dev,
-               libgdk-pixbuf-2.0-dev,
-               libgirepository1.0-dev (>= 1.72.0),
-               libglib2.0-dev (>= 2.76.0),
-               libgraphene-1.0-dev,
-               libgstreamer1.0-dev,
-               libgstreamer-plugins-base1.0-dev,
-               libharfbuzz-dev,
-               libjpeg-dev,
-               libjson-glib-dev:native,
-               libpango1.0-dev (>= 1.50.0),
-               libpng-dev,
-               libpolkit-gobject-1-dev [linux-any],
-               librsvg2-common [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x powerpc ppc64 riscv64 sparc64 x32] <!nocheck>,
-               librsvg2-dev (>= 2.52.0) [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x powerpc ppc64 riscv64 sparc64 x32],
-               libswresample-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x],
-               libswscale-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x],
-               libsysprof-capture-4-dev (>= 3.40.1) [linux-any],
-               libtiff-dev,
-               libvulkan-dev [linux-any],
-               libwayland-dev (>= 1.21.0) [linux-any],
-               libx11-dev,
-               libxcomposite-dev,
-               libxcursor-dev,
-               libxdamage-dev,
-               libxext-dev,
-               libxfixes-dev,
-               libxi-dev,
-               libxinerama-dev,
-               libxkbcommon-dev,
-               libxkbfile-dev,
-               libxml2-utils,
-               libxrandr-dev,
-               locales <!nocheck> | locales-all <!nocheck>,
-               meson (>= 0.63),
-               pkg-config,
-               python3-docutils <!nodoc>,
-               python3-gi (>= 3.40),
-               sassc,
-               wayland-protocols (>= 1.32) [linux-any],
-               weston [linux-any] <!nocheck>,
-               xauth <!nocheck>,
-               xvfb <!nocheck>,
-Build-Depends-Indep: gi-docgen <!nodoc>,
-                     libcairo2-doc <!nodoc>,
-                     libglib2.0-doc <!nodoc>,
-                     libpango1.0-doc <!nodoc>,
-                     pandoc,
-Rules-Requires-Root: no
-Standards-Version: 4.6.2
-Vcs-Browser: https://salsa.debian.org/gnome-team/gtk4
-Vcs-Git: https://salsa.debian.org/gnome-team/gtk4.git
-Homepage: https://www.gtk.org/
-
-Package: @SHARED_PKG@
-Architecture: any
-Multi-Arch: same
-Depends: adwaita-icon-theme,
-         hicolor-icon-theme,
-         shared-mime-info,
-         ${misc:Depends},
-         ${shlibs:Depends},
-         @COMMON_PKG@ (>= ${source:Version})
-Provides: ${gtk:Provides}
-Recommends: @BIN_PKG@,
-            iso-codes,
-            librsvg2-common (>= 2.52.0),
-            @MEDIA_GSTREAMER_PKG@,
-Suggests: gvfs
-Breaks: libgtk-4-0 (<< 4.0.0),
-Replaces: libgtk-4-0 (<< 4.0.0),
-Pre-Depends: ${misc:Pre-Depends}
-Description: GTK graphical user interface library
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains the shared libraries.
-
-Package: @UDEB_PKG@
-Build-Profiles: <!noudeb>
-Package-Type: udeb
-Section: debian-installer
-Architecture: any
-Depends: ${misc:Depends},
-         ${shlibs:Depends}
-Provides: ${gtk:Provides}
-Description: GTK graphical user interface library - minimal runtime
- This is a udeb, or a microdeb, for the debian-installer.
- .
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains the minimal runtime library using X11 needed
- by the Debian installer.
-
-Package: @COMMON_PKG@
-Section: misc
-Architecture: all
-Multi-Arch: foreign
-Depends: ${misc:Depends}
-Recommends: @SHARED_PKG@
-Description: common files for the GTK graphical user interface library
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains the common files which the libraries need.
-
-Package: @BIN_PKG@
-Section: misc
-Architecture: any
-Multi-Arch: foreign
-Depends: gtk-update-icon-cache,
-         ${misc:Depends},
-         ${shlibs:Depends},
-         @COMMON_PKG@ (>= ${source:Version}),
-         @SHARED_PKG@ (>= ${source:Version})
-Breaks: @EXAMPLES_PKG@ (<< 3.96.0-3~)
-Replaces: @EXAMPLES_PKG@ (<< 3.96.0-3~)
-Description: programs for the GTK graphical user interface library
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains the utilities which are used by the libraries
- and other packages.
-
-Package: @DEV_PKG@
-Section: libdevel
-Architecture: any
-Multi-Arch: same
-Depends: gir1.2-gtk-4.0 (= ${binary:Version}),
-         libcairo2-dev (>= 1.14.0),
-         libegl1-mesa-dev [linux-any],
-         libepoxy-dev (>= 1.0),
-         libfontconfig-dev,
-         libgdk-pixbuf-2.0-dev (>= 2.30.0),
-         libglib2.0-dev (>= 2.76.0),
-         libgraphene-1.0-dev (>= 1.9.1),
-         libpango1.0-dev (>= 1.50.0),
-         libwayland-dev (>= 1.16.91) [linux-any],
-         libx11-dev,
-         libxcomposite-dev,
-         libxcursor-dev,
-         libxdamage-dev,
-         libxext-dev,
-         libxfixes-dev,
-         libxi-dev,
-         libxinerama-dev,
-         libxkbcommon-dev,
-         libxrandr-dev,
-         libvulkan-dev [linux-any],
-         pkg-config,
-         wayland-protocols (>= 1.32) [linux-any],
-         ${misc:Depends},
-         ${shlibs:Depends},
-         @COMMON_PKG@,
-         @SHARED_PKG@ (= ${binary:Version})
-Suggests: @DOC_PKG@,
-          @EXAMPLES_PKG@
-Description: development files for the GTK library
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains the header and development files which are
- needed for building GTK applications.
-
-Package: @DOC_PKG@
-Build-Profiles: <!nodoc>
-Section: doc
-Architecture: all
-Multi-Arch: foreign
-Depends: ${misc:Depends}
-Recommends: libglib2.0-doc,
-            libpango1.0-doc
-Suggests: devhelp
-Description: documentation for the GTK graphical user interface library
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains the HTML documentation for the GTK library
- in /usr/share/doc/@DOC_PKG@/ .
-
-Package: @MEDIA_GSTREAMER_PKG@
-Section: x11
-Architecture: any
-Multi-Arch: foreign
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-Description: GStreamer media backend for the GTK graphical user interface library
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains the media module that uses GStreamer as backend.
-
-Package: @MEDIA_FFMPEG_PKG@
-Build-Profiles: <pkg.gtk4.ffmpeg>
-Section: x11
-Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x
-Multi-Arch: foreign
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-Description: FFmpeg media backend for the GTK graphical user interface library
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains the media module that uses FFmpeg as backend.
- This module is considered incomplete and experimental, and using the
- @MEDIA_GSTREAMER_PKG@ module instead is recommended.
-
-Package: @EXAMPLES_PKG@
-Build-Profiles: <!noinsttest>
-Section: x11
-Architecture: any
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         @SHARED_PKG@ (= ${binary:Version})
-Recommends: fonts-cantarell,
-            librsvg2-common (>= 2.52.0) [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x powerpc ppc64 riscv64 sparc64 x32],
-Description: example files for GTK 4
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains the example files and a demonstration program
- for GTK4.
-
-Package: @TESTS_PKG@
-Build-Profiles: <!noinsttest>
-Section: x11
-Architecture: any
-Depends: iso-codes,
-         librsvg2-common (>= 2.52.0) [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x powerpc ppc64 riscv64 sparc64 x32],
-         ${misc:Depends},
-         ${shlibs:Depends},
-         @SHARED_PKG@ (= ${binary:Version}),
-Recommends: gnome-desktop-testing,
-            locales | locales-all,
-Description: "as-installed" tests for GTK 4
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package contains installable test programs, primarily for use with
- autopkgtest.
-
-Package: gir1.2-gtk-4.0
-Section: introspection
-Architecture: any
-Multi-Arch: same
-Depends: ${gir:Depends},
-         ${misc:Depends},
-         ${shlibs:Depends},
-         @COMMON_PKG@
-Provides: gir1.2-gdk-4.0 (= ${binary:Version}),
-          gir1.2-gdkwayland-4.0 (= ${binary:Version}) [linux-any],
-          gir1.2-gdkx11-4.0 (= ${binary:Version}),
-          gir1.2-gsk-4.0 (= ${binary:Version})
-Description: GTK graphical user interface library -- gir bindings
- GTK is a multi-platform toolkit for creating graphical user
- interfaces. Offering a complete set of widgets, GTK is suitable
- for projects ranging from small one-off tools to complete application
- suites.
- .
- This package can be used by other packages using the GIRepository format to
- generate dynamic bindings.
-
-#Package: gtk-update-icon-cache
-#Section: misc
-#Architecture: any
-#Multi-Arch: foreign
-#Depends: ${misc:Depends},
-#         ${shlibs:Depends}
-#Breaks: libgtk2.0-bin (<< 2.24.30-2),
-#        libgtk-3-bin (<< 3.20.6-1)
-#Replaces: libgtk2.0-bin (<< 2.24.30-2),
-#          libgtk-3-bin (<< 3.20.6-1)
-#Description: icon theme caching utility
-# gtk-update-icon-cache creates mmap()able cache files for icon themes.
-# .
-# GTK can use the cache files created by gtk-update-icon-cache to avoid a lot
-# of system call and disk seek overhead when the application starts. Since the
-# format of the cache files allows them to be mmap()ed shared between multiple
-# applications, the overall memory consumption is reduced as well.
index 5ff67f457d135d993cd34c04cf90fff526e36585..3d685e46e9cf53b5e60b44813f716396a51d1573 100755 (executable)
@@ -147,8 +147,6 @@ configure_flags_udeb = \
        dh $@ --with gir --buildsystem=meson $(dh_options)
 
 override_dh_clean: debian/control
-       # gross kludge to force control generation with the %.in target
-       touch debian/control.in
        rm -f $(call dh_subst_files,$(all_binaries))
        rm -rf debian/build debian/install
        # Rebuild the CSS from source. Note that gtk.css is hand-written,