~profzoom/wmaker/+git/wmaker-ppa:next

Last commit made on 2020-05-31
Get this branch:
git clone -b next https://git.launchpad.net/~profzoom/wmaker/+git/wmaker-ppa

Branch merges

Branch information

Name:
next
Repository:
lp:~profzoom/wmaker/+git/wmaker-ppa

Recent commits

cd23e77... by Roman Dobosz

Remove Debian related build files.

Keeping Debian related build files should not be the duty of wmaker
development team, but Debian package maintainers.

230a501... by Roman Dobosz

Fix typo on defining imagemagick version.

In this patch we will fix an issue during compilation on systems, which
have ImageMagick version 7, and slightly more recent version of
compiler. If we define USE_MAGICK with null value, compilation will fail
on preprocessor check on such defined variable.

3022edd... by Doug Torrance

wrlib: Fix typo in macro containing ImageMagick version

It's USE_MAGICK, not USE_MAGIC. Also, we wrap the if/else statement
in an ifdef. This doesn't really affect anything since load_magick.c
won't be compiled if USE_MAGICK is undefined because of an if statement
in the Makefile. But in the off chance that it is somehow, then we will
try to load a nonexistent version 6 header file since USE_MAGICK will
be interprested as 0 and 0 < 7 is true.

1713a88... by Doug Torrance

debian: Remove ImageMagick patch; an equivalent patch now exists in next

If a user wanted to build a Debian package from the next branch, then
it would fail immediately when quilt tried to apply the patches.

00a25db... by Doug Torrance

checkpatch.pl: Escape curly braces in regexes

Unescaped curly braces have been deprecated since Perl 5.26 and are
illegal in Perl 5.30. I copied the relevant lines from the latest kernel
source, so we'll inherit a couple other improvements as well.

c678580... by Doug Torrance

debian: Update with version 0.95.9-2 packaging.

44bc9cc... by Doug Torrance

Fix various abs() issues.

The abs() function should take an int as argument, but there were
several instances in the code where it was taking an unsigned int or a
double. In these case, we took one of the following approaches:

* If the argument was a double, use fabs() instead.
* If the argument was unsigned and was certainly going to be positive
  (i.e,. no subtraction), then drop abs() altogether.
* If the argument was unsigned as result of adding or subtracting signed
  and unsigned ints, then we cast all the unsigned ints to signed ints.

dfa9290... by Doug Torrance

wrlib: Compile with either ImageMagick 6 and 7

We dropped ImageMagick 6 support in 0.95.9. However, ImageMagick 6 is
still widespread (e.g., ImageMagick 7 has not been packaged in Debian
yet), and upstream plans on maintaining it until at least 2028 [1].

In this patch, we detect the version of the MagickWand library installed
on the user's system and include the appropriate header file when
building wrlib.

Note: I've only tested this with ImageMagick 6, so I'd appreciate
confirmation that it works with ImageMagick 7.

[1] https://github.com/ImageMagick/ImageMagick6/blob/master/NEWS.txt

27dc5ef... by Doug Torrance

debian: Update with version 0.95.9-1 packaging.

86659be... by Doug Torrance

wmlib: Use X flags from configure

We use the AC_PATH_XTRA macro to find all the X library paths during
build, but we weren't actually using the variables it generated for
building wmlib. Instead, we just hardcoded the linker flag "-lX11",
which may or may not actually work.