Git Product home page Git Product logo

wallpapper's Introduction

Profile background

Hi there πŸ‘‹

My name is Marcin and I'm a software developer since almost two decades. I'm working mostly on enterprise applications (C#/Typescript), however in my free time I'm creating applications for iOS and macOS in my favorite language: Swift. I live in WrocΕ‚aw/Poland with my lovely wife and daughter.

You can find me also on:

Website https://mczachurski.dev

Website https://mastodon.social/@mczachurski

Writefreely https://writefreely.social/mczachurski

Website https://pixelfed.social/@mczachurski

Github statistics

Anurag's github stats

Pinned repositories

ReadMe Card ReadMe Card ReadMe Card ReadMe Card

Languages

Top Langs

(Almost) Live statistics πŸ˜„

willianrod's wakatime stats

wallpapper's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wallpapper's Issues

Comparing Altitude / Azimuths

@mczachurski Hey Marcin thanks for this great library and all the articles you've written. I've read them all but still can't seem to figure out how Apple compares a user's current Altitude / Azimuth Pair with the Dynamic Wallpapers' to determine which image to show.

I'd like to be able to predict which dynamic images will be shown when based on location coordinates. Any ideas here? Thanks so much.

"wallpaper" name conflicts with apple's built in wallpaper command

I installed wallpaper as per the instructions and can see it in Homebrew:

➜  Desktop brew list
composer	inetutils	libidn		node		rpl
fltk		jpeg		libpng		openssl		**wallpaper**
icu4c		lftp		lua		readline

When I execute the wallpaper command I get an error:

➜  Desktop wallpaper -i wallpaper.json

Error: unrecognized option '-I'

When I run "wallpaper" I get a different set of command line options..

➜  Desktop wallpaper

Usage: wallpaper <command> [options]

Manage the desktop wallpaper

Commands:
  set             Set wallpaper image. Usage: set <path>
  get             Get current wallpaper image
  screens         List screens
  help            Prints help information
  version         Prints the current version of this app

Date parsing error

I am trying to generate a wallpaper using the "filename" "time" option, but when the JSONDecoder reads: "2021-02-17T13:00:00Z", I am getting the error: Date string does not match format expected by formatter. However, if the same date is 12 instead of 13 ("2021-02-17T12:00:00Z"), there is no problem.

Provide prebuilt binary for x64/arm

As Swift requires a full XCode install, could you provide binary releases? Many people don't want/need the full XCode install and either have nothing installed (most users) or command-line tools only (technical users but not full macOS devs).

Thanks!

Error: No such file or directory found during install

Hi, I used this tool before in the past, and tried using it again on a new computer. I installed using brew, but keep getting the error attached below.

Screen Shot 2019-04-07 at 11 35 11 PM

I'm not the most familiar with swift, but is it simply a path issue? It seem like it is looking for the directory: .build/x86_64-apple-macosx10.10/release/wallpapper. Since I am running macosx 10.14.4, would my path change, and therefore need to be updated? I also tried the manual install and got the same issue.

Automatically compute A and Z based on EXIF

It would be pretty great if the altitude and azimuth values could automatically be generated so long as enough EXIF data is present in the input images (timestamp on all + at least one with location).

Building requires Swift 4.2

Swift 4.2 is only available on Xcode 10 beta... Is there a way to build the console application with the previous Swift version (4.1)?
Otherwise you should write "Xcode 10 beta required" on instructions
You did an amazing job ;)
P.S. Form application will be better for users in the future imo :)

Posterizing in images

The output file shows posterizing in images. I use Gimp to create images at 16-bit, there are smooth gradients in those images. Especially in a night sky, gradients aren't smooth anymore in the output file. Is there a way to handle compression of the tiff files better, like no compression?

Brew install fails on arm64

After installing latest Xcode (full IDE from App Store) and following the instructions on the readme I get an error:

==> Installing wallpapper from mczachurski/wallpapper
==> Downloading https://github.com/mczachurski/wallpapper/archive/1.6.0.tar.gz
Already downloaded: /Users/foxnne/Library/Caches/Homebrew/downloads/f4b290acb31335cc1f06a5c07f5dfb3cb756fabe4241edcbded2b8e198a4138f--wallpapper-1.6.0.tar.gz
==> swift build --disable-sandbox --configuration release
Error: An exception occurred within a child process: Errno::ENOENT: No such file or directory - ./.build/x86_64-apple-macosx/release/wallpapper

