Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Distribute PSOL and mod_pagespeed as a source tarball. #968

Open
GoogleCodeExporter opened this issue Apr 6, 2015 · 40 comments
Open

Distribute PSOL and mod_pagespeed as a source tarball. #968

GoogleCodeExporter opened this issue Apr 6, 2015 · 40 comments

Comments

@GoogleCodeExporter
Copy link

I'm packaging pagespeed for multiple versions openSUSE. The steps I use for 
building whenever a new release is out is:

- resync the sources from the svn tag using gclient
- create a bzipped archive of the whole source tree
- upload the archive + spec files to the openSUSE build service, where the 
module is built for multiple openSUSE versions

If I generate the archive on an recent version of openSUSE then I can't build 
the project on older versions of openSUSE, due to the svn client being to old 
for the working copy

[   70s] + python build/gyp_chromium -Duse_system_libs=1 -Duse_system_icu=1 
-Dsystem_include_path_apr=/usr/include/apr-1 
-Dsystem_include_path_httpd=/usr/include/apache2 
-Dsystem_include_path_aprutil=/usr/include/apr-1
[   70s] Updating projects from gyp files...
[   72s] svn: E155021: This client is too old to work with the working copy at
[   72s] '/home/abuild/rpmbuild/BUILD/src' (format 31).
[   72s] You need to get a newer Subversion client. For more details, see
[   72s]   http://subversion.apache.org/faq.html#working-copy-format-change
[   72s] 
[   72s] gyp: Call to '../build/lastchange.sh .. -d ../LASTCHANGE.in | cut -d 
"=" -f 2' returned exit status 0.
[   74s] error: Bad exit status from /var/tmp/rpm-tmp.9qDDwr (%prep)

It would be great if the call to lastchange.sh would be made independent of the 
svn location or simply avoided altogether.

This would also allow me to remove the .svn directories from the archive, 
cutting down on its size.

Original issue reported on code.google.com by robert.munteanu on 8 Aug 2014 at 1:28

@rombert
Copy link

rombert commented Jul 30, 2015

Can you please add a link for the latest stable release?

@rombert
Copy link

rombert commented Jul 31, 2015

Thanks!

@pgajdos
Copy link

pgajdos commented Sep 8, 2015

Hello, could you please provide link for 1.9.32.8?

Thanks!

@crowell
Copy link
Contributor

crowell commented Sep 8, 2015

@pgajdos 1.9.32.8 is a "pre-release" meant for testing (not an official signed release yet).
you can download the source tarball here though

https://github.com/pagespeed/mod_pagespeed/releases/download/1.9.32.8/mod-pagespeed-beta-1.9.32.8-r7388.tar.bz2

@pgajdos
Copy link

pgajdos commented Sep 9, 2015

@crowell, thank you; could you please provide link for 1.9.32.8 final when done?

@crowell
Copy link
Contributor

crowell commented Oct 9, 2015

@rombert
Copy link

rombert commented Oct 30, 2015

@crowell - packaging now ( as I typically wait for the stable version ). BTW, the link is incorrect - https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-stable-1.9.32.10-r7443.tar.bz2 ; replace beta with stable and it works

@crowell
Copy link
Contributor

crowell commented Oct 31, 2015

@rombert thanks for the catch, updated.

@crowell
Copy link
Contributor

crowell commented Aug 16, 2016

@jeffkaufman
Copy link
Contributor

@aleksijohansson
Copy link

These are great! We are using them when building mod_pagespeed psol on Alpine Linux (https://github.com/wunderkraut/alpine-nginx-pagespeed) and they save a great amount of build time.

@hillsp
Copy link
Contributor

hillsp commented Dec 7, 2016

@losintikfos
Copy link

Anyone knows link for version 1.12.34.2 psol source tarball ?

I have tried: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.12.34.2-r0.tar.bz2 with no joy :(

@jeffkaufman
Copy link
Contributor

jeffkaufman commented Mar 2, 2017

1.12.34.2 was an nginx-only release, and didn't affect the psol source tarball. It's fine to just use the 1.12.34.1 tarball.

@pgajdos
Copy link

pgajdos commented Dec 20, 2017

Could I get a newer link please?

@dvershinin
Copy link

Quite a useful archive. Couple of issues though.

  1. It does not include BoringSSL in third_party.

Can we ensure that all third-party libraries are included? Folks can then make very fine-tuned decisions on which library will be bundled and which used from the system (by using of flags like -Duse_system_openssl=1 selectively).

For example. RHEL 7 has a too old version OpenSSL that would fail to compile against, so it would be required to bundle in BoringSSL for that operating system.

  1. Some flags set on the command line do not apply because of an override file.

For example -Duse_system_libjpeg=1 has no effect, because in src/build/pagespeed_overrides.gypi
it is reset to 0:

    # Chromium uses system shared libraries on Linux by default
    # (Chromium already has transitive dependencies on these libraries
    # via gtk). We want to link these libraries into our binaries so
    # we change the default behavior.
    'use_system_libjpeg': 0,
    'use_system_libpng': 0,
    'use_system_zlib': 0,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

11 participants