public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <michich@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/icecream] epel10: - Update to upstream release 0.9.2.
Date: Thu, 30 Jul 2026 15:15:24 GMT	[thread overview]
Message-ID: <178542452468.1.6098863370912002492.rpms-icecream-6908d74e1f52@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/icecream
            Branch : epel10
            Commit : 6908d74e1f52b37b475fdef7aeace648a58dffe7
            Author : Michal Schmidt <michich@fedoraproject.org>
            Date   : 2008-11-13T14:58:58+00:00
            Stats  : +55/-80 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/icecream/c/6908d74e1f52b37b475fdef7aeace648a58dffe7?branch=epel10

            Log:
            - Update to upstream release 0.9.2.
- The license is GPLv2+.
- Add manpages from SUSE src package.
- Add patch to run icecc --build-native as root.

---
diff --git a/.cvsignore b/.cvsignore
index b28d69d..8eef5ff 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,2 +1,2 @@
-icecream-0.8.0.tar.bz2
-icecream-make-it-cool.patch.bz2
+icecc-0.9.2.tar.bz2
+icecream-manpages.tar.bz2

diff --git a/icecream-build-env-as-root.patch b/icecream-build-env-as-root.patch
new file mode 100644
index 0000000..f3ccf2b
--- /dev/null
+++ b/icecream-build-env-as-root.patch
@@ -0,0 +1,23 @@
+icecc --build-native fails if run as non-root, it needs to chroot.
+This needs to be discussed upstream.
+
+diff -up icecc-0.9.2/daemon/environment.cpp.build-env-as-root icecc-0.9.2/daemon/environment.cpp
+--- icecc-0.9.2/daemon/environment.cpp.build-env-as-root	2008-11-13 15:11:28.000000000 +0100
++++ icecc-0.9.2/daemon/environment.cpp	2008-11-13 15:12:26.000000000 +0100
+@@ -239,6 +239,7 @@ size_t setup_env_cache(const string &bas
+         }
+     }
+     // else
++    /* icecc --build-native wants to ldconfig -r ... which uses chroot 
+     if ( setgid( nobody_gid ) < 0) {
+       log_perror("setgid failed");
+       _exit(143);
+@@ -246,7 +247,7 @@ size_t setup_env_cache(const string &bas
+     if (!geteuid() && setuid( nobody_uid ) < 0) {
+       log_perror("setuid failed");
+       _exit (142);
+-    }
++    }*/
+ 
+     if ( chdir( nativedir.c_str() ) ) {
+          log_perror( "chdir" );

diff --git a/icecream-compile-fix.patch b/icecream-compile-fix.patch
deleted file mode 100644
index 45b3b22..0000000
--- a/icecream-compile-fix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -up icecream-0.8.0/client/remote.cpp.orig icecream-0.8.0/client/remote.cpp
---- icecream-0.8.0/client/remote.cpp.orig	2008-02-10 22:15:20.000000000 +0100
-+++ icecream-0.8.0/client/remote.cpp	2008-02-10 22:18:09.000000000 +0100
-@@ -38,6 +38,7 @@
- #include <unistd.h>
- #include <stdio.h>
- #include <errno.h>
-+#include <limits.h>
- #include <map>
- #include <algorithm>
- #include <netinet/in.h>
-diff -up icecream-0.8.0/client/local.cpp.orig icecream-0.8.0/client/local.cpp
---- icecream-0.8.0/client/local.cpp.orig	2008-02-10 22:14:30.000000000 +0100
-+++ icecream-0.8.0/client/local.cpp	2008-02-10 22:16:20.000000000 +0100
-@@ -27,6 +27,7 @@
- #include <unistd.h>
- #include <string.h>
- #include <errno.h>
-+#include <limits.h>
- #ifdef HAVE_SIGNAL_H
- #include <signal.h>
- #endif
-diff -up icecream-0.8.0/client/main.cpp.orig icecream-0.8.0/client/main.cpp
---- icecream-0.8.0/client/main.cpp.orig	2008-02-10 22:13:09.000000000 +0100
-+++ icecream-0.8.0/client/main.cpp	2008-02-10 22:18:20.000000000 +0100
-@@ -48,6 +48,7 @@
- #include <fcntl.h>
- #include <errno.h>
- #include <signal.h>
-+#include <limits.h>
- #include <cassert>
- #include <sys/time.h>
- #include <comm.h>

diff --git a/icecream.spec b/icecream.spec
index 4e3be0b..3abf5af 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -1,5 +1,3 @@
-%bcond_without	doc
-
 %if 0%{?fedora}
 %bcond_without  fedora
 %bcond_without	selinux
@@ -12,17 +10,14 @@
 
 
 Name:		icecream
-Version:	0.8.0
-Release:	12.20080117svn%{?dist}
+Version:	0.9.2
+Release:	1%{?dist}
 Summary:	Distributed compiler
 
 Group:		Development/Tools
-License:	GPLv2
+License:	GPLv2+
 URL:		http://en.opensuse.org/Icecream
-# The source was pulled from SVN repository:
-# svn export -r 657903 svn://anonsvn.kde.org/home/kde/trunk/icecream icecream-0.8.0
-# tar -cjvf icecream-0.8.0.tar.bz2 icecream-0.8.0/
-Source0:	icecream-0.8.0.tar.bz2
+Source0:	ftp://ftp.suse.com/pub/projects/icecream/icecc-%{version}.tar.bz2
 Source1:	icecream.sh.in
 Source2:	icecream.csh.in
 Source3:	icecream.fc
@@ -30,20 +25,15 @@ Source4:	icecream.te
 Source5:	icecream.if
 Source6:	initscript-iceccd
 Source7:	initscript-scheduler
-# This patch was generated with:
-# svn export -r 761849 svn://anonsvn.kde.org/home/kde/branches/work/icecream-make-it-cool icecream-mic
-# diff -Nurp icecream-0.8.0 icecream-mic > icecream-make-it-cool.patch
-# bzip2 icecream-make-it-cool.patch
-Patch0:		icecream-make-it-cool.patch.bz2
-Patch1:		icecream-rename-scheduler.patch
-Patch2:		icecream-cleanup-conffile.patch
-Patch3:		icecream-compile-fix.patch
+# manpages from http://ftp5.gwdg.de/pub/opensuse/repositories/home:/coolo/openSUSE_11.0/src/icecream-0.9.2-2.1.src.rpm
+Source8:	%{name}-manpages.tar.bz2
+Patch0:		icecream-rename-scheduler.patch
+Patch1:		icecream-cleanup-conffile.patch
+Patch2:		icecream-build-env-as-root.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:	automake autoconf libtool symlinks
-# To build manpages from KDE-style Docbook sources:
-%{?with_doc:BuildRequires:	%{!?el5:kdelibs3 kdelibs3-devel} %{?el5:kdelibs kdelibs-devel}}
+BuildRequires:	symlinks
 
 %if %{with selinux}
 # For SELinux protection:
@@ -84,12 +74,10 @@ Requires:	%{name} = %{version}-%{release}
 This package contains development files for %{name}.
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -a 8 -n icecc-%{version}
+%patch0 -p0
 %patch1 -p0
-%patch2 -p0
-%patch3 -p1
-make -f Makefile.cvs
+%patch2 -p1
 sed -e 's|@LIBDIR@|%{_libdir}|g' %{SOURCE1} > icecream.sh
 sed -e 's|@LIBDIR@|%{_libdir}|g' %{SOURCE2} > icecream.csh
 mkdir SELinux
@@ -98,19 +86,12 @@ mkdir fedora
 cp -p %{SOURCE6} %{SOURCE7} fedora
 
 %build
-%configure --disable-static --enable-shared
-make %{?_smp_mflags}
+%configure --disable-static --enable-shared --disable-rpath
+# Remove rpath from local libtool copy
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 
-%if %{with doc}
-pushd doc
-for i in man-*.docbook; do
-	meinproc --stylesheet %{_datadir}/apps/ksgmltools2/customization/kde-man.xsl $i
-	manfile=${i#man-}
-	manfile=${manfile%.docbook}
-	mv manpage.troff $manfile
-done
-popd
-%endif
+make %{?_smp_mflags}
 
 %if %{with selinux}
 pushd SELinux
@@ -137,14 +118,12 @@ done
 # relativize the symlinks
 symlinks -cs %{buildroot}/%{_libdir}/icecc/bin
 
-%if %{with doc}
 # install manpages
 mkdir -p %{buildroot}/%{_mandir}/man{1,7,8}
-mv doc/scheduler.1 doc/icecc-scheduler.1
-for i in doc/*.1 doc/*.7; do
+mv mans/scheduler.1 mans/icecc-scheduler.1
+for i in mans/*.1 mans/*.7; do
 	install -m 644 $i %{buildroot}/%{_mandir}/man${i##*.}
 done
-%endif
 
 # install config file and initscripts
 install -D -m 644 suse/sysconfig.icecream %{buildroot}/%{_sysconfdir}/sysconfig/icecream
@@ -226,7 +205,7 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING ChangeLog README BENCH NEWS TODO
+%doc COPYING README NEWS TODO
 %{_bindir}/icecc
 %dir %{_libdir}/icecc/
 %dir %{_libdir}/icecc/bin/
@@ -243,7 +222,7 @@ rm -rf %{buildroot}
 %{_sysconfdir}/rc.d/init.d/iceccd
 %{_sysconfdir}/rc.d/init.d/icecc-scheduler
 %{_localstatedir}/cache/icecream
-%{?with_doc:%{_mandir}/man*/*}
+%{_mandir}/man*/*
 %{?with_selinux:%{_datadir}/selinux/*/icecream.pp}
 
 %files devel
@@ -254,6 +233,12 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/icecc.pc
 
 %changelog
+* Thu Nov 13 2008 Michal Schmidt <mschmidt@redhat.com> - 0.9.2-1
+- Update to upstream release 0.9.2.
+- The license is GPLv2+.
+- Add manpages from SUSE src package.
+- Add patch to run icecc --build-native as root.
+
 * Tue Sep  2 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.8.0-12.20080117svn
 - Include unowned icecc directories.
 - Add defattr in devel pkg.

diff --git a/sources b/sources
index d255e5c..740a81a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-5dd4718f52626924a665c1f56b90d403  icecream-0.8.0.tar.bz2
-209f885bd595fc9a203ce4115872250e  icecream-make-it-cool.patch.bz2
+2765f37805b5a3e86a77aefae64a150c  icecc-0.9.2.tar.bz2
+a3829775870d5b2b60b750a88ee835b7  icecream-manpages.tar.bz2

                 reply	other threads:[~2026-07-30 15:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178542452468.1.6098863370912002492.rpms-icecream-6908d74e1f52@fedoraproject.org \
    --to=michich@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox