[Frugalware-git] cfpm: major changes in class List * List is now a generic class representing PM_LIST * Added new classes PackageList and GroupList as specializations of List for Package and Group cla

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=fe01aa608480905bcf3a4b975f4c9fe38f41b00c

commit fe01aa608480905bcf3a4b975f4c9fe38f41b00c
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 12:27:33 2009 +0530

major changes in class List
* List is now a generic class representing PM_LIST
* Added new classes PackageList and GroupList as specializations of List
for Package and Group classes
* Database::getGroupCache() and Database::getPackageCache() now return
GroupList* and PackageList* respectively

diff --git a/pm.cc b/pm.cc
index cd3ce74..0301e0b 100644
--- a/pm.cc
+++ b/pm.cc
@@ -32,6 +32,8 @@ using PM::Database;
using PM::Package;
using PM::Group;
using PM::List;
+using PM::PackageList;
+using PM::GroupList;

bool PM::initialize(const string root)
{
@@ -149,26 +151,26 @@ bool Database::readGroup(Group g,const string gname)
return ret;
}

-List* Database::getGroupCache()
+GroupList* Database::getGroupCache()
{
-   List *ret = NULL;
+   GroupList   *ret = NULL;

if ( isRegistered() )
{
PM_LIST *l = pacman_db_getgrpcache(db);
-   ( l )  ( ret = new List(l) );
+   ( l )  ( ret = new GroupList(l) );
}
return ret;
}

-List* Database::getPackageCache()
+PackageList* Database::getPackageCache()
{
-   List *ret = NULL;
+   PackageList *ret = NULL;

if ( isRegistered() )
{
PM_LIST *l = pacman_db_getpkgcache(db);
-   ( l )  ( ret = new List(l) );
+   ( l )  ( ret = new PackageList(l) );
}
return ret;
}
@@ -373,11 +375,11 @@ string Group::getName()
List::List()
{
list = NULL;
+
}

List::List(PM_LIST *l)
{
-   List();
list = l;
}

@@ -391,32 +393,28 @@ int List::count()
return pacman_list_count(list);
}

-List* List::getFirst()
+bool List::first()
{
-   List *ret = NULL;
+   boolret = false;
+   PM_LIST *tmp = NULL;

-   if ( list )
+   if ( (tmp=pacman_list_first(list)) != NULL )
{
-   PM_LIST *l = pacman_list_first(list);
-   if (l)
-   {
-   ret = new List(l);
-   }
+   list = tmp;
+   ret = true;
}
return ret;
}

-List* List::getNext()
+bool List::next()
{
-   List *ret = NULL;
+   boolret = false;
+   PM_LIST *tmp = NULL;

-   if ( list )
+   if ( (tmp=pacman_list_next(list)) != NULL )
{
-   PM_LIST *l = pacman_list_next(list);
-   if (l)
-   {
-   ret = new List(l);
-   }
+   list = tmp;
+   ret = true;
}
return ret;
}
@@ -436,3 +434,48 @@ void List::free()
{
pacman_list_free(list);
}
+
+PackageList::PackageList()
+{
+   list = NULL;
+}
+
+PackageList::PackageList(PM_LIST *l)
+{
+   list = l;
+}
+
+Package* PackageList::getData()
+{
+   Package *ret = NULL;
+   PM_PKG  *data = (PM_PKG*) getData();
+
+   if ( data )
+   {
+   ret = new Package((PM_PKG*)data);
+   }
+   return ret;
+}
+
+GroupList::GroupList()
+{
+   list = NULL;
+}
+
+GroupList::GroupList(PM_LIST *l)
+{
+   list = l;
+}
+
+Group* GroupList::getData()
+{
+   Group   *ret = NULL;
+   PM_GRP  *data = (PM_GRP*) getData();
+
+   if ( data )
+   {
+   ret = new Group((PM_GRP*)data);
+   }
+   return ret;
+}
+
diff --git a/pm.hh b/pm.hh
index 56d2fab..1f9dff0 100644
--- a/pm.hh
+++ b/pm.hh
@@ -12,6 +12,8 @@ namespace PM
class Package;
class Group;
class List;
+   class PackageList;
+   class GroupList;

class Shared
{
@@ -41,8 +43,8 @@ namespace PM
bool isRegistered();
bool readGroup(Group g,const std::string gname);
bool readPackage(Package p,const std::string pname);
-   List *getGroupCache();
-   List *getPackageCache();
+   GroupList* getGroupCache();
+   PackageList* getPackageCache();
};

class Package : public Shared
@@ -90,19 +92,37 @@ namespace PM
std::string getName();
};

+   /* generic pacman list */
class List
{
-   PM_LIST *list;
+   protected:
+   PM_LIST *list;

public:
List();
-   List(PM_LIST *list);
+   List(PM_LIST *l);
~List();
int count();
-   List *getFirst();
-   List *getNext();
+   bool first();
+   bool next();
void *getData();
void free();
};
+
+   class PackageList : public List
+   {
+   public:
+   PackageList();
+   PackageList(PM_LIST *l);
+   Package *getData();
+   };
+
+   class GroupList : public List
+   {
+   public:
+   GroupList();
+   GroupList(PM_LIST *l);
+   Group *getData();
+   };
}
#endif
___
Frugalware-git mailing 

[Frugalware-git] cfpm: Fixed segfaults * Database::getGroupCache() and Database::getPackageCache()

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=928994592fa06f09086e30ff5694b68e9a977ba7

commit 928994592fa06f09086e30ff5694b68e9a977ba7
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 12:40:15 2009 +0530

Fixed segfaults
* Database::getGroupCache() and Database::getPackageCache()

diff --git a/pm.cc b/pm.cc
index 0301e0b..8363e68 100644
--- a/pm.cc
+++ b/pm.cc
@@ -447,8 +447,8 @@ PackageList::PackageList(PM_LIST *l)

Package* PackageList::getData()
{
-   Package *ret = NULL;
-   PM_PKG  *data = (PM_PKG*) getData();
+   Package *ret;
+   PM_PKG  *data = (PM_PKG*) pacman_list_getdata(list);

if ( data )
{
@@ -469,8 +469,8 @@ GroupList::GroupList(PM_LIST *l)

Group* GroupList::getData()
{
-   Group   *ret = NULL;
-   PM_GRP  *data = (PM_GRP*) getData();
+   Group   *ret;
+   PM_GRP  *data = (PM_GRP*) pacman_list_getdata(list);

if ( data )
{
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: changes in List, PackageList, GroupList * new member: bool freeable (decides whether the internal PM_LIST* should be freed or no) * new constructors to set freeable property at

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=16760e82a94d63aca00b5e9431515601398282b5

commit 16760e82a94d63aca00b5e9431515601398282b5
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 12:49:29 2009 +0530

changes in List, PackageList, GroupList
* new member: bool freeable (decides whether the internal PM_LIST*
should be freed or no)
* new constructors to set freeable property at init
* this is done because certain functions of libpacman return pointers to
internal lists that shouldn't be freed.

diff --git a/pm.cc b/pm.cc
index 8363e68..a0e2268 100644
--- a/pm.cc
+++ b/pm.cc
@@ -432,17 +432,27 @@ void* List::getData()

void List::free()
{
-   pacman_list_free(list);
+   if ( freeable )
+   {
+   pacman_list_free(list);
+   }
+   return;
}

PackageList::PackageList()
{
list = NULL;
+   freeable = false;
}

PackageList::PackageList(PM_LIST *l)
{
-   list = l;
+   ( l )  ( list = l )  ( freeable = true );
+}
+
+PackageList::PackageList(PM_LIST *l,bool freelist)
+{
+   ( l )  ( list = l )  ( freeable = freelist );
}

Package* PackageList::getData()
@@ -460,11 +470,17 @@ Package* PackageList::getData()
GroupList::GroupList()
{
list = NULL;
+   freeable = false;
}

GroupList::GroupList(PM_LIST *l)
{
-   list = l;
+   ( l )  ( list = l )  ( freeable = true );
+}
+
+GroupList::GroupList(PM_LIST *l,bool freelist)
+{
+   ( l )  ( list = l )  ( freeable = freelist );
}

Group* GroupList::getData()
diff --git a/pm.hh b/pm.hh
index 1f9dff0..5f44893 100644
--- a/pm.hh
+++ b/pm.hh
@@ -96,7 +96,8 @@ namespace PM
class List
{
protected:
-   PM_LIST *list;
+   PM_LIST *list;
+   boolfreeable;

public:
List();
@@ -114,6 +115,7 @@ namespace PM
public:
PackageList();
PackageList(PM_LIST *l);
+   PackageList(PM_LIST *l,bool freelist);
Package *getData();
};

@@ -122,6 +124,7 @@ namespace PM
public:
GroupList();
GroupList(PM_LIST *l);
+   GroupList(PM_LIST *l,bool freelist);
Group *getData();
};
}
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: changes in class Database * getGroupCache(), getPackageCache() should return non-freeable lists

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=d930f7126908c82fa0497edd96a8f1d0fb513c1c

commit d930f7126908c82fa0497edd96a8f1d0fb513c1c
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 12:51:07 2009 +0530

changes in class Database
* getGroupCache(), getPackageCache() should return non-freeable lists

diff --git a/pm.cc b/pm.cc
index a0e2268..90ea6e4 100644
--- a/pm.cc
+++ b/pm.cc
@@ -158,7 +158,8 @@ GroupList* Database::getGroupCache()
if ( isRegistered() )
{
PM_LIST *l = pacman_db_getgrpcache(db);
-   ( l )  ( ret = new GroupList(l) );
+   /* create a new group list which shouldn't be freed */
+   ( l )  ( ret = new GroupList(l,false) );
}
return ret;
}
@@ -170,7 +171,8 @@ PackageList* Database::getPackageCache()
if ( isRegistered() )
{
PM_LIST *l = pacman_db_getpkgcache(db);
-   ( l )  ( ret = new PackageList(l) );
+   /* create a new package list which shouldn't be freed */
+   ( l )  ( ret = new PackageList(l,false) );
}
return ret;
}
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: updates in class List * add a constructor that allows setting the freeable property

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=fabcde5f0541facad70284c43a35bb40d6d36157

commit fabcde5f0541facad70284c43a35bb40d6d36157
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 12:55:27 2009 +0530

updates in class List
* add a constructor that allows setting the freeable property

diff --git a/pm.cc b/pm.cc
index 90ea6e4..043f886 100644
--- a/pm.cc
+++ b/pm.cc
@@ -377,12 +377,21 @@ string Group::getName()
List::List()
{
list = NULL;
-
+   freeable = false;
}

List::List(PM_LIST *l)
{
-   list = l;
+   if ( l )
+   {
+   list = l;
+   freeable = true;
+   }
+}
+
+List::List(PM_LIST *l,bool freelist)
+{
+   ( l )  ( list = l )  ( freeable = freelist );
}

List::~List()
diff --git a/pm.hh b/pm.hh
index 5f44893..3ca6fa0 100644
--- a/pm.hh
+++ b/pm.hh
@@ -102,6 +102,7 @@ namespace PM
public:
List();
List(PM_LIST *l);
+   List(PM_LIST *l,bool freelist);
~List();
int count();
bool first();
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: updates in class Package * new method : PackageList* getProvides()

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=2a05ad464da078448b916cb2f6ea5cf5cff8a9f7

commit 2a05ad464da078448b916cb2f6ea5cf5cff8a9f7
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 13:34:03 2009 +0530

updates in class Package
* new method : PackageList* getProvides()

diff --git a/pm.cc b/pm.cc
index 0e1b9b3..acc8c5f 100644
--- a/pm.cc
+++ b/pm.cc
@@ -306,6 +306,19 @@ int Package::getReason()
return ret;
}

+PackageList* Package::getProvides()
+{
+   PackageList *ret = NULL;
+   PM_LIST *lst = NULL;
+
+   lst = (PM_LIST*) getInfo(PM_PKG_PROVIDES);
+   if ( lst )
+   {
+   ret = new PackageList(lst);
+   }
+   return ret;
+}
+
bool Package::checkMD5Sum()
{
bool ret = true;
@@ -485,10 +498,10 @@ Package* PackageList::getData()
{
Package *ret;
PM_PKG  *data = (PM_PKG*) pacman_list_getdata(list);
-
+
if ( data )
{
-   ret = new Package((PM_PKG*)data);
+   ret = new Package((PM_PKG*)data);
}
return ret;
}
diff --git a/pm.hh b/pm.hh
index 124cb19..5fd3506 100644
--- a/pm.hh
+++ b/pm.hh
@@ -73,6 +73,7 @@ namespace PM
int getCompressedSize();
int getUncompressedSize();
int getReason();
+   PackageList* getProvides();
bool checkMD5Sum();
bool checkSHA1Sum();
bool loadFromFile(Package p,const std::string file);
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: updates in class Group * new method: getPackageNames() returns a List* of packages belonging to the specified group. data from this list should be read as char*

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=366c66d8657dd06dfdd22be53f8cd2ad34c21114

commit 366c66d8657dd06dfdd22be53f8cd2ad34c21114
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 14:19:17 2009 +0530

updates in class Group
* new method: getPackageNames() returns a List* of packages belonging to
the specified group. data from this list should be read as char*

diff --git a/pm.cc b/pm.cc
index acc8c5f..0c4833f 100644
--- a/pm.cc
+++ b/pm.cc
@@ -402,6 +402,19 @@ string Group::getName()
return ret;
}

+List* Group::getPackageNames()
+{
+   List*lst = NULL;
+   PM_LIST *l = NULL;
+
+   l = (PM_LIST*) getInfo(PM_GRP_PKGNAMES);
+   if ( l )
+   {
+   lst = new List(l);
+   }
+   return lst;
+}
+
List::List()
{
list = NULL;
diff --git a/pm.hh b/pm.hh
index 5fd3506..946caf7 100644
--- a/pm.hh
+++ b/pm.hh
@@ -92,6 +92,7 @@ namespace PM
~Group();
void* getInfo(unsigned char param);
std::string getName();
+   List* getPackageNames();
};

/* generic pacman list */
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: updates in class Database * new method: whatProvides() returns a PackageList of packages provided by the specified package name as argument.

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=061561f2134913df99dc6dd162bc279a33458409

commit 061561f2134913df99dc6dd162bc279a33458409
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 13:20:21 2009 +0530

updates in class Database
* new method: whatProvides() returns a PackageList of packages provided
by the specified package name as argument.

diff --git a/pm.cc b/pm.cc
index 043f886..0e1b9b3 100644
--- a/pm.cc
+++ b/pm.cc
@@ -151,6 +151,21 @@ bool Database::readGroup(Group g,const string gname)
return ret;
}

+PackageList* Database::whatProvides(const string pname)
+{
+   PackageList *ret = NULL;
+
+   if ( isRegistered() )
+   {
+   PM_LIST *lst = 
(PM_LIST*)pacman_db_whatprovides(db,(char*)pname.c_str());
+   if (lst)
+   {
+   ret = new PackageList (lst,false);
+   }
+   }
+   return ret;
+}
+
GroupList* Database::getGroupCache()
{
GroupList   *ret = NULL;
diff --git a/pm.hh b/pm.hh
index 3ca6fa0..124cb19 100644
--- a/pm.hh
+++ b/pm.hh
@@ -43,6 +43,7 @@ namespace PM
bool isRegistered();
bool readGroup(Group g,const std::string gname);
bool readPackage(Package p,const std::string pname);
+   PackageList* whatProvides(const std::string pname);
GroupList* getGroupCache();
PackageList* getPackageCache();
};
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: updates in class Package * new method: getOwners() gets the list of packages that own a specified file

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=0a5c58e6d96c722b92e6981adb790a0ad5a884de

commit 0a5c58e6d96c722b92e6981adb790a0ad5a884de
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 14:44:43 2009 +0530

updates in class Package
* new method: getOwners() gets the list of packages that own a specified
file

diff --git a/pm.cc b/pm.cc
index 0c4833f..8249509 100644
--- a/pm.cc
+++ b/pm.cc
@@ -371,6 +371,19 @@ static int versionCompare(const std::string v1,const 
std::string v2)
return pacman_pkg_vercmp(v1.c_str(),v2.c_str());
}

+static bool getOwners(PackageList plist,const string filename)
+{
+   boolret = false;
+   PM_LIST *list = NULL;
+
+   if ( (list=pacman_pkg_getowners((char*)filename.c_str())) )
+   {
+   plist = PackageList(list);
+   ret = true;
+   }
+   return ret;
+}
+
Group::Group()
{
grp = NULL;
diff --git a/pm.hh b/pm.hh
index 946caf7..fda4da4 100644
--- a/pm.hh
+++ b/pm.hh
@@ -79,6 +79,7 @@ namespace PM
bool loadFromFile(Package p,const std::string file);
void free();
/* static methods */
+   static bool getOwners(PackageList plist,const 
std::string filename);
static int versionCompare(const std::string v1,const std::string v2);
};
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: Fixed definition of static methods versionCompare() and getOwners() in Package

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=171bd53e8cf701150639804916d381367c7e0098

commit 171bd53e8cf701150639804916d381367c7e0098
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 15:18:59 2009 +0530

Fixed definition of static methods versionCompare() and getOwners() in Package

diff --git a/pm.cc b/pm.cc
index 8249509..a989b5e 100644
--- a/pm.cc
+++ b/pm.cc
@@ -366,12 +366,12 @@ void Package::free()
setStatus();
}

-static int versionCompare(const std::string v1,const std::string v2)
+int Package::versionCompare(const std::string v1,const std::string v2)
{
return pacman_pkg_vercmp(v1.c_str(),v2.c_str());
}

-static bool getOwners(PackageList plist,const string filename)
+bool Package::getOwners(PackageList plist,const std::string filename)
{
boolret = false;
PM_LIST *list = NULL;
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: changes in Package::getOwners() * removed the reference argument and should return a non-freeable PackageList*

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=0fa3cb72ef4f060d310908bcbf3040db1ee6fd7b

commit 0fa3cb72ef4f060d310908bcbf3040db1ee6fd7b
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 15:57:12 2009 +0530

changes in Package::getOwners()
* removed the reference argument and should return a non-freeable PackageList*

diff --git a/pm.cc b/pm.cc
index a989b5e..6d34afa 100644
--- a/pm.cc
+++ b/pm.cc
@@ -371,15 +371,15 @@ int Package::versionCompare(const std::string v1,const 
std::string v2)
return pacman_pkg_vercmp(v1.c_str(),v2.c_str());
}

-bool Package::getOwners(PackageList plist,const std::string filename)
+PackageList* Package::getOwners(const std::string filename)
{
-   boolret = false;
-   PM_LIST *list = NULL;
+   PackageList *ret;
+   PM_LIST *list = NULL;

if ( (list=pacman_pkg_getowners((char*)filename.c_str())) )
{
-   plist = PackageList(list);
-   ret = true;
+   /* create a non-freeable list */
+   ret = new PackageList(list,false);
}
return ret;
}
diff --git a/pm.hh b/pm.hh
index fda4da4..3b90d6f 100644
--- a/pm.hh
+++ b/pm.hh
@@ -79,7 +79,7 @@ namespace PM
bool loadFromFile(Package p,const std::string file);
void free();
/* static methods */
-   static bool getOwners(PackageList plist,const 
std::string filename);
+   static PackageList* getOwners(const std::string 
filename);
static int versionCompare(const std::string v1,const std::string v2);
};
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: minor fixes * PackageList and GroupList should use base class initializer directly instead of reimplementing the same functions

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=c5f37721f70f1bc7c67fc9e0ea384aea45ad0b6c

commit c5f37721f70f1bc7c67fc9e0ea384aea45ad0b6c
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 19:37:42 2009 +0530

minor fixes
* PackageList and GroupList should use base class initializer directly
instead of reimplementing the same functions

diff --git a/pm.cc b/pm.cc
index 6d34afa..1b9c1d4 100644
--- a/pm.cc
+++ b/pm.cc
@@ -510,15 +510,9 @@ PackageList::PackageList()
freeable = false;
}