Just an issue for arm64, built fine from repo just needed to change last command to sudo cp ./.build/arm64-apple-macosx/release/wallpapper

Image not found

$ wallpapper -i wallpapper.json
dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
  Referenced from: /usr/local/bin/wallpapper
  Reason: image not found
[1]    38116 abort      wallpapper -i wallpapper.json

I have checked the number of pictures and their file names.

Lets share them!

I loved the idea, but as it takes some time to build a nice one, what do you think of assembling something to start shearing the wallpapers?

Possibility to leave out keys

For example, I don't want the images to depend on the azimuth or altitude, just on dark/light settings. Is that possible for now? I also see that you have to specify "isForDark": true and "isForLight": false to mark an image for dark mode only.

Will not allow me to output a .heic file

So I followed the instructions to the letter and everything seems to be working until I try to issue the command to create the output.heic file.

When in the folder containing the 16 images and the completed .json file and issuing the command to build I always get an error at the file that is set to "isPrimary": true, in the .json file.

Here is the output from my command & output/:

MyMac@MBP:~/Desktop/New$ wallpapper -i wallpapper.json
Reading JSON file: 'file:///Users/MyMac/Desktop/New/wallpapper.json'...OK.
Decoding JSON file...OK (16 pictures).
Reading image file: 'file:///Users/MyMac/Desktop/New/4.png'...ERROR.

Is there any way to see exactly what is causing the issue as it will always happen on the file that is marked "isPrimary": true, unless all the files are marked "isPrimary": false, then it will default to image 1.png and still ERROR out. Any help would be great!

wallpapper.json.txt
Here is my .json with a txt extension for easy reading.

Problem During Installation (could not build Objective-C module 'CoreFoundation')

| => brew tap mczachurski/wallpapper
___________________    | ~ @ win_b109_03 (tuyifan) 
| => brew install wallpapper
==> Installing wallpapper from mczachurski/wallpapper
==> Downloading https://github.com/mczachurski/wallpapper/archive/1.2.2.tar.gz
Already downloaded: /Users/tuyifan/Library/Caches/Homebrew/downloads/48c3449f5ca2075faaabdea05bf3ced4199a5cad91c4ac111838d1e28814e8e8--wallpapper-1.2.2.tar.gz
==> swift build --disable-sandbox --configuration release
Last 15 lines from /Users/tuyifan/Library/Logs/Homebrew/wallpapper/01.swift:
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
#include <CoreFoundation/CFBase.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:72:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:72:
#include <Block.h>
         ^
/usr/local/include/Block.h:264:2: error: unknown type name 'lzma_bool'
        lzma_bool reserved_bool3;
        ^
<unknown>:0: error: too many errors emitted, stopping now
<unknown>:0: error: could not build Objective-C module 'CoreFoundation'
error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /private/tmp/wallpapper-20181030-19113-8crjdl/wallpapper-1.2.2/.build/release.yaml main output:
    


If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/mczachurski/homebrew-wallpapper/issues

These open issues may also help:
Can't install wallpapper https://github.com/mczachurski/homebrew-wallpapper/issues/2

^Console output
Please help. Thanks!

Can't build swift

when I type command swift build --configuration release
gives an error
error: terminated(72): xcrun --sdk macosx --find xctest output:

Badly formed object around charecter 158

Hi, Im not very good at this sort of things, having problems with my json file. Any help would be appreciated. My problem is when I run the wallpapper -i command I get "Badly formed object around character 158." Charecter 158 is the "{"between file 1 and 2 data sets. I have tried removing the comma (',') but that hasn't worked either.

