[Slackbuilds-users] redshift

dmitrinove dmitrinove at yahoo.com
Sun Jan 19 16:19:50 UTC 2014



Hi, the redshift package is old (1.2) I have asked to the maintainer
but I don't get any answer.

so I have update it by myself, this is the patch:

diff -Naur redshift.old/redshift.SlackBuild redshift/redshift.SlackBuild
--- redshift.old/redshift.SlackBuild    2014-01-19 16:52:44.000000000 +0100
+++ redshift/redshift.SlackBuild    2014-01-19 16:52:26.000000000 +0100
@@ -5,7 +5,7 @@
 # Public domain, written 2010.

 PRGNAM=redshift
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.8}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}

@@ -54,7 +54,7 @@
 CFLAGS="$SLKCFLAGS" \
 CXXFLAGS="$SLKCFLAGS" \
 ./configure \
-  --enable-gtk \
+  --disable-ubuntu \
   --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --sysconfdir=/etc \
diff -Naur redshift.old/redshift.info redshift/redshift.info
--- redshift.old/redshift.info    2014-01-19 16:52:44.000000000 +0100
+++ redshift/redshift.info    2014-01-19 16:52:26.000000000 +0100
@@ -1,8 +1,8 @@
 PRGNAM="redshift"
-VERSION="1.2"
+VERSION="1.8"
 HOMEPAGE="http://jonls.dk/redshift/"
-DOWNLOAD="http://launchpad.net/redshift/trunk/1.2/+download/redshift-1.2.tar.bz2"
-MD5SUM="fdb33a27e95db9c8b519e628e94cf73e"
+DOWNLOAD="https://github.com/jonls/redshift/releases/download/v1.8/redshift-1.8.tar.bz2"
+MD5SUM="a05c34bc7b8fbb4f5d546a0b5cca5d6f"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""

this new version required the pyxdg package, already in the repository.

A few questions:

The upload form is only for new package or also for updates like this one?

the makefile of redshift produce two executable, a command line executable
and a gui frontend.


it's worth it produce a patch for the makefile to build two different slackbuild
in order to produce only the commandline or only the gui frontend?


what is the slackbuild policy?

coltivate BSD, tanto windows si pianta da solo



More information about the SlackBuilds-users mailing list