-PackageList::PackageList(PM_LIST *l)
-{
-   ( l )  ( list = l )  ( freeable = true );
-}
+PackageList::PackageList(PM_LIST *l) : List(l) { }

-PackageList::PackageList(PM_LIST *l,bool freelist)
-{
-   ( l )  ( list = l )  ( freeable = freelist );
-}
+PackageList::PackageList(PM_LIST *l,bool freelist) : List(l,freelist) { }

Package* PackageList::getData()
{
@@ -538,15 +532,9 @@ GroupList::GroupList()
freeable = false;
}

-GroupList::GroupList(PM_LIST *l)
-{
-   ( l )  ( list = l )  ( freeable = true );
-}
+GroupList::GroupList(PM_LIST *l) : List(l) { }

-GroupList::GroupList(PM_LIST *l,bool freelist)
-{
-   ( l )  ( list = l )  ( freeable = freelist );
-}
+GroupList::GroupList(PM_LIST *l,bool freelist) : List(l,freelist) { }

Group* GroupList::getData()
{
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: Added new methods to class Package * getDepends(): returns a PackageList of packages on which a package depends * getRemoves(): returns a PackageList of packages that the packag

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=9851ce47e6dcacff637bb7cdd8cb02609dd67ecf

commit 9851ce47e6dcacff637bb7cdd8cb02609dd67ecf
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 00:09:06 2009 +0530

Added new methods to class Package
* getDepends(): returns a PackageList of packages on which a package
depends
* getRemoves(): returns a PackageList of packages that the package
removes
* getReplaces(): returns a PackageList of packages that the package
replaces

diff --git a/pm.cc b/pm.cc
index 918e0a9..9cbc1b9 100644
--- a/pm.cc
+++ b/pm.cc
@@ -331,6 +331,45 @@ PackageList* Package::getProvides()
return ret;
}

+PackageList* Package::getDepends()
+{
+   PackageList *ret = NULL;
+   PM_LIST *lst = NULL;
+
+   lst = (PM_LIST*) getInfo(PM_PKG_DEPENDS);
+   if ( lst )
+   {
+   ret = new PackageList(lst);
+   }
+   return ret;
+}
+
+PackageList* Package::getRemoves()
+{
+   PackageList *ret = NULL;
+   PM_LIST *lst = NULL;
+
+   lst = (PM_LIST*) getInfo(PM_PKG_REMOVES);
+   if ( lst )
+   {
+   ret = new PackageList(lst);
+   }
+   return ret;
+}
+
+PackageList* Package::getReplaces()
+{
+   PackageList *ret = NULL;
+   PM_LIST *lst = NULL;
+
+   lst = (PM_LIST*) getInfo(PM_PKG_REPLACES);
+   if ( lst )
+   {
+   ret = new PackageList(lst);
+   }
+   return ret;
+}
+
bool Package::checkMD5Sum()
{
bool ret = true;
diff --git a/pm.hh b/pm.hh
index 36ef2ba..594b20f 100644
--- a/pm.hh
+++ b/pm.hh
@@ -74,6 +74,9 @@ namespace PM
int getCompressedSize();
int getUncompressedSize();
int getReason();
+   PackageList* getDepends();
+   PackageList* getRemoves();
+   PackageList* getReplaces();
PackageList* getProvides();
bool checkMD5Sum();
bool checkSHA1Sum();
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] cfpm: new method Package::getFiles()

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=49cf2a7fb019de51c66679b2dd83361e58bfa753

commit 49cf2a7fb019de51c66679b2dd83361e58bfa753
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 00:12:55 2009 +0530

new method Package::getFiles()

* returns a List* of files that are installed by the package

diff --git a/pm.cc b/pm.cc
index 9cbc1b9..ada0752 100644
--- a/pm.cc
+++ b/pm.cc
@@ -318,6 +318,19 @@ int Package::getReason()
return ret;
}

+List* Package::getFiles()
+{
+   List*lst = NULL;
+   PM_LIST *l = NULL;
+
+   l = (PM_LIST*) getInfo(PM_PKG_FILES);
+   if ( l )
+   {
+   lst = new List(l);
+   }
+   return lst;
+}
+
PackageList* Package::getProvides()
{
PackageList *ret = NULL;
diff --git a/pm.hh b/pm.hh
index 594b20f..e34c739 100644
--- a/pm.hh
+++ b/pm.hh
@@ -74,6 +74,7 @@ namespace PM
int getCompressedSize();
int getUncompressedSize();
int getReason();
+   List* getFiles();
PackageList* getDepends();
PackageList* getRemoves();
PackageList* getReplaces();
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] pacman-g2: document pacman_pkg_getowners()

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=84474f905ee9c47b3654fde9524668a497e23705

commit 84474f905ee9c47b3654fde9524668a497e23705
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 14:29:39 2009 +0530

document pacman_pkg_getowners()

diff --git a/lib/libpacman/pacman.c b/lib/libpacman/pacman.c
index aec34dd..088ca4b 100644
--- a/lib/libpacman/pacman.c
+++ b/lib/libpacman/pacman.c
@@ -495,6 +495,10 @@ void *pacman_pkg_getinfo(pmpkg_t *pkg, unsigned char parm)
return(_pacman_pkg_getinfo(pkg, parm));
}

+/** Get a list of packages that own the specified file
+ * @param filename name of the file
+ * @return the list of packages on success, NULL on error
+ */
pmlist_t *pacman_pkg_getowners(char *filename)
{
/* Sanity checks */
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] pacman-g2: Added a note about pacman_db_readpkg() and pacman_db_readgrp() * the return values must not be freed.

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=f2a8d01ef6de1fc6d28fcddea40515a4a561abf1

commit f2a8d01ef6de1fc6d28fcddea40515a4a561abf1
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 14:37:17 2009 +0530

Added a note about pacman_db_readpkg() and pacman_db_readgrp()
* the return values must not be freed.

diff --git a/lib/libpacman/pacman.c b/lib/libpacman/pacman.c
index 088ca4b..913b72e 100644
--- a/lib/libpacman/pacman.c
+++ b/lib/libpacman/pacman.c
@@ -420,7 +420,8 @@ pmpkg_t *pacman_db_readpkg(pmdb_t *db, const char *name)

/** Get the package cache of a package database
* @param db pointer to the package database to get the package from
- * @return the list of packages on success, NULL on error
+ * @return the list of packages on success, NULL on error. Returned list
+ * is an internally cached list and shouldn't be freed.
*/
pmlist_t *pacman_db_getpkgcache(pmdb_t *db)
{
@@ -463,7 +464,8 @@ pmgrp_t *pacman_db_readgrp(pmdb_t *db, char *name)

/** Get the group cache of a package database
* @param db pointer to the package database to get the group from
- * @return the list of groups on success, NULL on error
+ * @return the list of groups on success, NULL on error. Returned list
+ * is an internally cached list and shouldn't be freed.
*/
pmlist_t *pacman_db_getgrpcache(pmdb_t *db)
{
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] pacman-g2: pacman_pkg_getowners(): added a note about not freeing return value

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=b20d936efd25e9ea888c13b497b5590671e49bb2

commit b20d936efd25e9ea888c13b497b5590671e49bb2
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 15:55:30 2009 +0530

pacman_pkg_getowners(): added a note about not freeing return value

diff --git a/lib/libpacman/pacman.c b/lib/libpacman/pacman.c
index 913b72e..ed615a8 100644
--- a/lib/libpacman/pacman.c
+++ b/lib/libpacman/pacman.c
@@ -499,7 +499,8 @@ void *pacman_pkg_getinfo(pmpkg_t *pkg, unsigned char parm)

/** Get a list of packages that own the specified file
* @param filename name of the file
- * @return the list of packages on success, NULL on error
+ * @return the list of packages on success, NULL on error. The returned
+ * list is an internally cached list and shouldn't be freed.
*/
pmlist_t *pacman_pkg_getowners(char *filename)
{
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] pacman-g2: spellfix in description of --regex switch

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=7c71336b24bed1da0c4e71f0403d66607747350a

commit 7c71336b24bed1da0c4e71f0403d66607747350a
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 12:42:31 2009 +0530

spellfix in description of --regex switch

diff --git a/src/pacman-g2/pacman-g2.c b/src/pacman-g2/pacman-g2.c
index 5096e50..cf8642b 100644
--- a/src/pacman-g2/pacman-g2.c
+++ b/src/pacman-g2/pacman-g2.c
@@ -158,7 +158,7 @@ static void usage(int op, char *myname)
printf(_(  -y, --refresh   download fresh package databases from the 
server\n));
printf(_(  --ignore pkg  ignore a package upgrade (can be used more than 
once)\n));
printf(_(  --nointegrity   don't check the integrity of the packages using 
sha1\n));
-   printf(_(  --regex threat targets as 
regexs if no package found\n));
+   printf(_(  --regex treat targets as regexs 
if no package found\n));
}
printf(_(  --config path set an alternate configuration file\n));
printf(_(  --noconfirm do not ask for anything confirmation\n));
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] pacman-g2: spellfixes in pacman-g2 manpage

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=c9c9df095da04036b1c7608e91af21180d22e66c

commit c9c9df095da04036b1c7608e91af21180d22e66c
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 13:01:37 2009 +0530

spellfixes in pacman-g2 manpage

diff --git a/doc/pacman-g2.txt b/doc/pacman-g2.txt
index 8fb9c76..a97f18b 100644
--- a/doc/pacman-g2.txt
+++ b/doc/pacman-g2.txt
@@ -120,7 +120,7 @@ pacman-g2 packages are in a bzipped tar format.
Skip the SHA1 integrity check for the downloaded packages.

--regex::
-   Threat the target names as regular expressions if no target found.
+   Treat the target names as regular expressions if no target found.

Example:

@@ -203,7 +203,7 @@ pacman-g2 packages are in a bzipped tar format.
-s, --recursive::
For each target specified, remove it and all its dependencies, provided that
(A) they are not required by other packages; and (B) they were not explicitly
-   installed by the user. This option is analagous to a backwards --sync
+   installed by the user. This option is analogous to a backwards --sync
operation.

== QUERY OPTIONS
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] gfpm: Added support for command-line arguments using getopt

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=f12e682d0b4c0c715ea93ad0164de1e534439cbe

commit f12e682d0b4c0c715ea93ad0164de1e534439cbe
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 20:17:46 2009 +0530

Added support for command-line arguments using getopt

diff --git a/src/gfpm.c b/src/gfpm.c
index e14e78d..77a0afb 100644
--- a/src/gfpm.c
+++ b/src/gfpm.c
@@ -21,6 +21,7 @@
#define _GNU_SOURCE
#include locale.h
#include gtk/gtk.h
+#include getopt.h

#ifdef HAVE_CONFIG_H
#include config.h
@@ -39,18 +40,49 @@ GladeXML *xml = NULL;
int
main (int argc, char *argv[])
{
-   gchar *path;
+   gchar   *path;
+   int opt;
+   int longopt_index;

+   setlocale (LC_ALL, );
+   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+   bind_textdomain_codeset (GETTEXT_PACKAGE, UTF-8);
+   textdomain (GETTEXT_PACKAGE);
+
+   /* parse command-line arguments */
+   static struct option long_options[] = {
+   {help, 0, NULL, 'h'},
+   {version, 0, NULL, 'v'},
+   {NULL, 0, NULL, 0}
+   };
+
+   while ((opt = getopt_long(argc, argv, hv, long_options, 
longopt_index))  0)
+   {
+   switch (opt)
+   {
+   char *vstr = NULL;
+   case 'v':
+   vstr = g_strdup_printf (%s version %s (%s)\n,
+   
g_ascii_strdown(PACKAGE,strlen(PACKAGE)),
+   VERSION,
+   GFPM_RELEASE_NAME);
+   fprintf (stdout, vstr);
+   g_free (vstr);
+   return 0;
+   case 'h':
+   default:
+   fprintf(stderr, usage: %s [options]\n, 
basename(argv[0]));
+   fprintf(stderr,   -h, --help   
display this help\n);
+   fprintf(stderr,   -v, --version
version information\n);
+   return 1;
+   }
+   }
+
/* invite trouble */
g_thread_init (NULL);

/* initialize internal gdk threads mutex */
gdk_threads_init ();
-
-   setlocale (LC_ALL, );
-   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
-   bind_textdomain_codeset (GETTEXT_PACKAGE, UTF-8);
-   textdomain (GETTEXT_PACKAGE);

gtk_init (argc, argv);
gdk_threads_enter ();
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] gfpm: major code reorganization in gfpm-interface * divide interface initialization code into separate functions * gfpm_interface_init() can now handle commandline arguments * gfpm no

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=2b321d0f50dd93a93be5cf36c5bf3aca8ebd

commit 2b321d0f50dd93a93be5cf36c5bf3aca8ebd
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 21:39:57 2009 +0530

major code reorganization in gfpm-interface
* divide interface initialization code into separate functions
* gfpm_interface_init() can now handle commandline arguments
* gfpm now supports -A argument to install packages from files

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index 415040d..730e147 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -84,6 +84,7 @@ enum gfpm_cols {
COL_PKG_SIZE_UNCOMPRESSED
};

+static GtkWidget *gfpm_splash = NULL;
static GtkWidget *gfpm_statusbar = NULL;
static GtkWidget *gfpm_groups_tvw = NULL;
static GtkWidget *gfpm_info_tvw = NULL;
@@ -302,48 +303,14 @@ gfpm_setup_pkgs_tvw (void)
return;
}

-void
-gfpm_interface_init (void)
+static void
+_gfpm_groups_tvw_init (void)
{
-   GtkWidget   *gfpm_splash;
-   GtkListStore*store;
-   GtkCellRenderer *renderer;
-   GtkTreeSelection*selection;
-   gchar   *title = NULL;
-
-   gfpm_mw = gfpm_get_widget (mainwindow);
-   gfpm_splash = gfpm_get_widget (splash_window);
-   gfpm_statusbar  = gfpm_get_widget (statusbar);
-
-   /* set application icon */
-   GdkPixbuf *icon = gfpm_get_icon (gfpm, 32);
-   gtk_window_set_icon (GTK_WINDOW(gfpm_mw), icon);
-   g_object_unref (icon);
-
-   gtk_widget_show (gfpm_splash);
-   while (gtk_events_pending())
-   gtk_main_iteration ();
+   GtkListStore*store = NULL;
+   GtkCellRenderer *renderer = NULL;
+   GtkTreeSelection*selection = NULL;

-   sleep (1);
gfpm_groups_tvw = gfpm_get_widget (grouptreeview);
-   gfpm_pkgs_tvw   = gfpm_get_widget (pkgstreeview);
-   gfpm_info_tvw   = gfpm_get_widget (infotreeview);
-   gfpm_files_txtvw = gfpm_get_widget (filestextview);
-   gfpm_clog_txtvw = gfpm_get_widget (changelogtextview);
-   gfpm_clrold_opt = gfpm_get_widget (rem_old_opt);
-   gfpm_clrall_opt = gfpm_get_widget (rem_all_opt);
-   gfpm_inst_from_file_dlg = gfpm_get_widget (inst_from_file_dlg);
-   gfpm_inst_filechooser = gfpm_get_widget (gfpm_inst_filechooser);
-   gfpm_inst_depcheck = gfpm_get_widget (depcheck);
-   gfpm_inst_upgcheck = gfpm_get_widget (upgcheck);
-   gfpm_inst_forcheck = gfpm_get_widget (forcheck);
-   gfpm_apply_inst_depcheck = gfpm_get_widget (applyinstdepcheck);
-   gfpm_apply_rem_depcheck = gfpm_get_widget (applyremdepcheck);
-   gfpm_apply_inst_dwocheck = gfpm_get_widget (applyinstdwcheck);
-   gfpm_search_combo = gfpm_get_widget (search_repocombo);
-   gfpm_repos_combo = gfpm_get_widget (combobox_repos);
-
-   /* Setup groups treeview */
store = gtk_list_store_new (1, G_TYPE_STRING);
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW(gfpm_groups_tvw), 
-1, Groups, renderer, text, 0, NULL);
@@ -351,17 +318,32 @@ gfpm_interface_init (void)
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(gfpm_groups_tvw));
g_signal_connect (selection, changed, 
G_CALLBACK(cb_gfpm_groups_tvw_selected), NULL);

-   /* Setup pkgs treeview */
-   gfpm_setup_pkgs_tvw ();
+   return;
+}

+static void
+_gfpm_packages_tvw_init (void)
+{
+   GtkTreeSelection *selection = NULL;
+
+   gfpm_pkgs_tvw   = gfpm_get_widget (pkgstreeview);
+   gfpm_setup_pkgs_tvw ();
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(gfpm_pkgs_tvw));
g_signal_connect(selection, changed, G_CALLBACK(cb_gfpm_pkgs_tvw_selected), 
NULL);
g_signal_connect (gfpm_pkgs_tvw, button-release-event, 
G_CALLBACK(cb_gfpm_pkgs_tvw_right_click), NULL);
g_signal_connect (gfpm_groups_tvw, button-release-event, 
G_CALLBACK(cb_gfpm_groups_tvw_right_click), NULL);

-   /* Setup info treeview */
-   store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING);
+   return;
+}

+static void
+_gfpm_info_tvw_init (void)
+{
+   GtkListStore*store = NULL;
+   GtkCellRenderer *renderer = NULL;
+
+   gfpm_info_tvw   = gfpm_get_widget (infotreeview);
+   store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING);
renderer = gtk_cell_renderer_text_new();
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW(gfpm_info_tvw), -1, 
Info, renderer, markup, 0, NULL);

@@ -371,81 +353,228 @@ gfpm_interface_init (void)
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW(gfpm_info_tvw), -1, 
Value, renderer, text, 1, NULL);
gtk_tree_view_set_model (GTK_TREE_VIEW(gfpm_info_tvw), GTK_TREE_MODEL(store));
g_object_set (gfpm_info_tvw, hover-selection, TRUE, NULL);
+}
+
+static void
+_gfpm_inst_from_file_dlg_init (void)
+{
+   gfpm_inst_from_file_dlg = gfpm_get_widget (inst_from_file_dlg);
+   

[Frugalware-git] gfpm: Bugfix in cb_gfpm_install_file_clicked() * When adding a package with pacman_trans_addtarget(), it should check if the function caused any error by checking pm_errno and only th

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=1081b30fb3f3b6c6c6094ed0743933552c00a10c

commit 1081b30fb3f3b6c6c6094ed0743933552c00a10c
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 22:07:38 2009 +0530

Bugfix in cb_gfpm_install_file_clicked()
* When adding a package with pacman_trans_addtarget(), it should check
if the function caused any error by checking pm_errno and only then
proceed with pacman_trans_prepare(). Otherwise, a bogus error
message will be displayed.

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index 730e147..978f72e 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -2306,7 +2306,16 @@ cb_gfpm_install_file_clicked (GtkButton *button, 
gpointer data)
}
gfpm_progress_show (TRUE);
/* add the target */
-   pacman_trans_addtarget ((char*)fpm);
+   if (pacman_trans_addtarget((char*)fpm)==-1)
+   {
+   gfpm_progress_show (FALSE);
+   gchar *p_error_utf8 = gfpm_convert_to_utf8 
(pacman_strerror(pm_errno));
+   str = g_strdup_printf (_(Failed to add target (%s)\n), 
p_error_utf8);
+   gfpm_error (_(Error), str);
+   g_free (str);
+   g_free (p_error_utf8);
+   goto cleanup;
+   }
if (gfpm_trans_prepare(trans_data) == -1)
{
gfpm_progress_show (FALSE);
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] gfpm: gfpm_interface_init(): local database should always be initialized irrsepective of the arguments

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=2b5bad38b646517bf669ed6595b9ea284d59673d

commit 2b5bad38b646517bf669ed6595b9ea284d59673d
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 22:11:47 2009 +0530

gfpm_interface_init(): local database should always be initialized irrsepective 
of the arguments

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index 978f72e..9f0a84e 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -509,12 +509,6 @@ gfpm_interface_init (ARGS arg, void* argdata)
/* init repomanager only if gfpm is run as root user */
gfpm_repomanager_init ();
}
-
-   /* initialize modules */
-   if (gfpm_db_init())
-   {
-   gfpm_error (_(Error), _(Failed to initialize local 
package database.));
-   }

/* optimize database dialog */
gfpm_optimize_db_dlg_init ();
@@ -531,6 +525,11 @@ gfpm_interface_init (ARGS arg, void* argdata)
_gfpm_misc_widgets_init ();
}

+   /* initialize modules */
+   if (gfpm_db_init())
+   {
+   gfpm_error (_(Error), _(Failed to initialize local package 
database.));
+   }
gfpm_messages_init ();
gfpm_progress_init ();
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] gfpm: gfpm-inteface: gfpm should quit after performing an operation specified by an argument

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=08bbfd997a45f754383f15b672ec11a08922cdf6

commit 08bbfd997a45f754383f15b672ec11a08922cdf6
Author: Priyank priy...@frugalware.org
Date:   Mon Jun 8 22:25:58 2009 +0530

gfpm-inteface: gfpm should quit after performing an operation specified by an 
argument

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index 9f0a84e..7af1255 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -57,6 +57,8 @@ extern GfpmList *remove_list;
extern char *repo;
extern gchar*quickpane_pkg;

+static garg = 0;
+
/* current group the user is browsing */
/* used for refreshing the views after a package update */
gchar *current_group = NULL;
@@ -548,6 +550,7 @@ gfpm_interface_init (ARGS arg, void* argdata)
{
case ARG_ADD:
{
+   garg = ARG_ADD;
/* Setup install from file dialog */
_gfpm_inst_from_file_dlg_init ();
if (geteuid()!=0)
@@ -2340,7 +2343,10 @@ cb_gfpm_install_file_clicked (GtkButton *button, 
gpointer data)
gtk_widget_hide (gfpm_inst_from_file_dlg);
if (gfpm_progress_is_autoclose_checkbtn_set())
gfpm_progress_show (FALSE);
-
+   if (garg == ARG_ADD)
+   {
+   gtk_main_quit();
+   }
return;
}
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] gfpm: gfpm.glade: Added a treeview that shows information about a package file in 'install from file' dialog

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=632de9f1331e0c1709809392994fce7b59ce7159

commit 632de9f1331e0c1709809392994fce7b59ce7159
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 01:04:58 2009 +0530

gfpm.glade: Added a treeview that shows information about a package file in 
'install from file' dialog

diff --git a/data/gfpm.glade b/data/gfpm.glade
index 1b462be..6c5d92d 100644
--- a/data/gfpm.glade
+++ b/data/gfpm.glade
@@ -1341,6 +1341,62 @@
/packing
/child
child
+  widget class=GtkFrame id=gfpm_inst_from_file_dlg_info_frame
+property name=visibleTrue/property
+property name=border_width4/property
+property name=label_xalign0/property
+property name=shadow_typenone/property
+child
+  widget class=GtkAlignment id=alignment1
+property name=visibleTrue/property
+property name=top_padding6/property
+property name=bottom_padding6/property
+property name=left_padding6/property
+property name=right_padding6/property
+child
+  widget class=GtkVBox id=vbox1
+property name=visibleTrue/property
+property name=orientationvertical/property
+child
+  widget class=GtkScrolledWindow id=scrolledwindow1
+property name=visibleTrue/property
+property name=can_focusTrue/property
+property name=hscrollbar_policyautomatic/property
+property name=vscrollbar_policyautomatic/property
+child
+  widget class=GtkTreeView 
id=gfpm_inst_from_file_dlg_info_tvw
+property name=visibleTrue/property
+property name=can_focusTrue/property
+property name=headers_visibleFalse/property
+property name=rules_hintTrue/property
+  /widget
+/child
+  /widget
+  packing
+property name=position0/property
+  /packing
+/child
+  /widget
+/child
+  /widget
+/child
+child
+  widget class=GtkLabel id=label1
+property name=visibleTrue/property
+property name=label 
translatable=yeslt;bgt;Informationlt;/bgt;/property
+property name=use_markupTrue/property
+  /widget
+  packing
+property name=typelabel_item/property
+  /packing
+/child
+  /widget
+  packing
+property name=expandFalse/property
+property name=position2/property
+  /packing
+/child
+child
widget class=GtkFrame id=frame7
property name=visibleTrue/property
property name=border_width4/property
@@ -1355,6 +1411,7 @@
child
widget class=GtkVBox id=vbox25
property name=visibleTrue/property
+property name=orientationvertical/property
child
widget class=GtkCheckButton id=upgcheck
property name=label translatable=yesUpgrade existing/property
@@ -1414,7 +1471,7 @@
/widget
packing
property name=expandFalse/property
-property name=position2/property
+property name=position3/property
/packing
/child
child internal-child=action_area
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] gfpm: updates in gfpm-interface

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=3c51fe77c005369a071fe80b1fb91fb77e9f0094

commit 3c51fe77c005369a071fe80b1fb91fb77e9f0094
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 01:07:00 2009 +0530

updates in gfpm-interface

* gfpm_load_info_tvw() is generic for both packages (sync/local) and
package files
* the 'install from file' dialog now displays information about a
package file and it's install status

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index 7af1255..f21ceb8 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -99,6 +99,8 @@ static GtkWidget *gfpm_inst_filechooser;
static GtkWidget *gfpm_inst_upgcheck;
static GtkWidget *gfpm_inst_depcheck;
static GtkWidget *gfpm_inst_forcheck;
+static GtkWidget *gfpm_inst_infoframe;
+static GtkWidget *gfpm_inst_infotvw;
static GtkWidget *gfpm_apply_inst_depcheck;
static GtkWidget *gfpm_apply_inst_dwocheck;
static GtkWidget *gfpm_apply_rem_depcheck;
@@ -118,6 +120,7 @@ static void cb_gfpm_search_buttonpress (GtkButton *button, 
gpointer data);
static void cb_gfpm_remove_group_clicked (GtkButton *button, gpointer data);
static void cb_gfpm_pkg_selection_toggled (GtkCellRendererToggle *toggle, gchar 
*path_str, gpointer data);
static void cb_gfpm_install_file_clicked (GtkButton *button, gpointer data);
+static void cb_gfpm_install_file_selection_changed (GtkFileChooser *chooser, 
gpointer data);
static void cb_gfpm_clear_cache_apply_clicked (GtkButton *button, gpointer 
data);
static void cb_gfpm_refresh_button_clicked (GtkButton *button, gpointer data);
static void cb_gfpm_mark_for_install (GtkButton *button, gpointer data);
@@ -365,11 +368,36 @@ _gfpm_inst_from_file_dlg_init (void)
gfpm_inst_depcheck = gfpm_get_widget (depcheck);
gfpm_inst_upgcheck = gfpm_get_widget (upgcheck);
gfpm_inst_forcheck = gfpm_get_widget (forcheck);
+   gfpm_inst_infoframe = gfpm_get_widget 
(gfpm_inst_from_file_dlg_info_frame);
+   gfpm_inst_infotvw = gfpm_get_widget 
(gfpm_inst_from_file_dlg_info_tvw);
+
+   /* setup the package information treeview */
+   GtkListStore*store = NULL;
+   GtkCellRenderer *renderer = NULL;
+
+   store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING);
+   renderer = gtk_cell_renderer_text_new();
+   gtk_tree_view_insert_column_with_attributes 
(GTK_TREE_VIEW(gfpm_inst_infotvw), -1, Info, renderer, markup, 0, NULL);
+   renderer = gtk_cell_renderer_text_new ();
+   g_object_set (renderer, wrap-width, 300, NULL);
+   g_object_set (renderer, wrap-mode, PANGO_WRAP_WORD_CHAR, NULL);
+   gtk_tree_view_insert_column_with_attributes 
(GTK_TREE_VIEW(gfpm_inst_infotvw), -1, Value, renderer, text, 1, NULL);
+   gtk_tree_view_set_model (GTK_TREE_VIEW(gfpm_inst_infotvw), 
GTK_TREE_MODEL(store));
+   g_object_set (gfpm_inst_infotvw, hover-selection, TRUE, NULL);
+
+   /* hide the info frame by default
+* we'll show it when the user loads a package */
+   gtk_widget_hide (gfpm_inst_infoframe);
+
/* signal */
g_signal_connect (G_OBJECT(glade_xml_get_widget(xml, inst_from_file_install)),
clicked,
G_CALLBACK(cb_gfpm_install_file_clicked),
NULL);
+   g_signal_connect (G_OBJECT(gfpm_inst_filechooser),
+   selection-changed,
+   
G_CALLBACK(cb_gfpm_install_file_selection_changed),
+   NULL);

return;
}
@@ -523,8 +551,6 @@ gfpm_interface_init (ARGS arg, void* argdata)
gfpm_logviewer_init ();
/* preferences subsystem */
gfpm_prefs_init ();
-   /* miscellanous widgets */
-   _gfpm_misc_widgets_init ();
}

/* initialize modules */
@@ -537,6 +563,9 @@ gfpm_interface_init (ARGS arg, void* argdata)

if (!arg)
{
+   /* miscellanous widgets */
+   _gfpm_misc_widgets_init ();
+
/* init search mutex */
search_mutex = g_mutex_new ();
gtk_widget_hide (gfpm_splash);
@@ -976,7 +1005,7 @@ gfpm_load_pkgs_tvw (const char *group_name)
}

void
-gfpm_load_info_tvw (const char *pkg_name)
+gfpm_load_info_tvw (const char *pkg_name, GtkTreeView *tvw)
{
GtkTreeModel*model;
GtkTreeIter iter;
@@ -988,31 +1017,49 @@ gfpm_load_info_tvw (const char *pkg_name)
GString *str;
float   size;
char*st, *tmp = NULL;
+   gbooleanpkg_is_file = FALSE;

if (!pkg_name)
return;
-   if (!strcmp(repo,local))
-   pm_pkg = pacman_db_readpkg (local_db, (char*)pkg_name);
-   else
+
+   /* check if it's a package file because we don't need any repo checking 
for a fpm */
+   if (pkg_name[0] != '/')
{
-   pm_pkg = pacman_db_readpkg (sync_db, (char*)pkg_name);
-   r = 1;
-   }
+   if (!strcmp(repo,local))
+   pm_pkg = pacman_db_readpkg (local_db, (char*)pkg_name);
+   else
+   {
+   pm_pkg = pacman_db_readpkg (sync_db, 

[Frugalware-git] gfpm: minor bugfix introduced by the previous commit

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=fd0069a0ac5400e51b6bb1478b7bd0ae32663f18

commit fd0069a0ac5400e51b6bb1478b7bd0ae32663f18
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 01:11:40 2009 +0530

minor bugfix introduced by the previous commit

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index f21ceb8..ccf98c6 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -539,7 +539,8 @@ gfpm_interface_init (ARGS arg, void* argdata)
/* init repomanager only if gfpm is run as root user */
gfpm_repomanager_init ();
}
-
+   /* miscellanous widgets */
+   _gfpm_misc_widgets_init ();
/* optimize database dialog */
gfpm_optimize_db_dlg_init ();
/* quick pane */
@@ -553,19 +554,17 @@ gfpm_interface_init (ARGS arg, void* argdata)
gfpm_prefs_init ();
}

+   gfpm_messages_init ();
+   gfpm_progress_init ();
+
/* initialize modules */
if (gfpm_db_init())
{
gfpm_error (_(Error), _(Failed to initialize local package database.));
}
-   gfpm_messages_init ();
-   gfpm_progress_init ();
-
+
if (!arg)
{
-   /* miscellanous widgets */
-   _gfpm_misc_widgets_init ();
-
/* init search mutex */
search_mutex = g_mutex_new ();
gtk_widget_hide (gfpm_splash);
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] gfpm: gfpm_load_info_tvw(): Fix a memleak

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=8a6ec83a630df6affe9b8a5017d8f907531b9544

commit 8a6ec83a630df6affe9b8a5017d8f907531b9544
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 11:41:10 2009 +0530

gfpm_load_info_tvw(): Fix a memleak

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index ccf98c6..f1b6f20 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -1321,6 +1321,15 @@ gfpm_load_info_tvw (const char *pkg_name, GtkTreeView 
*tvw)
}
g_free (st);
}
+
+   if (pkg_is_file  pm_pkg)
+   {
+   pacman_pkg_free (pm_pkg);
+   }
+   else if (pm_lpkg)
+   {
+   pacman_pkg_free (pm_lpkg);
+   }

return;
}
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] gfpm: Fixes in -A argument handling * gfpm should quit immediately when user clicks the close button (when gfpm is run with -A argument)

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=4be49e32ab3578cb75b0e33548930f350cc23c73

commit 4be49e32ab3578cb75b0e33548930f350cc23c73
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 12:01:16 2009 +0530

Fixes in -A argument handling
* gfpm should quit immediately when user clicks the close button (when
gfpm is run with -A argument)

diff --git a/data/gfpm.glade b/data/gfpm.glade
index 6c5d92d..14dbe21 100644
--- a/data/gfpm.glade
+++ b/data/gfpm.glade
@@ -1397,7 +1397,7 @@
/packing
/child
child
-  widget class=GtkFrame id=frame7
+  widget class=GtkFrame id=gfpm_inst_from_file_dlg_opt_frame
property name=visibleTrue/property
property name=border_width4/property
property name=label_xalign0/property
@@ -1529,7 +1529,6 @@
property name=receives_defaultTrue/property
property name=eventsGDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK 
| GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK/property
property name=use_stockTrue/property
-signal name=clicked handler=gtk_widget_hide 
object=inst_from_file_dlg/
/widget
packing
property name=expandFalse/property
diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index f1b6f20..fc24d7e 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -57,7 +57,8 @@ extern GfpmList *remove_list;
extern char *repo;
extern gchar*quickpane_pkg;

-static garg = 0;
+/* current argument */
+static guint garg = 0;

/* current group the user is browsing */
/* used for refreshing the views after a package update */
@@ -100,6 +101,7 @@ static GtkWidget *gfpm_inst_upgcheck;
static GtkWidget *gfpm_inst_depcheck;
static GtkWidget *gfpm_inst_forcheck;
static GtkWidget *gfpm_inst_infoframe;
+static GtkWidget *gfpm_inst_optframe;
static GtkWidget *gfpm_inst_infotvw;
static GtkWidget *gfpm_apply_inst_depcheck;
static GtkWidget *gfpm_apply_inst_dwocheck;
@@ -120,6 +122,7 @@ static void cb_gfpm_search_buttonpress (GtkButton *button, 
gpointer data);
static void cb_gfpm_remove_group_clicked (GtkButton *button, gpointer data);
static void cb_gfpm_pkg_selection_toggled (GtkCellRendererToggle *toggle, gchar 
*path_str, gpointer data);
static void cb_gfpm_install_file_clicked (GtkButton *button, gpointer data);
+static void cb_gfpm_install_file_close_clicked (GtkButton *button, gpointer 
data);
static void cb_gfpm_install_file_selection_changed (GtkFileChooser *chooser, 
gpointer data);
static void cb_gfpm_clear_cache_apply_clicked (GtkButton *button, gpointer 
data);
static void cb_gfpm_refresh_button_clicked (GtkButton *button, gpointer data);
@@ -369,6 +372,7 @@ _gfpm_inst_from_file_dlg_init (void)
gfpm_inst_upgcheck = gfpm_get_widget (upgcheck);
gfpm_inst_forcheck = gfpm_get_widget (forcheck);
gfpm_inst_infoframe = gfpm_get_widget (gfpm_inst_from_file_dlg_info_frame);
+   gfpm_inst_optframe = gfpm_get_widget 
(gfpm_inst_from_file_dlg_opt_frame);
gfpm_inst_infotvw = gfpm_get_widget (gfpm_inst_from_file_dlg_info_tvw);

/* setup the package information treeview */
@@ -398,6 +402,10 @@ _gfpm_inst_from_file_dlg_init (void)
selection-changed,
G_CALLBACK(cb_gfpm_install_file_selection_changed),
NULL);
+   g_signal_connect (G_OBJECT(glade_xml_get_widget(xml, 
inst_from_file_close)),
+   clicked,
+   
G_CALLBACK(cb_gfpm_install_file_close_clicked),
+   NULL);

