You are not logged in.

#1 2012-12-15 13:50:08

NikTh
Member
From: GR
Registered: 2012-01-08
Posts: 40
Website

[SOLVED] Cannot build Cinnamon 1.6.7-3 due to 404 URL error

Hi ,

just attempted to build and install Cinnamon from AUR , but building stops due to "Requested URL not found 404 error".

Here are the complete results

==> Making package: cinnamon 1.6.7-3 (Sat Dec 15 15:40:32 EET 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found cinnamon-1.6.7.tar.gz
  -> Downloading cinnamon-screensaver.desktop...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading cinnamon-screensaver.desktop
    Aborting...

Of course I have Internet up and running as I post right now and already build and installed muffin-wm  (the required dependency without problems.)

Tried to uncomment some other mirrors , but to no avail.

Should I wait ? (maybe server is down or URL moved ? )

Thanks

Last edited by NikTh (2012-12-16 04:26:33)


KISS my Arch

Offline

#2 2012-12-15 16:16:27

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: [SOLVED] Cannot build Cinnamon 1.6.7-3 due to 404 URL error

I had the same problem and ended up installing cinnamon-git instead.

HTTP 404 means that the requested file doesn't exist so it should not be too hard to fix, unfortunately I haven't got to figure out how yet...

Offline

#3 2012-12-15 16:23:05

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED] Cannot build Cinnamon 1.6.7-3 due to 404 URL error

There you go:

# Maintainer:
# Contributor: M0Rf30
# Contributor: unifiedlinux
# Contributor: CReimer
 
pkgname=cinnamon
pkgver=1.6.7
pkgrel=3
pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
arch=('i686' 'x86_64')
url="http://cinnamon.linuxmint.com/"
license=('GPL2')
depends=('caribou' 'gjs' 'gnome-bluetooth' 'gnome-control-center' 'gnome-panel' 'gnome-session'
         'gnome-settings-daemon' 'gnome-themes-standard' 'gstreamer0.10' 'libgnomekbd' 'muffin-wm'
         'notification-daemon' 'python2-gconf' 'python2-imaging' 'python2-lxml' 'python2-dbus')
makedepends=('gnome-common' 'intltool')
optdepends=('nemo-fm: Official Cinnamon file manager (a Nautilus fork)'
            'nautilus: Official Gnome file manager')
options=('!libtool' '!emptydirs')
install=${pkgname}.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/$pkgname/tarball/$pkgver"
        https://github.com/faidoc/cinnarch-packages/blob/master/cinnamon/cinnamon-screensaver.desktop
        https://github.com/faidoc/cinnarch-packages/blob/master/cinnamon/cinnamon2d-screensaver.desktop)

        
build() {
  cd ${srcdir}/linuxmint-Cinnamon*
 
  sed -i 's/\ --warn-all\ --warn-error//' src/Makefile.am
 
  ./autogen.sh --prefix=/usr \
               --sysconfdir=/etc \
               --libexecdir=/usr/lib/cinnamon \
               --localstatedir=/var \
               --disable-static \
               --disable-schemas-compile \
               --enable-compile-warnings=yes \
               --with-session-tracking=systemd
  make
}
 
package() {
  cd ${srcdir}/linuxmint-Cinnamon*
  make DESTDIR="${pkgdir}" install
 
  #Run python2 instead of python(3)
  sed -i 's/bin\/python/bin\/python2/g' \
    "${pkgdir}/usr/bin/$pkgname-extension-tool" \
    "${pkgdir}/usr/bin/$pkgname-launcher" \
    "${pkgdir}/usr/bin/$pkgname-menu-editor" \
    "${pkgdir}/usr/bin/$pkgname-settings" \
    "${pkgdir}/usr/share/$pkgname/applets/panel-launchers@$pkgname.org/$pkgname-add-panel-launcher.py"
 
  sed -i 's/env python/env python2/g' \
    "${pkgdir}/usr/lib/$pkgname-settings/$pkgname-settings.py"
 
  install -Dm644 $srcdir/${pkgname}-screensaver.desktop ${pkgdir}/etc/xdg/autostart/${pkgname}-screensaver.desktop
  install -Dm644 $srcdir/${pkgname}2d-screensaver.desktop ${pkgdir}/etc/xdg/autostart/${pkgname}2d-screensaver.desktop
}

md5sums=('ea73c6367d43d82c61f977477bf0c08c'
         'd55c079cdc8bec606f510f87b2a6f776'
         '5c6af851ab1cf7e9219f11d86353196a')

md5sums=('ea73c6367d43d82c61f977477bf0c08c'
         'edbb612b0ed725b87d743654fbb9f3e3'
         '36a2725ca983e9f5d6b3e6a9ea6e0113')

He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#4 2012-12-16 04:26:07

NikTh
Member
From: GR
Registered: 2012-01-08
Posts: 40
Website

Re: [SOLVED] Cannot build Cinnamon 1.6.7-3 due to 404 URL error

@Rasi , above PKGBUILD with cinnamon 1.6.7-3 gave me an md5sum validation error , but is ok

seems that Cinnamon 1.6.7-4 works like it should.

Thanks guys.


KISS my Arch

Offline

Board footer

Powered by FluxBB