Package Details: ubuntu-wallpapers 24.10.3-1

Git Clone URL: https://aur.archlinux.org/ubuntu-wallpapers.git (read-only, click to copy)
Package Base: ubuntu-wallpapers
Description: The default Wallpapers for Ubuntu
Upstream URL: https://launchpad.net/ubuntu-wallpapers
Keywords: artwork desktop ubuntu wallpaper
Licenses: custom
Submitter: chenxiaolong
Maintainer: autinerd
Last Packager: autinerd
Votes: 52
Popularity: 0.000000
First Submitted: 2011-10-02 20:29 (UTC)
Last Updated: 2024-10-17 14:57 (UTC)

Latest Comments

1 2 3 4 Next › Last »

autinerd commented on 2022-07-01 05:59 (UTC)

Hi,

thank you very much! I will look at it in the next week, because I am currently on vacation.

ewout commented on 2022-06-28 15:36 (UTC) (edited on 2022-07-01 11:00 (UTC) by ewout)

Fixed the build, please apply patch below to this package.

Git repo containing the patches available at https://github.com/emansom/pkgbuilds

diff --git a/PKGBUILD b/PKGBUILD
index 3c571fa..837df78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,10 +4,11 @@
 # Contributor: Michael Healy <horsemanoffaith@gmail.com>
 # Contributor: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
 # Contributor: SoftwareRat <chenxiaolong@cxl.epac.to>
+# Contributor: Ewout van Mansom <ewout@vanmansom.name>

 pkgname='ubuntu-wallpapers'
 pkgver=22.04.4
-pkgrel=1
+pkgrel=2
 pkgdesc='The default Wallpapers for Ubuntu'
 arch=('any')
 url='https://launchpad.net/ubuntu-wallpapers'
@@ -17,15 +18,23 @@ makedepends=('python-distutils-extra' 'python-setuptools')

 # https://packages.ubuntu.com/source/ubuntu-wallpapers
 # http://archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-wallpapers/
-source=("${_pool_url}/${pkgname::1}/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz"
-        "${_pool_url}/${pkgname::1}/${pkgname}/${pkgname}_${pkgver}-0ubuntu1.debian.tar.xz")
+source=(
+  "${_pool_url}/${pkgname::1}/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz"
+  "${_pool_url}/${pkgname::1}/${pkgname}/${pkgname}_${pkgver}-0ubuntu1.debian.tar.xz"
+  'setuptools-bugfix.patch'
+)
 sha256sums=('83a9469e84c908d29f9fb2484029575a2d05548f9d984dca556740b622c5dd1e'
-            '430a61aa87de2fc12ba3a7ba583df16643839c3b14c7d9138d67e43d43767a6b')
+            '430a61aa87de2fc12ba3a7ba583df16643839c3b14c7d9138d67e43d43767a6b'
+            'd60d56d304b86215b04d4da53cebcb5fab998f245b50315b184defe4f852f09a')

 prepare() {
   cd "${pkgname}-${pkgver}"
   # The setup.py script reads the package version from debian/*
   ln -sfv ../debian .
+  # Patch setuptools to work around new behavior in setuptools
+  # Eventually this can be removed, whenever Ubuntu/Debian package maintainers
+  # Stumble on this and fix it upstream.
+  patch --forward --strip=1 --input="${srcdir}/setuptools-bugfix.patch"
 }

 package() {
diff --git a/setuptools-bugfix.patch b/setuptools-bugfix.patch
new file mode 100644
index 0000000..19078c4
--- /dev/null
+++ b/setuptools-bugfix.patch
@@ -0,0 +1,11 @@
+diff --color --unified --recursive --text package.orig/setup.py package.new/setup.py
+--- package.orig/setup.py  2022-07-01 12:03:01.556073789 +0200
++++ package.new/setup.py   2022-07-01 12:03:52.441063442 +0200
+@@ -15,6 +15,7 @@
+ setup(
+     name = 'ubuntu-wallpapers',
+     version = version,
++    packages=[],
+     data_files=[('share/backgrounds', glob.glob('*.png')+glob.glob('*.jpg')),
+       ('share/backgrounds/contest', glob.glob('contest/*.xml')),
+                ],

ewout commented on 2022-06-28 14:23 (UTC)

Fails to build.

==> Bezig met het uitvoeren van package()...
/usr/lib/python3.10/site-packages/setuptools/dist.py:530: UserWarning: The version specified ('22.04.4-0ubuntu1') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  warnings.warn(
error: Multiple top-level packages discovered in a flat-layout: ['po', 'debian', 'contest'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names

To find more information, look for "package discovery" on setuptools docs.
==> FOUT: Er is een fout opgetreden in package().
    Afbreken...
fout: bouwen van 'ubuntu-wallpapers-22.04.4-1' mislukt:
fout: pakketten die niet gebouwd konden worden: ubuntu-wallpapers-22.04.4-1

hilt commented on 2021-04-28 18:01 (UTC)

The source http://archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-wallpapers/ubuntu-wallpapers_20.10.3-0ubuntu1.debian.tar.xz is not working.

fusion809 commented on 2020-01-27 12:13 (UTC)

@horsemanoffaith I'll be willing to maintain this package, if you add me as a co-maintainer.

horsemanoffaith commented on 2017-11-04 00:02 (UTC)

Thanks for adding me, Louis. Package is updated!

Louis commented on 2017-11-03 10:10 (UTC)

@horsemanoffaith I've added you as a co-maintainer. You're welcome to update the package.

horsemanoffaith commented on 2017-11-02 04:45 (UTC)

New package available... please update. If you'd like, I'd be willing to co-maintain or take over maintaining this package. I maintain many other Ubuntu-based packages here on the AUR.

Louis commented on 2017-04-05 17:41 (UTC) (edited on 2017-04-05 17:59 (UTC) by Louis)

@abdulhakeem They should all be placed directly in /usr/share/backgrounds and not in its own folder. I might consider changing that when 17.04 gets released. Running this command as a normal user should give you the answer you're looking for: pacman -Qlq ubuntu-wallpapers | grep /usr/share/backgrounds/ | egrep -v '/$|.xml'