public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-misc/pnmixer/files: pnmixer-0.6_pre20111213-desktopfile.patch pnmixer-0.6_pre20111213-build.patch
@ 2012-11-16  0:20 Julian Ospald (hasufell)
  0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2012-11-16  0:20 UTC (permalink / raw
  To: gentoo-commits

hasufell    12/11/16 00:20:25

  Added:                pnmixer-0.6_pre20111213-desktopfile.patch
                        pnmixer-0.6_pre20111213-build.patch
  Log:
  initial import wrt #432460
  
  (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

Revision  Changes    Path
1.1                  x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-desktopfile.patch?rev=1.1&content-type=text/plain

Index: pnmixer-0.6_pre20111213-desktopfile.patch
===================================================================
From: Julian Ospald <hasufell@gentoo.org>
Date: Fri Nov 16 00:03:56 UTC 2012
Subject: desktop file

	comply with fd.o spec

--- data/pnmixer.desktop
+++ data/pnmixer.desktop
@@ -12,4 +12,4 @@
 Icon=pnmixer
 Terminal=false
 Type=Application
-Categories=Application;AudioVideo;
\ No newline at end of file
+Categories=AudioVideo;



1.1                  x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-build.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pnmixer/files/pnmixer-0.6_pre20111213-build.patch?rev=1.1&content-type=text/plain

Index: pnmixer-0.6_pre20111213-build.patch
===================================================================
From: Julian Ospald <hasufell@gentoo.org>
Date: Thu Nov 15 23:59:49 UTC 2012
Subject: build system

respect CFLAGS, use rdynamic
don't use AM_CFLAGS in configure.in

--- configure.in
+++ configure.in
@@ -1,16 +1,14 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(configure.in)
-AM_INIT_AUTOMAKE(pnmixer, 0.6-dev)
+AC_INIT([pnmixer], [0.6-dev])
+AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
-OLD_CFLAGS=$CFLAGS
 AC_ISC_POSIX
 AC_PROG_CC
 AM_PROG_CC_STDC
 AC_HEADER_STDC
-CFLAGS=$OLD_CXXFLAGS
 
 pkg_modules="gtk+-2.0 >= 2.16.0"
 
@@ -37,12 +35,13 @@
 
 if test x"$debugit" = x"yes"; then
     AC_DEFINE([DEBUG],[],[Debug Mode])
-    AM_CFLAGS="$AM_CFLAGS -g -Wall -Werror -Wno-uninitialized -Wformat -Wformat-security -O0 -export-dynamic"
+    CFLAGS="$CFLAGS -g -Wall -Werror -Wno-uninitialized -Wformat -Wformat-security -O0"
 else
     AC_DEFINE([NDEBUG],[],[No-debug Mode])
-    AM_CFLAGS="$AM_CFLAGS -O2 -export-dynamic"
 fi
 
+LDFLAGS="-rdynamic $LDFLAGS"
+
 ##########################################################################
 
 # Make sure we have X11, and also have it added to LIBS
@@ -74,7 +73,6 @@
    AC_DEFINE([HAVE_LIBN],1,[Defined if you have libnotify])
 fi
 
-AC_SUBST([AM_CFLAGS])
 
 PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
 AC_SUBST(PACKAGE_CFLAGS)
--- src/Makefile.am
+++ src/Makefile.am
@@ -1,6 +1,5 @@
 ## Process this file with automake to produce Makefile.in
 
-AM_CFLAGS = @AM_CFLAGS@
 
 INCLUDES = \
 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-16  0:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16  0:20 [gentoo-commits] gentoo-x86 commit in x11-misc/pnmixer/files: pnmixer-0.6_pre20111213-desktopfile.patch pnmixer-0.6_pre20111213-build.patch Julian Ospald (hasufell)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox