Run of fresh-snapshots for maim

Merge these changes:

git pull https://janitor.debian.net/git/maim fresh-snapshots/main
git pull https://janitor.debian.net/git/maim fresh-snapshots/upstream

Summary

Merged new upstream version: 5.7.4+git20220331.1.9e510da (was: 5.7.4).

Diff

Branch: main

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d695122..3039371 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,10 +2,6 @@ cmake_minimum_required( VERSION 3.1.3 )
 
 project(maim VERSION 5.7.4 LANGUAGES CXX)
 
-if(NOT CMAKE_BUILD_TYPE)
-    set(CMAKE_BUILD_TYPE "Debug")
-endif()
-
 if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
     set(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE)
 endif()
diff --git a/README.md b/README.md
index 0d6d03a..d7d9de2 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,7 @@ maim (Make Image) is a utility that takes screenshots of your desktop. It's mean
 ## Installation
 
 ### Install using your Package Manager (Preferred)
+* [ALT Linux: maim](https://packages.altlinux.org/ru/sisyphus/srpms/maim)
 * [Arch Linux: community/maim](https://www.archlinux.org/packages/community/x86_64/maim/)
 * [Debian: maim](https://tracker.debian.org/pkg/maim)
 * [Ubuntu: maim](https://packages.ubuntu.com/search?keywords=maim)
@@ -36,16 +37,16 @@ maim (Make Image) is a utility that takes screenshots of your desktop. It's mean
 * [Fedora: maim](https://src.fedoraproject.org/rpms/maim)
 * Please make a package for maim on your favorite system, and make a pull request to add it to this list.
 
-### Install using CMake (Requires CMake, git, libXrender, libXfixes, libGLM, libxcomposite, libxrandr)
+### Install using CMake (Requires CMake, git, libXrender, libXfixes, libGLM, libxcomposite, libxrandr, libxext, GLEW)
 ```bash
 git clone https://github.com/naelstrof/slop.git
 cd slop
-cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
+cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" ./
 make && sudo make install
 cd ..
 git clone https://github.com/naelstrof/maim.git
 cd maim
-cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
+cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" ./
 make && sudo make install
 ```
 
diff --git a/debian/changelog b/debian/changelog
index 6dab88a..be08d25 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+maim (5.7.4+git20220331.1.9e510da-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 15 Apr 2022 14:50:35 -0000
+
 maim (5.7.4-1) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --git a/maim.1 b/maim.1
index 7ac89e2..225b840 100644
--- a/maim.1
+++ b/maim.1
@@ -1,8 +1,8 @@
 .\" Manpage for maim.
 .\" Contact naelstrof@gmail.com to correct errors or typos.
-.TH maim 1 2017-03-21 Linux "maim man page"
+.TH maim 1 2021-02-03 Linux "maim man page"
 .SH NAME
-maim \- make image
+maim \- capture screenshot of desktop and make image
 .SH SYNOPSIS
 maim [OPTIONS] [FILEPATH]
 .SH DESCRIPTION
diff --git a/src/main.cpp b/src/main.cpp
index f3d2092..88a94d0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -60,7 +60,7 @@ Window parseWindow( std::string win, X11* x11 ) {
     Window retwin;
     std::string::size_type sz;
     try {
-        retwin = std::stoi(win,&sz);
+        retwin = std::stoi(win,&sz,0);
     } catch ( ... ) {
         try {
             retwin = std::stoul(win,&sz,16);

Branch: upstream

Tag: upstream/5.7.4+git20220331.1.9e510da
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d695122..3039371 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,10 +2,6 @@ cmake_minimum_required( VERSION 3.1.3 )
 
 project(maim VERSION 5.7.4 LANGUAGES CXX)
 
-if(NOT CMAKE_BUILD_TYPE)
-    set(CMAKE_BUILD_TYPE "Debug")
-endif()
-
 if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
     set(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE)
 endif()
diff --git a/README.md b/README.md
index 0d6d03a..d7d9de2 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,7 @@ maim (Make Image) is a utility that takes screenshots of your desktop. It's mean
 ## Installation
 
 ### Install using your Package Manager (Preferred)
+* [ALT Linux: maim](https://packages.altlinux.org/ru/sisyphus/srpms/maim)
 * [Arch Linux: community/maim](https://www.archlinux.org/packages/community/x86_64/maim/)
 * [Debian: maim](https://tracker.debian.org/pkg/maim)
 * [Ubuntu: maim](https://packages.ubuntu.com/search?keywords=maim)
@@ -36,16 +37,16 @@ maim (Make Image) is a utility that takes screenshots of your desktop. It's mean
 * [Fedora: maim](https://src.fedoraproject.org/rpms/maim)
 * Please make a package for maim on your favorite system, and make a pull request to add it to this list.
 
-### Install using CMake (Requires CMake, git, libXrender, libXfixes, libGLM, libxcomposite, libxrandr)
+### Install using CMake (Requires CMake, git, libXrender, libXfixes, libGLM, libxcomposite, libxrandr, libxext, GLEW)
 ```bash
 git clone https://github.com/naelstrof/slop.git
 cd slop
-cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
+cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" ./
 make && sudo make install
 cd ..
 git clone https://github.com/naelstrof/maim.git
 cd maim
-cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
+cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" ./
 make && sudo make install
 ```
 
diff --git a/maim.1 b/maim.1
index 7ac89e2..225b840 100644
--- a/maim.1
+++ b/maim.1
@@ -1,8 +1,8 @@
 .\" Manpage for maim.
 .\" Contact naelstrof@gmail.com to correct errors or typos.
-.TH maim 1 2017-03-21 Linux "maim man page"
+.TH maim 1 2021-02-03 Linux "maim man page"
 .SH NAME
-maim \- make image
+maim \- capture screenshot of desktop and make image
 .SH SYNOPSIS
 maim [OPTIONS] [FILEPATH]
 .SH DESCRIPTION
diff --git a/src/main.cpp b/src/main.cpp
index f3d2092..88a94d0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -60,7 +60,7 @@ Window parseWindow( std::string win, X11* x11 ) {
     Window retwin;
     std::string::size_type sz;
     try {
-        retwin = std::stoi(win,&sz);
+        retwin = std::stoi(win,&sz,0);
     } catch ( ... ) {
         try {
             retwin = std::stoul(win,&sz,16);

Publish Blockers

  • ☑ run was successful
  • ☑ package has not been removed from the archive
  • ☑ command has not changed
  • ☒ not yet reviewed, but review needed
  • ☑ 0 publish attempts so far.not currently attempting to back off
  • ☑ proposals not currently being rate-limited for maintainer p@trickod.com
  • ☑ change set 7e35d209-3a89-4d1f-8d53-77cdeee0010d is ready

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots maim-dbgsymapt install -t fresh-snapshots maim

Lintian Result

Full worker log Full build log