All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Chubb <peter@chubb.wattle.id.au>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Beta version of pfmon-2.0 available for testing
Date: Fri, 06 Dec 2002 04:47:00 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590709805510@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805507@msgid-missing>

Thankyou thankyou thankyou for the man pages...

I had  a few difficulties  building debian packages from the source
tarballs.

1.  there are argument problems with debstd and dpkg-genchanges (fix
below)
2.  Two packages are created with overlapping contents for the library
packages... not what's wanted I think.

Here's a patch that fixes those things.

diff -r -u libpfm-2.0/debian/libpfm-dev.dirs libpfm_2.0/debian/libpfm-dev.dirs
--- libpfm-2.0/debian/libpfm-dev.dirs   2002-11-22 05:52:46.000000000 +1100
+++ libpfm_2.0/debian/libpfm-dev.dirs   2002-12-06 15:14:00.000000000 +1100
@@ -1,3 +1,3 @@
-/usr/share/doc
+/usr/share/doc/libpfm-dev
 /usr
 /usr/include
Only in libpfm_2.0/debian: libpfm-dev.examples
diff -r -u libpfm-2.0/debian/libpfm-dev.files libpfm_2.0/debian/libpfm-dev.files
--- libpfm-2.0/debian/libpfm-dev.files  2002-11-22 05:55:13.000000000 +1100
+++ libpfm_2.0/debian/libpfm-dev.files  2002-12-06 15:41:48.000000000 +1100
@@ -1,21 +1,51 @@
-/usr/share/doc/freesmpl.c
-/usr/share/doc/ita2_irr.c
-/usr/share/doc/ita2_opcode.c
-/usr/share/doc/ita2_rr.c
-/usr/share/doc/ita_btb.c
-/usr/share/doc/ita_irr.c
-/usr/share/doc/ita_opcode.c
-/usr/share/doc/ita_rr.c
-/usr/share/doc/notify_self.c
-/usr/share/doc/self.c
-/usr/share/doc/showreset.c
-/usr/share/doc/syst.c
-/usr/share/doc/task.c
-/usr/share/doc/whichpmu.c
-/usr/lib/libpfm.a
-/usr/include/perfmon/perfmon.h
-/usr/include/perfmon/pfmlib.h
-/usr/include/perfmon/pfmlib_itanium.h
-/usr/include/perfmon/pfmlib_itanium2.h
-/usr/include/perfmon/pfmlib_compiler.h
-/usr/include/perfmon/pfm_siginfo.h
+usr/share/doc/libpfm-dev/examples/freesmpl.c
+usr/share/doc/libpfm-dev/examples/ita2_irr.c
+usr/share/doc/libpfm-dev/examples/ita2_opcode.c
+usr/share/doc/libpfm-dev/examples/ita2_rr.c
+usr/share/doc/libpfm-dev/examples/ita_btb.c
+usr/share/doc/libpfm-dev/examples/ita_irr.c
+usr/share/doc/libpfm-dev/examples/ita_opcode.c
+usr/share/doc/libpfm-dev/examples/ita_rr.c
+usr/share/doc/libpfm-dev/examples/notify_self.c
+usr/share/doc/libpfm-dev/examples/self.c
+usr/share/doc/libpfm-dev/examples/showreset.c
+usr/share/doc/libpfm-dev/examples/syst.c
+usr/share/doc/libpfm-dev/examples/task.c
+usr/share/doc/libpfm-dev/examples/whichpmu.c
+usr/lib/libpfm.a
+usr/include/perfmon/perfmon.h
+usr/include/perfmon/pfmlib.h
+usr/include/perfmon/pfmlib_itanium.h
+usr/include/perfmon/pfmlib_itanium2.h
+usr/include/perfmon/pfmlib_generic.h
+usr/include/perfmon/pfmlib_compiler.h
+usr/include/perfmon/pfm_siginfo.h
+usr/share/man/man3/libpfm.3
+usr/share/man/man3/libpfm_itanium.3
+usr/share/man/man3/libpfm_itanium2.3
+usr/share/man/man3/pfm_dispatch_events.3
+usr/share/man/man3/pfm_find_event.3
+usr/share/man/man3/pfm_find_event_bycode.3
+usr/share/man/man3/pfm_find_event_bycode_next.3
+usr/share/man/man3/pfm_find_event_byname.3
+usr/share/man/man3/pfm_force_pmu.3
+usr/share/man/man3/pfm_get_event_code.3
+usr/share/man/man3/pfm_get_event_counters.3
+usr/share/man/man3/pfm_get_event_name.3
+usr/share/man/man3/pfm_get_first_event.3
+usr/share/man/man3/pfm_get_impl_counters.3
+usr/share/man/man3/pfm_get_impl_pmcs.3
+usr/share/man/man3/pfm_get_impl_pmds.3
+usr/share/man/man3/pfm_get_next_event.3
+usr/share/man/man3/pfm_get_num_counters.3
+usr/share/man/man3/pfm_get_pmu_name.3
+usr/share/man/man3/pfm_get_pmu_name_bytype.3
+usr/share/man/man3/pfm_get_pmu_type.3
+usr/share/man/man3/pfm_get_version.3
+usr/share/man/man3/pfm_initialize.3
+usr/share/man/man3/pfm_list_supported_pmus.3
+usr/share/man/man3/pfm_pmu_is_supported.3
+usr/share/man/man3/pfm_set_options.3
+usr/share/man/man3/pfm_start.3
+usr/share/man/man3/pfm_stop.3
+usr/share/man/man3/pfm_strerror.3
diff -r -u libpfm-2.0/debian/libpfm.dirs libpfm_2.0/debian/libpfm.dirs
--- libpfm-2.0/debian/libpfm.dirs       2002-11-22 05:50:57.000000000 +1100
+++ libpfm_2.0/debian/libpfm.dirs       2002-12-06 15:31:14.000000000 +1100
@@ -1 +1 @@
-/usr/lib
+usr/lib
diff -r -u libpfm-2.0/debian/libpfm.files libpfm_2.0/debian/libpfm.files
--- libpfm-2.0/debian/libpfm.files      2002-11-22 05:51:27.000000000 +1100
+++ libpfm_2.0/debian/libpfm.files      2002-12-06 15:31:17.000000000 +1100
@@ -1 +1 @@
-/usr/lib/libpfm.so.2.0.0
+usr/lib/libpfm.so.2.0.0
diff -r -u libpfm-2.0/debian/rules libpfm_2.0/debian/rules
--- libpfm-2.0/debian/rules     2002-11-21 14:01:38.000000000 +1100
+++ libpfm_2.0/debian/rules     2002-12-06 15:37:27.000000000 +1100
@@ -14,7 +14,7 @@
        -rm -f build
        -$(MAKE) distclean
        -rm -f `find . -name "*~"`
-       -rm -rf debian/tmp debian/files* core debian/substvars
+       -rm -rf debian/tmp debian/files* core debian/substvars debian/libpfm-dev debian/libpfm

 binary-indep: checkroot build
        $(checkdir)
@@ -26,12 +26,12 @@
        $(checkdir)
        -rm -rf debian/tmp
        install -d debian/tmp
-       cd debian/tmp && install -d `cat ../dirs`
+       cd debian/tmp && install -d `cat ../libpfm.dirs`
        $(MAKE) install DESTDIR=`pwd`/debian/tmp/usr
 # Must have debmake installed for this to work. Otherwise please copy
 # /usr/bin/debstd into the debian directory and change debstd to
debian/debstd
-       debstd ChangeLog README TODO
-       dpkg-gencontrol -isp
+       debstd ChangeLog TODO
+       dpkg-gencontrol -is -p${package}
        chown -R root.root debian/tmp
        chmod -R go=rX debian/tmp
        dpkg --build debian/tmp ..



--
Dr Peter Chubb				    peterc@gelato.unsw.edu.au
You are lost in a maze of BitKeeper repositories, all almost the same.



      reply	other threads:[~2002-12-06  4:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05 20:28 [Linux-ia64] Beta version of pfmon-2.0 available for testing Stephane Eranian
2002-12-06  4:47 ` Peter Chubb [this message]

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=marc-linux-ia64-105590709805510@msgid-missing \
    --to=peter@chubb.wattle.id.au \
    --cc=linux-ia64@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.