[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#990945: unblock: cog/0.10.0-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package cog

I filed a separate bug report (#990754) requesting to unblock
wpewebkit so it is up-to-date in order to provide security releases
for bullseye.

To that end and for the same reasons I would also like to request
the unblocking of cog, a simple, single-window web browser that
uses wpewebkit. Cog is the main user of WPE WebKit in Debian and is
developed by the same upstream team.

The reason why I think that it is interesting to have the latest
version in bullseye is its low risk (it has no reverse dependencies)
and the fact that it provides two additional platform plugins: DRM
(for the Linux Direct Rendering Manager) and headless (a plugin
that does not produce output and can be used without any graphics
hardware). The version currently in testing only supports Wayland
output.

See #990754 for more details.

unblock cog/0.10.0-2
diff --git a/debian/changelog b/debian/changelog
index beecb16..c8eaa3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,28 @@
+cog (0.10.0-2) unstable; urgency=medium
+
+  * debian/control:
+    - Build with libwpebackend-fdo-1.0-dev 1.10.0. This enables SHM buffer
+      exports.
+
+ -- Alberto Garcia <berto@igalia.com>  Wed, 16 Jun 2021 15:31:16 +0200
+
+cog (0.10.0-1) experimental; urgency=medium
+
+  * New upstream release.
+  * debian/control:
+    - Add build dependencies on libdrm-dev, libgbm-dev and libinput-dev.
+  * debian/install:
+    - Install all platform plugins (this version builds two new ones: drm
+      and headless).
+  * debian/cog.lintian-overrides:
+    - Override sharedobject-in-library-directory-missing-soname in all
+      plugins
+    - Override library-not-linked-against-libc in the headless plugin
+      (this is a false positive, this plugin does not use libc symbols)
+  * Drop use-fdo-backend.patch.
+
+ -- Alberto Garcia <berto@igalia.com>  Tue, 18 May 2021 23:25:25 +0200
+
 cog (0.8.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/cog.lintian-overrides b/debian/cog.lintian-overrides
index 0023111..b7be197 100644
--- a/debian/cog.lintian-overrides
+++ b/debian/cog.lintian-overrides
@@ -1,2 +1,3 @@
-cog: sharedobject-in-library-directory-missing-soname usr/lib/*/libcogplatform-fdo.so
+cog: library-not-linked-against-libc usr/lib/*/libcogplatform-headless.so
+cog: sharedobject-in-library-directory-missing-soname usr/lib/*/libcogplatform-*.so
 cog: package-name-doesnt-match-sonames libcogcore1
diff --git a/debian/control b/debian/control
index c29a56f..91b5b38 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,11 @@ Maintainer: Alberto Garcia <berto@igalia.com>
 Build-Depends: debhelper-compat (= 12),
                cmake,
                libcairo-dev,
+               libdrm-dev,
+               libgbm-dev,
+               libinput-dev,
                libwayland-dev,
-               libwpebackend-fdo-1.0-dev,
+               libwpebackend-fdo-1.0-dev (>= 1.10.0),
                libwpewebkit-1.0-dev,
                wayland-protocols
 Standards-Version: 4.5.1
diff --git a/debian/install b/debian/install
index dec1194..bd32724 100644
--- a/debian/install
+++ b/debian/install
@@ -1,4 +1,4 @@
 usr/bin/*
 usr/lib/*/*.so.*
-usr/lib/*/libcogplatform-fdo.so
+usr/lib/*/libcogplatform-*.so
 usr/share/man
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 2368f97..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-use-fdo-backend.patch
diff --git a/debian/patches/use-fdo-backend.patch b/debian/patches/use-fdo-backend.patch
deleted file mode 100644
index 5e138fb..0000000
--- a/debian/patches/use-fdo-backend.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From: Alberto Garcia <berto@igalia.com>
-Subject: Default to the fdo backend if none is specified
-diff --git a/cog.c b/cog.c
-index 6f30bb7..f9d164d 100644
---- a/cog.c
-+++ b/cog.c
-@@ -309,11 +309,12 @@ platform_setup (CogShell *shell)
-      * a given platform.
-      */
- 
-+    if (!s_options.platform_name) {
-+        s_options.platform_name = g_strdup("fdo");
-+    }
-+
-     g_debug ("%s: Platform name: %s", __func__, s_options.platform_name);
- 
--    if (!s_options.platform_name)
--        return FALSE;
--
-     g_autofree char *platform_soname =
-         g_strdup_printf ("libcogplatform-%s.so", s_options.platform_name);
-     g_clear_pointer (&s_options.platform_name, g_free);

Reply to: