files installed but not packaged in devel section (sawfish 1.6.1)

It seems that files in %files devel and %files lang are ignored. Why?
https://build.opensuse.org/package/show?package=sawfish&project=home%3Aplease_try_again

  • To answer further questions, I’m building this version because I’m not able to get the lisp menu displayed in version 1.9.1. Not sure it will work, even if I can build it, because I still have rep-gtk and librep I used to build version 1.9.1 - which I’m trying to replace with version 1.6.1 (since this version works fine under 12.1).

Hi
The actual error is this;


Directory not found: /home/abuild/rpmbuild/BUILDROOT/sawfish-1.6.1-6.1.x86_64/usr/lib64/rep/x86_64-suse-linux-gnu/sawfish

Because it can’t pass this, it spits the error about unpackaged files.

Also remove the *.la files :wink:


# Clean up
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.6-2.10-desktop
up 1 day 2:25, 3 users, load average: 0.26, 0.21, 0.16
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

In the meantime, I found what the problem was with version 1.9.1 (the one I branched from X11:windowmanagers repo). It doesn’t install rep-gtk. That’s why menus don’t work. They should just add rep-gtk to the dependencies.

--- sawfish.spec.orig	2012-09-26 13:18:48.650827113 -0700
+++ sawfish.spec	2012-09-26 13:21:59.757671557 -0700
@@ -54,6 +54,7 @@
 
 Requires(pre):  %install_info_prereq
 Requires:   librep
+Requires:   rep-gtk
 Recommends:     %{name}-lang
 Recommends:     pulseaudio-utils
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Is there not a ‘simple’ way to submit a patch to a package in OBS? … like clicking on ‘submit patch’ for example. Anyway, this should fix this problem.
Please don’t ask me to use osc. I don’t have time to learn it, I swear. :frowning:

Do you have to write a bug report just to add a line in a spec file? Pfffff… I’m afraid so.

Before I was able to fix version 1.9.1, I decided to move version 1.6.1 to a subproject - since I managed to build it locally. I linked librep and rep-gtk from my home project, and this seems to be OK. However it doesn’t find a bunch of devel packages.

How come it doesn’t find this when building from a subproject? (it worke before, as I had the package in the main project).

BuildRequires:  libXinerama-devel
BuildRequires:  libXrandr-devel
BuildRequires:  libXrender-devel
BuildRequires:  libICE-devel
BuildRequires:  libSM-devel

Hi
A few commands and an editor to fix the spec file and changes?


osc bco X11:windowmanagers sawfish

Edit the spec file and update the changes;


osc vc

add;

- Add Requires rep-gtk to fix broken menus.

:wq (to get out of vi)

osc build openSUSE_12.2 --clean

Build/test your package…


osc sr -m "Add Requires rep-gtk to fix broken menus"

Done…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.6-2.10-desktop
up 1 day 23:48, 3 users, load average: 0.15, 0.10, 0.06
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Hi
Again from osc you can build using any project;


osc build openSUSE_12.2 --alternative-project X11:windowmanagers

Have no idea on the web ui how to do that…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.6-2.10-desktop
up 1 day 23:53, 3 users, load average: 0.03, 0.08, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

The problem is not using the command line or a vi editor (I don’t do anything else but using vi all the time). It’s setting up the account, etc. I tried once and it didn’t work. But the OBS server wasn’t working either at this time.

Anyway, …

agnelo@jadzia:~> osc bco X11:windowmanagers sawfish
A    home:please_try_again:branches:X11:windowmanagers
A    home:please_try_again:branches:X11:windowmanagers/sawfish
A    home:please_try_again:branches:X11:windowmanagers/sawfish/sawfish-1.9.1.tar.xz
A    home:please_try_again:branches:X11:windowmanagers/sawfish/sawfish.changes
A    home:please_try_again:branches:X11:windowmanagers/sawfish/sawfish.spec
A    home:please_try_again:branches:X11:windowmanagers/sawfish/suse-start-sawfish.el
At revision ec28bbf0a091f02bad0364f669617d57.
Note: You can use "osc delete" or "osc submitpac" when done.

agnelo@jadzia:~> osc vc
user 'Please try again' not found
Try env mailaddr=...
no .changes and no .spec file found

See what I mean? If I need to create a user account on a local machine here to match the name that I use in obs, it’s going to be complicated.

Hi
cd into the directory home:please_try_again:branches:X11:windowmanagers/sawfish :wink:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.6-2.10-desktop
up 2 days 22:11, 3 users, load average: 0.00, 0.01, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

OK. Done.