return;
}
@@ -585,20 +593,19 @@ gfpm_interface_init (ARGS arg, void* argdata)
{
gfpm_error (_(Insufficient privileges),
_(You need to be root in order to install packages));
+   gtk_widget_set_sensitive 
(glade_xml_get_widget(xml,inst_from_file_install), FALSE);
+   gtk_widget_hide (gfpm_inst_optframe);
+   }
+   g_print (argdata: %s\n, (char*)argdata);
+   if 
(gtk_file_chooser_select_filename((GtkFileChooser*)gfpm_inst_filechooser,(char*)argdata))
+   {
+   gtk_widget_show 
(gfpm_inst_from_file_dlg);
}
else
{
-   g_print (argdata: %s\n, 
(char*)argdata);
-   if 
(gtk_file_chooser_select_filename((GtkFileChooser*)gfpm_inst_filechooser,(char*)argdata))
-   {
-   gtk_widget_show 
(gfpm_inst_from_file_dlg);
-   }
-   else
-   {
-   /* handle error */
-   gfpm_error (_(Error),
-   _(Unknown 
error));
-   }
+   /* handle error */
+   

[Frugalware-git] gfpm: update wejpconfig to version 061102

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=a0baf106fd3c381756d6f803e6ae40864af7656c

commit a0baf106fd3c381756d6f803e6ae40864af7656c
Author: Priyank priy...@frugalware.org
Date:   Tue Jun 9 13:33:16 2009 +0530

update wejpconfig to version 061102

diff --git a/src/wejpconfig.c b/src/wejpconfig.c
index d81a118..35536e0 100644
--- a/src/wejpconfig.c
+++ b/src/wejpconfig.c
@@ -2,8 +2,9 @@
* Wejp's Config File Parser
*
* File: wejpconfig.c
+ * Version: 061102
*
- * Copyright (c) 2003-2004 Johannes Heimansberg
+ * Copyright (c) 2003-2006 Johannes Heimansberg
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -19,7 +20,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

-#define VERSION 20051026
+#define VERSION 20061102
#include stdio.h
#include stdlib.h
#include string.h
@@ -127,11 +128,17 @@ int cfg_read_config_file(ConfigFile *cf, char *filename)
{
ch = fgetc(file);
/* Skip blanks... */
-   if (ch == ' ' || ch == '\t')
-   while (ch == ' ' || ch == '\t') ch = 
fgetc(file);
+   if (ch == ' ' || ch == '\t' || ch == '\r' || ch == '\n')
+   while (ch == ' ' || ch == '\t' || ch == '\r' || 
ch == '\n') ch = fgetc(file);
/* ...and comments (#)... */
-   if (ch == '#')
-   while (ch != '\n'  ch != '\r') ch = 
fgetc(file);
+   do {
+   if (ch == '#') {
+   while (ch != '\n'  ch != '\r') ch = 
fgetc(file);
+   ch = fgetc(file);
+   }
+   if (ch == ' ' || ch == '\t' || ch == '\n' || ch 
== '\r')
+   ch = fgetc(file);
+   } while (ch == '#' || ch == ' ' || ch == '\t' || ch == 
'\n' || ch == '\r');

bufcnt = 0;
/* Read key name: */
@@ -183,14 +190,13 @@ int cfg_write_config_file(ConfigFile *cf, char *filename)
{
FILE *file;
int  i = 0, result = 0;
-   char buffer[128];
-
+   char buffer[256];
file = fopen(filename, w);
if (file != NULL)
{
while (i  cf-lastkey)
{
-   sprintf(buffer, %s=%s\n, cf-key[i], cf-value[i]);
+   snprintf(buffer, 255, %s=%s\n, cf-key[i], 
cf-value[i]);
fwrite(buffer, strlen(buffer) * sizeof(char), 1, file);
i++;
}
diff --git a/src/wejpconfig.h b/src/wejpconfig.h
index 403731c..51a2826 100644
--- a/src/wejpconfig.h
+++ b/src/wejpconfig.h
@@ -2,8 +2,9 @@
* Wejp's Config File Parser
*
* File: wejpconfig.h
+ * Version: 061102
*
- * Copyright (c) 2003-2004 Johannes Heimansberg
+ * Copyright (c) 2003-2006 Johannes Heimansberg
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -19,8 +20,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

-#ifndef _CONFIG_H
-#define _CONFIG_H
+#ifndef _WEJPCONFIG_H
+#define _WEJPCONFIG_H
#ifndef TRUE
#define TRUE 1
#define FALSE 0
@@ -35,12 +36,12 @@ typedef struct
} ConfigFile;
#endif

-void cfg_init_config_file_struct(ConfigFile *cf);
-int  cfg_add_key(ConfigFile *cf, char *key, char *value);
-void cfg_free_config_file_struct(ConfigFile *cf);
-int  cfg_read_config_file(ConfigFile *cf, char *filename);
-int  cfg_write_config_file(ConfigFile *cf, char *filename);
+void  cfg_init_config_file_struct(ConfigFile *cf);
+int   cfg_add_key(ConfigFile *cf, char *key, char *value);
+void  cfg_free_config_file_struct(ConfigFile *cf);
+int   cfg_read_config_file(ConfigFile *cf, char *filename);
+int   cfg_write_config_file(ConfigFile *cf, char *filename);
char *cfg_get_key_value(ConfigFile cf, char *key);
-int  cfg_check_config_file(char *filename);
+int   cfg_check_config_file(char *filename);
char *cfg_get_path_to_config_file(char *filename);
-int  cfg_is_key_available(ConfigFile cf, char *key);
+int   cfg_is_key_available(ConfigFile cf, char *key);
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gupnp-ui-0.1.1-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=a52771eca6ece4c4d49dd859cad1318864eb0885

commit a52771eca6ece4c4d49dd859cad1318864eb0885
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 08:09:11 2009 +0200

gupnp-ui-0.1.1-2-i686
*rebuild with new xorg

diff --git a/source/xlib-extra/gupnp-ui/FrugalBuild 
b/source/xlib-extra/gupnp-ui/FrugalBuild
index 22f20cd..f055c5c 100644
--- a/source/xlib-extra/gupnp-ui/FrugalBuild
+++ b/source/xlib-extra/gupnp-ui/FrugalBuild
@@ -3,9 +3,9 @@

pkgname=gupnp-ui
pkgver=0.1.1
-pkgrel=1
+pkgrel=2
pkgdesc=GUPnP-UI is a collection of GTK+  widgets on top of GUPnP.
-depends=('gupnp')
+depends=('gupnp' 'libxcb=1.3-1')
url=http://www.gupnp.org;
source=($url/sources/$pkgname/$pkgname-$pkgver.tar.gz)
up2date=Flasttar $url/sources/$pkgname
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gconf-editor-2.24.1-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=dcfed981849a9da75f48b8592e53680d86f68342

commit dcfed981849a9da75f48b8592e53680d86f68342
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 08:18:56 2009 +0200

gconf-editor-2.24.1-2-i686
*rebuild with new xorg

diff --git a/source/gnome/gconf-editor/FrugalBuild 
b/source/gnome/gconf-editor/FrugalBuild
index c6c6f1a..6ddf6ff 100644
--- a/source/gnome/gconf-editor/FrugalBuild
+++ b/source/gnome/gconf-editor/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=gconf-editor
pkgver=2.24.1
-pkgrel=1
+pkgrel=2
pkgdesc=An editor for the GConf configuration system
url=http://www.gnome.org/;
-depends=('libgnomeui=2.24.0' 'rarian')
+depends=('libgnomeui=2.24.1-2' 'rarian')
makedepends=('intltool' 'gnome-doc-utils=0.14.0' 'perl-xml-parser')
groups=('gnome' 'gnome-minimal')
archs=('i686' 'x86_64' 'ppc')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] frugalware-current: libexif-gtk-0.3.5-4-i686 *added fix for build with gtk+2=2.14

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=838004910128e8f86908d132a9c8972a535ac995

commit 838004910128e8f86908d132a9c8972a535ac995
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 15:46:03 2009 +0200

libexif-gtk-0.3.5-4-i686
*added fix for build with gtk+2=2.14

diff --git a/source/gnome/libexif-gtk/FrugalBuild 
b/source/gnome/libexif-gtk/FrugalBuild
index d7ca452..321b369 100644
--- a/source/gnome/libexif-gtk/FrugalBuild
+++ b/source/gnome/libexif-gtk/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=libexif-gtk
pkgver=0.3.5
-pkgrel=3
+pkgrel=4
pkgdesc=GTK Widgets for libexif
_F_sourceforge_dirname=libexif
_F_sourceforge_ext=.tar.bz2
@@ -14,9 +14,10 @@ depends=('gtk+2' 'libexif')
groups=('gnome')
archs=('x86_64' 'i686' 'ppc')
license=('GPL2')
-source=(${sour...@]} some_cvs_backport.patch Fix_gtkdeprecated.diff)
+source=(${sour...@]} some_cvs_backport.patch Fix_gtkdeprecated.diff 
gtk214.patch)
sha1sums=('76eb91b635c6097fe541ec8a2b14b3a9d844993d' \
'779e1bfc9c7f1dde8791abfd311605b385363a51' \
-  '316ee0b1d1459236a7dda216667bfbdb09b430c4')
+  '316ee0b1d1459236a7dda216667bfbdb09b430c4' \
+  'b5ce605a98b95b413747fdc1cb979e6c513e6393')

# optimization OK
diff --git a/source/gnome/libexif-gtk/gtk214.patch 
b/source/gnome/libexif-gtk/gtk214.patch
new file mode 100644
index 000..1734ff9
--- /dev/null
+++ b/source/gnome/libexif-gtk/gtk214.patch
@@ -0,0 +1,51 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+#
+# T2 SDE: package/.../libexif-gtk/gtk214.patch
+# Copyright (C) 2009 The T2 SDE Project
+#
+# More information can be found in the files COPYING and README.
+#
+# This patch file is dual-licensed. It is available under the license the
+# patched project is licensed under, as long as it is an OpenSource license
+# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
+# of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+diff -Nur libexif-gtk-0.3.5-orig/gtk-extensions/Makefile.am 
libexif-gtk-0.3.5/gtk-extensions/Makefile.am
+--- libexif-gtk-0.3.5-orig/gtk-extensions/Makefile.am  2009-01-22 
10:46:48.0 +
 libexif-gtk-0.3.5/gtk-extensions/Makefile.am   2009-01-22 
10:54:02.0 +
+@@ -1,7 +1,6 @@
+ INCLUDES =\
+   -I$(top_srcdir) \
+   -I$(top_srcdir)/intl\
+-  -DGTK_DISABLE_DEPRECATED\
+   $(GTK_CFLAGS)
+
+ noinst_LTLIBRARIES = libgtk-extensions.la
+diff -Nur libexif-gtk-0.3.5-orig/gtk-extensions/Makefile.in 
libexif-gtk-0.3.5/gtk-extensions/Makefile.in
+--- libexif-gtk-0.3.5-orig/gtk-extensions/Makefile.in  2009-01-22 
10:46:48.0 +
 libexif-gtk-0.3.5/gtk-extensions/Makefile.in   2009-01-22 
10:57:04.0 +
+@@ -219,7 +219,6 @@
+ INCLUDES = \
+   -I$(top_srcdir) \
+   -I$(top_srcdir)/intl\
+-  -DGTK_DISABLE_DEPRECATED\
+   $(GTK_CFLAGS)
+
+ noinst_LTLIBRARIES = libgtk-extensions.la
+diff -Nur libexif-gtk-0.3.5-orig/gtk-extensions/gtk-menu-option.h 
libexif-gtk-0.3.5/gtk-extensions/gtk-menu-option.h
+--- libexif-gtk-0.3.5-orig/gtk-extensions/gtk-menu-option.h2009-01-22 
10:46:48.0 +
 libexif-gtk-0.3.5/gtk-extensions/gtk-menu-option.h 2009-01-22 
10:47:39.0 +
+@@ -50,7 +50,7 @@
+   void (* option_set)  (GtkMenuOption *menu, guint option);
+ };
+
+-GtkTypegtk_menu_option_get_type  (void);
++GTypegtk_menu_option_get_type  (void);
+ GtkWidget *gtk_menu_option_new   (GtkOptions *list);
+ void   gtk_menu_option_construct (GtkMenuOption *menu, GtkOptions *list);
+
+
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: ampache-3.5-1-i686

2009-06-11 Thread jercel
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=ffe1e0fabfd3d21e6ee8d455ea0dc93aa0fb9f0d

commit ffe1e0fabfd3d21e6ee8d455ea0dc93aa0fb9f0d
Author: jercel jerce...@gmail.com
Date:   Wed Jun 10 21:21:19 2009 +0200

ampache-3.5-1-i686

* New Package

* Close FS#3633

diff --git a/source/network-extra/ampache/FrugalBuild 
b/source/network-extra/ampache/FrugalBuild
new file mode 100644
index 000..1149499
--- /dev/null
+++ b/source/network-extra/ampache/FrugalBuild
@@ -0,0 +1,25 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: jercel jerce...@gmail.com
+# Contributor: Miklos Vajna vmik...@frugalware.org
+
+pkgname=ampache
+pkgver=3.5
+pkgrel=1
+pkgdesc=A tool for managing, updating and playing your audio files via a web 
interface.
+url=http://www.ampache.org;
+rodepends=('php')
+groups=('network-extra')
+archs=('i686' 'x86_64')
+_F_archive_grepv=alpha\|beta
+up2date=Flasttar $url/download.php
+source=(http://ampache.org/downloads/ampache-$pkgver.tar.gz)
+sha1sums=('f37c89d6fdbcff0175dccc486be3e3e32dec9b20')
+
+build()
+{
+   Fmkdir /var/www/html
+   chmod -x $pkgname-$pkgver/docs/*
+   mv $pkgname-$pkgver $Fdestdir/var/www/html/$pkgname
+   Fmkdir /usr/share/doc/
+   Fmv /var/www/html/$pkgname/docs /usr/share/doc/$pkgname-$pkgver
+}
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: chemtool-1.6.12-1-i686

2009-06-11 Thread jercel
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=4d06de271b152a8e732961f0afbd208a055e6d32

commit 4d06de271b152a8e732961f0afbd208a055e6d32
Author: jercel jerce...@gmail.com
Date:   Wed Jun 10 21:34:42 2009 +0200

chemtool-1.6.12-1-i686

* Bump Version

diff --git a/source/xapps-extra/chemtool/FrugalBuild 
b/source/xapps-extra/chemtool/FrugalBuild
index cc65998..5b7c336 100644
--- a/source/xapps-extra/chemtool/FrugalBuild
+++ b/source/xapps-extra/chemtool/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: jercel jerce...@gmail.com

pkgname=chemtool
-pkgver=1.6.11
+pkgver=1.6.12
pkgrel=1
pkgdesc=Chemtool is a small program for drawing chemical structures.
url=http://ruby.chemie.uni-freiburg.de/~martin/chemtool/;
@@ -13,7 +13,7 @@ groups=(xapps-extra)
archs=('i686' 'x86_64')
up2date=Flasttar $url
source=(http://ruby.chemie.uni-freiburg.de/~martin/$pkgname/$pkgname-$pkgver.tar.gz)
-sha1sums=('f4c50264b1499bdac15854e4bffde1a9d85668b3')
+sha1sums=('23ab6555fcad2b85c3ecdde7ee4b62f1de1c7acc')
_F_desktop_name=Chemtool
_F_desktop_desc=Molecules 2D drawing
_F_desktop_categories=GTK;GNOME;Education;Science;
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: lss-0.1.6-1-i686

2009-06-11 Thread jercel
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=e813171902ad98064808366254c6538529919eb3

commit e813171902ad98064808366254c6538529919eb3
Author: jercel jerce...@gmail.com
Date:   Wed Jun 10 22:21:11 2009 +0200

lss-0.1.6-1-i686

* Change m8r

diff --git a/source/xapps-extra/lss/FrugalBuild 
b/source/xapps-extra/lss/FrugalBuild
index 90b25d0..5bf48ee 100644
--- a/source/xapps-extra/lss/FrugalBuild
+++ b/source/xapps-extra/lss/FrugalBuild
@@ -1,6 +1,5 @@
# Compiling Time: 0.05 SBU
-# Maintainer: Miklos Vajna vmik...@frugalware.org
-# Contributor: Jercel jerce...@gmail.com
+# Maintainer: jercel jerce...@gmail.com

pkgname=lss
pkgver=0.1.6
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gitg-0.0.3-1-i686

2009-06-11 Thread jercel
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=630270602e88be55a287caa9a98dbfdf9dd5f6f5

commit 630270602e88be55a287caa9a98dbfdf9dd5f6f5
Author: jercel jerce...@gmail.com
Date:   Wed Jun 10 22:25:23 2009 +0200

gitg-0.0.3-1-i686

* Change m8r

diff --git a/source/gnome-extra/gitg/FrugalBuild 
b/source/gnome-extra/gitg/FrugalBuild
index d2143bd..17e755c 100644
--- a/source/gnome-extra/gitg/FrugalBuild
+++ b/source/gnome-extra/gitg/FrugalBuild
@@ -1,6 +1,5 @@
# Compiling Time: 0.04 SBU
-# Maintainer: Miklos Vajna vmik...@frugalware.org
-# Contributor: Jercel jerce...@gmail.com
+# Maintainer: jercel jerce...@gmail.com

pkgname=gitg
pkgver=0.0.3
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: tucan-0.3.7-1-i686

2009-06-11 Thread Cedynamix
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=a696dd6350f6e8d2c6cb10da2f9ae4e6326b5d17

commit a696dd6350f6e8d2c6cb10da2f9ae4e6326b5d17
Author: Cedynamix cedyna...@gmail.com
Date:   Thu Jun 11 07:48:56 2009 +0200

tucan-0.3.7-1-i686

* new package

diff --git a/source/network-extra/tucan/FrugalBuild 
b/source/network-extra/tucan/FrugalBuild
new file mode 100644
index 000..a94e7a1
--- /dev/null
+++ b/source/network-extra/tucan/FrugalBuild
@@ -0,0 +1,25 @@
+# Compiling time: 0.0 SBU
+# Maintainer: Cedrick Hannier alias Cedynamix cedyna...@gmail.com
+
+pkgname=tucan
+pkgver=0.3.7
+pkgrel=1
+extraver=1290
+pkgdesc=Download and upload manager for hosting sites.
+archs=('i686' 'x86_64')
+url=http://tucaneando.com/index-en.html;
+groups=('network-extra')
+depends=('pygtk' 'imaging' 'tesseract-ocr' 'librsvg')
+up2date=Flasttar $url
+source=(http://forja.rediris.es/frs/download.php/$extraver/$pkgname-$pkgver.tar.gz)
+sha1sums=('ec70756f6c2501a42a95f59f99da40eda551d951')
+
+build() {
+   Fcd
+   Fmakeinstall
+   Fln /usr/share/tucan/tucan.py /usr/bin/tucan
+   Fmv share usr
+   Frm bin
+}
+
+# optimization OK
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: libexif-gtk-0.3.5-4-i686 *added fix for build with gtk+2=2.14

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=838004910128e8f86908d132a9c8972a535ac995

commit 838004910128e8f86908d132a9c8972a535ac995
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 15:46:03 2009 +0200

libexif-gtk-0.3.5-4-i686
*added fix for build with gtk+2=2.14

diff --git a/source/gnome/libexif-gtk/FrugalBuild 
b/source/gnome/libexif-gtk/FrugalBuild
index d7ca452..321b369 100644
--- a/source/gnome/libexif-gtk/FrugalBuild
+++ b/source/gnome/libexif-gtk/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=libexif-gtk
pkgver=0.3.5
-pkgrel=3
+pkgrel=4
pkgdesc=GTK Widgets for libexif
_F_sourceforge_dirname=libexif
_F_sourceforge_ext=.tar.bz2
@@ -14,9 +14,10 @@ depends=('gtk+2' 'libexif')
groups=('gnome')
archs=('x86_64' 'i686' 'ppc')
license=('GPL2')
-source=(${sour...@]} some_cvs_backport.patch Fix_gtkdeprecated.diff)
+source=(${sour...@]} some_cvs_backport.patch Fix_gtkdeprecated.diff 
gtk214.patch)
sha1sums=('76eb91b635c6097fe541ec8a2b14b3a9d844993d' \
'779e1bfc9c7f1dde8791abfd311605b385363a51' \
-  '316ee0b1d1459236a7dda216667bfbdb09b430c4')
+  '316ee0b1d1459236a7dda216667bfbdb09b430c4' \
+  'b5ce605a98b95b413747fdc1cb979e6c513e6393')

# optimization OK
diff --git a/source/gnome/libexif-gtk/gtk214.patch 
b/source/gnome/libexif-gtk/gtk214.patch
new file mode 100644
index 000..1734ff9
--- /dev/null
+++ b/source/gnome/libexif-gtk/gtk214.patch
@@ -0,0 +1,51 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+#
+# T2 SDE: package/.../libexif-gtk/gtk214.patch
+# Copyright (C) 2009 The T2 SDE Project
+#
+# More information can be found in the files COPYING and README.
+#
+# This patch file is dual-licensed. It is available under the license the
+# patched project is licensed under, as long as it is an OpenSource license
+# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
+# of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+diff -Nur libexif-gtk-0.3.5-orig/gtk-extensions/Makefile.am 
libexif-gtk-0.3.5/gtk-extensions/Makefile.am
+--- libexif-gtk-0.3.5-orig/gtk-extensions/Makefile.am  2009-01-22 
10:46:48.0 +
 libexif-gtk-0.3.5/gtk-extensions/Makefile.am   2009-01-22 
10:54:02.0 +
+@@ -1,7 +1,6 @@
+ INCLUDES =\
+   -I$(top_srcdir) \
+   -I$(top_srcdir)/intl\
+-  -DGTK_DISABLE_DEPRECATED\
+   $(GTK_CFLAGS)
+
+ noinst_LTLIBRARIES = libgtk-extensions.la
+diff -Nur libexif-gtk-0.3.5-orig/gtk-extensions/Makefile.in 
libexif-gtk-0.3.5/gtk-extensions/Makefile.in
+--- libexif-gtk-0.3.5-orig/gtk-extensions/Makefile.in  2009-01-22 
10:46:48.0 +
 libexif-gtk-0.3.5/gtk-extensions/Makefile.in   2009-01-22 
10:57:04.0 +
+@@ -219,7 +219,6 @@
+ INCLUDES = \
+   -I$(top_srcdir) \
+   -I$(top_srcdir)/intl\
+-  -DGTK_DISABLE_DEPRECATED\
+   $(GTK_CFLAGS)
+
+ noinst_LTLIBRARIES = libgtk-extensions.la
+diff -Nur libexif-gtk-0.3.5-orig/gtk-extensions/gtk-menu-option.h 
libexif-gtk-0.3.5/gtk-extensions/gtk-menu-option.h
+--- libexif-gtk-0.3.5-orig/gtk-extensions/gtk-menu-option.h2009-01-22 
10:46:48.0 +
 libexif-gtk-0.3.5/gtk-extensions/gtk-menu-option.h 2009-01-22 
10:47:39.0 +
+@@ -50,7 +50,7 @@
+   void (* option_set)  (GtkMenuOption *menu, guint option);
+ };
+
+-GtkTypegtk_menu_option_get_type  (void);
++GTypegtk_menu_option_get_type  (void);
+ GtkWidget *gtk_menu_option_new   (GtkOptions *list);
+ void   gtk_menu_option_construct (GtkMenuOption *menu, GtkOptions *list);
+
+
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: Merge branch 'master' of git://git.frugalware.org/pub/frugalware/frugalware-current

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=e9f240930fd6fb91ec96ba235ee036ed6639d3b5

commit e9f240930fd6fb91ec96ba235ee036ed6639d3b5
Merge: dcfed98 8380049
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 15:48:10 2009 +0200

Merge branch 'master' of 
git://git.frugalware.org/pub/frugalware/frugalware-current
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: libexif-gtk-0.3.5-5-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=8e9b9320f2121207d9de8c92fc7295d8c0ad4bfd

commit 8e9b9320f2121207d9de8c92fc7295d8c0ad4bfd
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 15:52:20 2009 +0200

libexif-gtk-0.3.5-5-i686
*rebuild with new xorg

diff --git a/source/gnome/libexif-gtk/FrugalBuild 
b/source/gnome/libexif-gtk/FrugalBuild
index 321b369..bc03836 100644
--- a/source/gnome/libexif-gtk/FrugalBuild
+++ b/source/gnome/libexif-gtk/FrugalBuild
@@ -3,14 +3,14 @@

pkgname=libexif-gtk
pkgver=0.3.5
-pkgrel=4
+pkgrel=5
pkgdesc=GTK Widgets for libexif
_F_sourceforge_dirname=libexif
_F_sourceforge_ext=.tar.bz2
Finclude sourceforge
options=('scriptlet')
url=http://sourceforge.net/projects/libexif;
-depends=('gtk+2' 'libexif')
+depends=('gtk+2=2.16.2-2' 'libexif')
groups=('gnome')
archs=('x86_64' 'i686' 'ppc')
license=('GPL2')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gtkam-0.1.16.1-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=6ed056d10e4a9062b0d5d60036065a4cde535485

commit 6ed056d10e4a9062b0d5d60036065a4cde535485
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 16:03:27 2009 +0200

gtkam-0.1.16.1-2-i686
*rebuild with new xorg

diff --git a/source/gnome/gtkam/FrugalBuild b/source/gnome/gtkam/FrugalBuild
index aa773cc..fb9761b 100644
--- a/source/gnome/gtkam/FrugalBuild
+++ b/source/gnome/gtkam/FrugalBuild
@@ -3,9 +3,9 @@

pkgname=gtkam
pkgver=0.1.16.1
-pkgrel=1
+pkgrel=2
pkgdesc=GTKam is a GTK-frontend to gphoto2.
-depends=('libgnomeui' 'libgphoto2' 'atk' 'gimp' 'pango' 'libexif-gtk')
+depends=('libgnomeui=2.24.1-2' 'libgphoto2' 'atk' 'gimp' 'pango' 
'libexif-gtk=0.3.5-5')
groups=('gnome')
archs=('i686' 'x86_64' 'ppc')
_F_sourceforge_dirname=gphoto
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gnunet-0.8.0c-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=51fc02bd8d3ea1a102005382fa2ca5fa7bc730c5

commit 51fc02bd8d3ea1a102005382fa2ca5fa7bc730c5
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 16:14:48 2009 +0200

gnunet-0.8.0c-2-i686
*rebuild with new xorg

diff --git a/source/network-extra/gnunet/FrugalBuild 
b/source/network-extra/gnunet/FrugalBuild
index 0f6e320..8bf0653 100644
--- a/source/network-extra/gnunet/FrugalBuild
+++ b/source/network-extra/gnunet/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=gnunet
pkgver=0.8.0c
-pkgrel=1
+pkgrel=2
pkgdesc=A framework for secure peer-to-peer networking
url=http://gnunet.org;
-depends=('libextractor' 'bzip2' 'libgcrypt' 'guile' 'sqlite3' 'curl' 
'libglade' 'libxfixes')
+depends=('libextractor' 'bzip2' 'libgcrypt' 'guile' 'sqlite3' 'curl' 
'libglade=2.6.4-2' 'libxfixes')
makedepends=('gettext' 'pkgconfig')
groups=('network-extra')
archs=('i686' 'x86_64')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gnome-mount-0.6-3-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=498e345aa4b3c1fef949835239d53219599cd35c

commit 498e345aa4b3c1fef949835239d53219599cd35c
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 16:21:26 2009 +0200

gnome-mount-0.6-3-i686
*rebuild with new xorg

diff --git a/source/gnome/gnome-mount/FrugalBuild 
b/source/gnome/gnome-mount/FrugalBuild
index ad2458c..0ffbe5a 100644
--- a/source/gnome/gnome-mount/FrugalBuild
+++ b/source/gnome/gnome-mount/FrugalBuild
@@ -3,11 +3,11 @@

pkgname=gnome-mount
pkgver=0.6
-pkgrel=2
+pkgrel=3
pkgdesc=Programs for mounting, unmounting and ejecting storage devices.
url=http://www.gnome.org;
-depends=('gtk+2=2.10.11' 'gnome-keyring=0.8' 'hal=0.5.9' 'libbonobo' 
'libnotify')
-makedepends=('perl-xml-parser' 'intltool' 'nautilus=2.18.1')
+depends=('gtk+2=2.16.2-2' 'gnome-keyring=2.26.1-2' 'hal=0.5.9' 'libbonobo' 
'libnotify=0.4.5-2')
+makedepends=('perl-xml-parser' 'intltool' 'nautilus=2.26.2-2')
groups=('gnome' 'gnome-minimal')
archs=('i686' 'x86_64' 'ppc')
source=(http://people.freedesktop.org/~david/dist/$pkgname-$pkgver.tar.gz \
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gnome-pilot-conduits-2.0.16-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=308f02143a70a3fe9179f39ac4ba9086f26978c4

commit 308f02143a70a3fe9179f39ac4ba9086f26978c4
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 16:31:38 2009 +0200

gnome-pilot-conduits-2.0.16-2-i686
*rebuild with new xorg

diff --git a/source/gnome/gnome-pilot-conduits/FrugalBuild 
b/source/gnome/gnome-pilot-conduits/FrugalBuild
index a6dc1a4..c67bdfe 100644
--- a/source/gnome/gnome-pilot-conduits/FrugalBuild
+++ b/source/gnome/gnome-pilot-conduits/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=gnome-pilot-conduits
pkgver=2.0.16
-pkgrel=1
+pkgrel=2
pkgdesc=A collection of additional conduits for gnome-pilot
url=http://www.gnome.org/;
-depends=('gnome-pilot=2.0.16')
+depends=('gnome-pilot=2.0.16-3')
groups=('gnome')
archs=('i686' 'x86_64' 'ppc')
Finclude gnome
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gnome-system-tools-2.22.2-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=3fd8337b5b8e6751d498d71c931ac3fcda0863e5

commit 3fd8337b5b8e6751d498d71c931ac3fcda0863e5
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 16:41:34 2009 +0200

gnome-system-tools-2.22.2-2-i686
*rebuild with new xorg

diff --git a/source/gnome-extra/gnome-system-tools/FrugalBuild 
b/source/gnome-extra/gnome-system-tools/FrugalBuild
index f3d9797..55c56b8 100644
--- a/source/gnome-extra/gnome-system-tools/FrugalBuild
+++ b/source/gnome-extra/gnome-system-tools/FrugalBuild
@@ -4,10 +4,10 @@

pkgname=gnome-system-tools
pkgver=2.22.2
-pkgrel=1
+pkgrel=2
pkgdesc=Gnome System Administration Tools
url=http://www.gnome.org/projects/gst/;
-depends=('libgnomeui=2.24.0' 'libglade' 'liboobs=2.22.0' 'nautilus=2.26.1')
+depends=('libgnomeui=2.24.1-2' 'libglade=2.6.4-2' 'liboobs=2.22.0' 
'nautilus=2.26.2-2')
makedepends=('gnome-doc-utils=0.14.0' 'intltool')
groups=('gnome-extra')
archs=('i686' 'x86_64' 'ppc')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: obconf-2.0.3-3-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=20e718d6c612a38c2bde70001120681f53f5b4c7

commit 20e718d6c612a38c2bde70001120681f53f5b4c7
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 16:46:40 2009 +0200

obconf-2.0.3-3-i686
*rebuild with new xorg

diff --git a/source/xlib/obconf/FrugalBuild b/source/xlib/obconf/FrugalBuild
index 7df136a..c514196 100644
--- a/source/xlib/obconf/FrugalBuild
+++ b/source/xlib/obconf/FrugalBuild
@@ -4,10 +4,10 @@

pkgname=obconf
pkgver=2.0.3
-pkgrel=2
+pkgrel=3
pkgdesc=OpenBox's Configuration utility.
url=http://icculus.org/openbox;
-depends=('openbox=3.4.7.2' 'gtk+2' 'libglade')
+depends=('openbox=3.4.7.2-2' 'gtk+2=2.16.2-2' 'libglade=2.6.4-2')
groups=('xlib')
archs=('i686' 'x86_64')
options=('scriptlet')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gcalctool-5.26.2-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=6d16223a1b5fcfaf07ede0f601c6aea0be4f0f3c

commit 6d16223a1b5fcfaf07ede0f601c6aea0be4f0f3c
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 16:51:37 2009 +0200

gcalctool-5.26.2-2-i686
*rebuild with new xorg

diff --git a/source/gnome/gcalctool/FrugalBuild 
b/source/gnome/gcalctool/FrugalBuild
index 0eac487..bf23564 100644
--- a/source/gnome/gcalctool/FrugalBuild
+++ b/source/gnome/gcalctool/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=gcalctool
pkgver=5.26.2
-pkgrel=1
+pkgrel=2
pkgdesc=A scientific calculator for GNOME
url=http://www.gnome.org/;
-depends=('rarian' 'libbonobo=2.24.1' 'gtk+2=2.16.1' 'gconf=2.26.0' 
'libglade')
+depends=('rarian' 'libbonobo=2.24.1' 'gtk+2=2.16.2-2' 'gconf=2.26.2-2' 
'libglade=2.6.4-2')
makedepends=('intltool' 'gnome-doc-utils=0.14.0')
groups=('gnome')
archs=('i686' 'x86_64' 'ppc')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: bluez-gnome-0.28-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=a91e72b66f04f087764d57f16b74100c8822a8d3

commit a91e72b66f04f087764d57f16b74100c8822a8d3
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 16:56:31 2009 +0200

bluez-gnome-0.28-2-i686
*rebuild with new xorg

diff --git a/source/gnome-extra/bluez-gnome/FrugalBuild 
b/source/gnome-extra/bluez-gnome/FrugalBuild
index 0b28feb..33b6299 100644
--- a/source/gnome-extra/bluez-gnome/FrugalBuild
+++ b/source/gnome-extra/bluez-gnome/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=bluez-gnome
pkgver=0.28
-pkgrel=1
+pkgrel=2
pkgdesc=Bluetooth tools for GNOME
url=http://www.bluez.org/;
-depends=('dbus-glib=0.76' 'openobex=1.3-10' 'bluez-libs=3.36' 'libnotify' 
'gconf' 'gtk+2')
+depends=('dbus-glib=0.76' 'openobex=1.3-10' 'bluez-libs=3.36' 
'libnotify=0.4.5-2' 'gconf=2.26.2-2' 'gtk+2=2.16.2-2')
rodepends=('bluez-utils=3.36' 'obex-data-server=0.3.4')
makedepends=('perl-xml-parser' 'intltool')
groups=('gnome-extra')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: nautilus-sound-converter-1.0.2-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=ab697047ac7b777e96ffa7757858fa92f071bd99

commit ab697047ac7b777e96ffa7757858fa92f071bd99
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 17:10:32 2009 +0200

nautilus-sound-converter-1.0.2-2-i686
*rebuild with new xorg

diff --git a/source/gnome-extra/nautilus-sound-converter/FrugalBuild 
b/source/gnome-extra/nautilus-sound-converter/FrugalBuild
index 9653bb1..2028b59 100644
--- a/source/gnome-extra/nautilus-sound-converter/FrugalBuild
+++ b/source/gnome-extra/nautilus-sound-converter/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=nautilus-sound-converter
pkgver=1.0.2
-pkgrel=1
+pkgrel=2
pkgdesc=Nautilus extension to convert audio files to a different format
options=('scriptlet')
-depends=('nautilus' 'gnome-media' 'gst-plugins-base')
+depends=('nautilus=2.26.2-2' 'gnome-media=2.26.0-3' 
'gst-plugins-base=0.10.22-2')
makedepends=('intltool')
Finclude googlecode
groups=('gnome-extra')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: lxmusic-0.3.0-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=3e6f9732cfbf8d324238d8f7cac63822c8c93010

commit 3e6f9732cfbf8d324238d8f7cac63822c8c93010
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 17:16:30 2009 +0200

lxmusic-0.3.0-2-i686
*rebuild with new xorg

diff --git a/source/xapps-extra/lxmusic/FrugalBuild 
b/source/xapps-extra/lxmusic/FrugalBuild
index 64fdf4c..25f5acb 100644
--- a/source/xapps-extra/lxmusic/FrugalBuild
+++ b/source/xapps-extra/lxmusic/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=lxmusic
pkgver=0.3.0
-pkgrel=1
+pkgrel=2
pkgdesc=A xmms2 music player
-depends=('xmms2-libs-c++=0.6' 'glibc' 'libxau' 'libxdmcp' 'freetype2' 
'libxext' 'libxdamage' 'libxml2' \
-   'gtk+2')
+depends=('xmms2-libs-c++=0.6' 'glibc' 'libxau=1.0.4' 'libxdmcp' 'freetype2' 
'libxext=1.0.5-3' 'libxdamage' 'libxml2' \
+   'gtk+2=2.16.2-2')
makedepends=('intltool')
options=('scriptlet')
groups=('xapps-extra' 'lxde-desktop')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] frugalware-current: glade-2.12.2-2-i686 *added gtk fix

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ba7328bac5224b3e3aba77e2bb51be8274fa6248

commit ba7328bac5224b3e3aba77e2bb51be8274fa6248
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 17:39:25 2009 +0200

glade-2.12.2-2-i686
*added gtk fix

diff --git a/source/gnome-extra/glade/FixGtk.diff 
b/source/gnome-extra/glade/FixGtk.diff
new file mode 100644
index 000..cd620ba
--- /dev/null
+++ b/source/gnome-extra/glade/FixGtk.diff
@@ -0,0 +1,81 @@
+diff -pruN glade-2.12.2.orig/glade/gbwidgets/gbclist.c 
glade-2.12.2/glade/gbwidgets/gbclist.c
+--- glade-2.12.2.orig/glade/gbwidgets/gbclist.c2009-01-17 
12:23:45.0 +0100
 glade-2.12.2/glade/gbwidgets/gbclist.c 2009-01-17 12:33:18.0 
+0100
+@@ -19,10 +19,7 @@
+
+ #include string.h
+
+-#include gtk/gtkclist.h
+-#include gtk/gtkhbox.h
+-#include gtk/gtkmain.h
+-#include gtk/gtkspinbutton.h
++#include gtk/gtk.h
+ #include ../gb.h
+
+ /* Include the 21x21 icon pixmap for this widget, to be used in the palette */
+diff -pruN glade-2.12.2.orig/glade/glade_keys_dialog.c 
glade-2.12.2/glade/glade_keys_dialog.c
+--- glade-2.12.2.orig/glade/glade_keys_dialog.c2009-01-17 
12:23:45.0 +0100
 glade-2.12.2/glade/glade_keys_dialog.c 2009-01-17 12:32:20.0 
+0100
+@@ -23,11 +23,7 @@
+
+ #include string.h
+
+-#include gtk/gtkbox.h
+-#include gtk/gtkbutton.h
+-#include gtk/gtkclist.h
+-#include gtk/gtkstock.h
+-#include gtk/gtkscrolledwindow.h
++#include gtk/gtk.h
+
+ #include gladeconfig.h
+
+diff -pruN glade-2.12.2.orig/glade/glade_menu_editor.c 
glade-2.12.2/glade/glade_menu_editor.c
+--- glade-2.12.2.orig/glade/glade_menu_editor.c2009-01-17 
12:23:45.0 +0100
 glade-2.12.2/glade/glade_menu_editor.c 2009-01-17 12:40:06.0 
+0100
+@@ -26,32 +26,7 @@
+ #include time.h
+
+ #include gdk/gdkkeysyms.h
+-#include gtk/gtkarrow.h
+-#include gtk/gtkaccellabel.h
+-#include gtk/gtkclist.h
+-#include gtk/gtkcombo.h
+-#include gtk/gtkentry.h
+-#include gtk/gtkeventbox.h
+-#include gtk/gtkfilechooserdialog.h
+-#include gtk/gtkframe.h
+-#include gtk/gtkhbox.h
+-#include gtk/gtkhbbox.h
+-#include gtk/gtkhseparator.h
+-#include gtk/gtkiconfactory.h
+-#include gtk/gtkimage.h
+-#include gtk/gtkimagemenuitem.h
+-#include gtk/gtklist.h
+-#include gtk/gtkmain.h
+-#include gtk/gtkmenu.h
+-#include gtk/gtkmenubar.h
+-#include gtk/gtkradiobutton.h
+-#include gtk/gtkradiomenuitem.h
+-#include gtk/gtkscrolledwindow.h
+-#include gtk/gtkseparatormenuitem.h
+-#include gtk/gtkstock.h
+-#include gtk/gtktable.h
+-#include gtk/gtktearoffmenuitem.h
+-#include gtk/gtkvbox.h
++#include gtk/gtk.h
+
+ #include gladeconfig.h
+
+diff -pruN glade-2.12.2.orig/glade/glade_project_view.h 
glade-2.12.2/glade/glade_project_view.h
+--- glade-2.12.2.orig/glade/glade_project_view.h   2009-01-17 
12:23:45.0 +0100
 glade-2.12.2/glade/glade_project_view.h2009-01-17 12:42:37.0 
+0100
+@@ -18,7 +18,7 @@
+ #ifndef GLADE_PROJECT_VIEW_H
+ #define GLADE_PROJECT_VIEW_H
+
+-#include gtk/gtkclist.h
++#include gtk/gtk.h
+
+ #include glade_project.h
+
+
diff --git a/source/gnome-extra/glade/FrugalBuild 
b/source/gnome-extra/glade/FrugalBuild
index 548bf48..32e3050 100644
--- a/source/gnome-extra/glade/FrugalBuild
+++ b/source/gnome-extra/glade/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=glade
pkgver=2.12.2
-pkgrel=1
+pkgrel=2
pkgdesc=Glade is a GUI builder for GTK+ and Gnome.
url=http://glade.gnome.org/;
license=GPL2
@@ -14,10 +14,11 @@ groups=('gnome-extra')
archs=('i686' 'x86_64')
_F_gnome_scrollkeeper=y
Finclude gnome gnome-scriptlet
-source=(${sour...@]} $pkgname-2.6.5-simplegladepython.1.patch 
simple-glade-codegen.py)
+source=(${sour...@]} $pkgname-2.6.5-simplegladepython.1.patch 
simple-glade-codegen.py FixGtk.diff)
sha1sums=('a43d89b147296244ba4b2efc67e8772d5155afff' \
'd55aa3c049dfa9a431e4e2b029866f97928bea3a' \
-  '8e63a1badbb998f2273d3bf948c8cead14a94e70')
+  '8e63a1badbb998f2273d3bf948c8cead14a94e70' \
+  '3f5d103a14fae931062db347d277cc721b6d7aac')

build()
{
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: glade-2.12.2-2-i686 *added gtk fix

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=ba7328bac5224b3e3aba77e2bb51be8274fa6248

commit ba7328bac5224b3e3aba77e2bb51be8274fa6248
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 17:39:25 2009 +0200

glade-2.12.2-2-i686
*added gtk fix

diff --git a/source/gnome-extra/glade/FixGtk.diff 
b/source/gnome-extra/glade/FixGtk.diff
new file mode 100644
index 000..cd620ba
--- /dev/null
+++ b/source/gnome-extra/glade/FixGtk.diff
@@ -0,0 +1,81 @@
+diff -pruN glade-2.12.2.orig/glade/gbwidgets/gbclist.c 
glade-2.12.2/glade/gbwidgets/gbclist.c
+--- glade-2.12.2.orig/glade/gbwidgets/gbclist.c2009-01-17 
12:23:45.0 +0100
 glade-2.12.2/glade/gbwidgets/gbclist.c 2009-01-17 12:33:18.0 
+0100
+@@ -19,10 +19,7 @@
+
+ #include string.h
+
+-#include gtk/gtkclist.h
+-#include gtk/gtkhbox.h
+-#include gtk/gtkmain.h
+-#include gtk/gtkspinbutton.h
++#include gtk/gtk.h
+ #include ../gb.h
+
+ /* Include the 21x21 icon pixmap for this widget, to be used in the palette */
+diff -pruN glade-2.12.2.orig/glade/glade_keys_dialog.c 
glade-2.12.2/glade/glade_keys_dialog.c
+--- glade-2.12.2.orig/glade/glade_keys_dialog.c2009-01-17 
12:23:45.0 +0100
 glade-2.12.2/glade/glade_keys_dialog.c 2009-01-17 12:32:20.0 
+0100
+@@ -23,11 +23,7 @@
+
+ #include string.h
+
+-#include gtk/gtkbox.h
+-#include gtk/gtkbutton.h
+-#include gtk/gtkclist.h
+-#include gtk/gtkstock.h
+-#include gtk/gtkscrolledwindow.h
++#include gtk/gtk.h
+
+ #include gladeconfig.h
+
+diff -pruN glade-2.12.2.orig/glade/glade_menu_editor.c 
glade-2.12.2/glade/glade_menu_editor.c
+--- glade-2.12.2.orig/glade/glade_menu_editor.c2009-01-17 
12:23:45.0 +0100
 glade-2.12.2/glade/glade_menu_editor.c 2009-01-17 12:40:06.0 
+0100
+@@ -26,32 +26,7 @@
+ #include time.h
+
+ #include gdk/gdkkeysyms.h
+-#include gtk/gtkarrow.h
+-#include gtk/gtkaccellabel.h
+-#include gtk/gtkclist.h
+-#include gtk/gtkcombo.h
+-#include gtk/gtkentry.h
+-#include gtk/gtkeventbox.h
+-#include gtk/gtkfilechooserdialog.h
+-#include gtk/gtkframe.h
+-#include gtk/gtkhbox.h
+-#include gtk/gtkhbbox.h
+-#include gtk/gtkhseparator.h
+-#include gtk/gtkiconfactory.h
+-#include gtk/gtkimage.h
+-#include gtk/gtkimagemenuitem.h
+-#include gtk/gtklist.h
+-#include gtk/gtkmain.h
+-#include gtk/gtkmenu.h
+-#include gtk/gtkmenubar.h
+-#include gtk/gtkradiobutton.h
+-#include gtk/gtkradiomenuitem.h
+-#include gtk/gtkscrolledwindow.h
+-#include gtk/gtkseparatormenuitem.h
+-#include gtk/gtkstock.h
+-#include gtk/gtktable.h
+-#include gtk/gtktearoffmenuitem.h
+-#include gtk/gtkvbox.h
++#include gtk/gtk.h
+
+ #include gladeconfig.h
+
+diff -pruN glade-2.12.2.orig/glade/glade_project_view.h 
glade-2.12.2/glade/glade_project_view.h
+--- glade-2.12.2.orig/glade/glade_project_view.h   2009-01-17 
12:23:45.0 +0100
 glade-2.12.2/glade/glade_project_view.h2009-01-17 12:42:37.0 
+0100
+@@ -18,7 +18,7 @@
+ #ifndef GLADE_PROJECT_VIEW_H
+ #define GLADE_PROJECT_VIEW_H
+
+-#include gtk/gtkclist.h
++#include gtk/gtk.h
+
+ #include glade_project.h
+
+
diff --git a/source/gnome-extra/glade/FrugalBuild 
b/source/gnome-extra/glade/FrugalBuild
index 548bf48..32e3050 100644
--- a/source/gnome-extra/glade/FrugalBuild
+++ b/source/gnome-extra/glade/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=glade
pkgver=2.12.2
-pkgrel=1
+pkgrel=2
pkgdesc=Glade is a GUI builder for GTK+ and Gnome.
url=http://glade.gnome.org/;
license=GPL2
@@ -14,10 +14,11 @@ groups=('gnome-extra')
archs=('i686' 'x86_64')
_F_gnome_scrollkeeper=y
Finclude gnome gnome-scriptlet
-source=(${sour...@]} $pkgname-2.6.5-simplegladepython.1.patch 
simple-glade-codegen.py)
+source=(${sour...@]} $pkgname-2.6.5-simplegladepython.1.patch 
simple-glade-codegen.py FixGtk.diff)
sha1sums=('a43d89b147296244ba4b2efc67e8772d5155afff' \
'd55aa3c049dfa9a431e4e2b029866f97928bea3a' \
-  '8e63a1badbb998f2273d3bf948c8cead14a94e70')
+  '8e63a1badbb998f2273d3bf948c8cead14a94e70' \
+  '3f5d103a14fae931062db347d277cc721b6d7aac')

build()
{
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: Merge branch 'master' of git://git.frugalware.org/pub/frugalware/frugalware-current

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=d1cbec9cdb41b18a6c97cee2ebe89300d2ae28df

commit d1cbec9cdb41b18a6c97cee2ebe89300d2ae28df
Merge: 3e6f973 ba7328b
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 17:41:19 2009 +0200

Merge branch 'master' of 
git://git.frugalware.org/pub/frugalware/frugalware-current
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: glade-2.12.2-3-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=4ca7b2117d6516c30fe87f279ea6382d8aa8db45

commit 4ca7b2117d6516c30fe87f279ea6382d8aa8db45
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 17:46:35 2009 +0200

glade-2.12.2-3-i686
*rebuild with new xorg

diff --git a/source/gnome-extra/glade/FrugalBuild 
b/source/gnome-extra/glade/FrugalBuild
index 32e3050..ae5f334 100644
--- a/source/gnome-extra/glade/FrugalBuild
+++ b/source/gnome-extra/glade/FrugalBuild
@@ -4,11 +4,11 @@

pkgname=glade
pkgver=2.12.2
-pkgrel=2
+pkgrel=3
pkgdesc=Glade is a GUI builder for GTK+ and Gnome.
url=http://glade.gnome.org/;
license=GPL2
-depends=('atk' 'libgail-gnome' 'libgnomeui' 'pango')
+depends=('atk' 'libgail-gnome=1.20.1-2' 'libgnomeui=2.24.1-2' 
'pango=1.24.2-2')
makedepends=('perl-xml-parser')
groups=('gnome-extra')
archs=('i686' 'x86_64')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gssdp-0.6.4-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=e52e9d0ca1950ca6b61a890caefe9a5b15d15648

commit e52e9d0ca1950ca6b61a890caefe9a5b15d15648
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 18:45:48 2009 +0200

gssdp-0.6.4-2-i686
*rebuild with new xorg

diff --git a/source/xlib-extra/gssdp/FrugalBuild 
b/source/xlib-extra/gssdp/FrugalBuild
index 7ec0783..5c19a45 100644
--- a/source/xlib-extra/gssdp/FrugalBuild
+++ b/source/xlib-extra/gssdp/FrugalBuild
@@ -3,9 +3,9 @@

pkgname=gssdp
pkgver=0.6.4
-pkgrel=1
+pkgrel=2
pkgdesc=GSSDP implements resource discovery and announcement over SSDP of 
GUPnP framework.
-depends=('libsoup' 'libglade')
+depends=('libsoup' 'libglade=2.6.4-2')
url=http://www.gupnp.org;
source=($url/sources/$pkgname/$pkgname-$pkgver.tar.gz)
up2date=Flasttar $url/sources/$pkgname
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] frugalware-current: lifeograph-0.4.1-1-i686

2009-06-11 Thread jercel
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7cfa2a9071d99c3e4a289a54e08b8b6b3fbd3aab

commit 7cfa2a9071d99c3e4a289a54e08b8b6b3fbd3aab
Author: jercel jerce...@gmail.com
Date:   Thu Jun 11 19:58:13 2009 +0200

lifeograph-0.4.1-1-i686

* New Package

diff --git a/source/xapps-extra/lifeograph/FrugalBuild 
b/source/xapps-extra/lifeograph/FrugalBuild
new file mode 100644
index 000..2816eae
--- /dev/null
+++ b/source/xapps-extra/lifeograph/FrugalBuild
@@ -0,0 +1,23 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: jercel jerce...@gmail.com
+
+pkgname=lifeograph
+pkgver=0.4.1
+pkgrel=1
+pkgdesc=Off-line and private journal and note taking application
+url=https://launchpad.net/lifeograph/;
+depends=('gtkmm' 'gconfmm' 'libgcrypt' 'zlib' 'libstdc++')
+_F_gnome_desktop=y
+_F_gnome_iconcache=y
+options=('scriptlet')
+groups=('xapps-extra')
+archs=('i686' 'x86_64')
+up2date=lynx -dump http://archive.ubuntu.com/ubuntu/pool/universe/l/$pkgname/ 
| Flasttar
+up2date=$pkgver
+source=(http://archive.ubuntu.com/ubuntu/pool/universe/l/$pkgname/${pkgname}_${pkgver}.orig.tar.gz)
+sha1sums=('6d456a8edf6ce079c37fe0652af799684a491beb')
+build()
+{
+   Fcd $pkgname-$pkgver/src
+   Fbuild
+}
\ No newline at end of file
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] gfpm: Added a nautilus module * Displays information about a package in the properties dialog for .fpm files

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=773448f339746bde5851c8d3c0c14bf6ce72caf0

commit 773448f339746bde5851c8d3c0c14bf6ce72caf0
Author: Priyank priy...@frugalware.org
Date:   Thu Jun 11 17:14:47 2009 +0530

Added a nautilus module
* Displays information about a package in the properties dialog for .fpm
files

diff --git a/Makefile.am b/Makefile.am
index c01c5fd..9a44dcb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,2 +1,2 @@
-SUBDIRS = src data po
+SUBDIRS = src nautilus-extension data po

diff --git a/configure.ac b/configure.ac
index ef7a230..e62640d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,8 @@ AC_PROG_CC(GCC)
AC_HEADER_STDC
AC_CHECK_HEADERS([locale.h stdlib.h string.h sys/ioctl.h unistd.h])

