Author: steve-guest
Date: 2012-05-28 21:37:58 +0000 (Mon, 28 May 2012)
New Revision: 13638

Modified:
   packages/trunk/jstest-gtk/debian/changelog
   packages/trunk/jstest-gtk/debian/patches/libraries.patch
Log:
Rework libraries.patch to use pkg-config for all libraries.

Modified: packages/trunk/jstest-gtk/debian/changelog
===================================================================
--- packages/trunk/jstest-gtk/debian/changelog  2012-05-28 19:38:20 UTC (rev 
13637)
+++ packages/trunk/jstest-gtk/debian/changelog  2012-05-28 21:37:58 UTC (rev 
13638)
@@ -13,6 +13,7 @@
   * Ship NEWS as the upstream changelog.
   * Re-enable typos.patch to fix another typo.
   * Update copyright years and format URL.
+  * Rework libraries.patch to use pkg-config for all libraries.
 
  -- Stephen Kitt <st...@sk2.org>  Fri, 25 May 2012 06:42:17 +0200
 

Modified: packages/trunk/jstest-gtk/debian/patches/libraries.patch
===================================================================
--- packages/trunk/jstest-gtk/debian/patches/libraries.patch    2012-05-28 
19:38:20 UTC (rev 13637)
+++ packages/trunk/jstest-gtk/debian/patches/libraries.patch    2012-05-28 
21:37:58 UTC (rev 13638)
@@ -1,15 +1,18 @@
-Description: Link with libx11
-Author: Miriam Ruiz <mir...@debian.org>
+Description: Link with libx11 and libexpat using pkg-config
+Author: Stephen Kitt <st...@sk2.org>
 Forwarded: no
 
 --- jstest-gtk-0.1.1~git20090722.orig/SConstruct
 +++ jstest-gtk-0.1.1~git20090722/SConstruct
-@@ -16,7 +16,7 @@
+@@ -15,9 +15,8 @@
+ ##  You should have received a copy of the GNU General Public License
  ##  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  
- env = Environment(CXXFLAGS=["-g", "-Wall", "-Werror"],
+-env = Environment(CXXFLAGS=["-g", "-Wall", "-Werror"],
 -                  LIBS=["expat"])
-+                  LIBS=["expat", "X11"])
- env.ParseConfig('pkg-config --cflags --libs gtkmm-2.4 sigc++-2.0')
+-env.ParseConfig('pkg-config --cflags --libs gtkmm-2.4 sigc++-2.0')
++env = Environment(CXXFLAGS=["-g", "-Wall", "-Werror"])
++env.ParseConfig('pkg-config --cflags --libs gtkmm-2.4 sigc++-2.0 expat x11')
  env.Program('jstest-gtk', [
      'src/axis_widget.cpp',
+     'src/button_widget.cpp',


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to