public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/dippi] rawhide: Update to 5.0.4 (close RHBZ#2548954)
Date: Mon, 12 Oct 2026 06:15:54 GMT [thread overview]
Message-ID: <179178575481.1.13271095462629011999.rpms-dippi-d0d4837ff6c5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/dippi
Branch : rawhide
Commit : d0d4837ff6c5f53c237af0330f7ccf458c620c39
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-12T07:15:23+01:00
Stats : +177/-56 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/dippi/c/d0d4837ff6c5f53c237af0330f7ccf458c620c39?branch=rawhide
Log:
Update to 5.0.4 (close RHBZ#2548954)
---
diff --git a/156.patch b/156.patch
new file mode 100644
index 0000000..afc0d3c
--- /dev/null
+++ b/156.patch
@@ -0,0 +1,110 @@
+From 292353a99a8e78ed06b46b707c63f81a57166c19 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Mon, 12 Oct 2026 06:34:29 +0100
+Subject: [PATCH 1/2] =?UTF-8?q?Updated=20English=20=E2=80=9Ctranslations?=
+ =?UTF-8?q?=E2=80=9D=20of=20summary?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Make them actually match the message string.
+---
+ po/en_AU.po | 2 +-
+ po/en_CA.po | 2 +-
+ po/en_GB.po | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/po/en_AU.po b/po/en_AU.po
+index 2de3ea9..106cced 100644
+--- a/po/en_AU.po
++++ b/po/en_AU.po
+@@ -25,7 +25,7 @@ msgstr "Dippi"
+ #: data/metainfo.appdata.xml.in:5 data/launcher.desktop.in:4
+ #, fuzzy
+ msgid "Calculate display info like DPI"
+-msgstr "Calculate display info like DPI and aspect ratio"
++msgstr "Calculate display info like DPI"
+
+ #: data/metainfo.appdata.xml.in:10 data/metainfo.appdata.xml.in:12
+ msgid "Cassidy James Blaede"
+diff --git a/po/en_CA.po b/po/en_CA.po
+index e0fc182..6c6ac03 100644
+--- a/po/en_CA.po
++++ b/po/en_CA.po
+@@ -25,7 +25,7 @@ msgstr "Dippi"
+ #: data/metainfo.appdata.xml.in:5 data/launcher.desktop.in:4
+ #, fuzzy
+ msgid "Calculate display info like DPI"
+-msgstr "Calculate display info like DPI and aspect ratio"
++msgstr "Calculate display info like DPI"
+
+ #: data/metainfo.appdata.xml.in:10 data/metainfo.appdata.xml.in:12
+ msgid "Cassidy James Blaede"
+diff --git a/po/en_GB.po b/po/en_GB.po
+index 3e5d50b..8008430 100644
+--- a/po/en_GB.po
++++ b/po/en_GB.po
+@@ -25,7 +25,7 @@ msgstr "Dippi"
+ #: data/metainfo.appdata.xml.in:5 data/launcher.desktop.in:4
+ #, fuzzy
+ msgid "Calculate display info like DPI"
+-msgstr "Calculate display info like DPI and aspect ratio"
++msgstr "Calculate display info like DPI"
+
+ #: data/metainfo.appdata.xml.in:10 data/metainfo.appdata.xml.in:12
+ msgid "Cassidy James Blaede"
+
+From 0f4622dbb02bb9336b98fff37faa1450b0e7ff68 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Mon, 12 Oct 2026 06:36:06 +0100
+Subject: [PATCH 2/2] =?UTF-8?q?Fix=20use=20of=20=E2=80=98=20instead=20of?=
+ =?UTF-8?q?=20=E2=80=99=20in=20English=20=E2=80=9Ctranslations=E2=80=9D?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+---
+ po/en_AU.po | 2 +-
+ po/en_CA.po | 2 +-
+ po/en_GB.po | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/po/en_AU.po b/po/en_AU.po
+index 106cced..0144b0a 100644
+--- a/po/en_AU.po
++++ b/po/en_AU.po
+@@ -79,7 +79,7 @@ msgstr ""
+ #: data/metainfo.appdata.xml.in:25
+ #, fuzzy
+ msgid "Tells you if a display’s density is:"
+-msgstr "Tells you if a display‘s density is:"
++msgstr "Tells you if a display’s density is:"
+
+ #: data/metainfo.appdata.xml.in:27
+ msgid "Very Low DPI,"
+diff --git a/po/en_CA.po b/po/en_CA.po
+index 6c6ac03..6495052 100644
+--- a/po/en_CA.po
++++ b/po/en_CA.po
+@@ -79,7 +79,7 @@ msgstr ""
+ #: data/metainfo.appdata.xml.in:25
+ #, fuzzy
+ msgid "Tells you if a display’s density is:"
+-msgstr "Tells you if a display‘s density is:"
++msgstr "Tells you if a display’s density is:"
+
+ #: data/metainfo.appdata.xml.in:27
+ msgid "Very Low DPI,"
+diff --git a/po/en_GB.po b/po/en_GB.po
+index 8008430..c8cebd3 100644
+--- a/po/en_GB.po
++++ b/po/en_GB.po
+@@ -79,7 +79,7 @@ msgstr ""
+ #: data/metainfo.appdata.xml.in:25
+ #, fuzzy
+ msgid "Tells you if a display’s density is:"
+-msgstr "Tells you if a display‘s density is:"
++msgstr "Tells you if a display’s density is:"
+
+ #: data/metainfo.appdata.xml.in:27
+ msgid "Very Low DPI,"
diff --git a/dippi.rpmlintrc b/dippi.rpmlintrc
index 387d21e..9fd6997 100644
--- a/dippi.rpmlintrc
+++ b/dippi.rpmlintrc
@@ -4,3 +4,6 @@ addFilter(r" no-manual-page-for-binary ")
# Not real spelling errors
# - “li” is from “li’l”
addFilter(r" spelling-error \('(li)',")
+# Sure, ე is lower-case, but I don’t know Georgian capitalization rules, so why
+# would I second-guess the translator?
+addFilter(r" summary-not-capitalized ka ე")
diff --git a/dippi.spec b/dippi.spec
index dba4f70..e212c5c 100644
--- a/dippi.spec
+++ b/dippi.spec
@@ -2,7 +2,7 @@
Name: dippi
Summary: Calculate display info like DPI and aspect ratio
-Version: 5.0.2
+Version: 5.0.4
Release: %autorelease
# The entire source is GPL-3.0-only, except:
# - data/metadata.metainfo.xml.in is CC0-1.0, allowed for content only
@@ -11,6 +11,10 @@ License: GPL-3.0-or-later AND CC0-1.0
URL: https://github.com/cassidyjames/dippi
Source: %{url}/archive/%{version}/dippi-%{version}.tar.gz
+# Fix a couple of minor issues with the English “translations”
+# https://github.com/cassidyjames/dippi/pull/156
+Patch: %{url}/pull/156.patch
+
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
@@ -33,14 +37,15 @@ BuildRequires: pkgconfig(libadwaita-1) >= 1.8.1
Requires: hicolor-icon-theme
-Summary(en_AU): Calculate display info like DPI and aspect ratio
-Summary(en_CA): Calculate display info like DPI and aspect ratio
-Summary(en_GB): Calculate display info like DPI and aspect ratio
-Summary(es): Cálculo de datos de la pantalla como los PPP y la relación de aspecto
+Summary(en_AU): Calculate display info like DPI
+Summary(en_CA): Calculate display info like DPI
+Summary(en_GB): Calculate display info like DPI
+Summary(es): Calcula datos de la pantalla, como PPP
Summary(fr_CA): Calculez les informations de l’écran comme le DPI ou le ratio
Summary(fr): Calculez des informations sur l'écran comme le DPI ou le ratio
-Summary(hr): Izračunavanje podataka ekrana kao DPI
+Summary(hr): Izračunaj podatke ekrana kao DPI
Summary(it): Calcola le informazioni di visualizzazione come DPI
+Summary(ka): ეკრანის ისეთი ინფორმაციების გამოთვლა, როგორიცაა DPI
Summary(lt): Apskaičiuoti tokią ekrano informaciją kaip taškus colyje (DPI) ir proporcijas
Summary(nl): Bereken scherminformatie, zoals DPI en beeldverhouding
Summary(pt): Calcule informação do monitor como o DPI e a relação de aspeto
@@ -48,10 +53,9 @@ Summary(tr): DPI ve en boy oranı gibi ekran bilgilerini hesaplama
%description
-Analyze any display. Input a few simple details and figure out the
-aspect ratio, DPI, and other details of a particular display. Great for
-deciding which laptop or external monitor to purchase, and if it would
-be considered HiDPI.
+Analyze any display. Input a few simple details and figure out the aspect
+ratio, DPI, and other details of a particular display. Great for deciding which
+laptop or external monitor to purchase, and if it would be considered HiDPI.
Lots of handy features:
• Find out if a display is a good choice based on its size and resolution
@@ -70,16 +74,15 @@ Tells you if a display’s density is:
• Too High DPI
%description -l en_AU
-Analyse any display. Input a few simple details and figure out the
-aspect ratio, DPI, and other details of a particular display. Great for
-deciding which laptop or external monitor to purchase, and if it would
-be considered HiDPI.
+Analyse any display. Input a few simple details and figure out the aspect
+ratio, DPI, and other details of a particular display. Great for deciding which
+laptop or external monitor to purchase, and if it would be considered HiDPI.
Lots of handy features:
• Find out if a display is a good choice based on its size and resolution
• Get advice about different densities
• Learn the logical resolution
- • Differentiates between laptops and desktop displays
+ • Differentiate between laptops and desktop displays
• Stupid simple: all in a cute li’l window
Tells you if a display’s density is:
@@ -92,10 +95,9 @@ Tells you if a display’s density is:
• Too High DPI
%description -l en_CA
-Analyze any display. Input a few simple details and figure out the
-aspect ratio, DPI, and other details of a particular display. Great for
-deciding which laptop or external monitor to purchase, and if it would
-be considered HiDPI.
+Analyze any display. Input a few simple details and figure out the aspect
+ratio, DPI, and other details of a particular display. Great for deciding which
+laptop or external monitor to purchase, and if it would be considered HiDPI.
Lots of handy features:
• Find out if a display is a good choice based on its size and resolution
@@ -114,10 +116,9 @@ Tells you if a display’s density is:
• Too High DPI
%description -l en_GB
-Analyse any display. Input a few simple details and figure out the
-aspect ratio, DPI, and other details of a particular display. Great for
-deciding which laptop or external monitor to purchase, and if it would
-be considered HiDPI.
+Analyse any display. Input a few simple details and figure out the aspect
+ratio, DPI, and other details of a particular display. Great for deciding which
+laptop or external monitor to purchase, and if it would be considered HiDPI.
Lots of handy features:
• Find out if a display is a good choice based on its size and resolution
@@ -138,10 +139,10 @@ Tells you if a display’s density is:
%description -l es
Análisis de cualquier pantalla. Proporcione unos pocos datos y averigüe la
relación de aspecto, los PPP y otros detalles sobre una pantalla concreta.
-Estupendo para decidir qué portátil o monitor externo comprar y si este
-puede considerarse de alta resolución.
+Estupendo para decidir qué portátil o monitor externo comprar y si este puede
+considerarse de alta resolución.
-Funcionalidades útiles:
+Numerosas funcionalidades útiles:
• Descubra si una pantalla es una buena elección en función de su tamaño y su
resolución
• Obtenga orientaciones sobre las distintas densidades
@@ -149,14 +150,14 @@ Funcionalidades útiles:
• Distinga las pantallas para portátiles de las de escritorio
• Sencillísimo: todo en una ventanita
-Le dice si la densidad de una pantalla es:
- • de muy pocos PPP,
- • de PPP relativamente escasos,
- • ideal para resolución baja,
- • potencialmente problemática,
- • ideal para resolución alta,
- • bastante elevada para resolución alta, o
- • de PPP demasiado elevados
+Señala si la densidad de una pantalla es:
+ • Muy pocos PPP,
+ • Bastante pocos PPP,
+ • Ideal para LoDPI,
+ • Potencialmente problemática,
+ • Ideal para HiDPI,
+ • Bastante alta para HiDPI, o
+ • Demasiados PPP
%description -l fr_CA
Analysez n’importe quel écran. Entrez de simples détails à son propos et
@@ -206,7 +207,7 @@ Vous dit si la densité d’un écran est :
%description -l hr
Analiziraj bilo koji ekran. Unesi nekoliko jednostavnih detalja i izračunaj
-omjer, DPI i druge detalje određenog ekrana. Izvrsno za odlučivanje kupnje
+omjer, DPI i druge detalje određenog ekrana. Izvrsno za odlučivanje pri kupnji
laptopa ili eksternog monitora i hoće li se smatrati HiDPI-jem.
Puno praktičnih funkcija:
@@ -231,7 +232,7 @@ proporzioni, il DPI e altri dettagli di un particolare display. Ottimo per
decidere quale laptop o monitor esterno acquistare e se sarebbe considerato
HiDPI.
-Funzioni utili:
+Tante funzioni utili:
• Scopri se un display è una buona scelta in base alle sue dimensioni e
risoluzione
• Ottieni consigli sulle diverse densità
@@ -248,6 +249,27 @@ Ti dice se la densità di un display è:
• Abbastanza alto per HiDPI, o
• DPI troppo alto
+%description -l ka
+ნებისმიერი ეკრანის ანალიზი. შეიყვანეთ რამდენიმე მარტივი დეტალი და გაარკვიეთ
+ეკრანის ზომების ფარდობა, DPI და სხვა დეტალები. გადასარევია გასარკვევად, რომელი
+ლეპტოპის ეკრანი, ან გარე ეკრანი შეიძინოთ და თუ უნდა იყოს ის HiDPI-ად ჩათვლილი.
+
+ბევრი სასარგებლო ფუნქცია:
+ • გაერკვიეთ, ეკრანი კარგია, თუ არა მის ზომაზე და გარჩევადობაზე დაყრდნობით
+ • რჩევა სხვადასხვა სიმკვრივეების შესახებ
+ • გაიგეთ ლოგიკური გარჩევადობის შესახებ
+ • განსხვავება ლეპტოპისა და სამაგიდო კომპიუტერის ეკრანებს შორის
+ • სულელურად მარტივი: ის ერთი პატარა ფანჯრუკაა
+
+გეუბნებათ, თუ თქვენი ეკრანის სიმკვრივეა:
+ • ძალიან დაბალი DPI,
+ • საკმაოდ დაბალი DPI,
+ • იდეალურია LoDPI-ისთვის,
+ • პოტენციურად პრობლემატური,
+ • იდეალურია HiDPI-ისთვის,
+ • საკმაოდ მაღალია HiDPI-ისთვის, ან
+ • მეტისმეტად მაღალი DPI
+
%description -l lt
Išanalizuokite bet kurį ekraną. Įveskite kai kurią paprastą informaciją ir
sužinokite proporcijas, taškus colyje (DPI) ir kitą tam tikro ekrano
@@ -342,27 +364,13 @@ Bir ekranın yoğunluğunu:
%prep
%autosetup -p1
-# While https://github.com/cassidyjames/dippi/issues/82 is fixed upstream, the
-# typo is still present in non-US English localizations—shall we say
-# localisations?
-sed --regexp-extended --in-place 's/(display)‘s/\1’s/g' po/en_*.po
-
-rename_lang() {
- set -o nounset
- set -o errexit
- sed --regexp-extended --in-place \
- "s/(Language:[[:blank:]]+)${1}\\b/\\1${2}/" \
- "po/${1}.po" "po/extra/${1}.po"
- mv "po/${1}.po" "po/${2}.po"
- mv "po/extra/${1}.po" "po/extra/${2}.po"
- sed --regexp-extended --in-place "s/^${1}(\\r?)\$/${2}\\1/" \
- po/LINGUAS po/extra/LINGUAS
-}
-
# https://salsa.debian.org/iso-codes-team/iso-codes/-/blob/v4.16.0/CHANGELOG.md
# See https://bugzilla.redhat.com/show_bug.cgi?id=2279336 for discussion of the
-# issue and possible upstreamability.
-rename_lang mo ro_MD
+# issue and possible upstreamability. Since there is no actual Moldavian
+# translation, just a placeholder, we sidestep the issue by removing the
+# translation file.
+rm po/mo.po
+sed --regexp-extended --in-place '/^mo\r?$/d' po/LINGUAS
%conf
diff --git a/sources b/sources
index 79d9524..6c1739d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (dippi-5.0.2.tar.gz) = e961361cfdc87c0c859638f7e22ab86c3a43f5b216677fb1b14cc09391a7f90e0ac80d660d467d6ce0a43079ff4e0fc40c62cdb6420b2a4c312f7e0fdbef8ad8
+SHA512 (dippi-5.0.4.tar.gz) = c47b2219c59e6823c1f57902aee7f348902728ac1df1144c88301ca254acee3f102b5ce65115e4c44900990d05c74676250a916d309d7b6b27747a1f54a5799b
reply other threads:[~2026-10-12 6:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179178575481.1.13271095462629011999.rpms-dippi-d0d4837ff6c5@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox