Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] gnome-software: don't open irrelevant mimetypes
@ 2022-08-24 21:23 paper42
  2022-08-31 20:32 ` [PR PATCH] [Updated] " paper42
  2022-08-31 20:32 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 2 replies; 3+ messages in thread
From: paper42 @ 2022-08-24 21:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages gnome-software-no-rpms
https://github.com/void-linux/void-packages/pull/38895

gnome-software: don't open irrelevant mimetypes
The gnome-software package can only be used for flatpaks, opening rpms,
debs and other package archives will only result in an error message.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO** (todo)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38895.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gnome-software-no-rpms-38895.patch --]
[-- Type: text/x-diff, Size: 1966 bytes --]

From ebb2ab34e601710cf6fa67c3b969613a3ffa19a3 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 24 Aug 2022 23:19:53 +0200
Subject: [PATCH] gnome-software: don't open irrelevant mimetypes

The gnome-software package can only be used for flatpaks, opening rpms,
debs and other package archives will only result in an error message.
---
 .../patches/0001-only-associate-flatpak-mimetypes.patch   | 8 ++++++++
 srcpkgs/gnome-software/template                           | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/gnome-software/patches/0001-only-associate-flatpak-mimetypes.patch

diff --git a/srcpkgs/gnome-software/patches/0001-only-associate-flatpak-mimetypes.patch b/srcpkgs/gnome-software/patches/0001-only-associate-flatpak-mimetypes.patch
new file mode 100644
index 000000000000..63c2b3aa2232
--- /dev/null
+++ b/srcpkgs/gnome-software/patches/0001-only-associate-flatpak-mimetypes.patch
@@ -0,0 +1,8 @@
+--- a/src/gnome-software-local-file.desktop.in
++++ b/src/gnome-software-local-file.desktop.in
+@@ -9,4 +9,4 @@ Type=Application
+ Icon=system-software-install
+ StartupNotify=true
+ NoDisplay=true
+-MimeType=application/x-rpm;application/x-redhat-package-manager;application/x-deb;application/x-app-package;application/vnd.ms-cab-compressed;application/vnd.flatpak;application/vnd.flatpak.repo;application/vnd.flatpak.ref;application/vnd.snap;
++MimeType=application/vnd.flatpak;application/vnd.flatpak.repo;application/vnd.flatpak.ref
diff --git a/srcpkgs/gnome-software/template b/srcpkgs/gnome-software/template
index 09fb89a4fdd1..4d21ca5c05a7 100644
--- a/srcpkgs/gnome-software/template
+++ b/srcpkgs/gnome-software/template
@@ -1,7 +1,7 @@
 # Template file for 'gnome-software'
 pkgname=gnome-software
 version=42.4
-revision=1
+revision=2
 build_style=meson
 configure_args="-Dvalgrind=false -Dpackagekit=false -Dfwupd=false
  -Dmalcontent=false $(vopt_bool gtk_doc) -Dsoup2=true"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] gnome-software: don't open irrelevant mimetypes
  2022-08-24 21:23 [PR PATCH] gnome-software: don't open irrelevant mimetypes paper42
@ 2022-08-31 20:32 ` paper42
  2022-08-31 20:32 ` [PR PATCH] [Merged]: " paper42
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2022-08-31 20:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1431 bytes --]

There is an updated pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages gnome-software-no-rpms
https://github.com/void-linux/void-packages/pull/38895

gnome-software: don't open irrelevant mimetypes
The gnome-software package can only be used for flatpaks, opening rpms,
debs and other package archives will only result in an error message.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO** (todo)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38895.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gnome-software-no-rpms-38895.patch --]
[-- Type: text/x-diff, Size: 1967 bytes --]

From 1ee2f4557092271fd8a88a34899f1b4d59408d90 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 24 Aug 2022 23:19:53 +0200
Subject: [PATCH] gnome-software: don't open unsupported mimetypes

The gnome-software package can only be used for flatpaks, opening rpms,
debs and other package archives will only result in an error message.
---
 .../patches/0001-only-associate-flatpak-mimetypes.patch   | 8 ++++++++
 srcpkgs/gnome-software/template                           | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/gnome-software/patches/0001-only-associate-flatpak-mimetypes.patch

diff --git a/srcpkgs/gnome-software/patches/0001-only-associate-flatpak-mimetypes.patch b/srcpkgs/gnome-software/patches/0001-only-associate-flatpak-mimetypes.patch
new file mode 100644
index 000000000000..63c2b3aa2232
--- /dev/null
+++ b/srcpkgs/gnome-software/patches/0001-only-associate-flatpak-mimetypes.patch
@@ -0,0 +1,8 @@
+--- a/src/gnome-software-local-file.desktop.in
++++ b/src/gnome-software-local-file.desktop.in
+@@ -9,4 +9,4 @@ Type=Application
+ Icon=system-software-install
+ StartupNotify=true
+ NoDisplay=true
+-MimeType=application/x-rpm;application/x-redhat-package-manager;application/x-deb;application/x-app-package;application/vnd.ms-cab-compressed;application/vnd.flatpak;application/vnd.flatpak.repo;application/vnd.flatpak.ref;application/vnd.snap;
++MimeType=application/vnd.flatpak;application/vnd.flatpak.repo;application/vnd.flatpak.ref
diff --git a/srcpkgs/gnome-software/template b/srcpkgs/gnome-software/template
index 09fb89a4fdd1..4d21ca5c05a7 100644
--- a/srcpkgs/gnome-software/template
+++ b/srcpkgs/gnome-software/template
@@ -1,7 +1,7 @@
 # Template file for 'gnome-software'
 pkgname=gnome-software
 version=42.4
-revision=1
+revision=2
 build_style=meson
 configure_args="-Dvalgrind=false -Dpackagekit=false -Dfwupd=false
  -Dmalcontent=false $(vopt_bool gtk_doc) -Dsoup2=true"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: gnome-software: don't open irrelevant mimetypes
  2022-08-24 21:23 [PR PATCH] gnome-software: don't open irrelevant mimetypes paper42
  2022-08-31 20:32 ` [PR PATCH] [Updated] " paper42
@ 2022-08-31 20:32 ` paper42
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2022-08-31 20:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]

There's a merged pull request on the void-packages repository

gnome-software: don't open irrelevant mimetypes
https://github.com/void-linux/void-packages/pull/38895

Description:
The gnome-software package can only be used for flatpaks, opening rpms,
debs and other package archives will only result in an error message.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO** (todo)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-31 20:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24 21:23 [PR PATCH] gnome-software: don't open irrelevant mimetypes paper42
2022-08-31 20:32 ` [PR PATCH] [Updated] " paper42
2022-08-31 20:32 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).