+AC_ARG_ENABLE(nautilus-extension,
+AC_HELP_STRING([  --enable-nautilus-extension], [Enable nautilus 
extension]), [nautilusext=yes])
AC_ARG_ENABLE(icmonitor,
AC_HELP_STRING([  --enable-icmonitor], [Enable iconcache monitor support]), 
[icmonitor=yes])
AC_ARG_ENABLE(werror,
@@ -22,6 +24,23 @@ AC_ARG_ENABLE(werror,
AC_ARG_ENABLE(debug,
AC_HELP_STRING([  --enable-debug], [Enable debugging support]), [debug=yes])

+dnl Check if nautilus extension is to be built
+AC_MSG_CHECKING(whether nautilus extension is enabled)
+if test x$nautilusext = xyes; then
+   nautilusext=yes
+   AC_MSG_RESULT(yes)
+   PKG_CHECK_MODULES(NAUTILUS_EXT_GFPM,libnautilus-extension = 2.13.3)
+   AC_SUBST(NAUTILUS_EXT_GFPM_CFLAGS)
+   AC_SUBST(NAUTILUS_EXT_GFPM_LIBS)
+   AC_DEFINE(HAVE_NAUTILUS_EXT, 1, [Building nautilus extension])
+else
+   nautilusext=no
+   AC_MSG_RESULT(no)
+fi
+AM_CONDITIONAL([HAVE_NAUTILUS_EXT],[test $nautilusext = yes])
+NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir 
libnautilus-extension`
+AC_SUBST(NAUTILUS_EXTENSION_DIR)
+
dnl Check for Iconcache monitor support
AC_MSG_CHECKING(for iconcache monitor support)
if test x$icmonitor = xyes ; then
@@ -96,6 +115,7 @@ dnl 
==

AC_OUTPUT([
src/Makefile
+nautilus-extension/Makefile
data/Makefile
data/icons/Makefile
data/icons/16x16/Makefile
@@ -116,5 +136,6 @@ Gfpm $VERSION configuration summary:
compiler flags   : ${CFLAGS}
debug support: ${debug}
iconcache monitor: ${icmonitor}
+   nautilus extension   : ${nautilusext}
werror usage : ${werror}

diff --git a/nautilus-extension/Makefile.am b/nautilus-extension/Makefile.am
new file mode 100644
index 000..42901cc
--- /dev/null
+++ b/nautilus-extension/Makefile.am
@@ -0,0 +1,13 @@
+INCLUDES = $(NAUTILUS_EXT_GFPM_CFLAGS)
+
+nautilus_extensiondir=$(NAUTILUS_EXTENSION_DIR)
+nautilus_extension_LTLIBRARIES=libnautilus-gfpm.la
+libnautilus_gfpm_la_SOURCES =  \
+   nautilus-gfpm.c \
+   nautilus-gfpm.h \
+   nautilus-gfpm-module.c
+
+libnautilus_gfpm_la_LDFLAGS = -module -avoid-version -no-undefined
+libnautilus_gfpm_la_LIBADD  = $(NAUTILUS_EXT_GFPM_LIBS) -lpacman
+
+
diff --git a/nautilus-extension/nautilus-gfpm-module.c 
b/nautilus-extension/nautilus-gfpm-module.c
new file mode 100644
index 000..6b78f56
--- /dev/null
+++ b/nautilus-extension/nautilus-gfpm-module.c
@@ -0,0 +1,58 @@
+/*
+ *  nautilus-gfpm-module.c for GFpm
+ *
+ *  Copyright (c) 2009 by Priyank Gosalia priyan...@gmail.com
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include config.h
+#include libnautilus-extension/nautilus-extension-types.h
+#include libnautilus-extension/nautilus-column-provider.h
+#include glib/gi18n-lib.h
+#include nautilus-gfpm.h
+
+#ifdef HAVE_NAUTILUS_EXT
+
+void
+nautilus_module_initialize (GTypeModule *module)
+{
+   nautilus_gfpm_register_type (module);
+
+   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+   bind_textdomain_codeset (GETTEXT_PACKAGE, UTF-8);
+}
+
+
+void
+nautilus_module_shutdown (void)
+{
+   return;
+}
+
+
+void
+nautilus_module_list_types (const GType **types, int *num_types)
+{
+   static GType type_list[1];
+
+   type_list[0] = NAUTILUS_TYPE_GFPM;
+   *types = type_list;
+   *num_types = 1;
+
+   return;
+}
+
+#endif /* end  HAVE_NAUTILUS_EXT */
diff --git a/nautilus-extension/nautilus-gfpm.c 

[Frugalware-git] frugalware-current: transmission-1.71-1-i686 * Version bump

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4251ae76f447d88d40eb3a1ddc03bb477fb6e19d

commit 4251ae76f447d88d40eb3a1ddc03bb477fb6e19d
Author: Priyank priy...@frugalware.org
Date:   Fri Jun 12 00:29:00 2009 +0530

transmission-1.71-1-i686
* Version bump

diff --git a/source/xapps-extra/transmission/FrugalBuild 
b/source/xapps-extra/transmission/FrugalBuild
index 16a0767..43a1d8e 100644
--- a/source/xapps-extra/transmission/FrugalBuild
+++ b/source/xapps-extra/transmission/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Priyank Gosalia priyan...@gmail.com

pkgname=transmission
-pkgver=1.61
+pkgver=1.71
pkgrel=1
pkgdesc=A free, lightweight BitTorrent Client.
url=http://transmission.m0k.org/;
@@ -14,7 +14,7 @@ archs=('i686' 'x86_64')
options=('scriptlet')
up2date=lynx -dump -nolist http://download.m0k.org/transmission/files/ | 
Flasttarbz2
source=(http://download.m0k.org/transmission/files/$pkgname-$pkgver.tar.bz2)
-sha1sums=('68011e681f6c52370ea98b039874dc16655f68d5')
+sha1sums=('8555dcb8e7c85ca7c6d2e26ba00a1c89ad22ed80')

build()
{
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: evolution-exchange-2.26.2-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=319baf20f7647c501434378201c297a164f91e97

commit 319baf20f7647c501434378201c297a164f91e97
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 21:00:34 2009 +0200

evolution-exchange-2.26.2-2-i686
*rebuild with new xorg

diff --git a/source/gnome/evolution-exchange/FrugalBuild 
b/source/gnome/evolution-exchange/FrugalBuild
index 00910dc..fc4f564 100644
--- a/source/gnome/evolution-exchange/FrugalBuild
+++ b/source/gnome/evolution-exchange/FrugalBuild
@@ -3,9 +3,9 @@

pkgname=evolution-exchange
pkgver=2.26.2
-pkgrel=1
+pkgrel=2
pkgdesc=Ximian Connector for Microsoft Exchange, which adds support for 
Microsoft Exchange 2000 and 2003 to Evolution.
-depends=('gtkhtml=3.26.2' 'evolution-data-server=2.26.2' 'evolution=2.26.2' 
'libsoup=2.26.0' \
+depends=('gtkhtml=3.26.2' 'evolution-data-server=2.26.2-2' 
'evolution=2.26.2-2' 'libsoup=2.26.0' \
'evolution-data-server-ldap=2.26.2')
makedepends=('gtk-doc=1.11' 'perl-xml-parser' 'openldap' 'intltool')
groups=('gnome')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] frugalware-current: fltk2-r6140-2-i686 *rebuild with gcc4.4 *added patch for gcc

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2eb28fa724159022a51d9bc6995fc81dada58401

commit 2eb28fa724159022a51d9bc6995fc81dada58401
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 21:04:29 2009 +0200

fltk2-r6140-2-i686
*rebuild with gcc4.4
*added patch for gcc

diff --git a/source/xlib-extra/fltk2/FrugalBuild 
b/source/xlib-extra/fltk2/FrugalBuild
index 88bb9a6..148ab1e 100644
--- a/source/xlib-extra/fltk2/FrugalBuild
+++ b/source/xlib-extra/fltk2/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=fltk2
pkgver=r6140
origname=fltk-2.0.x-${pkgver}
-pkgrel=1
+pkgrel=2
pkgdesc=FLTK2 is a cross-platform C++ GUI toolkit for X.
url=http://www.fltk.org/;
depends=('libxi' 'libxinerama' 'libjpeg' 'cairo' 'libxft' 'libgcc')
@@ -14,9 +14,11 @@ groups=('xlib-extra')
archs=('i686' 'x86_64' 'ppc')
up2date=lynx -dump http://www.fltk.org/|grep -m1 'VERSION=2'|sed 
's/.*=2.*.x-\(.*\).*/\1/'
source=(http://ftp.easysw.com/pub/fltk/snapshots/$origname.tar.bz2 \
-   disable_crappy_test.patch)
+   disable_crappy_test.patch fixGcc43.diff fltk2-gcc44.patch)
sha1sums=('cc1d829933ab7882cff40b613d884196093a2790' \
-  '007ac0c6e19ea5afa4c8e7eb34bf480ab2f18f74')
+  '007ac0c6e19ea5afa4c8e7eb34bf480ab2f18f74' \
+  '1e7c5a3e4aa1a10d78daa99b66d474bef7d61192' \
+  'b486d2eebdfaa549f4b81663625c68b81aeb37df')

build()
{
diff --git a/source/xlib-extra/fltk2/fixGcc43.diff 
b/source/xlib-extra/fltk2/fixGcc43.diff
new file mode 100644
index 000..74da949
--- /dev/null
+++ b/source/xlib-extra/fltk2/fixGcc43.diff
@@ -0,0 +1,21 @@
+--- fltk-2.0.x-r6671.orig/src/Image.cxx2009-04-10 16:07:34.0 
+0200
 fltk-2.0.x-r6671/src/Image.cxx 2009-04-10 16:03:22.0 +0200
+@@ -20,6 +20,7 @@
+ // Please report all bugs and problems to fltk-b...@fltk.org.
+
+ #include config.h
++#include cstring
+ #include fltk/Image.h
+ #include fltk/Widget.h
+ #include fltk/events.h
+--- fltk-2.0.x-r6671.orig/src/setcolor.cxx 2009-04-10 16:07:19.0 
+0200
 fltk-2.0.x-r6671/src/setcolor.cxx  2009-04-10 16:08:27.0 +0200
+@@ -24,6 +24,7 @@
+ #include fltk/Color.h
+ #include fltk/draw.h
+ #include config.h
++#include cstring
+ #if defined(_WIN32)  USE_STOCK_BRUSH  _WIN32_WINNT0x0500
+ # undef _WIN32_WINNT
+ # define _WIN32_WINNT 0x0500
+
diff --git a/source/xlib-extra/fltk2/fltk2-gcc44.patch 
b/source/xlib-extra/fltk2/fltk2-gcc44.patch
new file mode 100644
index 000..db21be5
--- /dev/null
+++ b/source/xlib-extra/fltk2/fltk2-gcc44.patch
@@ -0,0 +1,11 @@
+--- src/filename_list.cxx  2007-06-01 08:13:08.0 -0500
 src/filename_list.cxx.gcc442009-06-01 15:38:51.425093964 -0500
+@@ -63,7 +63,7 @@ int fltk::filename_list(const char *d, d
+   // some Unix systems):
+   int n = scandir(d, list, 0, sort);
+ #elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
+-  int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
++  int n = scandir(d, list, 0, (int(*)(const dirent **,const dirent **))sort);
+ #elif defined(__hpux) || defined(__CYGWIN__)
+   // HP-UX, Cygwin define the comparison function like this:
+   int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: lifeograph-0.4.1-1-i686

2009-06-11 Thread jercel
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=7cfa2a9071d99c3e4a289a54e08b8b6b3fbd3aab

commit 7cfa2a9071d99c3e4a289a54e08b8b6b3fbd3aab
Author: jercel jerce...@gmail.com
Date:   Thu Jun 11 19:58:13 2009 +0200

lifeograph-0.4.1-1-i686

* New Package

diff --git a/source/xapps-extra/lifeograph/FrugalBuild 
b/source/xapps-extra/lifeograph/FrugalBuild
new file mode 100644
index 000..2816eae
--- /dev/null
+++ b/source/xapps-extra/lifeograph/FrugalBuild
@@ -0,0 +1,23 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: jercel jerce...@gmail.com
+
+pkgname=lifeograph
+pkgver=0.4.1
+pkgrel=1
+pkgdesc=Off-line and private journal and note taking application
+url=https://launchpad.net/lifeograph/;
+depends=('gtkmm' 'gconfmm' 'libgcrypt' 'zlib' 'libstdc++')
+_F_gnome_desktop=y
+_F_gnome_iconcache=y
+options=('scriptlet')
+groups=('xapps-extra')
+archs=('i686' 'x86_64')
+up2date=lynx -dump http://archive.ubuntu.com/ubuntu/pool/universe/l/$pkgname/ 
| Flasttar
+up2date=$pkgver
+source=(http://archive.ubuntu.com/ubuntu/pool/universe/l/$pkgname/${pkgname}_${pkgver}.orig.tar.gz)
+sha1sums=('6d456a8edf6ce079c37fe0652af799684a491beb')
+build()
+{
+   Fcd $pkgname-$pkgver/src
+   Fbuild
+}
\ No newline at end of file
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: transmission-1.71-1-i686 * Version bump

2009-06-11 Thread Priyank
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=4251ae76f447d88d40eb3a1ddc03bb477fb6e19d

commit 4251ae76f447d88d40eb3a1ddc03bb477fb6e19d
Author: Priyank priy...@frugalware.org
Date:   Fri Jun 12 00:29:00 2009 +0530

transmission-1.71-1-i686
* Version bump

diff --git a/source/xapps-extra/transmission/FrugalBuild 
b/source/xapps-extra/transmission/FrugalBuild
index 16a0767..43a1d8e 100644
--- a/source/xapps-extra/transmission/FrugalBuild
+++ b/source/xapps-extra/transmission/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Priyank Gosalia priyan...@gmail.com

pkgname=transmission
-pkgver=1.61
+pkgver=1.71
pkgrel=1
pkgdesc=A free, lightweight BitTorrent Client.
url=http://transmission.m0k.org/;
@@ -14,7 +14,7 @@ archs=('i686' 'x86_64')
options=('scriptlet')
up2date=lynx -dump -nolist http://download.m0k.org/transmission/files/ | 
Flasttarbz2
source=(http://download.m0k.org/transmission/files/$pkgname-$pkgver.tar.bz2)
-sha1sums=('68011e681f6c52370ea98b039874dc16655f68d5')
+sha1sums=('8555dcb8e7c85ca7c6d2e26ba00a1c89ad22ed80')

build()
{
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: fltk2-r6140-2-i686 *rebuild with gcc4.4 *added patch for gcc

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=2eb28fa724159022a51d9bc6995fc81dada58401

commit 2eb28fa724159022a51d9bc6995fc81dada58401
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 21:04:29 2009 +0200

fltk2-r6140-2-i686
*rebuild with gcc4.4
*added patch for gcc

diff --git a/source/xlib-extra/fltk2/FrugalBuild 
b/source/xlib-extra/fltk2/FrugalBuild
index 88bb9a6..148ab1e 100644
--- a/source/xlib-extra/fltk2/FrugalBuild
+++ b/source/xlib-extra/fltk2/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=fltk2
pkgver=r6140
origname=fltk-2.0.x-${pkgver}
-pkgrel=1
+pkgrel=2
pkgdesc=FLTK2 is a cross-platform C++ GUI toolkit for X.
url=http://www.fltk.org/;
depends=('libxi' 'libxinerama' 'libjpeg' 'cairo' 'libxft' 'libgcc')
@@ -14,9 +14,11 @@ groups=('xlib-extra')
archs=('i686' 'x86_64' 'ppc')
up2date=lynx -dump http://www.fltk.org/|grep -m1 'VERSION=2'|sed 
's/.*=2.*.x-\(.*\).*/\1/'
source=(http://ftp.easysw.com/pub/fltk/snapshots/$origname.tar.bz2 \
-   disable_crappy_test.patch)
+   disable_crappy_test.patch fixGcc43.diff fltk2-gcc44.patch)
sha1sums=('cc1d829933ab7882cff40b613d884196093a2790' \
-  '007ac0c6e19ea5afa4c8e7eb34bf480ab2f18f74')
+  '007ac0c6e19ea5afa4c8e7eb34bf480ab2f18f74' \
+  '1e7c5a3e4aa1a10d78daa99b66d474bef7d61192' \
+  'b486d2eebdfaa549f4b81663625c68b81aeb37df')

build()
{
diff --git a/source/xlib-extra/fltk2/fixGcc43.diff 
b/source/xlib-extra/fltk2/fixGcc43.diff
new file mode 100644
index 000..74da949
--- /dev/null
+++ b/source/xlib-extra/fltk2/fixGcc43.diff
@@ -0,0 +1,21 @@
+--- fltk-2.0.x-r6671.orig/src/Image.cxx2009-04-10 16:07:34.0 
+0200
 fltk-2.0.x-r6671/src/Image.cxx 2009-04-10 16:03:22.0 +0200
+@@ -20,6 +20,7 @@
+ // Please report all bugs and problems to fltk-b...@fltk.org.
+
+ #include config.h
++#include cstring
+ #include fltk/Image.h
+ #include fltk/Widget.h
+ #include fltk/events.h
+--- fltk-2.0.x-r6671.orig/src/setcolor.cxx 2009-04-10 16:07:19.0 
+0200
 fltk-2.0.x-r6671/src/setcolor.cxx  2009-04-10 16:08:27.0 +0200
+@@ -24,6 +24,7 @@
+ #include fltk/Color.h
+ #include fltk/draw.h
+ #include config.h
++#include cstring
+ #if defined(_WIN32)  USE_STOCK_BRUSH  _WIN32_WINNT0x0500
+ # undef _WIN32_WINNT
+ # define _WIN32_WINNT 0x0500
+
diff --git a/source/xlib-extra/fltk2/fltk2-gcc44.patch 
b/source/xlib-extra/fltk2/fltk2-gcc44.patch
new file mode 100644
index 000..db21be5
--- /dev/null
+++ b/source/xlib-extra/fltk2/fltk2-gcc44.patch
@@ -0,0 +1,11 @@
+--- src/filename_list.cxx  2007-06-01 08:13:08.0 -0500
 src/filename_list.cxx.gcc442009-06-01 15:38:51.425093964 -0500
+@@ -63,7 +63,7 @@ int fltk::filename_list(const char *d, d
+   // some Unix systems):
+   int n = scandir(d, list, 0, sort);
+ #elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
+-  int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
++  int n = scandir(d, list, 0, (int(*)(const dirent **,const dirent **))sort);
+ #elif defined(__hpux) || defined(__CYGWIN__)
+   // HP-UX, Cygwin define the comparison function like this:
+   int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: Merge branch 'master' of git://git.frugalware.org/pub/frugalware/frugalware-current

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=61dc22d78e0a1a3fff3248677964add333936566

commit 61dc22d78e0a1a3fff3248677964add333936566
Merge: 319baf2 2eb28fa
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 21:07:15 2009 +0200

Merge branch 'master' of 
git://git.frugalware.org/pub/frugalware/frugalware-current
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: fltk2-r6140-3-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=d43392a581b919e8d721b98091355d12e77b14f2

commit d43392a581b919e8d721b98091355d12e77b14f2
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 21:10:18 2009 +0200

fltk2-r6140-3-i686
*rebuild with new xorg

diff --git a/source/xlib-extra/fltk2/FrugalBuild 
b/source/xlib-extra/fltk2/FrugalBuild
index 148ab1e..68c64e8 100644
--- a/source/xlib-extra/fltk2/FrugalBuild
+++ b/source/xlib-extra/fltk2/FrugalBuild
@@ -4,10 +4,10 @@
pkgname=fltk2
pkgver=r6140
origname=fltk-2.0.x-${pkgver}
-pkgrel=2
+pkgrel=3
pkgdesc=FLTK2 is a cross-platform C++ GUI toolkit for X.
url=http://www.fltk.org/;
-depends=('libxi' 'libxinerama' 'libjpeg' 'cairo' 'libxft' 'libgcc')
+depends=('libxi' 'libxinerama' 'libjpeg' 'cairo=1.8.6-3' 'libxft=2.1.13-2' 
'libgcc')
makedepends=('doxygen')
options=('scriptlet')
groups=('xlib-extra')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] frugalware-current: nucleo-0.7.5-1-i686

2009-06-11 Thread Elentir
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=46e0191172baf70ae80ce3728a5fcc8d90c1052c

commit 46e0191172baf70ae80ce3728a5fcc8d90c1052c
Author: Elentir elen...@mailoo.org
Date:   Thu Jun 11 21:17:46 2009 +0200

nucleo-0.7.5-1-i686

* version bump
* add patch to fix build

diff --git a/source/xlib-extra/nucleo/FrugalBuild 
b/source/xlib-extra/nucleo/FrugalBuild
index 8aabe40..c92f4c4 100644
--- a/source/xlib-extra/nucleo/FrugalBuild
+++ b/source/xlib-extra/nucleo/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Elentir elen...@mailoo.org

pkgname=nucleo
-pkgver=0.7.3
+pkgver=0.7.5
pkgrel=1
pkgdesc=Nucleo is a toolkit for exploring new uses of video and new 
human-computer interaction techniques
url=http://insitu.lri.fr/metisse/;
@@ -10,7 +10,8 @@ depends=('libjpeg' 'mesa' 'libsm' 'libpng' 'libexif' 
'freetype2' 'gnutls' 'libgc
groups=('xlib-extra')
archs=('i686' 'x86_64')
up2date=Flasttar $url/download/nucleo/
-source=($url/download/nucleo/$pkgname-$pkgver.tar.bz2)
-sha1sums=('40abf173143e531323cc67b8ecb2f23532844304')
+source=($url/download/nucleo/$pkgname-$pkgver.tar.bz2 $pkgname.patch)
+sha1sums=('9a32d7dd1c6ad6348efa6bdc691cb46207a148c0' \
+  '37164ac928b47fae1147be016e886c90686743f9')

# optimization OK
diff --git a/source/xlib-extra/nucleo/nucleo.patch 
b/source/xlib-extra/nucleo/nucleo.patch
new file mode 100644
index 000..ffafb84
--- /dev/null
+++ b/source/xlib-extra/nucleo/nucleo.patch
@@ -0,0 +1,68 @@
+diff -Naur nucleo-0.7.5/demos/video/src2files.cxx 
nucleo-0.7.5/demos/video/src2files.cxx
+--- nucleo-0.7.5/demos/video/src2files.cxx 2008-06-09 15:05:02.0 
+0200
 nucleo-0.7.5/demos/video/src2files.cxx 2009-06-09 10:56:58.0 
+0200
+@@ -17,6 +17,7 @@
+
+ #include stdexcept
+ #include cstdlib
++#include cstdio
+
+ #include libgen.h
+
+diff -Naur nucleo-0.7.5/nucleo/core/TimeStamp.cxx 
nucleo-0.7.5/nucleo/core/TimeStamp.cxx
+--- nucleo-0.7.5/nucleo/core/TimeStamp.cxx 2008-06-09 14:07:49.0 
+0200
 nucleo-0.7.5/nucleo/core/TimeStamp.cxx 2009-06-09 10:48:46.0 
+0200
+@@ -22,6 +22,7 @@
+ #include sstream
+ #include stdexcept
+ #include cstring
++#include cstdio
+
+ namespace nucleo {
+
+diff -Naur nucleo-0.7.5/nucleo/core/URI.cxx nucleo-0.7.5/nucleo/core/URI.cxx
+--- nucleo-0.7.5/nucleo/core/URI.cxx   2008-07-21 13:47:54.0 +0200
 nucleo-0.7.5/nucleo/core/URI.cxx   2009-06-09 10:48:48.0 +0200
+@@ -17,7 +17,7 @@
+ #include sstream
+ #include cstdlib
+
+-// #include cstdio
++#include cstdio
+
+ static void
+ split(std::string s, const std::string splitters, std::string part, bool 
keepsep, bool preserve) {
+diff -Naur nucleo-0.7.5/nucleo/helpers/Phone.cxx 
nucleo-0.7.5/nucleo/helpers/Phone.cxx
+--- nucleo-0.7.5/nucleo/helpers/Phone.cxx  2008-06-05 14:52:33.0 
+0200
 nucleo-0.7.5/nucleo/helpers/Phone.cxx  2009-06-09 10:50:57.0 
+0200
+@@ -21,6 +21,7 @@
+
+ #include iostream
+ #include sstream
++#include cstdio
+
+ using namespace nucleo ;
+
+diff -Naur nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx 
nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx
+--- nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx  2008-06-09 
14:15:38.0 +0200
 nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx  2009-06-09 
10:49:43.0 +0200
+@@ -22,6 +22,7 @@
+ #include sstream
+ #include cstring
+ #include cstdlib
++#include cstdio
+
+ namespace nucleo {
+
+diff -Naur nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx 
nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx
+--- nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx 2009-05-25 
14:53:15.0 +0200
 nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx 2009-06-09 
10:55:59.0 +0200
+@@ -146,7 +146,7 @@
+
+ // 
+
+-format_context = avformat_alloc_context();
++format_context = av_alloc_format_context();
+ if (!format_context) {
+std::cerr  ffmpegImageSink: unable to create the AVFormatContext 
 std::endl ;
+stop() ;
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: lxappearance-0.2-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=a80d0bf411835e8ee896cbb9fa1304b2f4f5e8eb

commit a80d0bf411835e8ee896cbb9fa1304b2f4f5e8eb
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 21:16:24 2009 +0200

lxappearance-0.2-2-i686
*rebuild with new xorg

diff --git a/source/xapps-extra/lxappearance/FrugalBuild 
b/source/xapps-extra/lxappearance/FrugalBuild
index 8f9c090..dbd05b0 100644
--- a/source/xapps-extra/lxappearance/FrugalBuild
+++ b/source/xapps-extra/lxappearance/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=lxappearance
pkgver=0.2
-pkgrel=1
+pkgrel=2
pkgdesc=A desktop-independent theme switcher for GTK+
-depends=('gtk+2' 'glibc' 'freetype2' 'libxau' 'libxdmcp' \
-   'libxdamage' 'libxext' 'libxml2')
+depends=('gtk+2=2.16.2-2' 'glibc' 'freetype2' 'libxau=1.0.4' 'libxdmcp' \
+   'libxdamage' 'libxext=1.0.5-3' 'libxml2')
options=('scriptlet')
groups=('xapps-extra' 'lxde-desktop')
archs=('i686' 'x86_64' 'ppc')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] frugalware-current: mpmath-0.12-1-i686

2009-06-11 Thread Elentir
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1d81a1f3c3a992e7e4b4090766febfe8efe1c8a2

commit 1d81a1f3c3a992e7e4b4090766febfe8efe1c8a2
Author: Elentir elen...@mailoo.org
Date:   Thu Jun 11 21:25:37 2009 +0200

mpmath-0.12-1-i686

* version bump

diff --git a/source/lib-extra/mpmath/FrugalBuild 
b/source/lib-extra/mpmath/FrugalBuild
index 49414c5..331bdac 100644
--- a/source/lib-extra/mpmath/FrugalBuild
+++ b/source/lib-extra/mpmath/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Elentir elen...@mailoo.org

pkgname=mpmath
-pkgver=0.11
+pkgver=0.12
pkgrel=1
pkgdesc=Mpmath is a Python library for multiprecision floating-point 
arithmetic.
archs=('i686' 'x86_64')
@@ -11,5 +11,5 @@ Finclude googlecode
depends=('python=2.6')
## broken up2date with Finclude
up2date=Flasttar http://code.google.com/p/$pkgname/downloads/list;
-sha1sums=('44a38591cbb9c3e5931b02356fcecae5f82ec844')
+sha1sums=('02c5f9cc2a295472285ecd45d73b7b3a243ee787')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gcompris-8.4.7-2-i686 *rebuil with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=53b21bc8c7cfd2454f85a70b0c863e79aa8e6691

commit 53b21bc8c7cfd2454f85a70b0c863e79aa8e6691
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 21:35:29 2009 +0200

gcompris-8.4.7-2-i686
*rebuil with new xorg

diff --git a/source/games-extra/gcompris/FrugalBuild 
b/source/games-extra/gcompris/FrugalBuild
index 8c29540..c4132da 100644
--- a/source/games-extra/gcompris/FrugalBuild
+++ b/source/games-extra/gcompris/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=gcompris
pkgver=8.4.7
-pkgrel=1
+pkgrel=2
pkgdesc=Educational application for children
-depends=('pygtk' 'gnet' 'python' 'gnucap' 'gstreamer' 'sdl_mixer' 'gnuchess' \
-   'pysqlite2' 'libxml2' 'sdl' 'gtk+2' 'libxxf86vm' 'libxdamage' 'sqlite3' 
\
+depends=('pygtk=2.14.1-2' 'gnet' 'python' 'gnucap' 'gstreamer' 'sdl_mixer' 
'gnuchess' \
+   'pysqlite2' 'libxml2' 'sdl' 'gtk+2=2.16.2-2' 'libxxf86vm=1.0.2' 
'libxdamage' 'sqlite3' \
'tuxpaint' 'pyxml' 'librsvg')
rodepends=('gst-plugins-base-alsa' 'gst-plugins-base-ogg' 
'gst-plugins-base-oil')
makedepends=('perl-xml-parser' 'intltool' 'texi2html' 'gettext' 
'libgnomecanvas' 'subversion') # lol
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: conky-1.7.1_rc4-2-x86_64 * rebuilt with new xorg

2009-06-11 Thread Devil505
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=e26d9667d7bf216a8dcd55c043737115ac1b2804

commit e26d9667d7bf216a8dcd55c043737115ac1b2804
Author: Devil505 devil505li...@gmail.com
Date:   Thu Jun 11 22:13:21 2009 +0200

conky-1.7.1_rc4-2-x86_64
* rebuilt with new xorg

diff --git a/source/xapps-extra/conky/FrugalBuild 
b/source/xapps-extra/conky/FrugalBuild
index f49276c..07946c0 100644
--- a/source/xapps-extra/conky/FrugalBuild
+++ b/source/xapps-extra/conky/FrugalBuild
@@ -4,14 +4,14 @@

pkgname=conky
pkgver=1.7.1_rc4
-pkgrel=1
+pkgrel=2
pkgdesc=Light-weight system monitor.
_F_sourceforge_ext=.tar.bz2
#remove next lines later
_F_sourceforge_realname=$pkgname-development
_F_sourceforge_pkgver=1.7.1_rc4
Finclude sourceforge
-depends=('libxext' 'libxdamage' 'libxrender' 'libxft' 'wireless_tools' 'curl')
+depends=('libxext=1.0.5-3' 'libxdamage=1.1.1-3' 'libxrender=0.9.4-3' 
'libxft=2.1.13-2' 'wireless_tools' 'curl')
makedepends=('xorg-server')
groups=('xapps-extra')
archs=('i686' 'x86_64')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: guake-0.4.0-2-x86_64 * rebuilt with new xorg

2009-06-11 Thread Devil505
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=7e3ccfd42600bfcfab5b888d90ecfef600443f5e

commit 7e3ccfd42600bfcfab5b888d90ecfef600443f5e
Author: Devil505 devil505li...@gmail.com
Date:   Thu Jun 11 22:25:45 2009 +0200

guake-0.4.0-2-x86_64
* rebuilt with new xorg

diff --git a/source/gnome-extra/guake/FrugalBuild 
b/source/gnome-extra/guake/FrugalBuild
index a456cc1..7b346d9 100644
--- a/source/gnome-extra/guake/FrugalBuild
+++ b/source/gnome-extra/guake/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=guake
pkgver=0.4.0
-pkgrel=1
+pkgrel=2
pkgdesc=Guake is a drop-down terminal for Gnome Desktop Environment
url='http://www.guake-terminal.org'
-depends=('python=2.6' 'gtk+2' 'freetype2' 'libxau' 'libxdmcp' 'libxdamage' 
'libxext' 'libxml2' 'notify-python' 'gnome-python' 'vte-python')
+depends=('python=2.6' 'gtk+2=2.16.2-2' 'freetype2' 'libxau=1.0.4' 
'libxdmcp' 'libxdamage=1.1.1-3' 'libxext=1.0.5-3' 'libxml2' 'notify-python' 
'gnome-python' 'vte-python')
rodepends=('notification-daemon')
makedepends=('perl-xml-parser' 'gconf' 'intltool')
options=('scriptlet')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: grsync-0.6.3-2-x86_64 * rebuilt with new xorg

2009-06-11 Thread Devil505
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=cae5b7449583556662bf51f237947a2a240555a3

commit cae5b7449583556662bf51f237947a2a240555a3
Author: Devil505 devil505li...@gmail.com
Date:   Thu Jun 11 22:38:31 2009 +0200

grsync-0.6.3-2-x86_64
* rebuilt with new xorg

diff --git a/source/xapps-extra/grsync/FrugalBuild 
b/source/xapps-extra/grsync/FrugalBuild
index a8180e4..e941b81 100644
--- a/source/xapps-extra/grsync/FrugalBuild
+++ b/source/xapps-extra/grsync/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=grsync
pkgver=0.6.3
-pkgrel=1
+pkgrel=2
pkgdesc=GTK GUI for rsync
url=http://www.opbyte.it/$pkgname;
-depends=('gtk+2' 'glibc' 'freetype2' 'libxau' 'libxdmcp' 'libxdamage' 
'libxext' 'libxml2' 'rsync')
+depends=('gtk+2=2.16.2-2' 'glibc' 'freetype2' 'libxau=1.0.4' 'libxdmcp' 
'libxdamage=1.1.1-3' 'libxext=1.0.5-3' 'libxml2' 'rsync')
makedepends=('gettext' 'intltool')
options=('scriptlet')
groups=('xapps-extra')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: pytrainer-1.6.0.8-2-x86_64 * rebuilt with new xorg

2009-06-11 Thread Devil505
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=0ad428d6dd43ccb9b023ae76119db5fc0635cbde

commit 0ad428d6dd43ccb9b023ae76119db5fc0635cbde
Author: Devil505 devil505li...@gmail.com
Date:   Thu Jun 11 22:42:32 2009 +0200

pytrainer-1.6.0.8-2-x86_64
* rebuilt with new xorg

diff --git a/source/xapps-extra/pytrainer/FrugalBuild 
b/source/xapps-extra/pytrainer/FrugalBuild
index 8112b1b..543090a 100644
--- a/source/xapps-extra/pytrainer/FrugalBuild
+++ b/source/xapps-extra/pytrainer/FrugalBuild
@@ -3,9 +3,9 @@

pkgname=pytrainer
pkgver=1.6.0.8
-pkgrel=1
+pkgrel=2
pkgdesc=Tool to log all your sport excursion
-depends=('pysqlite2' 'pygtk' 'matplotlib' 'soappy')
+depends=('pysqlite2' 'pygtk=2.14.1-2' 'matplotlib' 'soappy')
_F_sourceforge_prefix=PyTrainer 
Finclude sourceforge
options=('scriptlet')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gnome-nettool-2.26.2-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=a6371ea46f93035085a2fffe9c4e5f7df0ead921

commit a6371ea46f93035085a2fffe9c4e5f7df0ead921
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 22:39:37 2009 +0200

gnome-nettool-2.26.2-2-i686
*rebuild with new xorg

diff --git a/source/gnome/gnome-nettool/FrugalBuild 
b/source/gnome/gnome-nettool/FrugalBuild
index 645a5f6..f7ccba0 100644
--- a/source/gnome/gnome-nettool/FrugalBuild
+++ b/source/gnome/gnome-nettool/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=gnome-nettool
pkgver=2.26.2
-pkgrel=1
+pkgrel=2
pkgdesc=GNOME interface for various networking tools
url=http://www.gnome.org/;
-depends=('libglade' 'gconf=2.26.2' 'net-tools' 'whois' 'traceroute' 
'bsd-finger' 'libgtop=2.26.0')
+depends=('libglade=2.6.4-2' 'gconf=2.26.2-2' 'net-tools' 'whois' 
'traceroute' 'bsd-finger' 'libgtop=2.26.0')
rodepends=('iputils')
makedepends=('intltool' 'gnome-doc-utils=0.14.1')
groups=('gnome')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: nucleo-0.7.5-1-i686

2009-06-11 Thread Elentir
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=46e0191172baf70ae80ce3728a5fcc8d90c1052c

commit 46e0191172baf70ae80ce3728a5fcc8d90c1052c
Author: Elentir elen...@mailoo.org
Date:   Thu Jun 11 21:17:46 2009 +0200

nucleo-0.7.5-1-i686

* version bump
* add patch to fix build

diff --git a/source/xlib-extra/nucleo/FrugalBuild 
b/source/xlib-extra/nucleo/FrugalBuild
index 8aabe40..c92f4c4 100644
--- a/source/xlib-extra/nucleo/FrugalBuild
+++ b/source/xlib-extra/nucleo/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Elentir elen...@mailoo.org

pkgname=nucleo
-pkgver=0.7.3
+pkgver=0.7.5
pkgrel=1
pkgdesc=Nucleo is a toolkit for exploring new uses of video and new 
human-computer interaction techniques
url=http://insitu.lri.fr/metisse/;
@@ -10,7 +10,8 @@ depends=('libjpeg' 'mesa' 'libsm' 'libpng' 'libexif' 
'freetype2' 'gnutls' 'libgc
groups=('xlib-extra')
archs=('i686' 'x86_64')
up2date=Flasttar $url/download/nucleo/
-source=($url/download/nucleo/$pkgname-$pkgver.tar.bz2)
-sha1sums=('40abf173143e531323cc67b8ecb2f23532844304')
+source=($url/download/nucleo/$pkgname-$pkgver.tar.bz2 $pkgname.patch)
+sha1sums=('9a32d7dd1c6ad6348efa6bdc691cb46207a148c0' \
+  '37164ac928b47fae1147be016e886c90686743f9')

# optimization OK
diff --git a/source/xlib-extra/nucleo/nucleo.patch 
b/source/xlib-extra/nucleo/nucleo.patch
new file mode 100644
index 000..ffafb84
--- /dev/null
+++ b/source/xlib-extra/nucleo/nucleo.patch
@@ -0,0 +1,68 @@
+diff -Naur nucleo-0.7.5/demos/video/src2files.cxx 
nucleo-0.7.5/demos/video/src2files.cxx
+--- nucleo-0.7.5/demos/video/src2files.cxx 2008-06-09 15:05:02.0 
+0200
 nucleo-0.7.5/demos/video/src2files.cxx 2009-06-09 10:56:58.0 
+0200
+@@ -17,6 +17,7 @@
+
+ #include stdexcept
+ #include cstdlib
++#include cstdio
+
+ #include libgen.h
+
+diff -Naur nucleo-0.7.5/nucleo/core/TimeStamp.cxx 
nucleo-0.7.5/nucleo/core/TimeStamp.cxx
+--- nucleo-0.7.5/nucleo/core/TimeStamp.cxx 2008-06-09 14:07:49.0 
+0200
 nucleo-0.7.5/nucleo/core/TimeStamp.cxx 2009-06-09 10:48:46.0 
+0200
+@@ -22,6 +22,7 @@
+ #include sstream
+ #include stdexcept
+ #include cstring
++#include cstdio
+
+ namespace nucleo {
+
+diff -Naur nucleo-0.7.5/nucleo/core/URI.cxx nucleo-0.7.5/nucleo/core/URI.cxx
+--- nucleo-0.7.5/nucleo/core/URI.cxx   2008-07-21 13:47:54.0 +0200
 nucleo-0.7.5/nucleo/core/URI.cxx   2009-06-09 10:48:48.0 +0200
+@@ -17,7 +17,7 @@
+ #include sstream
+ #include cstdlib
+
+-// #include cstdio
++#include cstdio
+
+ static void
+ split(std::string s, const std::string splitters, std::string part, bool 
keepsep, bool preserve) {
+diff -Naur nucleo-0.7.5/nucleo/helpers/Phone.cxx 
nucleo-0.7.5/nucleo/helpers/Phone.cxx
+--- nucleo-0.7.5/nucleo/helpers/Phone.cxx  2008-06-05 14:52:33.0 
+0200
 nucleo-0.7.5/nucleo/helpers/Phone.cxx  2009-06-09 10:50:57.0 
+0200
+@@ -21,6 +21,7 @@
+
+ #include iostream
+ #include sstream
++#include cstdio
+
+ using namespace nucleo ;
+
+diff -Naur nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx 
nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx
+--- nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx  2008-06-09 
14:15:38.0 +0200
 nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx  2009-06-09 
10:49:43.0 +0200
+@@ -22,6 +22,7 @@
+ #include sstream
+ #include cstring
+ #include cstdlib
++#include cstdio
+
+ namespace nucleo {
+
+diff -Naur nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx 
nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx
+--- nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx 2009-05-25 
14:53:15.0 +0200
 nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx 2009-06-09 
10:55:59.0 +0200
+@@ -146,7 +146,7 @@
+
+ // 
+
+-format_context = avformat_alloc_context();
++format_context = av_alloc_format_context();
+ if (!format_context) {
+std::cerr  ffmpegImageSink: unable to create the AVFormatContext 
 std::endl ;
+stop() ;
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: mpmath-0.12-1-i686

2009-06-11 Thread Elentir
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=1d81a1f3c3a992e7e4b4090766febfe8efe1c8a2

commit 1d81a1f3c3a992e7e4b4090766febfe8efe1c8a2
Author: Elentir elen...@mailoo.org
Date:   Thu Jun 11 21:25:37 2009 +0200

mpmath-0.12-1-i686

* version bump

diff --git a/source/lib-extra/mpmath/FrugalBuild 
b/source/lib-extra/mpmath/FrugalBuild
index 49414c5..331bdac 100644
--- a/source/lib-extra/mpmath/FrugalBuild
+++ b/source/lib-extra/mpmath/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Elentir elen...@mailoo.org

pkgname=mpmath
-pkgver=0.11
+pkgver=0.12
pkgrel=1
pkgdesc=Mpmath is a Python library for multiprecision floating-point 
arithmetic.
archs=('i686' 'x86_64')
@@ -11,5 +11,5 @@ Finclude googlecode
depends=('python=2.6')
## broken up2date with Finclude
up2date=Flasttar http://code.google.com/p/$pkgname/downloads/list;
-sha1sums=('44a38591cbb9c3e5931b02356fcecae5f82ec844')
+sha1sums=('02c5f9cc2a295472285ecd45d73b7b3a243ee787')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: Merge branch 'master' of git://git.frugalware.org/pub/frugalware/frugalware-current

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=b9194a8734cf8010004e8b7ac548a604902f2828

commit b9194a8734cf8010004e8b7ac548a604902f2828
Merge: a6371ea 1d81a1f
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 22:45:54 2009 +0200

Merge branch 'master' of 
git://git.frugalware.org/pub/frugalware/frugalware-current
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: nucleo-0.7.5-2-i686 *rebuild with new xorg *Elentir thks ; )

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=fa3c18f2383b839b271e163e8626829b435f16e3

commit fa3c18f2383b839b271e163e8626829b435f16e3
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 22:52:54 2009 +0200

nucleo-0.7.5-2-i686
*rebuild with new xorg
*Elentir thks ;)

diff --git a/source/xlib-extra/nucleo/FrugalBuild 
b/source/xlib-extra/nucleo/FrugalBuild
index c92f4c4..dd041dd 100644
--- a/source/xlib-extra/nucleo/FrugalBuild
+++ b/source/xlib-extra/nucleo/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=nucleo
pkgver=0.7.5
-pkgrel=1
+pkgrel=2
pkgdesc=Nucleo is a toolkit for exploring new uses of video and new 
human-computer interaction techniques
url=http://insitu.lri.fr/metisse/;
-depends=('libjpeg' 'mesa' 'libsm' 'libpng' 'libexif' 'freetype2' 'gnutls' 
'libgcrypt' 'ffmpeg')
+depends=('libjpeg' 'mesa=7.4.2-4' 'libsm' 'libpng' 'libexif' 'freetype2' 
'gnutls' 'libgcrypt' 'ffmpeg=20080427-10')
groups=('xlib-extra')
archs=('i686' 'x86_64')
up2date=Flasttar $url/download/nucleo/
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: gnotime-2.3.0-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=0fc5fcd85c89c235461e0004d685cd0a1ea7a12f

commit 0fc5fcd85c89c235461e0004d685cd0a1ea7a12f
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 23:05:37 2009 +0200

gnotime-2.3.0-2-i686
*rebuild with new xorg

diff --git a/source/gnome-extra/gnotime/FrugalBuild 
b/source/gnome-extra/gnotime/FrugalBuild
index 03f00e6..1c85170 100644
--- a/source/gnome-extra/gnotime/FrugalBuild
+++ b/source/gnome-extra/gnotime/FrugalBuild
@@ -3,11 +3,11 @@

pkgname=gnotime
pkgver=2.3.0
-pkgrel=1
+pkgrel=2
pkgdesc=GnoTime is a desktop utility for tracking the amount of time spent on 
projects
-depends=('guile' 'libgtkhtml' 'libgnome' 'libgnomeui' 'qof' 'libxscrnsaver' \
-   'gtkhtml' 'libsm' 'libglade' 'gnome-keyring' 'libbonoboui' 'popt' 'esd' 
\
-   'pango' 'libart_lgpl' 'atk' 'freetype2' 'libxau' 'libxdmcp' 'gnome-vfs' 
\
+depends=('guile' 'libgtkhtml=2.11.1-3' 'libgnome' 'libgnomeui=2.24.1-2' 
'qof' 'libxscrnsaver' \
+   'gtkhtml' 'libsm' 'libglade' 'gnome-keyring=2.26.1-2' 'libbonoboui' 
'popt' 'esd' \
+   'pango=1.24.2-2' 'libart_lgpl' 'atk' 'freetype2' 'libxau=1.0.4' 
'libxdmcp' 'gnome-vfs' \
'guile' 'libjpeg' 'libxdamage' 'libxinerama' 'libxi' 'libxrandr' \
'libxcursor' 'openssl' 'rarian')
makedepends=('docbook-utils' 'perl-xml-parser')
@@ -15,7 +15,6 @@ groups=('gnome-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
_F_sourceforge_dirname=gttr
-_F_sourceforge_broken_up2date=1
_F_gnome_desktop=y
_F_gnome_scrollkeeper=y
_F_gnome_schemas=('/etc/gconf/schemas/gnotime.schemas')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: apmd-3.0.2-9-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=1470c8c5be668a1fd7216d09cf0f2d52d1d3a63a

commit 1470c8c5be668a1fd7216d09cf0f2d52d1d3a63a
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 23:08:25 2009 +0200

apmd-3.0.2-9-i686
*rebuild with new xorg

diff --git a/source/base/apmd/FrugalBuild b/source/base/apmd/FrugalBuild
index 1836873..3355873 100644
--- a/source/base/apmd/FrugalBuild
+++ b/source/base/apmd/FrugalBuild
@@ -3,11 +3,11 @@

pkgname=apmd
pkgver=3.0.2
-pkgrel=8
+pkgrel=9
pkgdesc=Set of tools for managing notebook power consumption
url=http://alumnit.ca/~apenwarr/apmd/;
depends=('glibc=2.8-3')
-makedepends=('libx11' 'libxaw')
+makedepends=('libx11=1.2.1' 'libxaw=1.0.5')
groups=('base')
archs=('i686' 'x86_64')
up2date=lynx -dump  http://alumnit.ca/~apenwarr/apmd |grep current|tr -s ' 
'|sed 's/\. / /'|cut -d ' ' -f 9
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


[Frugalware-git] xorg74: yelp-2.26.0-2-i686 *rebuild with new xorg

2009-06-11 Thread bouleetbil
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=37646a8da3002a0eabff15e3b71c04bc43af61a6

commit 37646a8da3002a0eabff15e3b71c04bc43af61a6
Author: bouleetbil bouleet...@frogdev.info
Date:   Thu Jun 11 23:22:53 2009 +0200

yelp-2.26.0-2-i686
*rebuild with new xorg

diff --git a/source/gnome/yelp/FrugalBuild b/source/gnome/yelp/FrugalBuild
index bca8856..248a3f1 100644
--- a/source/gnome/yelp/FrugalBuild
+++ b/source/gnome/yelp/FrugalBuild
@@ -3,11 +3,11 @@

pkgname=yelp
pkgver=2.26.0
-pkgrel=1
+pkgrel=2
pkgdesc=The default help browser for GNOME
url=http://www.gnome.org/;
-depends=('libgnomeui=2.24.0' 'libxslt' 'xulrunner=1.8.1.3' \
-   'libxml2' 'gtk+2=2.14.3' 'startup-notification' 'libbonobo=2.24.0')
+depends=('libgnomeui=2.24.1-2' 'libxslt' 'xulrunner=1.8.1.3-5' \
+   'libxml2' 'gtk+2=2.16.2-2' 'startup-notification=0.9-3' 
'libbonobo=2.24.0')
makedepends=('intltool' 'gnome-doc-utils' \
'libgnomeprintui=2.18.2' 'libglade' 'gnome-vfs=2.24.0')
groups=('gnome' 'gnome-minimal')
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git