[
{
"fileName": "wallpaper1.png",
"isPrimary": false,
"isForLight": false,
"isForDark": false,
"altitude": -21.03,
"azimuth": 117.84.
},
{
"fileName": "wallpaper2.png",
"isPrimary": false,
"isForLight": false,
"isForDark": false,
"altitude": -3.34,
"azimuth": 103.80
},

Prefpane Problems

This has been already handled in #15, as the preview is not showing the correct wallpaper. But I have another issue in the prefpane: The options for setting the wallpaper dynamic or static is overlaying with the options for light or dark mode - see Screenshot attached. How can this be fixed?
Bildschirmfoto 2019-05-08 um 18 51 54

Finalizing image container...Error: type: wallpapper.ImageFinalizingError

 wallpapper -i wallpapper.json -o a.heic
Reading JSON file: 'file:///Users/xxx/Desktop/paper/wallpapper.json'...OK.
Decoding JSON file...OK (3 pictures).
Reading image file: 'file:///Users/xxx/Desktop/paper/1.tiff'...OK.
Adding image and metadata...OK.
Reading image file: 'file:///Users/xxx/Desktop/paper/2.tiff'...OK.
Adding image...OK.
Reading image file: 'file:///Users/xxx/Desktop/paper/3.tiff'...OK.
Adding image...OK.
Finalizing image container...Error: type: wallpapper.ImageFinalizingError

Error using "wallpaper -h" command

I followed the directions in order and was unable to run "wallpapper -h". I was able to open the directory and run the command that was but there was no use because it immediately exits. Is there anything I did wrong? I am using the current 4.2 version of swift. When you say run "wallpaper -h" in console, do you you mean in terminal? I have been trying to run it through terminal and have been getting a "command not found" error. Would it be possible to get a video guide for this program?

ACE XPC Error, Timings Not Working

Howdy. I am trying to use wallpapper to use the time-based cycling of some wallpapers.

When I run wallpapper, I get this:

`jacobs-mac-mini:wallpapper dzdj$ wallpapper -i PixelDayNight.json -o PixelDayNight.heic
Reading JSON file: 'file:///Users/dzdj/Desktop/wallpapper/PixelDayNight.json'...OK.
Decoding JSON file...OK (8 pictures).
Reading image file: 'file:///Users/dzdj/Desktop/wallpapper/08-Late-Night.png'...OK.
Adding image and metadata...OK.
Reading image file: 'file:///Users/dzdj/Desktop/wallpapper/01-Morning.png'...OK.
Adding image...OK.
Reading image file: 'file:///Users/dzdj/Desktop/wallpapper/02-Late-Morning.png'...OK.
Adding image...OK.
Reading image file: 'file:///Users/dzdj/Desktop/wallpapper/03-Afternoon.png'...OK.
Adding image...OK.
Reading image file: 'file:///Users/dzdj/Desktop/wallpapper/04-Late-Afternoon.png'...OK.
Adding image...OK.
Reading image file: 'file:///Users/dzdj/Desktop/wallpapper/05-Evening.png'...OK.
Adding image...OK.
Reading image file: 'file:///Users/dzdj/Desktop/wallpapper/06-Late-Evening.png'...OK.
Adding image...OK.
Reading image file: 'file:///Users/dzdj/Desktop/wallpapper/07-Night.png'...OK.
Adding image...OK.
Finalizing image container...AVEBridge Info: AVEEncoder_CreateInstance: Received CreateInstance (from VT)
Assert - (remoteService != NULL) - f: /System/Volumes/Data/SWE/macOS/BuildRoots/2288acc43c/Library/Caches/com.apple.xbs/Sources/AppleAVEBridge/AppleAVEBridge-26.5.1/AppleAVEEncoder/AppleAVEEncoder.c l: 291
AVE XPC Error: could not find remote service
Assert - (err == noErr) - f: /System/Volumes/Data/SWE/macOS/BuildRoots/2288acc43c/Library/Caches/com.apple.xbs/Sources/AppleAVEBridge/AppleAVEBridge-26.5.1/AppleAVEEncoder/AppleAVEEncoder.c l: 1960
AVE ERROR: XPC failed
AVEBridge Info: connectHandler: Device connected (0x00007fd8dbd28310)AVEBridge Info: stopUserClient: IOServiceClose was successful.

AVEBridge Error: AVEEncoder_CreateInstance: returning err = -12908
OK.
Saving data to file 'file:///Users/dzdj/Desktop/wallpapper/PixelDayNight.heic'...OK.`

It seems to be outputting the heic, but the timings don't seem to line up. My assumption is that this is based off of zulu/utc time, so that is what I put in the json.

[ { "fileName": "08-Late-Night.png", "isPrimary": true, "time": "2021-06-11T06:00:01Z" }, { "fileName": "01-Morning.png", "time": "2021-06-11T11:00:00Z" }, { "fileName": "02-Late-Morning.png", "time": "2021-06-11T14:00:00Z" }, { "fileName": "03-Afternoon.png", "time": "2021-06-11T17:00:00Z" }, { "fileName": "04-Late-Afternoon.png", "time": "2021-06-11T20:00:00Z" }, { "fileName": "05-Evening.png", "time": "2021-06-11T22:00:00Z" }, { "fileName": "06-Late-Evening.png", "time": "2021-06-11T00:00:00Z" }, { "fileName": "07-Night.png", "time": "2021-06-11T01:00:00Z" } ]

I wonder if it has to do with the ACE XPC Error that is failing.

I am on a 2018 Mac MIni, Xcode 12.5 (12E262) and MacOS 11.3.1.

Unable to get dynamic wallpapers to work due to dropdown issues

It is somewhat Working As Designed that the dropdown shows corrupted looking entries. In general, this seems not to effect the use of dynamic wallpapers. And, this issue does not seem specific to Wallpapper.

However, I seem to have gotten into a conundrum. Luckily, others have ran into the issue I am seeing as well. And so, a solution was available to work around the problem.

It appears that, in certain edge cases, you may run into an issue where the dropdown defaults to "Dark Mode (static)" in the backend and since the dropdown is not functional "Dynamic" cannot be selected (even if "Fit to Screen" is selected). The result is that it ends up being impossible to get the heic to behave "dynamically".

After some research online, I stumbled upon a solution involving a program called Dynaper. It provides a utility feature that will "strip" the static images from the heic file. When I run a Wallpapper generated heic through Dynaper, the exported heic shows a mostly proper dropdown. But more importantly, this also seems to get OSX to "default" to the proper "Dynamic" entry, which allows me to get a wallpaper generated by Wallpapper to work (this was verified with console.app). Presumably, this is because now "Dynamic" is the only option available in the dropdown (even though it displays as "Fit to Screen").

I dug a little bit into the Wallpapper code, looking for how isForLight is used. But, after tracing through the code it didn't take me anywhere definitive.

I wonder if it might be possible to provide a way to "strip" the static images, like Dynaper, if the end user requests it. In my case, it would allow me to avoid using Dynaper entirely and I could stick with a full Wallpapper solution.

If I could even be pointed in the proper direction for a PR, I'm down πŸ˜‰

Reverse engineer .heic to files and .json

Hi,

This tool is really convenient and works quite well.

In my case, I have a dual screen setup but wanted to use the default Big Sur wallpaper to span across my displays and remain dynamic.

So I eventually extracted still frames, cropped them, and generated dynamic heic from these images. The only thing I'm missing is the original images azimuth/angle settings, so I kind of eyeballed them in the JSON and it got me a pretty close-to-original experience, however it's not quite there yet.

I was wondering, how hard would it be for this tool that can generate dynamic HEIC files to extract azimuth data from an existing one? That would be pretty dope IMO!

Thoughts on this?

Issue during installation

brew install wallpapper                                                                                          ~
==> Installing wallpapper from mczachurski/wallpapper
==> Downloading https://github.com/mczachurski/wallpapper/archive/1.2.2.tar.gz
Already downloaded: /Users/akito/Library/Caches/Homebrew/downloads/48c3449f5ca2075faaabdea05bf3ced4199a5cad91c4ac111838d1e28814e8e8--wallpapper-1.2.2.tar.gz
==> swift build --disable-sandbox --configuration release
Last 15 lines from /Users/akito/Library/Logs/Homebrew/wallpapper/01.swift:
2018-09-26 20:07:55 -0500

swift
build
--disable-sandbox
--configuration
release

error: terminated(72): xcrun --sdk macosx --find xctest output:



If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/mczachurski/homebrew-wallpapper/issues

Terminal output when running the install for wallpapper

lat/lng

I'm guessing lat/lng can't be used a variables?

Feature: add support for `apple_desktop:h24`

I discovered that there's a second option for dynamic wallpapers, h24, which supports ti. Would it possible to add support for it? I tried to script it but while I manage to generate it, it doesn't seem to work – I might be missing something.

This means that we have:

  • apple_desktop:solar with solar info si data
  • apple_desktop:h24 with time info ti data

The time info data is like this:

ti = (
    {
        i = 0;
        t = "0.375";
    },
    ...
);

The entry t is a decimal conversion of 24 hours, so for example 9:00 = 0.375 (9/24). The ap parameter with l and d seem working as before.

Some wallpapers from Dynamic Wallpaper Club (for example this) use this method, and they work – tested on Mojave 10.14.5. Their online generator is able to generate such wallpapers, as is the Dynaper app.

For reference, original discussion via Twitter:
https://twitter.com/Folletto/status/1142600399347736576

Unexpected error while finalizing image

I am trying to create a light/dark wallpaper with two solid colors.
Both of my images are 1px Γ— 1px, but during the image creating, I am getting the following error:

Reading JSON file: 'file:///Users/henno/Desktop/wallpapper.json'...OK.
Decoding JSON file...OK (2 pictures).
Reading image file: 'file:///Users/henno/Desktop/dark.png'...OK.
Adding image and metadata...OK.
Reading image file: 'file:///Users/henno/Desktop/light.png'...OK.
Adding image...OK.
Finalizing image container...Error: Unexpected error occurs: Image has not be finilized.

The console output for wallpapper looks like this:

grafik

Here are the png and json files:
solid-color-wallpaper.zip

Versions:

  • MacOS: 11.2.3
  • Swift: 5.4
  • Xcode: 12.5
  • wallpapper: 1.7.1 (installed through brew)

Error: 'wallpapper.InputFileNotExistsError'.

Finally got the json file made, but when attempting to run wallpaper -i filename.json I get the following error :

Error: 'wallpapper.InputFileNotExistsError'.

I'm on Mojave DP5. The json file is definitely in the folder with the rest of the images and I'm referencing it with the correct name. In addition, I double checked all the files referenced in the json file and they are correctly named, too.

Maybe a way of compiling with swiftc only

I get an error xcrun: error: unable to find utility "xctest", not a developer tool or in PATH during swift build --configuration release.
The Xcode is too large for me, so I tried to compile wallpapper with swiftc.
Finally, I made it with Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55).
Here is the detail of my build script.

echo "create work dir build"

mkdir build
cd build

mkdir Wallpapper.Objects
mkdir WallpapperExif.Objects
mkdir WallpapperLib.Objects

SRC_PATH=../../Sources

# compile WallpapperLib
cd WallpapperLib.Objects

echo "compile WallpapperLib"

swiftc -c \
    ${SRC_PATH}/WallpapperLib/*.swift \
    ${SRC_PATH}/WallpapperLib/*/*.swift \
    ${SRC_PATH}/WallpapperLib/*/*/*.swift \
    -parse-as-library \
    -module-name WallpapperLib

swiftc \
    ${SRC_PATH}/WallpapperLib/*.swift \
    ${SRC_PATH}/WallpapperLib/*/*.swift \
    ${SRC_PATH}/WallpapperLib/*/*/*.swift \
    -emit-module \
    -module-name WallpapperLib

cd ..

# compile Wallpapper
cd Wallpapper.Objects

echo "compile Wallpapper"

swiftc -c \
    ${SRC_PATH}/Wallpapper/*.swift \
    -I../WallpapperLib.Objects \
    -module-name wallpapper

cd ..

swiftc -emit-executable \
    WallpapperLib.Objects/*.o \
    Wallpapper.Objects/*.o \
    -o wallpapper

# compile WallpapperExif
cd WallpapperExif.Objects

echo "compile WallpapperExif"

swiftc -c \
    ${SRC_PATH}/WallpapperExif/*.swift \
    -I../WallpapperLib.Objects \
    -module-name wallpapper_exif

cd ..

swiftc -emit-executable \
    WallpapperLib.Objects/*.o \
    WallpapperExif.Objects/*.o \
    -o wallpapper-exif

# all done, now we have wallpapper and wallpapper-exif in build/
cd ..
echo "all done"

ls -lG build/wallpapper build/wallpapper-exif

hope this script will help others as well

AVE XPC Error: could not find remote service

I'm running this in BigSur and I got this:

Reading image file: 'file:///Users/winston/Pictures/Wallpappers/LosAngeles/losAngeles014.png'...OK.
Adding image...OK.
Finalizing image container...AVEBridge Info: AVEEncoder_CreateInstance: Received CreateInstance (from VT)
Assert - (remoteService != NULL) - f: /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleAVEBridge/AppleAVEBridge-26/AppleAVEEncoder/AppleAVEEncoder.c l: 291
AVE XPC Error: could not find remote service
Assert - (err == noErr) - f: /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleAVEBridge/AppleAVEBridge-26/AppleAVEEncoder/AppleAVEEncoder.c l: 1960
AVE ERROR: XPC failed
AVEBridge Info: connectHandler: Device connected (0x00007faa15e4d470)AVEBridge Info: stopUserClient: IOServiceClose was successful.

AVEBridge Error: AVEEncoder_CreateInstance: returning err = -12908
OK.

Is this something that existed prior to BigSur too?

This project is awesome by the way!

Fails to install on macOS Mojave, needs swift tools 5.2.0

This is failing to install for me in the latest version of Mojave using homebrew, it gives the following output:

==> Installing wallpapper from mczachurski/wallpapper
==> Downloading https://github.com/mczachurski/wallpapper/archive/1.7.1.tar.gz
Already downloaded: /Users/patrickleiser/Library/Caches/Homebrew/downloads/6688deaca709f04f836bb33c2b9c2186695fb45842954f4ad95d989e95b2e6da--wallpapper-1.7.1.tar.gz
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.

==> swift build --disable-sandbox --configuration release
Last 15 lines from /Users/patrickleiser/Library/Logs/Homebrew/wallpapper/01.swift:
2021-02-23 18:39:32 -0800

swift
build
--disable-sandbox
--configuration
release

/private/tmp/wallpapper-20210223-4930-o8q0xe/wallpapper-1.7.1: error: package at '/private/tmp/wallpapper-20210223-4930-o8q0xe/wallpapper-1.7.1' is using Swift tools version 5.2.0 but the installed version is 5.1.0

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/mczachurski/homebrew-wallpapper/issues


Error: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.

I have already attempted reinstalling the Xcode developer tools as the homebrew warning advised, with no change in the output. It seems that the current release is using too new a version of the swift API, is there any way to install an older release that does support Mojave?

I also have Xcode 11.3.1 installed, as the latest version supported on Mojave, and did attempt the fix listed under Troubleshooting in the readme, with, again, no apparent effect.

Automatically generate JSON file for current location?

Hi there! I really want to use this, but I'm honestly getting stuck creating the JSON file. The example provided doesn't help me understand what the default settings should be, and I'd love if this could grab my current location and handle it automatically. Is that possible?

iOS 13 Dark Mode Support

iOS 13 offers a handful of stock wallpapers that have a specific look for Light Mode and a different look for Dark Mode (similar to what was introduced in macOS Mojave). I am hoping to be able to replicate the behavior in order to create my own iOS Dynamic Wallpapers.

What has already been tried and did not work

  1. using this package to create a .heic with 2 images, one for Light and one for Dark
  2. take the dynamic wallpaper from Catalina (Dynamic.heic in Library/Desktop Wallpapers) and send it to an iOS 13 device

I have not been able to find the .heic for the stock wallpapers inside of iOS. I would love to get some help finding the original files, decoding it, and then trying to replicate the meta data to see if this can even be done!

Outputs a "blank" heic file

working with many large pngs..
json is fine, but when wallpapper is run it outputs a heic file with zero KB file size..
is there a mix file size?

Images don't seem to cycle correctly

Created a file with 16 images, and set it as wallpaper. Changing manually the time, the images don't seem to change with regularity as one would expect. Even if azimuth and altitude have been set from the suggested website. Any suggestion?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.